/*!
Theme Name: Ingrid Meunier
Version: 1.0.0
Text Domain: ingrid-meunier

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Ingrid Meunier is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url("https://fonts.googleapis.com/css?family=Josefin+Slab:300,400,600|Patrick+Hand+SC");

img {
    height: auto;
    max-width: 100%;
}

.aligncenter {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

@media print {
    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }
    a:not(.btn) {
        text-decoration: underline;
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #adb5bd;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
    @page {
        size: a3;
    }
    body {
        min-width: 992px !important;
    }
    .container {
        min-width: 992px !important;
    }
    .navbar {
        display: none;
    }
    .badge {
        border: 1px solid #000;
    }
    .table {
        border-collapse: collapse !important;
    }
    .table td,
    .table th {
        background-color: #fff !important;
    }
    .table-bordered th,
    .table-bordered td {
        border: 1px solid #dee2e6 !important;
    }
    .table-dark {
        color: inherit;
    }
    .table-dark th,
    .table-dark td,
    .table-dark thead th,
    .table-dark tbody + tbody {
        border-color: #dee2e6;
    }
    .table .thead-dark th {
        color: inherit;
        border-color: #dee2e6;
    }
}
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
.alert {
    margin: 0;
    text-align: center;
    color: white;
}
.alert-info {
    background: #32b796;
}
.alert-warning {
    background: #ee5f5b;
}

.site-main {
    min-height: 800px;
	padding-top: 160px;
}

/* ====== HEADER ====== */

.site-header {
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.03);
    background: white;
    transition: all 0.3s ease;
    height: 70px;
    padding: 0px 30px;
    position: fixed;
    z-index: 600;
    width: 100%;
}

.main-navigation .menu-item {
    padding: 0 20px;
}

.main-navigation a {
    color: black;
    font-size: 18px;
    cursor: pointer;
}

.main-navigation a:hover {
    color: #da552f;
    text-decoration: none;
}

/* Burger */
.menu-toggle {
    background: transparent;
    border: 0;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
}

.menu-toggle:hover {
    cursor: pointer;
}

.menu-toggle div {
    position: relative;
    width: 30px;
    height: 2px;
    background-color: black;
    margin-top: 7px;
    transition: all 0.4s ease-in-out;
}

.toggled .menu-toggle .top {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-top: 22.5px;
    background-color: white;
}
.toggled .menu-toggle .meat {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: -2px;
    background-color: white;
}
.toggled .menu-toggle .bottom {
    -webkit-transform: scale(0);
    transform: scale(0);
}

.toggled #primary-menu {
    display: block !important;
    background-color: rgba(84, 64, 27, 0.9);
    transform: translateY(0);
}

@media screen and (max-width: 991px) {
    #primary-menu {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        transform: translateY(-100%);
        transition: all 0.3s ease-in-out;
    }

    .nav-menu {
        height: 100vh;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .main-navigation a {
        display: block;
        padding: 10px 0;
        margin-bottom: 15px;
        color: #eee;
        font-weight: bold;
        text-decoration: none;
        font-size: 1.25rem;
        letter-spacing: 3px;
        transition: all 0.3s ease;
    }

}

/* ====== FOOTER ====== */

.footer {
    background: #88744f;
	border-top: 7px solid #CABB9F;
    min-height: 100px;
    padding: 0px 50px;
    color: white;
}

.footer .menu-item a {
    color: #fff;
    text-decoration: none;
    margin-right: 1rem;
}


.footer .menu-item a:hover {
    text-decoration: underline;
}

.footer .menu-item:not(:last-child):after {
    content: '\002F';
    display: inline-block;
    margin-right: 1rem;
}

.footer-copyright p {
    margin-bottom: 0;
}

