/*******************************
DUAL - texto + foto
*******************************/
/*

Propiedades de las columnas -> dual__item

dual__item--center | Columna - Centrar verticalmente el contenido
dual__item--gap-h  | Columna - Padding horizontal
dual__item--gap-v  | Columna - Padding vertical
dual__item--txt    | Columna - Texto
dual__item--img    | Columna - Imagen completa
dual__item--img-crop | Columna - Imagen con altura del otro dual, absolute
dual__item--full   | Columna - Ancho 100% pantalla

data-order-mv="1"  | Columna - Orden en móvil, posibles valores [1 | 2]

*/ 

.dual {
    display: flex;
    flex-direction: column;
}
.dual:not(:last-child) {
    margin-bottom:var(--padding-v);
}
.dual__item--center { 
    justify-content: center;
}

.dual__item--gap-h {
    padding: 0 var(--padding-h);
}

.dual__item:first-child {
    align-items: flex-end;
}

.dual__item:last-child {
    align-items: flex-start;
}


/* Móvil y tablet vertical -  Estilos inferiores o igual a 768 */
@media screen and (max-width: 768px) {

    .dual__item:not(.dual__item--full) {
        padding: 0 var(--padding-h);
    }

    .dual__item[data-order-mv="1"] {
        order: 1;
    }

    .dual__item[data-order-mv="2"] {
        order: 2;
        padding-top: var(--padding-h);
    }

    .dual__item--txt ~ .dual__item--txt[data-order-mv="2"] {
        padding-top: calc(var(--padding-h) * 2);
    }
    .dual__item--txt[data-order-mv="2"] ~ .dual__item--txt {
        padding-bottom: var(--padding-h);
    }
    .dual__item--img-crop img {
        max-height:50vh;
        min-height:320px;
    }
    .section--nogap .dual__item--gap-v {
        padding-top: var(--padding-v);
        padding-bottom: var(--padding-v);
    }
}

/* Tablet horizontal y pc - Estilos desde 769 */
@media screen and (min-width: 769px) {

    .dual {
        flex-direction: row;
    }

    .dual__item--full .dual__inner {
        max-width: 100%;
    }

    .dual__item {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

	.dual__item:not(.dual__item--center) .dual__inner {
		flex: 1;
	}

    .dual__inner {
        max-width: calc((var(--max-width) / 2) - var(--padding-h));
        position: relative;
        width:100%;
    }

    .dual__item--gap-h:not(.dual__item--full) .dual__inner {
        max-width: calc((var(--max-width) / 2) - var(--padding-h));
    }

    .dual__inner {
        max-width: calc((var(--max-width) / 2));
    }

    .dual__item--img .dual__inner {
        
        width: 100%;
    }


    .dual__item--img-crop img {
        position: absolute;
    }

    .dual__item--gap-h {
        padding-right: var(--padding-h);
        padding-left: var(--padding-h);
    }
	
    .dual__item--gap-h ~ .dual__item--gap-h {
        padding-left: 0;
    }
	
    .dual__item--gap-v {
        padding-top: var(--padding-v);
        padding-bottom: var(--padding-v);
    }

    .dual__item:last-child:not(.dual__item--full):not(.dual__item--gap-h) {
        padding: 0 var(--padding-h) 0 0;
    }

    .dual__item:first-child:not(.dual__item--full):not(.dual__item--gap-h) {
        padding: 0 0 0 var(--padding-h);
    }

}


/*******************************
box-txtOverImg- Texto con imagen de fondo
*******************************/
.box-txtOverImg {
    position: relative;
    text-align: center;
    overflow: hidden;
    flex:1;
    display:flex;
    flex-direction:column;
}

.box-txtOverImg__link {
    text-decoration: none;
    color: currentColor;
    display: flex;
    flex-direction:column;
    flex:1;
}

.box-txtOverImg__img {
    flex:1;
}

.box-txtOverImg__img img {
    transition: .6s ease-out;
}

.box-txtOverImg:hover .box-txtOverImg__img img {
    transform: scale(1.1);
}


.box-txtOverImg__info {
    position: absolute;
    z-index: 2;
}
.box-txtOverImg__title {
    color: currentColor;
}
.box-txtOverImg__title:not(:last-child) {
    margin: 0 0 0.4em;
}
.box-txtOverImg__info p:not(:last-child) {
    margin: 0 0 0.6em;
}

/* Style 1*/
.box-txtOverImg--style1 .box-txtOverImg__img img {
    min-height: 300px;
}
.box-txtOverImg--style1 .box-txtOverImg__info {
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: var(--padding-h);
    color:#fff;
}

.box-txtOverImg--style1 .box-txtOverImg__desc {
    display:none;
}
.box-txtOverImg--style1 .box-txtOverImg__img:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background 300ms ease;
}
.box-txtOverImg--style1 .box-txtOverImg:hover .box-txtOverImg__img:after {
    background: rgba(0, 0, 0, 0.5);
}
.box-txtOverImg--style1 .box-txtOverImg__button .button {
    color: currentColor;
}

