.center {
    margin: auto;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.margin-hor {
    margin-left: 15px;
    margin-right: 15px;
}

.margin-ver {
    margin-top: 15px;
    margin-bottom: 15px;
}

.margin {
    margin: 15px;
}

body {
    margin: 0;
}

p {
    font-family: "Baskerville Old Face";
}

.title-bold {
    font-weight: bold;
}

.main-container {
    /*margin: 70px 0 0 0;*/
    /*height: 100vh;*/
    width: 100%;
}

.main-title {
    width: 100%;
    height: 12%;
    display: flex;
    background-color: transparent;
    /*animation: 3s shrink;*/
}

.content-title {
    margin: auto;
    display: flex;
    flex-direction: column;
    /*animation: 3s title-slide;*/
    background-color: white;
    /*border: solid 1px transparent;
    border-radius: 50px;*/
    width: 100%;
    min-height: 50px;
    /*padding: 15px 0 15px 0 ;*/
}

.title-line {
    margin: 15px auto 10px auto;
    height: 5px;
    width: 30%;
    border-top: solid 2px rgb(15, 83, 35, 0.75);
}

#third-page-main-container .title-line {
    width: 50%;
}

.text-content {
    width: 80%;
    background: white;
    border: solid 0px #0F5323;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 1px 1px 12px inset #555;
    padding: 50px 0 50px 0;
    display: flex;
    margin: auto;
    list-style: none;
}

.text-content>p {
    padding: 0 50px 0 50px;
}

.main-lib {
    font-weight: bold;
    color: #0F5323 !important;
}

.content-title span {
    margin: auto;
}

.content-title #title {
    font-family: "Baskerville Old Face";
    font-size: 200%;
    display: flex;
    margin: auto;
    color: #0F5323;
    text-align: center;
}

@media screen and (max-device-width: 425px) {
    .content-title #title {
        font-size: 320%;
    }
}

#second-page-content-title #title {
    font-family: "Baskerville Old Face";
    font-size: 180%;
    font-weight: bold;
    display: flex;
    margin: auto;
    color: #0F5323;
    text-align: center;
}

.content-title #second-page-title {
    font-family: "Baskerville Old Face";
    font-size: 200%;
    height: 100%;
    display: flex;
    margin: auto;
    color: white;
    text-align: center;
}

.main-container-separator {
    width: 100%;
    height: 50px;
    background-color: white;
}

#subtitle {
    text-align: center;
    font-family: "Script MT Bold";
    font-size: 145%;
    color: black;
}

h1 {
    font-family: "Baskerville Old Face";
}

div#slider {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1 0 auto;
    /*box-shadow: 1px 1px 12px inset #333;  */
    /*background-image:  linear-gradient(to left,transparent, 99%,white), linear-gradient(to right,transparent, 99%,white);*/
    background-image: linear-gradient(to bottom, transparent, 98%, white);
    animation: 2s shrink;
}

@keyframes shrink {
    /* 0%{ background: white;}
    100%{background: transparent;}*/
}


/*
div#slider:hover #btn-precedent {
    opacity: 1;
}

div#slider:hover #btn-suivant {
    opacity: 1;
}*/

div#slider figure {
    position: relative;
    width: 500%;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-align: left;
    /*animation: 24s slidy infinite;*/
    z-index: -1;
}

.no-animation {
    animation: none !important;
}

div#slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    float: left;
    z-index: -1;
}

div#slider img.top {
    animation-name: fade-in-out-top;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    /*animation-direction: alternate;*/
}

div#slider img.middle {
    animation-name: fade-in-out-middle;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    /*animation-direction: alternate;*/
}


/*
div#slider img.bottom { 
    opacity:0; 
}
*/

