/*
 * author : Dwikky Maradhiza Yudakusuma
 * email : dwikkymaradhiza@yahoo.com
 * filename : D-Gallery Plugin
 */

#D-gallery{
    height: 100%;
}
#D-gallery #large{
    height: 50%;
    position: relative;
    cursor: pointer;
}
#D-gallery #large div{
    position: absolute;
}
#D-gallery #large div:before, #D-gallery #large div:after {
    content:'';
    position:absolute;
    width:47%;
    bottom:0;
    z-index: 2; 
    height: 20px;
}
#D-gallery #large div:before {
    border-bottom: 20px solid #F7F7F7;
    border-right: 20px solid rgba(0, 0, 0, 0);
}
#D-gallery #large div:after {
    border-bottom: 20px solid #F7F7F7;
    border-left: 20px solid rgba(0, 0, 0, 0); 
    right: 0;
}
/* Loader */
#D-gallery #cycle-loader{
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
}
/* navigation */
#D-gallery .nav {
    /*border-bottom: 1px solid #DDD;*/
    margin-bottom:20px;
    padding-bottom: 3px;
    float: right;
    position: absolute;
    bottom: 0;
    right: 40px;

}
#D-gallery .nav a{
    font-weight:bold;
    text-decoration: none;
    color: #7fb8d3;
    font-size: 12px;
}

/* Caption */
/* note : comment this if want to use caption */
#D-gallery .caption{
    display: none;
}
#D-gallery .caption h3{
    font-family: times_roman;
    font-weight: bold;
    font-size: 14px;
    color: #808285;
}
#D-gallery .caption p{
    font-family: times_roman;
    color: #7e7e7e;
    font-size: 13px;
}

/* Custom */
#D-gallery #inner-gallery{
    padding: 0 40px;
    height:50%;
}
#D-gallery #inner-gallery .inner-overflow{
    height:100%;
    overflow: hidden;
}
#D-gallery .thumbnail{
   text-align: center;
   width: 100%;
   position: absolute;
   float:left !important;
}
#D-gallery .thumb-active{
   display:block;
}
#D-gallery .thumbnail .list{
    cursor: pointer;
    float:left;
    width: 15%;
    padding: 1%;
    margin: 2% 5%;
    background: #FFF;
    box-shadow: 0px 0px 2px #666;
}
#D-gallery .thumbnail .list > img{
    display : block;
    width: 100%;
}
#D-gallery .thumbnail .list:first-child,
#D-gallery .thumbnail .list:nth-child(5),
#D-gallery .thumbnail .list:nth-child(9){
    margin-left: 1%;
}
#D-gallery .thumbnail .list:nth-child(4),
#D-gallery .thumbnail .list:nth-child(8),
#D-gallery .thumbnail .list:last-child{
    margin-right: 1%;
}

/*#D-gallery .thumbnail a img, #D-gallery .thumbnail a  { border: none; overflow: hidden; float: left; }
#D-gallery .thumbnail a                         { border: 3px solid #FFF; }
#D-gallery .thumbnail a img                     { margin: -3px; }*/

/**********************************/
/********* thumb slider ***********/
/**********************************/
#thumbSlider{
    position: relative;
}
#thumbSlider .thumbnail{
    float:left !important;
} 
.on{
    z-index: 2;
}