/* created by MHS 2012/5/9*/
@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-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BMitra';
    src: url('fonts/BMitra.eot?#') format('eot'), url('fonts/BMitra.woff') format('woff'), url('fonts/BMitra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BRoya';
    src: url('fonts/BRoya.eot?#') format('eot'), url('fonts/BRoya.woff') format('woff'), url('fonts/BRoya.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BNazanin';
    src: url('fonts/BMitra.eot?#') format('eot'), url('fonts/BMitra.woff') format('woff'), url('fonts/BMitra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BRoya';
    src: url('fonts/BRoya.eot?#') format('eot'), url('fonts/BRoya.woff') format('woff'), url('fonts/BRoya.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BTitrBold';
    src: url('fonts/BTitrBold.eot?#') format('eot'), url('fonts/BTitrBold.woff') format('woff'), url('fonts/BTitrBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background: url("../images/main/pattern-login.png") repeat scroll 0 0;
    /*background: url("../images/main/bg.png") repeat-x scroll 0 0 #197DB6;*/
    margin: 0;
    font-family: "B Yekan", serif;
    /*text-shadow: 1px 1px 3px #AAA;*/
    font-size: 12px;
    direction: rtl;
}

select, input {
    font-family: "B Yekan", serif;
    font-size: 13px;

}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.main {

    width: 605px;
    margin: 30px auto 0;
    background: url("../images/main/head.png") no-repeat center 27px;
    min-height: 400px;

}
.ihcs-main {
    width: 605px;
    margin: 30px auto 0;
    min-height: 400px;

}
.irip-main {
    width: 720px;
    margin: 30px auto 0;
    min-height: 400px;

}
.logo-name {
    background: url("../images/main/head-name.png") no-repeat center 60px;
    top: -1%;
    width: 429px;
    left: 32%;
    height: 200px;
    position: absolute;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
}

.logo {
    background: url("../images/main/logo.png") no-repeat center right;
    min-height: 176px;
    margin-right: -57px;
}

.arsh-logo {
    background: url("../images/arshfooter.png") no-repeat center right;
    min-height: 176px;
    margin-right: -22px;
    background-size: 180px 160px;
}

.menu {
    width: 108px;
    height: 104px;
    background: #F6F6F6;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    margin-top: 28px;
    margin-right: -29px;
}

.menuItem {
    height: 27px;
    width: 101px;
    border-bottom: 1px solid #D9DADB;
    padding-top: 7px;
    padding-right: 7px;
    cursor: pointer;
}

#reqToJoin {
    border-top: 0;
}

#saed {
    border-bottom: 0;
}

.menuItem a {
    color: #ACA1A2;
    text-shadow: 0 1px white;
}

.menuItem:hover > a {
    text-shadow: 0 1px white;
    color: #35A;
}

.extra-command {
    color: #666;
    width: 137px;
    float: right;
    direction: rtl;
}

#login-form {
    float: left;
    margin-top: 9px;
    margin-left: 9px;
}

.login {
    width: 545px;
    height: 80px;
    background: #E3E4E4;
    border-radius: 3px;
    box-shadow: 0 0 3px #888;
    float: left;
    margin-left: 89px;
    margin-top: 9px;
    direction: rtl;
}

.login .captcha {
    float: left;
    margin-right: 10px;
    width: 150px;
    height: 39px;
}

.rightContent {
    text-shadow: none;
}

input.text {
    height: 23px;
    border: 1.2px solid #ccc;
    background: #F6F6F6;
    border-radius: 3px;
    width: 130px;
    direction: ltr;
    padding: 0 10px;
    font-size: 13px;
    color: #999;
}

input.text:focus {
    border: 1.2px solid #9cf;
    background: #fff;
    box-shadow: 0 0 3px rgba(102, 204, 255, 0.5);
    color: #666;
}

input#loginButton:hover {
    background: #69f;
    border: 1px solid #36f;
    color: #FFF;
    text-shadow: 0 0 #FFF;
}

input#loginButton {
    background: #cfd1d2;
    border: 1px solid #bbbdbe;
    border-radius: 3px;
    height: 25px;
    width: 65px;
    font-family: "B Yekan", serif;
    font-size: 12px;
    text-shadow: 0 1px #fff;
    cursor: pointer;
}

#square {
    width: 176px;
    height: 176px;
    background: url('../images/main/square.png') no-repeat;
    -webkit-animation: spin 10000ms infinite linear;
    -moz-animation: spin 10000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg)
    }
    50% {
        -webkit-transform: rotate(180deg)
    }
    100% {
        -webkit-transform: rotate(360deg)
    }
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg)
    }
    50% {
        -moz-transform: rotate(180deg)
    }
    100% {
        -moz-transform: rotate(360deg)
    }
}

/*عضویت*/
#pageCoverWhenShowError {
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    opacity: .4;
    background: #000;
}

.message_div {
    cursor: pointer;
}

