/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*GENERAL*/
.container{
	max-width: 960px;
	margin: 0 auto;
}
/* HEADER*/
#header_top{
	margin-bottom: 20px;
	position: relative;
}
#header_top hgroup{
	color: #FFF7B2;
	font-family: 'Open Sans', sans-serif;
	margin: 20px 0 0 0;
}
#header_top h1{
	float: left;
	margin: 0 40px 0 0;
}
#header_top h1 a{
	background: url(../img/logo.png);
	display: block;
	height: 64px;
	text-indent: -666em;
	overflow: hidden;
	width: 210px;
}
#header_top h2{
	float: left;
	font-size: 30px;
	line-height: 40px;
	margin: 0;
}
#header_top h3{
	float: left;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 12px;
	font-weight: normal;
	margin:	5px 0 0 0;
}
#header_bottom{
	background: #87868b;
	width: 100%
}
ul#idiomas{
	background: #FFF7B2;
	border: 8px solid #FFF7B2;
	-webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
}
ul#idiomas li{
	list-style: none
	;float: left;
}
ul#idiomas li a{
	display: block;
	height: 18px;
	text-indent: -666em;
	overflow: hidden;
	width: 33px;
}
ul#idiomas li#eng a{
	background:url(../img/ingles.jpg);
	margin: 0 7px 0 0;
}
ul#idiomas li#esp a{
	background:url(../img/espanol.jpg);
}
/* nav */
nav{
	padding: 15px 0;
}
ul#nav{
	display: table;
	width: 100%;
	border-collapse:separate;
	border: none;
	margin: 0;
	-webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    box-shadow: 0 0 1px #a8a381;
	-moz-box-shadow:  0 0 1px #a8a381;
    -webkit-box-shadow:  0 0 1px #a8a381;
	padding-left: 0;
	
}

ul#nav li {
	cursor: pointer;
	display: table-cell;
	margin: 0;
	background: #f5e551;
	background: -webkit-linear-gradient(#f4ed95, #f5e551); 
	background: -o-linear-gradient(#f4ed95, #f5e551); 
	background: -moz-linear-gradient(#f4ed95, #f5e551); 
	background: linear-gradient(#f4ed95, #f5e551); 
	border-right: 1px dotted #CF6D13;
	text-shadow: 0 1px 0 #fcf46b;
	text-align:center;
	/*font-family: 'Open Sans', sans-serif;*/
	font-family: 'Open Sans Condensed', sans-serif;
	font-size:17px;
	font-weight: 700;
	height:48px;
	list-style-type:none;
	
	
}
ul#nav li:hover{
	background-image:none;
	background-color:#6c297f;
	background: #6c297f; /* Old browsers */
	background: -webkit-linear-gradient(#77418c, #6c297f); 
	background: -o-linear-gradient(#77418c, #6c297f); 
	background: -moz-linear-gradient(#77418c, #6c297f); 
	background: linear-gradient(#77418c, #6c297f); 
	text-shadow: none;
}
ul#nav li.sec_on{
	background-image:none;
	background-color:#6c297f;
	background: #6c297f; /* Old browsers */
	background: -webkit-linear-gradient(#77418c, #6c297f); 
	background: -o-linear-gradient(#77418c, #6c297f); 
	background: -moz-linear-gradient(#77418c, #6c297f); 
	background: linear-gradient(#77418c, #6c297f); 
	font-size: 19px;
	text-shadow: 0 1px 0 #9936B9;
}
ul#nav li.sec_on a{
	color:#feef01;
}
ul#nav li:hover a{ 
	color:#feef01;
	text-shadow: 0 1px 0 #9936B9;;
}
ul#nav li a.sec_on{ 
	color:#756900;
	text-shadow: 0 1px 0 rgba(255,251,9,0.8);
}
ul#nav li:nth-child(1){
	-webkit-border-radius: 12px 0 0 12px;
    -moz-border-radius: 12px 0 0 12px;
    border-radius: 12px 0 0 12px;

}
ul#nav li:nth-child(7){
	-webkit-border-radius: 0 12px 12px 0;
    -moz-border-radius: 0 12px 12px 0;
    border-radius: 0 12px 12px 0;
	border-right-color: rgba(0, 0, 0, 0);

}
ul#nav li:nth-child(7) a{
	border-right:0;
}
ul#nav li:nth-child(1) a{
	border-left:0;
	padding: 0 3px;
}
ul#nav li a{
	color:#6e327d;
	line-height: 48px;
	text-decoration:none;
	display:block;
	position: relative;
}
ul#nav li.desplegable{
	padding-right: 10px;
}
ul#nav li .desplegable{
	background:url(../img/desplegable.png);
	height: 13px;
    position: absolute;
    right: 14px;
    top: 18px;
    width: 13px;
}
/*Desplegable*/
ul#nav li ul {
	/* display:none;*/
	position:absolute;
	height: 0;
	overflow:hidden;
	-moz-transition-duration:.3s;
	-webkit-transition-duration:.3s;
	-o-transition-duration:.3s;
	transition-duration:.3s;
	margin: 0;
	padding: 0;
	width: 210px;
}
.eng ul#nav li ul{
	width: 265px;
}
ul#nav li:hover > ul {
	background-color: #f5e551;
 	/*display:block;*/
	padding: 1px 0;
	margin-top: 0;
	width: 210px;
	z-index:10;
	height: 153px;
}
.eng ul#nav li:hover > ul{
	width: 265px;
}
ul#nav li.bot_catalogo ul {
	width: 170px;
}
.eng ul#nav li.bot_catalogo ul {
	width: 170px;
}
ul#nav li.bot_catalogo:hover > ul {
	height: 60px;
}
ul#nav li ul li {
	background: none;
	border-bottom: 1px dotted #CF6D13;
	border-right: none;
	float: none;
	display: block;
	height: 30px;
	padding: 0;
	position:relative;
	text-align: left; 
}
ul#nav li ul li:hover {
	color: #FF8C00;
