﻿/* Let's get this party started */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #000000;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #ff0000;
    background: rgba(255,0,0,0.8);
    -webkit-box-shadow: inset 0 0 6px #000000;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

    ::-webkit-scrollbar-thumb:window-inactive {
        background: #ff0000;
        background: rgba(255,0,0,0.4);
    }

body {
    /*overflow: hidden;*/
    font: normal 14px 'Segoe UI',tahoma;
    
}


.clear {
    clear: both;
}

#rootdiv {
    width: 100%;
    position: relative;
    overflow: hidden;
}

#rightp, #leftp {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
    background-color: rgb(188, 192, 207);
    display: block;
    opacity: .8;
}

#formsdiv {
    position: absolute;
    z-index: -1000;
    top: 10%;
    bottom: 10%;
    right: 10%;
    left: 10%;
    /*display: none;*/
}

.aviz {
    width: 100%;
    height: 25px;
    background-color: #FF5339;
    border-radius: 12px;
}

.formwin {
    border-radius: 25px;
    background-color: #25C3E6;
    position: absolute;
    height: 100%;
    /*margin: 0 auto;
    margin-top: -25px;*/
    top: 1%;
    bottom: 1%;
    right: 1%;
    left: 1%;
    display: none;
}

.dot {
    background-color: #FF5339;
    width: 8px;
    height: 8px;
    border-radius: 5px;
}

.dotr {
    position: absolute;
    top: 5px;
    right: 40px;
}

.dotl {
    position: absolute;
    top: 5px;
    left: 40px;
}

.dotc {
    margin: 5px auto;
}

.closeform {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 20px;
    height: 20px;
    font-size: 29px;
    font-weight: bold;
    text-align: center;
    line-height: 14px;
    color: #FF5339;
    cursor: pointer;
    background-color: rgb(231, 233, 243);
}

.formwin h3 {
    text-align: center;
    color: white;
    font-size: 25px;
}

.formtxt {
    margin: 20px auto;
    text-align: justify;
    overflow-x: hidden;
    max-width: 800px;
    padding: 5%;
    position: absolute;
    top: 30px;
    bottom: 0;
    right: 0;
    left: 0;
}

.filform {
    width: 42%;
    min-width: 145px;
    float: right;
    margin: 5px;
}

.text {
    width: 100%;
    border-radius: 4px;
    line-height: 30px;
    font: inherit;
    background-color: white;
    padding: 0 5px
}

.but {
    border-radius: 5px;
    font: inherit;
    width: 100px;
    margin: 5px 5px;
    float: left;
    background-color: white;
}

.contactxt {
    border-radius: 5px;
    font: inherit;
    line-height: 25px;
    width: 200px;
    margin-bottom: 5px;
}

textarea {
    max-width: 100%;
    min-width: 100%;
    height: 200px;
    border-radius: 5px;
    font: inherit;
}
/*باتن ورود*/
#enterydiv {
    position: absolute;
    right: 0;
    left: 0;
    height: 14%;
    max-height: 100px;
    text-align: center;
}

.desentery {
    bottom: 25px;
}

.mobentery {
    bottom: 10px;
}

#enterybut {
    height: 100%;
    cursor: pointer;
    /*transform: rotate(-20deg);*/
    /*animation-name: rotate;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transform-origin: 40% 0;
    animation-timing-function: ease-in-out;*/
    animation-name: beat;
    animation-duration: 2000ms;
    transform-origin: 70% 70%;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/*هدر*/
#header {
    height: 100%;
    background-color: #25C3E6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    /*z-index: 100;*/
}


#headdiv {
    height: 100%;
    max-width: 950px;
    min-width: 350px;
    margin: 0 auto;
    position: relative;
}

    #headdiv .mobmenuright {
    }

#iconmenu {
    display: none;
}

.mob #iconmenu {
    display: block;
    float: right;
    position: absolute;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 5px;
    right: 10px;
    background-color: white;
    font-size: 20px;
    width: 30px;
    height: 30px;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    background-image: url(../../page/files/pics/menu.png);
}

#headdiv ul {
    float: right;
    position: absolute;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 5px;
    right: 10px;
}

    #headdiv ul li:hover {
        background-color: white;
    }

#headdiv li a {
    width: 100%;
    height: 100%;
    display: inline-block;
}

#headdiv .mobmenuright {
    display: none;
    z-index: 99;
    margin-right: 35px;
}

    #headdiv .mobmenuright li {
        width: 24px;
        height: 24px;
        float: right;
        margin: 5px 2px;
        background-color: rgb(188, 192, 207);
    }

