/* http://www.menucool.com/jquery-slider */


        ul#myGallery {
            margin:0 auto;
            padding:0;
            list-style:none;
            width:832px;
            font-size:0;
            cursor:pointer;
        }
        ul#myGallery li {
            margin:4px;
            padding:0px;
            float:right;
            width:200px; /*25%;*/
            box-sizing:border-box;
	            }

        /*ul#myGallery img {
            width:100%;
			max-height:120px;

        }*/

        #closeBtn {
            display:block;
            position:fixed;
            top:12px;
            right:6px;
            font-size:14px;
			font-weight:bold;
            color:white;
            width:65px;
            height:26px;
            border:1px solid rgba(255,255,255,0.4);
            background-color:rgba(255,0,0,0.85);
            cursor:pointer;
            text-align:center;
			padding-right: 10px;
            z-index:2;
			background-image: url('../img/close_white.png'); background-repeat: no-repeat; background-position: 96%; 
			
        }

#thumbnail-slider {
    margin:0 auto; /*center-aligned*/
    height:100%;
    display:block;
    padding:0px;
    position:fixed;
    background-color:rgba(0,0,0,0.5);
    left:0;right:0;top:0;bottom:0;
    z-index: 9999;
    -webkit-user-select: none;
    user-select:none;
}

#thumbnail-slider div.inner {
    padding:0 20px;
    background-color:rgba(0,0,0,0.2);

    /*the followings should not be changed */
	height:100%;
    box-sizing:content-box;
    position:relative;
    overflow:hidden;
    margin:0 auto;
	width: 700px;


}

 
#thumbnail-slider div.inner ul {
    
    /*the followings should not be changed */
    position:relative;
    left:0; top:0;
    list-style:none;
    font-size:0;
    padding:0;
    margin:0;
    /*float:left!important;
    width:auto!important;
    height:auto!important;*/
}

#thumbnail-slider ul li {
    background-color:black;
    display:block;
    margin:8px 0; /* Spacing between thumbs*/
    transition:all 0.5s;
    box-sizing:content-box;
    
    text-align:center;
    padding:0;
    position:relative;
    list-style:none;
    backface-visibility:hidden;

	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

#thumbnail-slider ul li.active {
    opacity:1;
	-webkit-filter: initial;
	filter: initial;
}

#thumbnail-slider li:hover {
	-webkit-filter: grayscale(50%);
	filter: grayscale(50%);
}


#thumbnail-slider .thumb {
    /*opacity:0.5;*/
    
    width:700px;/*100%;*/
    height: 100%;
    background-size: contain;
    background-repeat:no-repeat;
    background-position:center center;
    display:block;
    position:absolute;
}

#thumbnail-slider ul li.active .thumb {
    opacity:1;
}
/* --------- navigation controls ------- */
/* The nav id should be: slider id + ("-prev", "-next", and "-pause-play") */

#thumbnail-slider-pause-play {display:none;} /*.pause*/

#thumbnail-slider-prev, #thumbnail-slider-next
{
    display:none;
}

.ListFrontpage{  width:200px; /*100%*/ height:140px; border: solid 1px rgba(0,0,0,0.5); filter: drop-shadow(2px 2px 4px gray)}
.ListFrontpageF{ width:200px; /*100%*/ height:300px; border: solid 1px rgba(0,0,0,0.5); filter: drop-shadow(2px 2px 4px gray)}
.ListFrontpageM{ width:200px; /*100%*/ height:285px; border: solid 1px rgba(0,0,0,0.5); filter: drop-shadow(2px 2px 4px gray)}
.ListIcon {width:24px; height:24px; padding:3px 3px 6px 3px; filter: grayscale(70%); }
.ListIcon:hover {filter:drop-shadow(1px 1px 2px gray); }
.ListLogo {	border: solid 1px rgba(0,0,0,0.5);   position: relative;	width:200px; /*100%*/ height:140px;	background-repeat:no-repeat;    background-position:center center;	}
.ListLogoF {border: solid 1px rgba(0,0,0,0.5);   position: relative;	width:200px; /*100%*/ height:300px;	background-repeat:no-repeat;    background-position:center center;	}
.ListLogoM {border: solid 1px rgba(0,0,0,0.5);   position: relative;	width:200px; /*100%*/ height:285px;	background-repeat:no-repeat;    background-position:center center;	}

.PdfIconOver {
    width: 30px;
    filter: drop-shadow(3px 3px 3px gray);
}
    .PdfIconOver:hover {
    filter: drop-shadow(5px 5px 5px gray)
    }
.PdfIconOverDiv {    text-align: left;    padding: 7px;}

/*Overlay    */

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

li:hover .overlay {
  height: 20%;
  opacity: 0.8;  
}

.text {
  white-space: nowrap; 
  color: white;
  font-size: 14px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
 }

.textF {
  color: white;
  font-size: 12px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width :95%;
  text-align:center;
  direction:rtl;
 }


