.flag-icon{
    font-size :17px;
}

#airplanebox{
    transition: 1s;
}
.airplane:hover{
    filter:invert(100%);
    cursor:pointer;
}

.box-height-470{
    height:470px;overflow:hidden;
}
.box-height-223{
    height:223px;overflow:hidden;
}
.box-height-470 img , .box-height-223 img{
    width: 100%;
    height: 100%;
    transition: ease-in 0.6s;
}

.line-xs.line-sports { border-bottom-color: #dc3545 !important; }

.line-xs:after {
    top: 100%;
    right: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(51,51,51,0);
    border-top-color: #EEE;
    border-width: 8px;
    margin-left: -8px;
    z-index: 1;
    background: none;
}

/* section product */

.section-product {
    position: relative;
    width: 100%;
}

.section-product .section-product-image {
    width: 100%;
}

.section-product .section-product-content {
    max-width: 100%;
    position: relative;
    bottom: 0px;
    //left: 0;
    background-color: #FFF;
    padding: 20px;
    z-index: 1;
}

.section-product .section-product-content h3 { font-weight: 800; }

.section-product.alt .section-product-image,
.section-product.alt .section-product-content { float: none; }

.section-product .section-product-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.explore-text-overlay {
    opacity: 0;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: calc(100% - 30px);
    height: 100%;
    z-index: 1;
    background-color: rgba(0,0,0,0.6);
    margin-left: 15px;
    -webkit-transition: all .4s ease ;
    -o-transition: all .4s ease ;
    transition: all .4s ease ;
}
.text-overlay-wrap{
    transition: 0.6s;
}
.text-overlay-wrap:hover .explore-text-overlay { opacity: 1; }
.text-overlay-wrap:hover img { transform: scale(1.2) }
.text-overlay-wrap:hover { border-radius: 15px }

@media (min-width: 1199px) {


    .section-product .section-product-image {
        position: relative;
        width: 85%;
        background: #FFF;
    }

    .section-product .section-product-content {
        max-width: 400px;
        position: absolute;
        bottom: 80px;
        //left: 0;
        padding: 30px;
    }

    .section-product.alt .section-product-image { float: left; }

    .section-product.alt .section-product-content {
        right: 0;
        left: auto;
    }

}



/* book-wraps */
.book-image {
    display: block;
    position: relative;
}

.book-image img {
    width: 100%;
    max-width: 100%;
    display: block;
}

.book-image:after {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
    transition: opacity .3s ease;
    opacity: 0;
}

.book-card {
    position: relative;
    will-change: transform;
    transition: box-shadow .3s ease;
    box-shadow: 0 10px 40px transparent;
}

.book-card.hover-in {
    transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
    transition: transform .2s ease-out, -webkit-transform .2s ease-out;
}

.book-card.hover-out {
    transition: -webkit-transform .2s ease-in;
    transition: transform .2s ease-in;
    transition: transform .2s ease-in, -webkit-transform .2s ease-in;
}

.book-wrap:hover .book-card { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }

.book-wrap:hover .book-image:after { opacity: 1; }

.book-wrap:hover .book-title,
.book-wrap:hover .book-category,
    /* .book-wrap:hover .book-border, */
.book-wrap:hover .button {
    -webkit-transform: translateY(0) scale(1);
    -ms-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
    opacity: 1;
}

.book-wrap { -moz-transform-style: flat !important; }

.book-detail {
    position: absolute;
    left: 40px;
    right: 40px;
    top: 40px;
    bottom: 40px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    -webkit-transform: translateZ(40px);
    transform: translateZ(40px);
}

.book-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    transition: .4s ease;
    opacity: 0;
    -webkit-transform: translateY(40px) scale(0);
    -ms-transform: translateY(40px) scale(0);
    transform: translateY(40px) scale(0);
    will-change: transform;
}

.book-title { color: white; }

.book-category {
    opacity: 0;
    margin: 0 0 18px;
    font-family: 'IRANSansWeb';
    transition: .4s ease;
    transition-delay: .1s;
    -webkit-transform: translateY(40px) scale(0);
    -ms-transform: translateY(40px) scale(0);
    transform: translateY(40px) scale(0);
    will-change: transform;
    color: rgba(255, 255, 255, 0.8);
}

.book-category a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3em;
}

