/* adjust wrapper */
.wrapper {
	position: relative;
	min-height: 100%;
	width: 100%;
}

/* fix the header bar for navigation and menu */
.wrapper > .header {
	position: fixed;
	display: table;
	width: 100%;
	height: 45px;
    left: 0;
    top: 0;
}

/* mobile content */
.wrapper > article {
	width: 95%;
	max-width: 996px;
	min-width: 996px;
	margin: 0 auto;
	padding-top: 50px;
	padding-bottom: 10px;
}

.bread {
	height: 39px;
	background: url(../img/sprite_subnavigation.png);
	border: 1px solid #bebebd;
	margin-bottom: 10px;
}

.bread ul {
	margin: 0;
	padding: 0;
}

.bread ul li {
	float: left;
	height: 39px;
	line-height: 39px;
	list-style-type: none;
	background: url(../img/sprite_subnavigation.png);
}

.bread ul li div {
	padding-left: 23px;
	color: #175577;
	font-weight: bold;
}

.bread ul li div:after {
	position: absolute;
	content: "";
	background: url(../img/sprite_subnavigation_arrow.png) -25px 0 no-repeat;
	width: 15px;
	height: 39px;
}

.questiontext, .questionarea {
	background: #fff;
	border: 1px solid #bebebd;
	margin: 10px 0;
	padding: 10px;
	font-weight: bold;
}

.answer, .label, label {
	cursor: pointer;
	padding-top: 3px;
	padding-bottom: 3px;
}

label {
	padding-left: 10px;
	font: 14px/20px Arial, Tahoma;
	font-weight: bold;
}

.first div {
	padding-left: 12px !important;
}

.active {
	background: url(../img/subnavigation_selected.png) !important;
}

.active div {
	color: #fff !important;
}

.active div:after {
	background: url(../img/subnavigation_arrow_selected.png) -25px 0 no-repeat !important;
}

.errMsgInline {
	color:#ff0000;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.darkgradient {
	background: #5a6166;
}

