/*
	Substrate Base CSS
	Author: Russell Ramey
	Author URL: russellramey.me
	Description: Simple global reset, base styles, and grid system used for a generic boilerplate start
*/
/**************************************************************
GLOBAL RESET
**************************************************************/
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
}
*, *:before, *:after {
  box-sizing:inherit;
  -webkit-box-sizing:inherit;
  -moz-box-sizing:inherit;
}
a{
	outline:none;
	border:none;
}

/**************************************************************
GLOBAL
**************************************************************/
body{
	font-family: 'Roboto', helvetica, arial, sans-serif;
	font-size: 16px;
	line-height: 22px;
	-webkit-text-size-adjust: none;
	margin:0; padding:0;
	color: #555;
}

/* Images */
img, a img,
a img{
	width:100%;
	height:auto;
	display:block;
	max-width: 100%;
	border:none;
	outline: none;
}
img.max-width{
	width: auto;
	margin: 0 auto;
}

/* Margins */
.no-mgn-btm{
	margin-bottom: 0 !important;
}
.no-mgn-top{
	margin-top: 0 !important;
}

/* Padding */
.pad {
	padding: 20px;
}
.pad-top{
	padding-top: 20px;
}
.pad-btm: {
	padding-bottom: 20px;
}
.pad-lft{
	padding-left: 20px;
}
.pad-rgt{
	padding-right: 20px;
}

/**************************************************************
TYPOGRAOPHY
**************************************************************/
/* Headings */
h1{
	font-size: 36px;
	font-family: 'Roboto Slab', helvetica, sans-serif;
	font-weight: normal;
	line-height: 1em;

}
h2{
	font-size: 36px;
	font-family: 'Roboto Slab', helvetica, sans-serif;
	font-weight: normal;
	line-height: 1em;
}
h3{
	font-size: 28px;
	font-family:helvetica, arial, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	line-height: 1em;
}
h4{
	font-size:	24px;
	font-weight:normal;
	font-family: helvetica, arial, sans-serif;
	text-transform: uppercase;
	line-height: 1em;
}
h5{
	font-size:	21px;
	font-weight:normal;
	font-family:helvetica, arial, sans-serif;
	text-transform: uppercase;
	line-height: 1em;
}
h6{
	font-size:	18px;
	font-weight:normal;
	font-family:helvetica, arial, sans-serif;
	text-transform: uppercase;
	line-height: 1em;
}

/* Paragraph */
p{
	margin:10px 0 20px 0;
	line-height: 24px;
	font-weight: lighter;
}
strong, b{
	font-weight: bold;
}
em, i{
	font-style: italic;
}

/*alignment */
.txt-ctr{
	text-align: center;
}
.txt-rgt{
	text-align: right;
}
.txt-lft{
	text-align: left;
}

.txt-low{
	text-transform: none !important;
}
.txt-cap{
	text-transform: uppercase;
}

/* Links */
a, a:active,
a:visited{
	color:#0c8cff;
	text-decoration:none;
	transition: all .25s ease;
	-moz-transition: all .25s ease;
	-webkit-transition: all .25s ease;
}
a:hover{
	color:#3498DB;
}

/* Blockquote */
blockquote{
	border-left:2px solid #f3f3f3;
	margin:0 0 20px 0;
	padding:5px 20px;
	color:#ccc;
	font-style:italic;
	font-family:"Georgia", Times, Serif;
	font-size:16px; font-weight:normal;
}

/**************************************************************
BUTTONS / LINKS
**************************************************************/
a.button,
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"]{
	color: #fff !important;
	display: inline-block;
  	font-size: 15px;
  	cursor: pointer;
  	padding: 1.5% 3% !important;
  	background:#0c8cff;
	border:0; text-align: center;
	border-radius: 5px;
	-webkit-appearance: none;
	transition: all .25s ease;
	-moz-transition: all .25s ease;
	-webkit-transition: all .25s ease;
	max-width: 240px;
	min-width: 140px;
	outline: 0;
}
a.button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover{background:#0066b5;
	text-decoration:none;
}
input[type="submit"]:disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled{
  	background:#ccc;
	-webkit-appearance: none;
	cursor: default;
}

/**************************************************************
INPUTS  (requires jquery.validate.js for validation errors)
**************************************************************/
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
	background:#fff;
	border:1px solid #ccc;
	outline:none;
	line-height:50px;
	padding:0 15px;
	font-size:15px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	-webkit-appearance: none;
	text-align: left;
	transition: all .25s ease;
	-moz-transition: all .25s ease;
	-webkit-transition: all .25s ease;
	width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus {
	border-color:#45a8f2 !important;
	box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	-moz-box-shadow: 0 0 5px #ccc;
}

