/*
Theme Name: Batifranc
Template: wp-bootstrap-starter
*/

header#masthead{
    background-color: white;
    padding: 0;
}

@media (min-width: 1330px){
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1330px;
    }
}
@media screen and (min-width: 1px) and (max-width: 1329px){
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: calc(100vw);
    }
}

/************************* Menu ***************************/
ul#menu-principal{
    width: 100%;
    justify-content: space-between;
    margin-right: 45px;
}
body:not(.theme-preset-active) #masthead .navbar-nav >  li >  a{
    text-align: center;
    line-height: 1.2;
    padding-top: 19px;
}
body:not(.theme-preset-active) #masthead .navbar-nav  li  a{
    color: #565656;
    font-family: 'Roboto';
    font-size: 16px;
}
#masthead .navbar-nav li:hover ul.dropdown-menu{
    display: block;
}
#masthead .navbar-nav li a.dropdown-toggle::after{
    display: none;
}
#masthead .navbar-nav > li#menu-item-35 > a, #masthead .navbar-nav > li#menu-item-36 > a{
    padding-top: 10px;
}
body:not(.theme-preset-active) #masthead .navbar-nav  li  a:hover, body:not(.theme-preset-active) #masthead .navbar-nav  li.current_page_item  a{
    color: #565656;
    font-weight: bold;
}
#masthead .navbar-nav li ul.dropdown-menu{
    margin-top: 0;
}
#masthead .navbar-nav li ul.dropdown-menu .dropdown-item{
    white-space: nowrap;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover, body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a{
    border-top: 5px solid #0064b3;
    padding-top: 14px;
}
#masthead .navbar-nav > li#menu-item-35 > a:hover, body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-35.current_page_item > a{
    padding-top: 5px;
}
#masthead .navbar-nav > li#menu-item-36 > a:hover, body:not(.theme-preset-active) #masthead .navbar-nav > li#menu-item-36.current_page_item > a{
    padding-top: 5px;
}
/*************************%Menu%***************************/


/********************* Search Form ************************/
form.search-form{
    border: 1px solid;
}
form.search-form label{
    margin-bottom: 0;
}
form.search-form .search-field{
    border: none;
    padding-top: 0;
    padding-bottom: 0;
    height: 33px;
    width: 265px;
}
form.search-form .search-submit{
    background-image: url('img/loupe.png');
    width: 24px;
    height: 29px;
    background-repeat: no-repeat;
    /* padding: 0; */
    background-position: center;
    border: none;
    margin-right: 5px;
}
/*********************%Search Form%************************/





/*********************** Carousel *************************/
@media (min-width: 1330px){
    .carousel-control-next {
        right: calc( (100% - 1300px) / 2 );
    }
    .carousel-control-prev {
        left: calc( (100% - 1300px) / 2 );
    }
    .carousel-item-description-wrapper, .carousel-indicators, #custom-region-header-description-wrapper{
        right: calc( ((100% - 1300px) / 2) + (65px) );
    }
}
@media screen and (min-width: 1px) and (max-width: 1329px){
    .carousel-control-next {
        right: 15px;
    }
    .carousel-control-prev {
        left: 15px;
    }
    .carousel-item-description-wrapper, .carousel-indicators{
        right: 80px;
    }
}
.carousel-control-next{
    justify-content: flex-end; 
}
.carousel-control-prev{
    justify-content: flex-start;
}
.carousel-control-next, .carousel-control-prev{
    width: auto;
}
.carousel-control-next-icon, .carousel-control-prev-icon{
    width: 40px;
    height: 120px;
}
.carousel-control-next-icon{
    background-image: url('img/carousel-control-next-icon.png');
}
.carousel-control-prev-icon{
    background-image: url('img/carousel-control-prev-icon.png');
}

.carousel-indicators{
    justify-content: flex-end;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 60px;
}
.carousel-indicators li{
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: none;
    border: 1px solid white;
    margin-right: 0;
    margin-left: 12px;
}
.carousel-indicators .active {
    background: white;
}

.carousel-item-description-wrapper{
    position: absolute;
    color: white;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 50%;
}
.carousel-item-description{
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    right: 0;
    text-align: right;
    white-space: nowrap;
}
.carousel-item-description .break {
  flex-basis: 100%;
  height: 0;
}
.carousel-item-description .titre{
    font-family: 'Roboto';
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    display: inline-block;
    border-bottom: 2px solid white;
    margin-bottom: 20px;
}
.carousel-item-description .texte-1{
    font-family: 'Anton';
    font-size: 80px;
    line-height: 1.1;
}
.carousel-item-description .texte-2{
    font-family: 'Anton';
    font-size: 40px;
    line-height: 1.2;
}
.carousel-item-description .lien{
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: bold;
    color: #001939;
    background-color: #99a2af;
    text-decoration: none;
    padding: 4px 16px;
    border-radius: 20px;
    margin-top: 30px;
    display: inline-block;
}
.carousel-item-description .lien:hover{
    color:#5fc5fc;
    background-color: #005ca5;
}
/***********************%Carousel%*************************/


