﻿/* Let's get this party started */
::-webkit-scrollbar {
    width: 5px;
    height: 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;
    margin: 5px;
    padding: 0;
}


.clear {
    clear: both;
}

#rootdiv {
    width: 100%;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

#rightp, #leftp {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 101;
    background-color: rgb(188, 192, 207);
    display: none;
    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;
    display: none;
}

.formwin {
    border-radius: 25px;
    background-color: #25C3E6;
    position: absolute;
    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 h1 {
    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;
}

/*هدر*/
#header {
    height: 25%;
    background-color: #25C3E6;
    /*position: relative;
    z-index: 2;*/
}


#headdiv, #minidiv {
    height: 100%;
    max-width: 950px;
    min-width: 350px;
    margin: 0 auto;
    position: relative;
}

    #headdiv .mobmenuright {
    }

#iconmenu {
    display: none;
}

.mob #iconmenu, #iconmenu-mini {
    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(../pics/menu.png);
}

#header ul, #miniheder ul {
    float: right;
    position: absolute;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 5px;
    right: 10px;
}

    #header ul li:hover, #miniheder ul li:hover {
        background-color: white;
    }

#header li a, #miniheder li a {
    width: 100%;
    height: 100%;
    display: inline-block;
}

#header .mobmenuright, #miniheder ul {
    display: none;
    z-index: 99;
    margin-right: 35px;
}

    #header .mobmenuright li, #miniheder ul 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;
    background-color: rgb(188, 192, 207);
}

.aboutli {
    background-image: url(../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;
}

.serchli {
    background-image: url(../pics/serch.png);
}

.archivli {
    background-image: url(../pics/archive.png);
}

.contactli {
    background-image: url(../pics/contact.png);
}

.giftli {
    background-image: url(../pics/gift.png);
}

.maqhalatli {
    background-image: url(../pics/maqhalat.png);
}

#header .headright {
    float: right;
    position: absolute;
    bottom: 0;
    right: 30px;
    max-height: 90px;
    height: 70%;
}

#header .mob .headright {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 60px;
}

#header .headright * {
    height: 100%;
}


.headleft {
    position: absolute;
    top: 10px;
    left: 10px;
}

.datediv {
    float: left;
    text-align: left;
    font-size: 12px;
}

#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;*/
    }

#miniheder {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #25C3E6;
    text-align: center;
    display: none;
    margin-bottom: 10px;
    z-index: 100;
}

    #miniheder ul {
        top: -3px;
    }

    #miniheder span {
        position: relative;
        top: -3px;
        font-size: 11px;
    }

    #miniheder .headright {
        float: right;
        position: absolute;
        bottom: -15px;
        right: 25px;
        width: 100px;
    }

        #miniheder .headright * {
            width: 100%;
        }
/*لوگو*/
#logodiv {
    width: 350px;
    margin: 0 auto;
    text-align: center;
    height: 60%;
}

    #logodiv * {
        width: 100%;
        /*max-width: 529px;*/
        /*height: 100%;
        max-height: 529px;*/
        /*width: auto;*/
    }

#logodiv-mini {
    text-align: center;
    height: 100%;
    position: relative;
    top: -20px;
}

    #logodiv-mini * {
        height: 100%;
        margin-top: 15px;
    }

.mob #mizmsdiv {
    display: none;
}
/*صفحه*/
#pagediv {
    max-width: 950px;
    min-width: 350px;
    margin: 0 auto;
    background-color: white;
    /*position: fixed;*/
}

#tooltab {
    float: right;
    height: 35px;
    margin: 0;
    padding: 0 2px;
    transition: all .5s;
    position: relative;
    background-color: rgb(231, 233, 243);
}

    #tooltab img {
        margin-top: 10px;
        background-color: rgb(188, 192, 207);
        border-radius: 3px;
        transition: all .5s;
    }

    #tooltab ul {
        padding: 0;
        margin: 0;
        list-style: none;
        position: absolute;
        top: 40px;
        z-index: 142;
        width: 130px;
        background-color: white;
        border: 4px solid rgb(188, 192, 207);
        border-radius: 5px;
        opacity: 0;
        z-index: -1;
        transition: all 1s;
    }

        #tooltab ul:before {
            content: '';
            display: block;
            border-color: transparent transparent rgb(188, 192, 207) transparent;
            border-style: solid;
            border-width: 10px;
            position: absolute;
            top: -21px;
            right: 2px;
        }

        #tooltab ul li {
            padding: 2px;
            border-bottom: 1px solid rgb(188, 192, 207);
            margin: 0 5px;
            white-space: nowrap;
            transition: background-color 1s;
            background-color: white;
            cursor: pointer;
        }

            #tooltab ul li:last-child {
                border: none;
            }

    #tooltab:hover img {
        background-color: white;
        transition: all .5s;
    }

    #tooltab:hover ul {
        opacity: 1;
        transition: all 1s;
        z-index: 100;
    }

    #tooltab ul li:hover {
        background-color: #FF5339;
        transition: all 1s;
    }

