/* Copyright Gumersindo FernÃ¡ndez Arquitectos. Desarrolla novadir.com */

/* PrevenciÃ³n de FOUC (por: Foundation) */
.no-js .top-bar {
  display: none;
}

@media screen and (min-width: 40em) {
  .no-js .top-bar {
    display: block;
  }

  .no-js .title-bar {
    display: none;
  }
}

.small-3.anchocien {
    width: 30%;
}
.small-7.anchocien {
    width: 70%;
}
.small-10.anchocien {
    width: 100%;
}

.large-1.ancho33 {
    width: 33px;
}
.large-1.ancho1087 {
    width: 1087px;
    border-top: 1px solid #ababab;
}

/* General */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
}

.derecha {
    text-align: right;
    padding: 0;
}
.centro {
    text-align: center;
}

.contenido {
    font-size: 0.8em;
    background-color: #fff;
    text-align: justify;
    padding-top: 20px;
    padding-bottom: 20px;
}
@media screen and (max-width: 63.9375em) {
    /* Centra el contenido */
    .contenido {
        margin-left: 30px;
        margin-right: 30px;
    }
}
.contenidosinpadding {
    padding: 0;
}
@media screen and (max-width: 63.9375em) {
    /* Centra el contenido */
    .contenidosinpadding {
        margin-left: 30px;
        margin-right: 30px;
    }
}
.contenido p {
    margin-bottom: 0.5em;
}
.contenido p.doblemargen {
    margin-bottom: 2em;
}

h1 {
    font-size: 1.3em;
    font-weight: bold;
}
h2 {
    font-size: 1em;
    font-weight: bold;
}

a {
    color: #ddad4e;
}
a:focus, a:hover {
    color: #f7c157;
}

.linea {
    max-width: 1120px;
}

/* Bloques */
.cabecera {
    background-color: #fff;
}
@media screen and (max-width: 63.9375em) {
    /* Centra la cabecera */
    .cabecera {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media screen and (max-width: 39.9375em) {
    .logo {
        max-width: 178px;
    }
    .telefono {
        margin-top: 15px;
    }
}
@media screen and (max-width: 20em) {
    .logo {
        max-width: 158px;
    }
}
.boton-menu {
    background-color: #e7e2de;
    padding-left: 30px;
    line-height: 1.2;
}
.title-bar-title {
    display: inline;
}
.menu-icon:after {
    background: #75706c;
    -webkit-box-shadow: 0 5px 0 #75706c,0 10px 0 #75706c;
    box-shadow: 0 5px 0 #75706c,0 10px 0 #75706c;
}
.menu-icon:hover:after {
    background: #75706c;
    -webkit-box-shadow: 0 5px 0 #75706c,0 10px 0 #75706c;
    box-shadow: 0 5px 0 #75706c,0 10px 0 #75706c;
}

.menu {
    height: 40px;
    background: #fff;
    padding-left: 0;
}

@media screen and (max-width: 63.9375em) {
    /* Margen menÃº */
    .menu {
        margin-left: 30px;
    }
}
.menu li a {
    display: block;
    text-decoration: none;
    color: #a7a4a4;
    height: 40px;
    padding-left: 0;
    padding-right: 26px;
}
.menu li a:hover, a.seleccionado {
    color: #ddad4e !important;
}
.menu li {
    float: left;
}
.menu li:last-child {
    float: right;
}
.menu li:last-child a {
    padding-right: 15px;
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .contenido {
        padding-top: 15px;
    }
    .menu li a {
        white-space: nowrap;
        padding-right: 17px;
        font-size: 80%;
    }
    .menu li:last-child a {
        padding-right: 60px;
    }
}

#menu-small {
    background-color: #e7e2de;
    display: none;
}
#menu-small ul {
    margin: 0;
    padding: 0;
}
#menu-small ul li:first-child {
    border-top: 1px solid #75706c;
}
#menu-small ul li {
    list-style-type: none;
    height: 40px;
    line-height: 22px;
    border-bottom: 1px solid #75706c;
}
#menu-small li a {
    display: block;
    text-decoration: none;
    color: #75706c;
    padding-left: 30px;
    font-size: 1.1em;
    padding-top: 8px;
    height: 100%
}
#menu-small li a:hover, a.seleccionado {
    color: #ddad4e;
}
.menu-icon {
    font-size: 100%;
}

