#notifications {
    cursor: pointer;
    position: fixed;
    right: 0px;
    z-index: 9999;
    top: 0px;
    margin-top: 22px;
    margin-right: 15px;
    max-width: 300px;
    min-width: 300px;
}

#notifications ._notification {
    margin-bottom: 1rem;
    border: 1px solid #1F4B9A;
    border-radius: .25rem;
    /*padding: .9rem 0.75rem 1.15rem;*/
    padding: 0.4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: #fff;
    font-size: .685rem;
}

#notifications ._notification .n-progress {
    position: absolute;
    bottom: 0;
    height: 0.15rem;
    left: 0;
    width: 0;
    content: '';
    background: #1F4B9A;
}

#notifications ._notification:before {
    width: 1.2rem;
    height: 1.2rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    content: '';
    background: url('/img/icons/check-blue.svg') center center no-repeat;
    background-size: contain;
    margin-right: 0.75rem;
}

#notifications ._notification.warning {
    border-color: #FFC107;
}

#notifications ._notification.warning .n-progress {
    background: #FFC107;

}

#notifications ._notification.warning::before {
    background-image: url('/img/icons/warn-yellow.svg');
}

#notifications ._notification.danger {
    border-color: #dc3545;
}

#notifications ._notification.danger .n-progress {
    background: #dc3545;

}

#notifications ._notification.danger::before {
    background-image: url('/img/icons/close-red.svg');
}

#notifications ._notification.info {
    border-color: #17a2b8;
}

#notifications ._notification.info .n-progress {
    background: #17a2b8;

}

#notifications ._notification.info::before {
    background-image: url('/img/icons/check-info.svg');
}


#notifications ._notification.success {
    border-color: #00A046;
}

#notifications ._notification.success .n-progress {
    background: #00A046;

}

#notifications ._notification.success::before {
    background-image: url('/img/icons/check-green.svg');
}

.hide {
    display: none;
}

body div.dataTables_wrapper div.dataTables_filter {
    text-align: left;
}

.invalid-feedback {
    display: block;
}

body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

ol.sort li.placeholder {
    position: relative;
    /** More li styles **/
}

ol.sort li.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
}

.select2-container {
    max-width: 100%;
}

.custom_context_menu {
    z-index: 1000;
    position: absolute;
}

body .select2-container .select2-search--inline .select2-search__field {
    min-height: 27px;
}

.card-load {
    position: relative;
    overflow: hidden;
}

.card-load .card-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(255, 255, 255, .7);
    z-index: 999;
}

.card-load .card-loader i {
    margin: 0 auto;
    color: #4099ff;
    font-size: 20px;
}

.rotate-refresh {
    -webkit-animation: mymove .8s infinite linear;
    animation: mymove .8s infinite linear;
    display: inline-block;
}

@-webkit-keyframes mymove {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes mymove {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.ztable.table tr td, .ztable.table tr th {
    padding: 5px;
}

table .select2-container {
    width: 100% !important;
}

.profile_card_text {
    text-overflow: ellipsis;
    max-width: 170px;
    overflow: hidden;

}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link,
.sidebar-nav ul .sidebar-item.selected > .sidebar-link.active,
.sidebar-nav ul .sidebar-item > .sidebar-link.active {
    background-color: #00BF63;
    color: #fff;
}

.notification {
    content: "";
    position: absolute;
    top: -5px;
    right: -6px;
    width: 15px;
    height: 15px;
    font-size: 8px;
    padding: 0;
    text-align: center;
    line-height: 15px;
    /* z-index: 11; */
}

body .select2-container--default .select2-selection--multiple .select2-search.select2-search--inline textarea {
    height: 27px;
}

.modal .select2-container {
    width: 100% !important;
}

.badge {
    font-size: .75rem;
}

.modal-backdrop + .modal-backdrop {
    display: none !important;
}

.resized_photo {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
}

.zLoader {
    position: relative;
    min-height: 300px;
}

.zLoader::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: url(/loader.gif) center 100px no-repeat #22222203;
    cursor: progress;
}

.zNewLoader {
    position: relative;
}

.zNewLoader::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: url('/loader.gif') center center no-repeat rgba(67, 49, 49, 0.2);
    background-size: 50px;

}

