#divGalerie{
    text-align: center;
    overflow: hidden !important;
    position: relative;
    width: 100%;
    height: 580px;
    height: auto;
}
#divGalerie ul,#divGalerie li {
        list-style-type: none;
        margin: 0; padding: 0;
        text-align: center;
}

#gallerie{
    position: relative;
    display: block;
    width:100%;
    height:580px;
    height: auto;
    text-align: center;
    overflow: hidden;
}
#gallerie li {
    position:relative;
    display: inline;
    display: inline-block;
    /*display: block;
    float: left;*/
    
    width:100%;
    height:100%;
    z-index: 0;
    top:0;
    left:0;
    text-align: center;
    vertical-align: top;
}
#gallerie li:target {
        /*z-index: 5;*/
}
#gallerie li:target img,#gallerie li:target .precedant,#gallerie li:target .suivant,#gallerie li:target h3{
        /*opacity: 1;
        filter:alpha(opacity=100);*/
}
#gallerie li>span{
    position: relative;
    display: inline-block;
    margin: 0.25em 0.5em 0 0.5em;
    padding: 0.25em;
    width: auto;
    height: auto;
    /*line-height: 1em;*/
    text-align: center;
    box-shadow: 0 0 1px 0 rgba(20, 47, 157, .7) inset,
               0 0 1px 0 rgba(255, 255, 255, .7) ;
}
#gallerie li>span:first-of-type{
    height: 400px;
    line-height: 400px;
    margin: 0 auto;
    box-shadow:none;
    width: 100%;
    padding: 0;
    display: block;
}
#gallerie li>span.description{
    box-shadow:none;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    height: auto;
    max-height: 4em;
    display: block;
    margin: 0.5em auto;
    white-space:nowrap; 
    overflow: hidden;
    text-overflow:ellipsis;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
}
#gallerie li>span:first-of-type a{

    padding: 0;
    margin: 0;

}
#gallerie li>span.theme a:before{
    content: "Thème : ";
}
#gallerie li>span.dimensions:before{
    content: "Dimensions : ";
}
.precedant,.suivant{
    font-size: 50px!important;
    line-height: 50px!important;
    height: 50px!important;
    display: block;
    position: absolute;
    top: 240px;
    width: 45px;
    z-index: 1000;
}
.precedant{
    left: 0;
}
.suivant{
    right: 0;
}
.precedant:hover, .suivant:hover{
    /*    opacity: 0;*/
  cursor: pointer;
  box-shadow: 0 1px 1px 0 rgba(20, 47, 157, .7) inset,
               0 1px 1px 0 rgba(255, 255, 255, .7) ;
  color:black;
}
span.theme:hover{
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, .7) inset,
               0 0 1px 0 rgba(0, 0, 0, .7) ;
}
span.theme:hover a{
    color:black;
}

#gallerie li img {
/*    opacity: 0;
    filter:alpha(opacity=0);*/
    -webkit-transition: 2s;
    -moz-transition: 2s;
    transition: 2s;
    width:auto;
    max-width: 800px;
    max-width: 100%;
    height: auto;
    max-height: 370px;
    max-height: 100%;
    vertical-align: middle;
    margin: 0;
    padding: 10px;
    position: relative;
    background-color: rgb(255,255,255);
    box-shadow: 0 1px 1px rgba(11, 11, 11, .7) inset,
           0 1px 1px rgba(255, 255, 255, .7) ;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
}
#gallerie a.aImage{
    width:100%;
    position: relative;
    display: inline;
    display: inline-block;
    height: 400px;
    line-height: 400px;
    vertical-align: middle;
}
#gallerie h3{
    margin:0.5em 0 0;
    /*opacity: 0;
    filter:alpha(opacity=0);*/
    -webkit-transition: 2s;
    -moz-transition: 2s;
    transition: 2s;
}
#navgallerie {
    position: relative;
    top:0;
    left:0;
    z-index: 10;
    height: 100%;
    width: 30px;
    line-height: 30px;
}
#navgallerie li {
    display: inline;
}
#navgallerie a {
    padding: 3px 10px;
    margin: 0 0 0 3px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    font-weight: normal;
    text-decoration: none;
    color: #fff;
    background: rgb(0,0,0);
    background: rgba(0,0,0,.2);

}
#navgallerie a:hover, #navgallerie a:focus {
    -moz-box-shadow: 0 0 8px #fff;
    -webkit-box-shadow: 0 0 8px #fff;
    box-shadow: 0 0 8px #fff;
    background: rgba(0,0,0,.4);
    outline: none;
}



