/*
Theme Name: Bruce M Sherman
Theme URI: http://brucemesherman.com/
Description: Portfolio theme.
Author: Joshua Johnson & Michael Capio
Version: 1.0
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	font-family: 'Optima', serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* JQuery Controls */

.inactive {
	display: none;
}

/* Structure */

html {
	background-color: #fff;
}

body {
	color: #111;
	background-color: #fff;
	font-size: 20px;
	line-height: 1.3em;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

#wrapper {
	background-color: #fff;
    position: relative;	
    margin: 0;
    padding: 0;	
}


#wrapper.fade {
	opacity: 0;
}

#content {
	margin-bottom: 80px;
}

h2, h3 {
	text-transform: uppercase;
}

h2 {
	font-size: 1.1em;
	line-height: 1.3em;
	margin-bottom: 1em;
}

h2.title-only {
	margin-bottom: 0;
}

a {	
	color: #111;
	text-decoration: none;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
} 

.grid:after {
	content: "";
	display: table;
	clear: both;	
}

.grid-pad {
  padding-left: 40px;
  max-width: 1400px;
  width: 80%;
  margin: 0 auto;
}
.grid-pad-right {
	padding-right: 40px;
}

.grid-pad > [class*='grid-item-']:last-of-type {
  padding-right: 40px;
}

.grid-pad-vert {
	padding-top: 40px;
	padding-bottom: 40px;
}

[class*='grid-item-'] {
  padding-right: 40px;
  float: left;
}

[class*='grid-item-']:last-of-type {
  padding-right: 0;
}

.grid-item-16 {
	width: 16.666%;	
}

.grid-item-20 {
	width: 20%;	
}

.grid-item-25 {
	width: 25% ;
}

.grid-item-30 {
	width: 30%;	
}

.grid-item-33 {
	width: 33.333%;
}

.grid-item-50 {
	width: 50%;
}

.grid-item-66 {
	width: 66.666%;
}

.grid-item-70 {
	width: 70%;	
}

.grid-item-75 {
	width: 75%;	
}

.grid-item-100 {
	width: 100%;
}

.img-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.landscape-img {
	width: 100%;
	padding-top: 75%;
	margin-bottom: 40px;
}

.img-info {
	position: absolute;
	text-align: center;
	top: 50%;
	left: 50%;	
	-ms-transform: translateX(-50%) translateY(-50%);
   	-moz-transform: translateX(-50%) translateY(-50%);
   	-webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.img-filter {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.8);
	-webkit-transition: opacity .5ms ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

.img-filter.fade {
	opacity: 0;
}

/* Header */

#header {
	text-align: center;
	margin: 0;
	padding: 3em;
	position: relative;
	z-index: 500;
}

#header h1 {
	text-transform: uppercase;
	font-size: 1.7em;
	line-height: 1em;
}

/* Menu */

#nav-toggle {
	position: fixed;
	bottom: 0;
	left: 50%;
	padding: 20px;
	background: #fff;
	color: #666;
	text-transform: uppercase;
	font-size: 1.1em;
	-ms-transform: translateX(-50%);
   	-moz-transform: translateX(-50%);
   	-webkit-transform: translateX(-50%);
    transform: translateX(-50%);
	z-index: 1000;
	cursor: pointer;
}

#nav-toggle::before {
	content: 'Menu';
}

#nav-toggle.active::before {
	content: 'Close';
}

#menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(250,250,250,.95);
	z-index: 900;
	-webkit-transition: visibility .5s, opacity .5s ease-in-out;
    -moz-transition: visibility .5s, opacity .5s ease-in-out;
    -ms-transition: visibility .5s, opacity .5s ease-in-out;
    -o-transition: visibility .5s, opacity .5s ease-in-out;
    transition: visibility .5s, opacity .5s ease-in-out;	
	
}

#menu.fade {
	opacity: 0;
	visibility: hidden;
}

