/************************
    GÉNÉRAL
************************/
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");

:root {
    --main-color: #646419;
    --font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #f9f9f9;
    font-family: var(--font-family);
    font-weight: 400;
    color: #4a4a4a;
    font-size: 13px;
    line-height: 1.4;
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 100px 10px 10px;
}

textarea,
input {
    font-family: var(--font-family);
    outline: none;
    font-size: 13px;
    color: #4a4a4a;
    resize: none;
    width: 100%;
    height: 42px;
    border: none;
}

h1 {
    font-size: 20px;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 10px;
}

h2 {
    font-size: 15px;
    text-align: center;
    color: #717171;
}

hr {
    border-color: #eeeeee;
}

a {
    outline: none !important;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 13px;
    color: #cccccc;
    font-style: italic;
    font-family: var(--font-family);
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 13px;
    color: #cccccc;
    font-style: italic;
    font-family: var(--font-family);
}

:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 13px;
    color: #cccccc;
    font-style: italic;
    font-family: var(--font-family);
}

:-moz-placeholder {
    /* Firefox 18- */
    font-size: 13px;
    color: #cccccc;
    font-style: italic;
    font-family: var(--font-family);
}

.note-good,
.mention.note-good {
    color: #58BE8F;
}

.note-medium,
.mention.note-medium {
    color: #F59E64;
}

.note-bad,
.mention.note-bad {
    color: #EB5160;
}

#wrap-content {
    display: flex;
    align-items: flex-start;
}

.content-box  {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 3px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    color: #606060;
}

.content-box .public-links .zd-link {
    margin-top: 10px;
}

.content-box .public-links label {
    font-size: 11px;
    font-weight: 500;
    color: #A1A1A1;
    margin: 5px 0 5px 0;
    text-transform: uppercase;
}

.disclaimer {
    color: #dbd9da;
    margin-top: 10px;
    padding: 2px;
    font-size: 9px;
    text-align: justify;
}

.text-center {
    text-align: center;
}

/************************
    Block context
************************/

#block-context {
    width: 305px;
    margin-right: 30px;
}

#block-context #block-context_intro h1 {
    font-family: var(--font-family);
    font-size: 16px;
    color: var(--main-color);
    font-weight: 400;
    margin-bottom: 20px;
    text-align: left;
}

#block-context #block-context_resa h2 {
    font-size: 14px;
    color: var(--main-color);
    padding-bottom: 5.5px;
    text-align: left;
}

#block-context #block-context_resa .info-resa {
    padding-top: 20px;
    display: flex;
    align-items: center;
}

#block-context #block-context_resa .info-resa img {
    margin-right: 10px;
    width: 22px;
    height: 22px;
    color: #606060;
}

#block-context #block-context_resa .info-resa .info-resa_text p:first-child {
    font-size: 10px;
    color: #A1A1A1;
    text-transform: uppercase;
}

#block-context #block-context_resa .info-resa .info-resa_text p:last-child {
    color: #606060;
}


/************************
    Block formulaire
************************/

#checkbox-receive-news {
    width: 14px;
    height: 19px;
}

#subscribe-news {
    display: block;
    font-size: 12px;
    color: #9b9b9b;
    margin-top: 4px;
}

.container > div > div.champs-form > label {
    color: var(--main-color);
    margin-bottom: 6px;
}

.container > div > div.champs-form > label > input {
    border: none;
    border-bottom: 1px solid #cccccc;
    outline: none;
    color: #2a403f;
    font-size: 12px;
    height: auto;
    margin-bottom: 40px;
}

#receive-news {
    width: 221px;
    height: 15px;
    font-size: 10px;
    font-weight: 600;
    color: #6a6a6a;
    text-transform: uppercase;
}

#subscribe-newsletter {
    width: 135px;
    height: 17px;
    font-size: 12px;
    color: #9b9b9b;
    display: inline;
}

#block-form {
    max-width: 630px;
}

#block-form .block-form_title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#block-form .block-form_title > span {
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    min-width: 35px;
    min-height: 35px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 700;
    margin-right: 10px;
}

#block-form .block-form_title span span {
    font-weight: 400;
    font-size: 11px;
    position: relative;
    top: 1px;
}

#block-form .block-form_title h3 {
    text-transform: uppercase;
    color: #6a6a6a;
}

