
.div-image-main {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
}

.div-thumbnail {
/*    position: relative; */
    display: inline;
}

.thumbnail {
/*    vertical-align: top; */
/*    float: left; */
    diplay:inline;
}

.image-main {
    margin-left: auto;
    margin-right:auto;
    display: block;
    max-width: auto;
    max-width: 100%;
    max-height: 100% ! important;    
}

html { height: 100%; }

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

div.gallery {
    clear: both;
    /*overflow: hidden;*/
    position: relative;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

div.gallery-main-image {
    position:fixed !important;
/*    position:absolute; */
    top:25;
    right:0;
    bottom:0;
    left:0;
    }
}

div.gallery-image-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0;
    line-height: 0;
}

div.gallery-image-wrap a {
    display: block;
        margin: 0 auto;
	    cursor: zoom-in;
	        cursor: -webkit-zoom-in;
		    cursor: -moz-zoom-in;
		    }

.gallery.zoomed div.gallery-image-wrap a {
    cursor: zoom-out;
        cursor: -webkit-zoom-out;
	    cursor: -moz-zoom-out;
	    }

div.gallery-image-wrap img {
    display: block;
    }

div.gallery-thumb-mask {
    overflow: hidden;
    position: relative;
    height: 101px;
    margin-left: 35px;
    margin-right: 35px;
}

ol.gallery-thumbs {
    display: block;
    margin: 0;
    padding: 10px 0;
    width: 10000px;
    list-style: none;
    overflow: hidden;
    position: absolute;
    left: 0px;
    height: 81px;
}

ol.gallery-thumbs li {
    float: left;
        margin: 0;
	    padding: 0 5px;
	    }

ol.gallery-thumbs a img {
    display: block;
        border: 3px solid #ccc;
	}

ol.gallery-thumbs a:hover img {
    border: 3px solid #aaa;
    }

ol.gallery-thumbs li.selected a:hover img,
ol.gallery-thumbs li.selected a img {
    border: 3px solid #FF4F00;
    }

ol.gallery-thumbs a img {
    display: block;
    width: 75px;
    height: 75px;
}

ol.gallery-thumbs .gallery-thumb-credit,
ol.gallery-thumbs .gallery-thumb-copy {
    display: none;
}

.gallery-arrow-left,
.gallery-arrow-right {
    width: 30px;
/*    height: 81px; */
/*    background-image: url(../images/gallery-arrows.png?v=2); */
    background-size: 16px 123px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.gallery-next-thumb .gallery-arrow-right,
.gallery-prev-thumb .gallery-arrow-left {
    position: absolute;
    bottom: 50%;
    margin-bottom: -40px;
    z-index: 999;
    display: none;
}

.gallery-prev-thumb.disabled:hover,
.gallery-next-thumb.disabled:hover {
    cursor: not-allowed;
    }

.gallery-prev-thumb:hover,
.gallery-next-thumb:hover {
    display: block;
}

.gallery-prev-thumb.disabled .gallery-arrow-left,
.gallery-next-thumb.disabled .gallery-arrow-right {
    display: none !important;
    }

.gallery-arrow-left.disabled,
.gallery-arrow-right.disabled {
    display: none !important;
    }

.gallery-main-image:hover .gallery-arrow-right,
.gallery-main-image:hover .gallery-arrow-left {
    display: block;
    }

.gallery-slide-right,
.gallery-next-thumb,
.gallery-next-thumb .gallery-arrow-right {
    right: 0px;
    }

.gallery-slide-left,
.gallery-prev-thumb,
.gallery-prev-thumb .gallery-arrow-left {
    left: 0px;
    }

.gallery-next-thumb,
.gallery-prev-thumb {
    width: 25%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    cursor: pointer;
}

.gallery-slide-left,
.gallery-slide-right {
    position: absolute;
    bottom: 11px;
    z-index: 999;
}

.gallery-prev-thumb:hover .gallery-arrow-left,
.gallery-next-thumb:hover .gallery-arrow-right,
.gallery-arrow-left:hover,
.gallery-arrow-right:hover {
    background-color: rgba(255, 0, 0, 0.75);
    display: block;
}

body.dark .gallery-slide-left.gallery-arrow-left,
body.dark .gallery-slide-right.gallery-arrow-right {
    background-color: rgba(255, 255, 255, 0.25);
    }

body.dark .gallery-arrow-left.gallery-slide-right:hover,
body.dark .gallery-arrow-right.gallery-slide-left:hover {
    background-color: rgba(255, 255, 255, 0.5);
    }

.gallery-arrow-left {
    background-position: 7px 20px;
}

.gallery-arrow-right {
    background-position: 7px -63px;
}

.gallery-loading {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: url(../images/ajax-loader-dark.gif) center center no-repeat rgba(0, 0, 0, 0.75);
    z-index: 999;
}

.gallery-image-wrap {
    position: relative;
    display: inline-block;
}

.gallery-image-description {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0 15px;
    text-align: left;
}

.gallery-description-toggle {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 5px;
    right: 10px;
    background: url(../images/gal-collapse-arrows.png) 5px 10px no-repeat;
    cursor: pointer;
}

.gallery-image-description.hidden {
    background: none;
}

.gallery-image-description.hidden .gallery-description-toggle {
    background: url(../images/gal-collapse-arrows.png) -32px 10px no-repeat;
    top: -18px;
}

.gallery-image-description.hidden .gallery-description-toggle:hover {
    background: url(../images/gal-collapse-arrows.png) -52px 10px no-repeat;
}

.gallery-image-description.hidden h2,
.gallery-image-description.hidden p,
.gallery-image-description.hidden .gallery-image-credit {
    display: none;
}

.gallery-description-toggle:hover {
    background: url(../images/gal-collapse-arrows.png) -15px 10px no-repeat;
}

.article-content .gallery-image-description h2 {
    margin-top: 20px;
    color: #fff;
}

.gallery-image-description h2,
.gallery-image-description p {
    text-shadow: 0px 0px 3px #000;
    color: #fff;
    margin: 10px 0;
}

.gallery-image-description p {
    margin-right: 15px;
}

.gallery-image-credit {
    font-size: 10px;
    float: right;
    margin-bottom: 0px !important;
    padding-left: 5px;
}
		
