.phototeque>article{padding-bottom:0px}
.phototeque>article .entry-header{display:block;}
.phototeque>article .entry-header h1{font-size: 22px}

#localisations{
    background: #eff1f3;
    min-height: 40px;
}
#localisations ul.level-1{
    margin:0;
    padding: 5px 0 0;
    width:70%;
    float: left;
    position: relative;
    z-index: 1000;
}
#localisations ul.level-1>li{
    float: left;
    list-style: none;
    padding: 0;
    margin: 0px;
    /*min-width: 20%;*/
    text-align: center;
    height: 40px;
    position:relative;
} 

#localisations ul.level-1>li>a{
    display:block;
    margin: 0;
    padding:5px 10px;
    border-right: solid 1px #ee7f00;
    box-sizing: border-box;
}
#localisations ul.level-0 li.hover{background:#ee7f00;color:#fff;border-bottom:1px solid transparent;}
#localisations ul.level-0 li.hover>a{color:#fff;text-decoration:none;}

#localisations ul.level-0{
    margin:0;
    padding:0;
    visibility:hidden;
    position:absolute;
    width:auto;
    background: #fff;
    -webkit-box-shadow: 3px 3px 4px 0px rgba(50, 50, 50, 0.32);
    -moz-box-shadow:    3px 3px 4px 0px rgba(50, 50, 50, 0.32);
    box-shadow:         3px 3px 4px 0px rgba(50, 50, 50, 0.32);
    z-index:100;
}
#localisations ul.level-0.theme{
    right: -100%;
    top: 0px;
    bottom: initial;
}
#localisations ul.level-0>li{
    display: block;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #d2d2d2;
    position:relative;
} 
#localisations ul li ul li {
  min-width: 140px;
}

#localisations ul.level-0>li:last-child{border-bottom: none;} 
#localisations ul.level-0>li>a{
    display:block;
    padding-left:10px;
    font-weight:normal;
}
#localisations ul.level-0>li.col{
    left:100%;
    background:#fff;
}

#localisations ul.level-0>li.col:hover{background:#ee7f00;}

#localisations li a,#localisations li a:hover{
    color:#000;
}
#localisations li.active>a{
    text-decoration:underline;
}

#localisations .search-form{
    float: right;
    position: relative;
    width: 30%;
    padding: 5px 1% 3px 0;
}
#localisations .search-form label{
    float: right;
    width: 96%;
    margin-bottom: 0;
}
#localisations .search-form .search-field{
    font-weight: normal;
}

#localisations .search-form .search-submit-custom{
    position: absolute;
    right: 13px;
    background: url(../images/search-picto.png);
    background-repeat: no-repeat;
    border: none;
    top: 11px;
    width: 17px;
}
/*  */


/* Carousel */

#photoView {
    width:100%;
    height:605px;
    background:#000;
    text-align:center;
}
#photoView img{
    max-height:605px;
}

.phototeque>article .countPhotos{
    margin:15px 0 0 0;
    font-weight:normal;
}

#phototeque-sidebar,#phototeque-sidebar-mobile{
    margin-top:20px;
    background-color: #333;
color: #fff;

}
#phototeque-sidebar ul.menu li,#phototeque-sidebar-mobile ul.menu li{background-image: url('../images/phototeque.png'); background-repeat: no-repeat;}
#phototeque-sidebar ul.menu li a,#phototeque-sidebar-mobile ul.menu li a{color:#fff;}
#phototeque-sidebar ul.menu li a,#phototeque-sidebar-mobile ul.menu li a:hover{text-decoration:none}
#photo-infos li{
    background-image:none;
    font-size:12px;
    padding-bottom:5px;
    list-style-image: url(../images/puce_triangle_orange.png);
    list-style-position: outside;
    margin-left: 15px;
    -ms-word-break: break-all;
     word-break: break-all;
}
#phototeque-sidebar li,#phototeque-sidebar-mobile li{margin-right:10px;color: #fff;}

#owl-phototeque,#owl-phototeque-mobile{margin-bottom:20px;position:relative;padding: 0 30px;}
#owl-phototeque .owl-item,#owl-phototeque-mobile .owl-item{text-align:center;height:117px;}
#owl-phototeque .owl-item>div,#owl-phototeque-mobile .owl-item>div{   
    height: 117px;
    white-space: nowrap;
    text-align: center;
}
#owl-phototeque .owl-item a,#owl-phototeque-mobile .owl-item a {
    max-height: 117px;
    vertical-align: middle;
}
#owl-phototeque .owl-item .helper,#owl-phototeque-mobile .owl-item .helper {
    height: 100%;
    vertical-align: middle;
    display: inline-block;
}



