/*
Theme Name: The Nerdy Bird
Author: 801red
Author URI: http://www.801red.com
*/

/* IMPORTS */
@import url(css/kickstart-grid.css);
@import url(css/slimbox2.css);
@import url(css/reset.css);

/* COLOR SELECTORS*/
.white { color:#FFF; }
.black { color:#000; }
.blue { color:#004358; }
.bg-blue { background-color:#004358; }
.teal { color:#1F8A70; }
.bg-teal { background-color:#1F8A70; }
.orange { color:#FDA500; }
.bg-orange { background-color:#FDA500; }
.green { color:#BEDB39; }
.bg-green { background-color:#BEDB39; }
*[class*="bg-"] { color:#FFF; }
/* MIXIN */

/**
 * 1.0 Reset
 * ----------------------------------------------------------------------------- */
@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 568px) {
}
@media all and (min-width: 568px) and (max-width: 800px) {
}
/**
 * 2.0 Global
 * ----------------------------------------------------------------------------- */
 
/* INNER BOX PADDING FOR RESPONSIVE COLUMNS */
* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
}

/* CLEAR FIX */
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }

/* BASIC SETUP */
body {
	font-family: Lato, Helvetica, Arial, sans-serif;
	font-size:14px;
	background-color:#004358;
}

/* TYPOGRAPHY */

/* Headings */
h1, h2, h3, h4, h5, h6, p {
	margin:0 0 12px;
	padding:0;
}
h1, h1 a {
	font: 300 32px/36px Lato, Helvetica, Arial, sans-serif;
	text-decoration: none;
}
h1.slide {
	font: 36px/40px Lato, Helvetica, Arial, sans-serif;
	text-transform:none;
	color:#FFF;
}
h2, h2 a {
	font: 28px Lato, Helvetica, Arial, sans-serif;
	text-decoration: none;
}
h3 {
	font: 700 24px Lato, Helvetica, Arial, sans-serif;
}
h4 {
	font: 300 20px Lato, Helvetica, Arial, sans-serif;
	text-transform:uppercase;
}
h5 {
	font: 700 16px Lato, Helvetica, Arial, sans-serif;
	text-transform:uppercase;
	color:#666;
}
h6 {
	font: 700 16px Lato, Helvetica, Arial, sans-serif;
}

/* Text elements */
p {
}
p, li {
	font: 16px/24px Lato, Helvetica, Arial, sans-serif;
}
strong { font-weight:700; }
em { font-style:italic; }
p:last-child {
	margin-bottom:0;
}
a {
	color:#000;
}
.home a {
	color:#FFF;
}
a:hover {
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
blockquote {
	background-color: #f9f9f9;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin:10px 50px;
	padding:10px;
	display:inline-block;
}
blockquote > p:first-child:before, .blockquote > p:first-child:before {
  content: open-quote;
}
blockquote > p:last-child:after, .blockquote > p:last-child:after {
  content: close-quote;
}
blockquote p, .blockquote p {
	font-style:italic;
}
blockquote p em, .blockquote p em {
	font-style: normal;
}

/* TABLES */
table {}
tr { height:40px; }
th { vertical-align:middle; text-align:right; padding:0 10px; }
td:first-child { width:35%; }
td { padding:6px; }
table.lined td { border-bottom:1px dotted #ddd; }	

/* FORMS */
#searchform {
	display:inline; 
}
.searchbox {
	background-color: #CCC;
	border:none;
	width:0;
    -webkit-transition: width .5s; /* Safari */
    transition: width .5s;
	color: #000;
	font: 10px/18px proxima-nova, sans-serif;
	height: 22px;
	vertical-align: top;
	margin-left: 5px;
	padding:0;
    -webkit-appearance: none;	
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	border-radius: 0 !important;
}
.searchbox.open {
	width:300px;
	padding:2px;
}
input, textarea {
	border:solid 1px #999;;
	width:100%;
	padding:6px;
}
input.radio { width:auto; }
.wpcf7-submit {
	background-color: #02a297;
	border: medium none;
	color: #fff;
	display: block;
	float: right;
	width: auto;
	margin: 20px 6px;
	text-transform: uppercase;
	padding: 6px 28px;
	cursor:pointer;
}
/* TAGS */
.hidden    { display:    none !important; }

.block        { display: block        !important; }
.inline       { display: inline       !important; }
.inline-block { display: inline-block !important; }

.left  { float: left  !important; }
.right { float: right !important; }

.text-left   { text-align: left   !important; }
.text-center { text-align: center !important; }
.text-center ul { margin-left: 0; list-style-position:inside; }
.text-right  { text-align: right  !important; }

.hide{display:none;}
.show{display:block;}

.big { font-size: 125%; }
.small { font-size: 75%; }
.caps { text-transform:uppercase; }
.rounded {
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
}
.round {
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
.border {
	border:1px solid #000;
}
.boxShadow {
	box-shadow: 0 1px 0 #E6E6E6;
	border-bottom: 1px solid #999999;
}
.textShadow {
	text-shadow: 0 0 6px #054172;
}
.shadow {
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=0, Color='#999999')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=5, Color='#999999');
}
.grayscale {
	-webkit-filter: grayscale(1); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%);
	filter: gray; filter: grayscale(100%);
	filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
}
.menu-toggle { display:none; }
.borderBottom {
	border-bottom:solid 1px #999;
	padding-bottom:20px;
	margin-bottom:20px;
}
.fade {
	transition: opacity .2s ease-out;
	-moz-transition: opacity .2s ease-out;
	-webkit-transition: opacity .2s ease-out;
	-o-transition: opacity .2s ease-out;
	opacity:1;
}
.fade:hover {
	opacity:0.8;
}
.relative {	position:relative; }
.absolute {	position:absolute; }
.middle { position: relative; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -o-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); display:block; }
.no-margin { margin:0; }
.none { padding:0; margin:0; }
.breakpoint > div:nth-child(3n+1) {
	clear: left;
}
.masonry { /* Masonry container */
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
    -moz-column-gap: 1em;
    -webkit-column-gap: 1em;
    column-gap: 1em;
}
.masonry > article { /* Masonry bricks or child elements */
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
	-webkit-column-break-inside:avoid;
	-moz-column-break-inside:avoid;
	-o-column-break-inside:avoid;
	-ms-column-break-inside:avoid;
	column-break-inside:avoid;
}
/**
 * 3.0 Layout
 * ----------------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
}
/**
 * 4.0 Header
 * ----------------------------------------------------------------------------- */
header {
	padding:6px 0 10px;
	background-color:#FFF;
}
.logo {
	background-image: url(images/The-Nerdy-Bird-logo.png);
	background-repeat: no-repeat;
	background-position: center center;
	text-indent: -9999px;
	display: inline-block;
	float: left;
	width: 270px;
	margin-top:10px;
	min-height:65px;
	background-size:contain;
}
/**
 * 5.0 Navigation
 * ----------------------------------------------------------------------------- */

nav ul { margin:0; padding:0; list-style-type:none; }
nav ul li { display:inline-block; }

/* MAIN NAVIGATION */
.mainNav {
	float:right;
	clear:right;
	padding-top:10px;
}
.mainNav ul {
}
.mainNav ul li {
	display:inline-block;
}
.mainNav > ul > li {
	margin-left:10px;
}
.mainNav ul li a {
	transition: color 0.2s ease-out;
	-moz-transition: color 0.2s ease-out; /* Firefox 4 */
	-webkit-transition: color 0.2s ease-out; /* Safari and Chrome */
	font: 12px Lato, Helvetica, Arial, sans-serif;
	-o-transition: color 0.2s ease-out; /* Opera */
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
	display:block;
	padding:6px;
	border-bottom:solid 4px transparent;
}
.mainNav > ul > li:hover > a,
.mainNav > ul > li.current_page_item > a,
.mainNav > ul > li.current-menu-item > a,
.mainNav > ul > li.current-page-ancestor > a {
	border-bottom:solid 4px #004358;
}
.mainNav ul li:hover > ul {
	display: block;
	border-bottom: solid 1px #424E4F;
	/* transition: background-color 0.5s linear 0s; */
}
.mainNav ul li ul {
	display: none;
	position: absolute;
	z-index: 999;
}
.mainNav ul li ul li {
	float:none;
	display:block;
	width:100%;
	height:auto;
	position:relative;
}
.mainNav ul li ul li:hover {
	background:none;
}
.mainNav ul li ul li:last-child {
}
.mainNav ul li ul li a {
}
.mainNav > ul > li.menu-item-has-children > a:after {
	content: "\f107";
	font-family: 'FontAwesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	float: right;
	display: block;
	width: 10px;
	font-size: 14px;
	padding-left: 5px;
}
.mainNav ul li ul li:hover > a {
}
.mainNav ul li ul li:last-child {
}
.mainNav ul li ul li ul {
	left: 100%;
	width: 100%;
	top: 0;
}
/* MAIN NAV RESPONSIVE */
	.toggle, .mobileNav { display:none; }
	@media only screen 
	and (min-width: 320px) 
	and (max-width: 568px) {
		.mainNav {
			display: none !important;
		}
		.toggle {
			position: relative;
			top: 0;
			right: 0;
			text-indent: -9999px;
			white-space: nowrap;
			overflow: hidden;
			width: 100%;
			height: 36px;
			background: url(images/menu.png) no-repeat center center;
			cursor: pointer;
			z-index: 99;
		}
		.mobileNav {
			display: block !important;
			visibility:visible;
			font: 500 1em Arimo, Arial, Helvetica, sans-serif;
			text-transform:uppercase;
		}
		.mobileNav ul {
			list-style-type:none;
		}
		.mobileNav a {
			color: #FFF;
		}
	}
/**
 * 6.0 Asides
 * ----------------------------------------------------------------------------- */

/* SIDEBAR */
aside {
}
aside ul {
	list-style-type:none;
}
aside > ul > li {
	padding:15px;
	background-color:#FFF;
	margin-bottom:15px;
	border-top:solid 10px #004358;
	box-shadow:0 0 6px rgba(0,0,0,.6);
}
aside ul li ul li {
	margin-bottom:10px;
}
aside .sidebar-thumb {
	float:left;
	margin-right:10px;
}
/* WIDGETS */
input#mce-EMAIL.email {
}

/**
 * 7.0 Content
 * ----------------------------------------------------------------------------- */

/* SLIDESHOW */
ul.slideshow {
	margin:0;
	padding:20px 0;
}
.bx-wrapper, ul.slideshow li, .mainImg {
	height: 390px;
}
ul.slideshow li {
	visibility:hidden;
}
ul.slideshow li > div {
	display:table !important;
}
ul.slideshow li > div > div {
	display:table-cell;
	vertical-align:middle;
	padding:0 20px;
}
ul.slideshow li > div > div:first-child {
	width:50%;
	padding:0;
}
.mainImg {
	background-image: url(images/background-header.jpg);
	background-position: center top;
	background-size:cover;
}
#mainBody {
	padding:15px 0;
	background-color:#FFF;
}
#mainBody > .grid {
	margin-top:-350px;
}
.home #mainBody > .grid {
	margin-top:0;
}
.module {
	padding:15px;
}
.more {
	position:absolute;
	bottom:15px; right:15px;
	color:#FFF;
	font-size:16px;
	text-transform:uppercase;
}
.content {
	padding:15px;
	background-color:#FFF;
	border-top:solid 10px #004358;
	box-shadow:0 0 6px rgba(0,0,0,.6);
}
.bio {
	border-radius: 6px;
	border: #ccc solid 1px;
	margin:20px 0;
	padding:10px;
	width:100%;
	display:inline-block;
}
/* WORDPRESS */
.widgets, .widget ul { list-style: none; margin: 0; padding: 0; }
.alignleft { float: left; margin: 0 20px 0 0; }
.alignright { float: right; margin: 0 0 0 20px; }
.aligncenter { display: block; margin: 0 auto; }
.navigation { clear:both; padding:15px 0; }
.navigation a { 	font: 300 20px Lato, Helvetica, Arial, sans-serif; color:#1F8A70;}
p.postmetadata { font-family: Lato, Helvetica, Arial, sans-serif; }
.byline {}
.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}
.after-post-content {
	background-color: #004358;
	border-radius: 6px;
	margin:40px 0 20px;
	padding:10px;
	display:inline-block;
	text-align:center;
}
.after-post-content p, .after-post-content a {
	font-size:20px;
	line-height:30px;
	color:#FFF;
}
/* SOCIAL ICONS */
.social {
	float:right;
	font-size:20px;
	text-align:center;
	line-height:20px;
}
.social a {
	color:#000; 
	width:20px;
	margin-left:10px;
}

/* BUTTONS */
.button {
	font: 700 18px Lato, Helvetica, Arial, sans-serif;
	background-color:#BEDB39;
	color:#FFF;
	display:inline-block;
	text-align:center;
	text-transform:uppercase;
	text-decoration:none;
	padding:6px 10px;
}
.button a {
	color:#FFF;
	text-decoration:none;
}
.button a:hover {
	text-decoration:underline;
}
aside .button {
	width:100%;
}
.button.white {
	border:solid 1px #FFF;
	background-color:transparent;
}

/* COMMENTS */
ol.commentlist{
    margin: 10px 5px;
    padding: 10px;
}
.commentlist .comment-body{
    padding: 10px;
    background: #EFEFEF;
    border: solid thin #DEDEDE;
    margin: 10px 0;
    position: relative;
}
.comment-body a.comment-reply-link{
    position: absolute;
    top: 10px;
    right: 10px;
    color: #AEAEAE;
}
ol.commentlist li{
    list-style: none;
}
ol.commentlist li ul li {
	margin-left:40px;
}
ol.commentlist img.avatar{
    padding: 5px;
    background: #DEDEDE;
    border: solid thin #CECECE;
    float: left;
    display: block;
    margin: 15px;
    width: 32px;
    height: 32px;
}
ol.commentlist .comment-author{
    line-height: 25px;
}
.comment-body cite.fn{
    font-size: 14px;
    font-style: normal;
}
.commentmetadata a{
    margin: 0;
    font-size: 11px;
    color: #999;
}
.comment-body p{
    margin: 5px;
}
.comment-body .comment-author.vcard{
    margin: 0;
}

/**
 * 8.0 Footer
 * ----------------------------------------------------------------------------- */

/* FOOTER */
footer.grid {
	text-align:center;
	padding:15px;
}
footer .social {
	float:none;
	font-size:24px;
}
footer .social a {	color:#FFF; }
footer .social i {	width:28px; }
/* COLOPHON */
#colophon {
	font-size:10px;
	padding:10px 0;
	margin:0 auto;
}
#colophon p {
	color:#fff;
	font-size: 10px;
	margin:0;
}