/*gallery layout*/
.slider { position: relative; margin: 0 auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }

.slider .slider_prev{background-position:  0 0;}
.slider .slider_next{background-position: -49px 0px;}
.slider .slider_prev:hover {background-position: 0px 0px; }
.slider .slider_next:hover {background-position: -49px 0px; }

.slider .transition {
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out; }
.slider .slider_container { position: relative; overflow: hidden; }
.slider .items { position: absolute; left: 0; width: 100000px; padding: 0; margin: 0; list-style-type: none; }
.slider .item { float: left; overflow: hidden; }
.slider .slider_xofy { 
    position: absolute; 
    bottom: -15px;
    color: #999; 
    font-size: 11px; 
}
/* fullsite */
.slider .slider_full_size_link {
    position: absolute; 
    top: -22px; 
    left: 0px;
    color: #B2B2B2; 
    cursor: pointer; 
    font: bold 11px Arial;
}

.overlay_close {line-height: 15px; z-index: 10; box-shadow: -3px 1px 6px -3px #444; font-size: 24px; background: #000; color: #FFF; width: 13px; /*border-radius: 50px;*/ padding: 3px 2px 0px 1px; /*border: 2px solid #FFF;*/ position: absolute; top: 0px; right: 0px; }
    .overlay_close:hover { background: #626262; cursor: pointer; }
    
.slider .slider_full_size_link:hover { text-decoration:none;}
.slider .slider_excerpt { position: absolute; bottom: -15px; right: 0; color: #999; font-size: 11px; }


#main_image_slider { width: 580px; margin-top: 40px; }

#main_image_slider .slider_prev,
#main_image_slider .slider_next { color: #0082FE; top: -40px; cursor: pointer;
    line-height: 31px }
#main_image_slider .slider_prev,
#main_image_slider .slider_next {}
#main_image_slider .slider_prev { right: 52px; }
#main_image_slider .slider_next { right: 0px; }

#main_image_slider .slider_container { width: 580px; max-height:900px}
#main_image_slider .item{ width: 580px;  text-align: center; }
#main_image_slider .image { max-width: 580px; max-height: 800px; }


#thumb_slider { width: 600px; }


#thumb_slider .slider_prev {
    float: left;
    background-position: 0 0;
    left: -11px;
}
#thumb_slider .slider_prev:hover {    background-position: 0 -94px;}
#thumb_slider .slider_next {
    float: right;
    background-position: -17px 0;
    right: 1px;
}
#thumb_slider .slider_next:hover { background-position: -17px -94px;}


#thumb_slider .slider_container { width: 588px; height: 94px; padding: 0 0 20px 0; }
#thumb_slider .item { width: 94px; height: 94px; padding: 0 2px; position: relative; }
#thumb_slider .image { width: 94px; height: 94px; }
#thumb_slider .item:hover:before { content: ""; display: block; width: 84px; height: 84px; border: 5px solid black; position: absolute; top: 0px; left: 2px; z-index: 1; }
#thumb_slider .new_gallery:after { content: "NEXT GALLERY"; font-family: arial; padding: 2px 0; font-size: 10px; text-align: center; background: #CE344F; color: #FFF; width: 94px; position: absolute; bottom: 0px; left: 0px; z-index: 2; }
#thumb_slider .thumb-loading .image {width: 50px; height: 50px;margin: 22px;}


#l_overlay { z-index: 10001; background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8); height: 100%; width: 100%; position: fixed; top: 0; left: 0; display: none; }

.pop_up { 
    z-index: 10002; 
    width: 870px; 
    max-height: 1200px;
    min-height: 400px; 
    margin: 30px auto 0; background: #000; position: absolute; top: 50px;  display: none; }
#overlay_image_slider { /* width: 580px; */ width: 870px; max-height: 1200px;
    min-height: 400px; position: relative; }
#overlay_image_slider .slider_prev,

#overlay_image_slider .slider_next { color: #0065C6; top: 355px; background: #FFF; cursor: pointer; opacity: 0;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;  }
#overlay_image_slider:hover .slider_prev,
#overlay_image_slider:hover .slider_next { opacity: 1; }
#overlay_image_slider .slider_prev:before,
#overlay_image_slider .slider_next:before { font-size: 65px; }
#overlay_image_slider .slider_prev {
    background:url(../images/image_prev.png) no-repeat 50%;
    top: 0;
    padding: 0; 
    height: 100%;
    width: 77px;
    box-shadow: 2px -1px 6px -3px #444;
    /*padding-left: 10px;*/
}
#overlay_image_slider .slider_next { 
    background:url(../images/image_next.png) no-repeat 50%;
    right: 0;
    top: 0; 
    padding: 0; 
    box-shadow: -3px -1px 6px -3px #444;
    height: 100%;
    width: 77px;
    /*padding-right: 10px;*/
}