textarea {
	background:#fff !important;
	border:1px solid #ccc !important;
	outline:none;
	padding:15px !important;
	font-size:15px;
	min-height:150px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	-webkit-appearance: none;
	text-align: left !important;
	transition: all .25s ease;
	-moz-transition: all .25s ease;
	-webkit-transition: all .25s ease;
	width: 100%;
}

/*video (for fully responsive video embeds(iframes) */
/* Notes: just wrap the iframe in a container div of .videoWrapper*/
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	/*padding-top: 25px;*/
	height: 0;
	margin-bottom: 40px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}




/**************************************************************
BASE GRID
Note: Desktop view 960px or larger
**************************************************************/
.grid{
	position: relative;
}
.container{
	width: 95%;
	max-width: 1280px;
	margin: 0 auto;
}
.full-container{
	width: 100%;
	margin: 0 auto;
}
.row{
	position: relative;
	margin-left:-1%;
	margin-right: -1%;
}
[class*='col-']{
	float: left;
	display: inline-block;
	margin-left: 1%;
	margin-right: 1%;
	margin-bottom: 2%;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}
[class*='col-'] .inner{
	padding:25px;
}

/* Columns */
.grid .col-1{
	width:6.3333333333%;
}
.grid .col-2{
	width:14.666666666%;
}
.grid .col-3{
	width:22.999999999%;
}
.grid .col-4{
	width:31.333333332%;
}
.grid .col-5{
	width:39.666666665%;
}
.grid .col-6{
	width:47.999999998%;
}
.grid .col-7{
	width:56.333333331%;
}
.grid .col-8{
	width:64.666666664%;
}
.grid .col-9{
	width:72.999999997%;
}
.grid .col-10{
	width:81.333333333%;
}
.grid .col-11{
	width:89.666666664%;
}
.grid .col-12{
	width:98%;
}

/* Fixed Even Column Elements */
.grid .col-1-5{
	width:18%;
}
.grid .col-1-4{
	width:23%;
}
.grid .col-1-3{
	width:31.333333333%;
}
.grid .col-1-2{
	width:47.999999996%;
}

/* No Margin(nm) Columns */
.grid .col-1-nm{
	width:8.3333333333%;
	margin: 0;
}
.grid .col-2-nm{
	width:16.666666666%;
	margin: 0;
}
.grid .col-3-nm{
	width:25.000000000%;
	margin: 0;
}
.grid .col-4-nm{
	width:33.333333332%;
	margin: 0;
}
.grid .col-5-nm{
	width:41.666666665%;
	margin: 0;
}
.grid .col-6-nm{
	width:50.000000000%;
	margin: 0;
}
.grid .col-7-nm{
	width:58.333333331%;
	margin: 0;
}
.grid .col-8-nm{
	width:66.666666664%;
	margin: 0;
}
.grid .col-9-nm{
	width:74.999999997%;
	margin: 0;
}
.grid .col-10-nm{
	width:83.333333333%;
	margin: 0;
}
.grid .col-11-nm{
	width:91.666666664%;
	margin: 0;
}
.grid .col-12-nm{
	width:100.00000000%;
	margin: 0;
}

/* No Margin (nm) Fixed Even Column Elements */
.grid .col-1-5-nm{
	width:20%;
	margin: 0;
}
.grid .col-1-4-nm{
	width:25%;
	margin: 0;
}
.grid .col-1-3-nm{
	width:33.333333333%;
	margin: 0;
}
.grid .col-1-2-nm{
	width:50%;
	margin: 0;
}

/* Offsets */
.off-ctr{
	margin: 0 auto !important;
	float: none !important;
	display: block;
}
.off-rt{
	float:right !important;
}
.off-lft{
	float:left !important;
}

.push-1{
	margin-left:8.3333333333%;
}
.push-2{
	margin-left:16.666666666%;
}
.push-3{
	margin-left:25.000000000%;
}
.push-4{
	margin-left:33.333333332%;
}
.push-5{
	margin-left:41.666666665%;
}
.push-6{
	margin-left:50.000000000%;
}
.push-7{
	margin-left:58.333333331%;
}
.push-8{
	margin-left:66.666666664%;
}
.push-9{
	margin-left:74.999999997%;
}
.push-10{
	margin-left:83.333333333%;
}
.push-11{
	margin-left:91.666666664%;
}
.push-12{
	margin-left:100.00000000%;
}

.pull-1{
	margin-right:8.3333333333%;
}
.pull-2{
	margin-right:16.666666666%;
}
.pull-3{
	margin-right:25.000000000%;
}
.pull-4{
	margin-right:33.333333332%;
}
.pull-5{
	margin-right:41.666666665%;
}
.pull-6{
	margin-right:50.000000000%;
}
.pull-7{
	margin-right:58.333333331%;
}
.pull-8{
	margin-right:66.666666664%;
}
.pull-9{
	margin-right:74.999999997%;
}
.pull-10{
	margin-right:83.333333333%;
}
.pull-11{
	margin-right:91.666666664%;
}
.pull-12{
	margin-right:100.00000000%;
}

