/* GENERAL */
html {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	text-align: justify;
	line-height: 160%;
	font-size: 95%;
	background: url('images/bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0;	
}
div, section, aside {
	overflow: hidden;
}

/* TEXT */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
}	
h1 {
	font-size: 200%;
}
h2 {
	font-size: 175%;
}
h3 {
	font-size: 150%;
}
h4 {
	font-size: 130%;
}
h5 {
	font-size: 120%;
}
h6 {
	font-size: 110%;
}
a {
	text-decoration: none;
	color: #e7261f;
}
#content-right li a {
	font-size: 75%;
	font-weight: 700;
	float: right;
}

/* FORMS */
form {
	padding: 15px;
	border-radius: 2px;
	background: rgba(23, 53, 93, 0.1);
	font-size: 85%;
	position: relative;
	margin: 33px 0;
	overflow: hidden;
}
.survey-item {
	margin-bottom: 40px;
}
label {
	clear: both;
	font-weight: 700;
	display: block;
	margin: 10px 0 6px 0;
	line-height: 100%;
}
label.form-header {
	font-size: 150%;
	margin-bottom: 25px;
}
label.description {
	margin-bottom: 25px;
	font-weight: 300;
	line-height: 150%;
}
input[type="text"],input[type="number"], input[type="password"] {
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.5);
	padding: 8px;
	box-shadow: none;
	border: 1px solid #ccc;
	width: 30%;
}
input[type="number"] {
    text-align: center;
}
select {
	-webkit-appearance: none;
   	-moz-appearance: none;
   	appearance: none;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.5);
	padding: 8px;
	box-shadow: none;
	border: 1px solid #ccc;
	width: 33%;
}
textarea {
	resize: none;
	width: 97.8%;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.5);
	padding: 1%;
	box-shadow: none;
	border: 1px solid #ccc;
}
.radio-button-row {
	padding: 2px;
	line-height: 170%;
}
.radio-button-row:nth-of-type(even) {
	background: rgba(255, 255, 255, 0.4);
}
.radio-question {
	display: block;
	float: left;
	width: 28%;
}
.radio-option {
	display: block;
	float: left;
	width: 12%;
	text-align: center;
}
.checkbox-option {
	display: block;
	width: 100%;
}
input[type="submit"] {
	font-size: 120%;
}
input[type="submit"],
a.button {
	display: block;
	padding: 8px 15px;
	font-weight: 300;
	float: right;
	margin-top: 10px;
	background: rgba(23, 53, 93, 0.9);
	border-radius: 2px;
	border: none;
	color: #fff;
	line-height: 100%;
}
a.button-left {
	float: left;
}
form.full-width {
	margin-top: 0;
	width: 90%;
	padding: 5%;
	border-radius: 0;
}
form.full-width input[type="text"], form.full-width input[type="number"], form.full-width input[type="password"] {
	width: 94%;
	padding: 3%;
}
form.full-width input[type="submit"] {
	position: static;
	width: 100%;
	margin-top: 20px;
}

/* LAYOUT */
#content-container {
	max-width: 1100px;
	margin: 0 auto;
	box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
}
header, #content, footer {
	clear: both;
	overflow: hidden;
} 
header, footer {
	background: rgba(23, 53, 93, 1.0);
	color: #fff;
	padding: 15px 35px;
}
#content {
	background: rgba(255, 255, 255, 0.9);
	padding: 65px 35px;
}
#content h1:nth-of-type(1) {
	margin-top: 0;
}
.content-box {
	padding-bottom: 100px;
}
.content-box-column-left {
	float: left;
	width: 46%; 
}
.content-box-column-right {
	float: right;
	width: 46%;
}
header img:nth-of-type(1) {
	max-width: 100px;
	float: left;
}
header img:nth-of-type(2) {
	float: right;
	padding-top: 12px;
	max-width: 75px;
}
footer {
	font-size: 90%;
	position: relative;
}
footer img {
	max-width: 70px;
}
footer a {
	color: #f7d0d0;
}
footer p:first-line {
	font-weight: 700;
	color: #e1f4f9;
}
footer aside:nth-of-type(1) {
	float: left;
	line-height: 130%;
}
footer aside:nth-of-type(2) {
	float: right;
	padding-top: 4px;
}

