﻿html, body, form {
    margin: 0px;
    padding: 0px;
    height: 100%;
    font-size: 14px;
    color: black;
}
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: Tahoma;
}

a {
    text-decoration: none
}

input, select {
    font-size: 14px;
}

.center { text-align:center }
.rtl {direction: rtl }
.ltr {direction: ltr }
.floatR { float:right }
.floatL { float:left }
.hidden { display: none; }
.redWarn { color:red }
.greenWarn { color:green }
.red { color:red }
.green { color:green }
.farsi { font-family: Tahoma }

.gButton {
    height: 40px;
    zzzzline-height: 42px;
    font-size: 14px;
    color: white;
    background: #DAAF00;
    padding: 0px 0px 5px 0px !important;
    cursor: pointer;
    border: 0px;
}
input::-webkit-input-placeholder { /* Chrome */
    color: #D3D2D7;
    font-size: 14px;
    text-align: right;
    font-family: Tahoma;
    direction: rtl;
}
input::-moz-placeholder { /* Firefox 19+ */
    color: #D3D2D7;
    opacity: 1;
    font-size: 20px;
    text-align: right;
    font-family: Tahoma;
    direction: rtl;
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
    -webkit-text-fill-color: black;
}

.allArea {
    zzzmax-width: 2000px;
    height: 100%;
    margin: 0px auto 0px auto;
    padding: 0px;
}
    .allArea .topArea {
        overflow: auto;
        min-height: 85px;
    }
        .allArea .topArea .exit {
            float: left;
            margin: 10px 0px 0px 35px;
            color:white;
            cursor: pointer;
        }
        .allArea .topArea .companyName {
            float: left;
            display: inline-block;
            margin: 12px 0px 0px 15px;
        }
        .allArea .topArea .logo {
            float: right;
            width: 500px;
            height: 80px;
            margin-top: 0px;
        }

.centerArea {
    height: calc( 100% - 127px );
}

.mainArea {
    float: left;
    height: 100%;
    background-color: #FFFFFF;
    width: 100%;
    color: black;
    margin-right: 2px;
}

.centerArea .mainArea .top {
    overflow:auto;
    position: relative;
    min-height: 40px;
    border-bottom: 2px solid #263238;
}

.tabsArea {
    position: relative;
    height: 100%;
    background-color: #E3E3E3;
    overflow: hidden;
    direction: rtl
}
.footer {
    min-height: 40px;
}
#toast {
    display:none;
    position:absolute;
    top:40px;
    left:0px;
    right:0px;
    max-width:400px;
    min-height:30px;
    margin:0px auto 0px auto;
    background-color:red;
    color:white;
    text-align:center;
    padding:5px 20px 5px 20px;
    direction: rtl;
    z-index: 211
}

.chgPasFrm {
    display: none;
    position: fixed;
    top: 104px;
    left: calc( 50% - 280px );
    width:100%;
    max-width: 560px;
    border: 1px solid white;
    background-color: white;
    text-align: center;
    z-index: 4;
}
    .chgPasFrm .header {
        height: 40px;
        line-height: 40px;
        background-color: #6A655E;
        color: white;
        font-size: 14px;
        text-align: center;
    }
        .chgPasFrm .header .close {
            position: absolute;
            top:7px;
            left:7px;
            cursor: pointer;
        }
    .chgPasFrm .main {
        padding-top: 28px;
    }
        .chgPasFrm .main input[type="password"] {
            width: 368px;
            height: 40px;
            margin-top: 20px;
            padding:0px 5px 0px 5px;
            border: 1px solid #A9A9A9;
            direction: ltr;
        }
        .chgPasFrm .main .btnSave {
            width: 200px;
            height: 40px;
            margin: 40px auto 48px auto;
        }

.darkBG {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #000000;
    opacity: 0.75;
    z-index: 3;
}

@media (max-width: 570px) {
    .allArea {
        padding: unset;
    }

}