#overlay_image_slider .slider_next span, #overlay_image_slider .slider_prev span{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);          
    -moz-opacity:0.3;
    opacity: 0.3;
    width: 77px;
    height: 100%;
    position: absolute;
    background-color: gray;
}

#overlay_image_slider .slider_container { width: 850px; max-height: 1200px; min-height: 400px; margin: 0 auto; }
#overlay_image_slider .item { width: 850px; max-height: 1200px; text-align: center; padding: 0px 0 0 0; }
#overlay_image_slider .image { max-width: 850px; max-height: 1200px; }

#overlay_image_slider .slider .slide_xofy { position: absolute; top: 590px; color: #999; font-size: 11px; }
* #overlay_image_slider #overlay_content { 
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5); 
    padding: 0; 
    position: absolute; 
    bottom: 0; 
    width: 716px;
    margin-left: 77px; 

}
#overlay_image_slider #overlay_content #overlay_entry_title { font-weight: bold; font-size: 18px; margin: 0 0 8px 0; color: white; float: right; padding-top: 4px;}
#overlay_image_slider #overlay_content .overlay_xofy { color: white; float: right; padding: 6px 15px 0px 30px;}
#overlay_image_slider #overlay_content #overlay_entry_content { margin: 0 0 5px 0; }
#overlay_image_slider #overlay_content p { padding: 0; }
#overlay_image_slider #overlay_content center { text-align: left; }
#overlay_image_slider .photo_by { color: #999; }
#overlay_image_slider .slider .excerpt { position: absolute; top: 590px; right: 0; color: #999; font-size: 11px; }

.gallery-canvas{
    padding-top: 30px !important;    
}
#main_image_slider { 
    width: 580px; 
    max-height: 900px;
    margin-top: 0px; 
    margin-bottom: 15px;
    cursor: pointer;
}

#main_image_slider:hover a.slider_next{
    display: block;
}

#main_image_slider:hover a.slider_prev{
    display: block;
}

#main_image_slider .item{ 
    width: 580px; 
    max-height: 900px; 
    text-align: center; 
}

#main_image_slider .slider_container { 
    width: 580px; 
    max-height: 900px;
    min-height: 300px;
}

#main_image_slider .image { 
    max-width: 580px; 
    max-height: 900px; 
}


#main_image_slider .slider_next{
    background:url(../images/image_next.png) no-repeat 50%;
    width: 43px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    display: none;
}
#main_image_slider .slider_next span, #main_image_slider .slider_prev span{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);          
    -moz-opacity:0.3;
    opacity: 0.3;
    width: 43px;
    height: 100%;
    position: absolute;
    background-color: gray;
}
/*
.slider_prev.hide, #main_image_slider a.slider_prev.hide{
    display: none;
}
.slider_next.hide, #main_image_slider a.slider_next.hide{
    display: none;
}
*/
#main_image_slider .slider_prev{
    background:url(../images/image_prev.png) no-repeat 50%;
    width: 43px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: none;
}

#thumb_slider .slider_next{
        float: right;
    background:url("../images/gallery_next.png") no-repeat scroll;
    cursor:pointer;
    position: absolute;
    top: 16px;
    width: 16px;
    height: 26px;
    right: 0px;
    margin-top: 30px;
}

#thumb_slider .slider_next:hover{
    background-position:0;
}

#thumb_slider .slider_prev{
    float: left;
    background:url("../images/gallery_prev.png") no-repeat scroll;
    cursor:pointer;
    position: absolute;
    top: 16px;
    width: 16px;
    height: 26px;
    margin-top: 30px;
    left: -2px;
}

#thumb_slider .slider_prev:hover{
    background-position:0;    
}

#thumb_slider .item{
    width: 94px;
    height: 94px;
    
    padding: 0 12px 0 0;
}

#thumb_slider {
    width: 580px;
    border-top: 1px dotted #888888;
    padding-top: 12px;
}

#thumb_slider .slider_container{
    width: 520px;
    height: 94px;
    /*margin: 0 auto;*/
    margin-left: 30px;
}

