@font-face {
    font-family: IRANSans;
    src: url('../fonts/IRANSans/IRANSansWeb_Light.woff') format('woff');
}

* {
    direction: rtl;
    text-align: right;
    font-family: IRANSans;
}
form {
    /* removes space below form elements */
    margin: 0;
    padding: 0;
}
header,footer
{
    margin:auto;
}
.bg-gray {
    background-color: #fff;
    color: rgb(237, 147, 33)c;
    border: 2px solid #C5D0D2;
}

.pointer {
    cursor: pointer;
}

.bg-custom-yellow {
    background: -webkit-gradient(linear, left top, right top, from(#feb798), to(#fe9365));
    background: linear-gradient(to right, #feb798, #fe9365);
}

.bg-custom-green {
    background: linear-gradient(to right, #0df3a3, #0ac282);
}

.bg-custom-pink {
    background: linear-gradient(to right, #fe909d, #fe5d78);
}

.bg-custom-blue {
    background: linear-gradient(to right, #01dbdf, #01a9ac);
}
.Loginlogo{
    max-height:10rem;
}

.login-body {
    font-family: IRANSans;
    background-color: #404E67 !important;
    min-height: 100vh;
}

.login-card {
    border: 0;
    border-radius: 27.5px;
    box-shadow: 0 10px 30px 0 rgb(172 168 168 / 43%);
    overflow: hidden;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}


.login-card-img {
    border-radius: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.brand-wrapper img {
    margin-bottom: 19px;
}

.brand-wrapper img {
    margin: auto;
}

.footer-link {
    position: absolute;
    bottom: 1rem;
    text-align: center;
    width: 100%;
}

.login-card-description {
    font-weight: bolder;
    font-size: 24px;
    margin: 20px;
    padding:30px;
    color: #917016;
    box-shadow: 4px 4px 4px 4px #999;
    background-color: #BEF4E9;
    border-radius: 10px 10px 10px 10px;
}

.login-content {
    font-weight: bolder;
    font-size: 14px;
    color: #1e54a0;
    ;
}

.login-btn {
    font-weight: bolder;
    font-size: 18px;
    color: #fff;
    /*background-color: rgb(237, 147, 33);*/
    background-color: #404E67;
}
    .login-btn:hover {
        color: red !important;
    }

.Loginlogo-company {
    text-align: center;
    max-height: 14rem;
    /*border: 2px solid gray;*/
    /*box-shadow: 4px 4px 4px 5px #999;*/
    /*border-radius: 50%;*/
}
.brand-wrapper img{
    text-align:center !important;
}
.pg-header {
    background-color: rgb(237, 147, 33) !important;
}

tr.GridHeader {
    background-color: rgb(7, 74, 39);
    border: 2px solid #DBE6FD;
}


table th {
    color: #fff;
    padding: 10px;
    text-align: center;
    /*border-bottom: 1px solid #ddd;*/
    font-size: 15px !important;
}

    table th > a {
        color: #fff;
        /*padding: 10px;*/
        text-align: center;
        width: 100%;
        font-size: 12px !important;
        text-decoration: none;
    }

table td {
    font-size: 14px !important;
    font-family: IRANSans !important;
    font-weight: 600;
}

table tr:hover {
    background-color: #E3BD27;
}


/*table tr:nth-child(odd) {
    background-color: #ccc9c9;
}*/


caption {
    caption-side: top !important;
    text-align: right;
}

.GridItems > th, td {
    padding: 5px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}



tr:nth-child(even) {
    background-color: #ccc9c9;
}


.GridTitle {
    padding: 10px;
    font-size: 15px;
    background-color: bisque;
    color: darkblue;
    border-bottom: solid 1px #DBE6FD;
    height: 40px;
    align-items: center;
    font-weight: 600;
    width: 10rem;
    margin-right: 10px;
    font-family: IRANSans;
}

.GridHeader {
    background-color: #e6e6e6;
    font-size: 11px;
    color: #777777;
    border-bottom: solid 1px #DBE6FD;
    font-weight: normal;
    border: transparent;
}

.GridHeaderLeft {
    border-bottom: solid 1px #DBE6FD;
    background: url(images/capr.png) no-repeat;
    width: 25px;
}

.GridHeaderRight {
    border-bottom: solid 1px #DBE6FD;
    background: url(images/capl.png) no-repeat;
    width: 25px;
}

.GridItems {
    font-size: 9pt;
    padding-bottom: 6;
    padding-left: 6;
    padding-right: 6;
    padding-top: 6;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
    /*border-left: 1px solid #dbe6fd;
    border-right: 1px solid #dbe6fd;
    border-top: 1px solid #DBE6FD;
    border-bottom: 1px solid #DBE6FD;*/
    background-color: White;
}

.GridItem {
    font-size: 9pt;
    padding-bottom: 6;
    padding-left: 6;
    padding-right: 6;
    padding-top: 6;
    text-align: center;
    margin-left: 2px;
    margin-right: 2px;
    border-left: 2px solid #DBE6FD;
    border-right: 2px solid #DBE6FD;
    border-top: 2px solid #DBE6FD;
    border-bottom: 2px solid #DBE6FD;
    background-color: #e3ebef;
}

.GridRowAlternative {
    text-align: center;
    font-size: 11px;
    margin-left: 2px;
    margin-right: 2px;
    /*border-left: 2px solid #DBE6FD;
    border-right: 2px solid #DBE6FD;
    border-top: 2px solid #DBE6FD;
    border-bottom: 2px solid #DBE6FD;*/
    background-color: #c5c8cc;
}

.page-status {
    border: 1px solid rgb(196, 190, 184);
    background-origin: padding-box;
    /* border-radius: 10px 10px 10px 10px; */
    color: #000000;
    line-height: 30px;
    font-weight: 900px;
    text-align: center;
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 0;
    padding: 10px;
}

    .page-status:active {
        background-color: #E3BD27;
    }

.caption {
    border: 1px solid rgb(196, 190, 184);
    background-origin: padding-box;
    /* border-radius: 10px 10px 10px 10px; */
    color: #000000;
    line-height: 27px;
    font-weight: 900px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin: 5px;
    background-color: #E3BD27;

    padding: 10px;
    width: 150px;
}

.iframe {
    width: 100%;
    height: 1000px;
}

a:hover {
    text-decoration: none;
    color: #FE8A7D;
}

.shadow-box {
    box-shadow: 0 .5rem 1rem #E3BD27 !important;
}
.chead{
    background-color:bisque;
    line-height:20px;
    padding:20px;
    border-radius:15px;
}

.FieldsTable{
    padding:20px;
}

.TextItem {
    line-height: 30px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin: 20px;
}

    .TextItem:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
    }

.btnsave{
    width:10rem;
    background-color:forestgreen !important;
    line-height:2rem;
    border-radius:2px;
    margin:5px;
}
.btnSearch {
    width: 10rem;
    background-color: orange !important;
    line-height: 2rem;
    border-radius: 2px;
    margin: 5px;
}

.btnLast {
    width: 20px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Last.png) no-repeat;
}

.btnFirst {
    width: 20px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/First.png) no-repeat;
}

.btnPrev {
    width: 20px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Previous.png) no-repeat;
}

.btnGo {
    width: 20px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Apply.png) no-repeat;
}

.btnNext {
    width: 20px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Next.png) no-repeat;
}

.btnSave {
    width: 34px;
    height: 33px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Save.png) no-repeat;
}

.btnUpdate {
    width: 34px;
    height: 32px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Save.png) no-repeat;
}

.btnDelete {
    width: 34px;
    height: 32px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Delete.png) no-repeat;
}

.btnSearch {
    width: 34px;
    height: 32px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Search.png) no-repeat;
}

.btnCancel {
    width: 32px;
    height: 32px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Cancel.png) no-repeat;
}

.btnRefresh {
    width: 32px;
    height: 32px;
    border-style: hidden;
    border-style: none;
    cursor: pointer;
    background: url(../images/Refresh.png) no-repeat;
}

.pg-btn-group
{
    margin-top:20px;
    align-items:center;
}

.MessageItem {
  
    font-size: 13pt;
    color: #5c1315;
    font-weight:600;
}