ul.main-menu {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translateX(-50%) translateY(-50%);
   	-moz-transform: translateX(-50%) translateY(-50%);
   	-webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
	-webkit-transition: opacity .5s ease-in-out .5s;
    -moz-transition:  opacity .5s ease-in-out .5s;
    -ms-transition: opacity .5s ease-in-out .5s;
    -o-transition:  opacity .5s ease-in-out .5s;
    transition: opacity .5s ease-in-out .5s;	    
}

ul.main-menu.fade {
	opacity: 0;
}

ul.main-menu li {
	font-size: 1.25em;
	line-height: 1.75em;
	text-align: center;
	text-transform: uppercase;
}

/* Home */

.flexslider, ul.slides, ul.slides li {
	width: 100%;
	height: 100vh;
	background: #fff;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;	
}


.flexslider.loading .slides > li:first-child { opacity: 1 !important; }

.custom-nav .prev, .custom-nav .next {
	display: none;
	position: absolute;
	top: 50%;
	color: #fff;
	font-size: 2em;
}

.custom-nav .prev {
	left: 20px;
}

.custom-nav .next {
	right: 20px;
}


ul.slides {
	width: 100%;
	min-height: 100vh;
}

ul.slides li {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #fff;
}

ul.slides li {
	-webkit-transition: opacity 800ms ease-in-out;
    -moz-transition: opacity 800ms ease-in-out;
    -ms-transition: opacity 800ms ease-in-out;
    -o-transition: opacity 800ms ease-in-out;
    transition: opacity 800ms ease-in-out;
    text-align: center;
    width: 100%;
}

.slide-image-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	text-align: center;
	-ms-transform: translateX(-50%) translateY(-50%);
   	-moz-transform: translateX(-50%) translateY(-50%);
   	-webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);

}

img.slide-image {
	max-width: 80%;
	max-height: 60vh;
}

.slide-caption {
	margin-top: 20px;
}

.news-wrapper {
	position: relative;
	z-index: 100;
	margin: 80vh auto 100px auto;
	max-width: 80%;
	text-align: center;
	z-index: 500;
}

.news-content {
	margin-bottom: 40px;
}

/* Archive */

#view-button {
	margin: -30px 0 20px 0;
	line-height: 1em;
	font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: #666;
    text-align: center;
    cursor: pointer; 
    position: relative;
    z-index: 600;
}	

#view-button::before {
	content: "\f0c9";
}

#view-button.list-view::before {
	content: "\f009";
}

#grid-view, #list-view {
	-webkit-transition: height .5s, opacity .5s ease-in-out;
    -moz-transition: height .5s, opacity .5s ease-in-out;
    -ms-transition: height .5s, opacity .5s ease-in-out;
    -o-transition: height .5s, opacity .5s ease-in-out;
    transition: height .5s, opacity .5s ease-in-out;		
}

#grid-view.fade, #list-view.fade {
	opacity: 0;
	overflow: hidden;
	height: 0;
}

#list-view h3 {
	text-align: center;
	margin-bottom: 1em;
	font-size: 1.1em;
}

.list-info {
	text-align: center;
	margin-bottom: 40px;
}


/* Single */

.post-content {
	text-align: center;
	max-width: 80%;
	margin: 0 auto;
}

.post-image {
	text-align: center;
}

.post-image img {
	max-width: 100%;
	max-height: 80vh;
	margin-bottom: 40px;
	overflow: hidden;
}

.post-caption {
	text-align: center;
	margin-bottom: 40px;
}

@media only screen 
  and (max-width: 1800px) {
	
	body {
		 font-size: 18px;
	} 
	
}

@media only screen 
  and (max-width: 1200px) {
	  
	body {
		 font-size: 16px;
	}
	
	.grid-pad {
		width: 90%;	
	}
	
	img.slide-image {
		max-width: 90%;		 	
	} 
}

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

	body {
		 font-size: 14px;
	} 

	#header h1 {
	font-size: 1.5em;
	
}
	
	.grid-pad {
		width: 100%;	
	}
	
	.grid-item-50 {
		width: 100%;
	}		 
	
}