@font-face {
    font-family: roboto;
    src: url("font/Roboto/Roboto-Regular-uZYOAUi.ttf");
}

* {
    box-sizing: border-box;
    font-family: roboto;
}

body {
    overflow-x: hidden;
}

.w-100 {
    width: 100%;
}

.parallax-container {
    height: calc(9*100vh/16);
}

.page-footer {
    background-color: #0088e9;
}

.brand-logo img {
    height: 64px;
}

.sidenav .brand:hover {
    background-color: transparent;
}

.title-small {
    padding: 1rem;
}

.title-row {
    display: flex;
    align-items: center;
}

.title {
    font-variant: small-caps;
    margin: 1rem;
}

.title-decoration {
    height: 0.5rem;
    background-color: #63b7ff;
}

.text-special-blue {
    color: #63b7ff;
}

.special-blue {
    background-color: #63b7ff;
}

.rapid-access {
    background-color: #63b7ff;
    transition: all ease 0.7s;
    height: 150px;
}

.rapid-access a {
    display: flex;
    height: 100%;
    width: 100%;
    transition: all ease 0.7s;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.rapid-access:hover {
    background-color: #fff;
}

.rapid-access:hover a {
    color: #63b7ff !important;
}

.text-center {
    text-align: center;
}

.btn:focus,
.btn-large:focus,
.btn-small:focus,
.btn-floating:focus {
    background-color: #1d7d74
}

.btn,
.btn-large,
.btn-small {
    text-decoration: none;
    color: #fff;
    background-color: #0088e9;
    text-align: center;
    letter-spacing: .5px;
    -webkit-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out;
    cursor: pointer
}

.btn:hover,
.btn-large:hover,
.btn-small:hover {
    background-color: #63b7ff
}

.alert {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius)
}

.alert-heading {
    color: inherit
}

.alert-link {
    font-weight: 500
}

.alert-dismissible {
    padding-right: 3.8125rem
}

.alert-dismissible .close {
    position: absolute;
    top: calc(50% - 1.25em);
    right: 0;
    z-index: 2;
    color: inherit
}

.alert-primary {
    color: #323c6d;
    background-color: #dfe3f6;
    border-color: #d3d8f2
}

.alert-primary hr {
    border-top-color: #bfc7ec
}

.alert-primary .alert-link {
    color: #22294a
}

.alert-secondary {
    color: #76787b;
    background-color: #f9fafb;
    border-color: #f7f8fa
}

.alert-secondary hr {
    border-top-color: #e7eaf0
}

.alert-secondary .alert-link {
    color: #5d5f61
}

.alert-success {
    color: #10553b;
    background-color: #d2ede3;
    border-color: #c0e5d7
}

.alert-success hr {
    border-top-color: #aedecc
}

.alert-success .alert-link {
    color: #082a1d
}

.alert-info {
    color: #033f5f;
    background-color: #cde4f1;
    border-color: #b9d9eb
}

.alert-info hr {
    border-top-color: #a5cee5
}

.alert-info .alert-link {
    color: #011e2e
}

.alert-warning {
    color: #713e0c;
    background-color: #f7e4d1;
    border-color: #f4d9be
}

.alert-warning hr {
    border-top-color: #f0cca8
}

.alert-warning .alert-link {
    color: #432507
}

.alert-danger {
    color: #6b1f33;
    background-color: #f5d8e0;
    border-color: #f1c9d3
}

.alert-danger hr {
    border-top-color: #ecb5c3
}

.alert-danger .alert-link {
    color: #431420
}

.alert-light {
    color: #818182;
    background-color: #fefefe;
    border-color: #fdfdfe
}

.alert-light hr {
    border-top-color: #ececf6
}

.alert-light .alert-link {
    color: #686868
}

.alert-dark {
    color: #1b1e21;
    background-color: #d6d8d9;
    border-color: #c6c8ca
}

.alert-dark hr {
    border-top-color: #b9bbbe
}

.alert-dark .alert-link {
    color: #040505
}

#contactMap {
    height: 25rem;
    z-index: 0;
}

.sendresetdemand {
    margin: 20vh 0;
}

.label {
    height: 150px;
}

.label img {
    max-height: 100%;
}

.plan-interactif {
    height: 75vh;
}

@media (max-width: 600px) {
    .brand-logo img {
        height: 56px;
    }
}

