﻿@font-face {
    font-family: 'b yekan';
    src: url('../Fonts/BYekan.eot') format('eot'), url('../Fonts/BYekan.woff') format('woff'), url('../Fonts/BYekan.ttf') format('truetype');
}

@font-face {
    font-family: 'b homa';
    src: url('../Fonts/BHoma.eot') format('eot'), url('../Fonts/BHoma.woff') format('woff'), url('../Fonts/BHoma.ttf') format('truetype');
}

@font-face {
    font-family: 'b nazanin';
    src: url('../Fonts/BNazanin.eot') format('eot'), url('../Fonts/BNazanin.woff') format('woff'), url('../Fonts/BNazanin.ttf') format('truetype');
}

/*.Control {
    position: absolute;
    font-family: 'B yekan';
    font-size: 14pt;
    direction: rtl;
    width: auto;
}*/

.LoginTextBox {
    width: 100%;
    height: 25px;
    border: none;
    font-family: 'B Yekan';
    font-size: 13pt;
    margin-top: 5px;
    outline: 0 none;
    outline-offset: 0;
    padding-right: 5px;
}

.ForgetPassword {
    position: absolute;
    top: 180px;
    left: 45px;
    width: 360px;
    height: 100px;
}


.ForgetPasswordLeft {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 14px;
    height: 100px;
    background-image: url('../Images/F2.png');
    background-repeat: no-repeat;
}

.ForgetPasswordRight {
    position: absolute;
    top: 0px;
    left: 317px;
    width: 43px;
    height: 100px;
    background-image: url('../Images/F1.png');
    background-repeat: no-repeat;
    cursor: pointer;
}

.ForgetPasswordCenter {
    position: absolute;
    top: 0px;
    left: 14px;
    width: 303px;
    height: 100px;
    background-image: url('../Images/F3.png');
    background-repeat: repeat-x;
}

.TopLeftPanelBack {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 12px;
    height: 12px;
    background-image: url('../Images/TopLeft_PanelBack.png');
    background-repeat: no-repeat;
}

.LoginPanel {
    width: 370px;
    height: 220px;
    top: 50px;
    position: relative;
    background-image: url('../Images/LoginPanel.png');
    background-repeat: no-repeat;
    right: 0px;
}

.ButtomLeftPanelBack {
    position: absolute;
    left: 0px;
    width: 12px;
    height: 12px;
    background-image: url('../Images/ButtomLeft_PanelBack.png');
    background-repeat: no-repeat;
}

.ButtomPanelBack {
    position: absolute;
    left: 12px;
    height: 12px;
    width: 96%;
    background-image: url('../Images/Buttom_PanelBack.png');
    background-repeat: repeat-x;
}

.ButtomRightPanelBack {
    position: absolute;
    height: 12px;
    width: 12px;
    right: 0px;
    background-image: url('../Images/ButtomRight_PanelBack.png');
    background-repeat: no-repeat;
}

.RightPanelBack {
    position: absolute;
    top: 12px;
    width: 12px;
    right: 0px;
    height: 99%;
    background-image: url('../Images/Right_PanelBack.png');
    background-repeat: repeat-y;
}

.TopRightPanelBack {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 12px;
    width: 12px;
    background-image: url('../Images/TopRight_PanelBack.png');
    background-repeat: no-repeat;
}

.TopPanelBack {
    position: absolute;
    top: 0px;
    height: 12px;
    left: 12px;
    width: 96%;
    background-image: url('../Images/Top_PanelBack.png');
    background-repeat: repeat-x;
}

.LeftPanelBack {
    position: absolute;
    top: 12px;
    left: 0px;
    width: 12px;
    height: 99%;
    background-image: url('../Images/Left_PanelBack.png');
    background-repeat: repeat-y;
}

.TopBar {
    border-width: 1px;
    border-color: white;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 30px;
    color: White;
    background-color: #006699;
    border-bottom-style: solid;
    font-family: 'B yekan';
    font-size: 8pt;
    font-weight: bold;
}

.TopBarItem {
    position: absolute;
    top: -3px;
    width: auto;
    cursor: pointer;
}

    .TopBarItem:hover {
        color: Yellow;
    }


