:root {
    --gutter-x: 12px;
    --form-text-size:17px;
    --content-text-size:22px;
    --content-margin-bottom:15px;
    --main-content-border-radius:40px;
}

@font-face {
    font-family: 'AvantGarde';
    src:
        url('../fonts/ITCAvantGardeStd-Bk.woff2') format('woff2'),
        url('../fonts/ITCAvantGardeStd-Bk.woff') format('woff'),
        url('../fonts/ITCAvantGardeStd-Bk.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'AvantGarde';
    src:
        url('../fonts/ITCAvantGardeStd-Demi.woff2') format('woff2'),
        url('../fonts/ITCAvantGardeStd-Demi.woff') format('woff'),
        url('../fonts/ITCAvantGardeStd-Demi.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'AvantGarde';
    src:
        url('../fonts/ITCAvantGardeStd-Bold.woff2') format('woff2'),
        url('../fonts/ITCAvantGardeStd-Bold.woff') format('woff'),
        url('../fonts/ITCAvantGardeStd-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Lobster';
    src:
        url('../fonts/Lobster14.woff2') format('woff2'),
        url('../fonts/Lobster14.woff') format('woff'),
        url('../fonts/Lobster14.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}



body {
    font-family: "Lato", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
    color: #000;
    background: #fff;
}

ol, ul {
    padding-left: 1rem;
}
ol, ul, p,
.form-group {
    margin-bottom: 14px;
}

img {
    -webkit-user-select : none;
    -khtml-user-select  : none;
    -moz-user-select    : none;
    -o-user-select      : none;
    user-select         : none;
    pointer-events      : none;
}

.form-select,
.form-control {
    background-color: #fff;
    border-radius: 0;
    border-color: #085c2e;
    font-size: 15px;
}
.form-select:focus {
    background-color: #fff;
}

.form-select::placeholder,
.form-control::placeholder,
.placeholder {
    color: #666;
}

.help-block {
    font-size: 11px;
}

.has-error input,
.has-error select:not(.placeholder),
.has-error .help-block {
    color: #842029;
}

.control-label {
    font-weight: 400;
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
}


iframe {
    position: absolute;
    margin-top: -1px;
}

a {
    color: inherit;
    text-decoration: underline;
}
a:hover {
    color: inherit;
}

/****************************************/

.body-inner{

    overflow-x: hidden;
}

.btn-submit {
    font-weight: 900;
    border-radius: 40px;
    width: 100%;
    font-size: var(--content-text-size);
    text-transform: uppercase;
    border-color: #085c2e;
}

.bg.green,
.btn-submit {
    background-color: #085c2e;
    color: #ffffff;
}

.btn-submit:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mandatory-fields {
    font-size: 12px;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .header-logo-wrapper {
    padding: 20px;
    text-align: center;
}

header .header-text-wrapper {
    background-color: #085c2e;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

.header-images-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}
.header-images-wrapper .img-caddie {
    position: absolute;
    top: -32px;
    left: calc(50% - 360px);
    width: 160px;
}

.img-branche {
    position: absolute;
    top: 0;
    left: calc(50% + 180px);
}

header .title {
    font-family: 'Lobster', cursive;
    font-size: 45px;
    line-height: 0.9;
    position: relative;
    z-index: 2;
    padding-top: 20px;
    text-shadow: #000 1px 0 8px;
}

header .period {
    font-family: 'AvantGarde', sans-serif;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    z-index: 3;
    padding-bottom: 15px;
}

.leading-wrapper {
    background: #085c2e;
    color: #fff;
    padding: var(--content-margin-bottom) 0;
}

.leading {
    font-family: 'AvantGarde', sans-serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

.main-content .leading {
    font-size: 23px;
    color: #085c2e;
    margin-bottom: var(--content-margin-bottom);
}

.main-content .leading .text-color {
    color: #b9281a;
}

.calendar {
    color: #fff;
    position: absolute;
    height: 100%;
    width: 100%;
    top:0;
    left: 0;
}

.calendar-inner {
    position: relative;
    z-index: 6;
    background-color: #085c2e;
    clip-path: polygon(0 0, 0 100%, 97% 100%, 100% 0%);
    border-top-left-radius: var(--main-content-border-radius);
    height: 100%;
    width: 103.8%;
    display: flex;
    padding: 50px 30px 0 20px;
    transition: width 0.3s linear;

}
body.intro .calendar-inner {
    width: 150%;
    transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.calendar-content {
    width: 100%;
}
.calendar .img-caddie {
    position: absolute;
    top: -20px;
    left: 71%;
    z-index: 7;
    transition: left 0.3s linear;
}
/*body.intro .calendar .img-caddie {*/
/*    left: 117%;*/
/*    transition: left 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);*/
/*}*/
body.intro-caddie-end .calendar .img-caddie {
    left: 115%;
    transition: left 2s cubic-bezier(0.05, 0.7, 0.1, 1);
}
body.intro-caddie-start .calendar .img-caddie {
    left: -500px;
}

.discover {
    color: #fff;
    padding: var(--content-margin-bottom) 0;
}

.discover {
    color: #fff;
    background: #c4392e url("../images/bg-main-xs.jpg?v=2") no-repeat center center;
    background-size: cover;
    padding: var(--content-margin-bottom) 0;
    overflow: hidden;
}
.calendar .title,
.discover .title {
    font-family: 'AvantGarde', sans-serif;
    font-weight: 700;
    font-size: 27px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    z-index: 5;
    position: relative;
}
.calendar .title {
    margin-bottom: var(--content-margin-bottom);
    font-size: 27px;
}

span.text-color {
   color: #f6d122;
}

.calendar .instruction,
.discover .instruction {
    font-family: 'Lobster', cursive;
    font-size: 28px;
    line-height: 1;
    text-align: center;
    margin-bottom: var(--content-margin-bottom);
}
.calendar .instruction {
    margin-bottom: 35px;
    font-size: 27px;
}

.calendar .title,
.calendar .instruction {
    margin-right: 20%;
    transition: margin-right 0.3s linear;
}

body.intro .calendar .title,
body.intro .calendar .instruction {
    margin-right: 0;
}

footer {
    font-family: "Lato", sans-serif;
    font-size: 12px;
    padding: var(--content-margin-bottom) 0;
}

footer .links {
    margin-bottom: var(--content-margin-bottom);
}

footer a {
    text-decoration: underline;
    color: inherit;
}

form .instruction {
    font-family: 'AvantGarde', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: var(--content-margin-bottom);
    text-align: center;
}

.main-content {
    padding: 30px 0;
}

.thanks {
    font-family: 'AvantGarde', sans-serif;
    background-color: #085c2e;
    color: #ffffff;
    padding: 2px 10px;
    font-weight: 700;
    font-size: 21px;
    display: inline-flex;
    margin-bottom: var(--content-margin-bottom);
}

.text-invitation {
    font-size: 18px;
}

.text-rdv {
    font-family: 'AvantGarde', sans-serif;
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    margin-bottom: var(--content-margin-bottom);
}

.badge {
    display: flex;
    position: relative;
    margin: 0 auto;
    height: 190px;
    width: 190px;
}
.text-badge,
.bg-badge {
    position: absolute;
}

.bg-badge {
    -webkit-animation:spin 8s linear infinite;
    -moz-animation:spin 8s linear infinite;
    animation:spin 8s linear infinite;
}

.btn-facebook {
    display: inline-block;
    padding: 2px 0;
}

#btnAddEmail {
    text-align: right;
    color: #085c2e;
    font-family: 'AvantGarde', sans-serif;
    font-weight: 600;
}

.row-days {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    justify-content: center;
    gap: 50px;
    zoom: 0.5;
}
.grid-days,
.calendar-text {
    max-width: 468px;
    margin: 0 auto;
}
.grid-days {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-content: center;
}
.grid-days-item {
    position: relative;
    aspect-ratio: 1;
}

.grid-days-item:nth-child(9) {
    grid-column: 2;
}

.col-day {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.row-days .day {
    width: 260px;
}

.grid-days-item .day {
    position: relative;
    width: 100%;
    z-index: 2;
}

.grid-days-item .sunburst {
    position: absolute;
    top: 0;
    margin-left: -30%;
    margin-top: -30%;
    width: 160%;
    height: 160%;
    z-index: 1;
}

.day {
    aspect-ratio: 1 ;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 5px solid #fff;
    font-size: 0;
    z-index: 2;
}

.day.disabled {
    opacity: 0.75;
    filter: blur(4px);
    zoom: 0.6;
}
.day.disabled.future{
    filter: none;
}

.day.current {
    z-index: 5;
    -webkit-box-shadow: 0px 0px 20px 2px rgba(246,209,34,0.99);
    box-shadow: 0px 0px 20px 2px rgba(246,209,34,0.99);
    /*-webkit-box-shadow:0px 0px 105px 45px rgba(255,255,255,0.9);*/
    /*-moz-box-shadow: 0px 0px 105px 45px rgba(255,255,255,0.9);*/
    /*box-shadow: 0px 0px 105px 45px rgba(255,255,255,0.9);*/
}
.row-days .day.current {
    -webkit-box-shadow: 0px 0px 30px 5px rgba(246,209,34,0.99);
    box-shadow: 0px 0px 30px 5px rgba(246,209,34,0.99);
}

.day-15 { background-image: url("../images/dates/15.png"); }
.day-16 { background-image: url("../images/dates/16.png"); }
.day-17 { background-image: url("../images/dates/17.png"); }
.day-18 { background-image: url("../images/dates/18.png"); }
.day-19 { background-image: url("../images/dates/19.png"); }
.day-20 { background-image: url("../images/dates/20.png"); }
.day-21 { background-image: url("../images/dates/21.png"); }
.day-22 { background-image: url("../images/dates/22.png"); }
.day-23 { background-image: url("../images/dates/23.png"); }
.day-24 { background-image: url("../images/dates/24.png"); }

.sunburst {
    position: absolute;
    width: 400px;
    height: 400px;
    margin: 50px auto;
    filter: blur(5px);
    z-index: 1;
    -webkit-animation:spin 8s linear infinite;
    -moz-animation:spin 8s linear infinite;
    animation:spin 8s linear infinite;
}

@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

/* Halo central */
.sunburst::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    zoom: 0;
    background: radial-gradient(
            circle,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,0.55) 35%,
            rgba(255,255,255,0.05) 65%,
            rgba(255,255,255,0) 100%
    );
    filter: blur(10px);
}

/* Rayons */
.sunburst::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(
            rgba(255,255,255,0.25) 0deg,
            rgba(255,255,255,0) 8deg,
            rgba(255,255,255,0) 16deg
    );
    mask: radial-gradient(circle, transparent 0%, black 55%);
    opacity: 0.5;
}
@media (min-width: 400px) {
    header .title {
        font-size: 52px;
    }

    header .period {
        font-size: 21px;
    }

    .discover .title {
        font-size: 30px;
    }

    .discover .instruction {
        font-size: 30px;
    }

    footer {
        font-size: 13px;
    }

    form .instruction {
        font-size: 22px;
    }

    .row-days {
        zoom: 0.57;
    }
}

.main-content {
    font-family: 'AvantGarde', sans-serif;
    font-weight: 600;
}
.modal-content {
    -webkit-box-shadow: 0px 0px 30px 10px rgba(246,209,34,0.99);
    box-shadow: 0px 0px 30px 10px rgba(246,209,34,0.99);
}
/*.modal.fade .modal-dialog {*/
/*    transform: none !important;   !* supprime le déplacement *!*/
/*    transition:
 */

@keyframes card-wobble {
    0%   { transform: translateY(0px) rotate(0deg); }
    20%  { transform: translateY(-4px) rotate(-2deg); }
    40%  { transform: translateY(-4px) rotate(2deg); }
    60%  { transform: translateY(-4px) rotate(-1deg); }
    80%  { transform: translateY(-4px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes card-wobble-strong {
    0%   { transform: translateY(0)       scale(1)    rotate(0deg); }
    10%  { transform: translateY(-6px)    scale(1.04) rotate(-3deg); }
    30%  { transform: translateY(-10px)   scale(1.06) rotate(5deg); }
    50%  { transform: translateY(-8px)    scale(1.05) rotate(-5deg); }
    70%  { transform: translateY(-5px)    scale(1.03) rotate(3deg); }
    90%  { transform: translateY(-2px)    scale(1.01) rotate(-2deg); }
    100% { transform: translateY(0)       scale(1)    rotate(0deg); }
}

.day.is-wobbling {
    /*animation: card-wobble 0.6s ease-out;*/
    animation: card-wobble-strong 0.7s ease-out;
}
@media (min-width: 576px) {
    header .title {
        font-size: 55px;
    }

    header .period {
        font-size: 22px;
    }

    .discover .title {
        font-size: 37px;
    }

    .discover .instruction {
        font-size: 37px;
    }

    .leading {
        font-size: 30px;
    }

    footer {
        font-size: 14px;
    }

    .row-days {
        zoom: 0.75;
    }
    .header-images-wrapper .img-caddie {
        left: calc(50% - 370px);
    }

    .img-branche {
        left: calc(50% + 210px);
    }
}

@media (max-width: 767px) {
}
@media (min-width: 768px) {
}

@media (max-width: 991px) {
    footer {
        background: #085c2e;
        color: #fff;
    }

    header {
        padding: 0 !important;
    }
}

@media (min-width: 992px) {
    header .title {
        font-size: 72px;
    }
    header {
        flex-direction: row;
        align-items: center;
        margin-bottom: 40px;
    }

    .body-inner {
        background: #c4392e url("../images/bg-main.jpg") no-repeat center top;
        background-size: cover;
    }

    header .header-logo-wrapper {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        background: #fff;
    }

    header .header-text-wrapper {
        background-color: transparent;
    }

    .main-content-wrapper {
        margin-bottom: 85px;
        -webkit-box-shadow: 0px 5px 15px 5px rgba(0,0,0,0.25);
        box-shadow: 0px 5px 15px 5px  rgba(0,0,0,0.25);
        border-top-left-radius: var(--main-content-border-radius);
        border-bottom-right-radius: var(--main-content-border-radius);
    }

    .main-content {
        position: relative;
        min-height: 670px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: filter 0.3 linear;
    }

    .main-content.not-blur {
        filter: none !important;
        pointer-events: auto !important;
    }

    body.page-index .main-content,
    body.intro .main-content {
        filter: blur(4px);
        pointer-events: none;
    }

    .col-main-content {
        width: 48%;
        background-color: #fff;
        border-bottom-right-radius: var(--main-content-border-radius);
    }
    .badge {
        position: absolute;
        bottom: -50px;
        right: -100px;
    }
    .header-logo-wrapper {
        margin-left: 60px;
    }
    .header-text-wrapper {
        margin-right: 0;
    }
}

@media (min-width: 1200px) {
    .badge {
        position: absolute;
        bottom: -30px;
        right: -70px;
    }
    .header-logo-wrapper {
        margin-left: 130px;
    }
    .header-text-wrapper {
        margin-right: 20px;
    }

    .main-content .leading {
        font-size: 28px;
    }
    .calendar .title {
        font-size: 30px;
    }
    .calendar .instruction {
        font-size: 29px;
    }
    .grid-days,
    .calendar-text {
        max-width: 570px;
    }
    .calendar .img-caddie {
        left: 73%;
    }
    /*body.intro .calendar .img-caddie {*/
    /*    left: 120%;*/
    /*}*/
    body.intro-caddie-end .calendar .img-caddie {
        left: 120%;
    }
}
@media (min-width: 1400px) {

    .main-content .leading {
        font-size: 30px;
    }

    .badge {
        position: absolute;
        bottom: -30px;
        right: -60px;
    }
    .header-logo-wrapper {
        margin-left: 180px;
    }
    .header-text-wrapper {
        margin-right: 40px;
    }

    body.intro .calendar-inner {
        width: 150%;
    }

    .calendar .img-caddie {
        left: 77%;
    }

    /*body.intro .calendar .img-caddie {*/
    /*    left: 123%;*/
    /*}*/
    body.intro-caddie-end .calendar .img-caddie {
        left: 123%;
    }
}