/** ------------------------------------------- RESET **/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: #fff;
    text-decoration: none;
}

/** ----------------------------------- INICIO ESTILO **/
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: arial;

}

#contenedorContenido {
    padding-bottom: 1px;
}

body {
    font-size: 1em;
    background-color: #4c4c4c;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 0 bottom;
    background-position-y: bottom; /* Para IE 9*/
    background-position-x: center; /* Centrar img porque en IE8 se ve doblada*/
}

#contenedor {
    min-height: 100%;
    position: relative;
    width: 100%;
}

#nav {
    height: 113px;
    width: 100%;
}

#nav #fondoNav {
    width: 100%;
    height: 113px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #000;
    filter: alpha(opacity = 50); /* internet explorer */
    -khtml-opacity: 0.50; /* khtml, version anterior de safari */
    -moz-opacity: 0.50; /* firefox, mozilla, netscape */
    opacity: 0.50; /* safari, chrome, opera */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

#logo, #idiomas, #enlaces, #redesSociales {
    display: block;
    float: left;
    margin: auto;
}

#logo {
    position: absolute;
    top: 0;
    left: 100px;
}

#textoLogo {
    position: absolute;
    top: 90px;
    left: 165px;
    font-size: 1.1em;
    font-family: 'Lobster', cursive;
    color: #638e92;
}

#temperatura {
    position: absolute;
    top: 25px;
    right: 30%;
}

/** ----------------------------------- Idiomas **/
#idiomas {
    list-style: none;
    height: 21px;
    position: absolute;
    top: 25px;
    right: 13%;
}

#listaIdiomas {
    float: left;
    overflow: hidden;
}

#listaIdiomas li {
    width: 35.25px;
    height: 21px;
    display: inline-block;
    float: left;
}

#listaIdiomas li a {
    display: block;
    height: 21px;
    width: 35.25px;
}

#ingles, #aleman, #frances, #holandes {
    background-image: url("img/idiomaCabecera.png");
}

#ingles {
    background-position: 0 0;
}

#aleman {
    background-position: 70.5px 0;
}

#frances {
    background-position: 105.75px 0;
}

#holandes {
    background-position: 35.25px 0;
}

/** --------------------------------  Fin de idiomas **/
#enlaces {
    position: absolute;
    top: 65px;
    left: 350px;
    margin-left: 90px;
    height: 20px;
}

#listaEnlaces li {
    display: inline-block;
    float: left;
    margin-left: 22px;
}

#listaEnlaces li a {
    font-size: 0.9em;
    text-decoration: none;
    font-family: Arial;
    font-weight: bold;
}

#redesSociales {
    position: absolute;
    top: 15px;
    right: 3%;
    margin-left: 25px;
    height: 37px;
    list-style: none;
}

#listaRedesSociales li {
    width: 39px;
    height: 37px;
    display: inline-block;
    float: left;
}

#listaRedesSociales li a {
    width: 39px;
    height: 37px;
    display: block;
}

#facebook, #twitter {
    background-image: url("img/redesSociales.png");
}

#facebook {
    background-position: 0 0;
}

#twitter {
    background-position: 39px 0;
}
/** --------------------------- Caja de contenidos anchos y adaptables **/
#contenido {
    width: 100%;
    height: auto;
    margin: auto;
    margin-bottom: 150px;
}
/** --------------------------- Caja de contenidos pequeños y con scrolling **/
#contenido_fijo {
    float: none;
    width: 1080px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/** Cuando hay una sola caja en el contenido.**/
.caja {
    margin: auto;
    margin-top: 2%;
    padding: 28px;
    width: 80.4%;
    height: auto;
    position: relative;
    border: 1px solid #000;
    line-height: 1.5em;
}

.caja .imagenCaja {
    z-index: 5;
    margin-right: 28px;
    margin-bottom: 20px;
    float: left;
    display: inline-block;
}

.caja .imagenCaja img {
    float: left;
    max-width: 100%;
}

.caja .textoCaja {
    z-index: 5;
    font-family: Arial;
    font-size: 1em;
    color: #fff;
}

.caja .fondoCaja {
    /** Div que solo muestra la transparencia. Esto es un problema ya que la propiedad opacity aplica su valor a todos su contenido**/
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #000;
    filter: alpha(opacity = 75); /* internet explorer */
    -khtml-opacity: 0.75; /* khtml, version anterior de safari */
    -moz-opacity: 0.75; /* firefox, mozilla, netscape */
    opacity: 0.75; /* safari, chrome, opera */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}
