/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

@media screen {

/* TAGS */

	body {
		background-color: #0d4c69;
		color: #072b3c;
		font: 16px/1.2em 'Rokkitt', Georgia, serif;
		margin: 0;
		padding: 0 0 60px;
	}
	div {
		overflow: hidden;
	}
	p {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		line-height: 1.5em;
		margin-bottom: 20px;
	}
	a {
		color: #b2e0f6;
		cursor: pointer;
		opacity: 1;
		text-decoration: underline;
	}
	h2:only-child, h3, h4 {
		margin: 0 0 20px;
	}
	ol, ul {
		overflow: hidden;
		margin-bottom: 20px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		line-height: 1.5em;
	}
	ol li {
		list-style: outside decimal;
		margin-left: 2em;
	}
	ul li {
		list-style: circle;
		margin-left: 1em;
		vertical-align: top;
	}
	ul li ul, ol li ol {
		margin-bottom: 0;
	}
	ul li ul li {
		list-style-type: square;
	}
	form {
		float: right;
		padding: 20px 0 30px;
	}
	input {
		color: black;
	}
	label {
		margin-right: 5px;
	}
	strong {
		font: 16px/1.2em 'Rokkitt', Georgia, serif;
		font-weight: bold;
	}
	
/* CLASSES */	
	
	.row {
		margin: 0 auto;
		max-width: 940px;
	}
	.col {
		float: left;
		max-width: 450px;
		margin: 0 40px 20px 0;
	}
	.col2 {
		float: left;
		max-width: 500px;
		margin: 0 40px 20px 0;
	}
	.last {
		margin-right: 0 !important;
		
	}
	.white {
		background-color: #fff;
		padding:20px;
	}
	.lightblue { 
		background-color: #b4e3fa; 
		border-top: 1px solid #b2e0f6;
	}
	.blue {
		background-color: #188dc4;
		border-top: 1px solid #136d97;
		color: #e0f2fb;
	}
	.blue-2 {
		background-color: #188cd4;
		/*text-shadow: 0px 1px #000000;*/
		
	}
	.blue-3 {
		background: url(../img/colors.png) 0 -60px;
		display: inline-block;
		width: 30px;
		height: 15px;
	}
	.green {
		background: url(../img/colors.png) 0 0 no-repeat;
		display: inline-block;
		width: 30px;
		height: 15px;
	}
	.purple {
		background: url(../img/colors.png) 0 -30px;
		display: inline-block;
		width: 30px;
		height: 15px;
	}
	.red {
		background: url(../img/colors.png) 0 -90px;
		display: inline-block;
		width: 30px;
		height: 15px;
	}
	.darkblue {
		background-color: #0d4c69;
		border-top: 1px solid #072b3c;
		color: #e0f2fb;
	}
	.white a, .lightblue a, .pattern a {
		color: #188dc4;
	}
	.steps {
		/*background-color: #e0f2fb;
		border: 1px solid #b2e0f6;
		color: #072b3c;*/
		color: #e0f2fb;
		float: left;
		margin: 0 20px 20px 0;
		padding: 20px;
		width: 178px;
	}
	.steps ul {
		margin-bottom: 0;
	}
	.steps a {
		color: #e0f2fb;
		/*border-bottom: 1px dotted;
		text-decoration: none;*/
		text-decoration: underline;
		padding: 0;
	}
	.steps li {
		list-style-type: circle;
		padding-bottom: 5px;
		font: 16px/1.2em 'Rokkitt', Georgia, serif;
	}
	.steps li:hover {
		list-style-type: disc;
	}
	.active {
		color: #074578;
		text-decoration: underline;
	}
	.clear {
		clear: both;
	}
/* IDs */
	#ribbon {
		position: absolute;
		left: 0;
		top: 0;
		z-index: 100;
	}
	#calendar {
		padding: 15px 20px 0;
		float: right;
		width: 120px;
	}	
	#calendar p {
		line-height: normal;
	}
	#calendar strong {
		color: #188dc4;
	}
	#calendar a {
		display: block;
		color: #e0f2fb;
		text-decoration: underline;
	}
	#steps-intro {
		float: left;
		margin-right: 20px;
		width: 220px;
	}
	#article {
		overflow: visible;
		margin-bottom: 20px;
	}
	#article a {
		text-decoration: underline;
	}
	#article p:last-child {
		margin-bottom: 0;
	}	
	#footer-links {
		width: 220px;
		float: left;
	}
	#contact {
		width: 220px;
		float: right;
	}
	
	
	
	/***************************** Header *****************************/
	#header-content {
		background-color: #ffffff;
	}
	
	#header-wrapper {
		overflow: visible;
		margin: 50px 0px 30px 0px;
		background: #074578;
		height: 42px;
	}
	
	#header {
		overflow: visible;
	}
	
	#logo {
		overflow: visible;
		position: relative;
		top: -17px;
		left: -17px;
		float: left;
		width: 250px;
		z-index: 100;
	}
	
	#logo h1 a {
		background: url(../img/vote-kansas.png) no-repeat top transparent;
		display: block;
		width: 250px;
		height: 67px;
		text-indent: -9999px;
		color: #188dc4;
		font-size: 36px;
		line-height: 1em;
	}
	
	/****** Main Navigation ******/
	#navigation {
		float: left;
		height: 43px;
		margin-left: -17px;
	}
	
	#navigation ul {
		list-style: none;
		margin: 0;
		font: 16px/1.2em 'Rokkitt', Georgia, serif;
		
	}
	
	#navigation ul li {
		display: inline;
		/*color: #e0f2fb;*/
		color: #ffffff;
		padding: 13px 20px 10px 20px;
		margin: 0;
		float: left;
		/*height: 43px;*/
	}
	
	#navigation ul li.no-hover {
		padding: 11px 0px 10px 0px;
	}
	
	#navigation ul li.no-hover:hover {
		background: #074578;
		cursor: default;
	}
	
	#navigation ul li.light-blue-2 {
		color: #074578;
		background: #b4e3fa;
	}
	
	#navigation ul li a.special {
		color: #074578;
	}
	
	#navigation ul li.active-tab:hover {
		background: #b4e3fa;
	}

	#navigation ul li a {
		/*color: #e0f2fb;*/
		color: #ffffff;
		text-decoration: none;
	}
	
	#navigation ul li:hover {
		background: #188dc4;
		cursor: default;
		/*text-shadow: 0px 1px #000000;*/
	}
		
	#navigation ul li:hover > ul {
		display: block;
	}
	
	/* Sub Menu */
	#navigation ul li ul {
		list-style: none;
		margin: 0 0 0 -20px;
		padding: 0;
		display: none;
		position: absolute;
		top: 92px;
		z-index: 9999;
		background: #188dc4;
		/*background: #e0f2fb;*/
		
		border-radius: 0px 0px 5px 5px;
		-moz-border-radius: 0px 0px 5px 5px;
		-webkit-border-radius: 0px 0px 5px 5px;
		
		transition: opacity .25s ease .25s;
		-moz-transition: opacity .25s ease .25s;
		-webkit-transition: opacity .25s ease .1s;
		
		box-shadow: 0px 3.5px 3px rgba(0,0,0, 0.7);
		-moz-box-shadow: 0px 1px 2px rgba(0,0,0, 0.7);
		-webkit-box-shadow: 0px 3.5px 3px rgba(0,0,0, 0.7);
		filter: 
			progid:DXImageTransform.Microsoft.Shadow(color=#111111,direction=90,strength=2),
			progid:DXImageTransform.Microsoft.Shadow(color=#111111,direction=135,strength=3),
			progid:DXImageTransform.Microsoft.Shadow(color=#111111,direction=180,strength=3),
			progid:DXImageTransform.Microsoft.Shadow(color=#111111,direction=215,strength=3),
			progid:DXImageTransform.Microsoft.Shadow(color=#111111,direction=270,strength=2);
	}
	#navigation ul li ul li a {
		color: #ffffff;
	}
	
	#navigation ul li ul li {
		float: none;
		margin: 0;
		padding: 10px 0 0 0;
		display: block;
		
	}
	
	#navigation ul li ul li:last-child {
		padding-bottom: 10px;
	}
	
	#navigation ul li ul a {
		padding: 10px 20px 10px 20px;;
		height: auto;
		line-height: 1;
		display: block;
		/*white-space: nowrap;*/
		float: none;
	}
	
	#navigation ul li ul a:hover {
		background: #074578;
		color: #ffffff;
		/*text-shadow: 0px 1px #000000;*/
	}
	
	
	
	
	#navigation:after {
		visibility: hidden;
		display: block;
		font-size: 0;
		content: " ";
		clear: both;
		height: 0;
	}
	
	/************ Sub Navigation ************/
	#subnav-wrapper {
		overflow: visible;
		/*background: #188dc4;*/
		background: #b4e3fa;
		padding: 30px 0px 20px 0px;
		position: absolute;
		top: 92px;
		left: 0px;
		width: 100%;
		
	}
	#subnav {
		overflow: visible;
		padding-bottom: 20px;
	}
	#subnav ul {
		margin-bottom: 10px;
		margin-right: 20px;
		padding: 0;
		font: 16px/1.2em 'Rokkitt', Georgia, serif;
	}
	#subnav ul {
		display: inline;
		margin: 0;
		padding: 0;
	}
	#subnav ul li {
		list-style: none;
		color: #e0f2fb;
		float: left;
		margin: 0 20px 0 0;
		padding: 0 0 0 20px;
	}
	#subnav ul li:first-child {
		padding-left: 0px;
	}
	#subnav a {
		text-decoration: none;
		/*text-shadow: 0px 1px #000000;
		color: #ffffff;*/
		color: #188dc4;
	}
	
	#subnav a:hover {
		color: #074578;
		text-shadow: none;
	}
	
	#subnav ul li a.active {
		text-shadow: none;
		color: #074578;
	}
	
	/***************************** Content *****************************/
	#homepage-content {
		background-color: #ffffff;
		overflow: visible;
	}
	
	/***** Intro Area *****/
	#intro-text {
		float: left;
		max-width: 460px;
		padding: 40px 0 0;
	}
	
	#intro-text h2 {
		padding-bottom: 30px;
		font-size: 32px;
	}
	
	#intro-image {
		float: left;
		height: 235px;
		padding-left: 40px;
	}
	
	/***** Featured Area *****/
	#featured {
		padding: 40px 0px 15px 0px;
		z-index: 10;
	}
	
	#featured h2 {
		padding-bottom: 30px;
		font-size: 28px;
	}
	
	#featured li {
		border: 1px solid #b2e0f6;
		float: left;
		list-style: none;
		margin: 0 20px 20px 0;
		overflow: hidden;
		min-height: 195px;
		width: 218px;
		position: relative;
	}
	
	#featured-id {
		background: url('../img/voter-id.jpg') no-repeat center center;
		padding-bottom: 20px;
	}
	
	#featured-voteinfo {
		background: url('../img/polling-place.jpg') no-repeat;
		padding-bottom: 20px;
	}
	
	#featured-reg {
		background: url('../img/register-online.jpg') no-repeat; 
		padding-bottom: 20px;
	}
	
	#featured-document {
		background: url(../img/voter_passport.jpg) no-repeat;
		padding-bottom: 20px;
	}
	
	#featured li a {
		background-color: #0d4c69;
		color: #e0f2fb;
		display: block;
		padding: 20px 15px 0px 15px;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		text-decoration: none;
		height: 58px;
		font: 16px/1.2em 'Rokkitt', Georgia, serif;
	}
	
	#featured li:first-child a {
		padding: 10px 15px 10px 15px;
	}
	#featured li a:hover {
		opacity: 1;
		background-color: #188dc4;
	}
	
	/***** Sub-featured Area *****/
	#sub-featured {
		padding: 40px 0px 40px 0px;
	}
	
	#sub-featured a:hover {
		color: #0d4c69;
	}
	
	
	/************ Sub-Page Content ************/
	#subpage-content {
		overflow: visible;
		background: #ffffff;
		padding: 80px 0px 40px 0px;
	}
	
	#subpage-content h2 {
		font-size: 32px;
		padding: 5px 0px 30px 0px;
	}
	
	#subpage-content h3 {
		font-family:'Rokkitt', Georgia, serif;
		font-size: 24px;
		color: #188dc4;
		line-height: 26px;
	}
	
	#subpage-content h4 {
		font-size: 18px;
		margin: 0px 0px 10px 0px;
	}
	
	#subpage-content ul {
		padding-left: 10px;
	}
	#subpage-content img {
		padding: 0px 0px 30px 60px;
	}
	
	#subpage-content img.pdf {
		padding: 0px;
	}
	
	#subpage-content p, #subpage-content ol {
		margin-bottom: 30px;
	}
	
	#subpage-content a {
		color: #188dc4;
	}
	
	#subpage-content a:hover {
		color: #0d4c69;
	}
	
	#subpage-content a[href$=".pdf"] { /* Used to insert icon next to PDF links */
		background: url("../img/pdf-icon.gif") right top no-repeat;
		display: inline-block;
		padding-right: 18px;
	}
	
	#subpage-content ul.guides {
		margin-top: 20px;
	}
	
	#subpage-content ul.guides li {
		padding-bottom: 10px;
	}
	
	#left, #right {
		float: left;
	}
		
	#left ul li, #right ul li {
		list-style: none;
		display: block;
		padding-bottom: 20px;
		margin-left: 0px;
	}
	
	#left span, #right span {
		margin-right: 10px;
	}
	
	#right {
		padding-left: 80px;
	}
	

	
	/***************************** Footer *****************************/
	#footer {
		background-color: #0d4c69;
		text-align: center;
		padding: 30px 0px 20px 0px;
	}
	
	#footer ul {
		list-style: none;
	}
	
	#footer ul li {
		display: inline;
		/*color: #e0f2fb;*/
		color: #ffffff;
		font: 16px/1.2em 'Rokkitt', Georgia, serif;
	}
	
	#footer ul li a {
		/*color: #e0f2fb;*/
		color: #ffffff;
	}
	
	#footer a:hover {
		color: #188dc4;
	}
}