.BottomBar {
    border-width: 1px;
    border-color: white;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 20px;
    color: White;
    background-color: Black;
    border-top-style: solid;
    font-family: Tahoma;
    font-size: 8pt;
    font-weight: bold;
    padding-top: 5px;
}

body {
    /*background-image: url("../Images/LoginImageBack.jpg");*/
    background-repeat: no-repeat;
    background-position-x: center;
    margin: 0px;
    overflow: hidden;
}


#ShadowDiv {
    background-color: black;
    color: black;
    opacity: 0.7;
    width: 500px;
    min-height: 200px;
    position: absolute;
    border-radius: 10px 10px;
    /*border: 1px solid gray;*/
    top: 160px;
    left: 200px;
    height: 400px;
    box-shadow: 5px 10px 10px #272626;
}

#MainPart {
    width: 500px;
    background-color: transparent;
    position: absolute;
    height: 400px;
}

#TopBar {
    width: 100%;
    background-image: url("../Images/TopBarBack.jpg");
    height: 40px;
    color: white;
    font-size: 19px;
    border-bottom: 3px solid #07588a;
    direction: rtl;
}

#Btn_Login {
    /*    background-color: #e61718; background-color: #6675df;#000071*/
    background-color:#f7790d ;
    height: 40px;
    font-family: 'B Yekan';
    font-size: 16px;
    color: white;
    min-width: 80px;
    border: none;
    width: 300px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px 5px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

    #Btn_Login:hover {
        /*background-color: #d31516;*/
        background-color: #333333;
    }

/*#Btn_Signup {
    width: 100px;
}*/



.PartTitle {
    font-family: 'B homa';
    font-size: 19px;
    color: gray;
    width: 80%;
    text-align: right;
}

#CompanyLogo {
    width: 300px;
    height: 300px;
    /*position: absolute;*/
    right: 20px;
    top: 15px;
    background-image: url('../Images/CustomerCompanyLogo.png');
    background-repeat: no-repeat;
}

#SaynaLogo {
    width: 210px;
    height: 160px;
    background-image: url('../Images/SaynaLogo.png');
    background-repeat: no-repeat;
    float: none;
    bottom: 10px;
    /*position: absolute;*/
    left: 20px;
}


.Button1 {
    background-image: url('../Images/ButtonBack.jpg');
    background-repeat: repeat-x;
    color: #177ee5;
    font-family: 'B Homa';
    font-size: 10pt;
    height: 38px;
    border-color: #e0e0e0;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
}

    .Button1:hover {
        background-image: url('../Images/ButtonBackHover.jpg');
    }

#DivSignUp {
    border-left-color: #fe7506;
    border-left-style: solid;
    border-left-width: 1px;
    width: 32%;
}

.MessageLine {
    width: 99.9%;
    height: 35px;
    clear: both;
    padding: 0px;
    margin: 0px;
    direction: rtl;
    zoom: 1;
    float: right;
    border-bottom: 1px dashed silver;
    margin-bottom: 10px;
    position: relative;
}

.MessageTitle {
    position: absolute;
    right: 10px;
    color: #282828;
    font-size: 15px;
    width: 730px;
    overflow: hidden;
    text-align: right;
    cursor: pointer;
}

    .MessageTitle:hover {
        color: #446ffc;
    }

.MessageDate {
    position: absolute;
    left: 5px;
    top: 5px;
    font-size: 12px;
}


@media only screen and (max-device-width:2000px) and (max-width:500px ) {
    .MainPart {
        width: 98%;
    }

    #DivSignUp {
        width: 99%;
        border-left-style: none;
    }

    #DivCom {
        display: none;
    }
}


@media only screen and (max-device-width:1000px) and (orientation : portrait) {
    .MainPart {
        width: 98%;
    }

    #DivSignUp {
        width: 99%;
        border-left-style: none;
    }

    #DivCom {
        display: none;
    }
}

@media only screen and (max-device-width:1000px) and (orientation : landscape) {

    .span_1_of_3 {
        width: 31.9%;
    }

    .col {
        font-size: 16px;
    }
}
