﻿@media(max-width:350px) {

    #VerticalMenu {
        display: block !important;
    }

    ul#MainHeaderMenu {
        position: absolute !important;
        right: -105px !important;
        top: 0px !important;
        width: 100px !important;
        border: 1px solid #080808 !important;
        background-color: #2f4050 !important;
        z-index: 999 !important;
    }

    li.ItemHeaderMenu {
        height: 40px !important;
        line-height: 40px !important;
        display: block !important;
        border: none !important;
        border-bottom: 1px solid #20282f !important;
        margin: 0px !important;
        padding: 0px 5px 0px 5px !important;
        float: none !important;
    }

        li.ItemHeaderMenu:hover {
            background-color: #293846 !important;
        }

    a.ItemLink {
        width: 100% !important;
        height: 100% !important;
        display: inline-block !important;
        color: white !important;
    }

        a.ItemLink:hover {
            color: white !important;
            border-bottom: none !important;
        }
}

@media(min-width:350px) {

    a.ItemLink {
        font-family: Tahoma;
        font-size: 0.9em;
        color: #222222;
        text-decoration: none;
        padding: 5px !important;
        background-color: #ebebeb;
        border: 1px solid #c7c7c7;
        border-radius: 5px;
    }

    .ItemLinkSelected {
        background-color: #7ae7e2 !important;
        border: 1px solid #00a298 !important;
    }
}

@font-face {
    font-family: BEsfehanBold;
    src: url('../Fonts/BEsfehanBold.eot') format('eot'), url('../Fonts/BEsfehanBold.woff') format('woff'), url('../Fonts/BEsfehanBold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: BSinaBold;
    src: url('../Fonts/BSinaBold.eot') format('eot'), url('../Fonts/BSinaBold.woff') format('woff'), url('../Fonts/BSinaBold.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}


html, body, form {
    width: 100%;
    min-width: 200px;
    height: auto;
    min-height: 300px;
    background-color: #f5f5f5;
    margin: 0px;
    padding: 0px;
    direction: rtl;
}

html {
    background-color: #363839;
}

#HeaderTitle {
    width: 100%;
    height: 40px;
    max-height: 40px;
    background-color: black;
    overflow: hidden;
    background-image: url("../Pictures/MainMasterPictures/Bazar_Melli_icon.png");
    background-repeat: no-repeat;
    background-position: 50px center;
}

#HeaderTitleText {
    width: 100%;
    height: 100%;
    font-family: BSinaBold;
    font-size: 1.5em;
    text-align: center;
    color: white;
    margin: 0px;
    padding: 0px;
}

#VerticalMenu {
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url("../Pictures/MainMasterPictures/VerticalMenu_icon.jpg");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    display: none;
}

    #VerticalMenu:hover {
        opacity: 0.7 !important;
    }

#MainHeader {
    width: 100%;
    height: 50px;
    background-color: #f7f7f7;
    overflow: hidden;
    border-bottom: 1px solid #dedede;
}

ul#MainHeaderMenu {
    width: 100%;
    height: 100%;
    max-height: 100%;
    list-style: none;
    margin: 0px;
    padding: 0px;
    white-space: normal;
}

li.ItemHeaderMenu {
    height: 100%;
    line-height: 45px;
    display: inline-block;
    vertical-align: middle;
    margin: 0px 5px 0px 5px;
}

li#LoginMenu, li#RegisterMenu {
    float: left;
}

li#HomeMenu {
    margin-right: 30px;
}

li#LoginMenu {
    /*color: red;
        background-color: yellow;*/
    margin-left: 30px;
}

a.ItemLink {
    font-family: Tahoma;
    font-size: 0.9em;
    color: #222222;
    text-decoration: none;
    padding: 2px;
}

    a.ItemLink:hover {
        color: #000000;
        border-bottom: 3px solid #293846;
        background-color: #d6d6d6;
    }


#WindowsWidth {
    position: absolute;
    top: 2px;
    left: 0px;
    color: white;
}


#MainFooter {
    width: 100%;
    height: 250px;
    min-height: 250px;
    background-color: #363839;
    overflow: hidden;
}

#MainFooterMiddle {
    position: relative;
    margin: auto;
    width: 60%;
    min-width: 200px;
    height: 100%;
    /*border: 1px solid white;*/
}

.FooterMiddleChild {
    /*border: 1px solid yellow;*/
    width: 100%;
    margin: 0px;
    padding: 0px;
}

#FooterMiddleTop {
    height: 45%;
}

#FooterMiddleCenter {
    height: 10%;
}

#FooterMiddleBottom {
    height: 45%;
    text-align: center;
}


@font-face {
    font-family: FreestyleScript;
    src: local(FreestyleScript-Regular),local('FreestyleScript Regular'), local(FreestyleScript),url('../Fonts/FreestyleScript-Regular.woff');
}

#ulFollowUs {
    /*border: 1px solid red;*/
    width: 100%;
    position: relative;
    display: block;
    direction: ltr;
    text-align: center;
    left: 0px;
    top: 10px;
    margin: 0px;
    padding: 0px;
}

    #ulFollowUs li {
        /*border: 1px solid blue;*/
        display: inline-block;
        padding: 0px;
    }

        #ulFollowUs li a {
            display: table;
            width: 100%;
            height: 100%;
            font-family: FreestyleScript;
            font-size: 1.8em;
            text-decoration: none;
            color: white;
            margin-left: 5px;
        }

#liBazarMelli {
    position: relative;
    margin-left: 10px;
    top: 5px;
}

#DivRegisterWaitting {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url("../Pictures/WaitingPictures/loader.gif");
    background-size: 60px;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 99999;
    visibility: hidden;
    display: none;
}

.DivRegisterWaitting_Visible {
    visibility: visible !important;
    display: block !important;
}


#RastegaranPardaz {
    color: #ffffff;
    font-family: Tahoma;
    font-size: 11px;
    text-decoration: none;
    padding: 10px;
}
