﻿
@font-face {
    font-family: 'myfont'!important;
    src: url('fonts/WEB.TTF') format('truetype');
}
.mdc-button .mdc-button__icon {
    font-size: x-large;
}
.mdc-circular-progress--large {
    width: 200px;
    height: 200px;
}
.mat-accordion .mat-expansion-panel {
    box-shadow: none;
}

.mat-accordion .mat-expansion-panel__header {
    margin-right: 0;
    flex-basis: auto;
    font-size: 1.2rem;
}

.mat-accordion .mat-expansion-panel__summary .after{
    margin-left:0;
    margin-right:auto;

}


.mdc-sub-menu-icon {
    position: static;
}



.mat-sort-header-row .mat-sort-header .mat-sort-header-container {
    justify-content: center
}
.mdc-table td {
    padding: 6px;
    font-size: small;
    text-align: center;
}
.mdc-table th{
    padding:6px;
    font-size:1rem;
}

.mdc-typography, .mat {
    font-family: myfont !important;
}
.mdc-list {
    font-family: myfont;
}
button:focus {
    outline: none !important;
}
.mdc-floating-label {
    font-family: myfont;
    padding :0 5px;
    z-index :10;
    background:white;
}
.mdc-dialog__title {
    font-family: myfont;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
.mdc-dialog__surface {
    overflow-y: visible;
    min-width: 340px;
    max-width: none;
}

.mat-text-field {
    font-family: IRANSansWeb;
}

.mdc-text-field--outlined {
    padding-left: 40px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    height: 48px;
    width: 280px;
    margin: 0;
    font-family: IRANSansWeb;
}

.mdc-text-field--textarea{
    padding:0!important;
    height:150px;
}
.eng .mdc-text-field__input {
    direction: ltr;
    text-align: end;
   
}
.mdc-text-field__input {
    font-family: IRANSansWeb;
}
.validation-errors {
    padding: 10px;
    border-top: 2px solid #ccc;
    margin-top:30px;
    margin-bottom:30px;
}

.validation-message {
    box-shadow: 0 0 1px 1px rgba(0,0,0,.2);
    font-size: 11px;
    font-family: myfont;
    color: #fff !important;
    background-color: #ffa500;
    border-radius: 4px;
    direction: rtl;
    padding: 3px;
    padding-right: 6px;
    padding-left: 6px;
    margin-top: 3px;
    width: fit-content;
    text-align: right;
}

.validation-errors >.validation-message {
    font-size: 11px;
    font-family: myfont;
    color: red !important;
    direction: rtl;
    padding: 3px;
    padding-right: 6px;
    padding-left: 6px;
    margin-top: 3px;
    width: fit-content;
    text-align: right;
    box-shadow:none;
    background:none;
}
.mdc-tab{
    font-family:myfont;

}
.mdc-button .mdc-button__ripple{
 
}
.mdc-button{
    font-family:myfont;
    border-color:white!important;

}
.mdc-button--raised .mdc-button__icon{
    margin-left:8px;
    margin-right:-4px;
}
.mat-file-upload-content {
    display: flex;
}

.mat-file-upload {
    padding: .75rem !important;
}

.mat-file-upload-content >.material-icons {
    color: green!important;
}

.mat-file-upload-content > span {
    color: rgba(0,0,0,.87) !important;
}
.mat-toast-icon {
    width: 36px;
    font-size: 36px;
    margin-left: 20px;
}

.mat-toast{
    direction:rtl;
}
.mat-toast-body{
    text-align:right;
}


.sf-license-warning{
    width:0;

}

.mdc-form-field > label{

    font-family:myfont;
    margin-bottom:0;
}

.mdc-select__menu{
    z-index:1000;
}

.mdc-select__dropdown-icon
{
    position:absolute;
    left:0;
}
.mdc-select__anchor
{
    padding:0!important;
}
.mdc-select__selected-text{
    padding-right:16px;
    font-family:myfont;
}
.mdc-select__anchor {
    width: 300px;
    height:48px;
}
.mdc-radio{
    padding:4px;
}
.mdc-radio .mdc-radio__native-control {
    width: 28px;
    height: 28px;
}
.mdc-checkbox
{
    padding:10px 4px;
}
.mdc-checkbox .mdc-checkbox__native-control {
    width: 28px;
    height: 28px;
}
    .mdc-checkbox .mdc-checkbox__background
    {
        left:4px;
    }


.mdc-card__media {
    width: 100px;
    height: 100px;
    margin: auto;
    margin-bottom: 0;
}
.mdc-card {
    box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 30%), 0px 1px 1px 0px rgb(0 0 0 / 30%), 0px 1px 3px 0px rgb(0 0 0 / 30%);
}

.mdc-snackbar--stacked .mdc-snackbar__label{
    font:inherit;
    font-size:small;
    text-align:right;
}