/*
Theme Name: NICU Family Alliance
Author: Monster Design Co.
Author URI: http://monsterdesignco.com
Description: Custom Theme for NICU Family Alliance

/* ------------------- FONTS -------------------

	font-family: "Gotham A", "Gotham B";
	font-style: normal;
	font-weight: 300;

*/

@font-face {
  font-family: 'icomoon';
  src:  url('/wp-content/themes/nicu/fonts/icomoon.eot?pa0m8f');
  src:  url('/wp-content/themes/nicu/fonts/icomoon.eot?pa0m8f#iefix') format('embedded-opentype'),
    url('/wp-content/themes/nicu/fonts/icomoon.ttf?pa0m8f') format('truetype'),
    url('/wp-content/themes/nicu/fonts/icomoon.woff?pa0m8f') format('woff'),
    url('/wp-content/themes/nicu/fonts/icomoon.svg?pa0m8f#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-cancel:before {
  content: "\e901";
}
.icon-menu:before {
  content: "\e900";
}


/* YUI 3.5.0 reset.css (http://developer.yahoo.com/yui/3/cssreset/) - http://cssreset.com */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

/* ------------------- BASIC LAYOUT ------------------- */

body {
	font-size: 16px;
	line-height: 100%;
	color: #7e7e7e;
	font-weight: 300;
	font-family: "Gotham A", "Gotham B";
	font-style: normal;
	letter-spacing: .05em;
}

header {
	padding: 15px 5%;
	position: fixed;
	top: 0;
	left: 0;
	width: 90%;
	background: #fff;
}

nav {
	float: right;
	position: relative;
}

nav ul {
	padding: 0;
	top: 26px;
	position: absolute;
	-webkit-transition: top 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	-moz-transition: top 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	-ms-transition: top 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	-o-transition: top 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	transition: top 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	right: 5%;
	width: 1200px;
	text-align: right
}

nav ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: .75em;
	padding: 0 0 0 35px;
	font-weight: 700;
}

nav ul li a {
	color: #7e7e7e;
	text-transform: uppercase;
}

.menu-btn {
	display: none;
	color: #7e7e7e;
	padding: 10px 0;
}

.menu-btn span {
	font-size: 2em;
}

.logo img {
	height: 65px;
	width: auto;
	-webkit-transition: height 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	-moz-transition: height 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	-ms-transition: height 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	-o-transition: height 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
	transition: height 300ms cubic-bezier(.87,-.41,.19,1.44) 0s;
}

.following img {
	height: 50px;
}

.following nav ul {
	top: 16px;
}

.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #6ac6d4;
	z-index: 999999999;
	display: none;
	bottom: 0;
}

.mobile-menu ul {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%); /* IE 9 */
	-webkit-transform: translate(-50%,-50%); /* Chrome, Safari, Opera */
	-moz-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
}

.mobile-menu h2 {
	margin-top: 0;
	font-weight: 700;
	font-size: 1.25em;
	line-height: 120%;
	padding-bottom: 25px;
	border-bottom: 1px dashed #7e7e7e;
	color: #fff;
	margin-bottom: 25px;
}

.mobile-menu ul li {
	text-align: center;
	list-style-type: none;
	font-weight: 700;
}

.mobile-menu li a {
	color: #fff;
}

.close-link {
	color: #fff;
	position: absolute;
	right: 10%;
	top: 30px;
	font-size: 1.5em;
	z-index: 9999999;
}

.banner {
	margin-top: 97px;
}

.banner img {
	width: 100%;
	display: block;
}

.banner-text {
	background: #6ac6d4;
	padding: 35px 5%;
	text-align: center;
	color: #fff;
	font-size: 1.25em;
	line-height: 120%;
}

.content-block {
	padding: 80px 5%;
}


.max {
	max-width: 780px;
	margin: 0 auto;
}

.about .max {
	max-width: none;
}

.max.extra {
	max-width: 620px;
}

.max.wider {
	max-width: 1100px;
}

.centered {
	text-align: center;
}

.grey {
	background: #f2f2f2;
}

input[type=text], input[type=submit], textarea {
	border-radius: 10px !important;
	border: 1px solid #ccc !important;
	background: #fff !important;
	padding: 12px 25px !important;
	font-size: .875em !important;
}

.newsletter input[type=text] {
	width: 380px;
}

.newsletter div, .newsletter li, .newsletter ul {
	display: inline !important;
}

 .newsletter li {
	 padding-right: 5px !important;
 }

input[type=submit] {
	color: #fff !important;
	background: #6ac6d4 !important;
	border: none !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-size: .75em !important;
	padding: 13px 25px !important;
	cursor: pointer !important;
}

.gform_wrapper form {
	text-align: center !important;
}

.gform_footer {
	padding: 0 !important;
}

form.contact input[type=text], form.contact textarea {
	display:block;
	width: 92%;
	margin: 10px 0;
}

.gform_wrapper form li {
	font-size: 1em !important;
}


input.half {
	width: 41% !important;
}

textarea {
	height: 220px;
}

label {
	display: none !important;
}

form li {
	width: 100%;
}

#field_1_2 input, #field_1_3 input {
	width: 100%;
}

.logo-banner {
	width: 90%;
	display: block;
	padding: 20px 5% 22px;
	border-bottom: 1px solid #ccc;
}

.logo-banner .max {
	max-width: 1000px;
}

.event {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
	color: #fff;
}

.event h2 {
	font-size: 2em;
	font-weight: 900;
	line-height: 110%;
	letter-spacing: 0;
}

.event h4 {
	color: #7e7e7e;
}

.event table {
	
   border-collapse: separate;
   border-spacing: 20px; 
}