@keyframes fade-in-out-top {
    0% {
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    33% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fade-in-out-middle {
    0% {
        opacity: 0;
    }
    33% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    66% {
        opacity: 1;
    }
    73% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes small {
    0% {
        font-size: 400%;
    }
    50% {
        font-size: 400%;
    }
    100% {
        font-size: 200%;
    }
}

@keyframes title-slide {
    0% {
        transform: translateX(200%) rotate(190deg);
        background-color: #6EBE9B;
        color: white;
    }
    35% {
        transform: translateX(0) rotate(0);
        background-color: #6EBE9B;
        color: white;
    }
    50% {
        background-color: #6EBE9B;
        color: white;
    }
    100% {
        background-color: transparent;
        color: black;
    }
}

@keyframes slidy {
    0% {
        left: 0%;
    }
    20% {
        left: 0%;
    }
    25% {
        left: -100%;
    }
    45% {
        left: -100%;
    }
    50% {
        left: -200%;
    }
    70% {
        left: -200%;
    }
    75% {
        left: -300%;
    }
    95% {
        left: -300%;
    }
    100% {
        left: -400%;
    }
}

#slider #precedent {
    position: absolute;
    display: flex;
    z-index: 3001;
    height: calc(100% - 60px);
    width: 100px;
    background: transparent;
    border: none;
    margin-left: 5%;
}

#btn-precedent {
    margin: auto;
    height: 15%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
    /*background-color: white;*/
    border: solid 0px white;
    border-radius: 15px;
    /*box-shadow: 1px 1px 12px #222;*/
}

#slider #suivant {
    position: absolute;
    z-index: 3001;
    display: flex;
    height: calc(100% - 60px);
    width: 100px;
    background: transparent;
    border: none;
    /*TODO A REVOIR*/
    left: 90%;
}

#btn-suivant {
    margin: auto;
    height: 15%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
    /*background-color: white;*/
    border: solid 0px white;
    border-radius: 15px;
    /*box-shadow: 1px 1px 12px #222;*/
}

#first-page-main-container {
    width: 100%;
    height: 100vh;
    /*margin: 60px 0 0 0;*/
    /*padding: 10px 0 0 0;*/
}

#slider-desc {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#first-container-separator {
    width: 100%;
    height: 10px;
    background-color: #5DA082;
    margin: 50px 0 0 0;
}

#logo_accueil {
    height: 80px;
    width: 300px;
    margin: auto auto auto 20px;
}

.accueil-text-cadre {
    width: 100%;
    height: 21%;
    top: -25%;
    position: relative;
    flex: 1 0 auto;
    background: rgba(30, 30, 30, 0.4);
    /*box-shadow: 1px 1px 12px #333;*/
    /*background-image: linear-gradient(45deg,#436e5c, 65%, #6EBE9B), linear-gradient(90deg,#436e5c, 65%, #6EBE9B);*/
    /*animation: 2.0s slide_up;*/
}

.accueil-text-container p {
    text-align: justify;
    /*animation: 4.0s expand;*/
}

@keyframes expand {
    0% {
        max-width: 0px;
        opacity: 0;
    }
    50% {
        max-width: 0px;
        opacity: 0;
    }
    90% {
        max-width: 1200px;
        opacity: 0;
    }
    100% {
        max-width: 1200px;
        opacity: 1;
    }
}

.accueil-text-container .content-title {
    height: 80% !important;
    width: 60%;
    background: transparent !important;
}

.accueil-text-container p {
    margin: auto;
}

.accueil-text-container {
    width: 80%;
    height: 100%;
    position: relative;
    flex: 1 0 auto;
    margin: 0 auto 0 auto;
    background-color: white;
    display: flex;
    text-align: justify;
    border: solid 0px #0F5323;
}

@media screen and (min-device-width: 1281px) {
    .accueil-text-container {
        box-shadow: 1px 1px 5px inset #333;
        border-radius: 3px 3px 3px 3px;
    }
    @keyframes slide_up {
        0% {
            top: 0%;
        }
        30% {
            top: -55%;
        }
        70% {
            top: -55%;
        }
        100% {
            top: -25%;
        }
    }
    .accueil-text-container #title {
        font-family: "Baskerville Old Face";
        font-size: 200%;
        text-align: center;
        font-weight: bold;
        /*padding: 10px;*/
    }
    .accueil-text-container p {
        font-size: 130%;
        padding: 0 36px 0 0;
    }
}