/**************************************************************
MEDIUM GRID
Note: Medium view max width 768px
**************************************************************/
@media only screen and (min-width: 480px) and (max-width: 720px) {

	/* Columns */
	.grid .col-1,
	.grid .col-2,
	.grid .col-3,
	.grid .col-4,
	.grid .col-5,
	.grid .col-6,
	.grid .col-7,
	.grid .col-8,
	.grid .col-9,
	.grid .col-10,
	.grid .col-11,
	.grid .col-12{
		width:98%;
	}

	/* No Margin(nm) Columns */
	.grid .col-1-nm,
	.grid .col-2-nm,
	.grid .col-3-nm,
	.grid .col-4-nm,
	.grid .col-5-nm,
	.grid .col-6-nm,
	.grid .col-7-nm,
	.grid .col-8-nm,
	.grid .col-9-nm,
	.grid .col-10-nm,
	.grid .col-11-nm,
	.grid .col-12-nm{
		width:100.00000000%;
		margin: 0;
	}

	/* Columns (forces half on mobile) */
	.grid .m-1-2{
		width:48% !important;
	}
	.grid .m-1-2-nm{
		width:50% !important;
	}
	.grid .s-1-2{
		width:48% !important;
	}
	.grid .s-1-2-nm{
		width:50% !important;
	}

	/* Fixed Even Column Elements */
	.grid .col-1-5{
		width:98%;
	}
	.grid .col-1-4{
		width:48%;
	}
	.grid .col-1-3{
		width:98%;
	}
	.grid .col-1-2{
		width:47.999999996%;
	}

	/* No Margin (nm) Fixed Even Column Elements */
	.grid .col-1-5-nm{
		width:100%;
		margin: 0;
	}
	.grid .col-1-4-nm{
		width:50%;
		margin: 0;
	}
	.grid .col-1-3-nm{
		width:100%;
		margin: 0;
	}
	.grid .col-1-2-nm{
		width:50%;
		margin: 0;
	}

}

/**************************************************************
SMALL GRID
Note: Small view max width 480px
**************************************************************/
@media only screen and (min-width: 0px) and (max-width: 479px) {

	/* Columns */
	.grid .col-1,
	.grid .col-2,
	.grid .col-3,
	.grid .col-4,
	.grid .col-5,
	.grid .col-6,
	.grid .col-7,
	.grid .col-8,
	.grid .col-9,
	.grid .col-10,
	.grid .col-11,
	.grid .col-12{
		width:98%;
	}

	/* No Margin(nm) Columns */
	.grid .col-1-nm,
	.grid .col-2-nm,
	.grid .col-3-nm,
	.grid .col-4-nm,
	.grid .col-5-nm,
	.grid .col-6-nm,
	.grid .col-7-nm,
	.grid .col-8-nm,
	.grid .col-9-nm,
	.grid .col-10-nm,
	.grid .col-11-nm,
	.grid .col-12-nm{
		width:100.00000000%;
		margin: 0;
	}

	/* Fixed Even Column Elements */
	.grid .col-1-5,
	.grid .col-1-4,
	.grid .col-1-3,
	.grid .col-1-2{
		width:98%;
	}

	/* No Margin (nm) Fixed Even Column Elements */
	.grid .col-1-5-nm{
		width:100%;
		margin: 0;
	}
	.grid .col-1-4-nm{
		width:100%;
		margin: 0;
	}
	.grid .col-1-3-nm{
		width:100%;
		margin: 0;
	}
	.grid .col-1-2-nm{
		width:100%;
		margin: 0;
	}

	/* Columns (forces half on mobile) */
	.grid .m-1-2{
		width:98% !important;
	}
	.grid .m-1-2-nm{
		width:100% !important;
	}
	.grid .s-1-2{
		width:48% !important;
	}
	.grid .s-1-2-nm{
		width:50% !important;
	}

}

/**************************************************************
CLEARFIX
Note: clear floats for rows and columns
**************************************************************/
.clearfix:after,
.row:after,
.grid:after{
	clear: both;
	display: block;
	content: " ";
	height: 0px;
	visibility: hidden;
}

.clearfix,
.row,
.grid{
	display: inline-block;
}

* html .clearfix,
* html .row,
* html .grid{
	height: 1%;
}

.clearfix,
.row,
.grid{
	display: block;
	float:none !important;
}

li.clearfix,
li.row,
li.grid{
	display: list-item;
}
