@import url(http://fonts.googleapis.com/css?family=Titillium+Web:900);

#myQuiz {
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	width: 650px;
	height: 700px;
	position: relative;
	overflow: hidden;
	color: #fff;
	background: #1a9e9e;
	border: 10px solid #4c5454;
	margin:0 auto;
}

#myQuiz .header {
	padding-bottom: 20px;
	border-bottom: 5px solid #4c5454;
	position: absolute;
	width: 100%;
	top: 5px;
	left: 36px;
	margin-left: -36px;
	text-align: left;
	
	background: url(../images/logo/onm/logo_white_100x90.png) 10px 2px no-repeat;
	padding-left: 120px;
}
#myQuiz .header h1 {
	font-weight: 100;
	font-size: 1.3em;
	text-transform: uppercase;
	margin: 10px 0 0 0;
}

#myQuiz .header h1 span {
	display: block;
	font-weight: 900;
	font-family: 'Titillium Web', sans-serif;
	font-size: 2.7em;
	line-height: 45px;
}

#myQuiz h2 {
	font-size: 3em;
	margin: 0px 0px 30px 0px;
	font-weight: 100;
}

#myQuiz h3 {
	font-size: 2.4em;
	margin: 0px;
	font-weight: 100;
}

#myQuiz p {
	margin: 0px 0px 14px 0px;
}

#myQuiz .btn{
	display: inline-block;
	cursor: pointer;
	background-color: #EE964B;
	color: #fff;
	text-decoration: none;
	padding: 15px;
	width: 180px;
	margin: 0 auto;
	font-size: 1em;
	text-align: center;
}

/* Progress bar */
#myQuiz .progress {
	width: 550px;
	height: 40px;
	position: absolute;
	top: 160px;
	left: 40px;
	background:none;
	box-shadow: none;
}

#myQuiz .progress div {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-right: 15px;
	margin-left: 15px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, .2);
	transition: background-color 0.5s;
}

/*
#myQuiz .progress div::after{
	content:'';
	display: block;
	position: absolute;
	top: -60px;
	left: -15px;
	width: 65px;
	height: 40px;
	background: url(../images/icons/ring.svg) no-repeat 0px 0px;
	transition: opacity 1s, top 1s;
	opacity: 0;
}
*/

#myQuiz .progress div.on,
#myQuiz .progress div.answered {
	background-color: #EFF2F1;
}
/*
#myQuiz .progress div.correct {
	top: -5px;
	opacity: 1;
}
*/

/* Intro */
#myQuiz .intro {
	position: absolute;
	top: 225px;
	left: 660px;
	width: 550px;
}

#myQuiz .intro p {
	margin: 0px 0px 40px 0px;
}

/* Questions */
#myQuiz .question {
	width: 550px;
	position: absolute;
	top: 225px;
	left: 660px;
}
#myQuiz .question .txt {
	font-size: 1.6em;
	margin: 0px 0p 20px 0px;
}
#myQuiz .question .ans {
	display: inline-block;
	font-size: 1.1em;
	width: 225px;
	background: #28AFB0;
	border: 2px solid rgba(255, 255, 255,.4);
	padding: 10px;
	margin: 0px 15px 15px 0px;
	position: relative;
}
#myQuiz .question .ans.selected {
	border-color: #fff;
}
#myQuiz .question .ans.correct {
	/* border-color: #459a2e; */
}
#myQuiz .question .ans::after {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background: no-repeat 0px 0px;
	background-size: 20px 20px;
	position: absolute;
	top: 5px;
	right: 5px;
}
#myQuiz .question .ans.selected::after {
	background-image: url(../images/icons/icon_correct.svg);
}
#myQuiz .question .ans.correct::after {
	/* background-image: url(../images/icons/icon_correct.svg); */
}
#myQuiz .question.unanswered .ans{
	cursor: pointer;
}
#myQuiz .question.unanswered .ans{
	cursor: pointer;
}
#myQuiz .question.unanswered .ans:hover {
	background-color: rgba(238,189,102,.2);
}
#myQuiz .question.answered .ans{
	cursor: default;
}

#myQuiz .question .ans.image {
	min-height: 60px;
	padding:0;
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

/* Feedback */
#myQuiz .feedback {
	color: #efbe5e;
	margin-top: 50px;
	transition: opacity 0.5s, margin-top 0.5s;
	visibility: hidden;
	opacity: 0;
}
#myQuiz .feedback .btn {
	margin-top: 5px;
}
#myQuiz .feedback strong {
	color: #fff;
}
#myQuiz .answered .feedback {
	visibility: visible;
	opacity: 1;
	margin-top: 10px;
}

/* Contact */
#myQuiz .contact {
	position: absolute;
	top: 225px;
	left: 660px;
	width: 550px;
}
#myQuiz .contact .form-group {
	margin: 30px 0;
}


.form-style-7{
    max-width:400px;
    margin:10px auto;
}
.form-style-7 ul{
    list-style:none;
    padding:0;
    margin:0;
}
.form-style-7 li{
    display: block;
    padding: 9px;
	border: 2px solid rgba(255, 255, 255,.4);
    margin-bottom: 30px;
    border-radius: 3px;
}
.form-style-7 li.error{
	border-color: #D9594C;
}

