/* =============== ESCUALES 4.0 =============== */

/* SLIDER */
/*
* Slider
*/
.custom-slider-background {
    display: flex;
    align-items: stretch;
    position: absolute;
    top: 0;
    left: 6.4vw;
    right: 6.4vw;
    bottom: 0;
    transform: translate3d(0, 103px, 0);
    opacity: 0;
    transition: ease box-shadow 300ms;
}

.custom-slider-background .custom-slider-background-image-stage-outer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.custom-slider-background .custom-slider-background-image-stage-outer .custom-slider-background-image-stage {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-slider-background .custom-slider-background-image-stage-outer .custom-slider-background-image-stage .custom-slider-background-image-item {
    width: 100%;
    height: 100%;
}

.custom-slider-background.show {
    opacity: 1;
}

.custom-slider-background.show .custom-slider-background-image-stage-outer .custom-slider-background-image-stage {
    transition: ease transform 1s;
}

@media (max-width: 575px) {
    .custom-slider-background .custom-slider-background-image-stage-outer {
        width: 100%;
    }
    .custom-slider-background .custom-slider-background-image-stage-outer:nth-child(2) {
        display: none;
    }
}

#slider .owl-nav {
    transition: ease opacity 1s;
}

#slider .owl-nav.hide {
    opacity: 0;
    visibility: hidden;
}

#slider .owl-nav.show {
    opacity: 1;
    visibility: visible;
}

.has-sticky-header-transform .custom-slider-background {
    transform: translate3d(0, 136px, 0);
}

.has-sticky-header-transform + #footer {
    margin-top: -33px !important;
}


/* Elements */
.custom-el-1 {
    opacity: 0.1;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    animation: arrowMove 3000ms linear;
    animation-iteration-count: infinite;
}

.custom-el-1 img {
    margin-bottom: -100px;
}

.custom-el-pos-1 {
    top: 55%;
    left: -60px;
}

.custom-el-2 {
    opacity: 0.1;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    animation: arrowMove 3000ms linear;
    animation-iteration-count: infinite;
}

.custom-el-2 img {
    margin-bottom: -47px;
}

.custom-el-pos-2 {
    top: 80%;
    right: -30px;
}

.custom-el-3 {
    width: 100%;
    height: 100%;
    max-width: 220px;
    max-height: 220px;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.custom-el-3 .custom-el-3-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-el-3 .custom-el-3-img img {
    transition: transform 2s;
    will-change: transform;
}

.custom-el-3-pos-1 {
    top: 30%;
    z-index: 1;
}

.custom-el-3-pos-2 {
    top: -30%;
}

.custom-el-4-pos {
    margin-top: -15px;
}

.custom-el-pos-5 {
    left: -60px;
    top: 35%;
}

/* Custom Marquee */
.custom-marquee-1 .js-marquee-wrapper,
.custom-marquee-1 .js-marquee,
.custom-marquee-1 .js-marquee > span {
    display: flex;
}

/* Custom Avatar */
.custom-avatar-1 {
    width: 70px;
    height: 70px;
    position: relative;
}

.custom-avatar-1-info {
    position: absolute;
    top: -30px;
    text-align: center;
    font-size: 12px;
    white-space: nowrap;
    letter-spacing: -0.5px;
    font-weight: 600;
    margin-left: -15px;
    opacity: 0.5;
}

.custom-avatar-1-info .animated-icon {
    transform: rotate(120deg);
    float: left;
    margin-right: 5px;
}

/* Custom Popover */
.custom-popover-1 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -1px;
}

/* Custom Btn */
.custom-btn-1 {
    width: 200px;
    height: 200px;
    line-height: 190px;
    border-radius: 100%;
    white-space: nowrap;
}

/* Custom Grid */
.custom-grid-1 {
    margin-top: -70px;
    position: relative;
}

.custom-grid-1 .container {
    margin: 0 auto;
}

.custom-grid-1 .container .row {
    margin: 0;
}

.custom-grid-1 .container .row > * {
    padding: 0;
    background-color: var(--light);
    min-height: 220px;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 991px) {
    .custom-grid-1 .container .row > * {
        border: 1px solid var(--grey-100);
    }
}

@media (min-width: 992px) {
    .custom-grid-1 .container .row > *:nth-child(1),
    .custom-grid-1 .container .row > *:nth-child(3),
    .custom-grid-1 .container .row > *:nth-child(6),
    .custom-grid-1 .container .row > *:nth-child(8),
    .custom-grid-1 .container .row > *:nth-child(9),
    .custom-grid-1 .container .row > *:nth-child(11),
    .custom-grid-1 .container .row > *:nth-child(14),
    .custom-grid-1 .container .row > *:nth-child(16),
    .custom-grid-1 .container .row > *:nth-child(17),
    .custom-grid-1 .container .row > *:nth-child(19),
    .custom-grid-1 .container .row > *:nth-child(22)
     {
        background-color: var(--grey-100);
    }
}

.custom-grid-1 .custom-grid-1-item {
    position: relative;
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img {
    transition: opacity 300ms;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img img {
    transition: transform 20s;
    will-change: transform;
    transform: scale(0.035);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-img:after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    opacity: 0.7;
    background-color: var(--dark);
}

.custom-grid-1 .custom-grid-1-item .custom-grid-1-text {
    position: relative;
    z-index: 1;
}

.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img {
    opacity: 1;
}

.custom-grid-1 .custom-grid-1-item:hover .custom-grid-1-img img {
    transform: scale(1);
}

.custom-grid-1 .custom-grid-1-item:hover h3 {
    color: var(--light) !important;
}

/* Custom Projects */
@media (max-width: 991px) {
    .custom-projects-1 .border-end {
        border: 0 !important;
    }
}

/* Custom Border Radius */
.custom-border-radius-1 {
    border-radius: 0 100px 0 100px;
}

.custom-border-radius-2 {
    border-radius: 100px 0 0 0;
}

.custom-border-radius-3 {
    border-radius: 100px 100px 100px 0;
}

.custom-border-radius-4 {
    border-radius: 200px 10px 10px 10px;
}

.custom-border-radius-5 {
    border-radius: 0 0 100px 0;
}

/* Custom Section */
.custom-section-1 {
    margin-top: -70px;
    padding-top: 70px;
}

/* Custom Carousel */
@media (min-width: 1200px) {
    .custom-carousel-1 > .owl-carousel {
        width: calc( 100vw - ( ( 100vw - 1400px ) / 2 ));
    }
}

/* Custom Content */
.custom-page-content {
    margin-top: -70px;
}

/* Custom Padding */
.custom-padding-top-1 {
    padding-top: 70px;
}

.custom-padding-bottom-1 {
    padding-bottom: 70px;
}
/* =============== ESCUALES 4.0 =============== */ 