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

.large-1.ancho1120 {
    max-width: 1120px;
    width: 100%;
    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: 0;
        margin-right: 0;
    }
}
.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;
    padding-top: 40px;
    padding-bottom: 20px;
}
@media screen and (max-width: 63.9375em) {
    /* Centra la cabecera */
    .cabecera {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media screen and (max-width: 39.9375em) {
    .cabecera {
        padding-top: 20px;
        padding-bottom: 10px;
    }
}
.boton-menu {
    background-color: #e3e3e3;
    padding-left: 30px;
    line-height: 1.2;
    border-top: 1px solid #c8c8c8;
    border-bottom: 1px solid #c8c8c8;
}
.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;
    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: 0;
}
.menu li a:hover, a.seleccionado {
    color: #f9bc30 !important;
}
.menu li {
    float: left;
    padding-right: 26px;
}
.menu li:last-child {
    float: right;
    padding-right: 0;
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .contenido {
        padding-top: 15px;
    }
    .menu li a {
        white-space: nowrap;
        font-size: 80%;
    }
    .menu li:last-child {
        padding-right: 30px;
    }
}

#fijo .sticky {
    background-color: transparent;
}
#fijo .sticky.is-stuck {
    background-color: #fff;
    margin-left: -60px;
    padding-left: 60px;
}
#fijo .sticky.is-stuck li:last-child a {
    margin-right: -60px;
    background-color: #fff;
}

#menu-small {
    background-color: #e3e3e3;
    display: none;
}
#menu-small ul {
    margin: 0;
    padding: 0;
}
#menu-small ul li {
    list-style-type: none;
    height: 30px;
    line-height: 22px;
    border-bottom: 1px solid #c8c8c8;
}
#menu-small li a {
    display: block;
    text-decoration: none;
    color: #717171;
    padding-left: 30px;
    font-size: 1em;
    padding-top: 4px;
    height: 100%
}
#menu-small li a:hover, a.seleccionado {
    color: #f9bc30;
}
.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: 25px;
    }
    p#legal {
        font-size: 0.6rem;
    }
}

/* Inicio */
#portada {
    margin-top: -40px;
}
@media screen and (max-width: 40em) {
    #portada {
        margin-top: 0;
    }
}

/* Información general */
#mapa {
    width: 460px;
    height: 610px;
    margin-top: 60px;
    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: 75px;
}
.raic .masinfo {
    margin-bottom: 5px;
}

.label.memoria {
    background-color: #a8a288;
    padding: 5px;
    margin-right: 15px;
    font-size: 1.2em;
    border-radius: 0;
    width: 280px;
}
@media screen and (max-width: 39.9375em) {
    .raic {
        font-size: 85%;
        height: auto;
        float: none !important;
    }
    .label.memoria {
        margin-right: 15px;
        width: 250px;
    }
    #sello {
        float: none !important;
    }
}

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

/* El edificio */
#edificio {
    padding-top: 10px;
}

#edificio-izquierda {
    padding: 0;
    margin-left: -45px;
}
@media screen and (max-width: 70.25em) {
    #edificio-izquierda {
        margin-left: 0;
    }
}
#edificio-izquierda img {
    display: block;
}

#edificio-derecha {
    height: 1600px;
    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 y Garajes */
table tbody tr:nth-child(even) {
    background-color: #fff;
}

table.datos {
    margin: 0 auto;
    border-collapse: separate;
}
table.viviendas, table.garajes, table.documentos {
    width: 100%;
}
table.viviendas-bajares, table.garajes-bajares {
    width: 100%;
}
.columns.sinpadding {
    padding: 0;
}
table.datos tfoot td {
    padding-top: 2px;
}
table.datos tbody {
    border: none;
}
table.datos th {
    background: #eaeaea;
    vertical-align: bottom;
    padding: 10px 5px 5px 5px;
    line-height: 70%;
    font-weight: normal;
}
table.datos.documentos th {
    padding: 0;
}
table.viviendas-bajares th, table.garajes-bajares th {
    font-size: 1.9em;
    padding: 15px 5px;
}
table.datos tr {
    line-height: 14px;
}
table.datos.documentos tr {
    line-height: 16px;
}
table.datos tr:hover, table.datos tr.seleccionado, table.datos.documentos tr:hover, table.datos.documentos tr.seleccionado {
    background: #fdebb8;
    cursor: pointer;
}
table.datos tr.sincursor, table.datos.documentos tr.sincursor, table.datos.documentos td.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.textoreducido {
    font-size: 0.9em;
}
table.datos td.pdf {
    text-align: right;
    min-width: 30px;
}
table.datos.documentos td.pdf {
    text-align: center;
    width: 48px;
}
table.datos td.pdf img {
    padding-bottom: 0;
}
table.datos tfoot td {
    background: #eaeaea;
    border-top: 1px solid #000;
}
#grafico.viviendas {
    margin: 20px 0;
}
#grafico.garajes {
    margin-bottom: 20px;
}
@media screen and (max-width: 39.9375em) {
    #grafico.garajes {
        margin: 20px 0;
    }
    #grafico.viviendas, #grafico.garajes {
        line-height: 1.8em;
    }
    #nombre-vivienda, #nombre-garaje {
        border-bottom: 1px solid #ddad4e;
    }
    #nombre-vivienda h2, #nombre-garaje h2 {
        font-size: 1.5em;
        line-height: 1em;
    }
    #datos-vivienda, #datos-garaje {
        font-size: 0.9em;
        margin-top: 15px;
    }
    #grafico.viviendas img, #grafico.garajes img {
        margin-top: 20px;
    }
    #grafico.viviendas img.esquema {
        margin-top: 0;
        max-width: 100px;
        max-height: 245px;
    }
}
@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: -40px;
    }
}

.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: #f9bc30;
    padding-top: 5px;
    padding-bottom: 20px;
}

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

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

textarea, textarea:focus {
    height: 148px;
    background-color: #eaeaea;
    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: 25px;
    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;
}