#tabline {
    height: 35px;
    background-color: rgb(231, 233, 243);
    overflow: hidden;
}


    #tabline .tabdiv {
        float: right;
        width: auto;
        padding: 0 5px;
        background-color: rgb(188, 192, 207);
        height: 29px;
        margin: 5px 2px 0px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border: 1px solid rgb(188, 192, 207);
        border-bottom: none;
        transition: all .5s;
    }


    #tabline a {
        display: inline-block;
        width: 100%;
        height: 24px;
        /*margin-top: 5px;*/
        text-decoration: none;
        color: black;
        font-weight: bold;
    }

        #tabline a .spline {
            width: 70%;
            height: 5px;
            background-color: rgb(188, 192, 207);
            margin: 0 auto;
            border-radius: 3px;
            transition: all .5s;
        }

        #tabline a .spantxt {
            white-space: nowrap;
            padding: 0 1px;
        }

    #tabline .tabdiv:hover {
        height: 34px;
        margin-top: 0;
        background-color: rgb(231, 233, 243);
        border: 1px solid white;
        border-bottom: none;
        transition: all .5s;
        color:black;
    }

        #tabline .tabdiv :hover.tablink .spline {
            background-color: #FF5339;
            transition: all .5s;
        }



    #tabline .active {
        height: 34px;
        margin-top: 0;
        background-color: white;
        border: 1px solid rgb(231, 233, 243);
        border-bottom: none;
        /*transition: all .5s;*/
    }

        #tabline .active:hover {
            background-color: white;
            height: 35px;
            margin-top: 0;
            border: none;
        }

        #tabline .active .spline {
            background-color: white;
        }
        /*از این جا اضافه شد*/
    #tabline .firstTab {
        background-color: #FF5339;
        min-width:100px;
        text-align:center;
    }
    #tabline .firstTab a {
        color:white
    }

    #tabline .firstTab a:hover {
        color:black;
    }
   
/*انتهای اضافه*/

#pagediv #tbpage {
    width: 100%;
    height: 100%;
    border-spacing: 0;
    border-top: 10px solid white;
}

    #pagediv #tbpage td {
        vertical-align: top;
        padding: 0;
        overflow-wrap: anywhere;
    }

#pagediv #rtd {
    width: 250px;
    height: 100%;
    overflow: hidden;
    background-color: rgb(231, 233, 243);
    right: -260px;
    z-index: 10;
}
#pagediv .rtdShow {
    display: table-cell;
}
#pagediv .rtdHide {
    display:none;
}

#rtd #captree {
    background-color: #25C3E6;
    height: 30px;
    font-size: 16px;
    line-height: 25px;
    font-weight: bold;
    color: white;
}
/*فوتر*/
#footerdiv {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    height: 30px;
    padding: 0;
    /*z-index: 1000;*/
}

/*منوی زیر*/
/*دسکتاب*/
#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: 3;
            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: 25px;
    /*padding: 5px;*/
}

    .spmob #iconsp {
        float: right;
        /* margin: -3px 5px; */
        background-color: white;
        position: absolute;
        right: 5px;
        z-index: 1;
        width: 30px;
        height: 30px;
        cursor: pointer;
        background-image: url(../pics/menu.png);
        z-index: 100;
    }

    .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;
        z-index: 99;
    }

    .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: relative;
    /*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;
}

.slideUp {
    -webkit-animation-name: slideUp;
    animation-name: slideUp;
}

.slideUpRetourn {
    -webkit-animation-name: slideUpRetourn;
    animation-name: slideUpRetourn;
}

#contactpages {
    direction: ltr;
    /*padding-left: 10px;*/
    /*float: left;*/
    /*margin-top: -34px;*/

    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 slideUp {
    0% {
        -webkit-transform-origin: 0 0;
        -webkit-transform: translateY(0%);
    }

    100% {
        -webkit-transform-origin: 0 0;
        -webkit-transform: translateY(-100%);
    }
}

@keyframes slideUp {
    0% {
        transform-origin: 0 0;
        transform: translateY(0%);
    }

    100% {
        transform-origin: 0 0;
        transform: translateY(-100%);
    }
}

@-webkit-keyframes slideUpRetourn {
    0% {
        -webkit-transform-origin: 0 0;
        -webkit-transform: translateY(-100%);
    }

    100% {
        -webkit-transform-origin: 0 0;
        -webkit-transform: translateY(0%);
    }
}

@keyframes slideUpRetourn {
    0% {
        transform-origin: 0 0;
        transform: translateY(-100%);
    }

    100% {
        transform-origin: 0 0;
        transform: translateY(0%);
    }
}

@-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%);
    }
}
