/* HEADER */
.header{
    position: fixed;
    transition: all 300ms;
}
.dropdown.active a{
    text-decoration: underline;
}
.dropdown a:hover{
    color: #ccc !important;
    text-decoration: underline !important;
}
@media (min-width: 1199px){
    .header{
        top: 4.5rem;
    }
}
.header .logo__img{
    width: 240px;
}
.header .inner_row{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.header .logo{
    margin-left: 0;
}
/*.header.sticky #navbar-collapse-1{
    max-width: none !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}
.header:not(.sticky) #navbar-collapse-1>a{
    display: none;
}*/
.header.pequeopaco{
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0,0,0,0.5)
}
.header .nav > li > a {
    position: relative;
    display: block;
    padding: 3rem 4.5rem 1rem 0;
    font: 700 14px Montserrat;
    color: #fff;
    transition: all 0.1s ease-out;
}
@media (min-width: 767px){
    .header .navbar .logo__img{
        display: none;
    }
    .header .navbar .logo{
        margin: 0;
    }
    .header .logo{
        max-width: 22vw;
    }
}
@media (max-width: 1000px){
    .header .nav > li > a {
        padding: 3rem 2rem 1rem 0;
    }
}
@media (max-width: 767px){
    html .yamm {
        top: 20px;
    }
}

/* HERO */

.image-core {
    background-image: url(../media/content/sanabulcore/Core_CABECERA.jpg);
    background-position: center;
}

.hero {
    position: absolute;
    left: 59%;
    top: 39%;
    z-index: 1;
    height: -15%;
    width: 36%;
}

.section-title{
    height: 80vh;
}

.ui-title-subtitle {
    position: relative;
    margin-top: 0;
    /* font-size: 3em; */
}
@media (min-width: 1700px){
    .section-title{
        min-height: 0;
    }
}
.right .ui-title-subtitle{
    margin-right: 2em;
    margin-left: 2em;
}
@media (min-width: 1700px){
    .right .ui-title-subtitle{
        margin-left: 0;
        /*margin-right: 29rem;*/
    }
    .ui-title-subtitle{
        margin-left: 0;
    }
}

