/* common */

body,
table,
th,
td,
p {
    font-size: 100%;
    text-align: right;
    direction: rtl;
}

body,
table,
th,
td,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
p {
    font-family: 'Vazirmatn FD';
}

table,
th,
td {
    border: 1px solid black;
    font-size: 16px;
    color: black;
    vertical-align: middle !important;
    text-align: center !important;
}


/* font-weight */

.btn {
    font-weight: 700;
}

.bmd-label-floating,
b,
strong,
table,
th,
td,
.table thead tr th,
.sidebar .nav p {
    font-weight: 900;
}

/* font-size */

.form-check,
label,
.btn {
    font-size: 1rem;
}

/* fish */

/* TODO :: load custom font files */
.single-fish table,
.single-fish th,
.single-fish td,
.single-fish p {
    font-family: "b titr";
    font-size: 14px !important;
}

.single-fish td {
    padding: 1pt !important;
}

.fish-inline-input {
    width: 100%;
    border-radius: 5px;
    border: 1px solid navy !important;
}

.fish-dynamic-cell {
    padding: 5px 0;
    vertical-align: top !important;
}

.fish-dynamic-cell .row {
    border-bottom: 1.0pt solid black;
}

.fish-dynamic-cell .col-md-6 {
    padding: 0;
}

.fish-dynamic-cell .col-md-6:first-child {
    color: navy;
    text-align: right;
}

.fish-dynamic-cell .col-md-6:last-child {
    color: black;
    text-align: left;
}

/* shared */

.col-centered {
    margin: 0 auto;
    text-align: center;
}

.text-orange {
    color: #b36125;
}

.hide {
    display: none !important
}

.card-category {
    font-weight: bold;
}

/* navabr */

.main-panel>.content {
    margin-top: 50px;
    min-height: calc(100vh - 135px);
}

/* header */

.loader1 {
    width: 100%;
    height: -webkit-fill-available;
    position: absolute;
    float: none;
    margin: 0 auto;
    text-align: center;
    background-color: black;
    padding-top: 180px;
    background-color: rgb(0, 0, 0, 0.6);
    z-index: 4;
}

.loader2 {
    width: 120px;
    height: 120px;
    float: none;
    margin: 0 auto;
    text-align: center;
}

/* login */

.login-alert {
    background-image: linear-gradient(195deg, #747b8a, #495361);
}

.login-bg {
    background-image: url("../img/Microsoft_login_screen.png");
    background-repeat: no-repeat;
    background-size: cover;

}

.login-bg button {
    font-size: 1rem !important;
    display: flex;
    justify-content: start;
    align-items: center;
}

.login-bg button span {
    margin-right: 10px;
}

/* custom alerts */

.alert-box {
    color: #555;
    border-radius: 10px;
    font-size: 11px;
    padding: 10px 72px 10px 36px;
    margin: 1rem 0;
    border-radius: 12px;
}

.alert-box span {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.alert-box.error {
    background: #ffecec url('../img/cancel-icon.png') no-repeat 10px 50%;
    border: 1px solid #f5aca6;
    background-position: right 15px center;
    background-size: 50px;
    color: #ff4949;
}

.alert-box.success {
    background: #e9ffd9 url('../img/ok-icon.png') no-repeat 10px 50%;
    border: 1px solid #a6ca8a;
    background-position: right 15px center;
    background-size: 50px;
    color: #4f9400;
}

.alert-box.warning {
    background: #fff8c4 url('../img/404.png') no-repeat 10px 50%;
    border: 1px solid #f2c779;
    background-position: right 15px center;
    background-size: 50px;
    color: #b17200;
}

.alert-box.notice {
    background: #e3f7fc url('../img/notice-icon.png') no-repeat 10px 50%;
    border: 1px solid #8ed9f6;
    background-position: right 15px center;
    background-size: 50px;
    color: #0092b7;
}

.alert-box .notice_exp {
    color: black;
}

/* custom btn-primary */

.btn.btn-primary {
    outline: none !important;
    color: #fff;
    background-image: linear-gradient(195deg, #49a3f1 0%, #1A73E8 100%);
    background-color: #1A73E8;
    border-color: #1A73E8;
    box-shadow: 0 3px 3px 0 rgb(26 115 232 / 15%), 0 3px 1px -2px rgb(26 115 232 / 20%), 0 1px 5px 0 rgb(26 115 232 / 15%);
}

.btn.btn-primary:hover {
    color: #fff;
    border-color: #155cba;
    background-color: #1662c5;
    box-shadow: 0 14px 26px -12px rgb(26 115 232 / 40%), 0 4px 23px 0 rgb(26 115 232 / 15%), 0 8px 10px -5px rgb(26 115 232 / 20%);
}

.btn.btn-primary:active {
    color: #fff !important;
    background-color: #155cba !important;
    box-shadow: none !important;
    border-color: #1456ae !important;
}

.btn.btn-primary:disabled {
    color: #fff !important;
    background-color: #1A73E8 !important;
    box-shadow: none !important;
    border-color: #1A73E8 !important;
}

/* custom form labels */

.bmd-label-floating {
    width: 100%;
    text-align: right !important;
}

/* custom inp */

.inp {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 280px;
    border-radius: 3px;
    overflow: hidden;
    transform: scale(0.75);
}

.inp .label {
    position: absolute;
    top: 20px;
    left: 12px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    transform-origin: 0 0;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
    pointer-events: none;
}

.inp .focus-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
}

.inp input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    border: 0;
    font-family: inherit;
    /* padding: 16px 12px 0 12px; */
    padding: 0px 12px 0 12px;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.02);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    color: #000;
    transition: all 0.15s ease;
}

.inp input:hover {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.inp input:not(:-moz-placeholder-shown)+.label {
    color: rgba(0, 0, 0, 0.5);
    transform: translate3d(0, -12px, 0) scale(0.75);
}

.inp input:not(:-ms-input-placeholder)+.label {
    color: rgba(0, 0, 0, 0.5);
    transform: translate3d(0, -12px, 0) scale(0.75);
}

.inp input:not(:placeholder-shown)+.label {
    color: rgba(0, 0, 0, 0.5);
    transform: translate3d(0, -12px, 0) scale(0.75);
}

.inp input:focus {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
    box-shadow: inset 0 -2px 0 #0077FF;
}

.inp input:focus+.label {
    color: #0077FF;
    transform: translate3d(0, -12px, 0) scale(0.75);
}

.inp input:focus+.label+.focus-bg {
    transform: scaleX(1);
    transition: all 0.1s ease;
}

/* EOF */