header {
    width: 100%;
    /*color: white;*/
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}
.stickyHeader-on .stickyHeader {
    position: fixed;
}
html.stickyHeader-on header {
    background-color: #1A171C;
}

#portada {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;   
    background-color: #060606;
    color: white;
    font-family: 'Cinzel', serif;
    position: relative;
}
#portada .container,
#portada .flex {
    height: 100%;
}
#portada .flex {
    display: -webkit-flex;
    display: flex;   
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-end;
    align-items: flex-end;   
}
#portada h1 {
    font-weight: 700;
    z-index: 1;
    position: relative;
}   
#portada h1:before,
#portada h1:after {
    content: '“';
    position: absolute; 
}
#portada h1:before {      
    top: 0; 
}
#portada h1:before {
    color: rgba(183,35,3,0.3);
    line-height: 1.0;     
    z-index: -1;
}
#portada h1:after {
    content: '“';
    position: absolute;   
    top: 0;   
}
#portada .firma {
    font-family: 'Lato', serif;
    font-size: 12px;
    line-height: 1.0;
}
#portada .firma > span {
    margin-right: 30px;
    text-align: right;
    display: block;
}

#portada #portada-down {
/*    padding-bottom: 2.5rem;
    text-align: center;*/
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: inline-block;
}
#portada #portada-down a {
    padding-bottom: 23px;
    display: block;
    position: relative;
}
#portada #portada-down a:hover {
    animation-name: portadaDown;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
#portada #portada-down img {
    width: 22px;    
}
@keyframes portadaDown {
    0% {bottom: 0px}
    50% {bottom: 10px}
    100% {bottom: 0px}
}

#nosotros {
    background-image: url('../../images/inicioFront/nosotros.jpg');    
    text-align: center;
}
#nosotros h2 {
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
    font-size: 22px;    
    font-weight: 700;
}
#nosotros h2 span {
    color: #B72303;    
}
#nosotros .nosotros-txt {
    width: 800px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
#nosotros .nosotros-txt p {
    margin-bottom: 20px;
}
#nosotros .flex > * {
    height: 52px;
    border: 1px solid black;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
#nosotros .flex a,
#nosotros .flex a:active {
    color: black;
}
#nosotros .flex a:hover,
#nosotros .flex a:focus {
    border-color: #B72303;
}
#nosotros .flex a:before {
    content: '';
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: 11px;
    display: inline-block;
}
#nosotros .flex .btn-article:before,
#nosotros .flex .btn-article:active:before {
    width: 24px;
    background-image: url('../../images/iconos/article-outline-black.svg');
}
#nosotros .flex .btn-article:hover:before,
#nosotros .flex .btn-article:focus:before {
    width: 24px;
    background-image: url('../../images/iconos/article-outline-corp.svg');
}
#nosotros .flex .btn-video:before,
#nosotros .flex .btn-video:active:before {
    width: 28px;
    background-image: url('../../images/iconos/video-outline-black.svg');
}
#nosotros .flex .btn-video:hover:before,
#nosotros .flex .btn-video:focus:before {
    width: 28px;
    background-image: url('../../images/iconos/video-outline-corp.svg');
}
#nosotros .flex .btn-book:active:before,
#nosotros .flex .btn-book:before {
    width: 30px;
    background-image: url('../../images/iconos/book-outline-black.svg');
}
#nosotros .flex .btn-book:hover:before,
#nosotros .flex .btn-book:focus:before {
    width: 30px;
    background-image: url('../../images/iconos/book-outline-corp.svg');
}

#aviso-plazas {
    width: 300px;
    padding: 50px;
    background-color: black;
    color: white;
    border: 1px solid white;
    font-size: 17px;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: none;
    z-index: 1
}
#aviso-plazas .aviso-close {
    width: 22px;
    position: absolute;
    top: 15px;
    right: 10px;   
    cursor: pointer;
}
#aviso-plazas h2 {
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
    font-size: 22px;
}
#aviso-plazas p:last-child {
    margin-bottom: 0;
}
    