.pie {
    background-color: #fff;
    height: 60px;
}
@media screen and (max-width: 63.9375em) {
    /* Centra el contenido */
    .pie {
        margin-left: 30px;
        margin-right: 30px;
    }
}
.pie a {
    color: #777777;
}
p#legal {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}
p#legal a {
    color: #a7a4a4;
}
p#legal a:hover {
    color: #b5b1b1;
}
@media screen and (max-width: 39.9375em) {
    /* Evita que el texto del pie desborde en altura */
    .pie a {
        font-size: 0.67em;
    }
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    /* Evita que el texto del pie desborde en altura */
    .pie a {
        font-size: 0.57em;
    }
}
.pie-izq, .pie-der {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
@media screen and (max-width: 39.9375em) {
    .pie-izq .pie-claro {
        color: #777777;
    }
    .pie-izq .pie-oscuro {
        color: #4f4f4f;
        font-weight: bold;
    }
    .pie-izq .pie-claro, .pie-izq .pie-oscuro {
        display: block;
    }
    .pie-izq .pie-coma {
        color: #777777;
        display: none;
    }
    .pie-der img {
        margin-top: -4px;
    }
    p#legal {
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 39.9375em) {
    /* AlineaciÃ³n fachada en pÃ¡gina de inicio (afecta a logo, menÃº y pie) */
    .logo, .pie, .contenido {
        padding-left: 10px;
    }
    .menu-icon {
        margin-left: 10px;
    }
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    /* AlineaciÃ³n fachada en pÃ¡gina de inicio (afecta a logo, menÃº y pie) */
    .logo, #fijo ul, .pie, .contenido {
        padding-left: 20px;
    }
}
@media screen and (min-width: 64em) {
    /* AlineaciÃ³n fachada en pÃ¡gina de inicio (afecta a logo, menÃº y pie) */
    .logo, #fijo ul.menu, .pie, .contenido {
        padding-left: 33px;
    }
}

/* Inicio */
#portada {
    position: relative;
    width: 100%;
}

#portada img {
    position: absolute;
    left: 0;
}

@-webkit-keyframes portada-animacion {
    0% {
        opacity:1;
    }
    55% {
        opacity:1;
    }
    65% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

@-moz-keyframes portada-animacion {
    0% {
        opacity:1;
    }
    55% {
        opacity:1;
    }
    65% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

@-o-keyframes portada-animacion {
    0% {
        opacity:1;
    }
    55% {
        opacity:1;
    }
    65% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

@keyframes portada-animacion {
    0% {
        opacity:1;
    }
    55% {
        opacity:1;
    }
    65% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

#portada img.encima {
    -webkit-animation-name: portada-animacion;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 4s;
    -webkit-animation-direction: alternate;
    -webkit-animation-delay: 2s;

    -moz-animation-name: portada-animacion;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 4s;
    -moz-animation-direction: alternate;
    -moz-animation-delay: 2s;

    -o-animation-name: portada-animacion;
    -o-animation-timing-function: ease-in-out;
    -o-animation-iteration-count: infinite;
    -o-animation-duration: 4s;
    -o-animation-direction: alternate;
    -o-animation-delay: 2s;

    animation-name: portada-animacion;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 4s;
    animation-direction: alternate;
    animation-delay: 2s;
}

/* InformaciÃ³n general */
#mapa {
    width: 460px;
    height: 550px;
    margin-top: 30px;
    margin-left: 20px;
    margin-bottom: 20px;
}
@media screen and (max-width: 40em) {
    #mapa {
        width: 100%;
        height: auto;
        margin-top: 10px;
        margin-left: 0;
        margin-bottom: 20px;
    }
}

.raic {
    height: 83px;
    padding-top: 30px;
}
@media screen and (max-width: 39.9375em) {
    .raic {
        padding-top: 20px;
        font-size: 85%;
    }
}

.label.memoria {
    background-color: #a8a288;
    padding: 5px;
    margin-right: 15px;
    font-size: 1.2em;
    border-radius: 0;
}

.pdf {
    font-size: 1.2em;
}
@media screen and (max-width: 39.9375em) {
    .pdf {
        display: block;
    }
}
.pdf img {
    padding-bottom: 4px;
}

/* El edificio */
#edificio-izquierda {
    padding: 0;
}
#edificio-izquierda img {
    display: block;
}

#edificio-derecha {
    height: 1189px;
    overflow: auto;
    overflow-x: hidden;
}
#edificio-derecha img {
    padding-top: 50px;
}
#edificio-derecha img.primera {
    padding-top: 20px;
}
#edificio-derecha img.ultima {
    padding-bottom: 50px;
}

@media screen and (max-width: 40em) {
    /* Centramos imÃ¡genes de la izquierda y evitamos scroll en la derecha */
    #edificio-izquierda {
        padding: 15px 0 15px 0;
    }
    #edificio-izquierda img {
        display: block;
        margin-left: auto;
        margin-right: auto
    }
    
    #edificio-derecha {
        height: 100%;
    }
}