#block-form .nav {
    margin-left: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#block-form .nav a {
    font-weight: 600;
    font-size: 12px;
    color: var(--main-color);
    cursor: pointer;
    text-decoration: none;
}

#block-form .nav a.disabled {
    color: #dddddd !important;
    cursor: initial;
}

#block-form .nav button,
#block-form .nav input[type="submit"] {
    font-size: 12px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    background-color: var(--main-color);
    border: none;
    padding: 12px 50px;
    display: block;
    width: auto;
    cursor: pointer;
}

#block-form .nav button.disabled {
    background-color: #dddddd;
}

#block-form .block-form_field {
    margin-left: 45px;
    margin-bottom: 28px;
}

.label-description {
    font-style: italic;
    font-size: 12px;
    color: #9b9b9b;
}

#block-form .block-form_field .block-info {
    display: flex;
    justify-content: space-between;
}

#block-form .block-form_field .block-info span:last-child {
    color: var(--main-color);
    cursor: pointer;
}

#block-form .block-form_field .field {
    width: 585px;
    margin-top: 25px;
}

#block-form .block-form_field .field .block-note {
    width: 100%;
    margin-bottom: 20px;
}

#block-form .block-form_field .field .block-note:last-child {
    width: 100%;
    margin-bottom: 0;
}

#block-form .block-form_field .field .block-note .label-note {
    font-size: 11px;
    color: #6a6a6a;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

#block-form .block-form_field .field .block-note_input {
    display: flex;
    justify-content: space-between;
}

#block-form .block-form_field .field .textarea-note {
    width: 100%;
    border-radius: 2px;
    border: solid 1px #e7e7e7;
}

#block-form .block-form_field .field .textarea-note textarea {
    display: flex;
    padding: 10px 10px 0 10px;
    height: 60px;
    border-bottom: solid 1px #e7e7e7;
}

#block-form .block-form_field .field .block-tag {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 10px;
}

#block-form .block-form_field .field .block-tag .tag {
    padding: 4px 13px;
    border-radius: 60px;
    border: solid 1px #dddddd;
    font-size: 11px;
    margin: 5px 5px 5px 0;
    cursor: pointer;
    text-transform: capitalize;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
}

#block-form .block-form_field .field .block-tag .tag.active {
    border: solid 1px var(--main-color);
    color: var(--main-color);
    background-color: #f8fafa;
}

/************************
    Final
************************/

#wrap-content-final {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block-module {
    margin-top: 45px;
}

.block-module h3 {
    font-size: 13px;
    color: #6a6a6a;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 17px;
}

.block-module_info {
    width: 626px;
}

.block-module_info .msg-green {
    color: var(--main-color);
    font-weight: 600;
    margin-top: 20px;
}

.block-module_info #resultat-note-globale p:first-child {
    color: #6a6a6a;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
}

.block-module_info #resultat-note-globale #note-globale {
    font-size: 21px;
    color: var(--main-color);
    display: inline-block;
    margin-left: 10px;
}

.block-module_info #resultat-note-globale #note-globale span {
    font-size: 32px;
    color: var(--main-color);
    display: inline-block;
}

.block-module_info #resultat-note-all {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.block-module_info #resultat-note-all .resultat-note {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    color: #717171;
    width: 225px;
    margin-bottom: 7px;
}

.block-module_info #resultat-note-all .resultat-note .separateur {
    border-bottom: 1px solid #f7f7f7;
    margin: 0 5px;
    flex: 2;
}

.block-module_info #resultat-note-all .resultat-note span:last-child {
    color: var(--main-color);
    font-weight: 700;
}

.block-module_info #info-note {
    padding: 12px 23px;
    border-radius: 4px;
    border: solid 1px rgba(151, 151, 151, 0.2);
    display: flex;
    align-items: center;
}

.block-module_info #info-note span:first-child {
    font-size: 20px;
    color: var(--main-color);
    margin-right: 17px;
}

#form-invite {
    display: flex;
    flex-direction: column;
}

#form-invite button {
    font-size: 12px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    background-color: var(--main-color);
    border: none;
    padding: 12px 50px;
    width: 160px;
    align-self: flex-end;
    margin-top: 20px;
}

#form-fulfill {
    margin-top: 30px !important;
}

.wrap-invite {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 14px;
    margin-bottom: 35px;
}

.wrap-invite .champs-form {
    display: flex;
    flex-direction: column;
    width: 135px;
    margin-left: 24px;
}

