/*
Theme Name: ENA Template
Author: Karim El Founoun
Version: 1.0
*/


body{
    background-color: #eceff4;
    padding: 0;
    margin: 0;
    font-family: Verdana,sans-serif;
    font-size: 12px;
}
/*HEADER*/
#header{
    display: flex;
    justify-content: center;
    
    
}
/*TOP BAR*/
.top-band{
    background: url("images/bande_top.png");
    height: 6px;
}
.top-bar{
    height: 35px;
    background-color: #4682b4;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-bar ul{
    margin: 0;
    
}
.top-bar ul li{
    list-style: none;
    display: inline-block;
    margin-left: -5px;
    
}
.top-bar ul li a{
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    border: 1px solid white;
    font-size: 10px;
}
.top-bar ul li a:hover{
    background-color: #FE642E;
    transition: 300ms;
}
#top-container{
    display: inline-block;
} 

/*TOP BAR SOCIAL MEDIA LINKS*/
.menu-social-media-links-container ul li a{
    border: none;
    padding:10px 7px 12px 7px;
}
.menu-social-media-links-container ul li a:hover{
    background: white;
}
.menu-social-media-links-container ul li a:hover img{
    transform: scale(1.2);
    
}
/*LOGO*/

#header .custom-logo{
    margin: 7px 0px;

}
#header nav ul{
    position: relative;
    z-index: 500;
    margin: 0;
    padding: 0px;
    list-style: none;
    white-space: nowrap;
    border-radius: 5px;
    box-shadow: 0 0 30px -5px rgba(0, 0,0,.1);
    padding:0px 10px;
    background-image: linear-gradient(white,rgb(228, 228, 228));
}

#header nav .menu>li{
    display: inline-block;
    margin-left: -5px;
    border-radius: 5px;
    
}


#header nav a{
    margin: 0;
    padding: 18px 8px;
    text-decoration: none;
    color: black;
    display: block;
    text-transform: uppercase;
    

    
    
}

#header nav .menu>li:last-child>a{
    border-right: 1px solid orange;
}
#header nav .menu>li>a{
    background-image: linear-gradient(white,rgb(228, 228, 228));
    border-left: 1px solid orange;
    border-collapse: collapse;
}
#header nav .menu>li>a:hover{
    background-image: linear-gradient(rgb(245, 245, 245),rgb(218, 218, 218));
    color: #4682b4;
}
#header nav a:hover{
    color: white;
}
#header nav .sub-menu>.menu-item-has-children{
    position: relative;
}
#header nav .sub-menu>.menu-item-has-children>a::after{
    content: " >";
}
nav .sub-menu .sub-menu{
    top:0;
    right: -5px;
    transform: translate(100%);
}
.sub-menu li>a{
    border-bottom: 1px solid black;
    
}
#header nav .sub-menu{
    border: 1px solid gray;
    border-radius: 0;
    padding: 0;
    
}
#header nav .sub-menu li>a{
    padding:10px 15px 5px 0px;
    text-transform: capitalize;
    max-width: 150px;
    white-space: normal;
}
.sub-menu li:last-child a{
    border-bottom: none
}
.sub-menu li{
    padding: 0 10px;
    background-color: rgb(207, 207, 207);
    
}
#header nav .sub-menu,.sub-menu .sub-menu{
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 350ms ease, visibility 350ms ease;
    z-index: 100;
}

#header nav li:hover>.sub-menu, #header nav .sub-menu>li:hover >.sub-menu{
    visibility: visible;
    transition-delay: 0s;
    opacity: 1;
    
}

/*SLIDER*/
#slider{
    margin-top: -20px;
    display: flex;
    justify-content: center;
}

/*sidebar-content*/
.v-band{
    display: flex;
}
.colored-band{
    width: 6px;
    height: 100%;
    background: url("images/bande_top\ -\ Copie.png");
}
.pages-slider{
    margin-top: -20px;
}
.parent-child{
    margin-left:30px;
    color: grey;
    font-size: 13px;
    font-weight: lighter;
}
.parent-child a{
    color: #4682b4;
    text-decoration: none;
}
.parent-child a:hover{
    color: black;
}
.main-wrapper{
    display: flex;
    height: auto;
    justify-content: center;
}
.main-wrapper .sidebar{
    height: auto;
    margin: 50px 15px 10px 15px;
    width: 300px;
    margin-left: 0;
    flex-direction: column;
    display:flex;
    
}
.main-wrapper .content{
    width: 750px;
    word-wrap: break-word;
    margin: 0px 10px;
    font-size: 9pt;
    line-height: 180%;
    
}
.main-wrapper .pages{
    width: 100px;
    height: auto;
    background-color: #FE642E;
    text-align: center;
    color: white;
    word-wrap: break-word;
}