/* ACCORDION HIDE/REVEAL */
.accordion-open {
	display: block;
	color: #e7261f;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.05);
	padding: 7px 10px;
	margin-top: 8px;
}
.accordion-open span {
	font-weight: 300;
	font-size: 90%;
}
.hidden {
	margin: 0 0 20px 0;
	background: rgba(0, 0, 0, 0.05);
	padding: 10px;
	font-size: 85%;
}
.hidden li {
	clear: both;
}
.hidden .button {
	float: left;
	clear: both;
}

/*LOGIN PAGE*/
.login-box {
	margin: 100px 35%;
	width: 30%;
	border-radius: 2px;
}
.login-box header img {
	max-width: 60%;
    margin-left: 20%;
}
.login-box form {
	background: rgba(255, 255, 255, 0.6);
}
.login-box form p {
	margin-top: 0;
}
.login-box form a {
	font-weight: 700;
	float: right;
}

/*ADMIN PAGES*/
#content-left {
	background: rgba(23, 53, 93, 0.7);	
	width: 24%;
	float: left;
	padding: 30px 3%;
	padding-bottom: 15000px;
	margin-bottom: -15000px;
}
#content-right {
	background: #fff;
	width: 64%;
	float: right;
	padding: 30px 3%;
}
#content-left h1 {
	margin: 0 0 10px 0;
	color: #fff;
	font-size: 170%;
}
#content-left h2 {
	margin: 40px 0 10px 0;
	color: #fff;
	font-size: 140%;
}
#content-left ul, 
#content-left ul li,
#content-right ul,
#content-right ul li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	position: relative;
}
#content-left ul ul {
	padding-left: 20px;
	font-size: 80%;
}
#content-right ol {
	padding-left: 18px;
}
#content-left a {
	color: #f7d0d0;
	font-weight: 700;
	letter-spacing: 0.05em;
}
#content-left a:hover {
	color: #fff;
}
#content-right h1 {
	background: #f2cccb;
	color: #fff;
	border-radius: 2px;
	padding: 5px 10px;
	line-height: 100%;
	margin-top: 0;
}

/*DATA VISUALIZATION*/
span.bar-graph {
	background: #bcbcbc;
	height: 20px;
	border-radius: 2px;
	display: inline-block;
	position: relative;
	top: 2px;
	color: #fff;
	margin-right: 6px;
	padding-left: 4px;
	line-height: 170%;
	font-weight: 700;
	font-size: 75%;
}
span.bar-wrapper {
	width: 70%;
	float: right;
}
span.zero {
	width: 0px;
	color: #666;
	padding: 0;
}
span.ten {
	width: 20px;
}
span.twenty {
	width: 40px;
}
span.thirty {
	width: 60px;
}
span.forty {
	width: 80px;
}
span.fifty {
	width: 100px;
}
span.sixty {
	width: 120px;
}
span.seventy {
	width: 140px;
}
span.eighty {
	width: 160px;
}
span.ninety {
	width: 180px;
}
span.hundred {
	width: 200px;
	background: #e7261f;
}

.input-error {
    border-color: red !important;
}

form ul li {
    color: red;
}

form#allquestions div {
    width: 100%;
    max-height: 500px;
    overflow-y: auto; 
}

a.delete {
    background: rgba(230,0,0,0.9); 
    clear: both;
    float: right !important;
}

li.surveylist {
    padding: 10px !important;
}

ul.surveylist {
    margin-bottom: 20px !important;
    padding: 10px !important;
}

a.surveylist {
    float: none !important;
    color: black;
    font-size: 100% !important;
}

.pdfguidelink {
    font-size: 85%;
    padding-top: 3px;
    margin-left: 30px;
    float: right;
}

@media (max-width: 768px) {
    .login-box{
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;    
    }
}