/* Import des polices Montserrat (titres) & Permanent Marker & Roboto (contenu) */

@import url('https://fonts.googleapis.com/css?family=Permanent+Marker:800|Permanent+Marker|Roboto');
@font-face {
    font-family: Circular;
    src: url(../CircularStd-Black.woff) format("woff");
    font-style: normal;
    font-weight: 800
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.text-important {
    color: black;
    font-size: 20px;
    text-align: center!important;
}

.permanent-marker {
    font-family: 'Permanent Marker', fantasy!important;
}

.absolute-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
}

.container {
    box-sizing: border-box;
    padding: 20px;
}

#notifications {
    position: fixed;
    width: 100%;
    height: 100%;
    bottom: 0;
    padding: 5px 20%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 4;
}

@media only screen and (max-width: 1000px) {
    #notifications {
    padding: 5px 5%;
}
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

* {
    background-position: center;
    background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /*font-family: 'Permanent Marker', cursive!important;*/
    font-family: 'Circular', sans-serif!important;
    font-weight: bold!important;
    text-align: left;
}

hr {
    margin: 35px 0px;
}

.link {
    color: #6583a5;
    text-decoration: none;
}

.link:hover {
    font-weight: bold;
}

a {
    text-decoration: underline;
    color: inherit;
}

i.fas,
i.fa {
    margin-right: 6px;
}

i.fas.no-margin,
i.fa.no-margin {
    margin-right: 0px;
}

label {
    display: block;
}

input+label.error {
    color: blue;
}

main {
    height: 100vh;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    transform: translateY();
    -moz-transform: translateY(-5px);
}

@supports (-ms-ime-align:auto) {
    .selector {
        transform: translateY(-5px);
    }
}

.section {
    top: 45px;
    left: 25px;
    width: calc(100% - 50px)!important;
    height: calc(100% - 70px)!important;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-background {
    position: absolute;
    width: calc(100% + 50px)!important;
    height: calc(100% + 70px)!important;
    margin-top: -20px;
}

.section .scroller {
    width: 100%;
    height: 100%;
    transition-duration: 0.9s;
    transition-timing-function: cubic-bezier(0.6, 0.33, 0.26, 0.97);
}

.scroller-delay-0 {
    transition-delay: 0s;
}

.scroller-delay-1 {
    transition-delay: .15s;
}

.scroller-delay-2 {
    transition-delay: .3s;
}

.scroller-delay-3 {
    transition-delay: .45s;
}

.scroller-delay-4 {
    transition-delay: .6s;
}

.scroller-delay-5 {
    transition-delay: .75s;
}

@media only screen and (max-width: 1000px) {
    .scroller-delay-1 {
        transition-delay: 0s!important;
    }
    .scroller-delay-2 {
        transition-delay: 0s!important;
    }
    .scroller-delay-0 {
        transition-delay: 0s!important;
    }
    .scroller-delay-3 {
        transition-delay: 0s!important;
    }
    .scroller-delay-4 {
        transition-delay: 0s!important;
    }
    .scroller-delay-5 {
        transition-delay: 0s!important;
    }
}

.section:nth-child(1) .scroller {
    transform: translateY(0vh);
    z-index: 2;
}

.section-container {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    display: flex;
    overflow: hidden;
}

.section-title,
.section-content-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    flex: 2;
    font-size: 3vh;
    text-align: center;
    background-color: lightgrey;
    padding: 10px;
    box-sizing: border-box;
}

.section-title h1 {
    padding: 20px;
    text-align: center;
}

