@font-face {
    font-family: 'Vazirmatn';
    font-weight: normal;
    font-style: normal;
    src: url('/Design/Website/Font/Vazirmatn.woff2')
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: 0
}

::-webkit-scrollbar {
    width: .5vw;
    background-color: #e60;
    direction: rtl
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 .5vw rgba(0,0,0,0.1);
    background-color: #ffe6d6;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 .5vw rgba(0,0,0,0.3);
    background-color: #e60
}

a {
    color: #f60
}

    a:hover {
        color: #ff5268
    }

body {
    padding-top: 50px;
    font-family: 'Vazirmatn',Tahome,Arial;
    font-size: 100%;
    line-height: 175%;
    overflow-x: no-content;
    direction: rtl;
    text-align: justify
}

    body > header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        transition: 1s
    }

#Page {
    overflow: hidden;
    color: #333;
    margin: auto;
    padding: 2em 2% 2em 2%;
    
}

#CartIcon, #SearchIcon {
    height: 50px;
    width: 100px;
    margin-left: -110px;
    position: fixed;
    left: 0;
    z-index: 9999;
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: .3s ease-in-out;
    box-shadow: 0 0 10px #000;
    border: 1px solid #000;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    padding-right: 60px;
    line-height: 50px;
    vertical-align: middle;
    font-size: 100%;
    color: #333
}

#CartIcon {
    top: 100px;
    background-image: url('/Design/Website/Files/Cart.png')
}

.An1 {
    animation: myAnimation1 1s
}

.An2 {
    animation: myAnimation2 1s
}

@keyframes myAnimation1 {
    from {
        transform: scale(1.5,1.5);
        background-color: #68fbe0;
    }

    to {
        transform: scale(1,1);
        background-color: #fff
    }
}

@keyframes myAnimation2 {
    from {
        transform: scale(1.5,1.5);
        background-color: #a6f4ff
    }

    to {
        transform: scale(1,1);
        background-color: #fff
    }
}

#SearchIcon {
    top: 160px;
    background-image: url('/Design/Website/Files/Search.png')
}

    #SearchIcon:hover, #CartIcon:hover {
        margin-left: -5px
    }

body > header > a:hover {
    background-color: #ffe6d6
}

    body > header > a:hover > img {
        opacity: 1
    }

body > header > a > img {
    display: block;
    width: 80%;
    margin: 10%;
    opacity: .6;
    transition: .4s
}

#SearchBar, #Cart {
    right: -30%;
    top: 0;
    width: 30%;
    height: 100%;
    position: fixed;
    background-color: #fff;
    -webkit-transition: all .4s;
    transition: all .4s;
    overflow-y: scroll
}

    #SearchBar.open, #Cart.open {
        right: 0;
        z-index: 99999 !important
    }

#SearchBar {
    background-color: #fff
}

    #SearchBar > b {
        font-size: 100%;
        text-align: center;
        display: block;
        color: #fff;
        background-color: #e60;
        padding-bottom: .5vh
    }

    #SearchBar > a {
        font-size: 120%;
        color: #0f0;
        text-align: center;
        display: block;
        color: #fff;
        padding: .5vh 0;
        background-color: #e60;
        font-weight: 900;
        animation: ziboon 5s infinite ease-in-out
    }

@keyframes ziboon {
    20% {
        color:#e2ffd2
    }

    40% {
        color: #eee
    }

    60% {
        color: #cdd8e4
    }

    80% {
        color: #ffe6d6
    }
}

#SearchBar > nav {
    margin-bottom: 1em;
    padding: .1vw 0;
    margin: 2.5vh 2%;
    background-color: #ffbf94
}

    #SearchBar > nav > ul li {
        list-style: none;
        overflow: hidden
    }

    #SearchBar > nav > ul > li > ul > li:nth-child(1) a {
        display: block;
        padding: .2vw 1vw;
        color: #333;
        background-color: #fff;
        background-image: url('/Design/Website/Files/left.png');
        background-position: 1vw center;
        background-repeat: no-repeat;
        border: 1px solid #ffbf94
    }

    #SearchBar > nav > ul > li > ul > li:nth-child(1) > a:hover {
        background-color: #ffe6d6
    }

    #SearchBar > nav > ul > li > ul > li:nth-child(2) {
        display: none;
        padding: 0;
        position: relative
    }

    #SearchBar > nav > ul > li > ul {
        background-color: #fff
    }

        #SearchBar > nav > ul > li > ul > li:nth-child(2) li {
            margin: 0;
            vertical-align: middle;
            overflow: hidden;
            padding: 0;
            width: 90%;
            margin: 0 5%;
            border: .1vh solid #fff;
            background-color: #ffe6d6
        }

        #SearchBar > nav > ul > li > ul > li:nth-child(2) a {
            display: block;
            padding: 0 .5vw;
            font-size: 80%;
            color: #333;
            background-image: url('/Design/Website/Files/left.png');
            background-position: .5vw center;
            background-repeat: no-repeat
        }

            #SearchBar > nav > ul > li > ul > li:nth-child(2) a:hover {
                background-color: #f5d0b8
            }

        #SearchBar > nav > ul > li > ul > li ul li > div {
            position: fixed;
            top: 30%;
            left: -35%;
            width: 30%;
            height: 40%;
            padding: .5em;
            border-radius: 3px;
            display: inline-block;
            transition: .2s;
            z-index: -9999 !important;
            line-height: 160%;
            color: #fc0;
            text-align: justify;
            border: 1px solid #000;
            box-shadow: 0 0 3px #000;
            transition: 1s ease-in-out;
            border: 2px solid #333;
            border-radius: 5px;
            background-color: #111
        }

            #SearchBar > nav > ul > li > ul > li ul li > div > a {
                float: left;
                width: 32%;
                margin: 0 .5em .5em 0;
                overflow: hidden !important;
                border-radius: 3px;
                overflow: hidden;
                background-color: #000 !important;
                padding: 0
            }

                #SearchBar > nav > ul > li > ul > li ul li > div > a > img {
                    display: inline-block;
                    width: 100%;
                    transition: .4s
                }

                    #SearchBar > nav > ul > li > ul > li ul li > div > a > img:hover {
                        transform: scale(2,2)
                    }

        #SearchBar > nav > ul > li > ul > li ul li:hover > div {
            z-index: 999999999 !important;
            top: 30%;
            left: 17.5%
        }