/* Style 2*/
.box-txtOverImg--style2 .box-txtOverImg__title{
	margin:0;
}

.box-txtOverImg--style2 .box-txtOverImg__title:after {
    font-family: var(--awesome);
    content: '\f054';
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 0.15rem;
}
.box-txtOverImg--style2 .box-txtOverImg__img img {
    min-height: 200px;
}
.box-txtOverImg--style2 .box-txtOverImg__desc {
    display: none;
}
.box-txtOverImg--style2 .box-txtOverImg__button {
    display: none;
}
.box-txtOverImg--style2 .box-txtOverImg__info {
    bottom: 0;
    right:0;
    margin: calc(var(--padding-h) / 2);
    text-align: center;
    background: var(--white-transparent);
    backdrop-filter: blur(3px);
    padding: calc(var(--padding-h) / 2);
    font-size: 0.9rem;
}

/* Style 3 */
.box-txtOverImg--style3 .box-txtOverImg__img img {
    min-height: 140px;
}
.box-txtOverImg--style3 .box-txtOverImg__info {
    position:static;
    padding: calc(var(--padding-h) / 2);
    font-size: 0.9rem;
}

/* Style 4*/
.box-txtOverImg--style4 .box-txtOverImg__info:after {
    font-family: var(--awesome);
    content: '\f054';
    font-weight: 600;
    display: inline-block;
    margin-left: 0.25rem;
    color:currentColor;
}
.box-txtOverImg--style4 .box-txtOverImg__info {
    background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0.4) 100%);
    text-shadow:0 0 1rem rgba(0,0,0,0.8); 
    color:#fff;
    bottom: 0;
    text-align:left;
    left: 0;
    display: flex;
    align-items:center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: calc(var(--padding-h) / 2);
}
.box-txtOverImg--style4 .box-txtOverImg__img img {
    min-height: 200px;
}
.box-txtOverImg--style4 .box-txtOverImg__title{
	margin:0;
}
.box-txtOverImg--style4 .box-txtOverImg__desc {
    display: none;
}

.box-txtOverImg--style4 .box-txtOverImg__button {
    display: none;
}

@media screen and (min-width: 600px) {
    .box-txtOverImg--style2 .box-txtOverImg__title:not(:last-child) {
        margin: 0 0 0.4em;
    }
    .box-txtOverImg--style1 .box-txtOverImg__desc {
        display:block;
    }
    .box-txtOverImg--style2 .box-txtOverImg__desc {
        display: block;
    }
    .box-txtOverImg--style2 .box-txtOverImg__button {
        display: block;
    }
    .box-txtOverImg--style2 .box-txtOverImg__title:after {
        display: none;
    }

    .box-txtOverImg--style3 .box-txtOverImg__info {
        position: absolute;
        top: 0;
        right: 0;
        text-align: right;
    }
    .box-txtOverImg--style3 .box-txtOverImg__img:after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 100%);
        transition: background 300ms ease;
    }
}
@media screen and (max-width: 768px) {
    .box-txtOverImg__button .button {
        font-size: 0.85rem;
        padding: calc(0.35rem - 1px) 0.7rem;
    }

    .box-txtOverImg__info {
        font-size: 0.85rem;
    }
}

/*******************************
cols - Dos columnas, de 30-70
*******************************/
.cols {
    border-top: 1px solid;
    padding-top: var(--padding-h) ;
}
.cols__small {
   
    padding-bottom: var(--padding-h);
}

@media screen and (min-width: 769px) {
    .cols {
        display: flex;
    }

    .cols__small {
        width: 30%;
        min-width: 300px;
        padding-right: var(--padding-h);
		padding-bottom: 0;
    }
}
/*******************************
ICON - icono + texto
*******************************/
.grid-auto .icon-txt,
.flex-auto .icon-txt {
    flex: 1;
}

.icon-txt {
    text-align: center;
    margin:0.5rem 0;
}

.icon-txt__img {
    display: block;
    margin: 0 auto;
    height: 80px;
    margin-bottom: 0.6rem;
}
.icon-txt__img img{
    height:100%;
}
.icon-txt__ico {
    display: block;
    font-size:3rem;
	line-height:100%;
    margin-bottom: 0.8rem;
    text-align:center;
    color:var(--primary);
}

