/**********************************************************************************
	(c) Forest Mill Baptist
	Design and styles by Josh Jones
		Crosswise Creative
**********************************************************************************/


/**********************************************************************************
	Fonts
**********************************************************************************/

@import url('https://fonts.googleapis.com/css?family=Raleway:400,700|Oswald:400,700');



/**********************************************************************************
	HTML
**********************************************************************************/

html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	color: #777;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	line-height: 1em;
}





/**********************************************************************************
	Main Structure
**********************************************************************************/

body.survey #header {
	height: 340px;
	background: transparent url('/images/path-crop.jpg') center top no-repeat;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}

@media screen and (max-width: 520px) {
	body.survey #header {
		height: 220px;
	}
}

body.survey #header .wrapper {
	position: relative;
	height: 100%;
}

body.survey #header .wrapper h1 {
	position: absolute;
	bottom: 0;
	color: #fff;
	font-size: 2.4em;
	text-shadow: 0 1px 0 #000;
}
body.survey #header h1 span {
	display: block;
	font-size: 0.3em;
	font-weight: 400;
	padding-left: 3px;
	text-transform: uppercase;
}




/**********************************************************************************
	Navigation
**********************************************************************************/






/**********************************************************************************
	Content
**********************************************************************************/






/**********************************************************************************
	Footer
**********************************************************************************/






/**********************************************************************************
	Global Classes
**********************************************************************************/

.wrapper {
	width: auto;
	max-width: 1024px;
	margin: 0 auto;
	padding: 24px;
	box-sizing: border-box;
}

body.survey .wrapper {
	max-width: 800px;
}



/**********************************************************************************
	FORM Elements
**********************************************************************************/


.survey_form .intro {
	padding: 0 0 48px 0;
	border: 1px solid #ddd;
	border-width: 0 0 1px 0;
	font-size: 1.2em;
	line-height: 1.7em;
}
.survey_form .closing {
	padding: 48px 0;
	border: 1px solid #ddd;
	border-width: 0;
}
.survey_form .section {
/* 	margin: 0 0 12px; */
	padding: 0 0 54px;
	border-bottom: 1px solid #ddd;
	border-bottom: 1px solid #686868;
}

.survey_form span.question {
	display: inline-block;
	text-transform: uppercase;
	margin-bottom: 24px;
	padding: 6px 12px;
	background-color: #ccc;
	background-color: #686868;
	color: #eee;
}

label {
	display: block;
	text-align: left;
	font-weight: 700;
	padding: 8px 0;
	padding: 0 0 12px;
/* 	margin-top: 12px; */
	color: #7bb774;
}
label.sub {
	margin: 18px 0 0;
	color: #95d08e;
}

textarea {
	width: 100%;
	max-width: 800px;
	height: 120px;
}

input[type='text'],
textarea {
	border: 1px solid #aaa;
}

/*
.survey_select {
	-webkit-appearance: none; 
	   -moz-appearance: none; 
	        appearance: none;
}
*/

input[type='text'],
.survey_select,
textarea {
	padding: 5px;
	color: #777;
	font-weight: 400;
	font-family: 'Raleway', sans-serif;
}

.survey_select {
	font-size: 1.1em;
}


input[type='submit'] {
	border: 1px solid #fff;
	padding: 12px;
	color: #fff;
	background-color: #7bb774;
	font-weight: 700;
	-o-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
input[type='submit']:hover {
	background-color: #598b53;
}

.table_radio {
	width: 100%;
	border-collapse: collapse;
}
.table_radio td {
	padding: 4px;
}

.table_radio td:nth-of-type(even) {
	width: 40%;
}
.table_radio td:nth-of-type(even) {
	width: 60%;
}

form .table_radio td:nth-of-type(odd) {
/* 	width: 10%; */
}
form .table_radio td:nth-of-type(even) {
	width: 100%;
}

@media screen and ( max-width: 640px ) {
	.wrapper.survey_form .table_radio td {
		display: block !important;
		width: 100% !important;
	}
	.wrapper.survey_form .table_radio td:nth-of-type(even) {
		padding: 0 0 18px; !important;
	}
}


.results {
	font-size: 0.7em;
	color: #888;
	padding-left: 7px;
}
.bar-full {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	background-color: #ddd;
	height: 30px;
}
.bar-metric {
	position: absolute;
	top: 0;
	left: 0;
	height: 30px;
	background-color: #5399d6;
	color: #fff;
	font-size: 0.8em;
	overflow: hidden;
}
.bar-metric span {
	display: inline-block;
	padding: 3px;
}




.text-button {
	display: inline-block;
	width: auto;
	padding: 12px;
	background-color: #95d08e;
	color: #fff;
	border: none;
	text-decoration: none;
	-o-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	transition: background 0.3s ease-in-out;
}
.text-button:hover {
	background-color: #7bb774;
}

.inactive {
	display: none;
}
.active {
	display: block;
}
.text-button.active {
	display: inline-block;
}

.essays {
	margin: 4px 0;
	border: 1px solid #ddd;
	padding: 2px;
}
.essay {
	margin: 0 0 8px;
	background-color: #f3f3f3;
	padding: 12px;
	font-size: 0.9em;
	line-height: 1.7em;
}
.essay span {
	display: inline-block;
	padding: 4px;
	background-color: #e3e3e3;
	width: auto;
	font-size: 0.8em;
}



/**********************************************************************************
	Responsive
**********************************************************************************/






/**********************************************************************************
	clearfix
**********************************************************************************/

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


