/**
 * @file
 * Subtheme specific CSS.
 */
.item-list ul li {
    list-style: disc;
}
/**
 * Navbar Brand
 */
.navbar-brand img {
    width: 120px;
    max-width: 120px;
}
/**
 * Region Logo
 */
.region-logo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    padding-top: 1rem;
    padding-bottom: 1rem;
}
.site-name a {
    font-size: 1.5rem;
    color: #289400;
    font-weight: bold;
}
.site-name a {
    text-decoration: none;
}
.site-name-slogan {
    font-size: 1.5rem;
}
/**
 * Main Navigation
 */
 #navbar-main {
    padding-top: 0;
    padding-bottom: 0;
 }

.top-menu a.sf-depth-1,
.top-menu a.sf-depth-1:visited,
.top-menu a.sf-depth-1:focus {
    color: white;
    text-decoration: none;
}
.top-menu a.sf-depth-1:hover,
.top-menu a.sf-depth-1:focus,
.top-menu a.sf-depth-1.is-active {
    color:white; 
    background-color: #78c2ad;
}
ul.sf-menu span.nolink {
    color: white;
}
ul.sf-menu .sf-sub-indicator:after {
    left : 4px;
}
/** Submenu **/
.top-menu ul {
    background-color: #1d84c3;
}
.top-menu ul a,
.top-menu ul a:visited {
    color: white;
    text-decoration: nonde;
}
.top-menu ul a:hover,
.top-menu ul a:focus {
    background-color: #78c2ad;
}
/**
 * Breadcrumb
 */
.block-system-breadcrumb-block {
    margin-top: 0.5rem;
}
/**
 * Jumbotron
 */
.region-jumbotron {
    position: relative;
    height: 450px;
    overflow: hidden;
}
.region-jumbotron .block-content-basic,
.region-jumbotron .content,
.region-jumbotron .field--name-body {
    height: 100%;
}
.front-hero-image {
    position: relative;
    z-index: 1;
}
.front-hero-image > img {
    position: absolute;
    width: 100%;
    height: auto;
    min-width: fit-content;
    width: fit-content;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.overlay {
    position:absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.6;
    z-index: 2;
}
.front-hero-txt {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 3;
}
.front-hero-txt h1 {
    color: white;
    font-size:4rem;
    line-height: 0.6;
}
.front-hero-txt h1 small {
    font-size: 1.875rem;
}

@media only screen and (max-width: 768px){
    .region-jumbotron {
        height: 33vh;
    }
    .front-hero-txt h1 {
        font-size: calc(1.375rem + 1.5vw);
        line-height: 1;
    }
    .front-hero-txt h1 small {
        font-size: 0.875em;
    }
}
/* Views : Bootstrap carousel
*/

.carousel.slide .carousel-inner,
.carousel.slide .carousel-inner .carousel-item {
    height: 450px;
    overflow: hidden;
}

.carousel.slide .carousel-item img {
    position: absolute;
    width: 100%;
    height: auto;
    margin: 0 auto;
    top:0;
    left:0;
}

.frontpage-jumbotron .slick {
    height: 450px;
}
.slick img {
    width: 100%;
    height: auto;
}

.slick img.blurred {
    filter: blur(5px);
    -webkit-filter: blur(5px);
}
.slick-prev.slick-arrow {
    margin-left: 20px;
}
.slick-next.slick-arrow {
    margin-right: 20px;
}

/**
 * FORM
 * Placeholder
 */
.form-control::placeholder {
    color: #CECECE!important;
}
.form-control::-moz-placeholder {
    color: #CECECE!important;
}
.form-control::-ms-input-placeholder {
    color: #CECECE!important;
}
.form-control:-ms-input-placeholder {
    color: #CECECE!important;
}

/**
 * CTA
 */
.cta {
    color: black;
    background-color: #efefef;
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.cta .cta-contenu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

@media only screen and (max-width: 768px){
    .cta .cta-contenu {
        flex-direction: column;
    }
    
}
.cta .cta-contenu .cta-left,
.cta .cta-contenu .cta-right {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

/**
 * Main-Wrapper
 */
.layout-main-wrapper{
    margin-bottom: 4rem;
}
/**
 * Documents Télechargeables
 */
.view-documents-telechargeables table {
    caption-side: top;
}
.view-documents-telechargeables table caption {
    font-size: 1.75rem;
}
/**
 * ASIDE
 */
/** SNML MENU **/
aside nav.menu--snml ul.nav {
    list-style: disc;
}
aside nav.menu--snml li.nav-item {
    display: block;
    width: 100%;
}
aside nav.menu--snml li.menu-item--active-trail {
    background-color: #78C2AD;
}
aside nav.menu--snml li.menu-item--active-trail a.nav-link{
    color: white;
}

/**
 * Footer
 */
.site-footer .block {
    border: none;
}
/** Footer Menu **/
.site-footer__top .block-menu, .site-footer__bottom .block {
    margin: 20px 0;
    padding: 10px;
}
.site-footer nav.menu--footer-menu .nav-item {
    width: 100%;
}
/*
 * BTN BLINKING
 */
#btn-blinking {
    transition: all 0.5s ease-out;
}