/*================================================================================
	Item Name: Robust - Responsive Admin Template
    Version: 2.0
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================
NOTE:
------
A FILE FOR RTL SUPPORT RELATED ONLY
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */
/*
================================================================================
Item: Fixing And Reset Dashboard 
Author: Mojtaba Farahani
Build-Number:1009903181454
================================================================================
*/
* {
    font-family: Vazir;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Vazir;
}

::placeholder {
    color: #ccc !important;
    font-size: 0.8rem
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #ccc !important;
    font-size: 0.8rem;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #ccc !important;
    font-size: 0.8rem;
}

.vertical-mmenu .mm-listview>li>span {
    font-family: Vazir;
    font-weight: 600;
}

.mm-menu {
    left: auto;
}

.vertical-mmenu .main-menu:not(.mm-menu) {
    display: unset;
}

.vertical-mmenu .main-menu:not(.menu-native-scroll) .mm-panels>.mm-panel {
    overflow-y: auto;
    left: 0;
}

.ps-scrollbar-x-rail,
.ps-scrollbar-y-rail {
    z-index: 999999999;
}

.table th,
.table td {
    padding: .75rem 1rem;
    vertical-align: middle;
}

.dropdown .dropdown-menu {
    z-index: -1;
}

.dropdown .dropdown-menu.show {
    z-index: 2;
}

.dropdown-toggle::after {
    font-weight: 900;
}

.save-icon-head .nav-link,
.ai-icon-head .nav-link {
    padding: 1.5rem 1rem;
}

.modal-open .modal {
    background: rgba(0, 0, 0, .5);
}

.coutndown-wrapper-time {
    cursor: pointer;
}

.brighttheme-info {
    background-color: #2aeff9;
    border: 0 solid #20869d;
    color: #00175b;
}

body>.ui-pnotify {
    position: fixed;
    z-index: 9999999999;
}

.gu-mirror figcaption {
    display: none;
}

.dropdown-item.disabled-item {
    background: #d9d9d9;
    color: #aaa;
    cursor: default;
}

img.gallery-thumbnail.card-img-top.img-thumbnail-2.img-fluid {
    min-height: 200px;
}

/******************************* useable Class *******************/
.bg-blur {
    filter: blur(1.7rem);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(245, 245, 245, 0.2);
    z-index: 333;
}

.italic-text {
    font-style: italic;
}

.bold-text {
    font-weight: bold;
}

.max-height-200 {
    max-height: 200px;
}

.height-auto {
    height: auto !important;
}

.dir-ltr {
    direction: ltr;
    text-align: left;
}

.p-half-1 {
    padding: 8px;
}

.border-radius-5 {
    border-radius: 5px;
}

.hashtag-brown {
    background: #d66806;
    padding: 5px;
    margin: auto 0px auto 5px;
    border-radius: 1px;
}

[class*="border-"].dashed {
    border-style: dashed !important;
}

[class*="border-"].dotted {
    border-style: dotted !important;
}

.full-width-pnotify {
    width: 100% !important;
    right: 0 !important;
    top: 0 !important;
}

.text-wrap {
    word-wrap: break-word;
    white-space: normal;
}