a.prev, a.next {
	background-size:contain;
	width: 45px;
	height: 50px;
	display: block;
	position: absolute;
	top: 240px;
        /*visibility: hidden;*/
        display:none;
}
#affichageActu a.prev,#affichageActu a.next{
    top: 280px;
}

a.prev {
    background: url(../images/logos/arrow_left1.gif) no-repeat transparent;
    left: 0px;
    background-size:contain;
}
a.prev:hover {
    background: url(../images/logos/arrow_left.gif) no-repeat transparent;
    background-size:contain;
}
a.prev.disabled {
    background: url(../images/logos/arrow_left2.gif) no-repeat transparent !important;
    background-size:contain!important;
}
a.next {
    right: 0px;
    background: url(../images/logos/arrow_right1.gif) no-repeat transparent;
    background-size:contain;
}
a.next:hover {
    background: url(../images/logos/arrow_right.gif) no-repeat transparent;
    background-size:contain;
}
a.next.disabled {
    background: url(../images/logos/arrow_right2.gif) no-repeat transparent !important;
    background-size:contain!important;
}
a.prev.disabled, a.next.disabled {
	cursor: default;
}
a.prev span, a.next span {
	display: none;
}
.pagination {
	text-align: center;
        position: relative;
        width: 100%;
        line-height:20px;
        height: auto;
        margin-left: auto!important;
        margin-right: auto!important;
        margin-top: 10px!important;
        padding: 0;
}
.pagination a {
    position: relative!important;
    display: inline-block!important;
    width: 20px!important;
    height: 20px!important;
    margin: 0 5px!important;
    padding: 0!important;
    cursor: pointer;
}
.pagination a.selected {
	/*background: url(../images/logos/dot1.png) no-repeat transparent;
        background-size:contain;*/
	cursor: default;
}
.pagination a:hover,.pagination a:focus {
	/*background: url(../images/logos/dot1.png) no-repeat transparent;
        background-size:contain;*/
}
.pagination a:before{
    font-size: 2rem;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.pagination a.selected:before{
    opacity: .75;
    color: black;
}
.pagination a:hover:before,.pagination a:focus:before {
    opacity: 1!important;
}
.pagination a span {
	display: none;
}
.clearfix {
	float: none;
	clear: both;
}
.pagination li{
    width:auto;
    position: relative!important;
    display: inline-block!important;
    width: 20px!important;
    height: 20px!important;
    margin: 0 !important;
    padding: 0!important;
    cursor: pointer;
}
.pagination li button{
    font-size: 0!important;
    line-height: 0!important;
    display: block!important;
    width: 20px!important;
    height: 20px!important;
    padding: 5px!important;
    cursor: pointer!important;
    color: transparent!important;
    border: 0!important;
    outline: none!important;
    background: transparent!important;
    border:none!important;
    box-shadow: none!important;
    margin: 0 !important;
}
.pagination li button:hover,
.pagination li button:focus{
    outline: none!important;
}
.pagination li button:hover:before,
.pagination li button:focus:before{
    opacity: 1!important;
}
.pagination li button:before{
    /*font-family: 'slick';*/
    font-size: 2rem;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.pagination li.slick-active button:before{
    opacity: .75;
    color: black;
}