@media screen and (min-device-width: 426px) and (max-device-width: 1280px) {
    #first-page-main-container {
        height: 120vh;
    }
    .accueil-text-container {
        height: auto;
        width: 100%;
        position: relative;
        right: 0%;
        flex: 1 0 auto;
        flex-direction: column;
        border-radius: 0;
    }
    .accueil-text-cadre {
        height: auto;
        top: -28%;
    }
    @keyframes grow {
        0% {
            right: -20%;
        }
        100% {
            right: 20%;
        }
    }
    .accueil-text-container #title {
        font-family: "Baskerville Old Face";
        font-size: 160%;
        text-align: center;
        font-weight: bold;
        padding: 20px;
    }
    .accueil-text-container p {
        font-size: 130%;
        padding: 20px;
    }
}

@media screen and (max-device-width: 425px) {
    .accueil-text-container {
        flex-direction: column;
    }
    #first-page-main-container {
        height: auto;
    }
    #slider-desc {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    div#slider {
        height: 700px;
    }
    div#slider img {
        position: absolute;
        width: 100%;
        height: 40%;
        float: left;
    }
    .accueil-text-container #title {
        font-family: "Baskerville Old Face";
        font-size: 400%;
        text-align: center;
        font-weight: bold;
        padding: 20px;
    }
    .accueil-text-container #subtitle {
        font-size: 330%;
    }
    .accueil-text-container p {
        font-size: 320%;
        padding: 30px;
    }
    .accueil-text-container .content-title {
        height: auto !important;
        background: white !important;
    }
    .accueil-text-cadre {
        top: 0% !important;
        background-color: white;
    }
    #slider #precedent {
        height: 40%;
    }
    #slider #suivant {
        height: 40%;
    }
}

.accueil-text-container span,
.accueil-text-container p {
    /*margin: auto;*/
    color: black;
}

#second-page-content-title {
    margin: auto;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    width: 80%;
    border: solid 0px #0F5323;
    /*border-radius: 15px 15px 15px 15px;
    box-shadow: 1px 1px 12px inset #555;
    padding: 50px 0 50px 0;*/
}

.def-touriste {
    display: flex;
    margin: auto;
    width: 100%;
    height: 100%;
    flex-direction: column;
    transition: all 0.5s;
}

.content-def-touriste {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    vertical-align: bottom;
    margin: auto;
    border: solid 0px #5DA082;
    background-color: white;
    border-radius: 3% 3% 3% 3%;
    transition: all 0.5s;
}

.content-def-touriste-image {
    display: flex;
    width: 100%;
    height: 70%;
    position: relative;
    z-index: 1;
    border: solid 0px #5DA082;
    transition: all 0.5s;
}

.content-def-touriste-image::before {
    content: "";
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    border: none;
    border-radius: 50px;
    box-shadow: 1px 1px 12px #333;
    transition: all 0.5s;
}

.content-def-touriste-image:hover p {
    opacity: 1;
}

.content-def-touriste-image:hover::before {
    opacity: 0.35;
}

#content-def-touriste-image1::before {
    /*background-image: linear-gradient(to left,transparent, 98%, rgb(255, 255, 255)),linear-gradient(to right,transparent, 98%, rgb(255, 255, 255)),linear-gradient(to top,transparent, 90%, rgb(255, 255, 255)),linear-gradient( transparent, 90%, rgb(255, 255, 255)),url("././images/banner_0.png");*/
    /*background-image: linear-gradient(to bottom, transparent, 98%, rgb(255, 255, 255)), linear-gradient(to right, transparent, 98%, rgb(255, 255, 255)), linear-gradient(to left, transparent, 98%, rgb(255, 255, 255)), linear-gradient(to top, transparent, 98%, rgb(255, 255, 255)), url("././images/banner_0.png");*/
    background-image: url("././images/banner_0.png");
}

#content-def-touriste-image2::before {
    background-image: url("././images/banner_1.png");
}

#content-def-touriste-image3::before {
    background-image: url("././images/banner_2.png");
}

#content-def-touriste-image4::before {
    background-image: url("././images/banner_3.png");
}

#content-def-touriste-image5::before {
    background-image: url("././images/banner_4.png");
}