#owl-phototeque .owl-controls .owl-buttons div,#owl-phototeque-mobile .owl-controls .owl-buttons div{
    position: absolute;
    top: 42px;
    opacity:1;
    color:#ee7f00;
    border-radius:0;
    padding:0;
}
#owl-phototeque .owl-controls .owl-buttons .owl-prev,#owl-phototeque-mobile .owl-controls .owl-buttons .owl-prev{
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 20px solid #ee7f00;
    background: none;
    left: 0;
}
#owl-phototeque .owl-controls .owl-buttons .owl-next,#owl-phototeque-mobile .owl-controls .owl-buttons .owl-next{
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 20px solid #ee7f00;
    background: none;
    right: 0;
}

#phototeque .owl-controls .owl-buttons .owl-next,#owl-phototeque-mobile .owl-controls .owl-buttons .owl-next{
    position: absolute;
    background: url(../images/next.png) no-repeat;
    height: 70px;
    width: 35px;
    top: 42%;
    right:-5%;
}
#phototeque .owl-controls .owl-buttons .owl-prev,#owl-phototeque-mobile .owl-controls .owl-buttons .owl-prev{
    position: absolute;
    background: url(../images/prev.png) no-repeat;
    height: 70px;
    width: 35px;
    top: 42%;
    left:-5%;
}

#phototeque-mobile,
#phototeque-sidebar-mobile,
.countPhotos-mobile,
.credits-mobile{display:none!important;}  
    
@media (max-width:992px) {   
    
    #phototeque-mobile,
    #phototeque-sidebar-mobile,
    .countPhotos-mobile,
    .credits-mobile{display:block!important;}
    #phototeque-sidebar,
    #owl-phototeque,
    .countPhotos,
    .credits{display:none!important;}
    #phototeque-mobile #owl-phototeque-mobile{margin:0;}
    #phototeque #photoView{height:auto;}
    #phototeque-mobile .credits-mobile{margin-bottom:10px;}
    #phototeque-mobile .countPhotos-mobile{margin-top:10px;margin-bottom:10px;font-size:16px;font-weight:normal;}
    
    #phototeque #localisations ul.level-1 > li{width:auto;}
    #phototeque #localisations ul.level-1 > li > a{padding:0 20px;}
}

@media (max-width:643px) { 
    #content.phototeque .entry-header,
	#content.phototeque .entry-content{padding-left:0;padding-right:0;margin-left:7px;}
    #content.phototeque .entry-title{font-size:32px;}
    
    #phototeque{margin-left:-10px;margin-right:-10px;}    
    
    #phototeque #localisations {height:auto;background:transparent;}
    #phototeque #localisations .search-form{width:90%;margin:0 5%;padding-right:0;float:none;display:inline-block;}
    #phototeque #localisations .search-form label,
    #phototeque #localisations .search-field{width:100%;}
    #phototeque-sidebar-mobile li{width:100%;color: #fff;}
    #phototeque #localisations ul.localisation,
    #phototeque #localisations ul.localisation li{width:100%;}
    #phototeque #localisations ul.localisation .clic-active{padding-bottom:0;}       
    #phototeque #localisations ul.level-1 li ul.localisation li a{padding-left:20px;}
    #phototeque #localisations ul.level-1 > li {height:auto;}
    #phototeque #localisations ul.level-1 > li > a{border-right:none;text-align:left;background-color:#eff1f3;margin:1px 0;padding:10px 20px;}    
    #phototeque #localisations ul .level-0{display:none;box-shadow: none;position: relative;right: auto;background:transparent;} 
    #phototeque #localisations ul .level-0 > li{display:none;padding-top:0;padding-bottom:0;border-bottom:none;} 
    #phototeque #localisations ul .level-0 > li > a{padding-top:10px;padding-bottom:10px;background:#fff;margin:1px 0;} 
    #phototeque #localisations ul .level-0 > li.active > a{background-color:#ee7f00;}
    #phototeque #localisations ul.level-0 li ul.theme li a{padding-left:40px;}
    #phototeque #localisations ul.level-1 > li.active > ul{display:block;visibility: visible;}
    #phototeque #localisations ul.level-1 > li.active > ul>li{display:block;visibility: visible;}
    #phototeque #localisations ul .level-0 > li.active{display:block;visibility: visible;}
    #phototeque .owl-controls .owl-buttons .owl-next, #owl-phototeque-mobile .owl-controls .owl-buttons .owl-next{right: -1px;}
    #phototeque .owl-controls .owl-buttons .owl-prev, #owl-phototeque-mobile .owl-controls .owl-buttons .owl-prev{left: 0;}

}