#Search {
    display: block;
    width: 92%;
    margin: 2% auto;
    padding: 2%;
    border:1px solid #e60;
    font-size:120%;
}

#Curtain {
    position: fixed;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
    z-index: 9999 !important
}

    #Curtain.open {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.8);
        cursor: pointer
    }

#Close {
    transition: .4s;
    display: block;
    width: 5vh;
    height: 5vh;
    position: absolute;
    top: 42vh;
    left: 2vw;
    background-image: url('/Design/Website/Files/Close.png');
    background-size: contain
}



body > footer {
    border-top: 20px solid #fc802d;
    padding: 0;
    color: #000;
    clear: both;
    background-color: #e60;
}


body > footer > div.vcard {
    float: none;
    clear: both;
    min-height: 2vh;
    margin: 0;
    padding: 10px 3%;
    text-align: center;
    color: #fff
}

.vcard a {
    color: #ff0
}

.FW, video {
    width: 100%;
    height: auto;
    margin: 1em auto
}

video {
    background-color: #000;
    border-radius: 5px
}

.Right {
    float: right;
    margin-left: 1em;
    border: 2px solid #333;
    border-radius: 5px;
    width: 30%;
    height: auto
}

.Right25 {
    float: right;
    margin-left: 1em;
    border: 1px solid #333;
    border-radius: 5px;
    width: 25%
}

.Right30 {
    float: right;
    margin-left: 1em;
    border: 1px solid #333;
    border-radius: 5px;
    width: 30%
}

.Right35 {
    float: right;
    margin-left: 1em;
    border: 1px solid #333;
    border-radius: 5px;
    width: 35%
}

.Left {
    float: left;
    margin-right: 1em;
    border: 2px solid #333;
    border-radius: 5px;
    width: 30%;
    height: auto
}

.Left25 {
    float: left;
    margin-right: 1em;
    border: 1px solid #333;
    border-radius: 5px;
    width: 25%
}

.Left30 {
    float: left;
    margin-right: 1em;
    border: 1px solid #333;
    border-radius: 5px;
    width: 30%
}

.Left35 {
    float: left;
    margin-right: 1em;
    border: 1px solid #333;
    border-radius: 5px;
    width: 35%
}

.Center {
    width: 80%;
    height: auto;
    display: block;
    border: 2px solid #333;
    border-radius: 5px;
    margin: 1em auto
}

.Center40 {
    width: 40%;
    display: block;
    border: 1px solid #333;
    border-radius: 5px;
    margin: 1em auto
}

.Center50 {
    width: 50%;
    display: block;
    border: 1px solid #333;
    border-radius: 5px;
    margin: 1em auto
}

.Center60 {
    width: 60%;
    display: block;
    border: 1px solid #333;
    border-radius: 5px;
    margin: 1em auto
}

.Center70 {
    width: 70%;
    display: block;
    border: 1px solid #333;
    border-radius: 5px;
    margin: 1em auto
}

.FullWidth {
    width: 100%;
    height: auto;
    margin: 1em auto
}

.Clear {
    clear: both;
    display: block
}

#Tag {
    text-align: center;
    margin: 2em 0 1em 0;
    clear: both
}

    #Tag > li {
        display: inline-block;
        padding: 3px 5px;
        background-color: #fff;
        font-size: 100%;
        margin: 2px 1px;
        border: 1px solid #ddd;
        border-radius: 3px;
        transition: .4s
    }

        #Tag > li:hover {
            background-color: #eee;
            border-color: #eee
        }

#Detail ul {
    border-right: 1px solid #ccc;
    margin-right: 5px
}

#Detail li {
    list-style: none;
    padding: .5em 10px
}

    #Detail li a {
        font-size: 100%;
        font-weight: normal
    }

#Detail summary {
    font-size: 130%;
    font-weight: 700
}

#NP {
    height: 17px;
    margin: 2em 0
}