.book-wrap .button {
    opacity: 0;
    margin: 0 auto;
    transition: .4s ease !important;
    transition-delay: .15s !important;
    -webkit-transform: translateY(40px) scale(0);
    -ms-transform: translateY(40px) scale(0);
    transform: translateY(40px) scale(0);
    will-change: transform;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio.portfolio-3 { margin: 0 -40px -40px -20px; }

.portfolio-3 .portfolio-item { padding: 0 40px 40px 20px; }

/* card hover plane */
.entry-image .stickyfee {
    background-color: #24bdda;
    border-radius: 0 23px 0 0;
    display: inline-block;
    padding: 5px 10px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    color: #fafafa;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    width: 18%;
    height: 34px;
}

.entry-image .stickytitle {
    background-color: #ff5722;
    border-radius: 23px 0 0 0;
    display: inline-block;
    padding: 5px 10px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    color: #fafafa;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    width: 25%;
    height: 34px;
}

.entry-image .stickyicon {
    position: absolute;
    bottom: -40px;
    left: 42%;
    z-index: 9999;
    font-size: 37px;
    color: #fafafa;
    text-shadow: 0 0 5px #222835;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.stickyicon i{
    transform: rotate(-45deg);
    margin-left: 10px;
    color: white;
    transition: linear 0.3s;
}

.stickyicon i:hover{
    transform: rotate(-45deg) scale(1.2);
    filter: blur(0.5px);
}


.entry-image:hover .stickyfee {
    width: 50%;
    border-radius: 0;
    height: 100%;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    transition: all 0.7s ease;
    opacity: 0.5;
}

.entry-image:hover .stickytitle {
    width: 50%;
    border-radius: 0;
    height: 100%;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    transition: all 0.7s ease;
    opacity: 0.5;
}

.entry-image:hover .stickyicon {
    bottom: 30%;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    transition: all 0.7s ease;
    transition-delay: 0.2s;
}


.entry-image:hover img {
    filter: blur(2px) brightness(80%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}




/* singer flag wrap*/
.singer-wrap {
    display: block;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    height: 300px;
    top: -10px;
    //transform: scale(1.11);
    transition: ease-out 0.9s;
    opacity: 0;
}

.singer-wrap .singer-bb-image {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #777;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    -webkit-transition: transform .4s ease;
    -o-transition: transform .4s ease;
    transition: transform .4s ease;
}

.singer-wrap .singer-bb-image.big {
    left: 50%;
    top: 50%;
    width: 300px;
    height: 300px;
    margin-top: -150px;
    margin-left: -150px;
}

.singer-wrap .singer-bb-image:not(.big):hover {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
    transform: scale(1.3);
}

.singer-wrap .singer-bb-image.big:hover {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
    transform: scale(1.02);
}

.singer-wrap .singer-bb-image span {
    opacity: 0;
    display: block;
    text-align: center;
    color: #FFF;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 12px;
    line-height: 15px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity .4s ease;
    -o-transition: opacity .4s ease;
    transition: opacity .4s ease;
}

.singer-wrap .singer-bb-image.big span {
    font-size: 34px;
    line-height: 1.4;
}

.singer-wrap .singer-bb-image:before {
    opacity: 0;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-transition: background-color .4s ease, opacity .4s ease;
    -o-transition: background-color .4s ease, opacity .4s ease;
    transition: background-color .4s ease, opacity .4s ease;
}

.singer-wrap .singer-bb-image:hover span,
.singer-wrap .singer-bb-image:hover:before { opacity: 1; }




/* box border moving */
.box > span {
    position: absolute;
    display: block;
    //background: #d5b756;
    background: #27a1e7;
    transition: all .2s linear;
    z-index: 1;
}
.box .bordertop, .box .borderbottom {
    width: 100%;
    height: 2px;
    transform: scaleX(0);
}
.box .borderleft, .box .borderright {
    width: 2px;
    height: 100%;
    transform: scaleY(0);
}
.box .bordertop {
    top: 0;
    left: 0;
    transition-delay: 0.375s;
    transform-origin: top left;
}
.box .borderright {
    top: 0;
    right: 0;
    transition-delay: .25s;
    transform-origin: top left;
}
.box .borderbottom {
    bottom: 0;
    right: 0;
    transition-delay: 0.125s;
    transform-origin: top right;
}
.box .borderleft {
    top: 0;
    left: 0;
    transform-origin: bottom left;
}
.box:hover .bordertop {
    transition-delay: 0s;
}
.box:hover .borderright {
    transition-delay: 0.125s;
}
.box:hover .borderbottom {
    transition-delay: 0.25s;
}
.box:hover .borderleft {
    transition-delay: 0.375s;
}
.box:hover .bordertop, .box:hover .borderbottom {
    transform: scaleX(1);
}
.box:hover .borderleft, .box:hover .borderright {
    transform: scaleY(1);
}


/* menu */
@media (min-width: 992px) {
    #header,
    #header-wrap {
        z-index: 200;
        background-color: transparent;
        background-repeat: repeat-x;
        background-position: center bottom;
        background-size: auto 100%;
        -webkit-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
    }

    #primary-menu ul li > a {
        padding-top: 32px;
        padding-bottom: 0px;
    }

    #header.sticky-header #header-wrap {
        background-color: transparent;
        box-shadow: none;
    }

    .slider-caption h2 { font-size: 76px; }

}


/* Snowfall Effect
-----------------------------------------------------------------*/

.snowfall {
    background-image:	url('/home/images/s1.png'),
    url('/home/images/s2.png'),
    url('/home/images/s3.png');
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-animation: snow 10s linear infinite;
    -moz-animation: snow 10s linear infinite;
    -ms-animation: snow 10s linear infinite;
    animation: snow 10s linear infinite;
}

@keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
    100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}

@-moz-keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
    100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
}

@-webkit-keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
    100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}

@-ms-keyframes snow {
    0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
    50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
    100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}


/* language item */
.language-item{
    position: fixed !important;
    left : 0;
}

#primary-menu ul li.mega-menu {
    position: relative;
}

#primary-menu ul li.mega-menu .mega-menu-content{
    position: fixed;
    top: 54px;
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    min-height: 10em;
    width: 85%;
}

@media (max-width:990px)  {
    .language-item{
        position: relative !important;
    }
}