
:root {
    --swiper-theme-color: var(--theme-links-light);;
    --swiper-theme-color-hover: var(--theme-links-over);
    --swiper-theme-color-shadow: var(--theme-links-over);;
}

body.scroll-block{
    overflow: hidden !important;
}
#header.z-index-0{
    z-index: 0 !important;
    transition: none !important;
}

/*

	Product Galery

*/

body.swiper-fullscreen .image-galery-wrapper{
    min-height: 100vh;
}

@media all and (min-width: 800px){ /*Si es PC*/
    .image_galery {
        display: flex;
        text-align: center;
        margin: auto;
        padding: 0;
        background: transparent;
        position: relative;
        overflow: hidden;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}
@media all and (max-width: 799px){ /*Si es CEL*/
    .image_galery {
        display: block;
        text-align:center;
        width: 98%;
        margin:auto;
        margin-left: 1%;
        margin-right: 1%;
        padding:0;
        background: transparent;
        /*border: #CCC 1px solid;*/
        position: relative;
        overflow: hidden;
        max-width: 500px;
        margin: auto;
    }
}


.image_galery.fullscreen{
    display: block;
    background: #222;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0;
    z-index: 10000;
    max-width: none;
    transform: none !important;
    border-radius: 0;
    opacity: 1 !important;
}


.btn-toggle-fullscreen {
    position: absolute;
    top: 4px;
    color: #FFF;
    right: 0;
    left: auto;
    bottom: auto;
    margin: auto;
    z-index: 10;
}
.btn-toggle-fullscreen i{
    color: var(--swiper-theme-color);
    /* filter: drop-shadow(0px 0px 1px #222222);*/
}
.image_galery.fullscreen .btn-toggle-fullscreen {
    top: 0;
    margin: 10px;
    padding: 15px;
    z-index: 10020;
}

.image_galery.fullscreen .big-container{
    position: fixed;
    max-height: calc(100% - 135px);
    max-width: 100%;
    min-width: 100%;
    z-index: 10011;
    overflow: hidden;
    display: block;
    width: 100%;
    height: auto;
    top: 0;
    bottom: 0;
    right: auto;
    left: auto;
    margin: 0;
}
.image_galery.fullscreen .small-container{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    /*background: none;*/
    width: 100%;
    height: auto;
    z-index: 13000;
    box-shadow: rgba(0,0,0,0.1) 0px -10px 50px 5px;
}

.swiper-zoom-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}



/*

	Imagenes

*/


.small-item-outer, .marca {
    background: #FFF;
    border:var(--swiper-theme-color) 2px solid;
    display:inline-block;
    height: 100px;
    margin-right: 3px;
    margin-top: 3px;
    text-align: center;
    overflow: hidden;
    padding:0;
    vertical-align: middle;
    width: 100px;
    border-radius: 3px;
    transition: all ease 0.5s;
}
.small-item-outer:hover,
.small-item-outer:active,
.marca:hover,
.marca:active,
.swiper-slide-thumb-active .small-item-outer
{
    border:var(--swiper-theme-color-hover) 2px solid;
    box-shadow: var(--swiper-theme-color-shadow) 0px 15px 15px -10px;
    margin-top: -10px;
    transition: all ease 0.5s;
}
.small-item-outer:first {
    margin-left: 3px;
}

.swiper, swiper-container {
    overflow: visible !important;
}

.image_galery .small-container{
    text-align: left;
    margin-top: 5px;
    z-index: 10;
    width: auto;
    max-width: 100%;
    position: relative;
    overflow: visible;

}
.image_galery .small-inner-container{
    padding: 0.5em;
    white-space: nowrap;
    display: inline-block;
}
.image_galery .small-item {
    cursor: pointer;
    display:inline-block;
    margin:auto;
    padding:0;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
.image_galery .big-container{
    vertical-align: top;
    position: relative;
    /*max-height: 500px;*/
    height: 330px;
    /*min-height: 450px;*/
    /*max-width: 400px;*/
    /*min-width: 100%;*/
    z-index: 9;
    overflow: hidden;
    width: 100%;
    margin-top: 25px;
    padding-bottom: 25px;
}
.cabanas_galeria_imagenes.image_galery .big-container{
    height: 330px;
}

@media (min-width: 576px) {
    /* Galeria en home */
    #galeria_imagenes.image_galery .big-container{
        height: 400px;
    }
    /* Galeria en cabañas */
    .cabanas_galeria_imagenes .image_galery .big-container{
        height: 400px;
    }
}