@media (min-width: 1200px) {
    #portada h1 {
        width: 513px;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    #portada {
        background-position: -200px top; 
    }  
    #portada h1 {
        width: 351px;
    }
}
@media (min-width: 992px) {    
    #portada .flex {
        -webkit-justify-content: center;
        justify-content: center;
    }
    #nosotros .flex > * {
        width: calc(33.333333% - 27px);
    }    
}
@media (max-width: 991px) {
    #portada .flex {
        padding-top: 127px;
    }
}
@media (min-width: 768px) {    
    #portada {
        background-image: url('../../images/inicioFront/portada.jpg');
    }
    
    #portada h1 {
        max-width: 100%;
        margin-bottom: 55px;
        font-size: 30px;
        line-height: 36px;
    }
    #portada h1:before {
        font-size: 200px;
        top: -28px;
        left: -48px; 
    }
    #portada h1:after {    
        left: -14px;    
    }
    #portada .firma {
        width: 238px;
        margin-right: 13px;
    }
    #portada .firma > span {
        margin-top: -30px;
    }
    #nosotros .flex {
        width: 1040px;
        max-width: 100%;
        margin-top: 60px;
        margin-left: auto;
        margin-right: auto;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    #nosotros .flex > * {
        width: calc(33.333333% - 15px);
    }    
}
@media (max-width: 767px) {
    #portada {
        background-image: url('../../images/inicioFront/portada-xs.jpg');
    }    
    #portada .flex {
        padding-top: 100px;
    }
    #portada h1 {
        padding-left: 25px;
        padding-right: 8px;
/*        width: 285px;
        max-width: 100%;
        padding-left: 29px;*/
/*        margin-right: 8px;
        margin-bottom: 25px;*/
        font-size: 18px;
        line-height: 22px;
    }
    #portada h1:before {
        font-size: 177px;
        top: -14px;
        left: -7px;
    }
    #portada h1:after {    
        left: 19px;      
    }
    #portada .firma {
        width: 161px;
        margin-right: 14px;
    }
    #portada .firma > span {
        margin-top: -20px;
    }
    
    #nosotros h2 {
        width: 215px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    #nosotros .flex {
        margin-top: 36px;
    }
    #nosotros .flex > * {
        width: 100%;
    }
    #nosotros .flex > * + * {
        margin-top: 10px;
    }
}
@media (min-width: 768px) {
    #nosotros {
        padding: 46px 0 99px;
    }
}
@media (max-width: 767px) {
    #nosotros {
        padding: 34px 0 40px;
    }
}
@media (orientation: portrait) {
/*    #portada {
        background-position: left bottom; 
    }  */
    #portada .flex {
        padding-top: 127px;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
    }
    #portada h1 {
        width: 100%;
    }
}
@media (min-width: 992px) and (-webkit-min-device-pixel-ratio : 1.5),
       (min-width: 992px) and (-o-min-device-pixel-ratio: 3/2),
       (min-width: 992px) and (min--moz-device-pixel-ratio: 1.5),
       (min-width: 992px) and (min-device-pixel-ratio: 1.5) {
    #portada {
        background-image: url('../../images/inicioFront/portada@2x.jpg');        
    }
}
@media (max-width: 991px) and (-webkit-min-device-pixel-ratio : 1.5),
       (max-width: 991px) and (-o-min-device-pixel-ratio: 3/2),
       (max-width: 991px) and (min--moz-device-pixel-ratio: 1.5),
       (max-width: 991px) and (min-device-pixel-ratio: 1.5) {
    #portada {
        background-image: url('../../images/inicioFront/portada-xs@2x.jpg');        
    }
}
@media (max-width: 991px) and (orientation:landscape) {
    #portada {
        min-height: 460px;
        background-image: url('../../images/inicioFront/portada@2x.jpg'); 
    } 
}
@media (max-width: 767px) and (orientation: landscape) {    
    #portada {
        min-height: 400px;
    }
}
@media all and (-webkit-min-device-pixel-ratio : 1.5),
       all and (-o-min-device-pixel-ratio: 3/2),
       all and (min--moz-device-pixel-ratio: 1.5),
       all and (min-device-pixel-ratio: 1.5) {
    #nosotros {
        background-image: url('../../images/inicioFront/nosotros@2x.jpg');
    }
}
