/**
 * All of the CSS for public-facing functionality
 */


.grid {
	position: relative;
	margin: 0 auto;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	cursor: pointer;
	margin-bottom: 20px; /* to help with positioning of download icon */
}

.listview .grid figure {
	width: 99%;
}

.listview .grid {
	text-align: left;
}

.grid figure img {
	position: relative;
	display: block;
	max-width: 100%;
}

.grid figure figcaption {
	padding: 0.5em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h6 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h6 span {
	font-weight: 800;
}

.grid figure h6,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}



 /* ---------------------------------------
	jig
--------------------------------------- */
.justified-gallery img {
    padding: 4px !important;
}

.justified-gallery a {
	border-bottom: 0 !important;
}


.grid {
	width:100%;
}

/*.grid .thumbnail {
	width:30%;
	float: left;
}*/

/* Image border */
/*.grid img  
{
	margin: 5px;
	padding: 5px;
	border: 1px solid #efefef;
	background: #fff;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
}*/
.details ul {
	margin: 0;
	padding: 0;
}
.details li {
	list-style: none;
	margin-left: 0 !important;
}

li.details {
	font-size: small;
}



 /* ---------------------------------------
	grid.php - gridview
--------------------------------------- */

.grid .details {
	padding: 5px 12px 6px;
	padding-bottom: 25px;	
}

.grid-item {
	/*
  width: 230px;
  xheight: 120px;
  float: left;
  background: #D26;
  border: 2px solid #333;
  border-color: hsla(0, 0%, 0%, 0.5);
  border-radius: 5px;
*/
    background: #fff none repeat scroll 0 0;
/*    border-radius: 6px;
*/    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.22);
/*    width: 230px;
*/    margin-top: 15px;
}

 /* ---------------------------------------
	list.php - listview
--------------------------------------- */

/*.listview .thumbnail{
    height: 100%;
    padding: 50px 30px;
}*/

.listview {
	width: 100%;
}

.listview .thumbnail {
	width: 100%;
	clear: both; /* fix flow bug with small thumbnails */
}
.thumbnail .detail-meta {
/*	height: 200px;
*/	overflow: hidden;
}
.listview .thumbimage{
	float: left;
    /* height: 100%; */ /* removed v 3.1.3 as was causing great height on results_listGP.php */
    overflow: hidden;
    position: relative;
	/* width: 300px;	*/ /* move this to embeded style to make more dynamic */
}

 .listview .details{
	/*float: left;*/
    overflow: hidden;
    position: relative;
	padding: 5px 12px 6px;	
}

.details-meta {
	height: auto;
}


 /* ---------------------------------------
	list.php - listview on Widget
--------------------------------------- */


.listview.widget {
	padding-left: 0;	
	margin-bottom: 20px;
}

.listview.widget img{
	float: none;
}

.listview.widget .details {
	float: left;
}

 /* ---------------------------------------
	results_grid.php - gridview
--------------------------------------- */
.thumbnails {
	position: relative;
}

.grid .thumbnail {
   margin: 10px;
   float: left;
   border: 10px solid #fff;
   overflow: hidden;
   position: relative;
   /*text-align: center;*/
   text-align: left;
   /*border-bottom: 30px solid #fff;*/
   border-bottom: 10px solid #fff;
}

/*.grid.js-masonry{
	margin: 0 auto;
}*/

 /* ---------------------------------------
	carousel.php - carousel
--------------------------------------- */
/*.carousel #album_title {
	letter-spacing: 1px;
	font-size: 68.5%;
	text-transform: uppercase;
	text-align: center;
}*/

.carousel .item  {
   xxwidth: 300px;
   xxheight: 200px;
   margin: 10px;
   float: left;
   border: 10px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   -webkit-box-shadow: 1px 1px 2px #e6e6e6;
   -moz-box-shadow: 1px 1px 2px #e6e6e6;
   box-shadow: 1px 1px 2px #e6e6e6;
   cursor: default;
   xxxbackground: #fff url(../images/bgimg.jpg) no-repeat center center;
}

/*
.carousel .item img { 
    transition: all 0.2s linear;
}

.carousel .item:hover img { 
	transform: scale(1.1);
} 
*/
 /* ---------------------------------------
	Pagination
--------------------------------------- */

div.cws-pagination {
	margin-top: 35px;
	padding-top: 50px;
	clear: both;
	text-align: center;
	position: relative;
}

.page-nav li 
{
	display: inline;
	margin: 5px !important;

}

 .page-nav a {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 12px;
	line-height: 35px;
	
	color: #717171;
	padding: 5px 10px;
	background: -moz-linear-gradient(
		top,
		#f9f9f9 0%,
		#eaeaea);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#f9f9f9),
		to(#eaeaea));
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #c9c9c9;
	-moz-box-shadow:
		0px 1px 3px rgba(255,255,255,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 3px rgba(255,255,255,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
}

 .page-nav a:hover,
 li.selected a {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 12px;
	color: #717171;
	padding: 5px 10px;
	background: -moz-linear-gradient(
		top,
		#696969 0%,
		#505050);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#696969),
		to(#505050));
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #4f4f4f;
	-moz-box-shadow:
		0px 1px 3px rgba(255,255,255,0.5),
		inset 0px 0px 1px rgba(79,79,79,1);
	-webkit-box-shadow:
		0px 1px 3px rgba(255,255,255,0.5),
		inset 0px 0px 1px rgba(79,79,79,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.7),
		0px 1px 0px rgba(255,255,255,0.3);

	color: #FFFFFF;
	text-decoration: none;
}



/* Some Overrides */
.slick-prev::before, .slick-next::before {
    color: grey !important;
}



/* GOOGLE PHOTO SPECIFIC STYLES */


.cws-next-button {
    width: 98.5%;
    float: left;
    height: auto;
    display: inline-block;
    cursor: pointer;
    padding: 1.35em 0px;
    box-sizing: border-box;
    text-align: center;
    background-color: #fbfbfb;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    xbox-shadow: 0 1px 2px rgba(0, 0, 0, 0.28),-.2em 0 0 0 #6d6d6d;
    color: black;
    transition: all 0.3s;
}

.cwss-next-button:hover {
    background: linear-gradient(to right,rgba(255, 255, 255, 0.33),#ffffff 30%);
}