.transition {
    color: white;
    height: 30vh;
    background-size: cover !important;
    background-position: center;
    background-attachment: fixed;
}
.transition p {
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
}
.transition h2 {
    color: white;
    font-size: 1.5rem;
}
.book-card {
    margin-bottom: 50px;
    max-width: 270px;
}
.book-card .book-card-img {
    box-shadow: 2px 2px 5px grey;
    width: 100%;
}
.book-card .book-hover {
    color: white;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    padding: 15px;
}
.book-card .book-card-content h3 {
    font-weight: lighter;
    font-size: 22px;
}
.book-card .book-card-title {
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 20px;
}
.book-card .book-card-price {
    position: absolute;
    right: 20px;
    top: -25px;
    height: 85px;
    width: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #fffffe;
    border: 1px solid #000;
    font-weight: bold;
}
.quote-borders {
    height: 10px;
    width: 100%;
    border-top: solid 3px #cabb9f;
    border-bottom: solid 1px #cabb9f;
}
.qote-content {
    position: relative;
}
.qote-i {
    position: absolute;
    top: -45px;
    left: -90px;
    font-size: 40px;
    border-radius: 50%;
    background-color: #cabb9f;
    color: white;
    height: 80px;
    width: 80px;
}
.qote-content > hr {
    color: #88744f;
}
.qote-content > h3 {
    color: #aa9774;
}
.pricing {
    background-color: #be1621;
    border-radius: 3px;
    color: #fff;
}
.pricing h2 {
    color: #fff;
}
.pricing span {
    font-size: 35px;
    font-weight: bold;
}
.condition {
    color: white;
    border-radius: 50px;
    height: 76px;
}
.condition h4 {
    margin: 5px 0px 0px 0px;
    font-weight: bold;
}
.condition p {
    margin: 2px;
    font-size: 17px;
    font-weight: bold;
}
.condition i {
    font-size: 32px;
    border-radius: 38px;
    width: 76px;
    height: 76px;
    margin: -4px;
}
.condition .title {
    flex: 1 0 auto;
}
.surveys .number {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    -o-object-fit: cover;
    object-fit: cover;
    box-shadow: 0 0 0 5px white;
    transition: box-shadow ease 200ms;
    margin: 4px;
    background-color: #c8bba2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.surveys input:checked + .number {
    box-shadow: 0 0 0 2px white, 0 0 0 5px #be1621;
}
.surveys input {
    display: none;
}
#total-scores.fixed {
    width: 100%;
    position: fixed;
    top: -32px;
    left: 0;
    z-index: 9;
}
.margin-for-progress-bar-fixed {
    margin-top: 178px;
}
.total-score-wrapper {
    border-top: 1px solid #cabb9f;
    border-bottom: 1px solid #cabb9f;
    display: flex;
    justify-content: center;
    background-color: white;
}
.total-score-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 200px;
    height: 166px;
    padding: 10px 0px;
}
.total-score-content p {
    text-align: center;
    margin-bottom: 5px;
    padding: 0px 20px;
}
.total-score-content .total-score-circle {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 14px;
    z-index: 1;
    border: 2px solid #c8bba2;
}
.total-score-bg-bar {
    width: 200px;
    height: 10px;
    background-color: #fefbf4;
    border: 2px solid #c8bba2;
}
.total-score-bar {
    width: 60%;
    height: 8px;
    background-color: #c8bba2;
}
.pointer {
    width: 200px;
    height: 166px;
    position: relative;
    background: #eee6d5;
}
.pointer:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 83px solid transparent;
    border-bottom: 83px solid transparent;
}
.pointer:before {
    z-index: 1;
    content: "";
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 20px solid #eee6d5;
    border-top: 83px solid transparent;
    border-bottom: 83px solid transparent;
}
.score-circle {
    stroke: #be1621;
    transition: stroke-dashoffset 1s ease-out;
}
.score-empty {
    stroke: #cabb9f;
}
.score-text {
    color: black;
}
.picto-book {
    font-size: 100px;
    color: #cabb9f;
}
h1,
h2 {
    font-family: "Patrick Hand SC", cursive;
    color: #be1621;
}
h3 {
    font-weight: bold;
}

.bg-marron-dark {
    background-color: #cabb9f;
}
.bg-marron-light {
    background-color: #fffffe;
}
.bg-blue {
    background-color: #2f7da3;
}
.bg-orange {
    background-color: #e84e1b;
}
.bg-green {
    background-color: #bdb734;
}
.btn-item {
    color: white;
    border: 0;
    border-radius: 27px;
    padding: 0;
    width: 100%;
}
.btn-item:hover {
    cursor: pointer;
    opacity: 0.8;
}

.btn-item > .title {
    flex: 1 0 auto;
}

.btn-item i {
    font-size: 28px;
    border: 4px solid white;
    border-radius: 27px;
    line-height: 55px;
    width: 55px;
    height: 55px;
}
a:hover {
    color: grey;
    text-decoration: none;
}
.width-100 {
    width: 100%;
}
.min-height-100vh {
    min-height: calc(100vh - 170px) !important;
}
.col_half {
    width: 49%;
}
.col_third {
    width: 32%;
}
.col_fourth {
    width: 23.5%;
}
.col_fifth {
    width: 18.4%;
}
.col_sixth {
    width: 15%;
}
.col_three_fourth {
    width: 74.5%;
}
.col_twothird {
    width: 66%;
}
.col_half,
.col_third,
.col_twothird,
.col_fourth,
.col_three_fourth,
.col_fifth {
    position: relative;
    display: inline-block;
    margin-right: 2%;
    margin-bottom: 20px;
}
.end {
    margin-right: 0 !important;
}
.wrapper {
    border-bottom: 7px solid #cabb9f;
    padding: 40px 0px;
    min-height: calc(70vh - 170px);
}
.wrapper-grid {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    min-height: 300px;
}

/* ====== FLIP BOX ======*/

@media (min-width: 768px) and (max-width: 991px) {
    .flip-box {
        min-height: 564px;
    }
}