.the-title{
    color: #4682b4;
    text-align: center;
    font-family: 'Times New Roman','serif';
    font-size: 14pt;
    text-decoration: underline;
}

.children-menu{
    height: max-content;
    height: fit-content;
    width: 250px;
    text-align: center;
    border: 2px solid #FE642E;
    background: white;
    margin-bottom: 50px;
}
.children-menu .parent{
    background-color: #FE642E;
    padding: 7px 0px;
}
.children-menu .parent a{
    color: black;
    text-decoration: none;
}
.children-menu .parent a:hover{
    color: white;
}
.children-menu .children{
    margin: 0;
    padding: 0;
}
.children-menu .children li{
    border-top: 1px solid #FE642E;
    list-style: none;
}

.children-menu .children a{
    color: black;
    text-decoration: none;
    display: block;
    padding: 7px 0px;
    
}
.children-menu .children a:hover{
    color: #FE642E;
    background-color: #ffeae2;
}
/*featured pages*/
.featured-page{
    max-width: 200px;
    font-size: 9pt;
}
.featured-page a{
    text-decoration: none;
    color: #4682b4;
}
.featured-page a:hover{
    color: #FE642E;
}
.feadtured-pages-container{
    margin: 50px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.featured-page-title{
    color: #4682b4;
    
}


/*news ticker*/
.ticker-container{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.news-ticker{
    width: 900px;
    text-align: center;
    background-color: white;
    padding: 0px 25px;
    font-weight: bolder;
    color: #ff6600;
}


/*CATALOGUE*/
.catalogue{
    display: flex;
    justify-content: center;
    margin-top: 75px;
}
.item1,.item2,.item3,.item4{
    height: 250px;
    width: 230px;
    margin: 15px;
    border-radius: 10px;
    transition: 300ms;
    

}
.item1:hover,.item2:hover,.item3:hover,.item4:hover{
    transform: scale(1.075);
    transition: 300ms;
}
.item1{
    background-color: #5FB404;
}
.item2{
    background-color: #f16421;
}
.item3{
    background-color: #B40404;
}
.item4{
    background-color: #4682b4;
}
.cat-title{
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    border-bottom: 1px solid white;
}
.cat-content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
/*FOOTER*/
#footer{
    min-height: 300px;
    background-color: white;
    display: flex;
    justify-content: center;
    
    
}

.footer-item-title{
    text-align: center;
    text-transform: uppercase;
    color: #0000ff;
}
#footer ul{
    list-style: none;
    line-height: 17px;
    font-size: 12px;
  	padding-left:20px;
}
#footer .sub-menu{
    padding-left: 15px;
}
#footer ul .sub-menu .menu-item{
    padding: 0;
    background: none;
    list-style: square inside;
    color: #FE642E;
    list-style-position: outside;
}

#footer a{
    font-family:times;
    display: inline-block;
    text-decoration: none;
    color: black;
    border: none;
    width: 160px;
    word-wrap: break-word;
}
#footer a:active{
    transform: translateY(20%);
}
#footer a:hover{
    color: #4682b4 ;
}
.copyright{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: #4682b4;
    color: white;
}

.tabs{
    display: flex;
    justify-content: center;
}
.tabs h1{
    font-weight: 300;
}
.ENA,.dans-press{
    margin:0px 50px;
}
.ENA .xa-default{
    width: 400px;
    min-height: 170px;
    border: 2px solid #758AAE;
    background: none;
    box-shadow: -8px 8px 12px #aaa,8px 8px 12px #aaa;
}
.xa-default .nav-tabs a{
    background:transparent;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    color: #6a6a6a;
    
}
.xa-default .tab-content{
    background: transparent;
}
.xa-default .tab-content a{
    padding: 3px 10px;
    background-color: #555;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.xa-default .tab-content a:hover{
    background-color: white;
    color: black;

    transition: 400ms;
}
.xa-default .nav-tabs a:hover{
    background-color: white;
    box-shadow: none;
}
.xa-default .nav-tabs .active a:hover{
    box-shadow: none;
}
.xa-default .nav-tabs .active a{
    box-shadow: none;
    background-color: #FE642E;
    color: white;
}
.xa-default li{
    margin: 1px;
}
.xa-default .nav-tabs .active a:focus{
    box-shadow: none;
    background-color: #FE642E;
}
.nav-tabs{
    margin: 0;
    padding-bottom: 3px;
    border-bottom: 5px solid #FE642E;
}


.dans-press .xa-default{
    width: 400px;
    min-height: 150px;
    border: 2px solid #758AAE;
    background: none;
    box-shadow: -8px 8px 12px #aaa,8px 8px 12px #aaa;
}


/*404*/
.introuvable{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 100px 0px;
    color: #4682b4;
    
}
.introuvable .code{
    font-size: 200px;
    font-weight: bolder;
    color: #0000ff;
}
.introuvable .msg{
    font-size: 100px;
}