@font-face {
    font-family: 'iransans';
    src: url('./fonts/IRANSans-web.eot'); /* IE9 Compat Modes */
    src: url('./fonts/IRANSans-web.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('./fonts/IRANSans-web.woff2') format('woff2'), /* Super Modern Browsers */
            url('./fonts/IRANSans-web.woff') format('woff'), /* Pretty Modern Browsers */
            url('./fonts/IRANSans-web.ttf')  format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
}
@font-face {
    font-family: 'iransans';
    src: url('./fonts/IRANSans-Medium-web.eot'); /* IE9 Compat Modes */
    src: url('./fonts/IRANSans-Medium-web.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('./fonts/IRANSans-Medium-web.woff2') format('woff2'), /* Super Modern Browsers */
            url('./fonts/IRANSans-Medium-web.woff') format('woff'), /* Pretty Modern Browsers */
            url('./fonts/IRANSans-Medium-web.ttf')  format('truetype'); /* Safari, Android, iOS */
    font-weight: bold;
}

body{
    min-height: 100%;
    position: relative;
}

.header{
    border-top: 2px solid #ea222c;
}

.footer{
    background: #0f2a6f;
    padding: 20px;
    z-index: 10;
    position: relative;
}

.scroll-down{
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -20px;
    transition: all .5s ease;
    transform: scale(1);
    z-index: 2;
}
.scroll-down:hover{
    transform: scale(1.2);
}
.scroll-down button{
    background: #fff;
    border-radius: 100%;
    height: 40px;
    width: 40px;
    display: block;
    border: 0 none;
    line-height: 45px;
    font-size: 18px;
    color: #153694;
    cursor: pointer;
    outline: none;
}
.scroll-down button i{
    animation-delay: 2.44s;
}

.scroll-down:hover button i{
    animation: none;
}

.nav-item{
    margin-right: 10px;
    background: #f8f8f8;
    border-radius: 20px;
    padding: 0 10px;
}

.home-section{}

.home-section .inner{
    text-align: center;
    background: rgb(21,55,152); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(21,55,152,1) 0%, rgba(15,42,111,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(21,55,152,1) 0%,rgba(15,42,111,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(21,55,152,1) 0%,rgba(15,42,111,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#153798', endColorstr='#0f2a6f',GradientType=0 ); /* IE6-9 */
}
.home-section .inner .home-img{
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.home-section .inner .home-img > img{
    width: 100%
}
.home-section .inner .home-img:after {
    content: '';
    position: absolute;
    top: 98%;
    left: 0;
    right: 0;
    height: 1000px;
    BACKGROUND: #FFF;
}

#Enzyme2{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    widows: 100%;
    z-index: 0;
}

/* pannel */
.panel1,
.panel2,
.panel3,
.panel4,
.panel5,
.panel6{position: relative; height: 100vh;}

.panel1:before,
.panel2:before,
.panel3:before,
.panel4:before,
.panel5:before,
.panel6:before,
.more:before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    margin-left: -1px;
    height: 100%;
    transition: all 0.3s 0s ease;
    filter: grayscale(100%);
    opacity: 1;
    background: rgb(141,141,141); 
    background: -moz-linear-gradient(top, rgba(141,141,141,1) 0%, rgba(196,196,196,1) 100%); 
    background: -webkit-linear-gradient(top, rgba(141,141,141,1) 0%,rgba(196,196,196,1) 100%);
    background: linear-gradient(to bottom, rgba(141,141,141,1) 0%,rgba(196,196,196,1) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8d8d8d', endColorstr='#c4c4c4',GradientType=0 ); 
}

.panel1:before,
.panel3:before,
.panel5:before{
    background: rgb(196,196,196); 
    background: -moz-linear-gradient(top, rgba(196,196,196,1) 1%, rgba(141,141,141,1) 100%); 
    background: -webkit-linear-gradient(top, rgba(196,196,196,1) 1%,rgba(141,141,141,1) 100%); 
    background: linear-gradient(to bottom, rgba(196,196,196,1) 1%,rgba(141,141,141,1) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c4c4c4', endColorstr='#8d8d8d',GradientType=0 ); 
}

.panel1:before,
.more:before{
    height: 0%;
    opacity: 0.1;
}

.comparison-mode .panel1:before{
    height: 100%;
    opacity: 1;
    transition: all 1s .3s cubic-bezier(0.69, 0.02, 0.02, 1.02);
}

/* comparison */
.comparison{
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.comparison-mode .comparison{
    pointer-events: auto;
}

.comparison, .comparison .row{
    height: 100%;
}

.comparison .is-polywash{
    height: 100%;
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.comparison .is-polywash .desc,
.comparison .not-polywash .desc{
    position: absolute;
    bottom: 10px;
    max-width: 100%;
    height: 155px;
    transition: transform 0.5s cubic-bezier(0.65, 0.1, 0.34, 1.21)
}

.comparison .is-polywash .desc{right: 30px; transform: translateX(-50vw) skew(30deg)}
.comparison .not-polywash .desc{left: 30px; transform: translateX(+50vw)  skew(-30deg)}

.comparison-mode .comparison .is-polywash .desc,
.comparison-mode .comparison .not-polywash .desc{
    transform: translateX(0) skew(0);
    transition: transform 1s 2s cubic-bezier(0.65, 0.1, 0.34, 1.21)
}

.comparison .is-polywash .desc img,
.comparison .not-polywash .desc img{
    max-width: 100%;
    max-height: 100%;
}

.comparison .not-polywash{
    height: 100%;
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.comparison-mode .comparison .is-polywash,
.comparison-mode .comparison .not-polywash{
    opacity: 1;
}


.cloth{
    position: relative;
    z-index: 5;
    margin: 0 auto;
    display: block;
    width: 45%;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    transition: all 0.3s 0s cubic-bezier(0.62, -0.05, 0.12, 1.1);
    opacity: 0;
    text-align: center
}
.cloth > img{
    max-width: 100%
}
.comparison-mode .cloth{
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(0deg);
    transition: none;
}
.start-washing-machine-mode.comparison-mode .cloth{
    animation: start-washinhg-machine 3s cubic-bezier(0.62, -0.05, 0.12, 1.1) forwards;
}
.comparison-mode .cloth:before{
    content: '';
    position: absolute;
    transform: scale(1);
    opacity: 1;
    animation: showstain 2s cubic-bezier(0.62, -0.05, 0.12, 1.1);
    background-image: url(../img/stain.png);
    background-size: cover;
    width: 22%;
    left: 21%;
    transition: all 1s ease;
    top: 19%;
    padding-top: 25%;
    z-index: 2;
}

.comparison-mode .cloth:after{
    content: '';
    background-image: url(../img/detached-stain.png);
    background-size: 1% 1%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 20%;
    height: 20%;
    opacity: 0;
    transition: all 1.4s ease;
    position: absolute;
    left: 21%;
    top: 14%;
    animation: float_3043 4s linear infinite;
    transform-origin: 50% 50%;
}

.comparison-mode.polymer-mode .cloth:after{
    animation: float_3044 4s linear infinite;
}

.comparison-mode.polymer-mode .is-polywash .cloth:after{
    animation: float_3045 4s linear infinite;
}

.stain-detach .cloth:after{
    opacity: 1;
    background-size: 100% 100%;
}

.polymer-mode .is-polywash .cloth:after{
    /* left: 0;
    top: 0; */
}

.stain-detach .cloth:before{
    opacity: 0;
    transform: scale(0.6);
    transition: all 1.5s cubic-bezier(0.57, -0.09, 0.05, 1.13);
    left: 50%;
    top: 0;
    width: 100%;
    z-index: -1;
    height: 100%;
    background: url(../img/shine.png) 50% 50% no-repeat;
    background-size: 100% auto;
    animation: spin_6545 15s linear infinite;
    margin-left: -50%;
    display: none;
}

.navbar-light .navbar-nav .nav-link{
    font-size: 15px;
}

.cloth.very-clean:before{
    content: '';
    background: url(../img/shine.png) 50% 50% no-repeat;
    background-size: 100% auto;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
    height: 100%;
    transform: scale(1.65);
    opacity: 1;
    transition: all 1.5s  cubic-bezier(0.57, -0.09, 0.05, 1.13);
    animation: spin_6545 15s linear infinite;
    transform-origin: 50% 50%;
}

.cloth.very-clean:after{
    /* background-size: 65% 15%;
    background-position: 50% 50%;
    left: -20%;
    top: -20%; */
    background-size: 100% 100%;
}

.cloth.clean:before{
    content: '';
    background: url(../img/stain-remain.png) 50% 50% no-repeat;
    background-size: 100% auto;
    position: absolute;
    left: 50%;
    top: 13%;
    width: 28%;
    z-index: 1;
    height: 35%;
    opacity: 0.6;
    margin-left: -31%;
    animation: stainRemain 1 2s forwards linear;
}

/* Washing machine effect */
.washing-machine-effect{
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 27vw;
    height: 27vw;
    z-index: 5;
    margin-left: -14vw;
    margin-top: -14vw;
    transition: opacity 0.3s ease;
}

.washing-machine-effect > img{
    transform: scale(0.2);
    width: 100%;
    transition: transform 1.5s cubic-bezier(0.59, 0.04, 0.2, 1.32);
}

.washing-machine-mode .washing-machine-effect{
    opacity: 1;
}
.washing-machine-mode .washing-machine-effect > img{
    transform: scale(1);
}

.enzyme-effect{
    opacity: 0;
    position: absolute;
    left: 52%;
    top: 0;
    width: 48%;
    z-index: 12;
    transition: opacity 1.5s ease;
    user-drag: none;
    -webkit-user-drag: none;
    bottom: 0;
    -moz-user-drag: none;
    pointer-events: none;
    margin-left: -25%;
    text-align: center;
}
.enzyme-effect.animated{
    animation: float_3045 4s linear infinite;
}

.enzyme-effect > img{
    max-width: 100%;
    transform: translateY(-50%);
    position: relative;
    top: 50%;
}

.enzyme-mode .enzyme-effect{
    opacity: 1;
    transition: opacity 1s 1s ease;
    /* animation: float_3043 1s infinite; */
}

#c, #c2 { 
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
}

/* pagination  */
.section-pagination li:nth-child(1),
.section-pagination li:nth-child(8){
    display: none
}

#Bubbles, #Enzyme1, #Enzyme2{
    position: relative;
}

#Polymer{
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 1s ease;
    width: 100%;
    height: 100%;
}

.polymer-mode #Polymer{
    opacity: 1;
    pointer-events: auto;
    /* clip-path: circle(55% at center); */
}

.info{
    position: absolute;
    left: 0;
    right: 0;
    top: 35px;
    z-index: 50;
}

.info .inner{
    background: #022070;
    max-width: 460px;
    border-radius: 5px;
    height: 60px;
    margin: 0 auto;
    transition: all 0.5s ease;
}


.polymer-mode .is-polywash .info .inner{
    background: #ee1e2c;
}

.info .number{
    position: absolute;
    left: 12px;
    top: 9px;
    font-size: 24px;
    border-radius: 50%;
    border: 2px dashed #fff;
    width: 42px;
    height: 42px; 
    text-align: center; 
    line-height: 43px;
}

.info .text{
    position: absolute;
    left: 75px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 20px;
    right: 10px;
    font-size: 14px;
}

.is-polywash .info .number{
    left: auto;
    right: 12px;
}

.is-polywash .info .text{    
    left: 10px;    
    right: 75px;
    text-align: right;
}

.more{
    position: relative;
    z-index: 30;
    min-height: 100vh;
}

.follow-polywash{
    padding-top: 90px;
    z-index: 30;
    margin-bottom: 90px;
}
.follow-polywash .title{
    text-align: center;
    font-size: 24px;
    padding-bottom: 25px;
    color: #142d87;
    font-weight: bold;
    direction: rtl;
    text-align: right;
    position: relative;
}

.follow-polywash .title:before{
    content: '';
    right: -8px;
    top: -11px;
    background: #e9f8fe;
    position: absolute;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    z-index: -1;
}

.follow-polywash .title img{
    display:inline;
    vertical-align: middle;
}

.more .footer{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.follow-polywash .owl-item .item{

}

.follow-polywash .owl-item .item .image-container{
    /* display: none */
}

.follow-polywash .owl-item .desc{
    color: #333;
    text-align: justify;
    padding: 10px 10px 16px;
    direction: rtl;
}

.follow-polywash .owl-item .desc strong{
    color: #333;
    font-size: 14px;
    line-height: 22px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 10px;
}

.follow-polywash .owl-item .desc p{
    color: #333;
    font-size: 12px;
    line-height: 22px;
    display: inline-block;
    margin-bottom: 5px;
}

.owl-carousel{
    color: #000
}

.owl-nav{

}

.owl-prev{    position: absolute;
    left: -30px;
    top: 50%;
    font-size: 30px;
    color: #aaa;}
.owl-next{    position: absolute;
    right: -30px;
    top: 50%;
    font-size: 30px;
    color: #aaa;}

.navbar-brand{
    width: 90px;
    padding: 0;
    margin: 0 0px -5px 0;
}
.navbar-brand img{
    max-width: 100%
}

.header-follow-us{
    width: 200px;
}
.header-follow-us .key{
    display: inline-block;
    font-size: 14px;
}
.header-follow-us .value{
    display: inline-block;
}
.header-follow-us .value > a{
    display: inline-block;
    width: 30px;
    vertical-align: middle;
}
.header-follow-us .value > a > img{
    max-width: 100%
}

.header.fixed-top{
    top: -60px;
    transition: top 0.9s ease-in-out;
}

.show-menu .header.fixed-top{
    top: 0;
}

.more-link{
    float: left;
    background-color: #0f2a70;
    font-size: 12px;
    padding: 4px 10px 4px 3px;
    text-decoration: none !important;
    border-radius: 30px;
    transition: background-color 0.4s ease;
}
.more-link:hover{
    background-color: #17388b;
}
.more-link i{
    float: left;
    margin-right: 10px;
    background: #143895;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
}
.more-link .text{
    vertical-align: text-bottom;
    padding-right: 5px;
}
.owl-carousel .owl-item{
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.owl-carousel .owl-item .item .item-inner{
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
    display: block;
    background: #fff;
    z-index: 7;
}

.owl-carousel .owl-item:hover .item .item-inner{
    transform: translateY(-60px);
}

.carousel-wrapper{
    padding: 0 30px;
}

.item-more-bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f2a70;
    text-align: right;
    color: #fff;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
}
.item-more-bottom .text{

}
.item-more-bottom i{    
    float: left;
    margin: 14px 0;
}

/* Animations */
@keyframes vertical_1169 {
    0% { transform:translate(0,-3px) }
    3.27869% { transform:translate(0,3px) }
    6.55738% { transform:translate(0,-3px) }
    9.83606% { transform:translate(0,3px) }
    13.11475% { transform:translate(0,-3px) }
    16.39344% { transform:translate(0,3px) }
    18.03279% { transform:translate(0,0) }
    100% { transform:translate(0,0) }
}
  
.vertical-animation {
    animation: vertical_1169 2.44s ease infinite;
    transform-origin: 50% 50%;
}

@keyframes showstain {
    0%   { transform:scale(0.2); opacity: 0; }
    60%   { transform:scale(0.2); opacity: 0; }
    70%  { transform:scale(0.2); opacity: 1; }
    90%  { transform:scale(1.2); opacity: 1; }
    100% { transform:scale(1.0); opacity: 1; }
}

.spin {
    animation: spin_6544 1.5s linear infinite;
    transform-origin: 50% 50%;
  }
  
  @keyframes spin_6544 {
    0% { transform:rotate(0deg) }
    100% { transform:rotate(-359deg) }
  }

  @keyframes spin_6545 {
    0% { transform:rotate(0deg) scale(1.65) }
    100% { transform:rotate(-359deg) scale(1.65) }
  }

  @keyframes start-washinhg-machine {
    0% { transform: translateY(-50%) scale(1) rotate(0deg)}
    100% { transform: translateY(-50%) scale(1) rotate(360deg)}
  }


  @keyframes float_3043 {
    0% { transform: translateY(0) }
    50% { transform: translateY(-12px) }
    100% { transform: translateY(0) }
  }

  @keyframes float_3044 {
    0% { transform: scale(1) rotate(0); opacity: 0; }
    10% {  transform: scale(1) rotate(10deg); opacity: 1; }
    90% {  transform: scale(0.2) rotate(90deg);  opacity: 1; }
    100% { transform: scale(0.0) rotate(100deg); opacity: 0; }
  }

  @keyframes float_3045 {
    0% { transform: scale(1); }
    50% {  transform: scale(0.8);  }
    100% { transform: scale(1); }
  }


  @keyframes stainRemain {
    0% { transform: scale(0); opacity: 0 }
    40% { transform: scale(0); opacity: 0 }
    50% { transform: scale(0.5); opacity: 1 }
    100% {  transform: scale(1); opacity: 1 }
  }

  @media (max-height: 600px) {
    .follow-polywash .owl-item .desc p,
    .follow-polywash .owl-item .desc hr{display: none}
    .follow-polywash .title{padding-bottom: 5px;}
    
  }

  .rotate-notification {
    display: none;
    background: #b52a2c;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1111111;
}

.rotate-notification > .inner {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 15px;
    text-align: center;
    color: #fff;
    height: auto;
}

.rotate-notification .inner .text {
    margin-top: 30px;
}

  @media(max-width: 769px){
    .polywash-3d,
    .header .container .float-left{display: none}
    .features .h5{font-size: 12px;}
    .more .footer {font-size: 11px;}
    .more .footer .nav-link{padding: 0.5rem 5px;}
    .comparison .is-polywash .desc, .comparison .not-polywash .desc {max-width: 85%; max-height: 54px;}
    .comparison .is-polywash .desc {right: 15px;}
    .comparison .not-polywash .desc{left: 15px;}
    .scroll-down{bottom: 85px;}
    #c, #c2 {top: 0;left: 0;}
    .header.fixed-top {top: -67px;}
    #Bubbles, #Enzyme1{height: 100%;}
    #Comparison .info{display: none}
  }

  @media(max-width: 769px) and (orientation:landscape){
    .scroll-down {display: none !important}
    .features .alert{padding: 0; background: transparent; border: 0 none;}
    .footer .col-md-6{-ms-flex: 0 0 50%;flex: 0 0 50%;max-width: 50%;}
    .follow-polywash .owl-item .desc{display: none}
    .carousel-wrapper {padding: 0 120px;}
  }

  @media(max-width: 769px) and (orientation:portrait){
    .rotate-notification {
        display: block;
    }
  }