@media (orientation: portrait) and (max-width: 600px) {
    .parallax-container {
        height: calc(9*50vh/16);
    }
}

.footer-contact .row {
    margin-bottom: 0;
}

.footer-contact a {
    display: flex;
}

.footer-contact p {
    margin: 0;
    padding: 0.5rem 0;
}

.horaire-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/*Alertes*/

.alert {
    position: fixed;
    top: 2rem;
    left: 12.5%;
    width: 75%;
    z-index: 10000;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}


/* The close button */

.closebtn {
    margin-left: 15px;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}


/* When moving the mouse over the close button */

.closebtn:hover {
    color: white;
}


/*Calendrier*/

.agenda {
    padding: 2px;
    background: #1b87cb;
    box-shadow: 0px 3px 8.3px 0.7px #63b7ff;
    border-radius: 4px;
}

.month {
    padding: 70px 25px;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    background-color: transparent;
}

.month svg {
    fill: #fff;
    transition: 0.6s ease;
}

.month ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    list-style: none;
}

.month ul li {
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.month #month_next,
.month #month_prev {
    cursor: pointer;
    padding: 1em;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.month #month_next {
    border-radius: 0 5px 5px 0;
}

.month #month_prev {
    border-radius: 5px 0 0 5px;
}

.month #month_next:hover,
.month #month_prev:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.month #month_next:hover svg {
    fill: #1b87cb;
}

.month #month_prev:hover svg {
    fill: #1b87cb;
}

.month #month_name {
    font-size: 2.25rem;
}

.month #year {
    font-size: 1rem;
}

.weekdays {
    margin: 0;
    padding: 10px 0;
    background-color: #ddd;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.weekdays li {
    display: inline-block;
    width: 13.6%;
    color: #666;
    text-align: center;
}

.days {
    padding: 10px 0;
    background-color: #FFF;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    border-radius: 0 0 4px 4px;
}

.days li {
    list-style-type: none;
    display: inline-block;
    width: 13.6%;
    text-align: center;
    margin-bottom: 5px;
    padding: 5px;
    font-size: 1rem;
    color: #777;
    border: 1px solid #fff;
}

.days li.event {
    background: #9be9ff;
    cursor: pointer;
    position: relative;
    /*Important pour l'effet tooltip*/
}

.days li .eventcontent {
    position: absolute;
    top: 125%;
    left: 0;
    width: 100%;
    height: 0;
    opacity: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: .5s ease;
    z-index: -1;
    border-radius: 4px;
    border: solid 1px #1b87cb;
}

.days li .eventcontent h3 {
    color: #1b87cb;
    font-weight: bold;
    font-size: 1.25em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.days li .eventcontent button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.days li .eventcontent p {
    color: #1b87cb;
}

.days li:hover .eventcontent::after {
    content: ' ';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #1b87cb transparent;
}

.days li:hover .eventcontent {
    animation-name: displayEvent;
    animation-duration: 0.9s;
    padding: 1rem;
    height: auto;
    width: 200%;
    transform: translateX(-25%);
    opacity: 1;
    z-index: 1039;
}

@keyframes displayEvent {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: auto;
        opacity: 1;
    }
}

.days li.active {
    padding: 5px;
    border-color: #1b87cb;
}

.days li.active.event {
    padding: 5px;
    border-color: #1b87cb;
    background: #9be9ff;
}

.mh-100 {
    max-height: 100%;
}

.p-2 {
    padding: 0.5rem;
}


/* Add media queries for smaller screens */

@media screen and (max-width:720px) {
    .weekdays li,
    .days li {
        width: 13.1%;
    }
}


/*
@media screen and (max-width: 420px) {
    .weekdays li,
    .days li {
        width: 12.5%;
    }
    .days li .active {
        padding: 2px;
    }
}

@media screen and (max-width: 290px) {
    .weekdays li,
    .days li {
        width: 12.2%;
    }
}
*/


/*Fin calendrier*/

@media (min-width: 1921px) {
    .container {
        max-width: 60%;
    }
    html {
        font-size: 25px;
    }
    .btn,
    .btn-large,
    .btn-small,
    .btn-floating,
    .btn-large,
    .btn-small,
    .btn-flat {
        font-size: 23px;
        height: 46px;
        line-height: 46px;
        border-radius: 4px;
    }
    /*
    .nav-link {
        font-size: 38px !important;
    }
    .card .card-image {
        height: 400px;
    }
    */
}