.table-date-header {
    position: relative;
    border-radius: 15px;
    padding: 5px 10px;
    background: #cde7ff;

    /* color: #fff; */
    font-size: 12px;
    z-index: 10;
}

.select_wrap .select2-container {
    width: 100% !important;
}

.ztab {
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    background: #fbfcfc;
}
.ztab.nav-tabs .nav-item {
    margin-bottom: -1px;
    margin-left: -1px;
}
.ztab .nav-link {
    display: block;
    padding: .7rem 1rem;
}
.ztab.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 0;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
.ztab.nav-tabs .nav-item.show .nav-link,
.ztab.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}
.ztab.nav-tabs .nav-link:focus, .ztab.nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    border-bottom: 1px solid transparent;
}
.form-group label {
    margin-bottom: 5px;
}
.filter_block .form-group {
    margin-bottom: 10px;
}
body .bootstrap-switch{
    margin-bottom: 0;
}
.text-facebook {
    color: #3b5997
}
th.sorting {
    position: relative;
    cursor: pointer;
    padding-right: 26px;
}

th.sorting:before {
    position: absolute;
    display: block;
    opacity: .125;
    right: 10px;
    line-height: 9px;
    font-size: .8em;
    bottom: 50%;
    content: "▲";
}

th.sorting:after {
    position: absolute;
    display: block;
    opacity: .125;
    right: 10px;
    line-height: 9px;
    font-size: .8em;
    top: 50%;
    content: "▼";
}

th.sorting.sorting_asc:before {
    opacity: .6;
}

th.sorting.sorting_desc:after {
    opacity: .6;
}

/** Добавления и редактирование визита */
.select2-span-full-width span.select2-container {
    width: 100% !important;
}
.select2-span-full-width .select2-container--disabled .select2-selection__rendered {
    background-color: #EAEFF4;
}
.select2-span-full-width.is-invalid .select2-container--default .select2-selection--single,
.select2-span-full-width.is-invalid .select2-selection--multiple {
    border-color: var(--bs-form-invalid-border-color);
    padding-right: calc(1.5em + 16px);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23FA896B'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23FA896B' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + 15px) center;
    background-size: calc(.75em + 8px) calc(.75em + 8px)
}
.overlay {
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}
.text-c-yellow {
    color: #ffb64d;
    font-size: 12px;
}
/** end */

.macros-button {
    font-size: 15px;
    font-weight: 800;
}
.form-check:hover,
.form-check input[type="checkbox"]:hover,
.form-check label:hover {
    cursor: pointer;
}


.card-border-primary {
    border-top: 4px solid #4099ff
}

.card-border-warning {
    border-top: 4px solid #ffb64d
}

.card-border-default {
    border-top: 4px solid #d6d6d6
}

.card-border-danger {
    border-top: 4px solid #ff5370
}

.card-border-success {
    border-top: 4px solid #2ed8b6
}

.card-border-inverse {
    border-top: 4px solid #37474f
}

.card-border-info {
    border-top: 4px solid #00bcd4
}

.card-primary {
    background: #4099ff
}

.card-warning {
    background: #ffb64d
}

.card-default {
    background: #d6d6d6
}

.card-danger {
    background: #ff5370
}

.card-success {
    background: #2ed8b6
}

.card-inverse {
    background: #37474f
}

.card-info {
    background: #00bcd4
}

.questions .card-body .buttons {
    position: absolute;
    right: 5px;
    bottom: 5px;
}

.questions .text-label {
    color: #ffffff;
    background-color: #00bcd4;
    border-radius: 5px;
    padding: 4px 5px;
    font-size: 12px;
    margin-left: 10px;
}

.questions .border-info {
    border-color: transparent;
    border-left: 3px solid #00bcd4;
    border-radius: 0;
    -webkit-box-shadow: 0 0 1px #999;
    box-shadow: 0 0 1px #999;
    color: #00bcd4;
    padding: 20px 0;
}

.questions .branch button {
    font-size: 11px;
}
.dataTables_paginate a{
    color:#00BF63;
}
.dataTables_paginate a:hover{
    color:#004C27;
}
body .text-secondary {
    color:#00BF63!important;
}
body .text-secondary:hover {
    color:#004C27!important;
}
.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active{
    color:#004C27!important;
}
