@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir.woff2') format('woff2'),
    url('../fonts/Vazir.woff') format('woff'),
    url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Bold.eot');
    src: url('../fonts/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir-Bold.woff2') format('woff2'),
    url('../fonts/Vazir-Bold.woff') format('woff'),
    url('../fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Light.eot');
    src: url('../fonts/Vazir-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir-Light.woff2') format('woff2'),
    url('../fonts/Vazir-Light.woff') format('woff'),
    url('../fonts/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Medium.eot');
    src: url('../fonts/Vazir-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir-Medium.woff2') format('woff2'),
    url('../fonts/Vazir-Medium.woff') format('woff'),
    url('../fonts/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Thin.eot');
    src: url('../fonts/Vazir-Thin.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir-Thin.woff2') format('woff2'),
    url('../fonts/Vazir-Thin.woff') format('woff'),
    url('../fonts/Vazir-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Black.eot');
    src: url('../fonts/Vazir-Black.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir-Black.woff2') format('woff2'),
    url('../fonts/Vazir-Black.woff') format('woff'),
    url('../fonts/Vazir-Black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: Samim;
    src: url("../fonts/samim/Samim-FD.eot");
    src: url("../fonts/samim/Samim-FD.eot?#iefix") format("embedded-opentype"),
    url("../fonts/samim/Samim-FD.woff") format("woff"),
    url("../fonts/samim/Samim-FD.ttf") format("truetype");
    font-weight: 100;
}

/*---------------------------------- End of fonts ---------------------------------- */

body {
    font-family: 'Samim', sans-serif !important;
}

i {
    vertical-align: middle;
}

.ltr {
    direction: ltr;
}


ul {
    padding-inline-start: 0px;
}

.dropdown-item {
    text-align: right;
}

.dropdown-footer, .dropdown-header {
    text-align: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-left: .5rem;
}


/*------------------------------------ contacts-list ------------------------------------*/

.contacts-list-img {
    float: right;
}

.contacts-list-info {
    margin-right: 45px;
    margin-left: 0;
}


/* sidebar */

.sidebar {
    direction: ltr;
}

.sidebar > div:first-child {
    direction: rtl;
}

.control-sidebar, .control-sidebar:before {
    left: -250px;
    right: auto;
    transition: left .3s ease-in-out;
}

.control-sidebar-slide-open .control-sidebar, .control-sidebar-slide-open .control-sidebar:before {
    left: 0;
    right: auto;
}

.small-box .icon {
    right: auto;
    left: 10px;
}

.nav-sidebar .nav-link > p > .right {
    left: 1rem;
    right: auto;
}

.nav-sidebar > .nav-item .nav-icon {
    margin-right: 0;
    margin-left: .2rem;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem;
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0rem !important;
        margin-right: 4.6rem !important;
        z-index: 100;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar:before {
        margin-right: 0;
        width: 4.6rem;
    }
}


@media (min-width: 768px) {
    .content-wrapper, .main-footer, .main-header {
        transition: margin-right .3s ease-in-out;
        margin-right: 250px;
        margin-left: 0;
        z-index: 3000;
    }
}

@media (max-width: 991.98px) {
    .main-sidebar, .main-sidebar:before {
        box-shadow: none !important;
        margin-right: -250px;
        margin-left: 0;
    }

    .content-wrapper, .content-wrapper:before, .main-footer, .main-footer:before, .main-header, .main-header:before {
        margin-right: 0;
    }

    .sidebar-open .main-sidebar, .sidebar-open .main-sidebar:before {
        margin-right: 0;
        z-index: 4000;
    }
}

.sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar:before {
    margin-right: -250px;
}

.main-sidebar {
    left: auto;
    right: 0;
}

/* Cards */

.card-header > .card-tools {
    right: auto;
    left: 1rem;
}

.user-block img {
    float: right;
}

.attachment-block .attachment-img {
    float: right;
}

.attachment-block .attachment-pushed {
    margin-left: 0;
    margin-right: 110px;
}

.card-comments .card-comment img, .img-lg, .img-md, .img-sm, .user-block.user-block-sm img {
    float: right;
}

.card-comments .comment-text {
    margin-right: 40px;
    /*margin-left: 0;*/
}

.card-comments .card-comment img + .img-push, .img-sm + .img-push, .user-block.user-block-sm img + .img-push {
    margin-left: 0;
    margin-right: 40px;
}

.user-block .comment, .user-block .description, .user-block .username {
    margin-right: 50px;
    margin-left: 0;
}

.btn-group-vertical {
    align-items: center;
}


/*------------------------- Form ----------------------------*/
.select2-container .select2-search--inline {
    float: right;
}

.select2-container--default .select2-search--inline .select2-search__field {
    text-align: right;
}