.section-title:after {
    background-color: initial;
}
.section-title:not(.menososcuro):after{
    background: -moz-linear-gradient(left, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 );
}
.section-title.menososcuro:after{
    background: -moz-linear-gradient(left, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 100%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.35) 0%,rgba(0,0,0,0) 100%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0.35) 0%,rgba(0,0,0,0) 100%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 );
}
.section-title.right:after{
    background: -moz-linear-gradient(right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(right, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to left, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 );
}
.sp-image-container img{
    object-fit: cover;
}
@media (max-width: 1000px){
    .sp-image-container img{
        object-position: 43%;
    }
}
@media (max-width: 620px){
    .sp-image-container img{
        object-position: 31%;
    }
    .hero {
        display: none;
    
    }
    .ui-title-subtitle {
        font-size: 2em;
    }
}


/* PRELOADER */
#page-preloader{
    background-color: rgba(23, 23, 23, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
}
#page-preloader:after{
    position: absolute;
    content: "";
    background: url("../media/BlacknosaurStudio-white-animation.gif");
    width: 400px;
    max-width: 80%;
    height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

/* CONTAINER TWEAKS */
@media (min-width: 1400px){
    .container {
        width: 1200px;
    }
}
@media (min-width: 1680px){
    .container {
        width: 1300px;
    }
}
@media (min-width: 1920px){
    .container {
        width: 1400px;
    }
}

/* SERVICIOS */

.ui-title-block_lg {
    font-size: 1.3em;
}

.mg-rgt_7 {
    margin: 0;
}

.blocks-descriptions__item {
    padding: 6rem 6rem 6rem;
   
}

.list-mark_2-col{
    display: flex;
    flex-wrap: wrap;
}
.list-mark_2-col li{
    float: initial
}
.list-mark > li:before{
    top: 1.3rem;
    left: 2rem;
}
.blocks-descriptions__item:after{
    background-color: rgba(26,26,26, 0.9);
}
.blocks-descriptions__item:hover:after{
    background-color: rgba(26,26,26, 0.95);
}
.border-decor_mod-b {
    margin-top: 2rem;
}

/* TAMAÑO DE FUENTES */


@media (max-width: 992px){
    .gallery-description__title {
        font-size: 1.2em;
    }
    .gallery-description__info{
        font-size: 1em;
    }
    
}


/* FILAS DE LA HOME */


@media (min-width: 1px){
    html .gallery-description{
        height: initial;
        display: flex;
        min-height: 200px;
    }
    .gallery-description__wrap-info{
        max-height: none;
    }
    .gallery-description__img{
        background-position: center center;
        background-size: cover;
        display: flex;
        flex: 1;
        min-height: 200px;
    }
    .gallery-description__img img{
        object-fit: cover;
        height: 100%;
    }
    .gallery-description:nth-child(even){
        flex-direction: row-reverse;
    }
    .gallery-description:nth-child(even) .gallery-description__img{
        margin-left: 0;
    }
    .gallery-description__inner{
        padding: 5rem 7%;
    }
}
@media (max-width: 992px){
    .gallery-description, .gallery-description:nth-child(even){
        flex-direction: column-reverse;
    }
}

/* TARJETAS ABOUT */

.post-a__text{
    height: initial;
}

/* CONTACTO */
.contacts__item_mod-a{
    height: initial;
}

.section-default {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.contacts__item div{
    color: white;
    cursor: pointer;
}
.contacts__item img{
    height: 100%;
}

@media(max-width: 992px){
    .bloqueinfo{
        padding: 1em 0 1.2em 0;
    }
}


/* PROYECTOS */

.video-core {
    display: block;
    margin: 0 auto;
    width: 1399px;
}

@media(max-width: 300px){
    .video-core {
        width: 20%;
    }
}

@media(max-width: 1919px){
    .video-core {
        width: 1306px;
    }
}

@media(max-width: 1680px){
    .video-core {
        width: 1205px;
    }
}

@media(max-width: 1399px){
    .video-core {
        width: 1170px;
    }
}

@media(max-width: 1199px){
    .video-core {
        width: 972px;
    }
}

@media(max-width: 991px){
    .video-core {
        width: 100%;
    }
}

.container-post {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.icon-more {
    width: 9% !important;
    position: absolute;
}

.grid-item_bg:before {
    opacity: -0.5;
}


.post-text {
    width: 100%;
    height: 100%;
    color: white;
    position: absolute;
    margin-top: -10px;
    padding: 35px;
    opacity: 0;
    transition: all .7s ease-in-out;
    font-weight: 200;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    z-index: 10;
}

.grid-item_bg:hover .post-text {
    color: white;
    opacity: 1;
    margin-top: 0;
}

.grid-item_bg img{
    transition: transform 10000ms, filter 700ms;
}

.grid-item_bg:hover img{
    transform: scale(1.5);
    filter: brightness(0.5)
}

.container-empty {
    height: 10vh;
}

.text-cookies {
    text-align: center;
}

.cookies-color {
    color: #a6a6a6;
    font-size: 1em;
}


/* FOOTER */ 
footer{
    margin-top: 50px;
    padding: 0px 0px 50px 0px !important;
}
footer .filaAbajo{
    padding-top: 1em;
    display: flex;
    align-items: flex-end;
}
footer a{
    transition: all 300ms;
}
footer .socialitos a{
    position: relative;
    z-index: 100;
    padding: 0 25px;
    color: white;
}
footer .socialitos a:hover{
    color: #666
}
@media (max-width: 992px){
    footer .filaAbajo{
        display: block;
    }
}

/* MENU MOBILE */
.sidebar-menu a{
    position: relative;
    z-index: 30;
    padding: 20px 0;
}
.sb-slidebar.sb-active{
    z-index: 1000;
}
.sb-slidebar .nav{
    display: flex;
    flex-direction: column;
}

/* FILTRO PROYECTOS */
.isotope-button{
    margin-bottom: 1em;
}
.isotope-button:not(:last-child):after{
    content: " | ";
    color: #666;
}

/* MOSAICO PROYECTO */
.mosaic a{
    width: 100%;
}
.mosaic img{
    width: 100%;
    object-fit: cover;
}


/* INFO PROYECTO */
.list-description__name{
    width: 6em
}
.list-description__data{
    padding-left: 6em
}
.section_mod-d{
    padding-top: 3em;
    padding-bottom: 3em;
}
.block-padd-mk{
    padding-left: 5em;
    padding-right: 5em;
}

/* CLASES REUTILIZABLES */
.d-flex, .d-flex-resp{
    display: flex;
} 
@media (max-width: 992px){
    .d-flex-resp{
        display: block;
    }
} 
.w-100{
    width: 100%;
}
.justify-content-center{
    justify-content: center;
}
.p-0{
    padding: 0 !important;
}
.z50{
    position: relative;
    z-index: 50;
}
.btn-grey{
    background-color: #bbb
}
.btn-grey:hover{
    background-color: #555
}

/* GALERÍA */
.pp_social{
    display:none;
}

.block-progr-bars {
    margin-bottom: 0;
}

