@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
}

body.public {
    overflow-x: hidden;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

[x-cloak] {
    display: none;
}

a:not(.button):hover {
    text-decoration: underline;
}

.main-container {
    flex: 1;
}

.public label {
    @apply text-darkgray font-bold inline-block;
}

.grand-hotel {
    font-family: "Grand Hotel", cursive;
}

.appointment-button {
    position: relative;
}

.appointment-button.is-virtual::after {
    content: "";
    @apply absolute block border-white border-2 rounded-full w-4 h-4 -top-1 -right-1 bg-niceblue;
}

/* Logo J2L Concept */
.logo-j2lconcept {
    display: inline-block;
    position: relative;
    width: 42px;
    height: 32px;
}

.logo-j2lconcept .opened {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.logo-j2lconcept .closed {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.logo-j2lconcept:hover {
    width: 110px;
}

.logo-j2lconcept:hover .opened {
    display: block;
}

.logo-j2lconcept:hover .closed {
    display: none;
}

/* NAVIGATION */
.page-nav {
    background: url("/images/ban_mobile.jpg") no-repeat center center;
    background-size: cover;
}

@media only screen and (min-width: 768px) {
    .page-nav {
        background: url("/images/ban_desktop.jpg") no-repeat center center;
        background-size: cover;
    }
}

/* INDEX */
.presentation:before,
.presentation:after {
    content: "";
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
    width: 40px;
    height: 30px;
}

.presentation:before {
    background-image: url("/images/icons/quote_ouverture.svg");
    left: 0;
    top: 0;
}

.presentation:after {
    background-image: url("/images/icons/quote_fermeture.svg");
    right: 0;
    bottom: 0;
}

.communaute-slide {
    text-align: center;
    overflow: hidden;
}

.communaute-slider {
}

.communaute-slide_image {
    display: inline-block;
    border-radius: 0.5rem;
}

.tns-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.tns-nav button {
    width: 15px;
    height: 15px;
    background-color: #d8d8d8;
    transition: all 100ms linear;
    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    border-radius: 99px;
}

.tns-nav button:not(:last-child) {
    margin-right: 0.4rem;
}

.tns-nav button.tns-nav-active {
    background-color: #86848d;
}

@media only screen and (min-height: 700px) {
    main.index {
        height: auto !important;
    }

    .index-booking-btn {
        display: inline-block !important;
    }

    .bottom-booking-btn {
        display: none !important;
    }
}
