/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/*
 * apply a natural box layout model to all elements
 */
 
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

/* ==========================================================================
   General
   ========================================================================== */

body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	font: 16px/26px 'Raleway', sans-serif;
	font-weight: 400;
	color: #333;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

.img-left {
	float: left;
	margin-right: 40px;
	margin-bottom: 25px;
}

.img-right {
	float: right;
	margin-left: 40px;
	margin-bottom: 25px;
}

.float-right { float: right !important; }
.float-left { float: left !important; }
.float-none { float: none !important; }
.block { display: block !important; }

.margin-none, .margin-none-mobile { margin: 0 !important;}
.margin-top { margin-top: 30px !important; }
.margin-bottom { margin-bottom: 30px !important; }
.margin-bottom-dbl { margin-bottom: 60px !important; }
.margin-bottom-half { margin-bottom: 15px !important; }

.padding-none { padding: 0 !important; }
.padding-top { padding-top: 30px !important; }
.padding-bottom { padding-bottom: 30px !important; }
.padding-bottom-dbl { padding-bottom: 60px !important; }
.padding-bottom-half { padding-bottom: 15px !important; }

.table {
	display: table;
}

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

hr {
	margin-top: 50px;
	margin-bottom: 50px;
	border-top: 1px solid #e5e5e5;
	clear: both;
	position: relative;
}

.blue {
	color: #00b5cb;
}

.lt-gray {
	color: #ccc;
}

.dk-gray {
	color: #333;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	color: #00b5cb;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	line-height: normal;
	margin-bottom: 30px;
	margin-top: 0px;
}

h3, h4, h5, h6 {
	color: #333;
}