#content-def-touriste-image6::before {
    background-image: linear-gradient(to bottom, transparent, 98%, rgb(255, 255, 255)), linear-gradient(to right, transparent, 98%, rgb(255, 255, 255)), linear-gradient(to left, transparent, 98%, rgb(255, 255, 255)), linear-gradient(to top, transparent, 98%, rgb(255, 255, 255)), url("././images/banner_5.png");
}

.marge-def-touriste-text {
    height: 90%;
    transition: 0.5s;
}

.content-def-touriste-text {
    height: 20%;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
}

.content-def-touriste-text span {
    text-align: center;
    margin: auto;
    /*padding: 15px;*/
    font-family: "Baskerville Old Face";
    font-size: 150%;
    font-weight: bold;
    color: #0F5323;
}

.content-def-touriste-image p {
    text-align: justify;
    margin: auto;
    padding: 25px;
    font-size: 115%;
    transition: all 0.5s;
    opacity: 0;
}

.content-def-touriste a {
    height: 5%;
    margin: 15px;
    /*height: 20px;
  width: 50px;*/
    background-color: #5DA082;
    color: white;
    border: solid 0px;
    border-radius: 15px;
    padding: 15px;
    text-decoration: none;
    text-align: center;
    transition: all 0.5s;
}

.content-def-touriste a:hover {
    background-color: #3d6855;
    font-size: 110%;
}

.def-touriste {
    min-height: 450px;
}

@media screen and (min-device-width: 1281px) {
    #second-page-main-container {
        width: 100%;
        /*height: calc(100vh - 50px);*/
        display: flex;
        flex-direction: column;
    }
    .def-touristes {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr);
        grid-gap: 50px;
        height: 50%;
        width: 80%;
        padding: 0 20px 0 20px;
        margin: 20px auto 20px auto;
    }
    #def-touriste1 {
        grid-column: 1;
        grid-row: 1;
    }
    #def-touriste2 {
        grid-column: 2;
        grid-row: 1;
    }
    #def-touriste3 {
        grid-column: 3;
        grid-row: 1;
    }
    #def-touriste4 {
        grid-column: 4;
        grid-row: 1;
    }
}

@media screen and (min-device-width: 426px) and (max-device-width: 1280px) {
    #second-page-main-container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .def-touristes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-gap: 30px;
        width: 80%;
        padding: 0 20px 0 20px;
        margin: 20px auto 20px auto;
    }
    #def-touriste1 {
        grid-column: 1;
        grid-row: 1;
    }
    #def-touriste2 {
        grid-column: 2;
        grid-row: 1;
    }
    #def-touriste3 {
        grid-column: 1;
        grid-row: 2;
    }
    #def-touriste4 {
        grid-column: 2;
        grid-row: 2;
    }
}

@media screen and (max-device-width: 425px) {
    .def-touristes {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-gap: 30px;
        width: 80%;
        padding: 0 20px 0 20px;
        margin: 20px auto 20px auto;
    }
    .def-touriste {
        display: flex;
        margin: auto;
        width: 100%;
        min-height: 600px;
        flex-direction: column;
        transition: all 0.5s;
    }
    #def-touriste1 {
        grid-column: 1;
        grid-row: 1;
    }
    #def-touriste2 {
        grid-column: 1;
        grid-row: 2;
    }
    #def-touriste3 {
        grid-column: 1;
        grid-row: 3;
    }
    #def-touriste4 {
        grid-column: 1;
        grid-row: 4;
    }
    .content-def-touriste a {
        font-size: 260%;
        height: auto;
    }
    .content-def-touriste-text span {
        font-size: 320%;
    }
    .content-def-touriste-image p {
        font-size: 290%;
    }
    #second-page-content-title {
        padding: 30px;
    }
    #second-page-content-title #title {
        font-size: 320%;
    }
    #second-page-content-title #subtitle {
        font-size: 280%;
    }
    .text-content p {
        font-size: 280% !important;
    }
}

#third-page-main-container {
    width: 100%;
    height: calc(100vh - 50px);
    /*margin: 70px 0 0 0;*/
}

.grid-chambre {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
}