#headdiv .desmenuright li {
    width: 24px;
    height: 24px;
    float: right;
    margin: 0 5px;
    cursor: pointer;
}

#headdiv ul #aboutli {
    background-image: url(../../page/files/pics/about.png);
}

#headdiv .desmenuright #aboutli:before {
    content: '';
    display: block;
    border-color: transparent transparent #FF5339 transparent;
    border-style: solid;
    border-width: 10px 5px 6px;
    position: relative;
    top: 16px;
    right: 6px;
    width: 3px;
}

#headdiv .desmenuright #aboutli:after {
    content: 'درباره ما';
    display: block;
    width: 60px;
    height: 25px;
    background-color: #FF5339;
    position: relative;
    top: 16px;
    right: -12px;
    color: white;
    text-align: center;
    border-radius: 5px;
}

#headdiv ul #serchli {
    background-image: url(../../page/files/pics/serch.png);
}

#headdiv ul #archivli {
    background-image: url(../../page/files/pics/archive.png);
}

#headdiv ul #contactli {
    background-image: url(../../page/files/pics/contact.png);
}

#headdiv ul #giftli {
    background-image: url(../../page/files/pics/gift.png);
}

#headdiv ul #maqhalatli {
    background-image: url(../../page/files/pics/maqhalat.png);
}

#mizLink {
    position: absolute;
    top: 50px;
}
#mizImag {
    width: 120px;
}
.mob #mizLink{
    top:25px
}
#headdiv #headleft {
    position: absolute;
    top: 10px;
    left: 10px;
    text-align:left;
}

#headdiv #datediv {
    float: right;
    display: none;
}

#headdiv #headcenter {
    margin: 0 auto;
    padding-top: 8px;
    /*width: 150px;*/
    height: 20%;
    text-align: center;
}

    #headdiv #headcenter * {
        height: 100%;
        max-height: 100px;
        /*margin: 0 auto;*/
    }


/*لوگو*/
#logodiv {
    /*width: 350px;*/
    margin: 0 auto;
    text-align: center;
    height: 60%;
}

#logodiv * {
    height:100%;    
    /*width: 100%;*/
                /*max-width:529px;*/
    }
    #logodiv #logoimg {
        /*max-width:529px;*/
        
    }

    #bodydiv {
        width: 100%;
        /*background-color: yellowgreen;*/
        position: absolute;
        bottom: 31px;
        right: 0;
        left: 0;
        margin-top: 10px;
        /*height: 100%;*/
        overflow-x: hidden;
    }

/*تازه‌های سایت*/
#newscap {
    display: block;
    width: 80%;
    margin: 10px auto;
    min-width: 250px;
    max-width: 600px;
    display: none;
}

    #newscap:after {
        content: '';
        display: block;
        border-color: rgb(188, 192, 207) transparent transparent;
        border-style: solid;
        border-width: 10px;
        position: relative;
    }

    #newscap li {
        width: 48%;
        float: right;
        margin-right: 5px;
        min-width: 240px;
        overflow: hidden;
    }

.mobbody #newscap li {
    width: 98%;
}