/*----------------------- Extra Page ---------------------------*/
.error-page > .headline {
    float: right;
}

.error-page > .error-content {
    margin-right: 190px;
    margin-left: 0;
}

.lockscreen-image {
    left: auto;
    right: -10px;
}

.lockscreen-credentials {
    margin-left: 0px;
    margin-right: 70px;
}

.nav {
    padding-inline-start: 0px !important;
}

/*---------------------------------- Persian Date Picker ---------------------------------- */
video, audio {
    width: 100%;
}

.datepicker-plot-area {
    font-family: 'Vazir', sans-serif;
}

.login-page:before {
    background-position: 50%;
    -moz-background-size: 600px;
    background-size: 600px;
    background-image: url('../img/icon-background.png');
    position: absolute;
    height: 100%;
    display: block;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    content: "";
    opacity: .1;
    pointer-events: none;
}

.user-login:before {
    background-position: 50%;
    -moz-background-size: 600px;
    background-size: 600px;
    background-image: url('../img/icon-background-user.jpg');
    position: absolute;
    height: 100%;
    display: block;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    content: "";
    opacity: .17;
    pointer-events: none;
}

.landing-page:before {
    /*background-position: 50%;*/
    background-size: 1300px;
    background-image: url('../img/landing-background.jpg');
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    top: 0;
    left: 0;
    content: "";
    opacity: .7;
    pointer-events: none;
}

.custom-file-input {
    cursor: grab;
}

.custom-file-label::after {
    content: "انتخاب کنید";
    border-radius: 0 !important;
    right: 0;
    left: auto;
    overflow: hidden;
}

form .main .custom-file label span {
    overflow: hidden;
    white-space: nowrap;
    font-size: 11px;
    line-height: 25px;
}

table.table-bordered tr td:last-child {
    border-right-width: 1px !important;
}

table.table-bordered tr button.btn-app,
table.table-bordered tr a.btn-app {
    margin: 5px;
    padding: 2px;
    height: 43px;
    /*width: 60px !important;*/
}

table.table-bordered tr a.auto-width {
    width: auto !important;
}

table.table-bordered tr button.btn-app-submit,
table.table-bordered tr a.btn-app-submit {
    margin: 5px;
    padding: 5px;
    height: 50px;
    width: 60px !important;
}

table.table-bordered tr button.btn-app-reject,
table.table-bordered tr a.btn-app-reject {
    margin: 5px;
    padding: 5px;
    height: 50px;
    width: 60px !important;
}

table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable td:last-child, table.table-bordered.dataTable td:last-child {
    border-right-width: 1px !important;
}

.dataTables_wrapper .row:first-child div.col-sm-12:last-child {
    order: 1;
}

.dataTables_wrapper .row:first-child div.col-sm-12:first-child {
    order: 2;
}

.dataTable thead {
    background-color: #eeeeee75;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                     supported by Chrome and Opera */
}

/** switchable button */
.switch {
    position: relative;
    display: block;
    width: 90px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:after {
    content: "ندارد";
    font-size: 14px;
    position: absolute;
    top: 7px;
    right: 10px;
    color: #555;
}

input:checked + .slider:after {
    content: "دارد";
    left: 10px;
    right: auto;
    color: #fff;
}


.hidden-slider:after {
    content: "" !important;
}

.active-slider:after {
    content: "غیرفعال" !important;
}

input:checked + .active-slider:after {
    content: "فعال" !important;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(56px);
    -ms-transform: translateX(56px);
    transform: translateX(56px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.divider {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, #f0f0f0, #d9d9d9, #f0f0f0);
    background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    display: block;
    width: 100%;
    margin: 25px 0;
}

.show-error {
    font-size: 12px;
    font-weight: bold;
    padding-top: 8px;
    color: #dc3545;
    text-align: right;
    display: block;
    position: absolute;
}

.show-upload-error {
    bottom: -25px;
}

.swal-footer {
    text-align: center !important;
}

.text-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    line-height: 45px;
    display: inline-block;
    float: right;
    margin-left: 15px;
    box-shadow: 0px 0px 3px #5f5f5f5c;
    border: 1px solid #fff;
}

input[type='search'] {
    min-width: 250px;
}

.widget-btn-edit {
    left: 15px;
    top: 10px;
}

.widget-btn-edit a {
    font-size: 20px;
}

table {
    width: 100% !important;
}

td.dataTables_empty {
    text-align: center;
}

ul.pagination {
    justify-content: flex-end;
}

.red-switch input:checked + .slider {
    background-color: #da1b38 !important;
}

.red-switch input:focus + .slider {
    box-shadow: 0 0 1px #da1b38 !important;
}

.none-switch .slider.active-slider:after,
.none-switch .slider:after {
    content: '' !important;
}

.bg-2196F3 {
    background-color: #2196F3;
    box-shadow: #2196F3;
}

.select2-container {
    width: 100% !important;
}

.select2-container,
.select2-container--default .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}

.show-switch-error {
    position: absolute;
    width: 250px;
    z-index: 2;
    left: -20px;
    top: 50px;
}

#profile-create .show-error {
    font-size: 12px;
    font-weight: bold;
    padding-top: 8px;
    color: #dc3545;
    text-align: right;
    display: block;
    position: initial;
}

