/*
-----------------------------------------
Site Name: VotaInformado
Description: Voting information website in Chile. Developed for Google.
Version: 1.0
Author: Tomas Pollak, Fork Limited
Author URI: http://usefork.com
-----------------------------------------
*/

/* hey-ho!
--------------------------------------------------------------*/

* { margin: 0; padding: 0; }

body {
	font-size: 62.5%;
	background: #fff url(img/bg.png)  top repeat-x;
	color: #333;
}

html,body,div,p,input,select,textarea {
	font-family: Calibri, Helvetica, Arial, sans-serif;
	font-weight: normal;
}

img 	{ border-width: 0; }
li		{ list-style:none; font-size: 1.3em;}
p		{ line-height: 1.5em; font-size: 1.3em; margin-bottom: 1.3em; color: #666;}
small	{ margin-bottom: 1em; display:block; }

a { outline:none; text-decoration: none; }
a:link 		{ color: #d10f0f; }
a:visited 	{ color: #d10f0f; }
a:active 	{ color: #ff0000; }
a:hover 	{ text-decoration: underline; }

/* layout
--------------------------------------------------------------*/

#box{
/*	background: url(img/header-glow.png) center 106px no-repeat;*/
	margin: 0 auto;
	position: relative;
}

#cabeza,
#tronco,
#piernas,
#pies div{
	width: 780px;
	margin: 0 auto;
	padding 0 20px;
}


/* helpers
--------------------------------------------------------------*/

.hidden{
	display: none;
}
.invisible{
	visibility: hidden;
}
.left{
	float: left;
}
.right{
	float: right;
}
.notext{
	text-indent: -9999px;
}
.grey{
	background: #e4eaec;
}
.round{
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
}


/* headings
--------------------------------------------------------------*/
h1,h2,h3,h4{
	font-weight: normal;
}

h2,
#overlay-content h3{
	letter-spacing: -0.05em;
	font-size: 2em;
	letter-spacing: -0.03em;
	color: #555;
	font-weight: bold;
}

/* buscador
--------------------------------------------------------------*/

#resultado{
	background: #fff;
	position: absolute;
	top: 0;
	height: 300px;
	width: 600px;
	left: 50%;
	margin-left: -300px;
}

/* header
--------------------------------------------------------------*/

#cabeza{
	position: relative;
}

#cabeza h1 img{
	margin: 50px auto;
	display: block;
}

#cabeza h2{
	font-size: 3.3em;
	margin-bottom: 10px;
	color: #004455;
}

#cabeza .description{
	font-size: 2.9em;
	letter-spacing: -0.05em;
	color: #999;
	line-height: 125%;
}
#cabeza .description strong{
	font-weight: normal;
	color: #333;
}

/* chronogram
--------------------------------------------------------------*/

#cronograma{
	margin: 10px 0 30px 0px;
	background: #fafafa;
	border: 1px solid #eee;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding-bottom: 10px;
}

#cronograma h2{
	font-size: 2.2em;
	display: none;
}


#cronograma div{
	border-left: 1px solid #ccc;
	float: left;
	padding: 20px 7px 20px;
	position: relative;
	color: #999;
	margin-top: 10px;
}

#cronograma div.first{
	border: none;
}

#cronograma big{
	position: absolute;
	top: 0;
	left: 13px;
}

#cronograma li p{
	display: none;
	width: 300px;
	border: 1px solid #ccc;
	padding: 10px;
	font-size: 1em;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background: #eee;
	margin: 30px 0 0 -10px;
	z-index: 2000;
	position: relative;
	-moz-opacity: .9;
	opacity: .9;
}

#cronograma li{
	background: url(/css/img/circle-small-2.png) center top no-repeat;
	width: 16px;
	height: 16px;
	margin: 5px 5px 5px 4px;
	float: left;
}

#cronograma li.highlight{
/*background-position: center 49%;*/
	background-position: center center;
}
#cronograma li.highlight strong{
color: #000;
}

#cronograma li strong{
	position: relative;
	top: 17px;
	display: block;
	text-align: center;
}

#cronograma li:hover{
	background-position: center bottom;
	color: #d10f0f;
}

#cronograma li:hover p{
	display: block;
}

/* main menu
--------------------------------------------------------------*/

#menu {
	background: url(img/fade-horizontal.png) top no-repeat;
	padding: 10px 0 36px;
	text-align: center;
	position: relative;
	width: 120%;
	margin-left: -10%;
}

#menu li{
	display: inline;
	font-size: 2.2em;
	padding: 10px;
	background: url(img/line-menu.png) left 5px no-repeat;
}
#menu li.first{
	background: none;
	padding-left: none;
	margin-left: 0;
}
#menu li a{
	color: #ccc;
}