/*پنجره میزها*/
#tablediv {
    margin: 0 auto;
}

    #tablediv .tablewin {
        width: 250px;
        margin: 12px 12px;
        overflow: hidden;
        display: none;
        float: right;
        /*visibility: hidden;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-name: anim;*/
    }



        #tablediv .tablewin:after {
            content: '';
            display: block;
            border-color: rgb(188, 192, 207) transparent transparent;
            border-style: solid;
            border-width: 10px;
            position: relative;
        }

    #tablediv .tablelogo {
        width: 234px;
        height: 100px;
        position: relative;
        cursor: pointer;
        border-style: solid;
        border-width: 8px;
        border-color: #ebebeb #f6f6f6;
        text-align: center;
        background-image: url(../../page/files/logos/tbbak.jpg);
        background-size: 100%;
    }

        #tablediv .tablelogo h1 {
            font-size: 4px
        }

        #tablediv .tablelogo:hover img {
            /*opacity: .2;*/
            width: 70%;
            margin: 0 auto;
            transition: all 1s;
        }

        #tablediv .tablelogo:hover .tableabout {
            opacity: 1;
            right: 10px;
            bottom: 10px;
            transition: all 1s;
        }

        #tablediv .tablelogo:hover .tablestate {
            opacity: 1;
            left: 10px;
            bottom: 10px;
            transition: all 1s;
        }

        #tablediv .tablelogo:hover .tablevisittext {
            opacity: 1;
            left: 4px;
            bottom: 32px;
            transition: all 1s;
        }

        #tablediv .tablelogo:hover .tableabotdiv {
            transition: opacity,top 1s;
            /*display: block;*/
            opacity: 1;
            top: 100px;
            z-index: 1;
        }

        #tablediv .tablelogo img {
            margin: 0 auto;
            width: 234px;
            transition: all 1s;
            /*height: 100%;*/
        }



        #tablediv .tablelogo span {
            transition: all 1s;
            position: absolute;
            bottom: 0;
            font-weight: bold;
            opacity: 0;
            color: white;
            /*text-shadow: -2px 2px 2px black;*/
            font-size: 16px;
        }

        #tablediv .tablelogo .tableabout {
            transition: all 1s;
            right: 0;
        }

        #tablediv .tablelogo .tablestate {
            transition: all 1s;
            left: 0;
            /*display: none;*/
        }

        #tablediv .tablelogo .tablevisittext {
            background-color: rgb(188, 192, 207);
            position: absolute;
            left: 0;
            bottom: 10px;
            color: white;
            text-decoration: none;
            opacity: 0;
            padding: 0 5px;
            font-size: 14px;
            font-family: "Calibri";
        }

            #tablediv .tablelogo .tablevisittext:after {
                content: '';
                display: block;
                border-color: rgb(188, 192, 207) transparent transparent transparent;
                border-style: solid;
                border-width: 6px;
                position: absolute;
                bottom: -12px;
                left: 6px;
            }

        #tablediv .tablelogo .tableabotdiv {
            transition: all 1s;
            position: absolute;
            width: 90%;
            color: white;
            /*padding: 10px;*/
            text-align: justify;
            /*display: none;*/
            opacity: 0;
            top: 145px;
            z-index: -1;
            /*max-height: 180px;
            overflow-x: hidden;*/
        }

            #tablediv .tablelogo .tableabotdiv:before {
                content: '';
                display: block;
                border-color: transparent transparent rgb(188, 192, 207) transparent;
                border-style: solid;
                border-width: 10px;
                position: absolute;
                top: -20px;
                right: 18px;
            }

        #tablediv .tablelogo .tableabottext {
            width: 100%;
            max-height: 140px;
            overflow-x: hidden;
            padding: 10px;
            background-color: rgb(188, 192, 207);
            box-shadow: 0px 11px 20px black;
        }


#bodydiv .logolineout {
    height: 6px;
    background-color: rgb(255, 83, 57);
}

    #bodydiv .logolineout .logolinein {
        margin: 0 auto;
        background-color: #25C3E6;
        height: 100%;
        width: 40%;
    }

.tablecap {
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: #FF5339;
    line-height: 24px;
}

#bodydiv .tablenew {
    background-color: rgb(231, 233, 243);
    /*width: 100%;*/
}

#tablediv ul {
    width: 230px;
}

#bodydiv ul {
    margin: 0;
    padding: 5px;
    list-style: none;
    overflow: hidden;
    /*width: 100%;*/
}

    #bodydiv ul li {
        line-height: 24px;
        white-space: nowrap;
    }

#bodydiv li .dotnew {
    margin-left: 5px;
    color: rgb(255, 83, 57);
}

#bodydiv li a {
    white-space: nowrap;
    color: black;
    text-decoration: none;
    position: relative;
    background-color: rgb(231, 233, 243);
}
/*منوی زیر*/
/*دسکتاب*/
#Specials {
    background-color: #25C3E6;
    display: none;
    text-align: center;
    position: absolute;
    bottom: 6px;
    right: 0;
    left: 0;
}

.spdes a {
    text-decoration: none;
    color: black;
}

