/*
Theme Name: Blank Slate
Author: Andrew Fox
Author URI: http://normalnumber.com
Description: Clean
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: Blank Slate

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents
 *
 * 1.0 - Reset
 
 */


/**
 * 1.0 - Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine work of
 * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 * and Blueprint http://www.blueprintcss.org/
 */

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

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

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}



/**** LINK STYLES *****/

a {
	color: rgb(60,163,230);
	text-decoration: none;
	opacity: .85;
	 transition: opacity .15s ease-in-out;
	-moz-transition: opacity .15s ease-in-out;
	-webkit-transition: opacity .21s ease-in-out;
}

.contact a {
	color: rgb(3,186,50);
}

a:focus {
	outline: none;
	outline:0 none;
}

a:hover,
a:active {
	outline: 0;
}

a:hover {
	color: rgb(60,163,230);
	opacity: 1;
	
}

.contact a:hover {
	color: rgb(3,186,50);
}

a img {
	border: 0;
}

/**** General Structure *****/

html, body {
	height: 100%;
}

#content {
	min-height: 400px;
}


body {
	background: #fff;
	color: #000;
	font-family:  'Lato', Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .3px;
}

#page {
	max-width: 900px;
	margin: 0 auto;
	padding:20px;
	position: relative;
}

#header {
	position: relative;
	width: 100%;
	margin-bottom: 80px;
}


#logo {
	max-width: 33%;
	height: auto;
	margin-top: 20px;
	z-index: 1001;
}

#nav {
	position: absolute;
	top: 20px;
	right: 0px;
}

.menu-item a {
	font-size: 18px;
}

#overlay, #video-overlay {
	position: fixed;
	height: 100%;
	width: 100%;
	background: rgba(255,255,255,.95);
	display: block;
	top: 0px;
	left: 0px;
	z-index: 1000;
	padding: 20px;
	display: none;
}

.toggle {
	cursor: pointer;
	margin-bottom: 60px;
}

#nav-inner {
	padding: 20px;
	width: 900px;
	text-align: right;
	margin: 0 auto;
	position: relative;
	height: 100%;
}

#nav-inner .nav-item:first-child {
	margin-top: 120px;
}

.nav-item {
	margin-bottom: 60px;
}

#nav-inner li.current-menu-item a {
	font-weight: bold;
	opacity: 1!important;
}

#nav-contact {
	position: absolute;
	bottom: 0px;
	right: 20px;
	margin-bottom: 0px;
}

.section {
	margin-bottom: 100px;
}

.section-title {
	margin-bottom: 20px;
	font-size: 18px;
	color: rgb(60,163,230);
	text-transform: uppercase;
}

h1.section-title {
	font-size: 24px;
	margin-bottom: 40px;
}

.section-break {
	padding-top: 20px;
}

.text {
	text-align: left;
}

.text p, .text div{
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 18px;
}

.section.text div{
	font-size: 16px;
	line-height: 22px;
}

.section-break {
	width: 100%;
	text-align: center;
	margin-bottom: 80px;
	margin-top: -20px;
}

.more {
	height: 25px;
	width: 25px;
	background-image: url('images/down_arrow.png');
	background-size: cover;
	text-indent: -9999px;
	display: inline-block;
}


/*****  VIDEO STYLES *****/

a.play {
	opacity: 1!important;
}

.videos {
	
}

.video {
	position: relative;
	width: 270px;
	height: 152px;
	overflow: hidden;
	display: inline-block;
}

.video img {
	height: 203px;
	width: auto;
	margin-top: -26px;
}



.video iframe, .featured-video .video, .featured-video img  {
	width: 100%;
	height: auto;
	position: relative;
	margin: 0px;
}

.video-title {
	position: absolute;
	bottom: 0px;
	color: rgb(60,163,230);
	background: rgba(0,0,0,.8);
	width: 100%;
	padding: 4px;
	font-size: 10px;
	display:none;
	
}

.featured-video .video {
	width: 100%;
	height: auto;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	display: block;
	color: 
}

#video-hold {
	padding-top: 8%;
}

#video-overlay .featured-video .video {
	width: 100%;
	height: auto;
	position: relative;
	padding-bottom: 42.25%; /* 16:9 */
	padding-top: 0px;
	height: 0;
	display: block;
}


.featured-video  iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.video .play {
	position: absolute;
	height: 100px;
	width: 100px;
	background-image: url('images/play.png');
	background-size:cover;
	display: block;
	top: 50%;
	margin-top: -50px;
	left: 50%;
	margin-left: -50px;
	z-index: 100;
	text-indent: -9999px;
}

.video-thumbnail {
	position: absolute;
	top: 0px;
	left: 0px;
}

#video-overlay-close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 36px;
}

/*********** Case Study ***************/

.case-study {
	width: 100%;
	height: 300px;
	position: relative;
	display: block;
	
}

.case-study-coat {
	overflow: hidden;
	width: 100%;
	height: 300px;
	position: relative;
	border-top: 1px solid rgb(60,163,230);
	border-bottom: 1px solid rgb(60,163,230);
}

.case-study-wrap {
	height: 300px;
	position: absolute;
	top: 0px;
	left: 0px;
	width: auto;
	white-space: nowrap;
	
}

.case-study-item {
	width: 300px;
	display: inline-block;
	position: relative;
	height: 100%;
	vertical-align: top;
	white-space: normal;
}

.case-study-meta {
	text-align: center;
}

.case-study-meta img{
	max-width: 250px;
	height: auto;
}