.visable-false {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.position-relative {
    position: relative;
}

.btn-soroush {
    color: #fff;
    border-color: #2b7d97 !important;
    background-color: #2b7d97 !important;
}

.btn-soroush:not(:disabled):not(.disabled):active,
.btn-soroush:not(:disabled):not(.disabled).active,
.show>.btn-soroush.dropdown-toggle {
    color: #fff;
}

.btn-bisphone {
    color: #fff;
    border-color: #E57373 !important;
    background-color: #E57373 !important;
}

.btn-bisphone:not(:disabled):not(.disabled):active,
.btn-bisphone:not(:disabled):not(.disabled).active,
.show>.btn-bisphone.dropdown-toggle {
    color: #fff;
}

.btn-gap {
    color: #fff;
    border-color: #a24cce !important;
    background-color: #a24cce !important;
}

.btn-gap:not(:disabled):not(.disabled):active,
.btn-gap:not(:disabled):not(.disabled).active,
.show>.btn-gap.dropdown-toggle {
    color: #fff;
}

.btn-bale {
    color: #fff;
    border-color: #2f3776 !important;
    background-color: #2f3776 !important;
}

.btn-bale:not(:disabled):not(.disabled):active,
.btn-bale:not(:disabled):not(.disabled).active,
.show>.btn-bale.dropdown-toggle {
    color: #fff;
}

.btn-instagram {
    display: flex;
    padding: 0;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #d2caca !important;
    color: #6748be;
}

.btn .icon-prepend {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    padding: 8px 10px;
    font-size: 25px;
    color: #fff;
    border-radius: 0 5px 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn .text-control {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-instagram:hover {
    color: #fff;
    background-color: #fd6d53;
    border: 1px solid #fff !important;
}

.select2-container {
    width: 100% !important;
}

.blocker {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    left: 0;
    top: 0;
    z-index: 999999999999999;
}

footer.footer {
    padding: 6px .8rem;
}

.removed-stage {
    opacity: 0.5;
}

.overflow-x-auto {
    overflow-x: auto;
}

/******************************** Just RTL ****************************/
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: Vazir;
}

.mr-half-1 {
    margin-right: 8px;
}

.treeview span.icon {
    margin-right: auto;
    margin-left: 5px;
}

.list-group-item.node-cgroups {
    padding: .4rem;
}

.text-indent-1 {
    text-indent: 20px;
}

select>option {
    font-family: "Vazir", tahoma;
}

.popover {
    max-width: 300px;
}

/******************************** Added **********************/
@font-face {
    font-family: Vazir;
    src: url('../../app-assets/fonts/Vazir/Vazir.eot');
    src: url('../../app-assets/fonts/Vazir/Vazir.eot?#iefix') format('embedded-opentype'), url('../../app-assets/fonts/Vazir/Vazir.woff') format('woff'), url('../../app-assets/fonts/Vazir/Vazir.ttf') format('truetype');
    font-weight: normal;
}

/*@font-face {
    font-family: Vazir;
    src: url('../../app-assets/fonts/Vazir/Vazir-Bold.eot');
    src: url('../../app-assets/fonts/Vazir/Vazir-Bold.eot?#iefix') format('embedded-opentype'), url('../../app-assets/fonts/Vazir/Vazir-Bold.woff') format('woff'), url('../../app-assets/fonts/Vazir/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: Vazir;
    src: url('../../app-assets/fonts/Vazir/Vazir-Light.eot');
    src: url('../../app-assets/fonts/Vazir/Vazir-Light.eot?#iefix') format('embedded-opentype'), url('../../app-assets/fonts/Vazir/Vazir-Light.woff') format('woff'), url('../../app-assets/fonts/Vazir/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
}
@font-face {
    font-family: Vazir;
    src: url('../../app-assets/fonts/Vazir/Vazir-Medium.eot');
    src: url('../../app-assets/fonts/Vazir/Vazir-Medium.eot?#iefix') format('embedded-opentype'), url('../../app-assets/fonts/Vazir/Vazir-Medium.woff') format('woff'), url('../../app-assets/fonts/Vazir/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: Vazir;
    src: url('../../app-assets/fonts/Vazir/Vazir-Thin.eot');
    src: url('../../app-assets/fonts/Vazir/Vazir-Thin.eot?#iefix') format('embedded-opentype'), url('../../app-assets/fonts/Vazir/Vazir-Thin.woff') format('woff'), url('../../app-assets/fonts/Vazir/Vazir-Thin.ttf') format('truetype');
    font-weight: 100;
}
@font-face {
    font-family: Vazir;
    src: url('../../app-assets/fonts/Vazir/Vazir-Black.eot');
    src: url('../../app-assets/fonts/Vazir/Vazir-Black.eot?#iefix') format('embedded-opentype'), url('../../app-assets/fonts/Vazir/Vazir-Black.woff') format('woff'), url('../../app-assets/fonts/Vazir/Vazir-Black.ttf') format('truetype');
    font-weight: 900;
}*/
/* For Dashboard */
.card-columns {
    display: flex;
    flex-flow: row wrap;
}

.card {
    flex: 1 1 100%;
}

.card.card-2 {
    flex: 1 1 calc(66.6666666% - 6px);
}

.card.card-1 {
    flex: 1 1 calc(33.3333333% - 12px);
}

.card.card-borderless {
    box-shadow: unset;
}

.card.card-borderless .card-header {
    background: transparent;
    padding: 0;
}

/* end */

.mm-selected .nav-item::before,
.mm-selected .menu.item::before {
    content: "\f30a";
    position: absolute;
    right: 2px;
    font-family: 'fontawesome' !important;
    font-weight: 900;
}

.vertical-mmenu .main-menu.menu-dark .mm-listview>li.mm-selected>a:not(.mm-next),
.vertical-mmenu .main-menu.menu-dark .mm-listview>li.mm-selected>span {
    border-left: #3bafda solid 2px;
    background: #000d15;
}

.site-logo-20 {
    width: 18px;
    margin-left: 4px;
    border-radius: 4px;
}

form.form-horizontal .form-group .label-control {
    text-align: right;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child,
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child {
    padding-right: 40px;
}

.dropdown-menu-header>.form-group.position-relative.search-in-site {
    padding: 5px 10px;
}

.dropdown-menu-header>.form-group.position-relative.search-in-site>.form-control-position {
    top: 3px;
    right: 7px;
}

.tagging .tag {
    padding: 7px 15px 7px 10px;
    margin: 5px 0 0 10px;
}

.tagging {
    position: relative;
}

.tagging .tags-suggestion {
    position: absolute;
    background: white;
    width: 100%;
    right: 0;
    border: 1px solid #cccccc;
    z-index: 99;
    overflow: hidden;
}

.tags-suggestion a {
    display: block;
    padding: 8px;
    border-top: 1px solid #ccc;
}

.content-gallery .grid-hover figure {
    min-width: auto;
    max-width: auto;
    cursor: move;
}

.content-gallery .grid-hover figure img {
    opacity: 1;
}

.content-gallery .grid-hover figure .description {
    resize: none;
    background-color: rgba(0, 0, 0, .3);
    color: #fff;
    opacity: 0;
    transition: all .5s;
}

.content-gallery .grid-hover figure:hover .description {
    opacity: .8;
}

.content-gallery .grid-hover figure p {
    font-size: 85.5%;
}

.content-gallery .grid-hover .icon-links {
    background: rgb(36, 62, 83);
    padding-top: 3px;
    margin-bottom: 2px;
    padding-bottom: 0px;
}

.content-gallery .extension-file {
    position: absolute;
    bottom: 10px;
    left: 5px;
    font-weight: bold;
    color: #000;
    font-size: 11px;
    background: #243e53f7;
    color: #fff;
    right: 5px;
    direction: ltr;
    height: 30px;
    padding: 2px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-gallery .extension-file i {
    position: absolute;
    left: 5px;
    font-size: 24px;
    border-radius: 1px;
    overflow: hidden;
}

.content-gallery .extension-file i.fas.fa-file-video {
    color: #17d2db;
}

.content-gallery .extension-file i.fas.fa-file-pdf {
    color: #df4343;
}

.content-gallery .extension-file i.far.fa-file-excel {
    color: #22ce4d;
}

.content-gallery figure {
    background: #f1f1f1;
    border: 1px solid #818a91;
    border-radius: 1px;
}

.content-gallery figure.converting-item .extension-file {
    background: #c8c4b7;
    color: #151d3c;
}

.content-gallery figure.converting-item .icon-links {
    background: #c8c4b7;
}

.content-gallery figure.completed-item .extension-file {
    background: #11d493f7;
    color: #034d40;
}

.content-gallery figure.completed-item .icon-links {
    background: #11d493f7;
}

.content-gallery figure.convert-error-item .extension-file {
    background: #a70b0bf7 !important;
    color: #fff;
}

.content-gallery figure.convert-error-item .icon-links {
    background: #a70b0bf7;
}


#photo-tracking:hover .detected-face-rect {
    opacity: .8;
}

#photo-tracking .detected-face-rect:hover input.rect-input,
#photo-tracking .detected-face-rect:hover div.rect-arrow {
    opacity: .8;
}

#photo-tracking .detected-face-rect {
    position: absolute;
    border: 2px solid #ccc;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
    opacity: 0;
    transition: all .5s;
}

#photo-tracking .rect-arrow {
    border-bottom: 7px solid white;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    left: 50%;
    margin-left: -5px;
    bottom: -12px;
    opacity: 0;
    transition: all .35s;
}