h1, .h1 { font-size: 30px; }
h2, .h2 { font-size: 24px; }
h3, .h3 { font-size: 20px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 16px; }
h6, .h6 { font-size: 14px; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #00b5cb; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: #5b6360; }

h2 span {
	font-size: 14px;
	color: #333;
	margin-left: 10px;
}

p { margin: 0 0 30px 0; }
em { font-style: italic; }
strong, b { font-weight: 700; }
small, .small { font-size: 90%; }
.large { font-size: 120%; }

.text-center { text-align: center; }
.text-left, .text-left-center { text-align: left; }
.text-right, .text-right-center { text-align: right; }
.uppercase { text-transform: uppercase; }

/* ==========================================================================
   Links
   ========================================================================== */

a {
	color: #00b5cb;
	text-decoration: none;
	outline: 0;
	-webkit-transition:0.2s color linear;
			transition:0.2s color linear;
}

a:hover { color: #333; }
a:hover, a:active, a:focus { outline: 0; }

a.dk-gray {
	color: #333;
}

/* ==========================================================================
   Lists
   ========================================================================== */
   
.inline-list, .social-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
}

.inline-list li {
	display: inline;
	margin: 0 10px;
}

.social-list li {
	float: left;
	margin: 0 10px;
}

.inline-list li:first-child, .social-list li:first-child {
	margin-left: 0px;
}

.inline-list li:last-child, .social-list li:last-child {
	margin-right: 0px;
}

.content ul {
	margin-top: 0;
	margin-bottom: 30px;
	padding-left: 50px;
	list-style: none;
}

.content ul li {
	position: relative;
}

.content ul li:before {
	content: "\f111";
	font-family: "FontAwesome";
	font-size: 6px;
	color: #00b5cb;
	position: absolute;
	top: -1px;
	left: -20px;
}

.content.tools ul li a {
	color: #333;
}

.content.tools ul li a:hover {
	color: #00b5cb;
}

/* ==========================================================================
   Header
   ========================================================================== */
   
.header {
	width: 100%;
	height: 125px;
	line-height: 125px;
	border-bottom: 1px solid #e5e5e5;
}

.site-title {
	display: block;
	float: left;
}

.site-title img {
	width: 335px;
	height: 59px;
}

/* ==========================================================================
   Main Nav
   ========================================================================== */

.main-nav {
	position: relative;
	float: right;
}

.main-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-nav ul li {
	display: inline;
	margin: 0 27px;
}

.main-nav ul li:first-child {
	margin-left: 0px;
}

.main-nav ul li:last-child {
	margin-right: 0px;
}

.main-nav ul li a {
	color: #333;
	text-decoration: none;
	display: inline-block;
	position: relative;
}

.main-nav ul li a:after {
	content: '/';
	position: absolute;
	top: 0px;
	right: -35px;
	color: #cccccc;
}

.main-nav ul li a:hover {
	color: #00b5cb;
}

.main-nav .selected a {
	color: #00b5cb;
}

/* ==========================================================================
   Mobile Nav
   ========================================================================== */
   
.overlay {
	display: none;
	position: fixed;
	top: 0;
	height: 100%;
	width: 100%;
	background: #00b5cb;
	overflow: auto;
	z-index: 99999;
}

.overlay nav {
	text-align: center;
	position: relative;
	top: 50%;
	height: 60%;
	font-size: 48px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay nav ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay nav ul li {
	display: block;
	height: 20%;
	height: calc(100% / 5);
	min-height: 54px;
}

.overlay nav ul li a {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	display: block;
}

.overlay nav ul li a:hover {
	color: #444;
}

.overlay nav .selected a {
	color: #444 !important;
}

.overlay .close {
	cursor: pointer;
	position: absolute;
	right: 25px;
	top: 25px;
}

.overlay .close i {
	font-size: 24px;
	color: #fff;
	-webkit-transition:0.2s color linear;
			transition:0.2s color linear;
}

.overlay .close i:hover {
	color: #444;
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}

.hamburger {
	display: none;
	cursor: pointer;
	float: right;
}

.hamburger i {
	font-size: 20px;
	color: #444;
	-webkit-transition:0.2s all linear;
			transition:0.2s all linear;
}

.hamburger i:hover {
	color: #00b5cb;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content {
	margin: 0 auto;
	padding-top: 80px;
	padding-bottom: 80px;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 430px;
    background-color: #444;
}

.hero {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: block;
    text-align: center;
}

#map-canvas {
	width: 100%;
	height: 100%;
}

.info_content h4 {
	line-height: 28px;
}

.info_content p {
	line-height: 20px;
}

.date {
	font-size: 14px;
	color: #999;
}

.bio-photo {
	margin-right: 20px;
	margin-bottom: 20px;
	float: left;
	width: 300px;
}

#top {
	cursor: pointer;
	color: #00b5cb;
	font-size: 24px;
	margin-top: 25px;
}

/* ==========================================================================
   BX Slider Overrides
   ========================================================================== */
   
.bx-wrapper {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	border: none;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #ccc;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
	background: #00b5cb;
}

/* ==========================================================================
   Blockquotes
   ========================================================================== */

blockquote {
	margin: 0;
	padding: 30px 0;
}

blockquote p {
	font-weight: 200;
	font-size: 24px;
	line-height: 38px;
	color: #666;
	margin-bottom: 15px !important;
	padding-left: 55px !important;
	border-left: 1px solid #00b5cb;
}