.popUp {
    display: none;
    position: absolute;
    right: 30%;
    top: 25%;
    width: 490px;
}

.showError {
    border: 1.7px solid #989898;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 5px #000;
    position: relative;

}

#innerTxt {
    line-height: 180%;
    padding: 20px 30px;
    text-align: justify;
    font-size: 13px;
    border-radius: 0 0 3px 3px;
    color: #757575;
    background: url("../images/main/inerTxt.png") repeat-x scroll 0 0 #d8d9db;
}

#errorHead {
    padding: 4px;
    color: #000568;
    background: #5bb5de;
    border-top: 1px solid #d7ecf7;
    border-radius: 5px 5px 0px 0px;
    height: 30px;
    font-size: 20px;
    font-family: "B Yekan", serif;
    padding-right: 22px;
}

#errorHead b:hover {
    background-position: 0 bottom;
}

#errorHead b {
    background: url("../images/main/cancel.png") repeat scroll 0 0 transparent;
    float: left;
    height: 25px;
    margin-top: 2px;
    width: 25px;
    cursor: pointer;
}

#successHead {
    padding: 4px;
    color: #145468;
    background: #3bdebe;
    border-top: 1px solid #d7ecf7;
    border-radius: 5px 5px 0px 0px;
    height: 30px;
    font-size: 20px;
    font-family: "B Yekan", serif;
    padding-right: 22px;
}

#successHead b {
    background: url("../images/main/cancel.png") repeat scroll 0 0 transparent;
    float: left;
    height: 25px;
    margin-top: 2px;
    width: 25px;
    cursor: pointer;
}

a {
    color: inherit;
}

/*body {
    direction: rtl;
}

.language-header {
    float: left;
}*/

.error_message_box {
    color: red;
    padding: 10px;
    border: solid 1px red;
    background-color: #FFD4CC;
    margin-bottom: 10px;
    position: relative;
    margin-top: 10px;

}

.errorlist {
    color: red;
    padding: 10px;
    border: solid 1px red;
    background-color: #FFD4CC;
    margin-bottom: 10px;
    position: relative;
    margin-top: 10px;
    list-style: none;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.fancybox-title {
    position: absolute;
    top: 0;
    height: 20px;
}

.fancybox-skin {
    position: relative;
}

.message_box {
    border: 1px solid #033992;
    border-radius: 4px;
    padding: 8px;
    background: rgba(245, 240, 245, 0.5)
}

.messages_table {
    width: 100%;
    border: 1px solid #C2D0F5;
    border-collapse: collapse;
}

.messages_table thead {
    width: 80px;
    height: 30px;
    font-size: 13px;
    color: #4161BB;
    padding-right: 5px;
    /*text-align: center;*/
    background-color: #D0DFFC;
    font-weight: normal;
    border-left: 1px solid #C2D0F5;
    border-right: 1px solid #C2D0F5;
}

.messages_table td {
    height: 27px;
    border: 1px solid #ECEEED;
    border-right-color: #C2D0F5;
    border-left-color: #C2D0F5;
    padding-right: 5px;
}

.message_row:hover {
    color: #CA9C09;
    background-color: #FFFFCB;
    cursor: pointer;
}

.unread_message {
    background-color: rgba(240, 240, 140, 0.7);
    border-color: #C2D0F5;
}

.message_box legend {
    color: #129CC3;
    font-size: 15px;
    padding-right: 29px;
    background: url('../images/main/message.png') no-repeat right;
}

.no_message {
    font-size: 15px;
}

.selected {
    background-color: #FFC200;
}

#site-map {
    margin-top: -15px;
    background-color: rgba(200, 200, 240, 0.3);
    width: 100%;
    padding-left: 20px;
    margin-left: -10px;
    margin-right: -10px;
    height: 24px;
    padding-top: 6px;
    color: #666;
    text-shadow: 0 1px #FFF;
}

.inline-p {
    display: inline;
    padding: 0 10px;
}

.extra-button {
    position: relative;
}

.remaining-grant {
    position: absolute;
    top: 1px;
    left: 4px;
    border: 1px solid #CCC;
    padding: 6px;
    border-radius: 3px;
    color: #2E6E9E;
    z-index: 3;
    box-shadow: 0 0 3px #ccc;
}

.remaining-grant-filter {
    border: 1px solid #CCC;
    padding: 3px;
    border-radius: 3px;
    color: #2E6E9E;
    z-index: 3;
    box-shadow: 0 0 3px #ccc;
    margin-left: 10px;
    float: left;
}

[readonly]:not[class*=crud] {
    border: 0 !important;
    background: #F4F4F4 !important;
}

.ui-widget, .ui-button .ui-button-text, .ui-jqgrid .ui-pg-table td {
    font-family: "B Yekan", serif;
    font-size: 11px;
    font-weight: normal;
}

.no-display {
    display: none;
}

.login-comment {
    direction: rtl;
    color: #337;
    margin-top: 8px;
}