#photo-tracking .rect-suggest {
    border-radius: 1px;
    position: absolute;
    width: 125px;
    font-size: 11px;
    background-color: #fff;
    padding: 0px;
    overflow-y: auto;
    height: 140px;
    opacity: 0;
    display: none;
    font-size: 11px;
    bottom: -210px;
    right: 0;
}

#photo-tracking .rect-suggest li {
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    padding: 2px;
    text-align: center;
}

#photo-tracking .rect-suggest:hover {
    display: block;
}

#photo-tracking .rect-suggest li:hover {
    border-bottom: 1px solid #d3f7fd;
    background-color: #d3f7fd;
}

#photo-tracking .rect-input {
    border: 1px dotted #ccc;
    border-radius: 1px;
    height: 24px;
    right: 0;
    position: absolute;
    width: 125px;
    font-size: 11px;
    opacity: 0;
    transition: all .35s;
}

#photo-tracking .rect-input-1 {
    bottom: -35px;
}

#photo-tracking .rect-input-2 {
    bottom: -59px;
}

#photo-tracking input.rect-input:focus~.rect-suggest {
    opacity: 1;
    display: block;
}

#photo-tracking {
    position: relative;
    min-height: 350px;
}

#face-detection-photo-tracking .detected-face-rect {
    position: absolute;
    border: 2px solid #ccc;
    background: rgba(128, 124, 124, 0.1);
    cursor: pointer;
    transition: all .5s;
}