#P {
    background-image: url(/Design/Website/Files/Previous.png);
    background-position: center right;
    float: right;
    background-repeat: no-repeat;
    padding-right: 22px;
    vertical-align: middle;
    color: #333
}

#N {
    background-image: url(/Design/Website/Files/Next.png);
    background-position: center left;
    float: left;
    background-repeat: no-repeat;
    padding-left: 22px;
    vertical-align: middle;
    color: #333
}

#Partition {
    margin: 2em 0;
    background-color: #ffe6d6;
    padding: .5%
}

    #Partition > h2 {
        color: #000;
        padding: 1em
    }

    #Partition > article {
        display: inline-block;
        width: 23%;
        margin: .5%;
        padding: .5%;
        background-color: #fff
    }

        #Partition > article > a {
            display: block;
            padding: .5%;
            margin: 1%;
            overflow: hidden;
            text-align: right;
            font-size:90%;
        }

            #Partition > article > a > img {
                display: block;
                width: 100%;
                height:auto;
                
            }

        #Partition > article > h2, #Partition > article > h3 {
            height: 2em
        }

            #Partition > article > h2 > a, #Partition > article > h3 > a {
                font-weight: normal;
                font-size: 80%;
                text-align: right;
                display: block;
                height: 4em
            }

        #Partition > article > p {
            font-size: 80%;
            text-align: justify;
            line-height: 130%;
            overflow-y: auto;
            height: 10em;
            padding: .5em 0 0 0
        }

#Page > footer {
    background-color: #eee;
    clear: both;
    border: 3px solid #ddd;
    border-radius: 5px;
    padding: .5em;
    margin-top: 1em
}

#Call, #Whatsapp {
    border-radius: 50%;
    overflow: hidden;
    position: fixed;
    bottom: 3%;
    left: 3%;
    z-index: 99;
    width: 70px;
    height: 70px;
    background-color: #1ebea5;
    border: 3px solid #ff0;
    animation: call 1s infinite ease
}
#Call img, #Whatsapp > img {
        animation: tel 1s infinite ease-in-out;
        width: 90%;
        display: block;
        border-radius: 50%;
        margin: 5%;
        height: 90%
    }

#Whatsapp {
    left: unset;
    right: 3%
}

@keyframes tel {
    from {
        transform: scale(1.1,1.1)
    }

    to {
        transform: scale(.8,.8)
    }
}

@keyframes call {
    0% {
        box-shadow: 0 0 1px #000;
        border-color: #fff
    }

    100% {
        box-shadow: 0 0 20px #000;
        border-color: #000
    }
}

@media only screen and (min-width:2049px) {
    #Page {
        width: 56%
    }
}

@media only screen and (min-width:1921px) and (max-width:2048px) {
    #Page {
        width: 68%
    }
}

@media only screen and (min-width:1367px) and (max-width:1920px) {
    #Page {
        width: 78%
    }
}

@media only screen and (min-width:1024px) and (max-width:1366px) {
    #Page {
        width: 86%
    }
}

@media only screen and (min-width:1px) and (max-width:1023px) {
    body {
        font-size: 5vw;
        padding-top: 46px
    }

        body > header {
            background-size: 30%;
            height: auto
        }

    #Page {
        padding: 2vh 1%
    }

    #SearchIcon {
        right: 10px
    }

    #CartIcon {
        right: 52px
    }

    #SearchIcon, #CartIcon {
        height: 38px;
        width: 38px;
        position: fixed;
        top: 4px;
        left: auto;
        margin-left: 0;
        z-index: 9999;
        background-position: center center;
        background-size: 70%;
        box-shadow: none;
        padding: 0;
        margin: 0;
        border: 0;
        color: transparent
    }

    #SearchBar, #Cart {
        width: 80%;
        right: -81%
    }

        #SearchBar.open, #Cart.open {
            right: 0
        }
    #Partition {
        background-color: #fff;
    }
    #Partition > h2 {
        font-size:100%;
        background-color: #e60;
        text-align:center;
        color:#fff;
    }
    #Partition > article {
        display: block;
        width: 86%;
        height: auto;
        margin: 1em auto;
        padding: 1%;
        border: 1px solid #eee;
        background-color:#ffe6d6;
        
    }

        #Partition > article > a {
            padding: 1%;
            overflow: hidden;
            background-color: #eee;
        }

        #Partition > article > h2, #Partition > article > h3 {
           padding-right:3%;
        }

            #Partition > article > h2 > a, #Partition > article > h3 > a {
                font-size: 100%;
                text-align: right;
                padding-right:3%;
            }

        #Partition > article > p {
            height: inherit;
            font-size: 90%;
            overflow-y: hidden;
            padding: 0 2%
        }

    #Page > footer > div {
        font-size: 85%;
        text-align: right;
        color: #f60
    }





    .FW, video, .Right, .Right25, .Right30, .Right35, .Left, .Left25, .Left30, .Left35, .Center, .Center40, .Center50, .Center60, .Center70 {
        float: none;
        width: 100%;
        height: auto;
        display: block;
        margin: 1em auto
    }

    #Call, #Whatsapp {
        width: 50px;
        height: 50px
    }
}
