@font-face {
  font-family: 'ocaranza';
  src: url('font/ocaranza.eot?11696425');
  src: url('font/ocaranza.eot?11696425#iefix') format('embedded-opentype'),
       url('font/ocaranza.woff2?11696425') format('woff2'),
       url('font/ocaranza.woff?11696425') format('woff'),
       url('font/ocaranza.ttf?11696425') format('truetype'),
       url('font/ocaranza.svg?11696425#ocaranza') format('svg');
  font-weight: normal;
  font-style: normal;
}
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "ocaranza";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  opacity: .8;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
}
 
.icon-cancel-circle:before { content: '\e800'; }
.icon-cancel-outline:before { content: '\e803'; font-size:3rem }
.icon-left-open-outline:before { content: '\e804'; font-size:3rem; }
.icon-right-open-outline:before { content: '\e805'; font-size:3rem }
.icon-spin:before { content: '\f110'; font-size:3rem}

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

div.rthumbnail{ 
	display: inline-block;
	margin: 18px;
}

div.rthumbnail img { 
	padding: 4px;
	opacity:0.85;
	background-color:#fff;
	-moz-box-shadow: 0px 17px 17px -10px rgba(100,120,140,0.7);
	-webkit-box-shadow: 0px 17px 17px -10px rgba(100,120,140,0.7);
	box-shadow: 0px 17px 17px -10px rgba(100,120,140,0.7);
}

div.rthumbnail img:hover { 
	opacity:1;
	background-color:#4F90EA;
}

div.rthumbnail a { 
	font-size:1rem;
	font-family: "Niramit", Arial, Helvetica, sans-serif;
	font-weight:400;
	color:#000;
}

div.rthumbnail a:hover {
	color: #156CE4;
}

div.rthumbnail div.rcaption{
	display: none;
}

div.rthumbnail:hover {
	opacity:1;
}

div.responsivegallery{
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: fixed;
	display: none;
	z-index: 1000;
}

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

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

div.responsivegallery div.galleryinner:before{
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

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

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

div.responsivegallery figure img{
	max-width: 100%;
	width: 100%;
	height: auto;
	border:  #000 3px solid;
	line-height: 0;
	display: block;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none; 
}

div.responsivegallery div.figurearea .thecaption{
	text-align: center;
	vertical-align:bottom;
	position: absolute;
	bottom: 0;
	font-size: 1rem;
	padding: 0;
	width: 100%;
	white-space: normal;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


div.responsivegallery div.figurearea .thecaption:before{ 
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	background-color: #fff;
	top: 0;
	left: 0;
	opacity: 0.7;
}

div.responsivegallery div.figurearea .thecaption div.captioninner{
	position: relative;
	padding: 4px;
	color: #000;
	font-weight:600;
	overflow: hidden;
}

div.responsivegallery div.figurearea .thecaption div.captioninner span.counter{
	float: right;
	font-family: "Niramit", Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	font-weight: 800;
	display: block;
	height: 100%;
	line-height: 100%;
	background: #000;
	color: white;
	border-radius: 25%;
	width: 50px;
	height: 36px;
	line-height:2.5;
	text-align: center;
}

div.responsivegallery div.close{
	position: absolute;
	right: 0;
	top: 0;
	padding: 25px;
	color: #EFE2FF;
	z-index: 1000;
	cursor: pointer;
	-webkit-transition: background 0.3s;
	-moz-transition: background 0.3s;
	transition: background 0.3s;
}

div.responsivegallery div.close:hover{
	color:#fff;
}

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

div.responsivegallery div.leftnav,
div.responsivegallery div.rightnav{
	position: absolute;
	left: 0;
	top: 50%;
	color: #EFE2FF;
	text-align: center;
	line-height: 60px;
	margin-top: -30px;
	cursor: pointer;
	z-index: 1000;
	font-size: 3rem;
}

div.responsivegallery div.rightnav{
	right: 0;
	left:auto;
}


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

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


div.responsivegallery div.leftnav:hover,
div.responsivegallery div.rightnav:hover{
	color:#fff;
}


@media screen and (max-width: 480px){

div.rthumbnail { 
	width: 50%;
	margin: 0;
	margin-bottom:8px;
	background-color:#;
	text-align:center;
	line-height:1;
}


div.rthumbnail img { 
	max-width:92%;
	padding:2px;
	margin-bottom:0;
	opacity:1;
	-moz-box-shadow: 0px 8px 8px -6px rgba(100,120,140,0.7);
	-webkit-box-shadow: 0px 8px 8px -6px rgba(100,120,140,0.7);
	box-shadow: 0px 8px 8px -6px rgba(100,120,140,.7);
}

div.rthumbnail a { 
	font-size:.9rem;
	margin-top:0;
}

div.responsivegallery div.leftnav, div.responsivegallery div.rightnav{
	width: 40px;
	height: 40px;
	color: black;
	border-radius: 40px;
	text-align: center;
	line-height: 45px;
	margin-top: -20px;
	font-size: 40px;
}
}