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

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

body { background-color: #fff; 
font-family:'Asap',sans-serif; 
margin:0; 
padding:0; 
position:relative; }
p { color:#FFF; font-size:14px; line-height:18px; }
p strong { text-transform:uppercase; }
img { border:none; outline:none; }

.background { background-color: #fff; height:100%; position:absolute; width:100%; z-index:1; }
.ios-only { display:none; }

.spacer { background-color: #fff; position:relative; }
.h200 { height:200px; z-index:1000; }

/*.activated { outline:#FF18EA 1px dotted; }*/

.menu { color:#FFF; font-size:16px; left:50%; margin:0 0 0 -450px; position:fixed; width:900px; z-index:2000; }
.menu .left { display:block; float:left; position:relative; width:20%; }
.menu .right { display:block; float:right; padding:8px 8px 0 0; position:relative; text-align:right; vertical-align:middle; width:70%; }
.menu a {
    color: #FFFFFF;
    height: 48px;
    line-height: 36px;
    padding-right: 28px;
    text-decoration: none;
}
.menu a.homelogo:hover { background:none; }
#telefono {
    margin-right: -10px;
    margin-top: -8px;
}
.menu .always {
    background-image: url("../images/back-menu.png");
    background-repeat: no-repeat;
    display: block;
    float: right;
    margin-top: 20px;
    position: relative;
    width: 459px;
}

.area { min-height:1000px; position:relative; z-index:90; }

.home { background:50% -80px no-repeat fixed; height:1200px; overflow:hidden; z-index:600; }
.index { background:url(../images/fondo-index.jpg) no-repeat left top transparent;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 405; }
.empresa { background:url(../images/fondo-empresa.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 401;

 }
 .servicios { background:url(../images/fondo-serv.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; }

 .deportiva { background:url(../images/fondo-deportiva.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; }
 .infantil { background:url(../images/fondo-infantil.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; }
 .ortesis { background:url(../images/fondo-ortesis.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; }
 .diabetica { background:url(../images/fondo-diabetica.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
}
 .aviso { background-color: #939 ;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300;
 padding-bottom: 300px;
}


 .instalaciones { background:url(../images/instalaciones1.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
}

 .instalaciones2 { background:url(../images/instalaciones2.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
}
 .instalaciones3 { background:url(../images/instalaciones3.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
}
 .instalaciones4 { background:url(../images/instalaciones4.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
}
 .instalaciones5 { background:url(../images/instalaciones5.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
} .instalaciones6 { background:url(../images/instalaciones6.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
}
 .instalaciones7 { background:url(../images/instalaciones7.jpg) no-repeat center top transparent;
    overflow: hidden;
    padding: 0;
 margin:0 auto; max-width:1920px; padding:200px 0 0; position:relative; width:100%; z-index:300; 
}

.contenido-flechas{
	float: right;
	width: 100px;
	height: auto;}
.flecha-arriba{
	float: right;}

.flecha-arriba a{
	border: none;}
.flecha-arriba img{
width: 100px;
height: auto;
}

.flecha-abajo{
	float: right;}

.flecha-abajo a{
	border: none;}
.flecha-abajo img{
width: 100px;
height:auto;
}
 .contacto { 
 
 background:url(../images/fondo-contacto.jpg) center top no-repeat fixed; overflow:hidden; padding:0; position:relative; z-index:401;
 margin:0 auto; max-width:1920px;   width:100%; 
}
 
.home .eslogan { background:url(../images/eslogan.png) 50% 200px no-repeat fixed; min-height:1200px; padding:0; width:100%; max-width:1920px; position:absolute; margin:0 auto; z-index:100; }
.home .random { background:50% 400px no-repeat fixed; min-height:1200px; padding:0; width:100%; max-width:1920px; position:relative; margin:0 auto; z-index:100; }
.submenu-container {
    height: 35px;
    margin: -77px auto 0;
    text-align: center;
    width: 800px;
}
.submenu {
    float: right;
    text-align: right;
    width: auto;
}
.submenu li {
    float: left;
    list-style: none outside none;
    margin-left: 21px;
}
.submenu li a {
    color: #832B7F;
    font-size: 13px;
    font-style: italic;
}



.contenido {
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 150px;
    text-align: center;
    width: 800px;
}

.contenido-serv{
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    width: 800px;

}


.contenido-aviso{
	color:#FFF;
	width:600px;
	text-align:center;
	margin: 0 auto;
	height: auto;
	overflow: hidden;}
.contenido-aviso h4{
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: left;}
.contenido-aviso p{
	font-size: 12px;
	color: #fff;
	text-align: justify;}


.contenido-top{
	background-image:url(../images/texto-top.png);
	background-repeat:no-repeat;
	width: 400px;
	height: 14px;}
	

.contenido-bottom{
	background-image:url(../images/texto-bottom.png);
	background-repeat:no-repeat;
	width: 400px;
	height: 20px;}


.contenido-center{
	background-image:url(../images/texto-center.png);
	background-repeat: repeat-y;
	width: 380px;
	height: auto;
	overflow: auto;}
.contenido-center p {
    color: #FFFFFF;
    font-size: 13px;
    line-height: 18px;
    padding-left: 30px;
    text-align: justify;
    width: 325px;
}
	
.titulo{
	width: auto;
	height: 50px;
	text-align: left;
	}
	
/* CONTACTO*/
.contenido-contacto {
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 150px;
    text-align: center;
    width: 800px;
}
#contacto-direccion {
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 14px;
    text-align: center;
    width: 400px;
	float: left;
}

.contenido-top-contacto{
	background-image:url(../images/texto-top.png);
	background-repeat:no-repeat;
	width: 400px;
	height: 14px;}
	

.contenido-bottom-contacto{
	background-image:url(../images/texto-bottom.png);
	background-repeat:no-repeat;
	width: 400px;
	height: 20px;}


.contenido-center-contacto{
	background-image:url(../images/texto-center.png);
	background-repeat: repeat-y;
	width: 380px;
	height: auto;
	overflow: auto;}
.contenido-center-contacto p {
    color: #FFFFFF;
    font-size: 13px;
    line-height: 18px;
    padding-left: 30px;
    text-align: justify;
    width: 325px;
}




/******FORM CONTACTO************/

#form {
    background-image: url("../images/texto-center.png");
    background-repeat: repeat-y;
    display: block;
    float: left;
    height: 365px;
    margin-top: 20px;
    overflow: hidden;
    padding-top: 12px;
    width: 400px;
}
#form input {
    background-color: #FFFFFF;
    border: 1px solid #832B7F;
    border-radius: 17px 17px 17px 17px;
    color: #343434;
    float: right;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 13px;
    margin-right: 40px;
    margin-top: 12px;
    padding: 7px 15px 9px 10px;
    vertical-align: top;
    width: 220px;
}
#form input[type="submit"] {
    border: 1px solid #832B7F;
    border-radius: 17px 17px 17px 17px;
    clear: both;
    color: #343434;
    cursor: pointer;
    display: block;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 13px;
    height: 24px;
    margin-right: 122px;
    margin-top: 20px;
    padding: 1px 15px 3px;
    vertical-align: top;
    width: auto;
}
#form textarea {
    background-color: #FFFFFF;
    border: 1px solid #832B7F;
    border-radius: 17px 17px 17px 17px;
    color: #343434;
    float: right;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 13px;
    height: 65px;
    margin: 12px 40px 0 7px;
    outline: medium none;
    overflow: auto;
    padding: 8px 15px 7px;
    resize: none;
    vertical-align: top;
    width: 212px;
}
#form label {
    clear: both;
    color: #FFFFFF;
    display: block;
    float: left;
    font-family: arial;
    font-size: 13px;
    font-style: oblique;
    line-height: 30px;
    padding-bottom: 16px;
    padding-left: 25px;
    padding-top: 15px;
    text-align: left;
}
#form label.obligatorio {
    clear: both;
    color: #FFFFFF;
    display: block;
    float: left;
    font-family: arial;
    font-size: 12px;
    font-style: oblique;
    line-height: 18px;
    margin-right: 17px;
    padding-bottom: 16px;
    padding-top: 5px;
    text-align: left;
}
#form .error, #form .empty {
    color: #FF0000;
    display: none;
    font-size: 10px;
	margin-bottom:0px;
	margin-left:71px;
	padding:0;
}
#form .success {display:none;}
.btns {
    padding: 29px 0px 0 0;
    text-decoration: none;
}
.btns a {
	margin-left:13px;
	float:right;
}
input, select, textarea {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em;
    font-weight: normal;
    vertical-align: middle;
	float:left;
	padding-top:3px;
	padding-left: 5px;
	color: #343434;
}
.form-label {float:left; font-family:Arial, Helvetica, sans-serif; font-size:13px; line-height:20px; color:#343434; width:70px; padding-top:7px;}
/**********************form-1***********/


/******/





#pie {
    background-image: url("../images/fondo-pie.png");
    background-repeat: repeat-x;
    height: 50px;
    text-align: center;
    width: 100%;
	display:block;
	position: fixed;
	bottom: 0;
	z-index: 5000;
}

#pie-interior {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 800px;
}

#deportistas {
    bottom: 50px;
    display: block;
    height: 88px;
    margin: 0 auto;
    position: fixed;
    text-align: center;
    width: 100%;
	z-index: 5000;
}
#deportistas a{
	border: none;
	text-decoration: none;
}
#pie-int {
    text-align: center;
    width: 800px;
}
#pie-int a{
	text-decoration: none;
}
#redes {
    float: left;
    margin-left: -100px;
    width: 185px;
}
#redes li {
    float: left;
    list-style: none outside none;
    margin-left: 13px;
    margin-top: -10px;
}
#redes li a{
	border: none;
}
#menu-pie{
	float: right;}