#thumb_slider .item:hover:before { 
    content: ""; 
    display: block; 
    width: 74px; 
    height: 74px; 
    border: 10px solid #0082FE; opacity: 0.6; 
    position: absolute; 
    top: 0px; 
    left:0px; z-index: 1; 
}

/*
.cat-image {
    background: none repeat scroll 0 0 #FFFFFF;
    clear: both;
    margin: 0 ;
    padding: 0;
    width: 600px;
    position: relative;
}
    .cat-image h1 {
        color:#000000;
        font: normal 20px/24px , sans-serif;
        padding: 7px 0 12px 0;
        letter-spacing: 1px;
    }


    .cat-image.module {
        
        margin: 0;
        padding: 0px 0px 0 0px;
        width: 300px;
        
        margin-top: 35px;

    }
    
    .cat-image.module p {
        margin: 12px 0 36px;
        font-family: "GFS Didot";
        line-height: 18px;
        font-size: 12px;
    }
    .cat-image.module a.read-more,  .cat-image.module .comments a{
        color: #37c1a9;
        font-weight: bold;
    }
    
*/    
    #topbar {
    /*height:45px;*/
    width: 310px;
    float: right;
    margin:18px 20px 0 0;
    padding:0;
}
#controls {
    color: #636363;
    float: right;
    font: bold 12px/15px Arial,Sans-Serif;
    height: 18px;
    margin: 0px 0 0 0px;
    padding: 0;
    /*width: 175px;*/
}
#controls a {
    color:#B2B2B2;
    font: bold 11px Arial;
}
#controls a:hover {color:#9B7EB1;text-decoration:none;}

.image-wrapper{
    position: relative;
}

.image-wrapper .image-next{
    background:url(../images/image_next.png) #e7e8e7 no-repeat;
    width: 43px;
    height: 60px;
    position: absolute;
    right: 0;
    top: 45%;
    z-index: 1;
}

.image-wrapper .image-prev{
    background:url(../images/image_prev.png) #e7e8e7 no-repeat;
    width: 43px;
    height: 60px;
    position: absolute;
    left: 0;
    top: 45%;
    z-index: 1;
    
}

.image-wrapper .image-next a, .image-wrapper .image-prev a{
    display: block;
    height: 60px;
    width: 43px;
} 

a.zoom-in span {
    background: url(../images/zoom_icon.png) no-repeat 0;
    width: 18px;
    height: 15px;
    margin: 4px 5px 0 0;
    padding-left: 11px;
}

.zoom-in-wrapper{
    margin-left: 15px;
}

.single-gallery #page, .single-attachment #page{
    position: inherit;
}

#loading, #overlay_loading { display: none; background: rgba(0, 0, 0, 0.8); width: 100%; height: 100%; position: absolute; left: 0; top: 0; z-index: 5; color: #FFF; padding: 230px 0 0 0; }
#overlay_loading { padding: 270px 0 0 0; }

/* css loading */
.ball { border: 3px solid rgba(229,149,149,0.9); opacity: .9; border-top: 5px solid rgba(0,0,0,0); border-bottom: 5px solid rgba(0,0,0,0); border-radius: 50px; /* box-shadow: 0 0 35px #da675a; */
       width:50px; height:50px; margin:0 auto;  -moz-animation:spin 1s infinite linear; -webkit-animation:spin 1s infinite linear; }
 
@-moz-keyframes spin {
  0% { -moz-transform:rotate(0deg); }
     100% { -moz-transform:rotate(360deg); }
}

@-webkit-keyframes spin {
    0% { -webkit-transform:rotate(0deg); }
    100% { -webkit-transform:rotate(360deg); }
}

.single-gallery #content,
.single-attachment #content { -moz-border-radius:0; }
.single-gallery #content .gallery-canvas,
.single-attachment #content .gallery-canvas { background-color:#DEE1E6; width:600px; margin:10px 0 20px 0px; padding-top: 10px }
#gallery-current { padding:0px 10px 21px 10px; }

.zoom-in-wrapper .helper { 
    float:right; width: 121px; 
    height:17px; background: transparent url(../images/cb_zoom_box.png) no-repeat right top; display:none; color:white;
    font-size:10px; font-weight:normal; padding: 1px 0px 0px 17px; margin-top: 0px;}
    
.zoom-helper { font-size:10px; cursor:url("../images/zoom_hover.cur"), pointer; color:white; }