.icon-txt__title {
    margin: 0 0 0.4em;
}

/* icon-txt con fondo y padding */
.icon-txt--box {
    margin:0;
    color:var(--font-color);
    padding: var(--padding-inner);
    background: #fff;
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
}

/* icon-txt en dos columnas */
.icon-txt--cols {
    display:flex;
    text-align:left;
}
.icon-txt--cols .icon-txt__ico {
    margin:0 0.8rem 0 0;
}
.icon-txt--cols .icon-txt__img {
    margin:0 0.8rem 0 0;
}

/*******************************
BOX - img + texto + button
*******************************/
.grid-auto .box,
.flex-auto .box {
flex: 1;
}
.box {
box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
display:flex;
background:#fff;
flex-direction:column;
}
.box__inner {
padding: var(--padding-inner);
flex:1;
display:flex;
flex-direction:column;
}
.box__info {
flex:1;
}
.box__info:not(:last-child) {
margin: 0 0 var(--padding-inner);
}
.box__title {
margin: 0 0 0.4em;
}
/* box en dos columnas */
.box--cols {
    flex-direction:row;
    text-align:left;
    background:transparent;
}
.box--cols .box__img {
    width: 30%;
    min-width:140px;
}
.box--cols .box__img img{
    object-fit:cover;
    height:100%;
}


/*******************************
CONTACT - banda de texto + button 
*******************************/
.contact {
    text-align:center;
}
.contact__title {
margin:0 0 0.4em;
}
.contact__link {
    flex-shrink: 0;
    margin-top: 1.25rem;
}
.contact__link .button {
    color:#fff;
}
/* Tablet - Estilos desde 769 a 1023 */
@media screen and (min-width: 769px) {
    .contact {
        display: flex;
        align-items: center;
        text-align: left;
		justify-content:space-between;
    }

    .contact__link {
        margin: 0 0 0 calc(var(--padding-h) * 2);
    }
}

/*******************************
GALERIA LIGHT
*******************************/
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border-color:var(--primary)!important;
}
.gallery-light {
    list-style: none;
    margin: calc((var(--flex-gap) * -1)/4);
}
.gallery-light:not(:last-child) {
    margin-bottom: 1.25rem;
}
.gallery-light li {
    padding: calc(var(--flex-gap)/4);
    
}
.gallery-light a {
    position: relative;
    display: block;
    overflow: hidden;
    color: inherit;
    
}
.gallery-light .num {
    position: absolute;
    transform: translate(-50%,-50%);
    font-size: 1.2rem;
    left: 50%;
    top: 50%;
    text-align: center;
    z-index: 2;
    text-shadow: 0px 1px 4px black;
    transition: font-size 300ms ease;
    color: #fff;
    font-weight: var(--bold1);
}
.gallery-light a:hover .num{
    font-size:0;
}
.gallery-light a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.2);
    width: 100%;
    height: 100%;
    transition: background 500ms ease;
    z-index: 2;
}

.gallery-light a:after {
    content: "\f002";
    font-family: var(--awesome);
    font-weight: 300;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 0;
    transition: font-size 500ms ease;
    z-index: 3;
}

.gallery-light a:hover:before {
    background: rgba(0,0,0,0.6);
}

.gallery-light a:hover:after {
    font-size: 2rem;
}
.gallery-light img {
    display: block;
    width: 100%;
    transform: scale(1);
    transition: transform 500ms ease;
}
.gallery-light a:hover img {
    transform: scale(1.1);
}

/*******************************
Video-gallery
*******************************/
.video-gallery {
    position: relative;
}

.video-gallery video {
    display: block;
    width: 100%;
    object-fit: cover;
    max-height: 480px;
}

.video-gallery .play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 50px;
    opacity: 0.86;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: font-size 300ms ease;
}

.video-gallery:hover .play {
    font-size: 60px;
}

/***************************
RESPONSIVE
**************************/
/* Estilos desde 600 a 768 */
@media screen and (min-width: 600px) {
}

/* Móvil y tablet vertical -  Estilos inferiores o igual a 768 */
@media screen and (max-width: 768px) {
  
}

/* Tablet - Estilos desde 769 a 1023 */
@media screen and (min-width: 769px) {


}

/* Estilos desde 1024 a 1200 */
@media screen and (min-width: 1024px) {
 

}

/* Estilos > 1200 */
@media screen and (min-width: 1200px) {


}