.grid-chambre-content {
    height: 100%;
    width: calc(100% / 3);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(to bottom, transparent, 95%, rgb(255, 255, 255)), linear-gradient(to top, transparent, 95%, rgb(255, 255, 255));
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-chambre-content input {
    height: 50px;
    width: 50px;
    background-color: rgb(93, 160, 130, 0.75);
    border: solid 0px black;
    border-radius: 50%;
    margin-top: 70vh;
    opacity: 0;
    transition: all 0.5s;
}

.grid-chambre-content input:hover {
    background-color: rgb(93, 160, 130);
}

.grid-chambre-content img {
    position: absolute;
    height: 100%;
    max-width: 65%;
    float: left;
    transition: all 0.5s;
    z-index: -1;
}

.grid-chambre-content img {
    /*animation-name: chambreFadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 16s;*/
}

@keyframes chambreFadeInOut {
    0% {
        opacity: 1;
    }
    22% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    97% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.grid-chambre-content img:nth-of-type(1) {
    animation-delay: 12s;
}

.grid-chambre-content img:nth-of-type(2) {
    animation-delay: 8s;
}

.grid-chambre-content img:nth-of-type(3) {
    animation-delay: 4s;
}

.grid-chambre-content img:nth-of-type(4) {
    animation-delay: 0s;
}

.grid-chambre-text {
    width: calc(100% / 3);
    transition: all 0.5s;
    padding: 25px;
    background-color: white;
}

.grid-chambre-text p {
    font-size: 120%;
    text-align: justify;
    margin-top: 25px;
}

.main-chambre-text {
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
}

.grid-chambre-text #title {
    margin: auto;
    font-family: "Baskerville Old Face";
    font-size: 200%;
    color: #0F5323;
}

.desc-chambre {
    display: flex;
    margin-top: 10px;
}

.desc-chambre span {
    /*margin: auto;*/
    font-size: 120%;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 0 0 25px;
}

.picto-desc-chambre {
    /*margin: auto;*/
    height: 35px;
    width: 35px;
}

#chambre0 {
    transition: all 0.5s;
    /*background-image: linear-gradient(to bottom,transparent, 95%, rgb(255, 255, 255)),
    linear-gradient(to top,transparent, 95%, rgb(255, 255, 255)), url("././images/chambre_0.jpeg");*/
}

#chambre1 {
    transition: all 0.5s;
    /*background-image: linear-gradient(to bottom,transparent, 95%, rgb(255, 255, 255)),
    linear-gradient(to top,transparent, 95%, rgb(255, 255, 255)), url("././images/chambre_1.jpeg");*/
}

#chambre0:hover {
    width: calc((100% / 3)*2) !important;
}

#chambre0:hover input {
    opacity: 1;
}

#chambre1:hover {
    width: calc((100% / 3)*2) !important;
}

#chambre1:hover input {
    opacity: 1;
}

.first-chambre-text {
    opacity: 0;
    height: 0px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
}

.first-chambre-text #title {
    margin: auto;
}

.second-chambre-text {
    opacity: 0;
    height: 0px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
}

.second-chambre-text #title {
    margin: auto;
}

@media screen and (max-device-width: 425px) {
    #third-page-main-container {
        width: 100%;
        height: auto;
    }
    .grid-chambre {
        height: 1600px;
        /*flex-direction: column;*/
        flex-wrap: wrap;
    }
    .grid-chambre-content {
        width: 100%;
        height: calc(100% / 3);
    }
    .grid-chambre-content img {
        height: auto !important;
    }
    .grid-chambre-text {
        height: calc(100% / 3);
        width: 100%;
        order: 0;
    }
    #chambre0 {
        order: 1;
    }
    #chambre1 {
        order: 2;
    }
    /*#chambre0:hover {
        width: 100% !important;
    }
    #chambre1:hover {
        width: 100% !important;
    }*/
}

#fourth-page-main-container {
    width: 100%;
    min-height: calc(100vh - 50px);
}

#slider-services figure {
    display: flex;
    flex-flow: column;
}

#slider-container {
    width: 100%;
    margin: 20px 0 0 0;
    overflow-y: hidden;
    overflow-x: scroll;
}

