@font-face {
    font-family: vazir;
    src: url(../fonts/vazir.woff2);
}

body {
    font-family: vazir !important;
    background: #E7E7E7;
}

/*p{*/
/*    font-family: vazir !important;*/
/*}*/
:not(i){
    font-family: vazir !important;
}
/*table{*/
/*    font-family: vazir !important;*/
/*}*/


.mr-n3{
    margin-right: -12px;
}


.ml-n3{
    margin-left: -12px;
}


.custom-group {
    direction: rtl;
    text-align: right;
    margin-bottom: 20px;
}

.custom-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1.1rem;
    font-size: 1.063rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(25, 118, 210,0.55);
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .custom-control {
        transition: none;
    }
}

.custom-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.custom-control:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #495057;
}

.custom-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #b9d0f8;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210,0.55);
}

.custom-control::-webkit-input-placeholder {
    color: #868e96;
    opacity: 1;
}

.custom-control::-moz-placeholder {
    color: #868e96;
    opacity: 1;
}

.custom-control:-ms-input-placeholder {
    color: #868e96;
    opacity: 1;
}

.custom-control::-ms-input-placeholder {
    color: #868e96;
    opacity: 1;
}

.custom-control::placeholder {
    color: #868e96;
    opacity: 1;
}

.custom-control:disabled, .custom-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

input[type="date"].custom-control,
input[type="time"].custom-control,
input[type="datetime-local"].custom-control,
input[type="month"].custom-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.custom-control:focus::-ms-value {
    color: #495057;
    background-color: #fff;
}

.custom-control-file,
.custom-control-range {
    display: block;
    width: 100%;
}

.col-form-label {
    padding-top: calc(0.5rem + 1px);
    padding-bottom: calc(0.5rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.col-form-label-lg {
    padding-top: calc(0.5rem + 1px);
    padding-bottom: calc(0.5rem + 1px);
    font-size: 1.32875rem;
    line-height: 1.5;
}

.col-form-label-sm {
    padding-top: calc(0.25rem + 1px);
    padding-bottom: calc(0.25rem + 1px);
    font-size: 0.930125rem;
    line-height: 1.5;
}

.custom-control-plaintext {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    margin-bottom: 0;
    font-size: 1.063rem;
    line-height: 1.5;
    color: #343a40;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}

.custom-control-plaintext.custom-control-sm, .custom-control-plaintext.custom-control-lg {
    padding-right: 0;
    padding-left: 0;
}

.custom-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.930125rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.custom-control-lg {
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1.32875rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

select.custom-control[size], select.custom-control[multiple] {
    height: auto;
}

textarea.custom-control {
    height: auto;
}


.p-date{
    padding: 10px;
    border: 1px solid rgba(25, 118, 210,0.55);
    border-radius: 0.25rem;
}

.p-date:focus {
    color: #495057;
    background-color: #fff;
    border-color: #b9d0f8;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210,0.55);
}