.shadow10 {
	-webkit-box-shadow: 0px 0px 30px 0px #5a6166;
    -moz-box-shadow: 0px 0px 30px 0px #5a6166;
    -o-box-shadow: 0px 0px 30px 0px #5a6166;
    -khtml-box-shadow: 0px 0px 30px 0px #5a6166;
    box-shadow: 0px 0px 30px 0px #5a6166;
    filter: progid:DXImageTransform.Microsoft.Shadow(Color=#5a6166, Strength=-20, Direction=0),
    		progid:DXImageTransform.Microsoft.Shadow(Color=#5a6166, Strength=10, Direction=90),
     		progid:DXImageTransform.Microsoft.Shadow(Color=#5a6166, Strength=-20, Direction=180),
     		progid:DXImageTransform.Microsoft.Shadow(Color=#5a6166, Strength=10, Direction=270);
}

.shadow10dark {
	-webkit-box-shadow: 0px 0px 10px 0px #000;
    -moz-box-shadow: 0px 0px 10px 0px #000;
    -o-box-shadow: 0px 0px 10px 0px #000;
    -khtml-box-shadow: 0px 0px 10px 0px #000;
    box-shadow: 0px 0px 10px 0px #000;
}

.shadow5 {
	-webkit-box-shadow: 0px 0px 5px 0px #5a6166;
	-moz-box-shadow: 0px 0px 5px 0px #5a6166;
	-o-box-shadow: 0px 0px 5px 0px #5a6166;
	-khtml-box-shadow: 0px 0px 5px 0px #5a6166;
	box-shadow: 0px 0px 5px 0px #5a6166;
}

.border-radius-2px {
	border-radius: 2px;
    -o-border-radius: 2px;
    -moz-border-radius: 2px;
    -khtml-border-radius: 2px;
    -webkit-border-radius: 2px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 1px) {
	html {
	    font-size: 1em;
	    line-height: 1.429em;
	}
	
	body {
	    font: 14px/20px Arial, Tahoma;
	}
	
	h1 { 
		font-size: 2.143em;
		line-height: 2.571em;
	}
	
	/* show web elements */
	.wrapper > article > form > nav, .spacer {
		display: block;
	}
	
	/* set background */
	html, body {
		background: #ffffff;
	}
	
	/* content background */
	.wrapper > .bg {
		position: absolute;
		width: 95%;
		max-width: 996px;
		min-width: 996px;
		min-height: 100%;
		margin-left: auto;
		margin-right: auto;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		background: #dddddc;
		z-index: -1000;
	}
	
	/* links for header and footer bar */
	.wrapper > .header,
	.wrapper > .header a,
	.wrapper > .header a:visited,
	.wrapper > .header a:active,
	.wrapper > footer,
	.wrapper > footer a,
	.wrapper > footer a:visited,
	.wrapper > footer a:active {
		color: #ffffff;
		text-decoration: none;
	}
	
	.wrapper > .header a:hover,
	.wrapper > footer a:hover { 
		color: #a2c2da;
		text-decoration: none;
	}
	
	/* header bar not fixed */
	.wrapper > .header {
		position: absolute;
	}
	
	/* header bar content */
	.wrapper > .header > .topbar {
		display: block;
		width: 95%;
		max-width: 996px;
		min-width: 996px;
	}
	
	.wrapper > .header > .topbar,
	.wrapper > .header > .topbar > ul {
		height: 45px;
		padding: 0;
		margin: 0 auto;
	}
	
	.wrapper > .header > .topbar > ul li {
		display: block;
		height: 45px;
		width: 50%;
		padding: 0;
		margin: 0;
		font: 14px/45px Arial, Tahoma;
		float: left;
	}
	
	/* PROGRESS */
	.pmain {
		display: none;
	}
	
	.progress {
		display: table;
		width: 50%;
		height: 94px;
		line-height: 94px;
		margin: 0;
		padding: 0;
		float: right;
		text-align: right;
	}
	
	.progress > ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		vertical-align: bottom;
		display: inline-block;
		line-height: 1em;
	}
	
	.progress > ul li {
		font: 26px/26px Arial, Tahoma;
		float: left;
		margin: 0;
		padding: 0;
		margin-bottom: -5px;
		font-weight: bold;
	}
	
	.progresstext {
		color: #484848;
		padding-right: 30px;
		font: 18px/18px Arial, Tahoma;
		font-weight: normal !important;
	}
	
	.progresstext > span {
		font-size: 18px;
		color: #175478;
		line-height: 1em;
		padding-right: 15px;
	}
	
	.progresscount {
		color: #175478;
		background: -webkit-linear-gradient(left, #175478, #175478);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}
		
	/* content */
	.wrapper > article {
		padding: 40px 0;
		overflow-x: hidden;
	}
	
	/* logos */
    .logo {
    	display: block;
		width: 185px;
		height: 94px;
		float: left;
		margin-bottom: 20px;
	}
	
	/* footer bar */
	.wrapper > footer {
		display: block;
    	width: 100%;
    	min-width: 996px;
    	height: 45px;
    	position: absolute;
    	left: 0;
    	bottom: 0;
	}
	
	/* footer bar content */
	.wrapper > footer > .bottombar {
		display: block;
		width: 95%;
		max-width: 996px;
		min-width: 996px;
	}
	
	.wrapper > footer > .bottombar,
	.wrapper > footer > .bottombar > ul {
		height: 45px;
		padding: 0;
		margin: 0 auto;
	}
	
	.wrapper > footer > .bottombar > ul li {
		display: block;
		height: 40px;
		width: 50%;
		padding: 0;
		margin: 0;
		font: 14px/45px Arial, Tahoma;
		float: left;
	}
	
	/* 20px space on the left and right edges */
	.wrapper > .header > .topbar > ul,
	.wrapper > article > .header,
	.wrapper > article > section,
	.wrapper > footer > .bottombar > ul {
		margin: 0 20px;
	}
	
	/* 30px space to bottom */
	.wrapper > article > form > nav {
		height: 35px;
		margin-bottom: 30px;
	}
	
	/* navigation */
	.wrapper > article > form > nav input {
		width: 120px;
		height: 35px;
		font-size: 1.286em;
		margin-top: 10px;
	}
	
	/* BUTTON FIXING CLASSES */
	.button-gray, .button-blue {
		color: #175478;
		width: 120px;
		height: 45px;
		line-height: 32px;
		font-family: Arial, Tahoma;
		background: #efefee;
		border: 1px solid #bebebd;
	}
	
	.button-disabled {
		color: #c1c1c1;
		width: 120px;
		height: 145px;
		line-height: 32px;
		font-family: Arial, Tahoma;
		background: #e6e6e6;
		border: 1px solid #bebebd;
	}
	
	.button-gray:hover, .button-blue:hover {
		color: #a2c2da;
		background: #efefee;
		text-decoration: none;
	}
		
	/* adjust top margin for content */
	.wrapper > article > .header {
		margin-top: 30px;
	}
}