/*	height:14px;
	padding: 0 0 5px 0;*/
}
ul#nav li ul li:nth-child(1){
	border-right: none;
	border-bottom: 1px dotted #CF6D13;
	-webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
ul#nav li ul li:nth-child(5){
	border: none;
}
ul#nav li:hover ul li a{
	color: #6E327D;
	text-shadow: none;
	width:190px;
}
.eng ul#nav li:hover ul li a{
	width: 250px;
}
ul#nav li ul li a{
	color: #6E327D;
	border-top: 0;
	font-size: 15px;
	line-height: 15px;
	height: 1em;
	padding:  0.5em 0 0.5em 0.83333em;
	width: 9.58333em;
}
ul#nav ul li:nth-child(1) a{
	padding:  0.5em 0 0.5em 0.83333em;
}
ul#nav li ul li a:hover {
	background: none;
	border-top: none;
	color: #FEEF01;
	text-align: left;
}
/*End Desplegable*/
/* end nav */	
/* END HEADER */
/* FOOTER */
footer{
	background: #79227D;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	font-family: 'Open Sans', sans-serif;
	height: auto;
	margin: 0 0 25px 0;
	position: relative;
	width: 100%;
	padding: 10px 0 20px;
}
footer .container{
	position: relative;
}
footer p{
	color: #ffffff;
	font-size: 11px;
	margin:0;
	padding-top: 9px;
	text-align: center;
}
footer a.mailto{
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	background-color: #79227D;
    border: medium none;
    color: #FFFFFF;
    font-size: 11px;
    height: auto;
    position: inherit;
    text-decoration: none;
	display:inline;
}
footer a.facebook{
	background: url(../img/facebook.png) no-repeat #f3e13d;
	border: 3px solid #f3e13d;
	-webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
	display: block;
	height: 15px;
	position:absolute;
	right: 0;
	text-indent: -666em;
	top: 14px;
	width: 15px;
}
/* END FOOTER */
/*END GENERAL*/
/* FONDO*/
.home{
	/*background:url(../img/home_back.jpg) top center #808080 no-repeat;*/
	background-color: #808080;
}
#fondo{
	background:url(../img/home_back.jpg) top center #808080 no-repeat;
}
.interna{
	/*background:url(../img/interna_back.jpg) top center #808080 no-repeat;*/
	background-color: #808080;
}
/* END FONDO*/