#menu li a:hover{
	background: url(img/bg-menu.png) center bottom no-repeat;
	padding-bottom: 27px;
}

#menu li.selected{
	padding-bottom: 10px;
}

#menu li.selected a{
	color: #d10f0f;
	background: url(img/bg-menu.png) center 33px no-repeat;
	padding-bottom: 29px;
	font-weight: bold;
	letter-spacing: -0.03em;
}


/* pies
--------------------------------------------------------------*/

#piernas{
	margin-top: 65px;
	background: url(img/fade-vertical.png) 211px top no-repeat;
	min-height: 893px;
}

#piernas li{
	min-height: 100px;
	margin-bottom: 20px;
	background: url(img/circle.png) 0 22px no-repeat;
}

#piernas li p{
	margin-top: 24px;
	float: left;
	width: 442px;
	color: #777;
}

#piernas li h2{
	text-align: right;
	float: left;
	width: 243px;
	margin-right: 55px;
	padding-left: 40px;
	position: relative;
	background: url(img/line.png) top no-repeat;
	padding-top: 20px;
}

#piernas li h2 span{
	color: #d10f0f;
	position: absolute;
	left: 1px;
	width: 30px;
	display: block;
	text-align: center;
}


/* formularios
--------------------------------------------------------------*/

fieldset{
	border: 0;
}
legend{
	display: none;
}

input[type=text],
input[type=password],
textarea,
select{
	font-size: 1.3em;
	padding: 4px 6px;
	color: #666;
	background: #fff;
	border: 1px solid #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}
input[type=text]:focus,
textarea:focus{
	color: #333;
}
input[type=text]:disabled{
	background-color: #eee !important;
}
select{
	font-size: 1.1em;
}
input.submit{
	background: #d7eef4;
	color: #47adbd;
	font-size: 1.3em;
	padding: 3px 6px;
	border: 1px solid #88cadb;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
}
small.example{
	color: #999;
	font-size: 1.1em;
	display: block;
}

/* errors
--------------------------------------------------------------*/

.errorlist{
	margin: 0 0 15px 0;
	background: #CF3333;
	padding: 5px 10px;
	border: 1px solid pink;
	color: #eee;
	font-size: 1.3em;
	line-height: 170%;
}


/* mapsearch
--------------------------------------------------------------*/

.form-section p{
	margin-bottom: 0;
}

#mapsearch{
	position: relative;
}

#mapsearch p{
	font-size: 1em;
	margin: 0;
	padding: 0;
	position: relative;
}

#mapsearch input#rut{
	margin: 0 5px 5px 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	background: url(img/icon-search.png) 5px center no-repeat;
	padding-left: 35px;
	width: 218px;
}

#mapsearch input#rut:focus{
	border-color: #333;
}

#mapsearch .example{
	margin-left: 340px;
}

#mapsearch .status.icon{
	display: block;
	width: 24px;
	height: 24px;
	position: absolute;
	left: 234px;
	top: 12%;
	z-index: 3;
}

#mapsearch .status.icon.error{
/*	background: url(img/icon-ok-error.png) center bottom no-repeat;*/
}

#mapsearch .status.icon.ok{
	background: url(img/icon-ok-error.png) center top no-repeat;
}

#mapsearch.loading .status.icon{
	background: url(img/ajax-transparent.gif) no-repeat;
}

#mapsearch .google-maps{
	position: absolute;
	bottom: -3px;
	margin-left: 522px;
}

#captcha img{
	margin: 20px 0 5px;
	border: 1px solid #ccc;
}

#captcha #code{
	margin-left: 338px;
	width: 98px;
	margin-right: 10px;
}

#captcha small{
	margin-left: 340px;
	font-size: .85em;
	color: #666;
}

/* overlay
--------------------------------------------------------------*/


#overlay-content h2{
	margin-bottom: 10px;
	font-size: 2.1em;
}

#overlay-content h3 span{
	color: #004455;
display: block;

}

#staticimg{
	background: #eee;
}

.map-left{
	float: left;
	position: absolute;
	top: 71px;
	width: 400px;
	margin: 10px 0 0;
	border: 2px solid #aaa;
	padding: 3px;
	height: 400px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	overflow: hidden;
}

.map-left div{
	position: absolute;
}

.list-right{
	float: right;
	width: 340px;
	margin: 10px 0 0 20px;
}

.list-right li{
/*	list-style: circle inside;*/
	border-top: 1px solid #ddd;
	font-size: 1.6em;
	line-height: 1.4em;
	padding: 5px 10px;
	color: #666;
	clear: left;
}

.list-right li strong{
	color: #333;
	margin-right: 15px;
	width: 110px;
	text-align: right;
	float: left;
	clear: left;
}
.list-right li br{
	display: none;
}