/* Viviendas */
table tbody tr:nth-child(even) {
    background-color: #fff;
}

table.datos {
    margin: 0 auto;
    border-collapse: separate;
}
table.viviendas {
    width: 967px;
}
table.viviendas-bajares {
    width: 100%;
}
.columns.sinpadding {
    padding: 0;
}
table.datos tfoot td {
    padding-top: 2px;
}
table.datos tbody {
    border: none;
}
table.datos th {
    background: #e7e2de;
    vertical-align: bottom;
    padding: 10px 5px 5px 5px;
    line-height: 70%;
    font-weight: normal;
}
table.viviendas-bajares th {
    font-size: 1.9em;
    padding: 15px 5px;
}
table.datos tr {
    line-height: 14px;
}
table.datos tr:hover, table.datos tr.seleccionado {
    background: #faefcc;
    cursor: pointer;
}
table.datos tr.sincursor {
    cursor: default;
}
table.datos td {
    padding: 1px 5px;
    border-top: 1px solid #000;
}
@media screen and (max-width: 40em) {
    table.datos td {
        height: 22px;
    }
}
table.datos td.paddingderecha {
    padding-right: 15px;
}
table.datos td.pdf {
    text-align: right;
    width: 30px;
}
table.datos td.pdf img {
    padding-bottom: 0;
}
table.datos tfoot td {
    background: #e7e2de;
    border-top: 1px solid #000;
}
#grafico.viviendas {
    margin: 30px 0;
}
@media screen and (max-width: 39.9375em) {
    #grafico.viviendas {
        line-height: 1.8em;
    }
    #nombre-vivienda {
        border-bottom: 1px solid #ddad4e;
    }
    #nombre-vivienda h2 {
        font-size: 1.5em;
        line-height: 1em;
    }
    #datos-vivienda{
        font-size: 0.9em;
        margin-top: 15px;
    }
    #grafico.viviendas img {
        margin-top: 20px;
    }
    #grafico.viviendas img.esquema {
        margin-top: 0;
        max-width: 100px;
        max-height: 180px;
    }
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #contenedorgrafico {
        overflow: visible;
    }
    #grafico.viviendas {
        margin-left: -20px;
    }
}
@media screen and (min-width: 64em) {
    #contenedorgrafico {
        overflow: visible;
    }
    #grafico.viviendas {
        margin-left: -33px;
    }
}

.anchor {
    /* Sin esta clase el menu fijo tapa parte del contenido al pulsar en una vivienda (por: pixelflips) */
    display: block;
    height: 40px; /* Altura del menu */
    margin-top: -40px; /* Altura del menu */
    visibility: hidden;
}
@media screen and (max-width: 40em) {
    .anchor {
        height: 0;
        margin-top: 0;
    }
}

/* Contacto */
.contenido.contacto {
    padding-top: 30px;
    padding-bottom: 25px
}
@media screen and (min-width: 64em) {
    .contenido.contacto {
        font-size: 0.95em;
    }
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .contenido.contacto {
        font-size: 0.9em;
    }
}

p.notice img {
    vertical-align: text-top;
}
@media screen and (min-width: 64em) {
    p.notice img {
        vertical-align: text-bottom;
    }
}

.contacto h2 {
    color: #ddad4e;
    padding-top: 5px;
    padding-bottom: 20px;
}

input, textarea {
    font-size: 1em !important;
}

input.normal, input.normal:focus {
    background-color: #f3f0ee;
    border: 0 !important;
    height: 25px;
}

textarea, textarea:focus {
    height: 148px;
    background-color: #f3f0ee;
    border: 0;
    padding-top: 1px;
    padding-bottom: 1px;
}

input[type=radio] {
    margin-left: 55px;
}
@media screen and (max-width: 63.9375em) {
    input[type=radio] {
        margin-left: 0;
    }
    label.lineamitad {
        line-height: 0.2em;
        margin-bottom: 0.4em;
    }
}
@media screen and (max-width: 39.9375em) {
    .paddingdebajo {
        padding-bottom: 10px;
    }
    label.text-right {
        font-size: 90%;
    }
}

p.consentimiento {
    font-size: .875rem;
}
@media screen and (max-width: 50.938em) {
    p.consentimiento {
        line-height: 0.5rem;
        margin-bottom: 1rem;
    }
}

input[type=button], input[type=button]:hover {
    width: 56px;
    height: 17px;
    padding: 1px 0;
    background-color: #ddad4e;
}

/* Otras promociones */
.promociones img {
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
    -webkit-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.2);
}
.promociones img.ultima {
    margin-bottom: 20px;
}