.form-style-7 li > label{
    display: block;
    float: left;
    margin-top: -20px;
    background: #1a9e9e;
    height: 20px;
    padding: 2px 5px 2px 5px;
    color: #fff;
    font-size: 12px;
    overflow: hidden;
}
.form-style-7 input[type="text"],
.form-style-7 input[type="date"],
.form-style-7 input[type="datetime"],
.form-style-7 input[type="email"],
.form-style-7 input[type="number"],
.form-style-7 input[type="search"],
.form-style-7 input[type="time"],
.form-style-7 input[type="url"],
.form-style-7 input[type="password"],
.form-style-7 textarea,
.form-style-7 select 
{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    display: block;
    outline: none;
    border: none;
    height: 25px;
    line-height: 25px;
    font-size: 18px;
    padding: 0;
	background: #1a9e9e;
	color: #fff;
}
.form-style-7 input[type="text"]:focus,
.form-style-7 input[type="date"]:focus,
.form-style-7 input[type="datetime"]:focus,
.form-style-7 input[type="email"]:focus,
.form-style-7 input[type="number"]:focus,
.form-style-7 input[type="search"]:focus,
.form-style-7 input[type="time"]:focus,
.form-style-7 input[type="url"]:focus,
.form-style-7 input[type="password"]:focus,
.form-style-7 textarea:focus,
.form-style-7 select:focus 
{
}
.form-style-7 li > span{
    background: #28AFB0;
    display: block;
    padding: 3px;
    margin: 0 -9px -9px -9px;
    text-align: center;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}
.form-style-7 textarea{
    resize:none;
}
.form-style-7 input[type="submit"],
.form-style-7 input[type="button"]{
    background: #2471FF;
    border: none;
    padding: 10px 20px 10px 20px;
    border-bottom: 3px solid #5994FF;
    border-radius: 3px;
    color: #D2E2FF;
}
.form-style-7 input[type="submit"]:hover,
.form-style-7 input[type="button"]:hover{
    background: #6B9FFF;
    color:#fff;
}

/* Results */
#myQuiz .results {
	position: absolute;
	top: 225px;
	left: 660px;
	width: 550px;
}

#myQuiz .results span { font-size: 4em; font-family: 'Titillium Web', sans-serif;}
#myQuiz .results span.level1 {color:#FF0000;}
#myQuiz .results span.level2 {color:#FF7F00;}
#myQuiz .results span.level3 {color:#FFFF00;}
#myQuiz .results span.level4 {color:#00FF00;}

#myQuiz .results .share {
	margin-top: 40px;
}

#myQuiz .results .share a.btn {
	margin-right: 20px;
	padding: 5px 15px 8px 42px;
	background-repeat: no-repeat;
	background-position: 5px 5px;
	background-size: 25px 25px;
}
#myQuiz .results .share a.btn.email {
	background-color: #f0a121;
	background-image: url(../images/icons/icon_email.svg);
}
#myQuiz .results .share a.btn.facebook {
	background-color: #3b579d;
	background-image: url(../images/icons/FB-f-Logo__white_29.png);
}

#myQuiz .results .xl-orange {
	font-size: 1.5em;
	color: #f0a121;
}

#myQuiz .active,
#myQuiz .inactive {
	transition: left 0.5s ease-in-out;
}
#myQuiz .active {
	left: 40px;
}
#myQuiz .intro.inactive, #myQuiz .inactive.answered, #myQuiz .contact.inactive {
	left: -1350px;
}

@media screen and (max-width: 768px) {
	#myQuiz { margin-top: -40px;}
}

@media screen and (max-width: 650px) {
	#myQuiz {
		width: 100%;
		background-size: 320px auto;
	}
	
	#myQuiz .header {
		background: url(../images/logo/onm/logo_white_70x64.png) 10px 7px no-repeat;
		padding-left: 90px;
	}
	#myQuiz .header h1 {
		width: 100%;
		font-size: 1.1em;
		top: 30px;
		left: 25px;
	}
	#myQuiz .header h1 span {
		line-height: 43px;
	}
	#myQuiz h2 {
		margin: 0px;
	} 
	#myQuiz h3 {
		font-size: 2.2em;
		margin-bottom: 15px;
	}
	#myQuiz .progress {
		width: 100%;
		top: 90px;
		left: 0px;
	}
	#myQuiz .progress div{
		width: 25px;
		height: 25px;
		margin-right: 10px;
		margin-left: 10px;
	}
	#myQuiz .progress div::after{
		top: -30px;
		width: 53px;
		height: 33px;
	}
	#myQuiz .intro {
		width: 100%;
		top: 130px;
		left: 650px;
	}
	#myQuiz .question {
		width: 100%;
		top: 150px;
		left: 650px;
	}
	#myQuiz .question .txt {
		font-size: 1.4em;
		margin-bottom: 15px;
	}
	#myQuiz .question .ans {
		font-size: 1em;
		padding: 5px 10px;
		margin-bottom: 10px;
	}
	#myQuiz .question .description {
		padding: 0 5px;
	}
	#myQuiz .results, #myQuiz .contact {
		width: 100%;
		top: 200px;
		left: 650px;
	}
	#myQuiz .results .share {
		margin-top: 20px;
	}
	#myQuiz .results a.btn {
		margin-bottom: 20px;
	}
	#myQuiz .active {
		left: 0px;
		padding: 0 5px;
	}
	#myQuiz .intro.inactive,
	#myQuiz .inactive.answered {
		left: -650px;
	}
	
}

@media screen and (max-width: 550px) {
	.main-content {
		padding: 0;
	}
	#myQuiz {
		margin-top: 0px;
		border: 0px;
		height: 900px;
	}
	#myQuiz .header {
		border-bottom: 0px;
		left: 0px;
		margin-left: 0px;
		padding-left: 70px;
		background-size: 50px 45px;
	}
	#myQuiz .header h1 {
		font-size: 0.8em;
	}
	#myQuiz .header h1 span {
		font-size: 3.1em;
		line-height: 30px;
	}
	#myQuiz .intro p {
		margin-bottom: 20px;
	}
	.col-md-12 {
		padding: 0;
	}
	.row {
		margin-left: 0px;
		margin-right: 0px;
	}
	.container {
		padding-left: 0px;
		padding-right: 0px;
	}
}