.case-study-text {
	padding: 20px;
	height: 300px;
	overflow: scroll;
	
}

.v-table {
	display: table;
	height: 100%;
	width: 100%;
}

.v-cell {
	display: table-cell;
	vertical-align: middle;
}

.case-study-text p, .case-study-text div {
	font-size: 12px;
}



.case-study-nav {
	position: relative;
	float: right;
}

.case-study-image {
	text-align: center;
}

.case-study-image img {
	max-width: 90%;
	height: auto;
}

.inactive {
	opacity: .2;
}

.inactive:hover {
	opacity: .2!important;
}

#case-study-thumbs {
	margin-top: 20px;
}

#homepage-case-study {
	margin-bottom: 160px;
}

/*********** Feeds ***************/

#feeds {
	vertical-align: top;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.feed-item {
	  display: inline-block;
	overflow: hidden;
	padding: 0 10px;
	vertical-align: top;
	width: 300px;
	white-space: normal;
	font-size: 12px;
}

.feed-header {
	padding-bottom: 30px;
	font-size: 18px;
	color:rgb(60,163,230);
	vertical-align: top
}

.feed-header img {
	height: 30px;
	width: auto;
	position: relative;
	top: 8px;
}

.feed-item .post {
	margin-bottom: 40px;
}

.text .feed-content p, .text .feed-content  div, .section.text .feed-content div, .feed-content {
	font-size: 12px!important;
	line-height:normal!important;
}

.feed-content .post-title {
	font-size: 14px;
	max-width: 250px;
}

/*********** Footer ***************/

#footer {
	margin-top: 40px;

	padding-bottom: 40px;
}

.footer-item {
	display: inline-block;
	width: 49%;
	vertical-align: top;
	padding-bottom: 40px;
}

#footer-socials {
	text-align: right;
}

.top {
	width: 100%;
	text-align: center;
	display: block;
}

#footer-inner {
	max-width: 900px;
	margin: 0 auto;
}



/*********** Client ***************/

.client {
	width: 140px;
	height: 140px;
	margin-right: 30px;
	margin-bottom: 40px;
	display: inline-block;
	vertical-align: top;
}

.repped {
	width: 100%;
	margin-bottom: 80px;
}

#rep-select-wrap {
		margin-bottom: 40px;
}

.client img {
	width: 100%;
	height: auto;
}

.rep-logo img {
		width: 140px;
		height: auto;
}

.rep-logo {
		margin-bottom: 20px;
		display: block;
}

#case-study-thumbs .client {
	width: 60px;
	margin-right: 25px;
	height: auto;
	margin-bottom: 25px;
}

.testimonial {
	margin-bottom: 20px;
	font-size: 16px;
}


/**********  Video Page ************/

#all-videos .video, #client-videos .video, .rep-videos .video  {
	
	margin-right: 25px;
	margin-bottom: 20px;
	
}

#all-videos .video:nth-child(3n), #client-videos .video:nth-child(3n), .rep-videos .video:nth-child(3n) {
	margin-right: 0px;
}

#cat-select, #rep-select {
	border: 1px solid rgb(60,163,230);
	display: inline-block;
}

/**********  News Page ************/

#post-functions {
	float: right;
	margin-right: 5px;
}

#post-functions a {
	margin-left: 5px;
}

#all-news .post, .archive .post {
	margin-bottom: 40px;
	max-width: 600px;
}

.post-title {
	font-size: 18px;
}

.post-date {
	font-size: 10px;
	margin-bottom: 10px;
}

.post p {
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 22px;
}

#archives {
	display: none;
}

#archives li {
	list-style: none;
}



/********* About ***********/
.page-id-20 .text p, .page-id-20 .text div{
	font-size: 16px;
	line-height: 22px;
}






/********* Mobile Fixes ***********/

@media screen and (max-width:800px){
	
	
	#nav-inner {
		width: 100%;
		padding: 20px 0px;
	}
	
	.feed-item {
		width: 100%;
		display: block;
		margin-bottom: 80px;
	}
	
	.footer-item {
		 display: inline-block;
		float: left;
		padding-bottom: 40px;
		vertical-align: top;
		width: 100%;
	}
	
	#footer-socials {
		text-align: left;
	}
	
	#all-videos {
		text-align: center;
	}
	
	#all-videos .video, #client-videos .video {
	
		margin: 0px 0px 25px 25px;
	}
	
	#all-videos .video:nth-child(3n), #client-videos .video .video:nth-child(3n){
		margin: 0px 0px 25px 25px;
	}
	
	
	#video_hold {
		padding-top: 25%;
	}
	
	#post-functions {
		margin-top: -45px;
	}
	
	.case-study-coat {
		height: 300px;
		overflow-x: scroll;
		overflow-y: hidden;
		position: relative;
		width: 100%;
	}
	
	.case-study-nav {
		display: none;
	}
	
	.case-study-text {
		overflow: hidden;
	}
	
	#nav-contact {
	position: relative;
	bottom: auto;
	right: auto;
	margin-bottom: 60px;
	}
	
	#video-hold {
		padding-top: 100px;
	}
}


@media screen and (max-width:500px){
	
	#all-videos .video, #client-videos .video, .repped .video  {
	
		margin: 25px 0px;
	}
	
	#all-videos .video:nth-child(3n), #client-videos .video .video:nth-child(3n), .repped .video:nth-child(3n) {
		margin: 25px 0px;
	}
	
	
}
	
}