.event td {
	font-size: .875em;
	border: 1px dashed #fff;
	width: 50%;
	padding: 20px;
	line-height: 125%;
}

.event h6 {
	font-size: 1.15em;
}

.photo {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
}

.about-text div {
	padding: 25px 0;
}

footer {
	background: #7e7e7e;
	color: #fff;
	padding: 40px 5% 30px;
}

footer p {
	font-weight: 700;
	font-style: italic;
	letter-spacing: 0;
	font-size: .925em;
	line-height: 125%;
	margin: 0 0 20px;
	padding: 8px 0 0;
}

.copyright {
	padding: 12px 5%;
	font-size: .6875em;
	font-weight: 500;
	text-align: center;
	line-height: 125%;
}

/* ------------------- TEXT STYLES ------------------- */

h1 {
	font-weight: 700;
	font-size: 1.25em;
	line-height: 120%;
	padding-bottom: 25px;
	border-bottom: 1px dashed #dddddd;
}

h3 {
	font-weight: 300;
	font-size: 1.25em;
	line-height: 120%;
	margin: 25px 0;
	letter-spacing: 0;
}

h4 {
	font-weight: 500;
	font-size: 1.125em;
	line-height: 120%;
	padding: 10px 0;
	letter-spacing: 0;
}

h5 {
	font-size: 1em;
	line-height: 125%;
	font-weight: 300;
	margin: 25px 0;
	letter-spacing: 0;
}

.event h5 {
	text-transform: uppercase;
	letter-spacing: .05em;
}

h6 {
	font-size: 1em;
	line-height: 125%;
}

p, .gform_confirmation_message {
	font-size: .875em;
	line-height: 140%;
	margin: 25px 0;
	letter-spacing: 0;
}

table p, .event p {
	font-size: 1em;
	margin: 0;
}

a {
	outline: none;
	text-decoration: none;
	color: #c9dd77;
}

strong, .gform_confirmation_message {
	font-weight: 700;
}

em {
	font-style: italic;
}

strong em, em strong {
	font-weight: 700;
	font-style: italic;
}

ul, ol {
	padding-left: 20px;
}

ul li, ol li {
	font-size: .875em;
	line-height: 140%;
	margin: 15px 0;
}

ul li {
	list-style-type: disc;
}

ol li {
	list-style-type: decimal;	
}

/* ------------------- MISC STYLES ------------------- */

*:first-child {
	margin-top: 0;
}

*:last-child {
	margin-bottom: 0;
}

.btn {
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: .75em;
	padding: 13px 25px;
	border-radius: 10px;
	background: #6ac6d4;
	margin: 10px 5px 0 5px;
	display: inline-block;
}

.btn.grey {
	background: #7e7e7e;
}

.btn.green {
	background: #c9dd77;
}

hr.hidden {
	clear: both; 
	visibility: hidden;
	margin: 0;
	border: none;
	height: 0;
}

.alignleft {
	float: left;
	margin: 0 15px 5px 0;
}

.alignright {
	float: right;
	margin: 0 0 5px 15px;
}

.text-right {
	text-align: right;
}

.half {
	width: 48%;
}

.half-col {
	width: 50%;
}

.two-thirds {
	width: 65%;
}

.one-third {
	width: 31%;
}

.third-col {
	width: 33%;
}

.third-col:nth-child(3n+2) {
	width: 34%;
}

.quarter {
	width: 22%;
	margin-right: 4%;
}

.quarter:nth-child(4n) {
	margin-right: 0;
}

.left {
	float: left;
}

.right {
	float: right;
}

img {
	max-width: 100%;
}

.bg-left {
	background-position: left center;
}

.event hr {
	margin: 40px 0;
	border: none;
	border-bottom: 1px solid #c1ebf2;
}

/* ------------------- MEDIA QUERIES ------------------- */

@media all and (max-width: 900px) {
	
}

@media all and (max-width: 830px) {
	.menu-btn {
		display: block;
	}
	
	.logo img {
		height: 50px !important;
	}
	
	nav ul {
		display: none;
	}
	
	.banner {
		margin-top: 82px;
	}
	
	.banner-text {
		font-size: 1em;
	}
	
	h5 {
		font-size: .875em;
	}
	
	.max {
		padding-left: 10%;
		padding-right: 10%;
	}
	
	footer .max, header .max {
		padding-left: 5%;
		padding-right: 5%;
	}
	
	.newsletter input[type=text] {
		width: 100% !important;
		display: block !important;
		text-align: center !important;
	}
	
	.newsletter ul, .newsletter li {
		display: block !important;
		padding: 0 !important;
	}
	
	.newsletter input[type=submit] {
		margin: 10px 0 0 !important;
		width: 100% !important;
		display: block !important;
	}
	
	.event table td {
		display: inline-block;
		margin-bottom: 10px;
		width: 90%;
		padding-right: 5%;
		padding-left: 5%;
	}
	
	.event table {
	   border-spacing: 0; 
	   margin: 20px 0;
	}
	
	.one-third, .two-thirds {
		width: 100%;
	}
	
	.photo {
		height: 500px !important;
		margin-bottom: 20px;
	}
	
	footer {
		padding-bottom: 40px;
	}
	
	footer div {
		text-align:center !important;
		float: none !important;
	}
	
	footer .two-thirds {
		margin-bottom: 15px;
	}
}

@media all and (max-width: 600px) {
	
	.banner-text {
		padding-top: 18px;
		padding-bottom: 18px;
		font-size: .875em;
	}
	
	.btn {
		width: 90%;
		padding-right: 5%;
		padding-left: 5%;
		margin-right: 0;
		margin-left: 0;
	}
	
	.photo {
		height: 300px !important;
	}
	
	input.half {
		width: 92% !important;
		float: none;
	}
	
}