/* 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: 64em) {
  .no-js .top-bar {
    display: block;
  }
  .no-js .title-bar {
    display: none;
  }
}
/* Prevención FOUC menu-icon y title-bar-title (aplicar a title-bar)) */
@keyframes fadeIn {
  0% { opacity: 0; }
  20% { opacity: 0; }
  40% { opacity: 0.4; }
  60% { opacity: 0.6; }
  80% { opacity: 0.8; }
  100% { opacity: 1; }
}
.no-fouc {
  -webkit-animation-duration: 0.1s;
  -webkit-animation-name: fadeIn;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-name: fadeIn;
  opacity: 0;
  opacity: 1;
}

/* General */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
}
@media screen and (min-width: 64em) {
    body {
        padding-top: 20px;
    }
}

.grid-container {
    max-width: 62.5rem;
    padding: 0;
}

.linea {
    border-top: 1px solid #A0A0A0;
}

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

.contenido {
    font-size: 0.8em;
    background-color: #fff;
    text-align: justify;
    margin-top: 20px;
    margin-bottom: 40px;
}
.contenido.portada {
    margin-top: 10px;
    margin-bottom: 20px;
}
@media screen and (max-width: 63.9375em) {
    /* Centra el contenido ancho<1024 */
    .contenedor-boton-menu, .contenido, .linea, .sobrepie {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .contenido.portada {
        margin-bottom: 0;
    }
}
.contenido p {
    margin-bottom: 0.5em;
}
.contenido p.doblemargen {
    margin-bottom: 2em;
}
.contenido h1.doblemargen {
    margin-top: 1em;
}

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

a {
    color: #616264;
}
a:focus, a:hover {
    color: #ee9219;
}

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

.logo {
    max-width: 421px;
}
@media screen and (max-width: 63.9375em) {
    /* Ides exclusivos para ancho<1024 */
    #cabecera-logo {
        width: 58%;
    }
    #cabecera-espaciado {
        width: 16.1%;
    }
    #cabecera-telefono, #cabecera-telefono-small {
        width: 25.9%;
    }
}
/* Para que el logo no se moente sobre el teléfono ancho<650px */
@media screen and (max-width: 41.1875em) {
    .logo {
        width: 100%;
    }
}

.boton-menu {
    background-color: #fcd49f;
    line-height: 1.2;
}
.title-bar {
    background-color: transparent;
    padding: 2px 0;
    height: 30px;
    width: 100%;
}
.title-bar-title {
    display: inline;
    color: #ee9219;
    font-size: 0.67rem;
    vertical-align: bottom;
    cursor: pointer;
    font-weight: bold;
}
@supports (-webkit-touch-callout: none) {
    /* Sólo iOS, igual ancho logo y eslogan */ 
    .title-bar-title {
        font-size: 8.5px;
        letter-spacing: -0.2px;
    }
}
.top-bar {
    padding: 0;
}
.top-bar, .top-bar ul {
    background-color: #fff;
}
.menu-icon:after {
    background: #ee9219;
    -webkit-box-shadow: 0 5px 0 #ee9219,0 10px 0 #ee9219;
    box-shadow: 0 5px 0 #ee9219,0 10px 0 #ee9219;
}
.menu-icon:hover:after {
    background: #ee9219;
    -webkit-box-shadow: 0 5px 0 #ee9219,0 10px 0 #ee9219;
    box-shadow: 0 5px 0 #ee9219,0 10px 0 #ee9219;
}

.menu {
    height: 40px;
    padding-left: 0;
}
@media screen and (min-width: 64em) {
    .menu {
        padding-top: 5px;
        font-weight: 100;
        color: #2B2B30;
    }
}