#face-detection-photo-tracking .rect-arrow {
    border-bottom: 7px solid white;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    left: 50%;
    margin-left: -5px;
    bottom: -12px;
    opacity: 0;
    transition: all .35s;
}

#face-detection-photo-tracking .rect-suggest {
    border-radius: 1px;
    position: absolute;
    width: 125px;
    font-size: 11px;
    background-color: #fff;
    padding: 0px;
    overflow-y: auto;
    height: 140px;
    opacity: 0;
    display: none;
    font-size: 11px;
    bottom: -210px;
    right: 0;
}

#face-detection-photo-tracking .rect-suggest li {
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    padding: 2px;
    text-align: center;
}

#face-detection-photo-tracking .rect-suggest:hover {
    display: block;
}

#face-detection-photo-tracking .rect-suggest li:hover {
    border-bottom: 1px solid #d3f7fd;
    background-color: #d3f7fd;
}

#face-detection-photo-tracking .rect-input {
    border: 1px dotted #ccc;
    border-radius: 1px;
    height: 24px;
    right: 0;
    position: absolute;
    width: 125px;
    font-size: 11px;
    opacity: .8;
    transition: all .35s;
}

#face-detection-photo-tracking .rect-input-1 {
    bottom: -35px;
}

#face-detection-photo-tracking .rect-input-2 {
    bottom: -59px;
}

#face-detection-photo-tracking input.rect-input:focus~.rect-suggest {
    opacity: 1;
    display: block;
}

#face-detection-photo-tracking {
    position: relative;
    min-height: 350px;
    text-align: left;
}

.label-control {
    display: flex;
    align-items: center;
}

.CodeMirror-fullscreen {
    z-index: 999999999999;
}

.CodeMirror-hints {
    direction: ltr;
    text-align: left;
    z-index: 9999999999999;
}

.vertical-mmenu .navbar .navbar-container {
    margin-right: 0;
    margin-left: 0 !important;
}

