#cboxTitle,#cboxCurrent{color:#fff;font-family: 'Source Sans Pro',Verdana, Arial, Helvetica, sans-serif!important;}
#colorbox,#cboxOverlay{z-index:99999;}
.gallery_index {
    padding: 2px;
    color: #fff;
    position: absolute;
    left: 4px;
    top: 4px;
    text-align: center;
    font-size: 15px;
    width: auto;
    float: left;
    min-width: 20px;
    background-color: rgba(0,0,0,.65);
    line-height: 125%;
    border: solid 1px #fff;
}
a.jg-entry.cboxElement {
    width: 31.41%!important;
    top: auto!important;
    position: relative!important;
    left: auto!important;
    margin: 5px!important;
    border: 1px solid #9a9a9a;
    height: auto!Important;
	max-height:116px
;}
#gallery.justified-gallery a img {
    position: relative!important;
    top: auto;
    left: auto;
    width: 100%!important;
    margin-left: 0!important;
    margin-top: 0!important;height:auto!important

}
.caption {
    width: 100%!important;
}
#gallery{height:auto!important;min-height:138px;}
#cboxOverlay {background: #0d0d0d;max-height:100%;}

#cboxTopCenter{height:25px!important;}
#cboxTopLeft, #cboxTopRight{height:34px!important;width:34px!important;}
#cboxMiddleLeft, #cboxMiddleRight{width:34px!important;}
#cboxBottomLeft, #cboxBottomRight{width:34px!important;}
#cboxBottomLeft, #cboxBottomCenter, #cboxBottomRight{height:0px!important;}
#cboxContent{background-image:url('/images/generic/loading.gif');background-repeat:no-repeat;background-position:center 30%;}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
    color: white;
    width: 164px;
    position: fixed;
    top: 26%;
    left: 42%;
    background-color: #000;
}

#cboxCurrent, #cboxPrevious, #cboxNext{bottom: auto;}

#cboxPrevious:hover {    background-position: left center;    background-image: url(/js/justifiedgallery/images/prev-triangle-arrow-hover.png);}
#cboxNext:hover {    background-position: center center;    background-image: url(/js/justifiedgallery/images/next-triangle-arrow-hover.png);}
#cboxClose{    background-position: center center;    background-image: url(/js/justifiedgallery/images/close-thin-hover.png);    background-size: 80%;}
#cboxClose:hover {    background-position: center center;    background-image: url(/js/justifiedgallery/images/close-thin.png);/*border-color:#D5F284;*/}

/*new styles 2*/

#colorbox {
    width: 100%!Important;
	height:100%!important;
    top: 0!important;
    left: 0!Important;
	position:fixed!important;
}
#cboxWrapper {
    height: 100%!important;
    width: 100%!Important;
}
#cboxTopLeft, #cboxTopCenter, #cboxTopRight, #cboxMiddleLeft, #cboxMiddleRight, #cboxBottomLeft,  #cboxBottomRight{display:none!Important;backround:transparent!important;height:0!important;width:0!Important;}

div#cboxContent {
    background-color: transparent;
    display: inline-block;
    height: 100%!important;
    margin-bottom: 0;
    width: 100%!important;
}
div#cboxLoadedContent {
    margin-top: 10px;
    position: fixed;
    top: auto;
    left: auto!important;
    bottom: auto;
    right: auto!important;
    width: 100%!important;
    height: 88.25%!important;
    overflow-y: hidden!important;
}
img.cboxPhoto {
    margin: 0 auto;
    display: block;
    width: auto!important;
    position: relative;
    height: 99%!important;
}
#cboxClose {
    z-index: 999999;
    bottom: 68px!important;
    top: auto!important;
    right: 25px!important;
    position: fixed;
    border: 1px solid #efefef;
    width: 28px;
    height: 28px;
}
#cboxTitle {
    z-index: 999999;
    bottom: 30px;
    left: 15%;
    text-align: center;
    float: left!important;
    width: 100%;
    max-width: 70%;
    font-weight: 500;
    position: fixed;
}
#cboxCurrent {
    z-index: 999999;
    bottom: 70px;
	font-weight:500;
    left: 25px;position:fixed;
}
#cboxNext {
    bottom: 67px;
    background-position: center center;
    background-image: url(/js/justifiedgallery/images/next-triangle-arrow.png);
	background-size: 100%;
    left: auto!important;
    right: 80px;
    z-index: 999999;position:fixed;width:30px;height:30px;
}
#cboxPrevious {
    bottom: 67px;
    background-position: left center;
    background-image: url(/js/justifiedgallery/images/prev-triangle-arrow.png);
	background-size: 100%;
    left: auto!important;
    right: 110px;
    width:30px;height:30px;
    z-index: 999999;
	position:fixed;
}
#cboxBottomCenter {
    position: fixed;
    bottom: 0px;
    height: 100px!important;
    background-color: rgba(0,0,0,.9);
    width: 100%!important;
    z-index: 9;
    border-top: 1px solid #9a9a9a;
    background-image: none;
}

#cboxLoadedContent{margin:10% auto 0;}

#gallery div.spinner{background-color:#efefef!important;width:800px;left:0;top:0;padding-top:50px;opacity:.9;}
#gallery div.spinner span:nth-of-type(1){position:absolute;left:45%;top:auto;}
#gallery div.spinner span:nth-of-type(2){position:absolute;left:47%;top:auto;}
#gallery div.spinner span:nth-of-type(3){position:absolute;left:49%;top:auto;}


#gallery.justified-gallery a.vert-10, #gallery.justified-gallery a.vert-20, #gallery.justified-gallery a.vert-30, #gallery.justified-gallery a.vert-40, #gallery.justified-gallery a.vert-50, #gallery.justified-gallery a.vert-60, #gallery.justified-gallery a.vert-70, #gallery.justified-gallery a.vert-80, #gallery.justified-gallery a.vert-90{height:116px!important;}
#gallery.justified-gallery a.vert-0 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-10 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-20 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-30 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-40 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-50 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-60 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-70 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-80 img {margin-top:0!important;}
#gallery.justified-gallery a.vert-90 img {margin-top:0!important;}

#GalBtn{position:absolute;bottom:0;right:0;display:block;margin:20px;}

#GalBtn a{display:none;   color: #0035D8!important;font-family: 'Source Sans Pro',Verdana, Arial, Helvetica, sans-serif;font-style:italic;}
#GalBtn a:nth-of-type(1){display:block;}
