/* @override 
	http://matt3.dev/css/style.css
	http://mattbeaudry.dev/css/style.css */

/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #ddd; text-decoration:none; }
a:visited { color: #ffffff; }
a:hover { color: #fff; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 0 0; padding: 0 0 0 0; list-style: none; list-style-image: none;  }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

h1,h2,h3,h4,h5,h6 { margin:0px; }

/************************************
*************************************
Author: Matt Beaudry
*************************************
*************************************/

body {-webkit-font-smoothing: antialiased;text-rendering: optimizeLegibility;}
h1 {}
h2 {}
p {font-weight: 100;}
.theme-dark {background-color:#444;color:#ddd;}
.theme-dark h1 {color:#fff;}
.theme-dark a {color: #fff;font-weight: bold;}
.theme-light {background-color:#ddd;color:#444;}
.theme-light h1 {color:#000;}
.theme-light a {color: #000;font-weight: bold;}

/******************
GENERAL
******************/

/* clearfix bro! */
.group:before, .group:after {content:"";display:table;}
.group:after {clear:both;}
.group {zoom:1; /* For IE 6/7 (trigger hasLayout) */}



/******************
LAYOUT
******************/

.container {display:block;width:90%;margin:0 5%;margin: 0 auto;}




/******************
COLORS
******************/

.top {background: #5A9ABF;text-align: center;padding: 20px;}
.instagram { background: #e8e5df; }
.subheader {text-align: center;background:#f0eeea;}
.subheader a {color: #000;text-decoration:underline;}
.subheader .container { max-width: 600px; }
.twitter { background: #5a9abf; color:#fff;}
.footer { /* background: #5d6264; */background: #5A9ABF;}




/******************
FONTS
******************/

body {font-family: 'Open Sans', sans-serif;}
.twitter-username {font-family: 'Average', Georgia, serif;font-size:1.1em;}
.tweet-content {font-size:1em;}
.creative > section > h1, 
.network > section > h1 {
	font-size:2em;font-weight:normal;font-family: 'Average', Georgia, serif;
	text-align: center;font-size: 3em;margin: 1em 0 1em;
}
.network, .creative, .twitter, .footer .copyright {  }


/******************
HEADER
******************/

.site-navigation {
	border-width:1px 0;list-style:none;margin:20px 0 0 0;padding:0;text-align:center;width: 100%;
}
.site-navigation li{display:inline;}
.site-navigation a {
	display: inline-block;padding: 5px 15px;margin: 0 10px;border: solid 2px #fff;border-radius:21px;
	color: #fff;transition: all 0.3s;font-size: 1.2em;font-weight: 700;text-transform: uppercase;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.site-navigation a.active {
	position:relative;
}
.site-navigation a.active::after {
	content:"";display:block;width:10px;height:10px;margin-left:-5px;
	position:absolute;bottom:-20px;left:50%;
	background-color:#fff;border-radius:5px;
}
.site-navigation a:hover{color:#5A9ABF;background-color:#fff;text-shadow: 0px 2px 2px rgba(0, 0, 0, 0);}
.top-drop {
	display:none;position:absolute;top:45px;background-color:#ffffff;width:160px;height:50px;
	color:#5b6062;margin-left:-50px;padding:5px 10px 5px 10px;
	border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px;
}
.mb {
	font-family: 'Average', Georgia, serif;text-align:center;width: 100%;font-size: 2.8em;font-weight:normal;
	color:#ffffff;text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);margin:0 0 0 0;
}
.mb a{color:#fff;transition:all 0.3s;white-space: nowrap;}
.mb a:hover{color:#efefef;}
.mb span { transition:all 0.3s;display: inline-block; }
.mb a:hover span { 
  	transform:rotate(15deg);-ms-transform:rotate(15deg);-webkit-transform:rotate(15deg);
}

@media only screen and (max-width: 767px) {
	 
	 .top { padding-top:80px; }
	 .site-navigation {
	 	position:fixed;top:0;left:0;width:100%;margin:0;padding:20px 0;
	 	background-color:#555;cursor:pointer;
	 }
	 .site-navigation ul {  }
	 .site-navigation ul li { display:block;margin:0; }
	 .site-navigation a {
	 	padding: 0;display: block;width: 40px;
		font-size: 0em;margin: 0 auto 5px;pointer-events: none;
	 }
	 /*.site-navigation ul:active li a {
	 	background-color:transparent;padding: 5px 15px;font-size:1.2em;margin-bottom:10px;
	 }*/
	 .site-navigation.nav-expanded a {
	 	font-size:1.2em;padding:5px 15px;pointer-events:auto;width:80px;
	 }
	 .site-navigation.nav-expanded a:hover {
	 	color:#444;
	 }
	 
}



/******************
INSTAGRAM LAYER
******************/

.instagram {max-height: 150px;overflow: hidden;}
.shadow-top {position: absolute;height: 38px;width: 100%;background: url('../images/bg-shadow-top.png') repeat-x;}
.instagram {max-width:none;}
.instagram ul {  }
.instagram ul > li {display: inline;margin-right: 0px;}
.instagram ul > li:last-child {margin-right: 0px;}
.instagram ul > li > img {width:70px;height:70px;}
.instagram-icon {position: relative;cursor: pointer;}
.instagram-icon > img {width:71px; height:38px;}
.instagram-photos {width:3000px;}
.instagram .thumbnail { height:75px !important;width:75px !important; }
.media-grid a { border: none;padding: 0 !important;margin: 0 !important; }
.media-grid li { border: none;padding: 0 !important;margin: 0 !important; }
.instagram-photos a img {height: 75px !important;width: 75px !important;}

@media only screen and (min-width: 767px) {
	.instagram-photos { display:block; }
	.instagram {max-height: 150px;}
	.media-grid a img { height: 150px !important;width: 150px !important; }
	.instagram-icon {}
}



/******************
TWITTER LAYER
******************/

.twitter {padding:80px 0 80px 0;}
.tweets {
	width: 100%;border-radius: 10px;max-height:200px;float:left;overflow:hidden;
	background-color: rgb(200, 200, 200);background-color: rgba(255, 255, 255, 0.2);
}
.tweets-wrap {}
.tweets > .tweets-wrap > li {
	float:left;width:92%;padding:20px;
	margin-bottom:100px;margin-right:0%;height:220px;
}
.tweets > li:last-child {margin-right:0%;}
.twitter-avatar {float:left;padding-bottom:80px;margin-right:20px;}
.twitter-username {margin-bottom:5px;}
.tweet-content {margin:0px 0px 0px 0px;}
.twitter-button {
	display:block;z-index:5;float:left;text-align: center;width:100%;margin-bottom:10px;
}



/******************
PROFESSIONAL LAYER
******************/
.bv02 {padding-bottom:40px;padding-top:40px;}
.bv02-logo{float:left;display: block;overflow: hidden;}
.bv02-logo img{width:82px;height:82px;margin-top:-40px;}
.bv02-links {width:100%;}
.bv02-links li {float:left;display:block;width:23%;margin-right:2%;}
.bv02-links li:last-child {margin-right:0;}
.bv02-links > li > a > span {
	position:relative;top:-27px;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.6);
	padding:2px 5px 5px 5px;margin-bottom:5px;
}
.bv02-links > li > a > img {float:left;width:100%;}
.bv02 ul {width:100%;display:block;float:left;margin-top:40px;}
.bv02-subtitle {
	margin: 0 auto;max-width: 600px;display: block;width: 100%;text-align: center;
}


/******************
SOCIAL / CREATIVE LAYER
******************/

.creative, .network {padding-top:40px;}
.creative a, .network a {text-decoration:underline;}
.network { color:#F0EEEA;background: #444; }
.network a {color:#aaa;}
.creative > section > h1, .network > section > h1 {margin-bottom:40px;}
.network-title {font-size:1.5em;font-weight: normal;font-family: 'Average', Georgia, serif;}
.network-links {  }
.network-link {width:100%;padding-right:0%;}
.network-link:last-child {margin-right:0%;}
.network-link p {margin-top:25px;}
.network-icon {
	display:block;float:left;width:90px;height:90px;
	margin-right:20px;margin-bottom:40px;transition:all 0.5s;
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
	padding: 15px;background-color:#f0eeea;border: solid 10px #f0eeea;border-radius:50%;
}
.network a:hover.network-icon {border-color: #5A9ABF;border-width:10px;background-color:#fff;}
.network-icon img {}
.creative { background: #f0eeea; color:#555;}
.creative a{color:#000;} 
.creative .network-icon {border-color:#dcdad6;background-color: #dcdad6;}
.creative :hover.network-icon { border-color: #444; }
  


/******************
WORK 
******************/
.project-images {background-color:#444;}
.work-title {
	display:block;color:#fff;margin-top:-120px;margin-left:60px;
	/*background-color:rgba(0,0,0,0.7);*/padding:30px;
}
.projects {padding:20px 0;}
.project-tech {font-weight: 100;}
.project-tech li {
	float: left;margin: 0 10px 10px 0;padding: 5px 12px;border-radius:;
	font-weight: bold;text-transform: uppercase;font-family: verdana, arial;
}
.theme-dark .project-tech li {background-color: #ddd;color: #000;}
.theme-light .project-tech li {background-color: #444;color: #fff;}
.work .bv02-logo {overflow:visible;margin-top:-60px;}
.work-item {float: left;margin-bottom:120px;}
.work-info {float:left;width:100%;}
.work-image {float:left;width:100%;max-width:568px;margin-bottom:40px;}
.work-image img {width:100%;}




/******************
FOOTER
******************/

.footer {min-height:100px;color:#fff;padding-top:40px;}
.footer .copyright {  }
.footer .container {text-align:center;}




/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 767px) {
	/* Style adjustments for viewports that meet the condition */

	.container {max-width:960px;}
	.grid-half {}
	.mb {font-size: 6.5em;}
	.top {padding-top: 30px;height:205px;}
		

	.network-link {float:left;width: 40%;padding-right: 5%;padding-left: 5%;}
	.bv02-subtitle {}
	.creative > section > h1, 
	.network > section > h1 {  }
	.tweets > .tweets-wrap > li {width:40%;margin-bottom:100px;margin-right:2%;}
	.network-icon {width:130px;height:130px;padding:9%;}
	.network-icon img {  }
	.network, .creative, .twitter, .footer .copyright {  }
	.tweets {width: 90%;margin-right: 5%;margin-left: 5%;}
	.work-info {width:40%;}
	.work-image {width:60%;}
	.projects {padding:80px 0;}
	h1 { font-size: 2.5em; }
	h2 {  }
	p {  }

}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1) { 
  
  /* Retina-specific stuff here */
  

}













/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