#slider-container #slider-services {
    display: flex;
    /*height: 38%;*/
    padding: 20px;
}

#slider-container #slider-services figure {
    position: relative;
    display: flex;
    width: 300%;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-align: left;
    z-index: -1;
}

#slider-container #slider-services figure img {
    position: relative;
    width: 550px;
    height: 350px;
    margin: auto 30px auto 30px;
    transition: all 0.5s;
    border: solid 0px black;
    border-radius: 25px;
    box-shadow: 1px 1px 12px #333;
}

#slider-services figure figcaption {
    position: relative;
    width: 550px;
    top: -24px;
    margin: 0 auto 0 auto;
    color: #fff;
    font-size: 16pt;
    /*background-color: rgba(0, 0, 0, .4);*/
    border: none;
    border-radius: 0 0 25px 25px;
    min-height: 25px;
    text-align: center;
}

#slider-container #slider figure img:hover {
    width: 600px;
    height: 400px;
    /* margin: 50px 60px 50px 60px;*/
}

#slider-container #precedent {
    position: absolute;
    display: flex;
    z-index: 3001;
    height: 350px;
    padding: 15px;
    width: 10%;
    background: linear-gradient(to right, white, 50%, transparent);
    border: none;
}

#slider-container #btn-precedent-galerie {
    margin: auto;
    height: 15%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
    /*background-color: white;*/
    border: solid 0px white;
    border-radius: 15px;
    /*box-shadow: 1px 1px 12px #222;*/
}

#slider-container #suivant {
    position: absolute;
    z-index: 3001;
    display: flex;
    height: 350px;
    padding: 15px;
    width: 10%;
    background: linear-gradient(to left, white, 50%, transparent);
    border: none;
    /*TODO A REVOIR*/
    left: 90%;
}

#slider-container #btn-suivant-galerie {
    margin: auto;
    height: 15%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
    border: solid 0px white;
    border-radius: 15px;
}

#slider-container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

#slider-container::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

#slider-container::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #5DA082;
}

.def-services {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px 0 20px 0;
}

.text-def-service {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    transition: all 0.5s;
}

.text-def-service p {
    text-align: justify;
    opacity: 1;
    font-size: 120%;
    transition: all 1s;
    padding: 20px;
}

.img-def-service {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    margin: auto;
}

.img-def-service img {
    height: 70px;
    width: 70px;
    border: solid 0px;
    /*border-radius: 25px;*/
}

@media screen and (min-device-width: 1281px) {
    .def-service {
        position: relative;
        display: flex;
        border: solid 0px;
        border-radius: 15px;
        max-width: 30%;
        margin: auto;
        transition: all 0.5s;
    }
}

@media screen and (min-device-width: 426px) and (max-device-width: 1280px) {
    .def-service {
        position: relative;
        display: flex;
        flex-direction: column;
        border: solid 0px;
        border-radius: 15px;
        max-width: 30%;
        margin: auto;
        transition: all 0.5s;
    }
    .img-def-service {
        margin: 15px;
    }
    .img-def-service img {
        margin: auto;
    }
}

@media screen and (max-device-width: 425px) {
    .def-services {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        width: 100%;
        margin: 20px 0 20px 0;
    }
    .def-service {
        display: flex;
        flex-direction: column;
        max-width: 1000%;
    }
    .img-def-service {
        margin: auto;
    }
    .img-def-service img {
        height: 140px;
        width: 140px;
    }
    #slider-container #slider-services figure img {
        height: 600px;
        width: 750px;
        margin: auto 10px auto 10px;
        border: none;
    }
    #slider-services figure figcaption {
        top: -150px;
        font-size: 30pt;
    }
}

#fifth-page-main-container {
    width: 100%;
    min-height: calc(100vh - 50px);
}

#fifth-page-main-container span {
    font-family: "Baskerville Old Face";
}

@media screen and (min-device-width: 1281px) {
    #reserva-container {
        display: flex;
        width: 100%;
        height: 70%;
        padding-top: 30px;
    }
}

@media screen and (min-device-width: 426px) and (max-device-width: 1280px) {
    #reserva-container {
        flex-direction: column;
        display: flex;
        width: 100%;
        padding-top: 30px;
    }
}

