/*
Theme Name: Mills-Tui
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Fade In Video Steez */

section.hart-design-s3, section.sticky-origin {
    padding: 0;
    position: relative;
}
.hart-design-page .sticky {
    position: -webkit-sticky;
    position: sticky!important;
}
.sticky {
    top: 0!important;
}
section.sticky-origin .section-borders {
    height: 100vh;
    width: 100%;
    z-index: 1;
}
section.sticky-origin .section-bg {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

section.hart-design-s3 .fixed-reverse .video-wrapper{
    left: 90px;
    right: 90px;
    top: 90px;
    bottom: 90px;
}
section.hart-design-s3 .fixed-reverse .video-wrapper{
    transform: all .5s ease;
    top: 17vh!important;
    left: 17vw!important;
    right: 17vw!important;
    bottom: 17vh!important;
}
section.hart-design-s3 .fixed .video-wrapper {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

section.hart-design-s3 .video-wrapper {
    position: absolute;
    overflow: hidden;
    transition: all .5s ease;
}
section.hart-design-s3 .video-wrapper video{
    position: absolute;
    object-fit: cover;
    -o-object-fit: cover;
    width: 100vw;
    height: 100vh;
    top: 50%;
     left: 50%; 
    transform: translate(-50%,-50%);
}
.hart-design-page .bg-style {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
section.hart-design-s3 .fixed-reverse .bg-mask{
    animation: fade-reverse .3s ease 0s 1 normal forwards;
}
section.hart-design-s3 .fixed .bg-mask {
    animation: fade .5s ease .2s 1 normal forwards;
}
section.hart-design-s3 .bg-mask{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    position: absolute;
    z-index: 9;
}
section.hart-design-s3 .video-wrapper .video{
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}
section.hart-design-s3 .fixed-reverse .border-bottom,
section.hart-design-s3 .fixed-reverse .border-top {
    transform: scaleY(1);
}
section.hart-design-s3 .border-top{
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    transform-origin: 50% 0;
}
section.hart-design-s3 .border-bottom{
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    transform-origin: 50% 100%;
}
section.hart-design-s3 .border-left{
    transform-origin: 0 50%;
    left: 0;
    width: 90px;
    top: 0;
    bottom: 0;
}
section.hart-design-s3 .border-right{
    transform-origin: 100% 50%;
    right: 0;
    width: 90px;
    top: 0;
    bottom: 0;
}
section.hart-design-s3 .border-bottom,
section.hart-design-s3 .border-left,
section.hart-design-s3 .border-right,
section.hart-design-s3 .border-top{
    transition: transform .5s ease;
}
section.hart-design-s3 .section-border {
    position: absolute;
}
section.hart-design-s3 .border-bottom,
section.hart-design-s3 .border-top {
    height: 17vh!important;
}
section.hart-design-s3 .border-left,
section.hart-design-s3 .border-right {
    width: 17vw!important;
}
section.sticky-origin .sticky-section .scroll-content {
    display: none;
}
section.sticky-origin .scroll-content .content,
section.sticky-origin .scroll-content .scroll-content-placeholder {
    height: 100vh;
}
section.sticky-origin .scroll-content .screen-first,
section.sticky-origin .scroll-content .screen-second {
    width: 635px; margin-bottom: 25%;
}
section.sticky-origin .scroll-content {
    position: relative;
    z-index: 99;
    width: 960px;
    margin: 0 auto;
    opacity: 0;
    top: -60vh;
    font-family: "Poppins", Arial,Helvetica,sans-serif;
}
section.sticky-origin .scroll-content .content,
section.sticky-origin .scroll-content .scroll-content-placeholder {
    height: 100vh;
}

.fade-in {
    animation: fade .8s ease-in 0s 1 normal forwards;
}
.fade-out {
    opacity: 1;
    animation: fade-reverse .8s ease-out 0s 1 normal forwards;
}
.fade-up {
    opacity: 0;
    animation: fade 1s ease-in 0s 1 normal forwards, up-short-extra 1s ease 0s 1 normal forwards
}

.fade-up-800 {
    animation: fade .8s ease-in 0s 1 normal forwards, up-short-extra-show .8s ease 0s 1 normal forwards
}

.fade-up-1200 {
    animation: fade 1.2s ease-in 0s 1 normal forwards, up-short-extra-show 1.2s ease 0s 1 normal forwards
}

.fade-up-1400 {
    animation: fade 1.4s ease-in 0s 1 normal forwards, up-short-extra-show 1.4s ease 0s 1 normal forwards
}

.fade-up-1600 {
    animation: fade 1.6s ease-in 0s 1 normal forwards, up-short-extra-show 1.6s ease 0s 1 normal forwards
}

.fade-up-1800 {
    animation: fade 1.8s ease-in 0s 1 normal forwards, up-short-extra-show 1.8s ease 0s 1 normal forwards
}

.fade-up-2000 {
    animation: fade 2s ease-in 0s 1 normal forwards, up-short-extra-show 2s ease 0s 1 normal forwards
}

.fade-up-2200 {
    animation: fade 2.2s ease-in 0s 1 normal forwards, up-short-extra-show 2.2s ease 0s 1 normal forwards
}

.enter-fade, .fade-in {
    opacity: 0;
}
.hart-design-page h2.title {
    font-size: 56px !important;
    font-weight: 800;
    line-height: 60px;
    margin: 0;
    font-family: "Poppins", Arial,Helvetica,sans-serif;
}
.hart-design-page h4.title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    margin: 0;
    font-family: "Poppins", Arial,Helvetica,sans-serif;
}
.hart-design-page .text-left {
    text-align: left;
}
.hart-design-page .white {
    color: #fff;
}
section.sticky-origin .scroll-content .screen-second .screen-desc {
    margin-top: 8px;
    display: flex;
}
section.hart-design-s3 .scroll-content .screen-desc {
    margin-top: 8px;
    display: flex;
    width: 635px;
}
.hart-design-page .desc {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    font-family: "Poppins", Arial,Helvetica,sans-serif;
}
section.sticky-origin .scroll-content .screen-second {
    margin-top: 30vh;
    top: 30vh!important;
}
section.sticky-origin .scroll-content .screen-second .second-screen-title {
    margin-top: 24px;
    margin-bottom: 40px;
}

section.hart-design-s3 .scroll-content .second-screen-title{
    margin-top: 24px;
    margin-bottom: 40px;
    width: 635px;
}
.hart-design-page .learn-more {
    display: flex;
    transition: all .5s ease;
}
.hart-design-page .watch-video {
    padding: 12px 16px;
    border-radius: 88rem;
    transition: all .3s ease;
    display: inline-block;
    color: #000;
    font-size: 14px;
}
.hart-design-page .video-button {
    line-height: 24px;
    text-align: center;
    padding-right: 28px;
    background-position: 98% center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    font-family: "Poppins", Arial,Helvetica,sans-serif;
}
.arya-page .watch-video {
    padding: 12px 16px;
    border-radius: 88rem;
    transition: all .3s ease;
    display: inline-block;
    color: #000;
}
.fancybox-is-open .fancybox-bg{opacity: 1 !important}
[data-aos^=fade][data-aos^=fade],
[data-aos^=zoom][data-aos^=zoom] {
    opacity: 0;
    transition-property: opacity, transform
}

[data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: translateZ(0)
}

[data-aos=fade-up] {
    transform: translate3d(0, 100px, 0)
}

[data-aos=fade-down] {
    transform: translate3d(0, -100px, 0)
}

[data-aos=fade-right] {
    transform: translate3d(-100px, 0, 0)
}

[data-aos=fade-left] {
    transform: translate3d(100px, 0, 0)
}

[data-aos=fade-up-right] {
    transform: translate3d(-100px, 100px, 0)
}

[data-aos=fade-up-left] {
    transform: translate3d(100px, 100px, 0)
}

[data-aos=fade-down-right] {
    transform: translate3d(-100px, -100px, 0)
}

[data-aos=fade-down-left] {
    transform: translate3d(100px, -100px, 0)
}

@keyframes fade {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fade-reverse {
    0% {
        opacity: 1
    }
    to {
        opacity: 0
    }
}
@keyframes fade-translateY {
    0% {
        transform: translateY(-60px)
    }
    to {
        transform: translateY(0)
    }
}

@keyframes fade-translateY-reverse {
    0% {
        transform: translateY(0)
    }
    to {
        transform: translateY(-60px)
    }
}

@keyframes up-short-extra {
    0% {
        transform: translateY(100px)
    }
    to {
        transform: translateY(0)
    }
}

@keyframes up-short-extra-show {
    0% {
        transform: translateY(10vw)
    }
    to {
        transform: translateY(0)
    }
}

@keyframes border-radius-reverse-s3 {
    0% {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
    to {
        top: 17vh;
        left: 17vw;
        right: 17vw;
        bottom: 17vh
    }
}
.fancybox-container .fancybox-toolbar{opacity:1;transition:opacity .25s ease 0s,visibility 0s ease 0s;visibility:visible}
.fancybox-container{z-index: 9999999 !important}


/*Responsive CSS*/
@media only screen and (max-width: 991px){
    section.sticky-origin .scroll-content{
        width: 100%;
    }
    section.sticky-origin .scroll-content .screen-first, 
    section.sticky-origin .scroll-content .screen-second{
        width: 100%;
        padding: 20px;
    }
}

@media only screen and (max-width:640px){
    .fusion-builder-row-5{
        height: 666px;
    }
    section.hart-design-s3, section.sticky-origin{
        height: 100vh;
    }
    section.sticky-origin .scroll-content{
        top: -96vh;
    }
    section.sticky-origin .scroll-content .screen-second{
        margin-top: 10vh;
    }
    .hart-design-page h2.title{
        font-size: 35px !important;
        line-height: normal !important;
    }
    section#s3_set_pin_section.sticky-origin .scroll-content h3{
        font-size: 20px !important;
    }
}
@media only screen and (max-width:575px){
    
   .hart-design-page h2.title{
        font-size: 30px !important;
        line-height: normal !important;
   }
}
@media only screen and (max-width:400px){
    .fusion-builder-row-5{
        height: 575px;
    }
   .hart-design-page h2.title{
        font-size: 25px !important;
        line-height: normal !important;
   }
   section#s3_set_pin_section.sticky-origin .scroll-content h3{
        font-size: 15px !important;
   }
}
/*iphone X*/
@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3) {
        .fusion-builder-row-5 {
            height: 765px;
        }
}
@media only screen 
    and (device-width : 375px) 
    and (device-height : 667px) 
    and (-webkit-device-pixel-ratio : 2) { 
        .fusion-builder-row-5 {
            height: 690px;
        }
}
/*iPhone 8 Plus*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 736px) 
    and (-webkit-device-pixel-ratio : 3) { 
    .fusion-builder-row-5 {
        height: 625px;
    }
}

.setzIndex, .fusion-footer .fusion-footer-widget-area, .vid-steez ~ div { z-index: 11; }
.section-bg.fix-section.fixed .video-wrapper {
    position: fixed;
}