﻿@charset "utf-8";
/* GALLERY STYLES ONLY - CSS Document */

/* RESET */
img {
	border: none;
}

body, html, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, fieldset, input {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, code, th {
	font-weight: normal;
	font-style: normal;
}

/* HTML5 DISPLAY RULE */
header, nav, footer, article, aside, canvas, details, figcaption, figure, hgroup, menu, summary, section, figure {
	display: block;
}

@-webkit-viewport {
	width: device-width;
}

@-moz-viewport {
	width: device-width;
}

@-ms-viewport {
	width: device-width;
}

@-o-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

/*-------------------- GENERAL------------------ */

body {
	color: #696969;
	font: normal 1em/1.4em Arial, Helvetica;
	font-style: normal;
	font-weight: 400;
	font-size: 1em;
}

a {
	color: #357bc0;
	text-decoration: none;
}

a:hover {
	color: #357bc0;
	text-decoration: underline;
}


/* RESPONSIVE GALLERY CSS & media queries Document */


/*------- GALLERY CUSTOM --------*/

#galleryWrapper {
	margin: 0px auto;
	width: 100%;
	overflow: hidden;
}

/* define arrow color & shadow if needed. arrow color defaults to website link definition */
.flex-direction-nav a {
	color: #fff; /*ie 8*/
	color: rgba(255,255,255,.85);
	text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

/*-------- ACTIVE ALBUM ---------- */

#activeAlbum {
	padding: 1% 0% 2%;
}

#activeAlbum .albumName {
	font-size: 1.1em;
	line-height: 1.3em;
	padding: 0;
}

.albumDate {
	font-size: .75em;
	line-height: 1.3em;
	padding: 5px 0 15px;
}

.albumDesc {
	font-size: .9em;
	line-height: 1.3em;
	padding: 0 0 15px;
}

/* PHOTO CAPTIONS */

.photoCaption {
	float: left;
	width: 63%;
	padding: 1% 0 3%;
	font-size: .9em;
}

.photoOptions {
	padding: 1% 0 3%;
	width: 33%;
	text-align: right;
	float: right;
	font-size: .9em;
}

/* PHOTO CAROUSEL */

#carousel {
	position: relative;
	z-index: 20;
}

#carousel .flex-active-slide img {
	opacity: 1;
}

#carousel img {
	cursor: pointer;
	opacity: 0.5;
}

/* Always show carousel nav */
#carousel.flexslider .flex-prev {
	opacity: 0.7;
	left: 2%;
}

#carousel.flexslider .flex-next {
	opacity: 0.7;
	right: 2%;
}

#carousel.flexslider .flex-prev:hover, #carousel.flexslider .flex-next:hover {
	opacity: 1;
}

#slider {
	overflow: hidden;
}

/* ----------- BROWSE ALBUMS GRID---------- */

#albums {
	margin: 0 0 25px;
	background: #f2f2f2;
	padding: 2%;
}

/* ALBUMS HEADER */
.albumsHeader {
	margin: 1% 0;
	width: 100%;
}

/* style to match website button styles */
.browse {
	padding: 7px 12px;
	background: #357bc0;
	color: #ececec;
	transition: all .2s ease-in;
	-o-transition: all .2s ease-in;
	-ms-transition: all .2s ease-in;
	-moz-transition: all .2s ease-in;
	-webkit-transition: all .2s ease-in;
}

.browse:hover {
	text-decoration: none;
	background: #2a6197;
	color: #fff;
}

.browse:after {
	content: "\002B";
	font-size: 1.2em;
	padding-left: 7px;
}

.browse.active {
	background: #2a6197;
}

.browse.active:after {
	content: "\002013";
	font-size: 1.1em;
	padding-left: 7px;
}

/* COVERS SLIDE PANEL*/
#albums .thumbs {
	padding: 2% 0 0;
	display: none;
}

.filters {
	padding: 2% 0;
}
.filters select {
	border: 1px solid #74797f;
	color: #74797f;
	display: inline-block;
	height: 28px;
	line-height: 28px;
	padding: 4px;
}

.albumThumb {
	position: relative;
	cursor: pointer;
}


.albumThumb .mask {
	background-color: rgba(0, 0, 0, 1);
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: all .3s ease-out;
	-o-transition: .3s ease-out;
	-ms-transition: .3s ease-out;
	-moz-transition: .3s ease-out;
	-webkit-transition: .3s ease-out;
}
.albumThumb .mask:hover {
	opacity: .5;
}

#albums .albumName {
	font-size: .85em;
	line-height: 1.3em;
	padding: 0 2%;
}

.photoCount {
	font-size: .8em;
	padding: 0 2%;
}

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float: left;
	margin: 1% 0 1% 1.6%;
}

.col:first-child {
	margin-left: 0;
}

.col img {
	max-width: 100%;
	height: auto;
}

/*  GROUPING  */
.group:before, .group:after {
	content: "";
	display: table;
}

.group:after {
	clear: both;
}

/*  GRID OF SIX  */
/*.span_6_of_6 {
	width: 100%;
}

.span_5_of_6 {
  	width: 83.06%;
}

.span_4_of_6 {
  	width: 66.13%;
}

.span_3_of_6 {
  	width: 49.2%;
}

.span_2_of_6 {
  	width: 32.26%;
}*/

.span_1_of_6 {
	width: 15.33%;
	position: relative;
}

@media only screen and (max-width: 750px) {

	/* collapse to 3 column */
	.span_1_of_6 {
		width: 32.26%;
	}

	.span_1_of_6:nth-child(3n+1) {
		clear: both;
		margin-left: 0;
	}

	/* ALBUMS FOOTER */
	.albumsFooter {
		margin: 3% 0 1%;
		width: 100%;
	}

	/* display "top" button only for long album lists at smaller screen sizes*/
	.top {
		display: block;
		width: 100%;
		text-align: center;
		padding: 7px 0;
		background: #f2f2f2;
		transition: .3s ease-out;
		-o-transition: .3s ease-out;
		-ms-transition: .3s ease-out;
		-moz-transition: .3s ease-out;
		-webkit-transition: .3s ease-out;
	}

	.top:before {
		content: "\2191 \0020";
		font-size: 1.1em;
	}

	.top:hover {
		text-decoration: none;
		background: rgba(255, 255, 255, 0.8);
	}
}

@media only screen and (max-width: 480px) {

	/* collapse to 2 column */
	.span_1_of_6 {
		width: 49.2%;
	}

	.span_1_of_6:nth-child(3n+1) {
		clear: none;
		margin-left: 1.6%;
	}

	.span_1_of_6:nth-child(2n+1) {
		clear: both;
		margin-left: 0;
	}
}

/* collapse to 1 column */
@media only screen and (max-width: 320px) {

	.span_1_of_6 {
		width: 100%;
		margin-left: 0;
	}

	.span_1_of_6:nth-child(3n+1) {
		clear: both;
		margin-left: 0;
	}

	.span_1_of_6:nth-child(2n+1) {
		clear: both;
		margin-left: 0;
	}
}