.spdes {
    height: 25px;
    text-align: center;
    position: absolute;
    bottom: 6px;
    right: 0;
    left: 0;
}

    .spdes #iconsp {
        display: none;
    }

    .spdes ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: inline-table;
    }

    .spdes li {
        float: right;
        border-left: 1px solid #2ba3d4;
        padding: 2px 10px;
    }

    .spdes ul :last-child {
        border: none;
    }

    .spdes .minemenudiv {
        position: absolute;
        width: 600px;
        background-color: rgb(188, 192, 207);
        bottom: 40px;
        right: 15%;
        height: 150px;
        /*border: 1px solid coral;*/
        z-index: -1;
        /*box-shadow: -5px 5px 15px black;*/
        /*border-radius: 10px;*/
        opacity: 0;
        transition: opacity .2s;
        /*overflow: hidden;*/
        text-align: right;
        /*padding: 5px;*/
        transition: all 1s;
    }

        .spdes .minemenudiv:after {
            content: '';
            display: block;
            border-color: rgb(167, 171, 183) transparent transparent;
            border-style: solid;
            border-width: 10px;
            position: relative;
        }

        .spdes .minemenudiv ul {
            text-align: right;
            vertical-align: top;
            list-style: none;
            padding: 0 5px;
            margin: 0;
            transition: all 1s;
            height: 100%;
        }

        .spdes .minemenudiv li {
            float: right;
            width: 48%;
            height: 20px;
            overflow: hidden;
            line-height: 24px;
            transition: all 1s;
            border: none;
            padding: 5px;
        }

    .spdes .hover {
        padding: 0;
        transition: all 1s;
    }

        .spdes .hover .minemenudiv {
            z-index: 1;
            opacity: 1;
            transition: all 1s;
        }

        .spdes .hover > a {
            background-color: rgb(188, 192, 207);
            display: inline-block;
            height: 40px;
            position: relative;
            bottom: 15px;
            z-index: 4;
            line-height: 58px;
            transition: all 1s;
            /*padding: 5px;*/
        }

    .spdes li .dotnew {
        margin-left: 5px;
        color: rgb(255, 83, 57);
    }
/*موبایل*/
.spaceInRight {
    -webkit-animation-name: spaceInRight;
    animation-name: spaceInRight;
}

.spaceOutRight {
    -webkit-animation-name: spaceOutRight;
    animation-name: spaceOutRight;
}

.spmob {
    height: 28px;
    padding: 5px;
}

    .spmob #iconsp {
        font-size: 20px;
        font-weight: bold;
        font-family: tahoma;
        float: right;
        margin-right: 5px;
        background-color: white;
        position: relative;
        z-index: 1;
        bottom: 0;
        width: 30px;
        height: 30px;
        cursor: pointer;
        background-image: url(../../page/files/pics/menu.png);
    }

    .spmob ul {
        margin: 0;
        padding: 5px 30px 5px;
        list-style: none;
        position: absolute;
        bottom: 3px;
        right: 10px;
        background-color: rgb(255, 83, 57);
        width: 80%;
        text-align: right;
        display: none;
    }

    .spmob li {
        padding: 5px;
        border-bottom: 1px solid rgb(37, 195, 230);
    }

    .spmob :last-child {
        border: none;
    }

    .spmob a {
        text-decoration: none;
        color: white;
    }

    .spmob li:hover {
        background-color: rgb(37, 195, 230);
    }

    .spmob .hover a {
        color: black;
    }

    .spmob .minemenudiv {
        display: none;
    }


/*فوتر*/
#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}



    #footer .footlineout {
        height: 6px;
        background-color: #25C3E6;
    }

    #footer .footlinein {
        margin: 0 auto;
        background-color: rgb(255, 83, 57);
        height: 100%;
        width: 40%;
    }

/*انیمیشن*/
.magictime {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.magictime2 {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.spaceInDown {
    -webkit-animation-name: spaceInDown;
    animation-name: spaceInDown;
}

.spaceInDown {
    -webkit-animation-name: spaceInDown;
    animation-name: spaceInDown;
}

.boingInUp {
    -webkit-animation-name: boingInUp;
    animation-name: boingInUp;
}

.boingOutDown {
    -webkit-animation-name: boingOutDown;
    animation-name: boingOutDown;
}

.textanim {
    white-space: nowrap;
    animation: boingInUp 5s infinite
}

#contactpages {
    direction: ltr;
    /*padding-left: 10px;*/
    /*float: left;*/
    /*margin-top: -34px;*/
    display: none;
    width: 20px;
    position: absolute;
    bottom: 5px;
    left: 0;
}

    #contactpages img {
        width: 30px;
        margin-left: 5px;
    }

#condiv {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    direction: ltr;
    padding-top: 20px;
}

    #condiv img {
        margin: 20px 5px;
        
    }

@-webkit-keyframes boingInUp {
    0% {
        opacity: 0;
        -webkit-transform-origin: 50% 0%;
        -webkit-transform: perspective(800px) rotateX(-90deg);
    }

    50% {
        opacity: 1;
        -webkit-transform-origin: 50% 0%;
        -webkit-transform: perspective(800px) rotateX(50deg);
    }

    100% {
        opacity: 1;
        -webkit-transform-origin: 50% 0%;
        -webkit-transform: perspective(800px) rotateX(0deg);
    }
}