/************************ Footer **************************/
body:not(.theme-preset-active) footer#colophon{
    background-color: #094a8b;
}
footer #footer-bande{
    width: 100%;
    height: 30px;
    background-color: #001839;
}
footer .container{
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    padding-bottom: 25px;
    flex-wrap: wrap;
}
@media screen and (max-width: 1100px){                                                               
    footer .container{
        justify-content: center;
    }
}
footer .container #footer-content{
    display: flex;
    color:white;
    width: 100%;
    justify-content: space-between;
}


@media screen and (min-width: 1190px){ 
    footer .container #footer-content .footer-content-item{
        /*margin-right: 55px;*/
        flex-basis: 16.666666%;
    }
}
/*
@media screen and (max-width: 1189px){ 
    footer .container #footer-content .footer-content-item{
        margin-right: 35px;
    }
}
@media screen and (min-width: 768px) and (max-width: 900px){ 
    footer .container #footer-content .footer-content-item{
        margin-right: 13px;
    }
}
*/
@media screen and (max-width: 990px){ 
    footer .container #footer-content{
        flex-wrap: wrap;
    }
    footer .container #footer-content .footer-content-item{
        flex-basis: 33.3333%;
    }
}
@media screen and (max-width: 650px){
    footer .container #footer-content{
        flex-wrap: wrap;
    }
    footer .container #footer-content .footer-content-item{
        flex-basis: 50%;
    }
}
@media screen and (max-width: 400px){
    footer .container #footer-content{
        flex-wrap: wrap;
        text-align: center;
    }
    footer .container #footer-content .footer-content-item{
        flex-basis: 100%;
    }
}

footer .container #footer-content .footer-content-item#item-6 img{
    max-width: 176px;
}
/*
footer .container #footer-content .footer-content-item#item-1{
    max-width: 81px;
}
footer .container #footer-content .footer-content-item#item-2{
    max-width: 100px;
}
footer .container #footer-content .footer-content-item#item-2 .title{
    opacity: 0%;
}
footer .container #footer-content .footer-content-item#item-3{
    max-width: 99px;
}
footer .container #footer-content .footer-content-item#item-4{
    max-width: 92px;
}
footer .container #footer-content .footer-content-item#item-5{
    max-width: 147px;
}
footer .container #footer-content .footer-content-item#item-6{
    max-width: 120px;
}
*/

footer .container #footer-content .footer-content-item .title{
    font-family: 'Roboto';
    font-weight: bold;
    font-size: 16px;
}
footer .container #footer-content .footer-content-item ul.content{
    display: flex;
    flex-direction: column;
    /*
    max-width: 126px;
    max-height: 100px;
    */
    padding-left: 0;
}
footer .container #footer-content .footer-content-item ul.content li{
    list-style: none;
}
footer .container #footer-content .footer-content-item ul.content li,
footer .container #footer-content .footer-content-item ul.content li a
{
    font-family: 'Roboto';
    font-size: 12px;
}
footer .container #footer-content .footer-content-item ul.content li a{
    cursor: pointer;
}

/************************%Footer%**************************/




/************************ Common **************************/
.motif-01{
    height: 10px;
    background-color: #b3b2b2;
}
.titre-01{
    font-family: 'Anton';
    font-size: 46px;
    color: #005ca5;
    line-height: 1.1;
}
.link-01{
    font-family: 'Anton';
    border: 1px solid #84a4c5;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    position: relative;
    line-height: 1.2;
}
.link-01:hover{
    color:white !important;
    background:  #84a4c5;
    text-decoration: none;
}
.link-01 span{
    width: 65px;
    height: 10px;
    background: #84a4c5;
    display: inline-block;
    position: absolute;
    right: -1px;
    bottom: -5px;
}
.link-01:hover span{
    background: #0e4184;
}
/************************%Common%**************************/




/***************** Header Pages Régions *******************/
#custom-region-header{
    position: relative;
}
#custom-region-header-description-wrapper{
    position: absolute;
    color: white;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 50%;
}
#custom-region-header-description{
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    right: 0;
    text-align: right;
    white-space: nowrap;
}
#custom-region-header-description #image-region-texte-1{
    font-family: 'Roboto';
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    display: inline-block;
    border-bottom: 2px solid white;
    margin-bottom: 20px;
}
#custom-region-header-description #image-region-texte-2{
    font-family: 'Anton';
    font-size: 80px;
    line-height: 1.1;
}
#custom-region-header-description #image-region-texte-3{
    font-family: 'Anton';
    font-size: 40px;
    line-height: 1.2;
}
#custom-region-header-description img{
    
}
/*****************%Header Pages Régions%*******************/




/**************** Modifications 04/2022 *******************/
@media screen and (max-width: 1199px){ 
	body:not(.theme-preset-active) #masthead .navbar-nav li a{
		text-align:center;	
	}
}
#masthead section.search-form{
	margin: 0 auto;
	padding-bottom: 10px;
    padding-top: 10px;
}
#masthead .navbar-brand{
	margin-bottom: 10px;
}
@media screen and (max-width: 575px){
	#home-bloc-liens-pictos .home-bloc-lien-picto-item {
	    padding: 0 15px !important;
	}
}
/****************%Modifications 04/2022%*******************/
