:root {
    --sand: #f4ebe6;
    --brown: #d5a97d;
    --green: #0c594e;
    --green-2: #1b3c27;
    --grey: #595858;
    --anthracite: #2c2c2c;
    --font-2: "Cormorant Garamond", serif;
    --rouge: #9c1b33;
}

html,
body,
#app {
    height: 100%;
}

body {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 300;
    font-size: 16px;
}

article {
    background-color: var(--sand);
    background-image: url(img/fleur-lys-big.svg);
    background-position: -35px 125%;
    background-repeat: no-repeat;
    padding-bottom: 25px;
}

aside {
    width: 35%;
    background: #fff;
    overflow-y: auto;
}

footer {
    background-color: var(--green);
    color: #fff;
    height: 40px;
    padding: 11px 0;
}

h1 {
    font-size: 28px;
    font-weight: 200;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.36;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 0;
}

h1 hr {
    border-bottom: none;
    background-image: url(img/s-parateur.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 10px;
    border: 0;
    margin: 7px 0;
}

h2 {
    font-size: 34px;
    font-weight: 400;
    font-stretch: normal;
    font-style: italic;
    line-height: 1.06;
    letter-spacing: normal;
    text-align: center;
    color: var(--grey);
    font-family: var(--font-2);
    text-transform: uppercase;
    margin-bottom: 0;
}

h2 span {
    color: var(--brown);
}

h3 {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
}

strong {
    font-weight: 700;
}

.font-14 {
    font-size: 14px;
}

.bg-cover {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-repeat {
    background-repeat: repeat;
}

.bg-auto {
    background-size: auto;
}

.h-52 {
    height: 600px;
    min-height: 600px;
}

.w-65 {
    width: 65%;
}

.logo-container {
    height: 215px;
    width: 200px;
    height: 217px;
}

.logo {
    width: 109px;
    margin: auto;
    display: block;
}

.bg-green {
    background-color: var(--green);
}

.font-20 {
    font-size: 20px;
}

.lh-1_2 {
    line-height: 1.2;
}

.text-sand {
    color: var(--brown);
}

.list-unstyled li:after {
    content: "";
    width: 25px;
    height: 25px;
    background-image: url(img/puce.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin: 5px auto;
}

.list-unstyled li:last-child:after {
    content: unset;
}

.v-line {
    width: 1px;
    height: 67px;
    border-style: solid;
    border-width: 1px;
    border-image-source: linear-gradient(
        to bottom,
        rgba(28, 146, 134, 0),
        #0c594e
    );
    border-image-slice: 1;
    position: absolute;
    bottom: 0;
}

.v-line-left {
    left: -1.5px;
}

.losange-l:before {
    content: "";
    background-image: url(img/losange-cta-gauche-vert.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 72px;
    height: 56px;
    position: absolute;
    left: -56px;
    top: 4px;
}

.bg-green.mh-80 {
    max-width: 80%;
    margin: auto;
}

.losange-r:after {
    content: "";
    background-image: url(img/losange-cta-droit-vert.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 72px;
    height: 56px;
    position: absolute;
    right: -56px;
    top: 4px;
}

.bg-white {
    margin-top: -45px;
}

.bg-white:before,
.bg-white:after {
    content: "";
    position: absolute;
    width: 77px;
    height: 74px;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-white:before {
    background-image: url(img/coin-gauche.png);
    bottom: -7px;
    left: -11px;
}

.bg-white:after {
    background-image: url(img/coin-droit.png);
    bottom: -7px;
    right: -11px;
}

.tel {
    font-weight: 700;
    font-size: 24px;
    color: var(--anthracite);
}

.tel:hover {
    color: var(--anthracite);
}

.text-xs {
    font-size: 12px;
}

.text-underline {
    text-decoration: underline;
}

#contact {
    padding: 40px;
}

.logo-tel-mobile {
    display: none !important;
}

.custom-radio.material .custom-control-label:before {
    background-color: transparent;
    border-color: var(--green-2);
    border-radius: 50px;
    height: 20px;
    width: 20px;
    top: 1px;
    border-width: 1px;
}

.custom-radio.material
    .custom-control-input:checked
    ~ .custom-control-label::after {
    background: var(--green-2);
    height: 14px;
    width: 14px;
    top: 4px;
    left: -21px;
    border-radius: 50px;
}

.custom-radio.material
    .custom-control-input:focus:not(:checked)
    ~ .custom-control-label::before {
    border-color: var(--green-2);
    box-shadow: none;
}

.custom-control-label {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0.6px;
    color: var(--anthracite);
}

/* Custom checkbox inputs */
.custom-checkbox.material .custom-control-label:before {
    background-color: transparent;
    border-color: var(--green-2);
    border-radius: 0;
    height: 20px;
    width: 20px;
    top: 2px;
    border-width: 1px;
}

.custom-checkbox.material
    .custom-control-input:checked
    ~ .custom-control-label::after {
    background: var(--green-2);
    height: 14px;
    width: 14px;
    top: 5px;
    left: -21px;
}

.custom-checkbox.material
    .custom-control-input:focus:not(:checked)
    ~ .custom-control-label::before {
    border-color: var(--green-2);
    box-shadow: none;
}

.custom-checkbox.material
    .custom-control-input:not(:disabled):active
    ~ .custom-control-label::before {
    color: #fff;
    background-color: #fff !important;
    border-color: #fff !important;
}

.form-control,
.custom-select {
    background: none;
    background-color: var(--sand);
    border-color: var(--brown);
    border-radius: 0;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    font-size: 14px;
}

.form-control:focus,
.custom-select:focus {
    box-shadow: none;
    outline: none;
    background-color: var(--sand);
    border-color: var(--brown);
}

.custom-select {
    font-size: 14px;
    color: var(--grey);
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 14px;
    color: var(--anthracite);
}
::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 14px;
    color: var(--anthracite);
}
:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 14px;
    color: var(--anthracite);
}
:-moz-placeholder {
    /* Firefox 18- */
    font-size: 14px;
    color: var(--anthracite);
}

.is-invalid .form-control::-webkit-input-placeholder,
.is-invalid .custom-select::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: var(--rouge);
}
.is-invalid .form-control::-moz-placeholder,
.is-invalid .custom-select::-moz-placeholder {
    /* Firefox 19+ */
    color: var(--rouge);
}
.is-invalid .form-control:-ms-input-placeholder,
.is-invalid .custom-select:-ms-input-placeholder {
    /* IE 10+ */
    color: var(--rouge);
}
.is-invalid .form-control:-moz-placeholder,
.is-invalid .custom-select:-moz-placeholder {
    /* Firefox 18- */
    color: var(--rouge);
}

.is-invalid .form-control,
.is-invalid .custom-select {
    border-color: var(--rouge);
    color: var(--rouge);
}

.select-wrapper {
    position: relative;
}

.select-wrapper:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--brown);
    right: 10px;
    top: 50%;
    margin-top: -3.5px;
}