.hidden-node {
    display: none;
}

.range-value {
    color: #34536a;
    font-size: 12px;
    position: absolute;
    top: -5px;
    left: 0;
}

div.dataTables_wrapper {
    position: relative;
}

div.dataTables_wrapper div.dataTables_processing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    text-align: center;
    padding: 0;
    height: 100%;
    z-index: 999999999;
    background: rgba(255, 255, 255, 0.9);
    color: #242424;
    padding-top: 10rem;
}

.other-site-icon::after {
    font-family: FontAwesome;
    content: "\f064";
    font-weight: 900;
    cursor: pointer;
    color: #c00;
}

.cartable-button .btn.active {
    box-shadow: 2px 2px 3px #000 !important;
    border-bottom: 1px solid #000206;
}


#modalFaceSearch .rect-suggest,
#Tiny_modalFaceSearch .rect-suggest {
    border-radius: 1px;
    position: absolute;
    width: 100%;
    font-size: 11px;
    background-color: #fff;
    padding: 0px;
    overflow-y: auto;
    height: 140px;
    display: none;
    font-size: 11px;
    top: 50px;
    right: 0;
    margin: 0 auto;
    z-index: 3;
}

#modalFaceSearch .rect-suggest li,
#Tiny_modalFaceSearch .rect-suggest li {
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    padding: 2px;
    text-align: right;
}

#modalFaceSearch .rect-suggest:hover,
#Tiny_modalFaceSearch .rect-suggest:hover {
    display: block;
}

#modalFaceSearch .rect-suggest li:hover,
#Tiny_modalFaceSearch .rect-suggest li:hover {
    border-bottom: 1px solid #d3f7fd;
    background-color: #d3f7fd;
}

/*********************** Just One Page ********************/
#newsformacardion .card-header {
    padding: 15px;
}

.cartable-button .btn {
    position: relative;
}

.cartable-button .badge-custom-cartable {
    position: absolute;
    top: -13px;
    left: -10px;
}

#addonListInPage a:not(:last-child)::after {
    font-family: FontAwesome;
    color: #cc0000;
    content: "\f104";
    font-weight: 900;
}

.card-header.collapsable-disabled {
    background-color: #b5b2b2 !important;
    color: #938f8f !important;
    cursor: default;
}

/* Add For fix dashboard panel */
.card-deck {
    margin: 0 0px;
    justify-content: flex-start;
}

.card-deck .card {
    margin: 0 7.5px 1rem;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .card-deck .card {
        -ms-flex: 0 0 calc(50% - 15px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(50% - 15px)
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .card-deck .card {
        -ms-flex: 0 0 calc(33.33% - 15px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(33.33% - 15px)
    }
}

@media (min-width: 992px) {
    .card-deck .card.card-3 {
        -ms-flex: 0 0 calc(33.33% - 15px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(33.33% - 15px);
    }

    .card-deck .card,
    .card-deck .card.card-4 {
        -ms-flex: 0 0 calc(25% - 15px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(25% - 15px);
    }

    .card-deck .card.card-6 {
        -ms-flex: 0 0 calc(50% - 15px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(50% - 15px);
    }

    .card-deck .card.card-8 {
        -ms-flex: 0 0 calc(75% - 15px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(75% - 15px);
    }

    .card-deck .card.card-12 {
        -ms-flex: 0 0 calc(100% - 15px);
        -webkit-box-flex: 0;
        flex: 0 1 calc(100% - 15px);
    }
}

/* Fix Insert Image in TinyMCE */
.modal#galleryList {
    z-index: 65537 !important;
}

.modal#tinyGalleryList {
    z-index: 9999;
}

.modal#galleryList .gallery-image,
.modal#tinyGalleryList .gallery-image {
    height: 80px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 4px #7a8d9fab;
    border: 1px solid #183957;
}

.modal#galleryList .gallery-image p,
.modal#tinyGalleryList .gallery-image p {
    transition: top 1s;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgb(11, 89, 119);
    color: #fff;
    padding: 2px;
}

.modal#galleryList .gallery-image p.fullstring-text,
.modal#tinyGalleryList .gallery-image p.fullstring-text {
    display: none;
}

.modal#galleryList .gallery-image:hover p.fullstring-text,
.modal#tinyGalleryList .gallery-image:hover p.fullstring-text {
    display: block;
}

.modal#galleryList .gallery-image:hover p.substring-text,
.modal#tinyGalleryList .gallery-image:hover p.substring-text {
    display: none;
}