/* CONTENT HOME */
.home .content{
	margin: 20px auto 0 auto;
	padding: 0 0 50px 0;
	position: relative;
}
.home .col{
	background: #87868b;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	float: left;
	font-family: 'Open Sans', sans-serif;
	height: 380px;
	padding: 15px 25px 0 25px;
	position: relative;
	width: 240px;
}
.home .col1, .home .col2{
	margin: 0 45px 0 0;
}
.home .col h2{
	color: #EDD700;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px 0;
	text-transform: uppercase;
}
.home .col p{
	color: #ffffff;
	font-size: 13px;
	margin: 13px 0 0 0;
}
.home .col a{
	background: #f3e13d;
	background: -webkit-linear-gradient(#f7ed77, #f3e13d); 
	background: -o-linear-gradient(#f7ed77, #f3e13d); 
	background: -moz-linear-gradient(#f7ed77, #f3e13d); 
	background: linear-gradient(#f7ed77, #f3e13d); 
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
	bottom: 25px;
	color: #6D2684;
	display: block;
	font-size: 15px;
	font-weight: 600;
	height: 37px;
	line-height: 37px;
	padding: 0 0 0 10px;
	position: absolute;
	right: 25px;
	text-align: left;
	text-decoration: none;
	text-shadow: 0 1px 0 #fcf46b;
	width: 90px;
}
/* END CONTENT HOME */
/* CONTENT EMPRESA */
.interna.empresa .content .container, .interna.presente .content .container{
	background: #808080;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	margin: 20px auto 25px auto;
	padding: 0 0 50px 0;
	position: relative;
}
.interna.empresa section{
	position: relative;
}
.interna.empresa.presente .container{
	padding-bottom: 25px;
} 
#desc_empresa{
	color: #ffffff;
	float: left;
	font-family: 'Open Sans', sans-serif;
	margin: 0 30px 0 0;
	padding: 25px 0 0 40px;
	width: 280px;
}
#desc_empresa.presente{
	width: 426px;
	padding-left: 30px;
	padding-top: 15px;
}
#desc_empresa h2{
	font-size: 23px;
	font-weight: 400;
	line-height: 27px;
	margin: 0 0 25px 0;
}	
#desc_empresa p{
	font-size: 11px;
	line-height: 16px;
}
#desc_empresa.presente p{
	margin: 8px 0;
}
#desc_empresa.presente p span{
	font-style: italic;
}
#galeria_empresa{
	float: left;
	padding: 25px 40px 0 0 ;
}
#galeria_empresa a{
	background: #743989;
	background: -webkit-linear-gradient(#743989, #621479); 
	background: -o-linear-gradient(#743989, #621479); 
	background: -moz-linear-gradient(#743989, #621479); 
	background: linear-gradient(#743989, #621479); 
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
	bottom: 50px;
	color: #feee02;
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	height: 45px;
	line-height: 45px;
	margin-top: 20px;
	position: absolute;
	text-align: center;
	text-decoration: none;
	width: 550px;
	
}
.eng #galeria_empresa a{
	font-size: 12.5px;
}
#exposiciones{
	float: left;
	padding: 50px 30px 0 0 ;
}
.exposicion{
	float: left;
	width: 202px;
	margin-top: 0;
	margin-right: 40px;
	margin-bottom: 0;
	margin-left: 0;
}
.exposicion .borde{
	float:left;
	padding: 3px 0;
}
.exposicion .borde.bot{
	padding: 5px 0;
}
.exposicion.last{
	margin: 0;
}
.exposicion.top{
	margin-bottom: 45px;
}
.exposicion.second{
	clear: both;
}
.exposicion h2{
	color: #ffef00;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	margin: 5px 0 0 0;
	text-align: center;
}
.tit_servicios{
	color: #ffef00;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	margin: 5px 0 0 0;
	line-height:25px;
}
#marcas-bombas{
	background: #111514;
	/*height: 150px;*/
	width:100%;
	margin-top: 20px;
	padding: 0 0 8px 0;
}
#marcas-bombas li{
	border: none;
	float: left;
	margin:0 0 0 8px;
}
.marcas_servicios{
	padding: 0 0 0 10px;
}
.interna.servicios .col1{
	height: 635px;
}
.interna.servicios .col2{
	height: 640px;
}
#servicios{
	position: relative;
} 
#servicios #desc_producto{
	padding-left: 30px;
	width: 400px;
}
#servicios ul{
	padding-left:0 ;
}
#servicios li{
	background: url("../img/bullets.jpg") no-repeat scroll left top rgba(0, 0, 0, 0);
    list-style: none outside none;
    margin-bottom: 5px;
    padding: 0 0 10px 35px;
	font-size: 14px
}
#foto_servicios{
	float:right;
	width: 175px;
	margin-right: 30px;
}
.interna .col2 #servicios a{
	bottom: 36px;
	float: left;
	margin-top: 0;
	text-transform: uppercase;
	height: 22px;
    line-height: 25px;
	position: absolute;
	text-align: center;
	width:175px;
}
.interna .col2 #servicios h2{
	background:url(../img/border_servicios.jpg) left bottom no-repeat;
	color:#ffef00;
	height: 50px;
}