@media (max-width: 1023px) {
    .flip-box {
        box-shadow: 2px 2px 20px grey;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        padding: 20px;
    }

    .flip-box .front {
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .wp-block-lazyblock-flip-box, .flip-box, .flip-box .front {
        height: 100%;
    }
    
    .flip-box {
        min-height: 350px;
        position: relative;
        perspective: 600px;
        -webkit-perspective: 600px;
        -moz-perspective: 600px;
    }

    .flip-box .front {
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        transition: all 0.4s ease-in-out;
    }

    .flip-box .back {
        background-color: white;
        box-shadow: 2px 2px 20px grey;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        padding: 20px;
        position: absolute;
        top: 0;
        z-index: 2;
        transform: rotateY(-180deg);
        -webkit-transform: rotateY(-180deg);
        -moz-transform: rotateY(-180deg);
        -ms-transform: rotateY(-180deg);
        -o-transform: rotateY(-180deg);
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        transition: all 0.4s ease-in-out;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -ms-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
}

    .flip-box:hover {
        cursor: pointer;
    }

    .flip-box:hover .front {
        transform: rotateY(180deg);
        -webkit-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
    }

    .flip-box:hover .back {
        transform: rotateY(0deg);
        -webkit-transform: rotateY(0deg);
        -moz-transform: rotateY(0deg);
        -ms-transform: rotateY(0deg);
        -o-transform: rotateY(0deg);
    }
}

/* ====== CAROUSEL TESTIMONIALS ======*/

#sliderTestimonials .slick-slide {
    margin: 0 1rem;
}

@media screen and (max-width: 767px) {
    #sliderTestimonials .slick-slide {
        margin: 0 2rem;
    }

    #sliderTestimonials .slick-prev {
        left: 0;
    }

    #sliderTestimonials .slick-next {
        right: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    #sliderTestimonials .slick-prev {
        left: -25px;
    }

    #sliderTestimonials .slick-next {
        right: -25px;
    }
}


.box1 {
    width: 100%;
    min-height: 300px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
.box1 > img {
    width: 90%;
}
.box2 {
    background-color: white;
    width: 100%;
    min-height: 300px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 2px 2px 20px grey;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
.target {
    width: 100%;
    margin-top: 40px;
}
.btn-red {
    background-color: #be1621;
    color: #fff;
    padding: 20px;
    border-radius: 3px;
    margin: 20px 0px;
}
.btn-red:hover {
    background-color: #9c0510;
    color: white;
}
.btn-small-red {
    background-color: #be1621;
    color: #fff;
    padding: 10px;
    border-radius: 3px;
}
.btn-small-red:hover {
    background-color: #9c0510;
    color: white;
}
.btn-small-marron-dark {
    background-color: #cabb9f;
    color: #fff;
    padding: 10px;
    border-radius: 3px;
}
.btn-small-marron-dark:hover {
    opacity: 0.8;
}
.btn-small-marron-light {
    background-color: #fffffe;
    color: black;
    padding: 10px;
    border-radius: 3px;
}
.btn-small-marron-light:hover {
    opacity: 0.8;
}
.btn-brown {
    background-color: #857454;
    color: #fff;
    padding: 20px;
    border-radius: 3px;
    margin: 20px 0px;
}
.w-200px {
    width: 200px;
}
.w-300px {
    width: 300px;
}
.h-200px {
    height: 200px;
}
.max-w-850px {
    max-width: 850px;
}
.max-w-600px {
    max-width: 600px;
}
.max-w-450px {
    max-width: 450px;
}
.max-w-150px {
    max-width: 150px;
}
.h-400px {
    height: 400px;
}
.border-blue {
    border: solid 4px #2f7da3;
}
.color-blue {
    color: #2f7da3;
}
.border-red {
    border: solid 4px #be1621;
}
.color-red {
    color: #be1621;
}
.flex-1-auto {
    flex: 1 0 auto;
}

/* ====== Gutenberg ====== */

.wp-block-group {
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 2.5rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .wp-block-group {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .wp-block-group {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .wp-block-group {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .wp-block-group {
        max-width: 1140px;
    }
}

.wp-block-cover {
    border-top: 7px solid #CABB9F;
    min-height: 30vh;
    margin-bottom: 5.5rem;
}

.wp-block-cover__inner-container {
    max-width: 1140px;
}

.wp-block-image img {
    height: auto;
}

/* ====== Formulaire de contact ====== */

label, .wpcf7-form-control-wrap, input[type="text"], input[type="email"], input[type="number"], .wpcf7-textarea {
    display: block;
    width: 100%;
}

.wpcf7-form-control-wrap {
    margin-bottom: 2rem;
}

.wpcf7-text, .wpcf7-number, .wpcf7-textarea {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

.wpcf7-text:focus, .wpcf7-number:focus, .wpcf7-textarea:focus  {
    border: 2px solid #000;
    outline: 0;
}


input[type="submit"] {
    background-color: #BE1621;
    border: 0;
    color: #fff;
    display: flex;
    margin: 0 auto;
    padding: 20px;
    border-radius: 3px;
    margin: 20px 0;
}

input[type="submit"]:hover {
    background-color: #9C0510;
}

.accordion-collapse {
    margin-bottom: 1rem;
}

/* ====== Plugin Quiz and Survey Master ====== */

.qsm-quiz-form .quiz_section {
    font-size: inherit;
}