/* Gauge Chart in dashboard  */
.change-chart,
.change-chart>div {
    cursor: pointer !important;
    padding-bottom: 10px;
}

.change-chart:hover {
    background: #defdff;
}

.change-chart.active {
    background: #d5fafb;
}

/* end chart */

/* proofiledetail */
#progressBar {
    background-color: #3E6FAD;
    width: 0px;
    height: 2px;
    margin-top: -10px;
    margin-bottom: 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    -moz-transition: .25s ease-out;
    -webkit-transition: .25s ease-out;
    -o-transition: .25s ease-out;
    transition: .25s ease-out;
}

.preload-dashboard {
    background: rgba(255, 255, 255, .8);
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.popover {
    right: auto;
}

/*pages.aspx */
.page-view-navbar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-view-navbar li {
    background: #f9f9f999;
}

.page-view-navbar li:not(:last-child) {
    border-bottom: 1px dotted #c9c;
}

/*end pages.aspx */

/* clock for content   */
.td-clock {
    direction: ltr;
}

.modal-lg-vw-vh {
    max-width: 80vw !important;
}

.modal-lg-vw-vh #text-paragraph_ifr {
    height: 50vh !important;
}

.modal-lg-vw-vh #img-map-container {
    overflow: hidden !important;
}

.modal-xl-vw-vh {
    max-width: 100vw !important;
}

.modal-xl-vw-vh #text-paragraph_ifr {
    height: 100vh !important;
}

.modal-xl-vw-vh #img-map-container {
    overflow: hidden !important;
}

.mce-window.mce-in {
    height: auto !important;
}

#img-map-canvas-container {
    max-height: 70vh !important;
}

.mce-container-body.mce-abs-layout {
    min-height: 30vh !important;
    max-height: 80vh !important;
}

.max-height-6vh {
    max-height: 60vh;
}

/************************ Dashboard news ************************/
#newsbody b {
    background: greenyellow;
}

.img-frame.img-frame-sqrt {
    width: 40px;
    overflow: hidden;
    height: 40px;
    border: 1px solid #eae9e9;
    padding: 2px;
    border-radius: 5px;
}

.tagging .tag-item {
    font-size: 11px;
    background: #d27907;
    margin: 1px;
    padding: 1px 4px;
    color: #fff;
    border-radius: 2px;
}

/**************************** chat *************************/
.chat-content {
    word-wrap: anywhere;
}

.chat-application .chats .chat-body .chat-content {
    background-color: #607d8b;

}

.chat-application .chats .chat-body .chat-content::before {
    border-right-color: #607d8b;
}

.chat-application .chats .chat-left .chat-body .chat-content {
    background-color: #fff;
}

.chat-application .chats .chat-left .chat-body .chat-content::before {
    border-right: 0;
    right: -5px;
    left: auto;
    border-left-color: #fff;
}

.chat-application .chats .chat-left .chat-content::before {
    right: -5px;
    left: auto;
    border-right-color: transparent;
    border-left-color: white;
}

.pending-messeges .chat-content {
    background-color: #c7e7f2 !important;
}

.chat-application .chats .pending-messeges .chat-body .chat-content::before {
    border-right-color: #c7e7f2 !important;
}

.has-error-messges .chat-content {
    background-color: #cc0000 !important;

}

.chat-application .chats .has-error-messges .chat-body .chat-content::before {
    border-right-color: #cc0000 !important;
}

.content-body.chat-app {
    background-image: url('../images/chatbg.png');
}

.chat-application .chat-app-window {
    background: none !important;
}

