/* CSS for THUMBNAILS */

/* set background color in the div */
.gall_bgr_div_wrapper {
	background-color:;	
}

/* div that wrap all the front-end */
div.gallery_wrapper {
	color:#000000 !important;
	font-family:Montserrat-Regular,Helvetica Neue,Helvetica,sans-serif !important; 
	font-size:14px !important;
	margin:0 auto !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important; 
	line-height:22px !important;
	word-wrap:break-word !important;
		max-width: 900px !important;
	}
.clearboth {
	clear: both;
}

.square {
    float:left;
    position: relative;
    
	width: 30%;
    padding-bottom : 19.8%; /* = width for a 1:1 or 1:0.66 aspect ratio */
    margin:1.66%;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
  	-webkit-transition: opacity .4s;
	-o-transition: opacity .4s;
	transition: opacity .4s;
	
	-webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
	cursor: zoom-in;
}


@media only screen and (max-width: 480px) {
	.square {
		float:none;
		width: 96%;
		padding-bottom : 63.36%; /* = width for a 1:1 or 1:0.66 aspect ratio */
		margin:2%;
		background-position:center center;
		background-repeat:no-repeat;
		background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
		transition: all .15s ease-in-out;
	}
}


.square:hover {
  	opacity: 0.8; 
  	-webkit-transition: opacity .4s;
	-o-transition: opacity .4s;
	transition: opacity .4s;
}

.square span {
	visibility: hidden;
	display: block; 
	/* transition: all .2s ease-in-out; */
	position: absolute;
	z-index: 999999;
	color: #FFF;
	font-size: 1.7em;
	font-weight: lighter;
	padding: 45% 45%;
	width: 5%;
	height: 5%;
}
@media only screen and (min-width: 600px) {
	.square:hover span {
		transition: all .2s ease-in-out;
		visibility: visible;
		display: block; 
		position: absolute;
		z-index: 999999;
		color: #FFF;
		font-size: 1.7em;
		font-weight: lighter;
		padding: 45% 45%;
		width: 5%;
		height: 5%;
	}
}


/* drop down menu for categories start */
.dropdownGal {
    position: relative;
    display: inline-block;
	float:left;
	padding-left: 1.66%;
	display: inline;
	/* border: solid 1px #FF0000; */
}

.dropbtnGal {
    color: #202830;
	font-family: Oswald-Regular,Helvetica Neue,Helvetica,sans-serif;
    font-size: 14px;
	font-style: normal;
	font-weight: normal;
    background-color: inherit;
    padding: 4px 2px;
    border: none;
    cursor: pointer;
}

.dropdownGal-content {
    background-color: #F9F9F9;
    display: none;
    position: absolute;
    min-width: 100%;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	white-space: nowrap;
}

.dropdownGal-content a {
    color: #9A9A9A;
	font-family: Oswald-Regular,Helvetica Neue,Helvetica,sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	text-align: left;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdownGal-content a:hover {
	background-color: #FFFFFF;
}

.dropdownGal2:hover .dropdownGal-content {
    display: block;
}
.dropdownGal-content a.cat_selected {
	background-color: #FFFFFF;
}
@media only screen and (max-width: 600px) {
	.dropdownGal {
		display:inline;
		float: none;
		padding-left: 0;
	}
	.dropbtnGal {
		width: 99%;
		margin-top: 12px !important;
	}
}
/* drop down menu for categories end */

/* clear float div + adding distance */
div.dist_categ_imges {
	clear:both !important;
	height:0 !important; 
	line-height:0 !important; 
	font-size:0 !important; 
	padding:0; 
	margin:0 !important;
	padding-bottom: 24px !important;
}


/* pagination style */
div.pagination_wrapper {
	clear: both;
	padding-top:30px !important;
	padding-bottom:20px !important;
	font-style:normal !important;
	font-size:20px !important;
}
div.pagination {
	font-family: Oswald-Regular,Helvetica Neue,Helvetica,sans-serif !important;
	font-size:20px !important;
	font-weight:normal !important;
	font-style:normal !important;
	text-align: center !important;
	padding-bottom:12px;
}
div.pagination a {
	color: #BDBDBD !important;
	padding: 4px 10px !important;
	margin: 1px !important;
	text-decoration: none !important; 
}
@media only screen and (max-width: 360px) {
	div.pagination a.mobPag {
		display: none;
	}
	div.pagination span.current {
		display: none;		
	}
	.next_prev {
		font-size: 28px;
	}
	div.pagination {
		padding-bottom:24px;
	}
}
div.pagination a:hover, div.pagination a:active {
	color: #202830 !important;
}

div.pagination a.next_prev {
	color: #202830 !important;
}

div.pagination a.next_prev:hover {
	color: #000000 !important;
}

div.pagination span.current {
	color: #202830 !important;
	font-weight: bold !important;
	padding: 4px 10px !important;
	margin: 1px !important;
}
div.pagination span.disabled {
	color: #BDBDBD !important;
	padding: 4px 10px !important;
	margin: 1px !important;
}
/* pagination styles end here */

/* loadmore start here */

.loadmore {
	color: #202830 !important;	
	border: solid 1px #DCDCDC !important;
	-webkit-border-radius: 3px !important;
	-moz-border-radius: 3px !important;
	border-radius: 3px !important;
	background-color: #F4F4F4 !important;
	font-family: Oswald-Regular,Helvetica Neue,Helvetica,sans-serif !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: normal !important;
	width: 29%;
	padding: 6px;
	outline: 0;
	cursor: pointer;
}
.loadmore:hover {
	color: #636363 !important;
	border: 1px solid #999999 !important;
	background-color: #F7F7F9 !important;
}
 .loadbutton{
	text-align: center !important;
	padding: 30px 0;
	clear:both;
}
@media only screen and (max-width: 360px) {
	.loadmore {
		width: 96.7%;	
	}
}
/* loadmore end here */

.No_more_items {
	font-family: Oswald-Regular,Helvetica Neue,Helvetica,sans-serif !important;
	color: #202830 !important;
	font-size: 16px !important;
	font-weight: normal !important;
	font-style: normal !important;
	text-align:center;
	padding: 30px 0;
	clear:both;
}

/* scroll to top styles */
.cd-top {
	display: inline-block;
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: #999999 url(includes/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
	z-index: 9999;
	-webkit-border-radius: 3px !important;
	-moz-border-radius: 3px !important;
	border-radius: 3px !important;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top:hover {
	background-color: #000000;
}
.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	-khtml-opacity:0.4; 
	-moz-opacity:0.4; 
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.4);
	opacity: 0.4; 
	filter:alpha(opacity=40);
}
.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	-khtml-opacity:0.6; 
	-moz-opacity:0.6; 
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.6);
	opacity: 0.6; 
	filter:alpha(opacity=60);
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    width: 40px;
  	height: 40px;
    right: 30px;
    bottom: 30px;
  }
}
/* scroll to top style end */

.fancybox-title iframe {
    min-height: 30px;
    vertical-align: middle;
}
	
.fancybox-bg {
		background-color: #1e1e1e;
	}

.fancybox-caption__body, .fancybox-caption__body a {
	color:#FFFFFF;
	font-family:OpenSans-Regular,Helvetica Neue,Helvetica,sans-serif;
	font-size:14px;
	font-weight:bold;
	font-style:normal;
}