#cajaExtra{
    width: 1026px; /* Lo que mide el ancho total menos los márgenes laterales */
    margin: auto;
    padding: 10px;
    padding-top: 30px;
    padding-bottom: 10px;
    background-color: #2e2e2e;
    color: #fff;
    margin-top: 10px;
    /* Bordes redondeados */
    /*para Firefox*/
    -moz-border-radius: 15px 15px 15px 15px;
    /*para Safari y Chrome*/
    -webkit-border-radius: 15px 15px 15px 15px;
    /* para Opera */
    border-radius: 15px 15px 15px 15px;

}
#cajaExtra h2{
    font-weight: bold;
    color: #fff;
    line-height: 1.5em;
    font-size: 1.6em;
    margin-bottom: 20px;
}
#cajaExtra p{
    font-size: 1.2em;
    color: #e1e1e1;
    text-align: justify;
    vertical-align: middle;
    line-height: 1.5em;
    margin-bottom: 20px;
}
#cajaExtra p img, #cajaExtra h2 img{
    vertical-align: middle;
    margin-right: 10px;
}
/** Cuando hay varias cajas en el contenido **/
#cajaInfo {
    width: 1026px; /* Lo que mide el ancho total menos los márgenes laterales */
    margin: auto;
    padding: 10px;
    padding-top: 30px;
    padding-bottom: 10px;
    background-color: #2e2e2e;
    font-size: 1.4em;
    color: #fff;
    margin-top: 10px;

    /* Bordes redondeados */
    /*para Firefox*/
    -moz-border-radius: 15px 15px 15px 15px;
    /*para Safari y Chrome*/
    -webkit-border-radius: 15px 15px 15px 15px;
    /* para Opera */
    border-radius: 15px 15px 15px 15px;
}

#cajaInfo ul li {
    list-style-type: none;
}

#cajaInfo ul li p {
    vertical-align: middle;
    margin-bottom: 20px;
    line-height: 1.5em;
}


#cajaInfo ul li p img {
    vertical-align: middle;
    margin-right: 10px;
}

.cajaInfoIndustrial{
    margin: auto;
    margin-top: 10px;
    padding-left: 10px;
}
.cajaInfoIndustrial div{
   margin-bottom: 20px;
   color: #fff;
}
.cajaInfoIndustrial div h2{
    font-size: 1.1em;
    font-weight: bold;
    vertical-align: middle;
}
.cajaInfoIndustrial div p{
    font-size: 0.65em;
    font-weight: bold;
    margin-top: 8px;
    margin-left: 10px;
}

.cajaInfoIndustrial ul li {
    list-style-type: none;
}


.cajaInfoIndustrial img {
    vertical-align: middle !important;
    margin-right: 10px;
}

.cajas {
    margin-top: 10px;
    width: 534px;
    height: 341px;
    float: left;
    position: relative;
    cursor: pointer;
}

.cajas a {
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
}

.textoCaja .fondoCaja {
    width: 100%;
    height: 12%;
    position: absolute;
    top: 88%;
    left: 0;
    z-index: 10;
    filter: alpha(opacity = 80); /* internet explorer */
    -khtml-opacity: 0.8; /* khtml, version anterior de safari */
    -moz-opacity: 0.8; /* firefox, mozilla, netscape */
    opacity: 0.8; /* safari, chrome, opera */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.cajas .imagenCaja {
    width: 100%;
}

.cajas .imagenCaja img {
    overflow: hidden;
    width: 534px;
    height: 341px;
}

.cajas .textoCaja {
    color: #fff;
    z-index: 50;
    font-family: Arial;
    font-size: 0.9em;

}

.cajas .textoCaja .nombreCajas, .cajas .textoCaja p {
    text-align: right;
    float: left;
    font-weight: bold;
    white-space: pre-wrap;
}

.cajas .textoCaja .nombreCajas {
    z-index: 20;
    position: absolute;
    top: 90%;
    left: 3%;
    font-size: 2em;
    text-align: center;
}

.cajas .textoCaja p {
    width: 80%;
}

.descripcionCajas {
    font-size: 1.1em;
}

.cajas .textoCaja p span {
    display: block;
}

/** PIE **/

#pieContenido {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

#pie #fondoPie {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: #000;
    filter: alpha(opacity = 50); /* internet explorer */
    -khtml-opacity: 0.50; /* khtml, version anterior de safari */
    -moz-opacity: 0.50; /* firefox, mozilla, netscape */
    opacity: 0.50; /* safari, chrome, opera */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

#logoPie, #licencia, #enlacesPie, #validacion {
    display: inline-block;
    float: left  \9;
}

#logoPie {
    position: absolute;
    left: 100px;
    bottom: 0px  \9;
}

#licencia {
    position: absolute;
    left: 150px;
    bottom: 15px;
    font-size: 0.9em;
    color: #e0e6e6;
    font-weight: bold;
    margin-top: 22px  \9;
}