.chat-application .chat-app-form {
    background: none !important;
}

.chat-application .chat-app-form .form-control-position.control-position-right {
    line-height: 0;
    width: 5.5rem;
}

.chat-application .chat-app-form .form-control-position i {
    position: relative;
}

.chat-application .chat-content img {
    width: 150px;
}

.chat-application .chat-content video {
    width: 250px;
}

.chat-application .chat-content .btn.download-link {
    border: 1px solid #ccc;
    margin-bottom: 5px;
    padding: 5px 10px;
    background: #aaa;
}

.chat-application .chat-content .btn.download-link:hover {
    background-color: #315c71;
}

.chat-application .chat-app-form .form-control-position .btn {
    padding-left: 2px;
    padding-right: 2px;
}

.chat-application .showlist-btn {
    position: absolute;
    top: 0;
    z-index: 999999;
    right: 0;
}

@media (max-width: 767.98px) {
    .chat-application .chat-content img {
        width: 100%;
    }

    .chat-application .chat-content video {
        width: 100%;
    }

    .chat-application .chat-content audio {
        width: 100%;
    }

    .chat-application .chat-app-window {
        height: -webkit-calc(100% - 170px);
        height: -moz-calc(100% - 170px);
        height: calc(100% - 170px);
    }

    .sidebar {
        width: 100%;
        vertical-align: top;
    }

    .chat-application .sidebar-left {
        width: 100%;
        height: auto;
    }

    .chat-application .chat-fixed-search {
        width: 100%;

    }


}

@media (min-width: 767.98px) {
    body .content-right {
        float: left;
        width: -webkit-calc(100% - 300px);
        width: -moz-calc(100% - 300px);
        width: calc(100% - 300px);
    }

    .sidebar {
        width: 300px;
        vertical-align: top;
    }


}

.chat-application .sidebar-left {
    z-index: 998;
    border-left: 1px solid #e4e7ed;
}

/*context-menu */

/* Background that covers entire page when right clicking, invisible by default */
#ctx-menu-background {
    /* background-color: rgba(0, 0, 0, 0.1); Un-comment to tint entire page darker when context menu appears */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
}

/* - - - - - - -
    Context Menu 
  - - - - - - - - */

.ctx-menu-wrapper {
    background-color: rgb(255, 255, 255);
    box-shadow: 4px 4px 3px -2px rgba(0, 0, 0, .1);
    color: #111;
    padding: 3px 0 3px 0;
    border: 1px solid #ccc;
    border-radius: 1px;
    font-size: 13px;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    z-index: 999;
    white-space: nowrap;
    min-width: 200px;
}

/* - - - - - - -
    Context Menu Items 
  - - - - - - - - */

.ctx-menu-item {
    padding: 5px 10px 5px 10px;
    border-radius: 1px;
    cursor: pointer;
    transition: background-color 0.1s;
}

.ctx-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.13);
}

.ctx-menu-item:active {
    transition: background-color 0s;
    background-color: rgba(0, 0, 0, 0.2);
}

.ctx-menu-separator {
    height: 1px;
    margin: 3px 0 3px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

/* - - - - - - -
        Icons
  - - - - - - - - */
.ctx-menu-hasIcon img {
    min-width: 16px;
    max-width: 16px;
    max-height: 16px;
    position: relative;
    margin-right: 8px;
    pointer-events: none;
    user-select: none;
}

.ctx-menu-item img[src] {
    float: left;
}

.ctx-menu-hasIcon .ctx-menu-item {
    vertical-align: middle;
    max-height: 20px;
}

/* Create_Bulletin */
#print-preview-modal .modal-lg-vw-vh #modal-body-preview {
    overflow-y: auto;
    overflow-x: hidden;
    height: 70vh;
}

#print-preview-modal .modal-xl-vw-vh #modal-body-preview {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

/*Advance Search */
.max-height-500 {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 0 5px #999;
}

.max-height-500 .tree-view-tools {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    padding: 5px;
}

/* facelist */

#faceList {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
}

