.galleryJS {
	display:none;
	z-index:0;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#ddf1dd;
}
.galleryJS.show {
	display: block;
	z-index:999999;
}
.galleryJS-close {
	position: fixed;
	top: 5px;
	right: 10px;
	width: 315px;
	text-align: right;
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
	padding: 3px 8px 3px;
	color: #444 !important;
}
.galleryJS-close:hover {
	background:#e2e2e2;
}
.inner {
	display: -webkit-flex; 
	display: flex; 
}

.galleryJS-left {
	width: calc( 100% - 350px );
	height: 100vh;
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	text-align: center;
	align-items: center;
  	justify-content: center;
	position: relative;
	background-size: contain !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}
.galleryJS-left-inner {
	flex-grow: 1;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;

}
.galleryJS-left[data-ext="gif"] {
	background-size: auto;
}

.galleryJS-left > div {
	width: 100%;
}
.galleryJs-left:hover {
	cursor: pointer;
}
/*
.galleryJS-img {
	width: auto;
	height: auto;
	max-height: 100vh;
	margin: 0 auto
}

.galleryJS-img[data-ext="jpg"] {
    display: flex;
    flex-grow: inherit;
}
*/
.galleryJS-right {
	position: relative;
	width: 350px;
	height: 100vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-left: 1px solid #999;
	font-size: 16px;
}

.galleryJS-title-block {
	margin: 35px 0;
	padding: 0px 10px;
/*
	  display: -webkit-box;
	  -webkit-line-clamp: 2;
	  -webkit-box-orient: vertical;
	  overflow: hidden;
*/
	line-height: 41px;
	height: 82px;
	overflow: hidden;
}
.galleryJS-title {
	font-size: 34px;
	color: #636363;
	height: auto;
}
.galleryJS-title span, .galleryJS-title span:hover {
	cursor:pointer;
	color: #009000;
}

.galleryJS-nav {
	border: 1px solid #999;
	border-left: 0;
	border-right: 0;
	margin: 20px 10px;
	padding: 20px 0;
}
.galleryJS-nav-inner{
	display: flex;
	justify-content: space-between;	
	margin-top: 20px;
	padding: 0 20px;
}
.galleryJS-nav .left, .galleryJS-nav .right {
	//flex-grow: 1;
	text-align: left;	
	font-weight: 700;
	width: 30px;
}
.galleryJS-nav a {
	font-size:34px;
	text-decoration: none;
	color: #009000;
	font-weight: 700;
}
.galleryJS-nav .center {
	text-align: center;
	font-size:34px;
	//color: #888;
	color: #009000;
}
.galleryJS-nav .right {
	text-align: right;
}
.galleryJS-current {
	color: #009000;
}

.can-do-galleryJS-slideshow > a {
	background: #00a700;
    font-weight: bold;
    color: #FFF !important;
    text-decoration: none;
    padding: 2px 4px;
    margin-left: 10px;
    text-transform: uppercase;
}
.galleryJS-ads {
	flex-flow: 1;
	overflow-y: auto;
}

.galleryJS-left-inner {
	/*
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	*/
	z-index: 9;
}
.galleryJS-tools {/*
	position: absolute;
	top: 0;
	right: 0;
	z-index: 11;
	display: none;
	width: 32px !important;
	*/
	display: flex;
	padding: 0 10px;
	align-items: center;
}
.galleryJS-left:hover .galleryJS-tools {
	display: block;
	padding-right: 5px;
}
.galleryJS-tools .zoom, .galleryJS-tools-fullsize .zoom {
    width: 29px;
    height: 29px;
    background: url(../images/fullsize.png) center center no-repeat;
    background-size: cover;
}

.galleryJS-tools .like-list li {
	//min-width: 32px;
	text-align: center;
}
.galleryJS-tools .like-list .like {
	//zoom: 1.3;
	background: #a6a6a6 url(../images/sprite.png?v=0.003) no-repeat -169px -159px;
}
.galleryJS-tools .pinterest {
	display: block;
	margin: 0 35px;
}

.galleryJS-tools .like-list {
    float: none;
    display: inline-block;
}
.galleryJS-tools .like-list a {
	float: left;
	width: 32px;
	height: 26px;
}
.galleryJS-tools .like-list li {
    float: none;
    width: auto;
}
.galleryJS-tools .like-list span:after, .galleryJS-tools .like-list span:before {
    top: 50%;
    left: 0%;
    border-top-color: transparent;
    border-right-color: #e2e2e2;
    margin-top: -6px;
    margin-left: -12px;
}
.galleryJS-tools .like-list span:after {
    margin-left: -10px;	
    border-right-color: #fff;
}
.galleryJS-tools .like-list span {
	margin: 0 0 0 5px;
    width: 32px;
    line-height: 19px;
    font-size: 17px;
}

.galleryJS-tools-rating {
	line-height: 1 !important;
}
.like-simple {
	background: #009000;
	border: 2px solid #009000;
	height: 27px;
	line-height: 27px;
	padding: 0 10px !important;
	border-radius: 6px;
	font-size: 20px !important;
	color: #fff !important;
	display: inline-block;
}

.like-simple:hover {
	background: #fff;
	border-color: #636363;
	color: #636363 !important;
}
.like-simple.done:hover {
	background: #009000;
	border-color: #009000;
	color: #fff !important;
}