#enlacesPie {
    display: block;
    position: absolute;
    left: 360px;
    bottom: 0px;
}

#listaEnlacesPie li {
    display: inline-block;
    float: left;
    margin-left: 22px;
}

#listaEnlacesPie li a {
    font-size: 0.8em;
    text-decoration: none;
    font-family: Arial;
    font-weight: bold;
    position: relative;
    bottom: 15px;
    color: #e0e6e6;
}

#validacion {
    position: absolute;
    bottom: 5px;
    right: 3%;
}

.negrita {
    color: #81b9bd;
    font-weight: bold;
}

.titulos {
    color: #d6b554;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: none;
    line-height: 25px;
}

/* ------------------------------ ZONA CONTACTO seccion 7 **/

.contacto {
    width: 90%;
    margin: auto;
    color: #fff;
    font-family: Arial;
}

.imagenContacto img {
    margin: auto;
    width: 90%;
    margin-top: 2%;
    display: block;
}

.bloquesContacto {
    width: 35%;
    margin-top: 3%;
}

#botonContacto {
    border: 0;
    width: 91px;
    color: #fff;
    background-image: url(img/fondo_boton_contacto.png);
    margin-top: 2px \9;
    margin-top: 3px;
}

#botonContacto:active {
    position: relative;
    top: 3px;
}

.asterisco {
    color: #81b9bd;
}

.oscuro {
    color: #81b9bd;
    font-weight: bold;
}

.ingles img {
    background-position: 0 0;
}

.frances img {
    background-position: 91px 0;
}

.holandes img {
    background-position: 45.5px 0;
}

.aleman img {
    background-position: 136.5px 0;
}

/* ----------------------------- Sección 7 - Formulario de contacto */

.contacto {
    width: 100%;
    margin: auto;
    color: #fff;
    font-family: Arial;
}

.imagenContacto img {
    margin: auto;
    width: 100%;
    margin-top: 10px;
    display: block;
}

.bloqueContactoIzquierda {
    width: 500px;
    float: left;
    margin-top: 10px;
    margin-left: 30px;
    line-height: 1.5em;
}

.bloqueContactoIzquierda h2 {
    margin-bottom: 10px;
    color: #638e92;
    font-weight: bold;
    font-size: 1.2em;
}

.bloqueContactoDerecha {
    width: 500px;
    float: right;
    margin-top: 10px;
    margin-right: 30px;
}

.bloqueContactoDerecha h2 {
    margin-bottom: 10px;
    color: #638e92;
    font-weight: bold;
    font-size: 1.2em;
}

.bloqueContactoContenido {
    background-color: #2e2e2e;
    margin-left: 20px;
    width: auto;
    padding: 10px;
    /* Bordes redondeados */
    /*para Safari y Chrome*/
    -webkit-border-radius: 15px 15px 15px 15px;
    /*para Firefox*/
    -moz-border-radius: 15px 15px 15px 15px;
    -ms-border-radius: 15px 15px 15px 15px;
    /* para Opera */
    border-radius: 15px 15px 15px 15px;
}

.contactoBandera1 {
    float: left;
    margin-left: 45px;
}

.contactoBandera2 {
    float: left;
    margin-left: 3px;
}

.textoContactoBanderas {
    float: left;
    margin-top: 1px;
    margin-left: 5px
}

td input[type="text"], td textarea {
    /* A todo el formulario excepto el input submit */
    background-color: #6d6d6d;
    border: 0;
    color: #fff;
    padding-left: 3px; /* Para que el texto comience un poco separado. */
}

td input[type="text"] {
    width: 220px;
    margin-top: 2px;
}

td textarea {
    resize: none;
    width: 350px;
    height: 125px;
    margin-top: 2px;
}

.arriba {
    vertical-align: top;
}

.formulario tr td.der {
    text-align: right;
    position: relative;
    bottom: 5px;
    bottom: 0px  \9;
    padding-right: 15px;
}

.paginaActiva {
    color: #81b9bd !important;
}

/** ----------------------------- ZONA VILLA **/

.villa {
    width: 100%;
    margin: auto;
    height: auto;
    position: relative;
}

.cajaVilla {
    margin-top: 10px;
    width: 100%;
    height: 470px;
    float: left;
    position: relative;
}
.cajaIndustrial{
    height: 620px;
}

.cajaVilla .imagenCaja {
    height: 100%;
    width: 100%;
}