/* END CONTENT EMPRESA */
/* CONTENT PRODUCTOS */
.interna .col{
	background: #87868C;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	color: #ffffff;
	float: left;
	font-family: 'Open Sans', sans-serif;
	margin: 20px 0 25px 0;
}
.interna .col1{
	margin-right: 50px;
	padding: 10px 15px 15px 15px;
	width: 235px;
}
.interna.productos .col1{
	height: 588px;
}
.interna .col2{
	/*padding: 20px 25px 15px 25px;*/
	padding-bottom: 20px;
	width: 645px;
}
.interna.productos .col2{
	height: 593px;
	position: relative;
}
.interna .col1 ul{
	margin: 0;
	padding: 0;
}
.interna .col1 ul li{
	border-bottom: 1px dashed #525156;
	list-style: none;
	font-size: 15px;
}
.interna .col1 ul li:nth-child(5){
	border-bottom: none;
}
.interna .col1 ul li a{
	color: #ffffff;
	cursor: pointer;
	display: block;
	padding: 10px 0;
	text-decoration: none;
	
}
.interna .col1 ul li a.on{
	color: #f3e13d;
}
.interna .col1 ul li a:hover{
	color: #f3e13d;
}
.interna .col1 a.pro_cat{
	background: #743989;
	background: -webkit-linear-gradient(#f4ed95, #f5e551); 
	background: -o-linear-gradient(#f4ed95, #f5e551); 
	background: -moz-linear-gradient(#f4ed95, #f5e551); 
	background: linear-gradient(#f4ed95, #f5e551); 
	color: #5e1d81;
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	margin: 13px 0 0 0;
	padding: 10px;
	text-decoration: none;
	text-transform: uppercase;
}

#desc_producto{
	float:left;
	padding: 20px 0 15px 20px;
	width: 300px;
}
.interna .col2 h2{
	font-size: 20px;
	font-weight: 700;
	line-height: 27px;
	margin: 0 0 20px 0;
	text-transform: uppercase;
}
.interna .col2 .repuestos h2{
	font-size: 16px;
}
.interna .col2 p{
	font-size: 13px;
	line-height: 16px;
}
.interna .col2 img{
	float: right;
	padding-top: 20px;
}
.interna .col2 a{
	background: #743989;
	background: -webkit-linear-gradient(#743989, #621479); 
	background: -o-linear-gradient(#743989, #621479); 
	background: -moz-linear-gradient(#743989, #621479); 
	background: linear-gradient(#743989, #621479); 
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
	color: #feee02;
	display: block;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 14px;
	font-weight:400;
	height: 35px;
	line-height: 19px;
	margin-top: 20px;
	padding: 5px 10px 10px 10px;
	text-align: left;
	text-decoration: none;
	width: 270px;
	
}
.interna .col2 a.bot_servicios{
	font-size: 12px;
}
.interna .col2 .turbo a, .interna .col2 .repuestos a, .interna .col2 .tuberias a, .interna .col2 .motor a{
	font-size: 14.5px;
    height: 35px;
    line-height: 32px;
    padding: 0;
    text-align: center;
    width: 290px;
}
.eng.interna .col2 .repuestos a{
	font-size: 13px;
}
.interna .col2 .tuberias a{
	font-size: 15px;
}
.interna.productos .col2 a{
	bottom: 31px;
	position: absolute;
}
.eng.interna.productos .col2 a{
	bottom: 11px;
}
.interna.productos.contacto .col2 a{
	bottom: 31px;
	position: inherit;
}
.interna.productos.contacto #contacto_bottom a{
	position: static;
}
.switcher-content {
  display: none;
}
.switcher-marcas {
  display: none;
}
#listado_marcas{
	background: #111514;
	height: 230px;
	width:100%;
}
#listado_marcas{
	margin-top: 20px;
	padding: 0 0 8px 0;
}
#listado_marcas li{
	border: none;
	float: left;
	margin:0 0 0 5px;
}
#listado_marcas .repuestos, #listado_marcas .motor, #listado_marcas .turbo{
	margin-left: 5px;
}
#listado_marcas .repuestos li, #listado_marcas .motor li, #listado_marcas .turbo li{
	margin:0 0 0 10px;
}
h4.distribuidor{
	background: #111514;
	color: #ffffff;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	margin: 0 0 0 0;
	padding: 8px 0;
	text-align: center;
	width: 100%;
}
.eng h4.distribuidor{
	text-align: left;
	padding-left: 3%;
	width: 97%;
}
.distribuidor_borde{
	margin: 0;
	padding: 0;
	float: left;
}
/* END CONTENT PRODUCTOS */

/*CONTACTO*/
#contacto_top{
	background: url(../img/border_contacto.jpg) bottom no-repeat;
	padding: 0 0 20px 0;
	margin: 20px 30px 0 30px;
}
#contacto_top img{
	float: left;
	margin: 0 10px 0 10px;
	padding: 0;
}
#contacto_top p{
	font-size: 11px;
	margin: 0;
}
.interna .col2 a.mailto{
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
	font-family: 'Open Sans', sans-serif;
    border-radius: 0;
    color: #FFFFFF;
    display: inline;
    font-size: 11px;
    font-weight: 400;
	padding:0;
}
#contacto form{
	margin: 20px 30px 0 30px;
}
.contacto_col1{
	width: 300px;
	margin-right: 25px;
	float:left;
}
.contacto_col1 select{
	margin: 0 0 15px 0;
	width: 100%; 
}
.contacto_col1 select.select2{
	margin: 0 0 35px 0;
}
.contacto_col1 label{
	color: #ffef00;
	display: block;
	float: left;
	width: 30%;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;   
	box-sizing: border-box;  
	font-weight: 600;
}
.contacto_col1 input{
	width:70%;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;   
	box-sizing: border-box;  
	margin-bottom: 15px;
}
.contacto_col2{
	float: left;
	width: 255px;
}
.contacto_col2 label{
	color: #ffef00;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
}
.contacto_col2 textarea{
	width: 100%;
	height: 209px;
}
.interna .col2 .contacto_col2 a{
	color: #760c7a;
	background: #96959a;
	box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
	-webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	text-align: center;
	text-transform: uppercase;
	width:45%;
	float:left;
	padding: 0;
}
.interna .col2 .contacto_col2 a.borrar{
	cursor: pointer;
	margin-right: 10%;
}
#contacto_bottom{
	background: url(../img/border_contacto.jpg) top no-repeat;
	bottom: 8px;
	padding: 20px 20px 0 20px;
	margin: 20px 30px 0 30px;
	float: left;
	position: absolute;
	width: 560px;
}
#contacto_bottom a{
	float:right;
	background: #f5e551;
	background: -webkit-linear-gradient(#f4ed95, #f5e551); 
	background: -o-linear-gradient(#f4ed95, #f5e551); 
	background: -moz-linear-gradient(#f4ed95, #f5e551); 
	background: linear-gradient(#f4ed95, #f5e551); 
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	color: #5e1d81;
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 0 0;
	padding: 8px 20px;
	text-decoration: none;
	text-transform: uppercase;
	width: auto;
	height: auto;
	
}
#contacto_bottom p{
	float:left;
	margin-top: 11px;
}
/* END CONTACTO*/









/* ==========================================================================
   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 (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