.wrap-invite .champs-form.champs-email {
    width: 225px;
    margin-left: 0;
}

.wrap-invite .champs-form label {
    color: var(--main-color);
    margin-bottom: 6px;
}

.wrap-invite .champs-form label span {
    font-size: 10px;
    font-style: italic;
}

label.required:after {
    content: " *";
    color: #d0021b;
}

.wrap-invite .champs-form input {
    border: none;
    border-bottom: 1px solid #cccccc;
    outline: none;
    color: #2a403f;
    font-size: 12px;
    height: auto;
}

.wrap-invite .wrap-suppr {
    position: absolute;
    bottom: 24px;
    left: -22px;
    width: 12px;
    height: 12px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.wrap-invite .wrap-suppr:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.wrap-invite .suppr-invite {
    background: #cccccc;
    display: block;
    width: 2px;
    height: 12px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.wrap-invite .suppr-invite:after {
    content: "";
    display: block;
    background: #cccccc;
    width: 2px;
    height: 12px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

#wrap-ajout {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--main-color);
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#wrap-ajout #plus-invite {
    display: block;
    background: var(--main-color);
    width: 2px;
    height: 10px;
    margin-right: 10px;
}

#wrap-ajout #plus-invite:after {
    content: "";
    display: block;
    background: var(--main-color);
    width: 2px;
    height: 10px;
    margin-right: 10px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

#wrap-ajout:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.btn-social {
    width: 170px;
    padding: 15px;
    border: none;
    border-radius: 2px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.block-module.social-network .block-module_info {
    display: flex;
    justify-content: space-around;
    padding: 30px;
}

.btn-facebook {
    background-color: #3b5999;
}

.btn-messenger {
    background-color: #0084ff;
}

.btn-tripadvisor {
    background: #589442;
}

/**********************
Tick animation 
***********************/

.z1_success-action {
    position: relative;
    width: 130px;
    height: 244px;
    margin: 89px auto 70px auto;
    border-width: 2px;
    border-style: solid;
    border-color: var(--main-color);
    border-radius: 50%;
    animation: borderanim 0.3s ease-in-out 0.2s backwards;
    -webkit-animation: borderanim 0.3s ease-in-out 0.2s backwards;
    -o-animation: borderanim 0.3s ease-in-out 0.2s backwards;
    -moz-animation: borderanim 0.3s ease-in-out 0.2s backwards;
    box-sizing: border-box;
}

.z1_success-action:after {
    content: "";
    position: absolute;
    display: block;
    height: 50%;
    width: 25%;
    top: 48%;
    left: 25%;
    border-right: 2px solid var(--main-color);
    border-top: 2px solid var(--main-color);
    transform: scaleX(-1) rotate(135deg);
    transform-origin: left top;
    animation: check 0.5s ease-in-out 0.5s backwards;
}

@keyframes borderanim {
    0% {
        border-width: 5px;
        opacity: 0;
    }
    100% {
        border-width: 2px;
        opacity: 1;
    }
}

@keyframes check {
    0% {
        height: 0;
        width: 0;
        border-width: 0;
    }
    25% {
        height: 0;
        width: 25%;
        border-width: 2px;
    }
    50% {
        height: 50%;
        width: 25%;
    }
}

.disabled {
    color: #777777 !important;
}

.slider {
    overflow-y: hidden;
    max-height: 130px;
    /* approximate max height */
}

.slider.hidden {
    max-height: 0;
    margin: 0 auto;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    transition: margin 2s, visibility 0s 1s, opacity 1s linear,
        max-height 0.5s ease-out 1s, margin 1s cubic-bezier(0, 1, 0.5, 1) 1s;
}

/************************
    Stars
************************/

.star-notation label {
    display: flex;
    width: 27px;
    height: 26px;
    color: transparent;
    cursor: pointer;
    padding-right: 5px;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    box-sizing: content-box;
}

.star-notation label.star-disable {
    background: url("../img/ic-star-disable.svg") no-repeat left;
}

.star-notation label.star-enable {
    background: url("../img/ic-star-enable.svg") no-repeat left;
}

.star-notation label:hover,
.star-notation label:hover ~ label {
    background: url("../img/ic-star-enable.svg") no-repeat left;
}

.star-notation input {
    position: absolute;
    left: -999%;
}

.star-notation {
    display: flex;
    justify-content: right;
    align-items: flex-end;
    flex-direction: row-reverse;
}

/************************
        Mentions
************************/

.mention {
    font-weight: 600;
    font-size: 13px;
    color: #9b9b9b;
}

.mention.active {
    color: #ffd200;
}

/************************
        Column system
************************/

.col-half {
    flex: 1 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 0 15px;
    margin: 4px 4px;
    box-sizing: border-box;
}

.row {
    display: flex;
    margin: 0 -15px;
    flex-wrap: wrap;
}

.container {
    width: 100%;
}

.zd-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    text-decoration: none;
    height: 34px;
    min-width: 34px;
    border-radius: 2px;
    border-width: 1px;
    border-style: solid;
    padding: 6px 15px;
    font-size: 13px;
    font-family: var(--font-family);
    font-weight: 500;
    -webkit-transition: background .5s ease,border .5s ease;
    transition: background .5s ease,border .5s ease;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.zd-btn.full-width {
    width: 100%;
}

.zd-btn-light {
    background-color: transparent;
    border-color: #dbd9da;
    color: var(--main-color);
    -webkit-box-shadow: 0;
    box-shadow: 0;
}

.zd-btn-light:hover {
    cursor: pointer;
    border-color: var(--main-color);
    color: var(--main-color);
    background-color: rgba(73, 128, 204, 0.1);
}

.zd-link--public, a.zd-link--public {
    color: var(--main-color) !important;
}

.zd-link, a.zd-link {
    color: #f59e64;
    font-weight: 700;
    cursor: pointer;
}

a[class^="zd-link"], div[class*="zd-link"] {
    font-weight: 700;
    text-decoration: none;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.content-box .public-links .zd-link {
    margin-top: 10px;
    display: block;
    font-weight: 500;
    /* text-align: center; */
}

.content-box hr {
    margin-right: -30px;
    margin-left: -30px;
}

/************************
    Media Queries
************************/

@media screen and (max-width: 1120px) {
    body {
        padding-top: 10px;
    }
    #wrap-content {
        flex-direction: column;
        align-items: center;
    }
    #block-context {
        width: 585px;
        margin: 0 0 30px 45px;
    }
    #block-context #block-context_resa #block-info-resa {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #block-context #block-context_resa .info-resa {
        align-items: flex-start;
    }
    #block-context #block-context_resa .info-resa img {
        padding-right: 15px;
    }
    #block-context
        #block-context_resa
        .info-resa
        .info-resa_text
        p:first-child {
        font-size: 10px;
        color: #9b9b9b;
        text-transform: uppercase;
    }
}

