/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

@font-face {
    font-family: 'FuturaLtLight';
    src: url('futura_lt.eot');
    src: url('futura_lt.eot?#iefix') format('embedded-opentype'),
         url('futura_lt.woff') format('woff'),
         url('futura_lt.ttf') format('truetype'),
         url('futura_lt.svg#futura_lt') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
		font-family: 'BauhausItcTEE-Medi';
		src: url('bauhausitcteemed.eot');
		src: url('bauhausitcteemed.eot?#iefix') format('embedded-opentype'),
				 url('bauhausitcteemed.woff') format('woff'),
				 url('bauhausitcteemed.ttf') format('truetype'),
				 url('bauhausitcteemed.svg#bauhausitcteemed') format('svg');
		font-weight: normal;
		font-style: normal;
}

body {
    font-size: 1em;
    line-height: 1.4;
    vertical-align:top;
	font-family: 'FuturaLtLight', Arial, Helvetica, sans-serif;
	color:#333333;
	background-color: #ECECEC;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

div.clear  { clear: both; }
div.clear_1  { clear: both; padding-top: 15px;}
div.clear_2  { clear: both; padding-top: 30px;}
div.clear_3  { clear: both; padding-top: 40px;}
div.clear_4  { clear: both; padding-top: 10px;}
div.clear_barra_top  { clear: both; padding-top: 90px;}
div.clear_esp_1  { clear: both; padding-top: 70px;}

hr.linea_color {
    border-top: 1px solid #B3B3B3;
}

h1 {
	font-size: 160%;
	color:#666666;
}

h2 {
	font-size: 120%;
	color:#666666;
}

.barra {
	width: 100%;
	height: 5px;
	background-color: #261D51;
}

a, ul.links , ul.links a {
	color: #88AA00;
	text-decoration: none;
}

a:hover, ul.links a:hover {
	text-decoration: underline;
}

.titulos {
    line-height: 1;
	font-size: 200%;
}

.titulos_1 {
    line-height: 1;
    font-size: 600%;
    color: #88aa00;
}

.titulos_2 {
    line-height: 1;
    font-size: 300%;
    color: #666666;
}

.titulos_3 {
    font-size: 150%;
}

.titulos_3 .resaltado {
    color: #88aa00;
}

.letra_chica {
    line-height: 1.5;
	font-size: 80%;
	font-style:italic;
}

#contenedor, #barra_superior {
	width: 100%;
}

#barra_superior {
	height: auto;
	padding: 15px 0;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	background-color:#333333;
	-moz-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	-webkit-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	position:fixed;
	z-index: 10;
}

#bloque_principal, #barra_superior_contenedor {
	width: 960px;
	margin: 0 auto;
	font-size: 110%;
}

#barra_superior_contenedor {
	background-color:#88AA00;
}

#logo_contenedor {
	width: 380px;
	float:left;
}

#navegador {
	width: 550px;
	float:right;
}

#navegador a, #navegador a:visited {
	font-size:90%;
	background-color:#FFFFFF;
    color: #333333;
    padding: 3px 15px;
    margin-left: 5px;
    width: auto;
    text-decoration: none;
    text-align:center;
    display: inline-block;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

#navegador a:hover {
	background-color:#88AA00;
    color: #FFFFFF;
}

#barra_inferior {
	font-size: 80%;
	text-align:center;
}

