﻿@font-face {
    font-family: 'Nazanin';
    src: url('/fonts/Nazanin.eot') format('eot'); /* IE6–8 */
    src: url('/fonts/Nazanin.eot?#iefix') format('embedded-opentype'), url('/fonts/Nazanin.woff') format('woff'), url('/fonts/Nazanin.ttf') format('truetype');
}

@font-face {
    font-family: 'Titr';
    src: url('/fonts/TitrBold.eot') format('eot'); /* IE6–8 */
    src: url('/fonts/TitrBold.eot?#iefix') format('embedded-opentype'), url('/fonts/TitrBold.woff') format('woff'), url('/fonts/TitrBold.ttf') format('truetype');
}

body {
    font-family: Nazanin, Tahoma;
    font-size: 12pt;
    direction: rtl;
    border-style: none;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    background-color: #efefef;
}

#dvTitle {
    font-family: Titr;
    background-color: #002072;
    color: white;
    margin: 24px auto;
    border-radius: 8px;
    width: 75%;
}

    #dvTitle p {
        font-size: 20pt;
        font-weight: bold;
        text-align: center;
        margin: 0px;
    }

#dvLogin {
    margin-top: -98px;
    margin-left: -248px;
    left: 50%;
    top: 50%;
    position: absolute;
    width: 495px;
}

#dvlogintop {
    background-image: url('../images/imglogintop.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 75px;
    width: 495px;
}

#dvloginmid {
    background-image: url('../images/imgloginmid.png');
    background-position: center;
    background-repeat: repeat-y;
    padding-top: 16px;
    padding-bottom: 16px;
    width: 495px;
}

#dvloginbot {
    background-image: url('../images/imgloginbot.png');
    background-position: center top;
    background-repeat: no-repeat;
    height: 11px;
    width: 495px;
}

.dvCenter {
    margin: 0px auto;
}

input[type="text"], input[type="password"] {
    font-family: Tahoma;
    border-radius: 4px;
    border-color: #6c8abb;
    border-width: 1px;
    padding: 4px;
    background-color: #fff;
    width: 200px;
}

    input[type="text"]:focus, input[type="password"]:focus {
        background-color: #fff1d8;
    }

.td_Right_Input {
    direction: rtl;
    text-align: right;
    height: 20px;
    vertical-align: middle;
}

.td_Center_Input {
    direction: rtl;
    text-align: center;
    height: 20px;
    vertical-align: middle;
}

.td_Left_Input {
    direction: ltr;
    text-align: left;
    height: 20px;
    vertical-align: middle;
}

.labelLeftAlign {
    color: Navy;
    direction: ltr;
    text-align: left;
}

.labelRightAlign {
    color: Navy;
    direction: rtl;
    text-align: right;
}

.labelCenterAlign {
    color: Navy;
    direction: rtl;
    text-align: center;
}

.textBoxLeftAlign {
    direction: ltr;
    text-align: left;
}

.textBoxRightAlign {
    direction: rtl;
    text-align: right;
}

.textBoxCenterAlign {
    text-align: center;
}

.loginButton {
    font-family: Nazanin;
    font-size: 12pt;
    background-image: url('../icons/login.png') !important;
    background-repeat: no-repeat;
    background-position: 4px center;
    border-radius: 4px;
    text-align: right;
    padding: 1px 4px;
    height: 28px;
    width: 80px;
}

.redText {
    color: Red;
}