@media screen and (max-device-width: 425px) {
    #datepicker-container {
        height: auto;
    }
}

#datepicker-container {
    margin: auto !important;
    /*margin-right: auto;*/
    height: 100%;
}

#form-res {
    /*box-shadow: 1px 1px 12px #333;*/
}

#fifth-page-main-container select {
    width: 100%;
    /*margin: 16px 0 16px 0;*/
    /*display: inline-block;*/
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    padding: 20px;
}

#reserva-container h2 {
    text-align: center;
    color: #0F5323;
    font-family: "Script MT Bold";
}

#presta-container {
    margin: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.date-sel-deb {
    background-color: #5DA082;
    border-radius: 10px 0 0 10px;
}

.date-sel-deb a,
.date-sel-fin a,
.date-sel-entre a {
    color: white !important;
}

.date-sel-fin {
    background-color: #5DA082;
    border-radius: 0 10px 10px 0;
}

.date-sel-entre {
    background-color: #5DA082;
}


/*#sel-pers-enf-container {
    width: 0px;
    opacity: 0;
    transition: all 0.5s;
}*/

#date_deb,
#date_fin,
#nb_nuit,
#prix_tot {
    margin: auto;
    width: 150px;
    border: none;
    font-size: 110%;
    text-align: center;
}

#date_sel {
    height: 0px;
    opacity: 0;
    transition: all 0.5s;
}

#nuit_prix_sel {
    height: 0px;
    opacity: 0;
    transition: all 0.5s;
}

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

.form-label {
    display: inline-block;
    width: 100%;
    font-weight: bold;
    font-family: "CormorantGaramond";
    font-size: 20px;
    text-align: center;
    padding: 20px;
}

input[type=text] {
    width: 45%;
    margin: auto;
    display: inline-block;
    border: 2px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    padding: 20px;
    transition: all 0.5s;
}

input[type=text]:focus {
    border: 2px solid rgb(0, 0, 0);
}

input[type=submit] {
    width: 45%;
    background-color: #5DA082;
    color: white;
    margin: auto;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 20px;
    transition: all 0.5s;
    font-size: 14pt;
}

input[type=submit]:hover {
    width: 54%;
}

input:focus {
    outline: none !important;
}

.container-val-form {
    width: 100%;
    display: flex;
    padding: 0 0 25px 0;
}

.container-val-form input {
    margin: auto;
}

#sixth-page-main-container {
    width: 100%;
    height: calc(100vh - 60px);
}

@media screen and (min-device-width: 1281px) {
    .contact-content {
        display: flex;
        position: relative;
        height: 85%;
        width: 55%;
        flex: 1 0 auto;
        right: 5%;
        margin: auto;
        border: solid 0px #5DA082;
        border-radius: 40px 0 0 40px;
        background-color: white;
        z-index: 3001;
        box-shadow: 1px 1px 12px #333;
    }
    #basicMap {
        height: 85%;
        width: 50%;
        flex: 1 0 auto;
        margin: auto;
        border: solid 0px #5DA082;
        border-right: none;
    }
    .form-contact-content #save-contact {
        grid-row: 7;
        grid-column: 1 / 9;
    }
    .form-contact-content #msg {
        grid-row: 2 / 6;
        grid-column: 5/9;
    }
}

@media screen and (min-device-width: 641px) and (max-device-width: 1280px) {
    .contact-content {
        display: flex;
        position: relative;
        height: 95%;
        width: 65%;
        flex: 1 0 auto;
        right: 5%;
        margin: auto;
        border: solid 0px #5DA082;
        border-radius: 40px 0 0 40px;
        background-color: white;
        z-index: 3001;
        box-shadow: 1px 1px 12px #333;
    }
    #basicMap {
        height: 95%;
        width: 40%;
        flex: 1 0 auto;
        margin: auto;
        border: solid 0px #5DA082;
        border-right: none;
    }
    .form-contact-content #save-contact {
        grid-row: 5;
        grid-column: 5 / 10;
    }
    .form-contact-content #msg {
        grid-row: 2 / 5;
        grid-column: 5/9;
    }
}