@media screen and (max-width: 63.9375em) {
    /* Margen y altura menú para ancho<1024 */
    .menu {
        margin-left: 20px;
        height: auto;
    }
}
.menu li a {
    display: block;
    text-decoration: none;
    height: 40px;
    padding-left: 0;
    padding-right: 0;
    letter-spacing: 0.007em;
}
@media screen and (min-width: 64em) {
    .menu li a {
        margin-right: 30px;
    }
}
.menu li a:hover, .menu li a.seleccionado {
    color: #000;
    font-weight: 300;
    letter-spacing: 0;
}
.menu li a::before {
    /* Para evitar desplazamientos en el menú cuando se posiciona el cursor sobre uno de los enlaces del menú (cambia el font-weight) */
    font-weight: 300;
    letter-spacing: 0;
    display: block;
    content: attr(data-foo);
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.menu li {
    float: left;
}
.menu li:last-child {
    float: right;
}
.menu li:last-child a {
    margin-right: 0;
}

#menu-small {
    display: none;
}
/* La clase vertical sustituye a side-nav */
#menu-small .vertical {
    width: 100%;
    background-color: #fcd49f;
}
#menu-small ul {
    margin: 0 20px;
    padding: 0;
}
#menu-small ul li:first-child {
    border-top: 1px solid #A0A0A0;
}
#menu-small ul li {
    list-style-type: none;
    min-height: 40px;
    line-height: 22px;
    border-bottom: 1px solid #A0A0A0;
}
#menu-small li a {
    display: block;
    text-decoration: none;
    color: #616264;
    font-size: 1.1em;
    padding-top: 8px;
    height: 100%;
}
@media screen and (max-width: 26.5em) {
    #menu-small li a {
        font-size: 0.7em;
        padding-bottom: 8px;
    }
    #menu-small ul li {
        min-height: 20px;
        line-height: 20px;
    }
}
#menu-small li a.seleccionado {
    color: #ee9219;
}
.menu-icon {
    font-size: 100%;
    right: 0;
    position: absolute;
}

.sobrepie {
    height: 19px;
    background-color: #fcd49f;
}

.pie {
    background-color: #fff;
    height: 60px;
    margin-top: 10px;
}
@media screen and (max-width: 63.9375em) {
    /* Centra el contenido */
    .pie {
        margin-left: 20px;
        margin-right: 20px;
    }
}
.pie a {
    color: #616264;
    font-weight: 100;
}
@media screen and (min-width: 40em) {
    .pie-izq a {
        vertical-align: -webkit-baseline-middle;
    }
}
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: 26.5em) {
    /* Evita que el texto del pie desborde en altura */
    .pie a {
        font-size: 0.53em;
    }
}
@media screen and (min-width: 26.563em) 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.7em;
    }
}
@media screen and (max-width: 39.9375em) {
    .pie-izq .pie-claro {
        /*color: #777777;*/
    }
    .pie-izq .pie-oscuro {
        /*color: #4f4f4f;*/
        font-weight: 300;
    }
    .pie-izq .pie-claro, .pie-izq .pie-oscuro {
        display: block;
    }
    .pie-izq .pie-coma {
        /*color: #777777;*/
        display: none;
    }
    .pie-der img {
        margin-top: 12px;
    }
    p#legal {
        font-size: 0.6rem;
    }
}
@media screen and (max-width: 26.5em) {
    .pie-der img {
        margin-top: 0;
    }
}

/* Inicio */
.orbit-slide {
     pointer-events: none;
 }

/* Información general */
#mapa {
    width: 460px;
    height: 579px;
    margin-top: 60px;
    margin-left: 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: #ee9219;
    padding: 5px;
    margin-right: 15px;
    font-size: 1.2em;
    border-radius: 0;
    width: 280px;
    color: #fff;
}
@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;
    }
}

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

/* Planta General */
.edificio img:first-child {
    padding-top: 40px;
}
.edificio img {
    padding-top: 60px;
    padding-bottom: 20px;
}

/* Viviendas y Descargas */
.grid-container.full.contenedor-fijo .grid-x .cell {
    /* En este apartado en la versión escritorio, el contenido es más ancho por la izquierda que el menu fijo.
    Con el contenedor full y su celda con fondo blanco se evita que se muestre */
    background: #fff;
}

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