@media screen and (max-width: 750px) {
    #wrap-content {
        margin: 0;
        display: block;
        width: 100%;
    }
    #block-context {
        width: 100%;
        display: block;
        margin: 0 0 25px 0;
    }
    #block-form .block-form_field {
        margin-left: 0;
    }
    #block-form .block-form_field .field {
        width: 100%;
    }
    #block-form .nav {
        margin-left: 0;
        margin-bottom: 0;
    }
    #wrap-content-final h1,
    #wrap-content-final h2 {
        padding: 0 20px;
    }
}

@media screen and (max-width: 700px) {
    #wrap-content-final {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .block-module,
    .block-module_info {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .block-module:last-child .block-module_info {
        flex-direction: column;
    }
    .block-module:last-child .block-module_info .btn-social {
        margin-bottom: 10px;
        width: 100%;
    }
    .block-module:last-child .block-module_info .btn-social:last-child {
        margin-bottom: 0;
    }
    .block-module_info #resultat-note-all .resultat-note {
        width: 100%;
    }
}

@media screen and (max-width: 560px) {
    #block-context #block-context_resa #block-info-resa {
        align-items: flex-start;
        flex-direction: column;
    }
    .wrap-invite {
        flex-direction: column;
    }
    .wrap-invite .champs-form {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    .wrap-invite .champs-form.champs-email {
        width: 100%;
        margin-top: 0;
    }
    #form-invite input[type="submit"] {
        width: 100%;
    }
    .col-half {
        flex: 1 0 calc(100% - 8px);
        max-width: calc(100% - 8px);
        padding: 0 15px;
        margin: 4px 4px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 560px) and (-webkit-min-device-pixel-ratio: 0) {
    select,
    textarea,
    input {
        font-size: 16px;
    }
}