#menu-pie p {
    color: #FFFFFF;
    font-size: 14px;
}
#menu-pie p a {
    color: #FFFFFF;
    font-size: 14px;
    padding-left: 20px;
    text-decoration: none;
}
	
	
	
	
	
	
div.area { position:relative; }

.laempresa { height:600px; margin:0 auto; max-width:1920px; overflow:hidden; padding:0; position:relative; width:100%; z-index:200; 
}






/* iOS adjustments */

.ios .ios-only { display:block; }
.ios .strip .not-ios { display:none; }
/*.ios .home { background:none; }*/

.ios .servicios { height:2240px; }
.ios .servicios div.photostrip { height:2240px; }
.ios .servicios div.stripframe { height:2240px; left:0; margin-left:0; width:100%; }
.ios .servicios div.strip { height:2240px; left:0; width:100%; }
.ios .servicios div.blurbs { height:2240px; left:0; width:100%; }

.ios .servicios img.defined,
.ios .servicios img.arrows { top:660px; }

.ios .servicios img.chinese,
.ios .servicios img.big-left-quote,
.ios .servicios img.big-right-quote { top:1240px; }

.ios .servicios img.talented,
.ios .servicios img.ampersand { top:1780px; }

.ios .strip img { display:block; position:relative; }

.ios .instalaciones,
.ios .instalaciones div.holder { height:auto; position:relative; }
.ios .instalaciones .buttons,
.ios .instalaciones .dots { display:none; }

.ios .instalaciones div.casestudy { display:block; height:auto; left:auto; margin:0 auto; position:relative; width:100%; }
.ios .instalaciones .slide1 { top:auto; }
.ios .instalaciones .slide2 { top:auto; }
.ios .instalaciones .slide3 { top:auto; }
.ios .instalaciones .slide4 { top:auto; }
.ios .instalaciones .slide5 { top:auto; }
.ios .instalaciones .slide6 { top:auto; }
.ios .instalaciones .slide7 { top:auto; }
.ios .instalaciones .slide8 { top:auto; }
.ios .instalaciones .slide9 { top:auto; }
.ios .instalaciones .slide10 { top:auto; }

.ios .contacto { background-attachment:scroll; background-repeat:repeat; }
.ios .contacto .inset { height:1600px }
.ios .contacto .circles { top:900px; }
.ios .contacto .circles a.handshake { background-image:url(../images/png/circle-jobs.png); }
.ios .contacto .circles a.hand-card { background-image:url(../images/png/circle-email-us.png); }




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

/*
 * 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.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}