table.datos {
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
}
table.viviendas, table.viviendas-bajares {
    width: 100%;
}
table.garaje {
    margin-bottom: 30px;
}
.cell.sinpadding {
    padding: 0;
}
table.datos tfoot td {
    padding-top: 2px;
}
table.datos tbody {
    border: none;
}
table.datos th {
    background: rgba(252, 212, 159, 0.5);
    vertical-align: bottom;
    padding: 10px 5px 5px 5px;
    line-height: 70%;
    font-weight: normal;
}
@media screen and (max-width: 63.938em) {
    table.datos th {
        line-height: 100%;
    }
}
table.datos.documentos th {
    padding: 0;
}
table.datos.documentos th.descargar {
    width: 38px;
    height: 38px;
}
table.viviendas-bajares th {
    font-size: 1.9em;
    padding: 15px 5px;
}
table.datos tr {
    line-height: 14px;
    cursor: pointer;
}
table.datos.documentos tr {
    line-height: 16px;
}
table.datos tbody tr:hover, table.datos tbody tr.seleccionado {
    background: rgba(252, 212, 159, 0.1);
}
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 (min-width: 40em) {
    table.datos tbody td {
        white-space: nowrap;
    }
}
@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;
    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: rgba(252, 212, 159, 0.5);
    border-top: 1px solid #000;
}
/*#grafico.viviendas {
    margin-top: 30px;
    margin-bottom: 50px;
}*/
#nombre-vivienda {
    border-bottom: 2px solid #ee9219;
    margin-bottom: 20px;
}
#nombre-vivienda h2 {
    font-size: 1.95em;
    margin-bottom: 0;
    font-weight: normal;
}
#grafico.viviendas h6 {
    font-size: 1.2em;
}
/*#grafico.viviendas img {
    padding-top: 40px;
}*/
@media screen and (min-width: 65.625em) {
    /* La imagen en versión escritorio tiene un ancho de 1.025px+márgenes=1.050px (65.625em), es más ancha que
    el ancho del diseño (1.000px) y tiene que sobresalir por la izquierda */
    /*#contenedorgrafico .cell:last-child {
        width: 1025px;
    }
    #grafico.viviendas img {
        margin-left: -12.5px;
    }*/
}
@media screen and (max-width: 39.9375em) {
    #grafico.viviendas {
        line-height: 1.8em;
        margin-top: 20px;
    }
    #nombre-vivienda {
        border-bottom: 1px solid #ee9219;
        margin-bottom: 0;
    }
    #nombre-vivienda h2 {
        font-size: 1.5em;
        line-height: 1em;
        margin-bottom: 0;
    }
    #datos-vivienda {
        font-size: 0.9em;
        margin-top: 15px;
    }
    /*#grafico.viviendas img {
        padding-top: 40px;
    }*/
}
/*#grafico.viviendas .scroll span {
  position: absolute;
  top: 40rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #000;
  border-radius: 100%;
  box-sizing: border-box;
}
#grafico.viviendas .scroll span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}*/

.anchor {
    /* Sin esta clase el menu fijo tapa parte del contenido al pulsar en una vivienda (por: pixelflips) */
    display: block;
    height: 20px; /* Altura del menu */
    margin-top: -20px; /* Altura del menu */
    visibility: hidden;
}

/* Contacto */
@media screen and (min-width: 64em) {
    .contenido.contacto {
        font-size: 0.95em;
        margin-top: 40px;
    }
    .contenido.contacto form {
        margin-top: 30px;
    }
}
@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: #ee9219;
    padding-top: 5px;
    padding-bottom: 20px;
}
@media screen and (max-width: 63.9375em) {
    .contacto h2#motivoconsulta {
        padding-top: 20px;
    }
}

.cell.sinpaddingizq {
    padding-left: 0;
}
.cell.sinpaddingder {
    padding-right: 0;
}

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

input.normal, input.normal:focus, select.normal, select.normal:focus {
    background-color: rgba(169, 169, 169, 0.5);
    border: 0;
    height: 25px;
}
select {
    width: 190px;
}

::placeholder {
  color: #2a2b2f;
  opacity: 1; /* Firefox */
  font-size: 0.8em;
}
::-ms-input-placeholder { /* Edge 12 -18 */
  color: #2a2b2f;
  font-size: 0.8em;
}

@media screen and (max-width: 63.9375em) {
    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;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
@media screen and (max-width: 50.938em) {
    p.consentimiento {
        line-height: 0.5rem;
    }
}

input[type=button], input[type=button]:hover {
    width: 56px;
    height: 20px;
    padding: 1px 0;
    background-color: rgba(169, 169, 169, 0.5);
    color: #000;
}