/* ############ icomoon icon fonts CSS ############ */

@font-face {
	font-family: 'icomoon';
	src:url('../icomoon/icomoon.eot?-qkv88o');
	src:url('../icomoon/icomoon.eot?#iefix-qkv88o') format('embedded-opentype'),
		url('../icomoon/icomoon.ttf?-qkv88o') format('truetype'),
		url('../icomoon/icomoon.woff?-qkv88o') format('woff'),
		url('../icomoon/icomoon.svg?-qkv88o#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family:'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-spinner:before {
	content: "\e600";
}
.icon-cancel-circle:before {
	content: "\e604";
}
.icon-cross:before {
	content: "\e601";
}
.icon-arrow-left:before {
	content: "\e602";
}
.icon-arrow-right:before {
	content: "\e603";
}

/* ############ Start of responsive gallery CSS ############ */


.rthumbnail{ /* style for thumbsnail s that appear initially on the page */
	/*display: inline-block;
	margin: 0;
	padding: 0;*/
}

.rthumbnail .rcaption{
	display: none;
}

.responsivegallery{ /* style for responsive gallery UI */
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: fixed;
	display: none;
	z-index: 1000;
}

.responsivegallery:before{ /* gallery overlay */
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: zoom-out;
	top: 0;
	left: 0;
	background: black;
	opacity: 0.8;
	z-index: -1;
}

.responsivegallery .galleryinner{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: auto;
	text-align: center;
  vertical-align: middle;
	white-space: nowrap;
}

.responsivegallery .galleryinner:before{ /* technique to vertical align elements */
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.responsivegallery .figurearea{
	position: relative;
	max-width: 100%;
	vertical-align: middle;
	display: inline-block;
	z-index: 1000;
}

.responsivegallery .figurearea.isvideo{
	width: 90%;
}

/* video container CSS */

.jkvideocontainer *{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}


.jkvideowrapper{
	position: relative;
	padding-bottom: 56.25%; /* 16:9 ratio. See https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php */
	height: 0;
}


.jkvideowrapper iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

/* figure CSS */

.responsivegallery figure{
	margin: 0;
	padding: 0;
	display: block;
	box-shadow: 0 0 15px rgba(0,0,0,.6);
	opacity: 0;
	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
	transition: opacity 0.5s;
}

.responsivegallery figure video{
	max-width: 100%;
	width: 100%;
	height: auto;
	border: 0;
	line-height: 0;
	display: block;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background:#fff;
}

/* Caption CSS */

.responsivegallery .figurearea .thecaption{
	text-align: left;
	position: absolute;
	bottom: 0;
	padding:5px;
	width: 100%;
	white-space: normal;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.responsivegallery .figurearea.isvideo .thecaption{
	position: relative;	
}

.responsivegallery .figurearea .thecaption:before{ /* caption overlay */
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	background: #999;
	top: 0;
	left: 0;
	opacity: 0.6;
}

.responsivegallery .figurearea .thecaption .captioninner{
	position: relative;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}
}

@media screen and (max-width: 500px) {
	.responsivegallery .figurearea .thecaption .captioninner{
		font-size:14px;
	}
}

.responsivegallery .figurearea .thecaption .captioninner span.counter{
	float: right;
	font-size: 0.9em;
	font-weight: bold;
	display: block;
	height: 100%;
	line-height: 100%;
	background: #2D2D2D;
	color: white;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	box-shadow: 0 0 3px gray;
	line-height: 30px;
	text-align: center;
	margin-right:25px;
	font-size:12px;
}

.responsivegallery .close{
    position: absolute;
    right: 20px;
    top: 100px;
    padding: 0;
    width: 35px;
    height: 35px;
    border-radius: 55px;
    background: #ff8900;
    color: white;
    opacity: 1;
    font-size: 25px;
    z-index: 1000;
    /* box-shadow: 0 0 5px rgba(0,0,0,.6); */
    cursor: pointer;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    transition: background 0.3s;
}

.responsivegallery .close:hover{
	background: #ffa700;
}

.responsivegallery .close span{
	line-height: 35px;
}

.responsivegallery .leftnav,
.responsivegallery .rightnav{
	position: absolute;
	left: 5px;
	top: 50%;
	width: 50px;
	height: 50px;
	color: #00b2ff;
	/*background: white;*/
	border-radius: 50px;
	text-align: center;
	line-height: 55px;
	margin-top: -25px;
	cursor: pointer;
	z-index: 1000;
	font-size: 50px;
}

.responsivegallery .rightnav{
	right: 5px;
	left:auto;
}


.responsivegallery .loading,
.responsivegallery .error{
	width: 100px;
	height: 100px;
	border-radius: 10px;
	position: absolute;
	display: none;
	top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -50px;
	opacity: 0.6;
	text-align: center;
	z-index: 1000;
	background: black;
}

.responsivegallery .loading span,
.responsivegallery .error span{
	vertical-align: middle;
	color: red;
	font-size: 3em;
	line-height: 90px;
}

.responsivegallery .loading span{ /* rotating loading  */
	-webkit-animation: rotate 2s linear infinite;
	animation: rotate 2s linear infinite;
	font-size: 3.5em;
	color: white;
	display: inline-block;
}

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

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


.responsivegallery .leftnav:hover,
.responsivegallery .rightnav:hover{
	/*background: white;*/
	color: #00b2ff;
}


@media screen and (max-width: 480px){ /* CSS when screen width is 480px or less */
	.responsivegallery .leftnav,
	.responsivegallery .rightnav{
		width: 40px;
		height: 40px;
		color: #00b2ff;
		border-radius: 40px;
		text-align: center;
		line-height: 45px;
		margin-top: -20px;
		font-size: 40px;
	}
}