.is-invalid .select-wrapper:after {
    border-top-color: var(--rouge);
}

.is-invalid.custom-checkbox.material .custom-control-label:before {
    border-color: var(--rouge);
}

.is-invalid.custom-checkbox label {
    color: var(--rouge);
}

.alert-danger {
    color: #9b1a33;
    background-color: #f3ebe6;
    border-color: #9b1a33;
    border-radius: 0;
}

#optin-1 + label {
    font-size: 12px;
    padding-left: 10px;
}

.btn-submit-form {
    background-color: var(--green);
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.44;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    font-family: "Cormorant Garamond", serif;
    text-transform: uppercase;
    border-radius: 0;
    width: 160px;
    height: 45px;
    display: block;
}

.btn-submit-form:hover,
.btn-submit-form:focus {
    background-color: var(--green-2);
    color: #ffffff;
}

.losange-input {
    width: 160px;
    height: 45px;
    display: block;
    margin: auto;
    position: relative;
}

.losange-input.losange-l:before {
    width: 57px;
    height: 45px;
    top: 0;
}

.losange-input.losange-l::after {
    width: 57px;
    height: 45px;
    top: 0;
}

.triangle {
    position: relative;
}

.triangle::before,
.triangle::after {
    content: "";
    position: absolute;
    left: 50%;
    height: 3px;
    width: 3px;
    margin-left: -1.5px;
}

.triangle::before {
    top: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid #fff;
}

.triangle::after {
    bottom: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 3px solid #fff;
}

.form-errors ul {
    margin-bottom: 0;
}

.form-errors li:last-child {
    margin-bottom: 0;
}

.modal-content {
    background-clip: unset;
    border: none;
    border-radius: 0;
    outline: 0;
}

.modal-header {
    background-color: var(--green);
    border-radius: 0;
}

.modal-header h2 {
    font-size: 30px;
}

.modal-header .close {
    float: right;
    font-size: 31px;
    font-weight: 100;
    line-height: 1;
    color: #fff;
    text-shadow: unset;
    opacity: 0.9;
}

.modal-body {
    padding: 20px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

#sticky {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 3;
}

#sticky a {
    line-height: 45px;
    padding: 0;
}

#sticky a:focus {
    outline: none;
    box-shadow: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 1440px) {
    aside {
        width: 50%;
    }
    .w-65 {
        width: 80%;
    }
}

@media (max-width: 1440px) {
    .w-65 {
        width: 85%;
    }
}

@media (max-width: 1200px) {
    .h-52 {
        height: 550px;
        min-height: 550px;
    }
    .h-52 + .flex-fill {
        padding-bottom: 75px;
    }
    .logo-tel {
        display: none !important;
    }
    .w-65 {
        width: 90%;
    }
    aside {
        width: 100%;
    }
    .h-md-auto {
        height: auto !important;
        overflow: initial !important;
    }
    aside h2 {
        display: none;
    }
    #contact {
        padding: 40px;
        max-width: 60%;
        margin: auto;
    }
    .logo-tel-mobile {
        display: flex !important;
    }
}

@media (max-width: 992px) {
    #contact {
        max-width: 75%;
    }
    #sticky {
        display: block;
    }
}

@media (max-width: 768px) {
    #contact {
        max-width: 90%;
        padding: 40px 0;
    }
    footer {
        flex-direction: column !important;
        height: auto;
    }
    footer a {
        margin: 10px auto;
    }
    .h-52 {
        height: 500px;
        min-height: 500px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 21px;
    }
    .h-52 {
        height: 500px;
    }
    .w-65 {
        width: 93%;
    }
    .bg-white {
        padding: 15px !important;
    }

    .bg-white h2 {
        font-size: 30px;
    }
    .bg-green.mh-80 {
        font-size: 18px;
        max-width: 90%;
        padding: 10px !important;
        position: relative;
        z-index: 2;
    }
    .bg-green.losange-l:before {
        top: 50%;
        margin-top: -28px;
        left: -25px;
        z-index: -1;
    }
    .bg-green.losange-r:after {
        top: 50%;
        margin-top: -28px;
        right: -25px;
        z-index: -1;
    }
    .h-52 + .flex-fill {
        padding-bottom: 50px;
    }
    .form-group.text-center {
        text-align: left !important;
    }
    aside .losange-input.losange-l:before {
        left: -45px;
    }
    aside .losange-input.losange-l::after {
        right: -45px;
    }
    .logo-tel-mobile {
        flex-direction: column;
    }
    .logo-tel-mobile div:last-child {
        margin-top: 15px;
    }
}