/* directions
--------------------------------------------------------------*/

#getdirections{
	position: absolute;
	top: 85px;
	width: 381px;
	background: #666;
	margin-left: 4px;
	padding: 5px 10px;
	color: #fff;
	z-index: 5;
}
#getdirections label{
	font-size: 1.3em;
	margin-right: 5px;
}
#getdirections .tooltip{
	left: 125px;
	top: 45px;
	width: 240px;
}
#getdirections #address{
	width: 152px;
	margin-right: 5px;
}
#getdirections .submit{
	padding-left: 4px;
	padding-right: 4px;
}

#directions .adp-placemark{
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 0 5px;
	font-weight: bold;
	color: #333;
	margin: 0;
}
#directions .adp-placemark img{
	margin: 5px 5px 0 0;
}

#directions .adp-summary{
	display: none;
}

#directions table.adp-directions tbody{
	display: block;
	max-height: 281px !important;
	overflow-x: hidden;
	overflow-y: auto;
	margin: 10px 0;
	border: 1px solid #ccc;
	padding: 0 10px;
}

#directions table tr{
	font-size: 1.35em;
	border-top: 1px solid #ccc;
}
#directions table td{
	border: none !important;
}
#directions .adp-distance{
	color: #999;
}

#directions table tr:hover{
	background: #fafafa;
}
#directions td:hover{
	text-decoration: underline !important;
}
.gmnoprint{
	font-size: 1.5em;
}

#directions .adp-legal{
	display: none;
}

/* overlays
--------------------------------------------------------------*/

#overlay{
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	z-index: 1001;
}
#overlay.opacity{
	background-color: black;
	-moz-opacity: 0.80;
	opacity:.80;
	filter: alpha(opacity=80);
}
#overlay.macffhack{
	background: url(img/macffback.png) repeat;
}

#overlay-content{
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	margin: -325px 0 0 -380px;
	width: 770px;
	padding: 20px 25px 25px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-khtml-border-radius: 10px;
	border-radius: 10px;
	z-index:1002;
	overflow: auto;
	background: white;
	min-height: 480px;
}
#overlay-content embed{
	margin-bottom: 10px;
}

#overlay-content a.icon{
	text-indent: -9999px;
	width: 28px;
	height: 27px;
	margin-bottom: 10px;
	display: block;
	background: url(img/icons-all.png) right top no-repeat;
	position: relative;
	top: 0px;
	margin-left: 8px;
}

#overlay-content a.icon.close:hover{
	background-position: right bottom;
}


#overlay-content a.icon.print{
	width: 29px;
	height: 26px;
	background-position: 0px top;
}
#overlay-content a.icon.print:hover{
	background-position: 0px bottom;
}

#overlay-content a.icon.info{
	height: 28px;
	margin-top: -1px;
	background-position: -74px top;
}
#overlay-content a.icon.info:hover{
	background-position: -74px bottom;
}

#overlay-content a.icon.directions{
	width: 20px;
	background-position: -27px top;
}

#overlay-content a.icon.directions:hover{
	background-position: -27px bottom;
}

#credits{
	clear: both;
	padding-top: 20px;
}


/* tooltips
--------------------------------------------------------------*/

.tooltip span{
	position: absolute;
	top: -10px;
	width: 19px;
	background: url(img/icon-tooltip-v.gif) 0 0 no-repeat
}
.tooltip{
	z-index: 1000;
	display: none;
	position: absolute;
	top: 25px;
	left: 10px;
	width: 260px;
	border: 1px solid #c93;
	padding: 7px 10px;
	background: #ffc;
	font-size: 1.35em;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #8f5f00;
}
.tooltip.static{
	display: block;
	position: static;
	width: 746px;
	float: left;
	margin: 20px 10px 0;
	font-size: 1.2em;
}
.tooltip a.cerrar{
	margin-bottom: 10px;
	margin-left: 7px;
	float: right;
	background: url(i/icon-close-tooltip.gif) right 1px no-repeat;
	text-indent: -9999px;
	width: 16px;
	height: 16px;
}

/* footer
--------------------------------------------------------------*/

#pies{
	position: relative;
}

#pies p{
	background: url(/img/fork-gob.png) 97px 9px no-repeat;
	padding-top: 6px;
	color: #aaa;
	line-height: 170%;
	font-size: 1.3em;
	height: 65px;
	padding-left: 240px;
	margin-left: 96px;
	margin-top: 50px;
}
#pies a{
	color: #999;
	border-bottom: 1px dotted #999;
}
#pies a:hover{
	text-decoration: none;
	border-bottom: 1px solid;
	color: #333;
}

/* clearfix
--------------------------------------------------------------*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {display: inline-block;}

/* what the f? \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* there-there. */

