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

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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
   ========================================================================== */

html,body {
	height: 100%;
	background: url(../img/shutterstock_143899831.jpg) no-repeat top center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
   
body {
	color: #fff;
	font-size: 1em;
	font-family: 'PT Sans', sans-serif;

}

.slide {
	display: block;
	position: relative;
	float: left;
	width: 100%;
	/*min-height: 800px; */
	padding: 30px 0px 40px;
	margin: 0 auto;
	
}
#bg-general {
	/*background: url(../img/fondo-motor.png) no-repeat center 50px;*/
	display: block;
	width: 100%;
	height: 700px;
	z-index: 1;
	position: absolute;
	top: 0;
}
#contenedor {
	display: block;
	width: 100%;
	max-width: 960px;
	position: relative;
	margin: 0 auto;
	min-height: 600px;
	z-index: 2;
}

#logo-secciones {
	display: block;
	width: 100%;
}

h1 {

	margin: 0 auto;
	display: block;
	height: 80px;
	font: 0/0;
	margin-top: 20px;
	z-index: 200;
}

h1 img {
	display: block;
	width: 90%;
	margin: 0 auto;
	max-width: 288px;
}



#home #forma {
	background: url(../img/fondo-verde.png);
	margin: 5px auto;
	width: 90%;
	max-width: 450px;
	z-index: 2;
	display: block;
	position: relative;
	font-size: 16px;
	text-align: center;
	padding: 10px 0px; 
	color: #FFF;
	
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
	-moz-text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
	-webkit-text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
	
	border-radius: 10px;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
}

form#contacto {
	position: relative;
	display: block;
	width: 90%;
	margin: 0 auto;
}

form#contacto fieldset {
	display: block;
	max-width: 400px;
	width: 90%;
	text-align: center;
	margin: 0 auto;
}

form#contacto p label{
	display: block;
	padding: 7px 0 7px 5px;
	width: 100%;
	position: relative;
	float: left;
	text-align: left;
	
	text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3);
	-moz-text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3);
	-webkit-text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.3);
}

form#contacto p input,
textarea{
	display: block;
	position: relative;

	padding: 7px 0px;
	width: 100%;
	text-align: left;
	border: 1px solid #3e3e3e;
	height: 20px;
	background: #353535;	
	color: #fff;
	font-size: 14px;
	
	border-top: 1px solid #1b1b1b;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	

}



form#contacto #Lada { 
	width: 45px; margin-right: 10px;
	display: inline-block; }
form#contacto #telefono_st { width: 160px; display: inline-block; }

form#contacto textarea {
	resize: none;}

form#contacto fieldset p textarea {
	height: 50px;
}

form#contacto fieldset  p {

	display: block;
	width: 100%;
	border-top: 1px solid #b3d980;
	border-bottom: 1px solid #638b2b; 
	margin: 0;
	padding: 10px 0;
	
}

form#contacto fieldset  p.primero {
	border-top: none;
}

form#contacto fieldset  p.ultimo {
	border-bottom: none;
}

form#contacto #enviar {
	display: block;
	width: 100px;
	color: #fff;
	padding: 8px;
	margin: 10px auto 20px;
	background: #333;
	font-size: 14px;

	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		
	border: none;
	
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1);
	-moz-text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1);
	-webkit-text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1);
}

#home .acepto {
	display: block;
	width: 100%;
	padding: 7px 0px;
	font-size: 12px;
	
}

h2 {
	margin-top: 19px;

}

/*#enviar-div {
	display: block;
	height: 20px;
	background:#36C;
	text-align: center;
} */


#dr {
	display: block;

	width: 100%;
	font-size: 11px;
	color: #717171;
	text-align: center;
	z-index: 60;
	bottom: 0;
	background: transparent url(../img/degradado-footer.png) repeat-x bottom;

	margin: 0 auto;	
}

#dr p {
	width: 90%;
	margin: 0  10px;
	padding-bottom: 15px;
	display: block;
}

#dr a {	
	color: #8dc63f;
}

#dr a:hover {
	color: #8dc63f;
}

.h1-c {

	margin: 0 auto;
}


/*#aceptarInfo2 { width: 20px; margin-top: 7px; margin-left: 75px; }  
#label-aceptar { width: 265px;}   
#obligatorios { display: block; text-align: center; padding-left: 22px; }*/

::-webkit-input-placeholder { color: #6f6f6f; }
/* Firefox 18- */
:-moz-placeholder      {  color:  #6f6f6f;  }
/* Firefox 19+ */
::-moz-placeholder     {  color:  #6f6f6f;  }
:-ms-input-placeholder {  color:  #6f6f6f;  }

/* Small devices (tablets, 768px and up) */
@media (min-width: 450px) { 
	form#contacto p label {
		width: 100px;
	}

	form#contacto p input, textarea {
		width: 250px;
		display: inline-block;
	}

	#dr {
		position: fixed;
		bottom: 0;
		padding-top: 40px;
	}
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 


html,body {

	background-position: center -150px; 
	}

	.h1-c,
	#home #forma {
		width: 40%;
		display: inline-block;
		vertical-align: top;
	}

	#home #forma {
		width: 60%;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width:  992px ) {  

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

}



/* ==========================================================================
   FIN NAVEGACION
   ========================================================================== */


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



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