/* ================================ */
/* ! Layout for lower res version   */
/* ================================ */

@media screen and (max-width: 979px) {
	.row { 
		max-width: 460px;
	}
	/*#subnav ul {
		float: left;
		margin-right: 20px;
		width: 160px;
	}
	#subnav ul li {
		float: none;
		margin: 0 0 0 1em;
	}*/
	#header-content {
		padding-bottom: 20px;
	}
	#header-wrapper {
		background: #ffffff;
		border-bottom: none;
	}
	#header {
		background: white;
	}
	#logo {
		position: relative;
		left: 70px;
	}
	#navigation {
		float: left;
		height: 43px;
		background: #074578;
		width: 979px;
		position: relative;
		left:-245px;
		margin-top: 10px; 
		margin-bottom: 30px;
	}
	
	#navigation ul {
		list-style: none;
		margin: 0;
		position: relative;
		left: 210px;
		
	}
	
	#navigation ul li {
		display: inline;
		/*color: #e0f2fb;*/
		color: #ffffff;
		padding: 13px 20px 10px 20px;
		margin: 0;
		float: left;
		height: 43px;
	}
	
	#navigation ul li.no-hover {
		padding: 11px 0px 10px 0px;
	}
	
	#navigation ul li.no-hover:hover {
		background: #074578;
		cursor: default;
	}
	
	#navigation ul li.light-blue-2 {
		color: #074578;
		background: #b4e3fa;
	}
	#navigation ul li a.special {
		color: #074578;
	}
	
	#navigation ul li.active-tab:hover {
		background: #b4e3fa;
	}

	#navigation ul li a {
		/*color: #e0f2fb;*/
		color: #ffffff;
		text-decoration: none;
	}
	
	#navigation ul li:hover {
		background: #188dc4;
		cursor: default;
		/*text-shadow: 0px 1px #000000;*/
	}
		
	#navigation ul li:hover > ul {
		display: none;
	}
	
	#subnav-wrapper {
		overflow: visible;
		/*background: #188dc4;*/
		background: #b4e3fa;
		padding: 30px 0px 20px 0px;
		position: absolute;
		top: 170px;
		left: 0px;
		width: 100%;
	}
	#subnav {
		overflow: visible;
		padding-bottom: 20px;
	}
	#subnav ul {
		margin-bottom: 10px;
		margin-right: 20px;
		padding: 0;
	}
	#subnav ul {
		display: inline;
		margin: 0;
		padding: 0;
	}
	#subnav ul li {
		list-style: none;
		color: #e0f2fb;
		float: left;
		margin: 0 20px 0 0;
		padding: 0 0 0 20px;
	}
	#subnav ul li:first-child {
		padding-left: 0px;
	}
	#subnav a {
		text-decoration: none;
		/*text-shadow: 0px 1px #000000;
		color: #ffffff;*/
		color: #188dc4;
	}
	
	#subnav a:hover {
		color: #074578;
		text-shadow: none;
	}
	
	#subnav ul li a.active {
		text-shadow: none;
		color: #074578;
	}
	
	
	#intro {
		background: none;
	}
	#intro-text {
		padding: 20px 0 0;
	}
	#intro-text h2 {
		padding-bottom: 30px;
	}
	#intro-image {
		padding-left: 60px;
	}
	#featured {
		height: auto;
	}
	#featured h2 {
		padding-bottom: 20px;
	}
	#featured li:nth-child(2n) {
		margin-right: 0;
	}
	#steps-intro {
		width: 75%;
		padding-left: 60px;
	}
	.col {
		margin-right: 0;
	}
	.steps {
		float: none;
		margin-right: 0;
		width: 60%;
		padding-left: 60px;
	}
	#subpage-content {
		padding-top: 40px;
	}
	#subpage-content h2 {
		line-height: 34px;
	}
	#subpage-content #left, #subpage-content #right {
		float: none;
	}
			
	#subpage-content #left, #subpage-content #right {
		padding-left: 0px;
	}
	#subpage-content iframe {
		width: 460px;
		height: 700px;
	}
	#footer ul li {
		display: block;
	}
	
	#footer ul li:nth-child(2n) {
		display: none;
	}

	
}

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {
	
	#ribbon {
		display: none;
	}

}

/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/

}

/* ============================ */
/* ! Layout for print version   */
/* ============================ */

@media print {

	#nav, #subnav, form, #footer-links {
		display: none;
	}
	img {
		display: none;
	}
	a {
		color: black;
		text-decoration: none;
	}
	#article a[href^="http://"]:after {
		content: " (" attr(href) ") ";
	}
	
}