blockquote cite {
	font-weight: normal;
	font-style: normal;
	text-align: right;
	display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
   
.footer {
	font-size: 14px;
	color: #666;
	padding-bottom: 40px;
	margin: 0 auto;
}

.footer hr {
	margin-bottom: 35px;
}

.footer a {
	color: #666;
}

.footer a:hover {
	color: #00b5cb;
}

.footer .tdc-logo {
	width: 118px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
   
.btn, button, input[type='submit'] {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	line-height: 18px;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	display: inline-block;
	cursor: pointer;
	position: relative;
	background: #00b5cb;
	border: none;
	padding: 16px 30px;
	max-width: 100%;
	-webkit-transition: 0.2s all linear;
			transition: 0.2s all linear;
}

.btn:hover, button:hover, input[type='submit']:hover {
	color: #00b5cb;
	background: #fff;
}

/* ==========================================================================
   Forms
   ========================================================================== */

::-webkit-input-placeholder {
   color: #e5e5e5;
}

:-moz-placeholder { /* Firefox 18- */
   color: #e5e5e5;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #e5e5e5;  
}

:-ms-input-placeholder {  
   color: #e5e5e5;  
}

textarea:focus, input:focus, button:focus, select:focus {
    outline: 0 !important;
}

input[type="text"], textarea {
	font: 16px/24px 'Raleway', sans-serif;
	font-weight: 400;
	color: #333;
	width: 100%;
    padding: 10px 20px;
    margin: 0;
	border: 1px solid #e5e5e5;
	background: none;
	
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
    border-radius: 0;
    
    -webkit-transition:0.2s all linear;
    		transition:0.2s all linear;
}

input[type="text"]:focus, textarea:focus {
	background: #efefef;
}

input[type="text"] {
	height: 50px;
}

textarea {
	height: 200px;
}

input[type="submit"] {
	display: block;
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	border-radius: 0;
	
	input[type="submit"]::-moz-focus-inner {border:0;} /* ff specific stuff, yuck*/ 
	input[type="submit"]:focus {background:#e5e5e5;} /* change accordingly depending on your button bg color, this fixes the focus problem when using keyboard to move betweenform elements */
}

.form-item {
	margin-bottom: 25px;
}

.form-item.error input, .form-item.error textarea {
	border: 1px solid #ff0000;
}

.form-item.error label {
	color: #ff0000;
}

.radio-group {
	display: block;
	margin-bottom: 20px;
}

input[type='radio'] {
    margin-right: 5px;
}

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

.alert label {
	color: #ff0000;
	display: block;
}

/* ==========================================================================
   Grid
   ========================================================================== */

.row {
	max-width: 1170px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.row .row {
    width: auto;
    margin: 0 -25px !important;
}

*[class*='col-'] {
	float: left;
	padding: 0 25px;
	position: relative;
	overflow: hidden;
}

.col-1-1 { width: 100%; float: none; }
.col-1-2 { width: 50%; }
.col-1-3 { width: 33.33333%; }
.col-2-3 { width: 66.66666%; }
.col-1-4 { width: 25%; }
.col-3-4 { width: 75%; }
.col-1-5 { width: 20%; }
.col-2-5 { width: 40%; }
.col-3-5 { width: 60%; }
.col-4-5 { width: 80%; }

.cell { padding: 25px; }

.centered { margin: 0 auto; position: relative; float: none; }

.grid { overflow: hidden; margin: 0; padding: 0; list-style: none; }
.grid-item { padding: 15px; margin: 0; }
.grid-item img { width: 100%; }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

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

@media only screen and (min-width : 993px) {

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

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

	.grid-item {
		width: 50%;
	}
	
	.main-nav ul {
		display: none;
	}
	
	.hamburger {
		display: inline-block;
	}
	
	.hero-container {
	    height: 350px;
	}
	
}

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

	.grid-item {
		width: 50%;
	}
	
	.hero-container {
	    height: 300px;
	}
	
}

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

	body {
		font-size: 18px;
		line-height: 28px;
	}
	
	*[class*='col-'] {
		float: none;
		width: 100%;
	}
	
	.margin-none-mobile {
		margin-bottom: 30px !important;
	}
	
	.text-right-center, .text-left-center {
		text-align: center;
	}
	
	.btn, input[type='submit'] {
		width: 100%;
	}
	
	.hero-container {
	    height: 250px;
	}
	
	blockquote p {
		padding-left: 25px !important;
	}
	
	.bio-photo {
		margin-right: 0px;
		margin-bottom: 20px;
		float: none;
		width: 100%;
	}

}

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

	.grid-item {
		width: 100%;
	}
	
	.header {
		height: auto;
		line-height: normal;
		text-align: center;
		padding: 20px 0;
	}
	
	.site-title, .main-nav {
		display: block;
		float: none;
		overflow: hidden;
	}
	
	.hamburger {
		float: none;
		display: block;
	}
	
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
