/* COMMONS */

*:not(i, .icon) {
    font-family: 'Montserrat', serif !important;
}
body {
    min-width: 450px;
}
html {
    --color-yellow: #ffcd35;
    --color-darkblue: #254051;
    --color-darkerblue: #06203b;
    --color-lightblue: #abdbf3;
    --color-blue: #2e73ff;
    --color-blue-2: #007ac0;
    --color-white: #ffffff;
}
.has-font-roboto {
    font-family: 'Roboto', serif !important;
}
h1, h2, h3, h4, h5, h6, h7 {
    color: var(--color-darkblue);
}
.has-text-grey { /* surcharge de bulma */
    color: #9a9a9a !important;
}
.has-text-darkblue {
    color: var(--color-darkblue);
}
a.has-text-darkblue:hover {
    color: var(--color-yellow);
}
a.anchors {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}
.letter-spaced {
    letter-spacing: 3px;
}
.break-space {
    white-space: break-spaces;
}
@media screen and (max-width: 768px) {
    .container.is-max-desktop {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
.bg-white {
    background-color: var(--color-white);
}
.bg-blue {
   background-color: var(--color-blue);
}
.bg-darkblue {
   background-color: var(--color-darkblue);
}
.bg-yellow{
    background-color: var(--color-yellow);
}
.bg-lightblue {
    background-color: var(--color-lightblue);
}

.container.full {
    max-width: 100% !important;
}
.columns, .tile.is-ancestor {
    margin-left: 0!important;
    margin-right: 0!important;
}

/* BUTTONS */

.button {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border-color: #ffffff;
    color: #082e55;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1.5rem 2rem;
    border-radius: 0;
}
.button:hover {
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
}
.button.is-yellow {
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
    color: var(--color-darkblue);
}
.button.is-yellow:hover {
    background-color: #fff;
    border-color: #fff;
}
.button.is-rounded {
    border-radius: 30px;
    letter-spacing: 3px;
}
.button.is-hover-blue:hover {
    background-color: var(--color-darkblue);
    border-color: var(--color-darkblue);
    color: #fff;
}
.titre {
    background-image: linear-gradient(90deg, #91c6ff 0%, #b1eafc 100%);
    background-image: -moz-linear-gradient(90deg, #91c6ff 0%, #b1eafc 100%);
    background-image: -webkit-linear-gradient(90deg, #91c6ff 0%, #b1eafc 100%);
    background-image: -ms-linear-gradient(90deg, #91c6ff 0%, #b1eafc 100%);
}

/* HEADER */

header .navbar {
    border-bottom: 1px rgba(0, 0, 0, 0.1) solid;
    background-color: #abdbf3;
}
header .navbar .navbar-start {
    margin: 0 auto;
}

.navbar-item img {
    max-height: 30px;
}
header .navbar-item, header .navbar-dropdown.navbar-item {
    text-transform: uppercase;
    color: var(--color-darkblue);
    font-size: 0.85rem;
}
header .navbar-item:hover, header .navbar-item:focus {
    background-color: transparent;
    color: var(--color-darkblue);
    font-weight: 700;
}
header .navbar-item.has-dropdown:hover .navbar-link {
    background-color: transparent;
}
header .navbar-menu.is-active {
    background-color: transparent;
}
header .navbar-menu.is-active > div {
    background-color: rgba(255,255,255, 0.3);
}
header .navbar-link:not(.is-arrowless)::after {
    border-color: var(--color-darkblue);
}

@media screen and (min-width: 1024px) {
    .navbar-dropdown a.navbar-item {
        padding: 0.5rem 1.5rem !important;
    }
    header .navbar-item.is-hoverable:hover .navbar-dropdown {
        background-color: var(--color-lightblue);
        border-top: 0;
    }
    header .navbar-dropdown a.navbar-item:hover, header .navbar-dropdown a.navbar-item:focus {
        background-color: rgba(255,255,255, 0.2)
    }
}
@media screen and (max-width: 768px) {
    header a.navbar-item:hover, header a.navbar-item:focus {
        background-color: rgba(255,255,255, 0.2);
    }
}

/* FOOTER */

footer.footer {
    background-color: var(--color-darkblue) !important;
    text-transform: uppercase;
    padding: 0;
}
footer .footer-links {
    padding: 3rem;
}
.partenaires img {
    max-width: 100px;
}
footer a {
    color: #ffffff;
    font-size: 0.8rem;
}

footer a:hover {
    color: var(--color-yellow);
}

footer .column ul {
    list-style: none;
    margin-left: 0;
}

footer .brand {
    max-width: 200px;
}

/* ACCUEIL */

.accueil header .navbar {
    background-color: #abdbf2;
}
.accueil .img-background {
    background-image: url('../images/accueil_bg.jpg');
    background-color: #abdbf2;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}
.accueil .service .pmr {
    width: fit-content;
    margin: 0 auto;
}
.cadence {
    width: fit-content;
    margin: 0 auto;
}
.accueil .hotels img {
    width: 100%;
    height: 100%;
 }
.accueil .hotels .tile.is-vertical>.tile.is-child:not(:last-child) {
    margin-bottom: 0.5rem!important;
}
.accueil .tile.is-ancestor:not(:last-child) {
    margin-bottom: 0.25rem;
}
.accueil .hotels .tile.is-parent {
    padding: 0.25rem;
}
.accueil .hotels .button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    white-space: normal;
    line-height: 1rem;
    font-size: 0.9rem;
}
.accueil .reclamation {
    background-color: #afcb08;
}
@media screen and (max-width: 768px) {
    .accueil .img-background {
        background-image: url('../images/accueil_bg_768.jpg');
        background-size: contain;
    }
    .accueil .hero-body {
        padding-bottom: 7rem;
    }
    .accueil .cta .button {
        margin-bottom: 0.75rem !important;
        font-size: 0.75rem;
    }
    .accueil .hero-body .is-size-1 {
        padding-bottom: 0 !important;
    }
    .accueil .hotels .tile.is-6-mobile .is-child{
        width: 50%;
        height: fit-content;
        margin-bottom: 0 !important;
    }
    .accueil .hotels .tile.is-6-mobile{
        flex-direction: row;
    }
    .accueil .hotels .tile.is-parent{
        display: flex;
    }
    .accueil .hotels .tile.is-6-mobile .is-child:first-child{
        padding-right: 0.1rem;
    }
    .accueil .hotels .tile.is-6-mobile .is-child:last-child{
        padding-left: 0.1rem;
    }
    .accueil .hotels .tile.is-6-mobile .is-child .button{
        font-size: 0.6rem;
        letter-spacing: 3px;
        white-space: normal;
        width: 80%;
    }
    .accueil .hotels .tile.is-parent{
        padding: 0.1rem 0;
    }
    .accueil .hotels .tile.is-vertical>.tile.is-child:not(:last-child) {
        margin-bottom: 0 !important;
    }
    .accueil .hotels img {
        height: auto;
    }
    .accueil .avertissement {
        padding-bottom: 0 !important;
    }
    .accueil .reclamation {
        margin-bottom: 4rem !important;
    }
}
@media screen and (min-width: 769px) {
    .hero.is-medium .hero-body {
        padding: 3rem 5rem 20rem 5rem;
    }
}

/* LE GROUPE */
.groupe .image-container {
    overflow: hidden;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 1024px) {
    .groupe .container .tile {
        flex-direction: column;
    }
    .groupe .container .reverse-flex-direction {
        flex-direction: column-reverse;
    }
    .groupe .image-container {
        align-items: center;
        justify-content: center;
    }
}

/* CONTACT */
.contact .choix .button {
    width: 100%;
    font-size: 0.8rem;
}

input[type="checkbox"] {
    min-width: 15px;
}

.contact form input[type="radio"] {
    display: none;
}

.contact form input[type="radio"]:checked + label {
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
}

/* NOS NAVETTES */
.nos-navettes .pmr {
    width: fit-content;
    margin: 0 auto;
}
.nos-navettes .suivi {
    background-color: #afcb08;
}
.nos-navettes .image-container {
    overflow: hidden;
}
@media screen and (max-width: 1024px) {
    .nos-navettes .container .tile {
        flex-direction: column;
    }

    .nos-navettes .container .reverse-flex-direction {
        flex-direction: column-reverse;
    }

    .nos-navettes .image-container {
        aspect-ratio: 2/1;
    }

    .nos-navettes .suivi {
        margin-top: 3rem;
    }
}

.img-tarifs {
    min-width: 108%;
    vertical-align: text-top;
}

.div-img-tarifs {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SUIVI TEMPS REEL */
.suivi .map {
    height: 30rem;
}
.suivi .hotels .column:first-child {
    /*padding-left: 0 !important;*/
}
.suivi .hotels .column:last-child {
    /*padding-right: 0 !important;*/
}
.suivi .hotels .box {
    padding: 0 !important;
}
.suivi .hotels .bg {
    position: relative;
}
.suivi .hotels .bg .bg-logo {
    background-color: white;
    width: 100%;
    height: 100%;
    clip-path: circle(35% at center);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.suivi .hotels .bg .logo {
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 50%;
    transform: translateY(50%);
    width: 40%;
}
.suivi .hotels .bg > img:first-child {
    width: 100%;
}
.suivi .hotels .block {
    padding: 1.5rem;
}
.suivi .hotels .button {
    font-size: 0.75rem;
}
.suivi .hotels h3 {
    color: var(--color-blue-2) !important;
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .suivi .hotels .wrapper > .column {
        padding: 1rem !important;
    }
}
@media screen and (max-width: 1023px) {
    .suivi .hotels .wrapper > .column {
        display: flex;
        flex-direction: column-reverse;
    }
    .suivi .hotels .column.is-offset-3-mobile {
        padding-top: 0.5rem;
    }
    .suivi .hotels .button {
        font-size: 0.5rem;
        width: 100%;
        white-space: normal;
    }
    .suivi .hotels .block {
        padding: 0.5rem 0.5rem 1rem 0.5rem !important;
    }
    .suivi .hotels .py-4 {
        padding-bottom: 0.5rem !important;
        padding-top: 0.5rem !important;
    }
}

/* PROCHAINS PASSAGES */
.prochains-passages .tab {
    border: 1px solid var(--color-darkblue);
}
.prochains-passages .horaires {
    border-top: 1px solid var(--color-darkblue);
}
.prochains-passages #prochainPassage {
    color: #afcb08;
    font-size: 5rem;
}
.prochains-passages .bg img:first-child {
    width: 100%;
}
.prochains-passages .bg .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 40%;
}
.prochains-passages .bg-white {
    background-color: white;
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    clip-path: circle(32% at center);
}

/* 404 */
.not-found header .navbar {
    background-color: #b1eafc;
}
.not-found .hero {
    background-image: linear-gradient(90deg, #91c5ff 0%, #b1eafc 100%);
    background-image: -moz-linear-gradient(90deg, #91c5ff 0%, #b1eafc 100%);
    background-image: -webkit-linear-gradient(90deg, #91c5ff 0%, #b1eafc 100%);
    background-image: -ms-linear-gradient(90deg, #91c5ff 0%, #b1eafc 100%);
}

/* MENTIONS LEGALES*/
.mentions-legales header .navbar {
    background-color: #b1eafc;
}
.mentions-legales p {
    padding: 1rem 0;
}
.mentions-legales h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-top: 2rem;
    font-weight: 400;
}