@keyframes boingInUp {
    0% {
        opacity: 0;
        transform-origin: 50% 0%;
        transform: perspective(800px) rotateX(-90deg);
    }

    50% {
        opacity: 1;
        transform-origin: 50% 0%;
        transform: perspective(800px) rotateX(50deg);
    }

    100% {
        opacity: 1;
        transform-origin: 50% 0%;
        transform: perspective(800px) rotateX(0deg);
    }
}

@-webkit-keyframes boingOutDown {
    0% {
        opacity: 1;
        -webkit-transform-origin: 100% 100%;
        -webkit-transform: perspective(800px) rotateX(0deg) rotateY(0deg);
    }

    20% {
        opacity: 1;
        -webkit-transform-origin: 100% 100%;
        -webkit-transform: perspective(800px) rotateX(0deg) rotateY(10deg);
    }

    30% {
        opacity: 1;
        -webkit-transform-origin: 0% 100%;
        -webkit-transform: perspective(800px) rotateX(0deg) rotateY(0deg);
    }

    40% {
        opacity: 1;
        -webkit-transform-origin: 0% 100%;
        -webkit-transform: perspective(800px) rotateX(10deg) rotateY(10deg);
    }

    100% {
        opacity: 0;
        -webkit-transform-origin: 100% 100%;
        -webkit-transform: perspective(800px) rotateX(90deg) rotateY(0deg);
    }
}

@keyframes boingOutDown {
    0% {
        opacity: 1;
        transform-origin: 100% 100%;
        transform: perspective(800px) rotateX(0deg) rotateY(0deg);
    }

    20% {
        opacity: 1;
        transform-origin: 100% 100%;
        transform: perspective(800px) rotateX(0deg) rotateY(10deg);
    }

    30% {
        opacity: 1;
        transform-origin: 0% 100%;
        transform: perspective(800px) rotateX(0deg) rotateY(0deg);
    }

    40% {
        opacity: 1;
        transform-origin: 0% 100%;
        transform: perspective(800px) rotateX(10deg) rotateY(10deg);
    }

    100% {
        opacity: 0;
        transform-origin: 100% 100%;
        transform: perspective(800px) rotateX(90deg) rotateY(0deg);
    }
}

@-webkit-keyframes spaceInDown {
    0% {
        opacity: 0;
        -webkit-transform-origin: 50% 100%;
        -webkit-transform: scale(.2) translate(0%, 200%);
    }

    100% {
        opacity: 1;
        -webkit-transform-origin: 50% 100%;
        -webkit-transform: scale(1) translate(0%, 0%);
    }
}

@keyframes spaceInDown {
    0% {
        opacity: 0;
        transform-origin: 50% 100%;
        transform: scale(.2) translate(0%, 200%);
    }

    100% {
        opacity: 1;
        transform-origin: 50% 100%;
        transform: scale(1) translate(0%, 0%);
    }
}

@-webkit-keyframes spaceInRight {
    0% {
        opacity: 0;
        -webkit-transform-origin: 100% 50%;
        -webkit-transform: scale(.2) translate(200%, 0%);
    }

    100% {
        opacity: 1;
        -webkit-transform-origin: 100% 50%;
        -webkit-transform: scale(1) translate(0%, 0%);
    }
}

@keyframes spaceInRight {
    0% {
        opacity: 0;
        transform-origin: 100% 50%;
        transform: scale(.2) translate(200%, 0%);
    }

    100% {
        opacity: 1;
        transform-origin: 100% 50%;
        transform: scale(1) translate(0%, 0%);
    }
}

@-webkit-keyframes spaceOutRight {
    0% {
        opacity: 1;
        -webkit-transform-origin: 100% 50%;
        -webkit-transform: scale(1) translate(0%, 0%);
    }

    100% {
        opacity: 0;
        -webkit-transform-origin: 100% 50%;
        -webkit-transform: scale(.2) translate(200%, 0%);
    }
}

@keyframes spaceOutRight {
    0% {
        opacity: 1;
        transform-origin: 100% 50%;
        transform: scale(1) translate(0%, 0%);
    }

    100% {
        opacity: 0;
        transform-origin: 100% 50%;
        transform: scale(.2) translate(200%, 0%);
    }
}

@keyframes rotate {
    from {
        transform: rotate(-20deg);
    }

    to {
        transform: rotate(20deg);
    }
}

@keyframes down {
    from {
        transform: rotate(-20deg);
    }

    to {
        transform: rotate(20deg);
    }
}

@keyframes beat {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.08);
    }

    50% {
        transform: scale(1);
    }

    60% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.05);
    }

    80% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}