.main-contact-content {
    display: flex;
    width: 100%;
    height: 87%;
}

.form-contact-content {
    display: grid;
    margin: auto;
    height: 85%;
    width: 85%;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 15px;
}

.form-contact-content input[type=text] {
    width: 90%;
    margin: auto;
    display: inline-block;
    border: 2px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    padding: 20px;
    transition: all 0.5s;
}

.form-contact-content input[type=submit] {
    width: 90%;
}

.form-contact-content input[type=submit]:hover {
    width: 95%;
}

textarea {
    width: 90%;
    height: 100%;
    margin: auto;
    display: inline-block;
    border: 2px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    padding: 20px;
    transition: all 0.5s;
}

#form-contact {
    width: 100%;
    height: 100%;
    display: flex;
}

.form-contact-content .content-title {
    grid-row: 1;
    grid-column: 1 / 5;
    height: 100%;
    width: 100%;
}

.form-contact-content #nom {
    grid-row: 2;
    grid-column: 1 / 5;
}

.form-contact-content #prenom {
    grid-row: 3;
    grid-column: 1 / 5;
}

.form-contact-content #mail {
    grid-row: 4;
    grid-column: 1 / 5;
}

.form-contact-content #tel {
    grid-row: 5;
    grid-column: 1 / 5;
}

.form-contact-content #lib-msg-container {
    grid-row: 1;
    grid-column: 5/9;
    display: flex;
}

.form-contact-content #lib-msg {
    margin: auto;
    font-family: "Baskerville Old Face";
    font-size: 200%;
    display: flex;
    margin: auto;
    color: #0F5323;
    text-align: center;
}

.form-contact-content .info-contact-content {
    border: solid 0px black;
    box-shadow: 1px 1px 12px inset #333;
    border-radius: 15px;
    grid-row: 4 / 6;
    grid-column: 1 / 5;
    margin: 15px;
    padding: 10px;
}

.form-contact-content .title-info-contact {
    width: 100%;
    text-align: center;
}

.main-container {
    /*opacity: 0.35;*/
}

#val-rdv-msg {
    margin: auto;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 450px;
    width: 600px;
    background: white;
    border: solid 0px #5DA082;
    box-shadow: 1px 1px 12px #333;
    border-radius: 20px;
}

#val-contact-msg {
    margin: auto;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 250px;
    width: 600px;
    background: white;
    border: solid 0px #5DA082;
    box-shadow: 1px 1px 12px #333;
    border-radius: 20px;
}

#form-rdv-msg {
    display: none;
}

#val-rdv-msg span {
    font-size: 140%;
    text-align: center;
    margin: auto;
}

#val-contact-msg span {
    font-size: 140%;
    text-align: center;
    margin: auto;
}

textarea:focus {
    outline: none !important;
}

#form-contact-msg {
    display: none;
}


/*footer style*/

footer {
    height: 70px;
    width: 100%;
    background: rgb(50, 50, 50);
}

.footer-content {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(70px, auto);
}

.footer-secteur {
    display: flex;
    ;
    grid-row: 1;
    grid-column: 1;
    margin: auto;
    color: #FFFFFF;
    height: 100%;
}

.footer-secteur>p {
    margin: auto;
}

.footer-contact {
    grid-row: 1;
    grid-column: 2;
    margin: auto;
    color: #FFFFFF;
}

.footer-intra {
    grid-row: 1;
    grid-column: 3;
    margin: auto;
}

#intra-img {
    width: 50px;
    height: 50px;
}


/*slideshow service style*/

.service-slideshow-container {
    display: none;
    max-width: 1000px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.slideshow-container {
    max-width: 1000px;
    margin: auto;
    position: absolute;
}


/* Hide the images by default */

.mySlides {
    display: none;
}


/* Next & previous buttons */

.prev,
.next,
.close {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}


/* Position the "next button" to the right */

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.close {
    right: 0;
    top: 0;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.8)
}


/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover,
.close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Caption text */

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}


/* Number text (1/3 etc) */

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


/* The dots/bullets/indicators */

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}


/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}