.bloque_1 {
	position: relative;
    z-index: 0;
	float: none;
	padding: 50px;
	background-color: #E6E6E6;
	width: 100%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	-webkit-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.bloque_1_fondo_1 {
	background-color: #E6E6E6;
}

.bloque_1_fondo_2 {
	background-color: #333333;
	color:#FFFFFF;
}

.bloque_1_fondo_2 .contraste {
	color:#88AA00;
}

.bloque_1_fondo_2 .info {
	font-size: 180%;
	margin: 0 auto;
	background: #88AA00;
	padding: 5px 50px;
	width: 80%;
	border: #FFF 1px solid;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}


table.listado {
    width: 100%;
}

table.listado tr td,th {
    border-color: #88AA00;
    border-style: solid;
    border-width: 1px;
    padding: 4px 20px;
}

table.listado tr th {
    text-align: center;
    background-color: #88AA00;
    font-weight: bold;
    color: #FFF;
    font-size: 120%;
}

tr:nth-of-type(odd){
	background-color: #DDDDDD;
}


table.listado tr td.resaltado {
	color:#EF0000;
}

form {
	width: 60%;
	margin: 10px auto;
	padding: 20px;
	background: #E6E6E6;
	font-size: 90%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	-webkit-box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	box-shadow:  0px 0px 15px 0px rgba(50, 50, 50, 1);
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

label {
	float: left;
	clear: left;
	margin: 8px 9px 0 0;
	width: 30%;
	text-align: right;
}

input, textarea, select {
	width: 55%;
	padding: 4px 8px;
	margin: 0 0 7px 0;
	
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

input, textarea {
    -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    border-radius: 2px;
	border: 1px solid #e1e1e1;
}


textarea {
	height: 130px;
}
	
input:focus, textarea:focus {
	background: #FFF8D6;
}

.link_boton, .link_boton:visited, input[type=submit]{
	font-size:90%;
    text-decoration: none;
    text-align:center;
    background: #88AA00;
    color: #FFF;
    padding: 10px 20px;
    width: auto;
    display: inline-block;
    
    border:1px solid #c5e092;
    
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
}

.link_boton:hover, input[type=submit]:hover {
	background: #333333;
    text-decoration: none;
    border:1px solid #1A1A1A;
}

.link_boton.grande {
	font-size: 200%;
	margin: 5px 30px;
}

.avisos{
	color: #EF0000;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (max-width: 980px) {
	#bloque_principal, #barra_superior_contenedor {
		width: 99%;
	}
	
	#logo_contenedor {
		width: 350px;
		margin: 0 0 5px 5px;
	}
}

@media only screen and (max-width: 768px) { /* Esto es para ipad solamente y debe ser 768 */
	#barra_superior {
		padding: 3px 0;
	}
	
	#logo_contenedor {
		width: 200px;
	}
	
	#navegador a, #navegador a:visited {
		margin: 5px;
	}
	
	form {
		width: 75%;
	}
}

@media only screen and (max-width: 640px) {
	div.clear_barra_top {
		padding-top: 150px;
	}
	
	#logo_contenedor {
		width: 95%;
	}
	
	#navegador {
		width: 100%;
	}
	
	.bloque_1 {
		padding: 40px;
	}
	
	.bloque_1_fondo_2 .info {
		padding: 5px 30px;
		width: 90%;
	}
	
	form {
		width: 98%;
		margin: 5px auto;
		padding: 5px;
	}
}

@media only screen and (max-width: 550px) {
	
	#navegador a, #navegador a:visited {
		width: 45%;
	}
	
	.bloque_1 {
		padding: 20px;
	}
	
	.bloque_1_fondo_2 .info {
		width: 95%;
	}
	
	div.clear_barra_top {
		padding-top: 200px;
	}
	
	table.listado tr td,th {
	    padding: 5px 10px;
	    font-size: 100%;
	}
}


@media only screen and (max-width: 480px) {
	.bloque_1 {
		padding: 10px;
	}
	
	.bloque_1_fondo_2 .info {
		padding: 5px;
		width: 100%;
	}
	
	table.listado tr td,th {
	    padding: 5px 2px;
	    font-size: 90%;
	}
	
	
	form {
		width: 98%;
		margin: 5px auto;
		padding: 5px;
	}
	
	label {
		clear: both;
		margin: 5px;
		width: 96%;
		text-align: left;
	}
	
	input, textarea, select {
		width: 93%;
		padding: 4px 8px;
		margin: 5px;
	}
}

@media only screen and (max-width: 320px) {
	table.listado tr td,th {
	    padding: 5px 0;
	    font-size: 85%;
	}
	
	input, textarea {
		width: 90%;
	}
}