@media (min-width: 768px) {
    /* Galeria en home */
    #galeria_imagenes.image_galery .big-container {
        height: 500px;
    }
    /* Galeria en cabañas */
    .cabanas_galeria_imagenes .image_galery .big-container{
        height: 500px;
    }
}
@media (min-width: 992px) {
    /* Galeria en home */
    #galeria_imagenes.image_galery .big-container{
        height: 650px;
    }
    /* Galeria en cabañas */
    .cabanas_galeria_imagenes .image_galery .big-container{
        height: 500px;
    }
}
@media (min-width: 1200px) {
    /* Galeria en home */
    #galeria_imagenes.image_galery .big-container{
        height: 650px;
    }
    /* Galeria en cabañas */
    .cabanas_galeria_imagenes .image_galery .big-container{
        height: 500px;
    }
}




.image_galery .swiper-slide{
    display: flex;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.image_galery .big-img-container{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    overflow: hidden;
}

.image_galery .big-item {
    display: flex;
    margin:auto;
    padding:0;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;

    background: #222;
    border: #FFF 10px solid;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px;

    object-fit: contain;
}
.image_galery.fullscreen .big-item {
    height: 100%;
    width: auto;
}

@media all and (min-width: 800px){
}
@media all and (max-width: 799px){
    .image_galery .big-item {
        height: auto;
        width: 100%;
    }
    .image_galery.fullscreen .big-item {
        height: auto;
        width: 100%;
    }

}
.swiper-wrapper{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.swiper-slide .big-item-zoomed {
    display: none;
}
.swiper-slide.swiper-slide-zoomed .big-item {
    display: none !important;
}
.swiper-slide.swiper-slide-zoomed .big-item-zoomed {
    display: block !important;
}


.swiper-slide.swiper-slide-active.swiper-slide-zoomed figure.big-img-container.swiper-zoom-target {
    max-height: none;
    max-width: none;
    min-width: unset;
    min-height: unset;
    position: relative;
}


.small-container .swiper-slide{
    flex-shrink: unset;
}

/*.imagengrandeshow{
	display: block !important;
}*/
/*
.item-h{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

}
.item-v{
    max-height: 100% !important;
    height: auto;
    width: auto;
}*/


/*

	Video

*/

.video_container {
    /* width: auto; */
    margin: auto;
    /* position: relative; */
    /* padding-bottom: 56.25%; */
    padding-top: 32px;
    /* height: 500px; */
    width: 100%;
    height: 56.25%;
    top: 0;
    bottom: 0;
    position: absolute;
}

.video_container iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    /*width: 100%;*/
    width: auto;
    height: 100%;
    border: none;
}

/*
Gemini fix
*/
/* 1. Asegúrate de que el slide y el contenedor de zoom ocupen todo el alto */
/*.swiper-slide,*/
/*.swiper-zoom-container {*/
/*    height: 100%;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    flex-grow: 1;*/
/*}*/

/* 2. El contenedor de la imagen (figure) no debe desbordar */
/*.big-img-container {*/
/*    height: 100%; !* Obliga al figure a no ser más alto que el zoom-container *!*/
/*    width: auto;*/
/*    margin: 0;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    overflow: hidden; !* Seguridad extra *!*/
/*}*/

/* 3. La imagen debe ajustarse al alto disponible sin deformarse */
/*.big-item {*/
/*    max-height: 100%;*/
/*    max-width: 100%;*/
/*    width: auto;*/
/*    height: auto;*/
/*    object-fit: contain; !* Esto hace que la imagen se vea completa sin cortarse *!*/
/*}*/