#profile-edit .show-error {
    font-size: 12px;
    font-weight: bold;
    padding-top: 8px;
    color: #dc3545;
    text-align: right;
    display: block;
    position: initial;
}

#agent_submit .show-error {
    font-size: 12px;
    font-weight: bold;
    padding-top: 8px;
    color: #dc3545;
    text-align: right;
    display: block;
    position: initial;
}

.select2-container .select2-search--inline {
    float: right !important;
}

#update .show-error {
    font-size: 12px;
    font-weight: bold;
    padding-top: 8px;
    color: #dc3545;
    text-align: right;
    display: block;
    position: initial;
}

.container-checkbox {
    user-select: none;
    width: 30px;
    height: 25px;
    display: inline-block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 0;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmark {
    box-shadow: -2px -2px 0px #8db0fe, 2px -2px 0px #8db0fe, -2px 2px 0px #8db0fe, 2px 2px 0px #8db0fe;
    -moz-box-shadow: -2px -2px 0px #8db0fe, 2px -2px 0px #8db0fe, -2px 2px 0px #8db0fe, 2px 2px 0px #8db0fe;
    -webkit-box-shadow: -2px -2px 0px #8db0fe, 2px -2px 0px #8db0fe, -2px 2px 0px #8db0fe, 2px 2px 0px #8db0fe;
    padding: 8px;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.global-container {
    width: auto !important;
    min-width: 30px;
    padding-left: 35px;
    padding-right: 10px;
}

.global-container input:checked ~ .checkmark {
    background-color: #8da5ff;
}

#pause-stop-buttons {
    position: relative;
}

#recorder-timer,
#pause-stop-buttons button#pauseButton {
    position: absolute;
    top: -35px;
}

#recorder-timer {
    right: 45px;
    padding-top: 5px;
}

#pauseButton {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    animation: pulse-black 2s infinite;
}

#pauseButton.yellow {
    background: rgba(255, 177, 66, 1);
    box-shadow: 0 0 0 0 rgba(255, 177, 66, 1);
    animation: pulse-yellow 2s infinite;
}

@keyframes pulse-yellow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 177, 66, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 177, 66, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 177, 66, 0);
    }
}

.wave-container {
    margin: 0px 10px 15px 0;
    border: 2px solid #dedede;
    box-shadow: 0px 0px 5px #ececec;
    border-radius: 30px;
    background-color: #fff;
    height: 100px;
}

.wave-container wave {
    height: 96px !important;
}

.fullScreen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
}

.float {
    position: fixed;
    top: -36px;
    left: 50%;
    z-index: 9999999;
    border-radius: 0 0 40px 40px;
    height: 50px;
    width: 160px;
    margin-left: -50px;
    box-shadow: 0px 0px 10px #000;
    transition: 0.2s;
}

button.float:hover {
    top: 0;
}

.slider.no-content-switch::after,
input:checked + .slider.no-content-switch:after {
    content: "";
}

.ms-container {
    width: 100% !important;
}

.flex{ display: flex; }

.loading_bar {
    z-index: 9999 !important;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffffcf;
}

.cke_maximized {
    display: block;
    position: fixed !important;
    z-index: 9995;
    left: auto;
    top: 0px;
    width: 100%;
    right: 0;
    height: 100%;
}

.cke_dialog {
    right: 10% !important;
    width: 90% !important;
}

.cke_dialog .ImagePreviewBox {
    height: 300px !important;
    width: 100% !important;
}

.login-page {
    /*background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cb9000));*/
    /*background: linear-gradient(to bottom, #ffffff 0%, #656565 100%);*/
    /*background: #cacaca;*/
}

/**/
.select-oprtion {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#selectBox {
    width: 200px;
}

.btn-oprtaion {
    width: 90px;
    margin-right: 15px;
}

.input-select {
    width: 15px;
    height: 15px;
    cursor: pointer;
    /*margin: 10px 0;*/
}

.input-select-all {
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.card-header {
    align-items: center;
}

.content-wrapper {
    height: 84vh;
    /*position: relative;*/
    overflow-y: auto;
}

.card-body #table-message-title_wrapper .row {
    justify-content: space-between;
}

.btn-list-panel {
    padding: 0 !important;
    height: 40px !important;
}

body {
    /*overflow-y: hidden;*/
}

.card-info {
    margin-bottom: 0 !important;
}