#faceList .face-item {
    margin: 25px;
    position: relative;
    padding: 5px;
    max-width: 150px;
    ;
}

.face-item.preload {
    filter: grayscale(100%);
    opacity: .5;
}

#faceList .face-item.preload:after {

    animation: shine 2s ease-in-out infinite;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);

    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.13) 0%,
            rgba(255, 255, 255, 0.13) 77%,
            rgba(255, 255, 255, 0.5) 92%,
            rgba(255, 255, 255, 0.0) 100%);
}

#faceList .face-item.preload:after {
    opacity: 0;
}

@keyframes shine {
    10% {
        opacity: 1;
        top: -100%;
        left: -100%;
        transition-property: left, top, opacity;
        transition-duration: 0.7s, 0.7s, 0.15s;
        transition-timing-function: ease;
    }

    100% {
        opacity: 0;
        top: 100%;
        left: 100%;
        transition-property: left, top, opacity;
    }
}

#faceList .face-item .title {
    margin: 6px auto;
}

#faceList .face-item img {
    border: 5px solid #fff;
    box-shadow: #484646 1px 1px 6px;
    border-radius: 30px 30px 30px 0px;
}

#faceList .face-item .budget {
    background: #da4453;
    padding: 7px 0px;
    border-radius: 14px;
    color: #fff;
    text-align: center;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    border: 2px solid #fff;
    font-size: 12px;
    box-shadow: #636363 1px 1px 7px;
}

.faceitem-card-with-cover {
    border: 1px solid #999;
    box-shadow: #666 0 0 4px;
    position: relative;
}

.faceitem-card-with-cover .face-profile-image {
    position: absolute;
    top: 130px;
    width: 100%;
    text-align: center;
}

.face-profile-image img {
    border: 5px solid #FFF;
    border-radius: 30px 30px 30px 0;
}

#faceListImages img {
    max-width: 100%;
    display: block;
}

#faceListImages figure {
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 10px;
    break-inside: avoid;
}

#faceListImages figure>img {
    grid-row: 1 / -1;
    grid-column: 1;
}

#faceListImages figure a {
    color: black;
    text-decoration: none;
}

#faceListImages .detected-face-rect {
    position: absolute;
    border: 2px solid #ccc;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    opacity: .8;
}

#faceListImages .detected-face-rect.deleted {
    opacity: .2;
    border: 2px solid #cc0000;
    background: rgba(255, 33, 33, .2);
}

.search_result {
    position: absolute;
    list-style: none;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow: auto;
    z-index: 999;
    padding: 0;
    box-shadow: #575757 0px 0px 6px;
}

.search_result li {
    padding: 10px;
    transition: all .5s;
    cursor: pointer;
    background: #fff;
    width: 100%;
    position: relative;
}

.search_result li.adding-stage {
    background: #84f5a1 !important;
    color: #0c7233;
}

.search_result li .btn {
    position: absolute;
    left: 0;
}

.search_result li .btn i::before {
    font-size: 12px;
}

.search_result li:hover {
    background-color: #b8f5ff;
}

.search_result li .btn:hover {
    background-color: #81ceda;
}

.news-positions-list li.new-added {
    background: #71bf43;
    color: #fff;
}

.news-positions-list .list-group-item {
    padding: 10px 10px 0 5px;
    transition: all .5s;
}

.datatable-list-wrapper {
    position: relative;
    width: 150px;
}

.datatable-list-toggle {
    display: none;
}

.datatable-toggle-list {
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 1s ease;
    cursor: pointer;
}

.datatable-toggle-list.toggle-active {
    max-height: 70px;
    transition: all .2s linear;
}

.datatable-toggle-list.expanded {
    max-height: 500px;
}
.datatable-toggle-list.expanded::after{
    opacity: 0 !important;
}
.datatable-toggle-list.toggle-active::after {
    opacity: 1;
}

.datatable-toggle-list::after {
    content: '...';
    position: absolute;
    left: 0;
    bottom: 0;
    background: transparent;
    color: #2196F3;
    opacity: 0;
    transition: all .2s linear;
}