.section-content {
    flex: 6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.section-content-carousel {
    width: 100%;
    height: 100%;
    display: flex;
    transition-duration: 1s;
}

.carousel-goto {
    cursor: pointer;
}

.section-content-carousel-overflow {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section-content-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
    position: relative;
    scroll-behavior: smooth;
}

.section-content-vertical-scrolling {
    width: 100%;
    height: 100%;
}

.vertical-scrolling-banniere {
    height: 30vh;
}

.section-content-text {
    width: 100%;
    padding: 30px 20% 100px 20%!important;
    box-sizing: border-box;
    margin: auto;
}

.section-content-text p {
    text-align: justify;
}

.four-panels {
    width: 50%;
    height: 50%;
}

.four-panels h1 {
    font-size: 4vh;
}

@media only screen and (max-width: 1000px) {
    .section {
        top: 0px;
        left: 0px;
        width: 100%!important;
        height: 100%!important;
		overflow: hidden;
    }
    .section-background {
        width: 100%!important;
        height: 100%!important;
        margin-top: 0px!important;
    }
    .section-container {
        flex-direction: column;
        border-radius: 0px;
    }
    .section-title {
        flex: 0.6;
        font-size: 25px;
        text-align: center;
        justify-content: start;
        padding-left: 6vw;
    }
    .section-title h1 {
        padding: 0px;
        margin: 0px;
        font-size: 25px;
    }
    .section-content .four-panels {
        width: 100%;
        height: 25%;
    }
    .section-content-text {
        padding: 30px 10%!important;
    }
    main {
        box-shadow: 0px 0px 0px black inset;
    }
    .scroller-delay-2 {
        transition-delay: .15s;
    }
}

.article {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid black;
}

.article-carousel {
    margin: 2.5rem 0;
    height: auto;
}

.article-carousel-full-width {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: auto;
    left: -25%;
    padding: 0 25%;
}

@media only screen and (max-width: 1000px) {
    .article-carousel-full-width {
        width: 90%;
        left: -12.5%;
        padding: 0 17.5%;
    }
    .article-carousel-goto-next {
        left: 75%!important;
    }
    .article-carousel-goto-previous {
        left: 0!important;
    }
}

.article-carousel-scroll {
    display: flex;
    width: 100%;
    left: 0;
    height: auto;
    margin-left: 0%;
    transition-duration: .5s;
}

.article-carousel-element {
    margin: 0 1rem;
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.article-carousel-element-image {
    width: 100%;
    height: 35vh;
    background-color: gainsboro;
    cursor: pointer;
}

.article-carousel-element-comment {
    text-align: center;
    padding: 1rem 1rem 0 1rem;
    color: grey;
    transition-duration: .4s;
    font-style: italic;
}

.article-carousel-goto {
    position: absolute;
    width: 25%;
    height: 100%;
    top: 0;
    font-size: 4vh;
    border-radius: 5px;
}

.article-carousel-goto-next {
    left: calc(75% + 1rem);
}

.article-carousel-goto-previous {
    left: -1rem;
}


/*@media only screen and (max-width: 500px) {
    main{
        overflow: auto;
    }
    .section {
        top: 0px;
        left: 0px;
        width: 100%!important;
        height: 100%!important;
        position: relative;
    }
    .section-background {
        width: 100%!important;
        height: 100%!important;
    }

    .section-container {
        border-radius: 0px;
    }
    #notifications {
        padding: 15px 15px;
    }
    .section .scroller {
        transform: translateY(0vh);
        transition-duration: 0.9s;
        transition-timing-function: cubic-bezier(0.6, 0.33, 0.26, 0.97);
    }
}*/

#waiting {
    position: absolute;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#waiting img {
    width: 15vw;
    margin-bottom: 2vh;
}

@media only screen and (max-width: 1000px) {
    #waiting img {
        width: 225px;
    }
    #waitingProgress {
        width: 225px!important;
    }
}

.waitingSpinner {
    animation-name: waitingSpinner;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

#waitingProgress {
    width: 15vw;
    height: 3px;
    background-color: rgb(212, 212, 212);
    position: relative;
}

#waitingProgressBar {
    height: 3px;
    width: 0%;
    position: absolute;
    background-color: rgb(61, 156, 208);
    transition-duration: .2s;
}

@keyframes waitingSpinner {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(30deg);
    }
    30% {
        transform: rotate(20deg);
    }
    40% {
        transform: rotate(35deg);
    }
    70% {
        transform: rotate(240deg);
    }
    80% {
        transform: rotate(250deg);
    }
    90% {
        transform: rotate(240deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.calendar-daystatus {
    cursor: default!important;
    border-radius: 0px;
}

#calendar-reserved {
    background-color: #e85141;
    color: white;
}
#calendar-today {
    background-color: #4c458f;
    color: white;
}
#calendar-available {
    background-color: #dddddd;
    color: black;
}