html,body{
    background-color: #f5f5f5;
    font-family: 'Raleway', sans-serif;
}

header{
    font-family: 'Playfair Display', serif;
}

header, footer{
    background-color: white;
}

a{
    color: #116636;
}

a:hover{
    color: #116636;
}

@media (min-width: 576px) {
    p, a, li, figcaption, .btn-inscription{
        font-size: initial;
    }
    .menu-sub a, .menu-sub li{
        font-size: 1.5rem;
    }
    .devise{
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    p,a, li, figcaption, .btn-inscription{
        font-size: 14pt;
    }
    .devise{
        font-size: 4rem;
    }
    .carousel-caption{
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    p,a, li, figcaption, .btn-inscription{
        font-size: 18pt;
    }
    .devise{
        font-size: 3rem;
    }
    .carousel-caption{
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    p,a, li, figcaption, .btn-inscription{
        font-size: 20pt;
    }
    .devise{
        font-size: 5rem;
    }
    .carousel-caption{
        font-size: 3rem;
    }
}

p,a, li{
    line-height: 1.3em;
}

footer p{
    font-size: initial;
}

h1, h2, h3{
    font-weight: bold;
}

.menu-sub h3 > a{
    font-size: 1.75rem;
}

.devise{
    line-height: 1em;
    font-weight: normal;
    font-family: 'Playfair Display', serif;
}

.name{
    text-transform: uppercase;
    text-align: justify;
}

#carousel-header.carousel .carousel-item img {
    /*max-height: 700px;*/
    min-width: auto;
}

.carousel-item{
    transition: transform 2s ease, opacity 2s ease-out !important;
}

#carousel-header .carousel-caption{
    text-transform: uppercase;
    bottom:50%;
    font-weight: bold;
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234C4C4C' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234C4C4C' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-control-prev-icon, .carousel-control-next-icon{
     width: 50px;
    height: 50px;
}

.btn-inscription{
    border-radius: 0;
    font-weight: bold;
    background-color: #00C979;
    border-color: #00C979;
}

.alert-success{
    background-color: #00C979;
    border-color: #00C979;
    border-radius: 0;
    font-size: 16pt;
}
figcaption{
    color: black;
}

#map{
    height: 800px
}

@media screen and (max-width: 767px){
    #map{
        height: 400px;
    }
}

/**MENU*/

header .navbar-menu{
    position: relative;
}


.navigation-container {
    max-width: 1000px;
    margin: 0 auto;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

nav a {
    text-decoration: none;
    color:black;
    display: block;
    padding: .75em 1.75em;
}

.collapse.show, .collapsing{
    position: absolute !important;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%);
}

#navbarToggleExternalContent{
    width: 75%;
}

.menu-sub [class*="col-"]:not(:last-of-type) {
    border-right: 1px solid rgba(0,0,0,.1);
}

@media (max-width: 768px) {
    #navbarToggleExternalContent{
        width: 100%;
    }
    .collapse.show, .collapsing{
        transform: initial;
        left: 0;
    }

    .menu-sub [class*="col-"]{
        padding: 2em 2em 0 2em;
    }
    .menu-sub .row > div:first-child{
        padding: 2em 2em 0 2em;
    }

    .menu-sub .row > div:last-child{
        padding: 2em;
    }

    .menu-sub [class*="col-"]:not(:last-of-type) {
        padding: 2em 2em 0 2em;
        border-right: none;
    }
}


.menu-sub li {
    display: block;
}

.menu-sub a {
    padding: 0;
    margin-bottom: .35em;
}

.menu-sub a:hover {
    text-decoration: underline;
    color: darkgray;
}


#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 0px;
}

.modal-content{
    border-radius: 0;
}