.cajaVilla .imagenCaja img {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.cajaVilla .textoCaja {
    padding: 8px;
    color: #fff;
    font-family: Arial;
    font-size: 1.2em;
}

.cajaVilla .textoCaja h3 {
    text-align: right;
    float: left;
    font-weight: bold;
    white-space: pre-wrap;
}

.cajaVilla .textoCaja .nombreCajas {
    z-index: 12;
    position: absolute;
    top: 92%;
    left: 3%;
    font-size: 1.9em;
}
.cajaIndustrial .textoCaja .nombreCajas{
    top: 90%;
    font-size: 2.1em;
}
.cajaIndustrial .textoCaja .descCajas{
    z-index: 12;
    text-align: right;
    position: absolute;
    left: 3%;
    font-size: 0.8em;
    top: 96.5%;
    font-weight: bold;
    color: #969594;
}

.cajaVilla .textoCaja .precioVillas {
    z-index: 12;
    position: absolute;
    top: 75%;
    right: 1.25%;
    font-size: 1.9em;
}

.cajaVilla .textoCaja .iconosVillas {
    z-index: 12;
    position: absolute;
    top: 87%;
    right: 1.25%;
    font-size: 1.9em;
}

.textoVilla {
    margin-top: 10px;
    z-index: 15;
    background-color: #262626;
    width: 63%;
    float: left;
    position: relative;
    height: auto;
    padding: 8px;
    padding-right: 20px;
    font-family: Arial;
}

.textoVilla span {
    margin-left: 20px;
    color: #638e92;
    font-size: 1em;
    font-weight: bold;
}

.grupoImagenes {
    z-index: 100;
}

.textoVilla p {
    margin-right: 20px;
    margin-top: 10px;
    margin-left: 20px;
    color: #fff;
    text-align: justify;
}

.textoVilla p span {
    color: #fff;
    font-weight: bold;
}

.enlacesInteresVilla {
    margin-right: -18px;
    width: 35%;
    position: relative;
    float: right;
    margin-top: 10px;
}

.enlacesInteresVilla .iconosMasInfo, .enlacesInteresVilla .iconosMasInfoLuxury {
    background-color: #242424;
    width: 360px;
    height: 135px;

}
.enlacesInteresVilla .iconosMasInfo img {
    float: left;
}

.enlacesInteresVilla .iconosMasInfoLuxury div{
    float: left;
    width: 180px;
    display: block;
}

.enlacesInteresVilla .iconosMasInfoLuxury img{
    display: block;
    margin:auto;
}

.enlacesInteresVilla .enlacesMasInfo img {
    z-index: 15;
    width: 360px;
    display: block;
    margin-top: 10px;
    height: 135px;
}

.paraAtras {
    position: absolute;
    top: 90.75%;
    height: 43.5px;
    z-index: 25;
    width: 20%;
    left: -20%;
    cursor: pointer;
}

.paraAtras a>span {
    left: 53%;
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 10%;
    cursor: pointer;
}

.secundarias {
    /* Imágenes secundarias de una villa */
    display: block;
    position: absolute;
    z-index: 8;
    height: 235px;
    width: 33.3%;
}

/** Sección mapa web 8 **/

#listamapaweb li p {
    vertical-align: middle;
    margin-bottom: 20px;
    line-height: 0.7em;
}

#listamapaweb li p a:hover {
    text-decoration: underline;
}

#listamapaweb ul li {
    margin-left: 50px;
}

#listamapaweb li p img {
    vertical-align: middle;
    margin-right: 8px;
}

/** Diseño para pequeñas **/

/* Para 960px */

@media only screen and (max-width: 1300px) and (min-width: 1025px) {
    body {
        overflow: visible;
    }

    #logo {
        left: 25px;
    }

    #textoLogo {
        left: 50px;
    }

    #enlaces {
        top: 75px;
        left: 240px;
        margin-left: 80px;
        font-size: 0.9em;
    }

    #temperatura {
        right: 34%;
    }

    #idiomas {
        right: 15%;
    }

    #enlacesPie {
        left: 300px;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 821px) {
    body {
        overflow: visible;
    }

    #logo {
        left: 25px;
    }

    #textoLogo {
        left: 50px;
    }

    #enlaces {
        top: 75px;
        left: 240px;
        margin-left: 80px;
        font-size: 0.8em;
    }

    #temperatura {
        right: 45%;
    }

    #idiomas {
        right: 22%;
    }

    #validacion {
        display: none;
    }
}

@media only screen and (max-width: 820px) and (min-width: 500px) {
    body {
        overflow: visible;
    }

    #logo {
        left: 0px;
    }

    #textoLogo {
        left: 25px;
    }

    #enlaces {
        top: 75px;
        left: 190px;
        margin-left: 70px;
        font-size: 0.8em;
    }

    #temperatura {
        right: 40%;
    }

    #idiomas {
        right: 16%;
    }

    #logoPie {
        left: 0;
    }

    #licencia {
        left: 55px;
    }

    #enlacesPie {
        left: 155px;
        bottom: 0px;
    }

    #validacion {
        display: none;
    }

}