﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

body {
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1.5;
    background-color: #edf2f9;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-weight: 400;
    line-height: 1.2;
    color: #262626;
}

a {
    color: #03a9f4;
}

    a.active.focus, a.active:focus, a.focus, a:active.focus, a:active:focus, a:focus, button.active.focus, button.active:focus, button.focus, button:active.focus, button:active:focus, button:focus, .btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
        outline: 0 !important;
        outline-color: transparent !important;
        outline-width: 0 !important;
        outline-style: none !important;
    }

    a:hover {
        color: #85CE36;
        text-decoration: none;
        cursor: pointer;
    }

.modal-open {
    overflow: auto;
    padding-right: 0 !important
}

/*color*/
.red {
    color: #f44336 !important;
}

.white {
    color: #fff !important;
}

.dark-blue {
    color: #004c92 !important;
}

.bg-lite {
    background-color: #ccdde8;
    color: #495057;
}

.bg-orange {
    background: #fa8c15;
}

.bg-grey {
    background-color: #eee !important;
}

.bg-white {
    background-color: #fff !important;
}

.orange {
    color: #fd5f00 !important;
}

.green {
    color: #85CE36 !important;
}

.blue {
    color: #03a9f4 !important;
}

.bg-green {
    background-color: #85CE36 !important;
}

.lite-blue {
    color: #007bff !important;
}

.br-orange {
    border: 1px solid #FF9800;
}

/*color*/

.dropdown-menu {
    border-radius: 0.2rem;
    font-size: 14px;
    padding: 0.3125rem;
    box-shadow: rgba(0, 0, 0, 0.176) 0px 6px 12px;
    border-color: #e1e1e1;
}

.modal {
    padding-right: 0 !important;
}

@media (min-width: 1200px) {
    .modal-xl, .modal.modal-large .modal-dialog {
        max-width: 95%;
    }
    .modal.modal-middle .modal-dialog {
        max-width: 1000px;
    }
}

@media (min-width: 576px) {
    .modal.modal-large .modal-dialog {
        max-width: 1800px;
        width:95%;
    }

    .modal-xl {
        max-width: 100%;
    }
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

ul {
    padding-left: 0
}

li {
    list-style: none;
}

.toast {
    border-color: #00c7ff;
    box-shadow: 0 1px 10px rgba(0,0,0,.4);
    font-size: 16px;
}

.note-editor ul {
    padding-left: 40px !important;
}

    .note-editor ul li {
        list-style: disc !important;
    }

.note-editor ol li {
    list-style: decimal !important;
}

.bold {
    font-weight: normal;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
}

b, strong {
    font-weight: normal;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif;
}

.light-blue {
    color: #03a9f4 !important;
}

.modal-content {
    border-radius: 8px;
    overflow: hidden;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
    outline: none;
}

[s-click] {
    cursor: pointer;
}

#sidebar::-webkit-scrollbar {
    background-color: transparent;
    width: 4px;
}

#sidebar::-webkit-scrollbar-thumb {
    background-color: #efefef;
    height: 4px;
    width: 4px;
    border-radius: 5px;
}

lable {
    margin-bottom: 0;
}

.control-label {
    color: #262626;
    font-weight: 400;
    line-height: 1.2;
    font-size: 14px;
}

img {
    max-width: 100%;
}

.form-group label.attachment {
    width: 100%;
    max-width:320px;
    border: 1px dashed #d3e0e9;
}

    .form-group label.attachment input[type='file'] {
        display: none;
    }

.AttachMassageFile {
    margin-top: 10px;
    margin-bottom: 10px;
}

.SelectMassageFile {
    border: 1px dashed grey;
    margin-bottom: 5px;
}

.action-WikiList {
    display: flex;
    justify-content: flex-end;
}

    .action-WikiList .btn-group .btn {
        margin-right: 5px;
    }

        .action-WikiList .btn-group .btn:last-child {
            margin-right: 0;
        }

ul.nav li.dropdown .dropdown-menu {
    top: 53px;
    -webkit-animation: .8s cubic-bezier(.25,.8,.25,1) 0s normal forwards 1 fadein;
    animation: .8s cubic-bezier(.25,.8,.25,1) 0s normal forwards 1 fadein;
}

.kv-file-zoom {
    padding: 0.5rem 0.8rem;
    font-size: .84rem;
}

.view-container iframe, .view-container object {
    min-height: 80vh;
}

.list-group {
    line-height: 1.3;
}

.topnavbar .dropdown-menu {
    padding: 0;
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.dropdown-item.active, .dropdown-item:active {
    color: #153d77 !important;
    text-decoration: none;
    background: #e2e3e4;
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 30px 2px rgba(0,0,0,.1);
    border: none;
    border-radius: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 64px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.dropdown-language .dropdown-toggle::after {
    border: none !important;
    content: '\f107';
    vertical-align: baseline;
    font-family: 'FontAwesome';
    margin-left: .3rem;
}

/* table {
    color: rgb(102,102,102) !important;
}
 */
tr.active {
    background-color: rgba(194, 219, 195, 0.3);
}

.NewContragentView {
    display: block;
}

.NewPersonView {
    display: none;
}

#NewContragent:checked ~ .NewContragentView {
    display: block;
}

#NewContragent:checked ~ .NewPersonView {
    display: none;
}

#NewPerson:checked ~ .NewContragentView {
    display: none;
}

#NewPerson:checked ~ .NewPersonView {
    display: block;
}

#NewContragent:checked,
#NewContragent:not(:checked),
#NewPerson:checked,
#NewPerson:not(:checked) {
    position: absolute;
    left: -9999px;
}

    #NewContragent:checked + label,
    #NewContragent:not(:checked) + label,
    #NewPerson:checked + label,
    #NewPerson:not(:checked) + label {
        display: inline-block;
        position: relative;
        padding-left: 28px;
        line-height: 20px;
        cursor: pointer;
    }

        #NewContragent:checked + label:before,
        #NewContragent:not(:checked) + label:before,
        #NewPerson:checked + label:before,
        #NewPerson:not(:checked) + label:before {
            content: "";
            position: absolute;
            left: 0px;
            top: 0px;
            width: 18px;
            height: 18px;
            border: 1px solid #dddddd;
            background-color: #ffffff;
        }

        #NewContragent:checked + label:before,
        #NewContragent:not(:checked) + label:before {
            border-radius: 100%;
        }

        #NewPerson:checked + label:before,
        #NewPerson:not(:checked) + label:before {
            border-radius: 100%;
        }

        #NewContragent:checked + label:after,
        #NewContragent:not(:checked) + label:after,
        #NewPerson:checked + label:after,
        #NewPerson:not(:checked) + label:after {
            content: "";
            position: absolute;
            -webkit-transition: all 0.2s ease;
            -moz-transition: all 0.2s ease;
            -o-transition: all 0.2s ease;
            transition: all 0.2s ease;
        }

        #NewContragent:checked + label:after,
        #NewContragent:not(:checked) + label:after {
            left: 3px;
            top: 3px;
            width: 12px;
            height: 12px;
            border-radius: 100%;
            background-color: #2196F3;
        }

        #NewPerson:checked + label:after,
        #NewPerson:not(:checked) + label:after {
            left: 3px;
            top: 3px;
            width: 12px;
            height: 12px;
            border-radius: 100%;
            background-color: #2196F3;
        }

        #NewContragent:not(:checked) + label:after,
        #NewPerson:not(:checked) + label:after {
            opacity: 0;
        }

        #NewContragent:checked + label:after,
        #NewPerson:checked + label:after {
            opacity: 1;
        }


.topnavbar .navbar-nav > .nav-item > .nav-link, .topnavbar .navbar-nav > .nav-item.show > .nav-link {
    padding: .5rem .5rem;
    color: #6b6f82;
    font-size: 15px;
    position: relative;
}

    .topnavbar .navbar-nav > .nav-item > .nav-link i, .topnavbar .navbar-nav > .nav-item.show > .nav-link i {
        font-size: 20px;
    }

.mobile-header {
    display: none;
    width: 100%;
    padding: .5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    background-color: #85ce36;
    border: 0;
}

@media screen and (max-width:575px) {
    .mobile-header {
        display: block;
    }
}

.dropdown > a > .badge {
    color: #fff;
    min-width: 21px;
    height: 21px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    border-radius: 50%;
    line-height: 19px;
    position: absolute;
    font-size: 12px;
    top: 3px;
    right: -4px;
    font-weight: 400;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
}

.block_header {
    margin: 15px !important;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.wrapper {
    display: flex;
    width: 100%;
}

.wrap-content {
    max-width: 2000px;
}

#sidebar {
    height: 100%;
    min-height: 100vh;
    width: 250px;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    overflow-x: auto;
    padding-top: 63px;
    background-image: linear-gradient( 270deg, rgba(51, 148, 225, 0.18), transparent);
    background-color: #2b4c81;
    padding-right: 5px;
    color: #038fdd;
    transition: all 0.3s;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar ul p {
        color: #fff;
        padding: 10px;
    }

    #sidebar ul li a {
        display: block;
        color: #03a9f4;
        padding: 8px 25px 8px 5px;
        font-size: 15px;
        background: transparent;
        -webkit-transition: background .1s ease-in-out;
        transition: background .1s ease-in-out;
        position: relative;
        text-decoration: none;
        cursor: pointer;
        white-space: normal;
    }

        #sidebar ul li a[aria-expanded="true"] {
            color: #fff;
            background-color: rgba(0,0,0,.14);
        }

    #sidebar ul.app-menu > li > a[aria-expanded="true"] i {
        color: #fff;
    }

    #sidebar ul.submenu li a {
        display: block;
        position: relative;
        border-top: 1px solid rgba(0,0,0,0);
        padding: 0 8px 8px 33px !important;
    }

    #sidebar ul.submenu li:last-child {
        margin-bottom: 0;
    }

    #sidebar ul.submenu li hr {
        margin-top: .3rem;
        margin-bottom: .3rem;
    }

        #sidebar ul.submenu li a .icon {
            width: 20px;
            margin-right:5px;
        }

    #sidebar > ul > li > a i {
        font-size: 16px;
        margin-right: 8px;
        -webkit-transition: none;
        transition: none;
        width: 20px;
    }

    #sidebar ul li a:hover {
        color: #85CE36;
    }

    #sidebar ul.app-menu > li > a:hover i {
        color: #85CE36;
    }

    #sidebar ul li.submenu a:hover {
        background: #013561 !important;
        border-left: 4px solid #2196F3;
        color: #fff;
    }

    #sidebar .list-unstyled.app-menu > ul > li > a i {
        margin-right: 5px;
    }

.submenu li a {
    padding-left: 15px !important;
}

#sidebar ul.app-menu > li > a i {
    color: #2196f3;
}

a[data-toggle="collapse"] {
    position: relative;
}

.list-unstyled .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

.topnavbar .dropdown-item.notifications {
    padding: 0 !important;
}

.dropdown-menu.language {
    min-width: 78px;
    right: .175rem;
    border: 0;
    box-shadow: 0 5px 75px 2px rgba(64,70,74,.2);
}

.topnavbar .dropdown-item .list-group-item {
    border: 0;
    border-bottom: 1px solid #e4eaec;
    margin-bottom: 2px;
}

#content {
    width: calc(100% - 250px);
    padding-top: 65px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

    #content.active {
        width: 100%;
    }


.card-footer.fixed-footer {
    width: calc(100% - 250px);
    margin-left: 250px;
}

#content.active .card-footer.fixed-footer {
    width: 100%;
    margin-left: 0;
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #content, .card-footer.fixed-footer {
        width: 100%;
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }
}

.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.user-block {
    background-color: #002B49 !important;
    color: #ffffff !important;
    margin-bottom: 15px;
}

    .user-block .user-block-info {
        white-space: normal;
        padding: 1rem .5rem;
        color: #fff;
        display: flex;
    }

    .user-block .profile-image {
        margin-right: 15px;
    }

    .user-block .user-block-info .user-block-name, .user-block .user-block-info .user-block-role {
        display: block;
    }

    .user-block .user-block-info .user-block-name {
        font-weight: normal;
        font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
        font-size: 15px;
    }

    .user-block .user-block-info .user-block-role {
        font-size: 12px;
    }

    .user-block .user-block-info .user-block-role {
        white-space: normal;
    }


.note-toolbar.card-header {
    min-height: initial;
    padding: 10px 10px;
    border-bottom: 1px solid #eee;
}

.title {
    color: #007be8 !important;
}

.input-group label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.275rem .75rem 0.375rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}
.input-group .btn-icon {
    border-left:0;
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0,0,0,.075);
    cursor: pointer;
}

.fileinput-remove,
.fileinput-upload {
    display: none;
}

.file-preview {
    border: 0px !important;
}

.inbox_msg {
    border: 1px solid #c4c4c4;
    clear: both;
    overflow: hidden;
}

.chat_ib h5 {
    font-size: 15px;
    color: #464646;
    margin: 0 0 8px 0;
}

    .chat_ib h5 span {
        font-size: 13px;
        float: right;
    }

.chat_ib p {
    font-size: 14px;
    color: #989898;
    margin: auto
}

.chat_img {
    float: left;
    width: 11%;
}

.chat_ib {
    float: left;
    padding: 0 0 0 15px;
    width: 88%;
}

.chat_people {
    overflow: hidden;
    clear: both;
}

.chat_list {
    border-bottom: 1px solid #c4c4c4;
    margin: 0;
    padding: 18px 16px 10px;
}

.inbox_chat {
    height: 550px;
    overflow-y: scroll;
}

.active_chat {
    background: #ebebeb;
}

.incoming_msg_img {
    display: inline-block;
    width: 6%;
}

.received_msg {
    display: inline-block;
    /*    padding: 0 0 0 10px;*/
    vertical-align: top;
    width: 92%;
}

.received_withd_msg p {
    background: #ebebeb none repeat scroll 0 0;
    border-radius: 3px;
    color: #646464;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

.time_date {
    color: #747474;
    display: block;
    font-size: 12px;
    margin: 8px 0 0;
}

.received_withd_msg {
    width: 100%;
}

.mesgs {
    float: left;
    padding: 30px 15px 0 25px;
    width: 100%;
}

.sent_msg p {
    background: #0076be none repeat scroll 0 0;
    border-radius: 3px;
    font-size: 14px;
    margin: 0;
    color: #fff;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

.outgoing_msg {
    overflow: hidden;
    margin: 26px 0 26px;
}

.sent_msg {
    float: right;
    width: 100%;
}

.input_msg_write input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: #4c4c4c;
    font-size: 15px;
    min-height: 48px;
    width: 100%;
}

.messaging {
    padding: 0 0 50px 0;
}

.modal {
    padding-right: 0 !important;
}

.modal-dialog.modal-full-width {
    width: 95% !important;
    max-width: 100% !important;
}

.DocumentFilds {
    position: relative;
    width: 450px;
    padding: 0 20px 15px;
    border-right: 1px dotted;
    min-height: 70vh;
}

.fas.fa-trash-alt {
    cursor: pointer;
}

.css-treeview {
    position: fixed;
    width: 430px;
    padding: 10px;
    position: absolute;
    height: calc(100% - 60px);
    z-index: 900;
    background: #fff;
    transition: all 0.3s;
    overflow: auto;
}

.Filter-block {
    width: calc(100% - 450px);
    float: left;
    padding: 0;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 0;
}

.nav-tabs .nav-link {
    border: 1px solid #dee2e6;
    border-radius: 0;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

fieldset {
    border: 2px solid #cccfd2 !important;
    border-radius: 0;
    padding: 5px 15px 15px 15px !important;
    margin-bottom: 10px;
}

@media screen and (max-width:600px) {
    fieldset {
        padding: 5px !important;
    }
}

fieldset legend {
    width: auto;
    color: #495057;
    font-size: 20px;
    padding: 2px 3px;
    margin-left: 20px;
    margin-bottom: .2rem;
}

.hiddenRow {
    padding: 0 4px !important;
    font-size: 13px;
}

.accordian-body {
    padding: 10px;
}

tr[aria-expanded="true"] {
    background: #e1f5fe;
}

    tr[aria-expanded="true"] td .fas.fa-chevron-down {
        transform: rotate(180deg);
        color: red;
    }

tr[data-object-status="1"] {
    background-color: #FFFACD;
}

.krajee-default.file-preview-frame .kv-file-content {
    width: 100%;
    min-width: 150px;
    max-height: 100px;
}

element.style {
}

.file-preview {
    border: 0px !important;
}

.file-preview {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0px;
    width: 100%;
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
}

.krajee-default .file-footer-caption {
    margin-bottom: 5px;
}

.file-caption-icon {
    color: #4CAF50;
}

.file-footer-caption {
    display: none !important;
}

.krajee-default.file-preview-frame .file-thumbnail-footer {
    height: auto !important;
}

.file-upload-indicator {
    display: none;
}

#goods-tabs .tab-pane {
    min-height: 300px;
}

.hiddenRow fieldset {
    background: transparent;
}

.hiddenRow .card-title {
    font-size: 15px;
}

/* Autocomplete */
.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        .autocomplete-items div:hover {
            background-color: #e9e9e9;
        }

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}
/* end Autocomplete */


/* modal dialog*/
.modal-dialog .message {
    top: 25%;
}

/* end modal dialog*/
.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + .75rem);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: url(../images/icon/clip.png);
    background-color: #fff;
    border-left: inherit;
    border-radius: 0 .25rem .25rem 0;
}

.only-view .custom-file-label {
    border: 1px dotted #03A9F4;
}

    .only-view .custom-file-label:after {
        display: none;
    }

.input-group label {
    border-radius: 0;
}

.right-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 100px;
    width: 200px;
    height: auto;
    background-color: ghostwhite;
    z-index: 9999;
}

    .right-menu ul {
        padding: 0px;
        margin: 0px;
    }

        .right-menu ul li {
            list-style: none;
            padding: 2px 0px;
        }

            .right-menu ul li a {
                text-decoration: none;
                padding: 10px 30px;
                display: block;
                border-radius: 4px;
                border: 1px dotted #ddd;
                vertical-align: middle;
                color: #1C90F3;
                background-color: #f3f5f6;
            }

.hidden {
    display: none !important;
}

.content-heading {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.1;
    margin: 0;
    font-weight: normal;
    border-bottom: 1px solid #cfdbe2;
    padding: 15px;
    background-color: #fafbfc;
    margin-bottom: 15px;
    margin-top: 15px;
}

.PrewFile iframe {
    min-height: 50vh;
    max-width: 100%;
}

.PrewFile img {
    max-width: 100%;
}

.form-control {
    border-radius: 0;
}

.css-treeview {
    position: fixed;
    width: 100%;
    padding: 10px;
    position: relative;
    height: 65vh;
    z-index: 900;
    background: #fff;
    transition: all 0.3s;
    overflow: auto;
}

.filter-table.table-sm th {
    padding: .65rem;
}

th.field-header.has-filter .dropdown-filter-dropdown .dropdown-filter-icon:before {
    content: url(../images/icon/filter.png);
    position: absolute;
    left: -14px;
    top: 2px;
}

.modal-dialog.modal-full-width {
    width: 99% !important;
    max-width: 100% !important;
    margin: .5% auto;
    height: auto;
}

.table {
    color: #212529;
}

    .table thead tr td {
        font-weight: bold;
        font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
        color: #212529;
    }

    .table tbody tr {
        cursor: pointer;
    }

    .table td {
        vertical-align: middle;
    }
    .table.doc-header td {
        vertical-align: top;
    }
.nav-tabs .nav-link {
    border: 0px;
    color: #54667a;
}

.nav-link {
    padding: .5rem 1rem;
}

.wrapper {
    display: flex;
    width: 100%;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

fieldset {
    border: solid 1px #dde4eb !important;
    padding: 0px 10px;
}


    fieldset legend {
        padding: 5px 5px;
        width: auto;
        font-size: 14px;
        margin-left: 5px;
        margin-bottom: 0;
        text-transform: uppercase;
        color: #03a9f4 !important;
        font-weight: bold;
        font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
    }

        fieldset legend a {
            color: #03a9f4 !important;
        }

.table thead th {
    vertical-align: middle;
}

.tasks-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.tasks_block {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 15px;
    flex: 1 20%;
}

@media (max-width: 1200px) {
    .tasks_block {
        min-width: 50%;
        max-width: 50%;
    }
}

.scrollbar-card {
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
    height: calc(100vh - 250px);
}

@media (max-width: 1200px) {
    .tasks_block {
        min-width: 50%;
        max-width: 50%;
    }
}

@media (max-width: 500px) {
    .tasks_block {
        min-width: 100%;
        max-width: 100%;
    }
}


.headerTable {
    position: relative;
    margin-bottom: 1rem;
    margin-top: 1rem;
    display: flex;
    width: 100%;
}

    .headerTable .header-title {
        font-size: 1.64062rem;
        color: #fff;
        float: left;
    }

.form-control, .custom-select {
    border-radius: 0;
    padding: .375rem .5rem .375rem .3rem;
    font-weight: normal;
    font-family: 'Museo Sans Cyrl 500', Arial, sans-serif;
}

.PeriodDate {
    margin-right: 5px;
    margin-left: 5px;
}

#notifications-list, #notifications-history {
    padding-left: 0;
    list-style: none;
}

    #notifications-list li, #notifications-history li {
        position: relative;
        display: block;
        padding: .5rem 1rem;
        background-color: #fff;
        border-bottom: 1px solid #eee;
    }

    #notifications-list li, #notifications-history li:last-child {
        border-bottom: 0;
    }


.dropdown-menu {
    min-width: 10rem;
}
    .dropdown-menu ul li a{
        cursor: pointer;
    }

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown .dropdown-menu.show {
    -webkit-animation-name: dropdownAnimation;
    animation-name: dropdownAnimation;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.dropdown-menu-lg {
    min-width: 20rem;
}

@media (max-width: 575.98px) {
    .dropdown {
        position: inherit;
    }
}

@media (max-width: 578px) {
    .dropdown-menu-lg {
        min-width: 100%;
    }
}

.related-doc ul li a {
    cursor: pointer;
}

th.field-header.has-filter .dropdown-filter-dropdown .dropdown-filter-icon i {
    color: #ffc107 !important;
}

th.field-header.has-filter .dropdown-filter-dropdown .dropdown-filter-icon:before {
    content: url(../images/icon/filter.png);
    position: absolute;
    left: -14px;
    top: 2px;
}

.doc-table {
    display: flex;
    flex-flow: column nowrap;
    flex: 1 1 0;
}

.doc-row {
    display: flex;
    flex-flow: row nowrap;
    flex: 1 1 1;
    border-bottom: 1px solid #ced4da;
    cursor: pointer;
}

.doc-header-cell,
.doc-cell {
    flex: 1 1 0;
    padding: .75rem;
}

    .doc-cell.collapseTD {
        padding: 0px;
    }

.doc-row.clickable .doc-cell:first-child:before {
    /*top: 9px;
    left: 4px;*/
    height: 14px;
    width: 14px;
    display: block;
    float: left;
    color: white;
    margin-right: 15px;
    border: 2px solid white;
    cursor: pointer;
    border-radius: 14px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    line-height: 12px;
    content: '+';
    background-color: #0076be;
}

.doc-row.clickable[aria-expanded="true"] .doc-cell:first-child:before {
    content: '-';
    background-color: #FF9800;
    cursor: pointer;
}

.doc-row.clickable {
    background-color: #f9f9f9;
}

.input-group-text {
    border-radius: 0px;
}

.action-card.active {
    width: 250px;
    float: left;
    position: relative;
}


.doc_registration {
    width: 320px;
    margin-top: 10px;
    margin-right: 10px;
    float: left;
    box-shadow: none;
    border-radius: 0;
}

.action-card.active {
    width: 250px;
    float: left;
    position: relative;
    border-radius: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #dde4eb;
}

#actionsBlock.action-card.active {
    margin-top: 10px;
    margin-bottom: 5px;
}

.details-container .action-card {
    width: 350px;
    margin-top: 1rem;
    float: left;
    position: relative;
    min-height: 80vh;
}


.details-container .details-form {
    width: 100%;
    margin-top: 1rem;
    position: relative;
}

    .details-container .details-form.active {
        width: calc(100% - 260px);
        margin-right: 10px;
        margin-top: 1rem;
        float: left;
        position: relative;
    }

.doc_purchase_registration {
    width: 100%;
    float: left;
    position: relative;
    min-height: 50vh;
}

    .doc_purchase_registration.active {
        width: calc(100% - 250px);
        float: left;
        position: relative;
        min-height: 100vh;
        border-right: 1px solid rgba(0, 0, 0, .125) !important;
    }

@media (max-width: 1200px) {
    .prew-card.active {
        width: calc(100% - 330px);
        margin-top: 10px;
        margin-right: 0;
        float: left;
        position: relative;
        min-height: 100vh;
        border-right: 0;
    }

    .action-card.active {
        width: 100% !important;
        float: left;
        position: relative;
        min-height: 30vh;
    }
}

.Person img {
    width: 100%;
    height: 100%;
    text-align: center;
    object-fit: cover;
}

.selectItem {
    list-style: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

    .selectItem li {
        padding: 5px 10px;
        margin-bottom: 5px;
        border: 1px dashed #ced4da !important;
        font-size: 16px;
        transition: 0.3s all linear;
        cursor: pointer;
    }

        .selectItem li:hover {
            background-color: #eee;
        }

    .selectItem label {
        width: 100%;
        height: 100%;
        cursor: pointer;
        margin: 0;
    }

.SelectElement {
    max-height: 400px;
    overflow: auto;
}

#select_modal_dialog.modal .modal-body {
    padding: 0.5rem;
}

#select_modal_dialog .card-body {
    padding-right: 5px;
    padding-left: 5px;
}

.modal-content .modal-body .journal-table {
    max-height: 300px;
    overflow: auto;
}

.content {
    padding-top: 30px;
}

.form-control {
    border: 1px solid #dde4eb;
    color: black;
}
    .form-control.disabled {
        background-color: #d4f0fd;
    }
span.form-control {
    border: 1px solid #dde4eb;
    background-color:#eee;
    color: black;
}

.button {
    cursor: pointer;
}

.note-editor.note-airframe, .note-editor.note-frame {
    border: 1px solid #dde4eb !important;
    border-radius: 0;
}

.note-editor .note-toolbar > .note-btn-group, .note-popover .popover-content > .note-btn-group {
    margin-top: 0;
}


.dt-tree ul li {
    list-style: none;
    padding-left: 0;
}

.dt-add-item {
    cursor: pointer;
}

#select_modal_dialog .modal-body .table.filter-table td, .modal-body .table.filter-table th {
    border-right: 0;
    border-top: 0;
}

#select_modal_dialog .modal-body .table.filter-table tbody tr {
    border-left: 1px solid transparent;
}

#select_modal_dialog .modal-body .card {
    background-color: transparent;
    margin-bottom: 1.875rem;
    border: none;
    box-shadow: none;
    border-radius: .45rem;
}

#select_modal_dialog .table thead th {
    vertical-align: bottom;
    border-bottom: 0;
}

.card .goods-card {
    width: 100%;
}

    .card .goods-card.active {
        width: calc(100% - 250px);
        border-right: 1px solid rgba(0, 0, 0, .125) !important;
    }

@media (max-width: 1200px) {
    .card .goods-card {
        width: 100% !important;
    }

    .action-card.active {
        width: 100% !important;
    }

    .details-container .details-form.active {
        width: 100% !important;
    }
}

.dt-items {
    padding-left: 0;
    width: 100%;
}

.dropdown-item {
    cursor: pointer;
    position: relative;
}

.dt-items li ul {
    padding-left: 30px;
}

.ordinal-block {
    font-weight: bold;
    font-size: 14px;
}

.fixed-footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #fafbfc;
    left: 0;
    z-index: 1000;
}

.dt-tree {
    padding-bottom: 50px;
}

.doc-template .dt-item-edit-textarea-check {
    position: absolute;
    top: 0;
    right: 0;
}

.news-details .event-detail-title textarea {
    min-height: 215px;
}

/*summernote*/
.dt-item .note-btn-group .note-btn {
    background-color: #fff !important;
    color: #00c7ff;
    margin-right: 0;
}

.doc-template .note-toolbar.card-header {
    display: none;
}

.doc-template .dt-item.active > .dt-item-block .note-toolbar.card-header {
    display: block !important;
    position: absolute;
    background-color: #eee;
    top: -55px;
    z-index: 98;
    width: auto;
    left: -1px;
    border-radius: 6px 6px 0 0;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

    .doc-template .dt-item.active > .dt-item-block .note-toolbar.card-header.fixed {
        position: fixed;
        left: 50%;
        top: 64px;
        transform: translateX(-50%);
        border-radius: 0
    }

        .doc-template .dt-item.active > .dt-item-block .note-toolbar.card-header.fixed .note-mybutton button {
            border-color: #9E9E9E #cde #def #678;
        }

.picker-switch {
    text-align: center;
}

.note-toolbar.card-header .btn i {
    font-size: 10px;
    line-height: 1.5;
}

@media screen and (max-width:1000px) {
    .dt-item.active > .dt-item-block .note-toolbar.card-header {
        width: 100%;
        top: 0;
        box-shadow: none;
        left: 0;
        border-radius: 0;
        position: relative;
    }

    .dt-item.active > .dt-item-block > .dt-item-edit-textarea .dt-item-edit-textarea-check {
        top: 40px !important;
    }
}

@media screen and (max-width:500px) {
    .dt-tree ul li.dt-item:before {
        content: none !important;
    }

    .dt-items li ul {
        padding-left: 0 !important;
    }

    .dt-tree ul li.dt-item {
        border-left: 0 !important;
        margin-top: 10px;
    }
}

.dt-item-block {
    position: relative;
}

.doc-template aside .model .dt-tree {
    margin-top: 0;
}

    .doc-template aside .model .dt-tree > ul > li.dt-item:first-child {
        margin-top: 0;
    }

    .doc-template aside .model .dt-tree ul li.dt-item {
        border-left: 0;
        border-top: 0;
    }

.dt-tree {
    position: relative;
    margin-top: 20px;
}

.dt-item .action-menu {
    display: none
}

.dt-item-block textarea.form-control {
    height: auto;
    min-height: 80px;
}

.dt-item.active > .dt-item-block .action-menu {
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    right: 1px;
    bottom: 1px;
    padding: 5px;
    z-index: 9;
    border-radius: 6px 0 0 0;
    background-color: #eee;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.dt-item.active > .dt-item-dm-block .action-menu {
    width: 120px;
    display: flex;
    align-items: center;
    position: absolute;
    justify-content: space-between;
    right: 1px;
    top: -20px;
    padding: 5px;
    border-radius: 6px 0 0 0;
    z-index: 98;
    background-color: #eee;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.dt-item-dm-block .input-group .dt-item-edit-textarea-check label {
    padding: 0;
}

.note-editor.note-airframe .note-statusbar, .note-editor.note-frame .note-statusbar {
    display: none;
}

.dt-item .note-editor.note-airframe .note-editing-area .note-editable, .dt-item .note-editor.note-frame .note-editing-area .note-editable {
    padding: 10px 30px 40px 10px;
}

.dt-item.active > .dt-item-block .note-editor.note-airframe .note-editing-area .note-editable, .dt-item.active > .dt-item-block .note-editor.note-frame .note-editing-area .note-editable {
    padding: 10px 30px 30px 10px !important;
}

.dt-item.active > .dt-item-block .note-editor.note-airframe .note-statusbar, .dt-item.active > .dt-item-block .note-editor.note-frame .note-statusbar {
    display: block;
}

li.dt-item {
    position: relative;
}

    li.dt-item .dropdown-menu .dropdown-menu {
        top: auto;
        right: 100%;
        transform: translateY(-2rem);
    }

    li.dt-item .dropdown-item + .dropdown-menu {
        display: block;
        opacity: 0;
        transition: opacity .3s 1s;
    }

    li.dt-item .dropdown-item.submenu::before {
        display: inline-block;
        width: 0;
        height: 0;
        margin-right: .255em;
        content: "";
        border-top: .3em solid transparent;
        border-right: .3em solid;
        border-bottom: .3em solid transparent;
    }

    li.dt-item .dropdown-item:hover + .dropdown-menu,
    li.dt-item .dropdown-menu:hover {
        opacity: 1;
        transition: opacity .3s .1s;
    }

.dt-item .action-menu .btn {
    background-color: #fff;
}

.UI-type .dt-tree ul li.dt-item {
    list-style: none;
    border-top: 1px solid #DFE3E7;
}

.dt-tree > ul > li.dt-item {
    list-style: none;
}

.dt-tree ul li.dt-item {
    border: 1px solid transparent;
}

    .dt-tree ul li.dt-item.active {
        border: 1px solid #8bc34a;
        border-radius: 3px;
        box-shadow: rgba(139,195,74,.30) 0px 0px 0px 2px;
    }

#data-model .dt-tree ul li.dt-item.active {
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
}

.dt-item-dm-block {
    padding: 5px 8px 5px;
}

.model, .UI-type {
    padding-bottom: 60px;
}

    .model .dt-tree > ul > li.dt-item {
        list-style: none;
    }


    .model .dt-item.active > .dt-item-dm-block .action-menu {
        width: 180px;
        justify-content: flex-start;
    }


    .model .dt-tree ul li.dt-item {
        border-left: 0;
        border-top: 1px solid #DFE3E7;
        font-size: .8rem;
        padding: 0;
    }

        .model .dt-tree ul li.dt-item:before {
            content: none;
        }

    .model .dt-tree {
        padding-bottom: 0;
    }

    .model .dt-items {
        margin-bottom: 0;
    }

.dt-tree > ul > li > ul li {
    list-style: none;
    padding: 0;
}

.dt-item-edit-textarea {
    width: 100%;
    position: relative;
    margin-bottom: 0;
}

.dt-item-block {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 5px;
    padding-bottom: 5px;
    clear: both;
}


.doc-template .dt-item-edit-textarea {
    position: relative;
    width: calc(100% - 70px);
}

.doc-template .table {
    width: 100%;
}

.doc-template .ReadMode {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.left-block {
    text-align: center;
    width: 70px
}

.note-editable.card-block {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.ordinal-block {
    position: initial;
    cursor: pointer;
    font-size: 12px;
    min-width: 30px;
    height: 30px;
    z-index: 10;
    text-align: center;
    color: #000 !important;
    white-space: nowrap;
    margin: 0 .375rem;
}

    .ordinal-block .dropdown-toggle {
        white-space: nowrap;
        padding: 5px;
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        border: 1px solid rgba(0,0,0,.125);
    }

.dt-item-edit-textarea select {
    border: 1px solid #cacfe7;
    border-left: none;
    border-radius: 0;
}

.template-card .card-body-template {
    padding: 0;
}

.collapse-group[aria-expanded="true"] img.folder-open {
    display: none;
}

.collapse-group[aria-expanded="true"] img.folder-close {
    display: inline-block !important;
}

.collapse-group[aria-expanded="false"] img.folder-open {
    display: inline-block !important;
}

.collapse-group[aria-expanded="false"] img.folder-close {
    display: none;
}

.not-Parent {
    display: block;
    margin-top: 10px;
}

.show-attribute {
    display: block;
    margin-top: 10px;
    cursor: pointer;
}

li.ImParent > .dt-item-block .not-Parent {
    display: none !important;
}

li.ImParent > .dt-item-block .collapse-group {
    display: inline-block !important;
    margin-top: 10px;
}


.model .dt-tree .dt-items > li {
    position: relative;
}

#AddMembersBlock {
    width: 100%;
}

.AddMemberBlock {
    width: 100%;
    border: 1px solid #b5d7fb;
    padding: 10px;
    margin-top: 10px;
}

label {
    display: inline-block;
    margin-bottom: 0;
}

@media screen and (max-width:600px) {
    .dt-item-edit-textarea select {
        border: 1px solid #cacfe7;
        border-left: 1px solid #cacfe7;
        border-radius: 0;
    }
}

@media screen and (max-width:550px) {
    .dt-item-dm-block .input-group .input-group-prepend {
        padding-top: 10px;
        width: 100%;
    }

    .dt-item-edit-textarea .form-control.unique {
        min-width: 260px;
    }

    .dt-item-dm-block {
        padding: 8px;
    }
}


@media screen and (max-width:330px) {
    .dt-item-edit-textarea .form-control.unique {
        min-width: 100%;
    }
}

#dm-item-properties .action-menu {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    background-color: #fff;
    padding: 0 0 10px 0;
}

.add-attribute {
    border-radius: 50%;
}

.properties-block .properties {
    margin-top: 15px;
    padding: 10px;
    border: 1px dashed #c3c3c3;
    min-height: 200px;
    text-align: center;
}

.remove-table-tr {
    color: #cacfe7;
}

    .remove-table-tr:hover {
        color: red;
    }

.dropleft .dropdown-toggle::before {
    display: none;
}


@media screen and (max-width:767px) {
    .mobile-hide-text {
        display: none;
    }
}

td a {
    color: #4f5f6f;
}

.brand-text {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    color: #232323;
    margin-right: 15px;
}

@media screen and (max-width:500px) {
    .navbar {
        padding: .5rem .5rem;
    }

    .brand-text {
        margin-right: 5px;
        font-size: 15px;
    }

    #sidebarCollapse img {
        height: 25px !important;
        min-width: 25px !important;
    }
}

@media screen and (max-width:260px) {
    .brand-text {
        display: none;
    }
}

a.brand-text:hover {
    text-decoration: none !important;
    color: #232323 !important;
}
a.brand-text:active, a.brand-text:focus {
    text-decoration: none !important;
    color: #232323 !important;
}

.header-title {
    font-size: 1.45rem;
    line-height: 1.5;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 700;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    line-height: 1.1;
    color: inherit;
}

.item-doc {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
}

.IconMassegBlock {
    position: relative;
}

    .IconMassegBlock .badge {
        background-color: #85CE36;
        color: #fff;
        min-width: 21px;
        height: 21px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 3px;
        border-radius: 50%;
        line-height: 19px;
        position: absolute;
        font-size: 12px;
        top: -10px;
        right: -5px;
        font-weight: 400;
        box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    }


.registration-container .card .card-body {
    padding: .8rem;
}

.action-card .card {
    box-shadow: none;
    border: 1px solid #cacfe7;
}

.add-file-label {
    position: relative;
    z-index: 0;
    display: inline-block;
    width: 100%;
    background: #fff;
    cursor: pointer;
    padding: 10px;
    text-transform: uppercase;
    font-size: 12px;
    word-wrap: break-word;
    white-space: normal;
    cursor: pointer;
    border: 0;
    border-radius: 0rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
}

.ActionDoc .btn {
    text-align: center;
    display: inline-block;
}

.add-file-input {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.button-file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.button-file-label {
    padding: .3rem .5rem;
    background-color: #fff;
    margin: .375rem;
    color: inherit;
    text-transform: uppercase;
    word-wrap: break-word;
    white-space: normal;
    cursor: pointer;
    border: 0;
    border-radius: 0rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.multi-file-execution .button-file-label {
    margin: 0;
    margin-right: 5px;
}

table[data-table-kind="4"] tr[data-object-status="1"] {
    background-color: rgba(163, 162, 162, 0.1);
}

.item-doc.doc_1 .type {
    color: rgba(163, 162, 162, 1) !important;
}

table[data-table-kind="4"] tr[data-object-status="2"] {
    background-color: rgba(194,219,195,0.4);
}

.item-doc.doc_2 .type {
    color: #c2dbc3;
}

table[data-table-kind="4"] tr[data-object-status="19"] {
    background-color: rgba(76,175,80,.3);
}

.item-doc.doc_19 .type {
    color: #799e97;
}

table[data-table-kind="4"] tr[data-object-status="42"] {
    background-color: #BEDDED;
}

table[data-table-kind="4"] tr[data-object-status="45"] {
    background-color: #48a1cf;
}

table[data-table-kind="4"] tr[data-object-status="44"] {
    background-color: rgba(255, 235, 59, 0.3);
}

table[data-table-kind="4"] tr[data-object-status="49"] {
    background-color: rgba(255,214,0,.52);
}

.item-doc.doc_44 .type {
    color: rgb(255, 235, 59) !important;
}

table[data-table-kind="4"] tr[data-object-status="58"] {
    background-color: rgb(179, 255, 224);
}

.item-doc.doc_58 .type {
    color: #b3ffe0 !important;
}

.item-doc.doc_49 .type {
    color: #ffd600 !important;
}

.item-doc.doc_42 .type {
    color: #90caf9 !important;
}

.item-doc.doc_45 .type {
    color: #48a1cf !important;
}


table[data-table-kind="4"] tr[data-object-status="4"] {
    background-color: rgba(21, 177, 5, 0.43);
}

.item-doc.doc_4 .type {
    color: #15b105 !important;
}

table[data-table-kind="4"] tr[data-object-status="6"] {
    background-color: rgba(89, 142, 96,.7);
}

.item-doc.doc_6 .type {
    color: rgb(89, 142, 96) !important;
}


thead tr th.datakind-2 {
    max-width: 55px;
}

thead tr th.datakind-4 {
    max-width: 100px;
}

tbody tr td.datakind-3 {
    text-align: left;
}

tbody tr td.datakind-4 {
    text-align: left;
}

tbody tr td.datakind-2 {
    text-align: center;
}

.Error-title {
    font-size: 2rem;
    display: block;
}

.input-group-text {
    background-color: #fff;
}

.error {
    color: red;
    font-size: 12px;
}

.dt-item-dm-block .action-btn {
    display: flex;
    align-items: center;
    margin-left: 8px;
    color: #C7CFD6;
    cursor: pointer;
}

.trash, .copy {
    color: #C7CFD6;
}

    .trash:hover {
        color: red;
    }

    .copy:hover {
        color: #03a9f4;
    }


.collapse-dt-items {
    position: relative;
    width: 18px;
    display: inline-block;
    height: 18px;
    margin-right: 10px;
}

.module .collapse-group {
    display:inline-flex;
    align-items:center;
}

.module .model-item.new {
    background-color: #fffce0;
}

.doc-template main .collapse-dt-items {
    position: relative;
    width: 16px;
    height: 16px;
    margin-right: 0;
    margin-top: 10px;
}

.collapse-dt-items::before {
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    display: block;
    position: absolute;
    color: white;
    border: 2px solid white;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    line-height: 14px;
    content: '+';
    background-color: #03a9f4;
}

.collapse-dt-items[aria-expanded="true"]::before {
    content: '-';
    background-color: #85CE36;
}

.collapse-group[aria-expanded="true"] .collapse-dt-items::before {
    content: '-';
    background-color: #85CE36;
}

.collapse-dt-items:hover {
    color: #fff;
}

.dt-item .input-group {
    align-items: center;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #03a9f4;
    background-color: #03a9f4;
}

.details-card-body {
    padding: 20px 20px 80px 20px;
}

.modal-dialog.modal-xl.fixed {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
}

    .modal-dialog.modal-xl.fixed .modal-content {
        border-radius: 0;
        border: 0;
    }

    .modal-dialog.modal-xl.fixed .modal-header {
        width: 100%;
        position: fixed;
        z-index: 999;
        background-color: #eee;
    }

    .modal-dialog.modal-xl.fixed .modal-body {
        padding-top: 85px;
    }

        .modal-dialog.modal-xl.fixed .modal-body .card {
            box-shadow: none;
            border: none;
        }

    .modal-dialog.modal-xl.fixed .modal-fixed-footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #eee;
    }


#ModalFormPreview .modal-content {
    min-height: 100vh;
}

#ModalFormPreview .card-footer.fixed-footer {
    width: 100%;
    margin-left: 0;
    background-color: #eee;
}

#ModalFormPreview .details-card-body {
    padding: 0 0 40px 0;
}

.details-item {
    width: 100%;
}

.dm-item-model-properties fieldset {
    min-height: 180px;
}

@keyframes tada {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }

    10%, 20% {
        -webkit-transform: scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);
        transform: scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale3d(1,1,1) rotate3d(0,0,1,10deg);
        transform: scale3d(1,1,1) rotate3d(0,0,1,10deg);
    }

    40%, 60%, 80% {
        -webkit-transform: rotate3d(0,0,1,-10deg);
        transform: rotate3d(0,0,1,-10deg);
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }
}


@media (min-width: 1300px) {
    .model-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}

.model-row {
    display: flex;
    flex-wrap: wrap;
}

main.tree-block, main.model-block {
    width: 100%;
}

/*aside.properties-block {
    width:100%;
}*/

.details-card-body .details-card-body {
    padding: 0;
}

.details-fieldset {
    flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.details-block .card-title {
    font-size: 1.2rem;
}


.news-container {
    column-count: 4;
    -webkit-column-count: 4;
    column-gap: 0;
    -webkit-column-gap: 0;
}

.news-flex-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media screen and (max-width:1000px) {
    .news-container {
        column-count: 3;
        -webkit-column-count: 3;
        column-gap: 0;
        -webkit-column-gap: 0;
    }
}

@media screen and (max-width:600px) {
    .news-container {
        column-count: 2;
        -webkit-column-count: 2;
        column-gap: 0;
        -webkit-column-gap: 0;
    }
}

@media screen and (max-width:450px) {
    .news-container {
        column-count: 1;
        -webkit-column-count: 1;
        column-gap: 0;
        -webkit-column-gap: 0;
    }
}

.news {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    padding: 5px;
}

.news-flex {
    width: 25%;
    padding: 0 5px;
    margin-bottom: 10px;
    flex-direction: row;
    flex-wrap: wrap;
}

@media screen and (max-width:1000px) {
    .news-flex {
        width: 33.33%;
        padding: 0 5px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width:600px) {
    .news-flex {
        width: 50%;
        padding: 0 5px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width:450px) {
    .news-flex {
        width: 100%;
        padding: 0 5px;
        margin-bottom: 10px;
    }
}

.news-main-img {
    padding-bottom: 10px;
}


.news[data-object-status="1"] {
    font-style: italic !important;
    font-family: 'Museo Sans Cyrl 700' !important;
}

    .news[data-object-status="1"] span {
        font-family: 'Museo Sans Cyrl 700' !important;
        color: #717e85 !important;
    }

.news-main-img {
    width: 100%;
    min-height: 180px;
    /*  display: flex;
    justify-content: center;
    align-items: center;*/
}

.news-detail-main-img img {
    width: 100%;
    height: auto;
}

.news-post {
    margin-top: 15px;
    border-bottom: 2px solid black;
    display: block;
    height: 50px;
    line-height: 1.25;
    overflow: hidden;
    position: relative;
}

    .news-post:after {
        position: absolute;
        display: block;
        content: '';
        bottom: 0;
        left: 0;
        width: 100%;
        /*background: url(../images/icon/shad.png) center repeat-x;*/
        height: 9px;
    }

.news-title {
    font-family: 'Museo Sans Cyrl 700';
    line-height: 1.1;
    font-size: 15px;
    margin-bottom: 15px;
    color: #0076be;
}

.news-post a {
    font-size: 16px;
    color: #596c73;
}

.news.Important .card {
    background-color: #c6e8f7;
    /*   border: 1px solid #005792;*/
}

.Important .news-post a {
    font-family: 'Museo Sans Cyrl 900';
    font-size: 18px;
    margin-bottom: 15px;
    color: #0076be;
}

.news-title:hover {
    color: #FF9800 !important;
    text-decoration: underline;
}

.news-post-date {
    margin-top: 15px;
}

.news-detail-post p {
    font-size: 20px;
}

/*event-calendar*/

.event-calendar {
    width: 100%;
}

    .event-calendar a {
        color: #4CAF50;
        text-decoration: none;
        font-size: 11px;
    }

    .event-calendar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .event-calendar li {
        display: block;
        float: left;
        width: 14.342%;
        box-sizing: border-box;
        border: 1px solid #ccc;
        margin-right: -1px;
        margin-bottom: -1px;
    }

@media screen and (min-width: 2100px) {
    .event-calendar li {
        width: 14.3% !important;
    }
}

.event-calendar ul.weekdays {
    height: 40px;
    background: #014e95;
}

    .event-calendar ul.weekdays li {
        text-align: center;
        text-transform: uppercase;
        line-height: 20px;
        border: none !important;
        padding: 10px 6px;
        color: #fff;
        font-size: 13px;
    }

.event-calendar .days li {
    height: 180px;
    position: relative;
    padding-top: 25px;
}

    .event-calendar .days li:hover {
        background: #d3d3d3;
    }

.event-calendar .date {
    text-align: center;
    margin-bottom: 5px;
    top: 0;
    right: 0;
    position: absolute;
    padding: 4px;
    background: #03A9F4;
    color: #fff;
    width: 25px;
}

.event-calendar .event {
    clear: both;
    display: block;
    font-size: 13px;
    border-radius: 4px;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 14px;
    background: #e4f2f2;
    border: 1px solid #b5dbdc;
    color: #009aaf;
    text-decoration: none;
}

    .event-calendar .event.Important {
        clear: both;
        display: block;
        font-size: 13px;
        border-radius: 4px;
        padding: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        line-height: 14px;
        background: #efccca;
        border: 1px solid #f77f77;
        color: red;
        text-decoration: none;
    }

.event-calendar .event-desc {
    color: #666;
    text-decoration: none;
}

.event-calendar .event.Important .event-desc {
    color: black;
    font-weight: bold;
    font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
    text-decoration: none;
}

.event-calendar .other-month {
    background: #f5f5f5;
    color: #666;
}

.event-calendar .today {
    background: #f0e68c;
    color: #666;
}

@media(max-width: 768px) {

    .event-calendar .weekdays, #calendar .other-month {
        display: none;
    }

    .event-calendar li {
        height: auto !important;
        border: 1px solid #ededed;
        width: 100%;
        padding: 10px;
        margin-bottom: -1px;
    }

    .event-calendar .date {
        float: none;
    }
}


.event-block {
    padding: 5px;
}

    .event-block .event {
        cursor: pointer;
    }

.event-block {
    max-height: 150px;
    overflow: auto;
}

.arrow {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #000;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.month {
    font-size: 25px;
    font-weight: 900;
    font-family: 'Museo Sans Cyrl 900';
    color: #004188;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.event-detail-title a {
    font-family: 'Museo Sans Cyrl 900';
    font-size: 18px;
    font-weight: 900;
    color: #004188;
    text-decoration: none !important;
}

.event-detail-date {
    text-align: end;
    color: #2196F3;
}


/*person-card*/

.person-department-title {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
    margin-top: 30px;
    border-left: 3px solid #faa627;
}

    .person-department-title h5 {
        position: relative;
        z-index: 1;
        padding: 10px 0 10px 50px;
        color: #0076be;
        font-size: 18px;
        font-family: 'Museo Sans Cyrl 900';
        font-weight: 900;
        text-transform: uppercase;
    }

.department-list {
    width: 25%;
    min-height: 70px;
}

    .department-list .card-header {
        min-height: 70px;
    }


.header-department-list, .header-wiki-list {
    width: 100%;
    margin-top: 15px;
}

    .header-department-list h5, .header-wiki-list h5 {
        font-size: 16px;
        text-transform: uppercase;
        color: #6c757d;
        font-family: 'Museo Sans Cyrl 900';
        font-weight: 900;
    }

.department-list .card-header {
    background-color: #fff;
    border-left: 3px solid #fecc19;
}

    .department-list .card-header a span {
        font-size: 14px;
        color: #014e95;
        font-family: 'Museo Sans Cyrl 900';
    }

    .department-list .card-header a[aria-expanded="true"] .far.fa-caret-square-up {
        display: inline-block;
    }

    .department-list .card-header a[aria-expanded="true"] .far.fa-caret-square-down {
        display: none;
    }

    .department-list .card-header a[aria-expanded="false"] .far.fa-caret-square-up {
        display: none;
    }

    .department-list .card-header a[aria-expanded="false"] .far.fa-caret-square-down {
        display: inline-block;
    }

.Parent-wiki-chapter {
    /*    border-left: 1px solid #f7941e;*/
    width: 100%;
    /*  margin-bottom: 15px;*/
}

    .Parent-wiki-chapter h5 {
        font-family: 'Museo Sans Cyrl 900';
        font-size: 15px;
        text-transform: uppercase;
        color: #004188;
        width: 100%;
    }

    .Parent-wiki-chapter .wiki-title {
        font-size: 16px;
        margin: 0px 0px 15px;
        display: block;
    }

.pre-wiki-title {
    font-family: 'Museo Sans Cyrl 900';
    font-size: 18px;
    text-transform: uppercase;
    color: #004188;
}
.person-img-lg {
    width: 92px;
    height: 92px;
    border-radius: 0.25rem !important;
}

@media screen and (max-width: 768px) {
    .account-name {
        display: none;
    }

    .day.other-month {
        display: none;
    }
}
.portal-home-page {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.portal-item {
    width: 30%;
    height: 150px;
    padding: 15px;
    margin-right: 2%;
    margin-bottom: 2%;
}

@media screen and (max-width: 800px) {
    .portal-item {
        width: 48%;
        height: 150px;
        padding: 15px;
    }
}

.portal-item-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #6c757d;
    font-family: 'Museo Sans Cyrl 900';
    font-weight: 900;
    margin-top: 10px;
}

.portai-item-card {
    width: 100%;
    text-align: center;
}

.cabinet-page {
    height: auto;
}

@media screen and (max-width: 500px) {
    .cabinet-page {
        height: auto;
    }

    .portal-item {
        width: 48%;
        height: 150px;
        padding: 15px;
    }
}

/*gallary*/

.thumb img {
    -webkit-filter: grayscale(0);
    filter: none;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ececec;
    padding: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease-out;
}

/*   .thumb img:hover {
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
    }*/

/*.thumb {
    padding: 10px 10px 10px 0;
}
*/
.description-person-block-item {
    border: 1px solid #eee;
    padding: 10px;
}

.wiki-element .fas {
    font-size: 20px !important;
}

li.list {
    cursor: pointer;
}


.modal-backdrop.show {
    opacity: .7;
}

.docs-card {
    width: 100%;
    max-width: 1300px !important;
    background-color: #fff;
    -webkit-transition: -webkit-box-shadow .25s;
    transition: -webkit-box-shadow .25s;
    transition: box-shadow .25s;
    transition: box-shadow .25s, -webkit-box-shadow .25s;
    border-radius: 0;
    -webkit-box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}

    .docs-card .modal-content {
        border: 0;
        border-radius: 0;
        min-height: 80vh;
    }

.doc-template main {
    flex-grow: 1;
}

/*#data-model {
    position: sticky;
    top: 80px;
}*/


.doc-template .model-toggle {
    width: 300px;
    position: fixed;
    right: -300px;
    top: 100px;
    z-index: 98;
    transition: right .3s ease-in-out;
}

    .doc-template .model-toggle.active {
        right: 0px;
    }

    .doc-template .model-toggle .model-body {
        position: relative;
        margin-bottom: 40px;
        background: #fff;
        border-radius: 0;
        box-shadow: -1px 0 8px rgba(0,0,0,0.2);
    }

    .doc-template .model-toggle .model-header {
        padding: 20px 10px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
        background-color: #eee;
    }

#data-model {
    padding: 0 10px 0 10px;
}

    #data-model .dt-item-dm-block {
        padding: 5px 0;
    }


    #data-model .dt-tree {
        margin-top: 0;
    }

.model-toggle .toggler-btn {
    width: 40px;
    cursor: pointer;
    position: absolute;
    left: -40px;
    top: 0;
}

.model-toggle .model-header h6 {
    margin: auto;
}

.model-toggle .toggler-block {
    z-index: 200;
    border-radius: 50% 0 0 50%;
    padding: .8rem .5rem .8rem 1rem;
    font-size: 15px;
    line-height: initial;
    background-color: #03a9f4 !important;
    box-shadow: -1px 0 8px rgba(0,0,0,0.2);
}

.model-toggle .card {
    min-width: 300px;
}

.model-toggle .model {
    padding-bottom: 0;
}

    .model-toggle .model .dt-tree {
        padding-bottom: 0;
    }

.model-toggle .card .tree-block {
    min-width: 100%;
}


@media screen and (max-width:600px) {
    .model-toggle {
        top: 80px !important;
    }

    #data-model {
        max-height: 350px !important;
    }
}

.dt-tree span.form-control {
    cursor: pointer;
    height: auto;
    min-height: calc(1.5em + .75rem + 2px);
}


.dt-item-block .note-editor.note-frame .note-editing-area, .dt-item-block .note-editor.note-airframe .note-editing-area {
    min-height: 103px;
}

.email-letter-file {
    width: 100%;
    border-top: 1px dotted #d8d8d8;
    margin: 20px 0;
    padding: 20px 0;
}

.email-letter-date {
    color: #8f8f8f;
    font-size: 0.8125rem;
    width: 120px;
    /*   padding-left: 15px;*/
}

.view-container {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.dm-magic:after {
    display: none;
}

.hasError {
    background-color: #f3dddd;
}

.ReadMode {
    border: 1px solid transparent;
    border-bottom: 1px dotted #cacfe7;
    /*    color: #3b4781;*/
    height: auto;
    min-height: 105px;
    padding: 10px 30px 30px 10px !important;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .5rem .5rem;
    clear: both;
    font-weight: 400;
    color: #495057;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

    .dropdown-item i {
        /* color: #005792;*/
        min-width: 12px;
        margin-right: 8px;
    }

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

.app-menu {
    margin-top: 20px;
}

/*event*/
.event > ul > li {
    list-style: none;
    margin: 0px 0px 30px;
    min-height: 200px;
    line-height: 28px;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

.event .Important .event-list-text {
    background-color: #e7f4fb;
}

.event-list figure ~ .event-list-text {
    margin: 0px 0px 0px 200px;
    padding: 20px 0px 29px 24px;
    border-left: none;
}

.event-list figure {
    float: left;
    width: 200px;
    margin: 0px;
    display: flex;
    position: relative;
    /*    background-color: #f9f8f8;*/
    height: 100%;
}

    .event-list figure a img {
        border-radius: 3px;
    }

.event .Important {
    background-color: #e7f4fb;
}

.event-list figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

.event-list figure > a {
    position: relative;
    overflow: hidden;
}

.event-list-text span {
    display: inline-block;
    font-size: 12px;
    margin: 0px 0px 1px;
}

    .event-list-text span i {
        margin: 0px 9px 0px 0px;
    }

.event-list-text h2 {
    text-transform: uppercase;
    margin: 0px 0px 10px;
    letter-spacing: 1.1px;
    font-size: 16px;
}

    .event-list-text h2 a {
        color: #2e2e2e;
    }

.event-list ul li:hover .event-list-text h2 a {
    color: #00aff0;
}

.thumb-option {
    margin: 0px;
}

.event-list-text {
    border-radius: 0px 4px 4px 0px;
    /*    border: 1px solid #ececec;*/
}

    .event-list-text .thumb-option li, .event-list-text .thumb-option li time {
        color: #7e7e7e;
        font-size: 12px;
        text-transform: none;
        margin: 0px 31px 6px 0px;
        letter-spacing: 0.5px;
    }

    .event-list-text p {
        margin: 0px 0px 19px;
        line-height: 26px;
        max-height: 60px;
        overflow: hidden;
    }

@media (max-width: 767px) {
    .event > ul > li {
        width: 50%;
        float: none;
        display: inline-block;
        margin-right: -4px;
        vertical-align: top;
    }

    .event-list figure {
        width: 100%;
        height: 200px;
        padding: 10px;
    }

        .event-list figure ~ .event-list-text {
            float: left;
            margin: 0px;
            padding: 20px 10px 29px;
            border-left: 1px solid #ececec;
            border-top: none;
        }
}

/*event*/

/*news*/
.news.news-list > ul > li {
    list-style: none;
    float: none;
    display: inline-block;
    margin: 0px -4px 30px 0px;
    line-height: 28px;
}

.news-grid-wrap {
    padding: 21px;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
    background-color: #ffffff;
    border-radius: 4px;
}

.news.news-list .Important .news-grid-wrap {
    background-color: #e7f4fb;
}

.news-grid-wrap figure {
    margin: 0px 0px 14px;
    text-align: center;
}

    .news-grid-wrap figure a img {
        border-radius: 3px;
        max-height: 300px;
        width: 100%;
    }

.news-grid-text h2 {
    text-transform: uppercase;
    margin: 0px 0px 7px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
}
.news-grid-text span {
    color: #00aff0;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block;
}

.news-grid-text p {
    max-height: 50px;
    overflow: hidden;
}

/*news*/
/*news-card-details*/
.news-page-title {
    margin: 0px 0px 30px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 14px 0px 0px 65px;
    text-align: left;
    font-size: 20px;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    margin-right: 15px;
}

    .news-page-title a {
        color: #262626;
    }


    .news-page-title:before {
        content: '';
        border-radius: 3px;
        position: absolute;
        left: 0px;
        top: 0px;
        width: 45px;
        height: 45px;
        border: 2px solid #00aff0;
    }


.knowledge-base .news-page-title:before {
    background-image: url(../images/icon/book-green.png);
    border: none;
    background-size: cover;
    width: 45px;
}


.news-page-title:after {
    content: '';
    border-radius: 3px;
    position: absolute;
    left: 10px;
    top: 10px;
    width: 45px;
    height: 45px;
    border: 2px solid #85ce36;
}

.knowledge-base .news-page-title:after {
    background-image: url(../images/icon/book-blue.png);
    border: none;
    background-size: cover;
    width: 45px;
}

.news-card-details {
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.07);
    padding: 55px 20px 20px;
    position: relative;
    min-height: 400px;
}

.news-img-thumb {
    border-radius: 4px;
}

.news-detail-main-img img {
    border: 1px solid #ececec;
    padding: 5px;
    border-radius: 4px;
}

.news-detail-thumb-text h2 {
    margin: 0px 0px 7px;
    font-size: 18px;
    text-transform: uppercase;
    color: #2e2e2e;
    line-height: 1.5;
    margin: 0 0 8px;
    letter-spacing: 0.7px;
}

.news-detail-thumb-text p {
    /* float: left;*/
    line-height: 26px;
    letter-spacing: 0.6px;
    margin: 0px 0px 20px;
    color: #7e7e7e;
    font-size: 15px;
}


.news-detail-main-img {
    float: left;
    max-width: 300px;
    margin: 0px 15px 10px 0;
}

.news-detail-post .date {
    color: #00aff0;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block;
}

.wiki-element-card {
    display: block;
    color: #7e7e7e;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #ececec;
    padding: 5px 14px;
    text-transform: uppercase;
    position: relative;
}

.wiki-title {
    color: #2e2e2e;
    font-weight: 500;
    line-height: 1.2;
}

@media screen and (max-width:600px) {
    .news-page-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding: 0px 0px 0px 35px;
    }

        .news-page-title:before {
            content: '';
            border-radius: 3px;
            position: absolute;
            left: 0px;
            top: 0px;
            width: 20px;
            height: 20px;
            border: 2px solid #00aff0;
        }

        .news-page-title:after {
            content: '';
            border-radius: 3px;
            position: absolute;
            left: 10px;
            top: 10px;
            width: 20px;
            height: 20px;
            border: 2px solid #85ce36;
        }
}

.details-form {
    margin-top: 1rem;
}

.modal .modal-body .details-form {
    margin-top: 0;
}

.wrap-content .nav-tabs {
    border-bottom: none;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.doc-template .dt-item-edit-textarea p {
    margin-bottom: 0;
}


.wrap-content .nav-tabs > .nav-item > .nav-link {
    padding: 12px 10px;
    border: none;
    background-color: #eee;
    border: none;
    box-shadow: 1px 1px 2px #ccc;
    margin-left: 10px;
}

.wrap-content .nav-tabs > .nav-item:first-child .nav-link {
    margin-left: 0px;
    padding-left: 0;
}

.Filter-block .nav-tabs > .nav-item .nav-link.active {
    background-color: #eee;
    color: #495057;
}

.wrap-content .tab-content {
    position: relative;
    z-index: 1;
    background-color: #fff;
    /* border-top: 3px solid #2196f3;*/
}

@media screen and (max-width:600px) {
    .wrap-content .nav-tabs > .nav-item {
        width: 100%;
        margin-bottom: 5px;
    }

        .wrap-content .nav-tabs > .nav-item > .nav-link {
            width: 100%;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            margin-left: 0;
        }

    .wrap-content .tab-content {
        border-top: none;
    }
}


@media (min-width: 601px) and (max-width:900px) {
    .wrap-content .nav-tabs > .nav-item {
        width: 50%;
        float: left;
        margin-bottom: 10px;
    }

        .wrap-content .nav-tabs > .nav-item > .nav-link {
            width: 100%;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            margin-left: 10px;
        }

        .wrap-content .nav-tabs > .nav-item:nth-child(2n+1) > .nav-link {
            margin-left: 0;
        }

        .wrap-content .nav-tabs > .nav-item:first-child .nav-link {
            margin-left: 0px;
        }
}


@media (min-width: 901px) and (max-width: 1150px) {
    #content.active .wrap-content .nav-tabs > .nav-item {
        width: auto;
        float: left;
        margin-bottom: 0;
    }

    .wrap-content .nav-tabs > .nav-item {
        width: 50%;
        float: left;
        margin-bottom: 10px;
    }

        .wrap-content .nav-tabs > .nav-item:nth-child(2n+1) > .nav-link {
            margin-left: 0;
        }

    #content.active .wrap-content .nav-tabs > .nav-item:nth-child(2n+1) > .nav-link {
        margin-left: 10px;
    }

    #content.active .wrap-content .nav-tabs > .nav-item:first-child .nav-link {
        margin-left: 0;
    }
}


.wrap-content .tab-pane {
    padding-top: 15px;
    padding-bottom: 15px;
}

.lang .dropdown-menu {
    min-width: initial
}

#data-model .tree-block {
    width: 100%;
}

#data-model .dt-item.focus-item-group:hover {
    cursor: pointer;
}

#data-model .dt-item-edit-textarea {
    width: 100%;
    position: relative;
}

#data-model .dt-item.focus-item-group .dt-item-dm-block:hover .copy {
    display: inline-block !important;
}

#content .card.error-page {
    margin: 1rem auto;
    max-width: 360px;
    width: 100%;
}

li.dt-item.current > .dt-item-dm-block {
    background-color: #e3f2f9;
}


.dt-item .dropdown-menu {
    padding: 0;
}

    .dt-item .dropdown-menu .dropdown-item {
        border-bottom: 1px dotted #eee;
    }

        .dt-item .dropdown-menu .dropdown-item:last-child {
            border-bottom: 0;
        }

        .dt-item .dropdown-menu .dropdown-item i {
            font-size: 12px;
        }

.properties {
    display: none;
}

.model-toggle .dm-item-properties .toggler-block {
    z-index: 200;
    border-radius: 50% 0 0 50%;
    padding: .8rem .5rem .8rem 1rem;
    font-size: 15px;
    line-height: initial;
    background-color: #85ce36 !important;
    box-shadow: -1px 0 8px rgba(0,0,0,0.2);
}

@media screen and (min-width: 1200px) {
    main.tree-block, main.model-block {
        width: calc(100% - 400px) !important;
        padding-right: 30px !important;
        float: left !important;
    }

    aside.properties-block {
        position: relative;
        width: 400px;
        float: left;
        right: 0;
    }

    .second-container aside.properties-block {
        width: calc(100% - 15px) !important;
    }

    .properties-block.model-toggle .model-body {
        position: inherit;
        margin-bottom: 0;
        background: #fff;
        border-radius: 0;
        box-shadow: none
    }

    .properties-block.model-toggle .toggler-btn {
        display: none;
    }

    .properties-block.model-toggle .model-header {
        display: none;
    }

    .properties {
        display: block;
        position: sticky;
        top: 120px;
    }

    .dm-item-properties {
        margin-top: 15px;
        /*    position: sticky;
        top: 120px;*/
    }
}


@media screen and (max-width:1200px) {
    .properties-block.top {
        width: 100%;
        margin-top: 15px
    }
}

.custom-file-label {
    white-space: nowrap;
    overflow: hidden;
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.file {
    float: left;
    width: 160px;
    height: 160px;
    margin: 0 20px 20px 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border: 2px solid transparent;
}

.mail-file-prev {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    background-color: #f0f3f6;
}

.mail-file-footer {
    position: absolute;
    bottom: 0;
    height: 65px;
    width: 100%;
    z-index: 100;
    padding: 5px 0 5px;
    color: #fff;
    text-align: center;
    background: rgba(0,43,73,0.5);
    cursor: pointer;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

.file > .mail-file-prev:hover .mail-file-footer {
    height: 100%;
}

    .file > .mail-file-prev:hover .mail-file-footer .mail-file-param {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 101;
    }


.mail-file-prev-icon {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -10%);
    max-height: 100%;
    max-width: 100%;
    margin-bottom: 0;
    height: 35px;
}

    .mail-file-prev-icon.pic {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

.email {
    font-weight: 6font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 150px;
}


tr.attribute.fixed {
    background-color: #f9f5d1;
}

.IncomingEmail .modal-dialog {
    max-width: 80%;
    margin: 1.75rem auto;
}

    .IncomingEmail .modal-dialog object, .IncomingEmail .modal-dialog img, .IncomingEmail .modal-dialog iframe {
        min-height: 450px;
    }

/*checked label*/
.custom-radio .custom-control-label.checked::before {
    color: #fff;
    border-color: #03a9f4;
    background-color: rgba(0,123,255,0.5);
}

.custom-radio .custom-control-label.checked::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.custom-checkbox .custom-control-label.checked::before {
    color: #fff;
    border-color: #03a9f4;
    background-color: rgba(0,123,255,0.5);
}

.custom-checkbox .custom-control-label.checked::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}


.event-detail-title {
    color: #232323 !important;
    text-transform: uppercase;
    margin: 0px 0px 7px;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
}

a i.edit {
    color: #495057;
}


.dropdown-item:hover a i.edit {
    color: #85ce36 !important;
}


/* .doc-template .dt-item-edit-textarea b {
    font-family: initial;
}
 */
.modal-body p {
    margin-bottom: 0;
}

/* .modal-dialog.docs-card b {
    font-family: initial;
} */

.details-card {
    /*border: 1px solid #ccc;*/
    /*   padding: 20px 10px;*/
    border-radius: 3px;
}

.dt-item-icon {
    padding: 5px;
}


.model-toggle .tree-block .dt-items li ul {
    padding-left: 10px;
}

    .model-toggle .tree-block .dt-items li ul ul ul {
        padding-left: 5px;
    }

        .model-toggle .tree-block .dt-items li ul ul ul ul ul {
            padding-left: 0;
        }


/*fullscreen*/
.fullscreen div.headerFullscreen {
    display: none;
}

.fullscreen:-webkit-full-screen {
    width: 100vw;
    min-height: 100vh;
    overflow: auto;
}

    .fullscreen:-webkit-full-screen div.headerFullscreen {
        display: block;
    }

.fullscreen:-moz-full-screen {
    background-color: #fff;
    padding: 20px;
    width: 100vw;
    min-height: 100vh;
    overflow: auto;
}

    .fullscreen:-moz-full-screen div.headerFullscreen {
        display: block;
    }

.fullscreen:-ms-fullscreen {
    background-color: #eee;
    width: 100vw;
    min-height: 100vh;
    overflow: auto;
}

.fullscreen:fullscreen {
    background-color: #fff;
    padding: 20px;
    width: 100vw;
    min-height: 100vh;
    overflow: auto;
}

.portal {
    width: 100%;
}


.edit-table tr td {
    padding: .3rem;
}

.persons-group-card ul.group-event {
    margin-bottom: 0;
}

    .persons-group-card ul.group-event li {
        display: inline-block;
    }

        .persons-group-card ul.group-event li:last-child {
            padding-right: 0;
        }


        .persons-group-card ul.group-event li.news-list a {
            border-color: #03a9f4 !important;
            background-color: #03a9f4 !important;
            color: #fff;
        }

        .persons-group-card ul.group-event li.company-events a {
            border-color: #fa8c15 !important;
            background-color: #fa8c15 !important;
            color: #fff;
        }

        .persons-group-card ul.group-event li.wiki-catalog a {
            border-color: #85ce36 !important;
            background-color: #85ce36 !important;
            color: #fff;
        }

        .persons-group-card ul.group-event li a {
            border-radius: 5px;
        }


@media (min-width:768px) and (max-width:830px) {
    .persons-group-card ul.group-event, .persons-group-card ul.group-event {
        display: block;
        width: 100%;
    }

        .persons-group-card ul.group-event li {
            display: block;
            width: 50%;
            margin-bottom: 0;
            float: left;
        }

            .persons-group-card ul.group-event li a {
                display: block;
                width: 100%;
            }

    #content.active .persons-group-card ul.group-event li a, #content.active .persons-group-card ul.group-event li {
        display: inline-block;
        width: auto;
    }

    .persons-group-card ul.group-event li {
        padding: 5px;
    }
}

@media screen and (max-width:400px) {
    .card .card-header {
        padding: 15px 20px;
    }

    .persons-group-card ul.group-event {
        display: block;
        width: 100%;
    }

        .persons-group-card ul.group-event li a, .persons-group-card ul.group-event li {
            display: block;
            width: 100%;
        }

        .persons-group-card ul.group-event li {
            margin-bottom: 0;
        }
}


.modal-body .card {
    box-shadow: none;
    border: none;
}

.modal-body {
    padding: .8rem;
}

    .modal-body .card .card-body {
        padding: 0;
    }

@media screen and (max-width: 991px) {
    .table-mobile .table thead {
        display: none;
    }

    .list-card .table-mobile .table thead, .table-mobile .configurable-view.table thead {
        background-color: #eee;
        width: 100%;
        display: inline-block;
    }

    .list-card .table-mobile .table thead, .table-mobile .configurable-view.table thead {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .table-mobile .table, .table-mobile .table tbody, .table-mobile .table td, .table-mobile .table tfoot, .table-mobile .table th, .table-mobile .table tr {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        display: block;
        width: 100%;
    }

        .table-mobile .table > tbody > tr {
            display: flex;
            flex-wrap: wrap;
            position: relative;
            justify-content: space-between;
            margin-bottom: 20px;
            border-top: 2px solid #86cf33;
        }

            .table-mobile .table > tbody > tr:first-child {
                border-top: none;
            }

    .list-card .table-mobile .table > tbody > tr {
        border-top: 3px solid #00c7ff;
    }

    .table-mobile .table > tbody td {
        border-right: none;
        border-top: none;
        border-left: none;
        border-bottom: 1px dotted #c3cbd3;
        word-wrap: break-word;
    }

    .table-mobile .table > tbody td {
        min-height: 40px;
        height: auto;
        padding: 5px 0;
        position: relative;
        text-align: right;
        display: block;
    }

    .table-mobile .table > thead td {
        min-height: 40px;
        height: auto;
        padding: 5px 10px;
        position: relative;
        text-align: left;
        display: block;
    }

        .table-mobile .table > thead td.emty-td {
            display: none;
        }


    .table-mobile .table > tbody td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
        width: 100% !important;
    }

        .table-mobile .table > tbody td div {
            text-align: right;
        }

    .table-mobile .table > tbody > tr > td::before {
        content: attr(data-label);
        float: left;
        font-weight: 400;
        font-size: 12px;
        background: #ededed;
        padding: 3px 5px;
        max-width: 150px;
        text-align: left;
    }

    .table-mobile .table.n-data-label > tbody > tr > td::before {
        display: none;
    }


    .table-mobile .table > tbody > tr > td.remove-element {
        width: 100% !important;
    }


    .table-mobile .table > tbody > tr > td.n-data-label::before {
        display: none;
    }

    .table-mobile .table .dropdown-filter-dropdown {
        display: inline-block;
    }

    .table > tbody > tr > td.long-field a {
        display: block;
        padding-top: 30px;
    }

    .table-mobile .table > tbody td.n-data-label {
        text-align: left;
    }

    .table-mobile .table.small-table > tbody > tr {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        justify-content: space-between;
        margin-bottom: 0;
        border-top: none;
    }
}

@media (max-width: 991px) and (min-width: 768px) {

    .table-mobile .table > tbody > tr {
        display: inline-flex;
        flex-wrap: wrap;
        vertical-align: top;
        width: 48%;
    }

        .table-mobile .table > tbody > tr:nth-child(2n+1) {
            margin-right: 2%;
        }

    .table-mobile .table > thead td {
        min-height: 40px;
        height: auto;
        padding: 5px 10px;
        position: relative;
        text-align: left;
        display: block;
        display: inline-block;
        float: left;
        width: 50%;
    }
}



.group-table > div {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

    .group-table > div > div {
        display: table-row;
        vertical-align: inherit;
        border-color: inherit;
    }

        .group-table > div > div label {
            display: table-cell;
            vertical-align: inherit;
            padding: .75rem;
        }

.b-0 .details-card {
    border: 0;
}

.fullscreen-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #03a9f4;
    font-weight: bold;
    font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
}


.details-card .table-borderless.table td, .details-card .table-borderless.table th {
    padding: 0 .75rem .75rem 0;
}

.input-group-append .btn-icon {
    border-left: 0;
}

.modal.list-preview .modal-content .modal-body {
    height: auto !important;
    overflow: auto;
    max-height: calc(100vh - 340px) !important;
}

.dm-item-properties {
    margin-top: 30px;
}

.file-container button {
    color: #fff;
    background-color: #85CE36;
    border-color: #85CE36;
    border: 0;
    border-radius: .125rem;
    padding: .5rem .6rem;
    font-size: .64rem;
    text-transform: uppercase;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}


.file-container {
    position: relative;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
    width: 100%;
}

    .file-container input[type="file"] {
        position: absolute;
        width: 100%;
        height: 100%;
        cursor: pointer;
        top: 0;
        right: 0;
        opacity: 0;
    }


/*#TemplateBlocks .properties-block {
    position:relative;
    top:0;
}*/

#TemplateBlocks .properties-block .properties {
    margin-top: 0;
}

.table tbody tr.current {
    background-color: #eee;
}

#TemplateBlocks .table tbody tr td {
    padding: .5rem;
}

.attribute-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #03a9f4 !important;
    font-weight: bold;
    font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .attribute-title[aria-expanded="true"] i {
    }

    .attribute-title[aria-expanded="false"] i {
        transform: rotate(180deg);
        color: #85CE36;
    }

.dropdown {
    cursor: pointer;
}

.v-splitter {
    position: relative;
}

.separator {
    width: 8px;
    background-color: #eee;
    float: none;
    height: 100%;
    position: absolute;
    cursor: col-resize;
    color: #656565;
}

.separator-arrow.top {
    position: absolute;
    top: -15px;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #ececec;
    color: #03a9f4;
    border-radius: 50%;
    background-color: #fff;
}

.separator-arrow.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #ececec;
    color: #03a9f4;
    border-radius: 50%;
    background-color: #fff;
}

.separator-arrow.bottom {
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #ececec;
    color: #03a9f4;
    border-radius: 50%;
    background-color: #fff;
}

.first-container main.tree-block {
    width: 100% !important;
    padding-right: 15px !important;
}

.second-container aside.properties-block {
    width: calc(100% - 35px);
    float: none !important;
    margin-left: 15px;
}

.first-container .dt-tree {
    margin-top: 0;
}

@media screen and (min-width: 1200px) {
    .second-container {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 70px !important;
    }
}

.model-toggle .model-body {
    position: relative;
}

.model-toggle.always {
    width: 300px;
    position: fixed;
    right: -300px;
    top: 200px;
    z-index: 98;
    transition: right .3s ease-in-out;
}

    .model-toggle.always.active {
        right: 0px;
    }

    .model-toggle.always .model-body {
        position: relative;
        margin-bottom: 40px;
        background: #fff;
        border-radius: 0;
        box-shadow: -1px 0 8px rgba(0,0,0,0.2);
    }

    .model-toggle.always .model-header {
        padding: 20px 10px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
        background-color: #eee;
    }

@media (max-width: 1199px) {
    .model-toggle {
        width: 300px;
        position: fixed;
        right: -300px;
        top: 100px;
        z-index: 98;
        transition: right .3s ease-in-out;
    }

    .full-width {
        display: none;
    }

    .model-toggle.active {
        right: 0px;
    }

    .model-toggle .model-body {
        position: relative;
        margin-bottom: 40px;
        background: #fff;
        border-radius: 0;
        box-shadow: -1px 0 8px rgba(0,0,0,0.2);
    }

    .model-toggle .model-header {
        padding: 20px 10px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
        background-color: #eee;
    }
}


@media (max-width: 1199px) {
    .separator {
        display: none;
    }

    .first-container {
        width: 100% !important;
    }

    .second-container aside.properties-block.model-toggle, aside.properties-block.model-toggle {
        width: 300px;
        position: fixed;
        right: -300px;
        top: 100px;
        z-index: 98;
        transition: right .3s ease-in-out;
    }

        .second-container aside.properties-block.model-toggle.active, aside.properties-block.model-toggle.active {
            right: 0px;
        }

        .second-container aside.properties-block.model-toggle .model-body, aside.properties-block.model-toggle .model-body {
            position: relative;
            margin-bottom: 40px;
            background: #fff;
            border-radius: 0;
            box-shadow: -1px 0 8px rgba(0,0,0,0.2);
        }

        .second-container aside.properties-block.model-toggle .model-header, aside.properties-block.model-toggle .model-header {
            padding: 20px 10px 20px;
            text-align: center;
            border-bottom: 1px solid #eee;
            background-color: #eee;
        }
}


.custom-control-label {
    position: relative;
    margin-bottom: 0;
    line-height: 1.8;
    vertical-align: top;
}
.modal-title {
    font-size: 14px;
    margin-left: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
}
/*history-treeview*/
.tree {
    margin-bottom: 5px;
}

    .tree ul {
        margin-left: 20px;
    }

    .tree li {
        list-style-type: none;
        margin: 10px;
        position: relative;
    }

        .tree li ul li::before {
            content: "";
            position: absolute;
            top: -7px;
            left: -20px;
            border-left: 1px solid #eee;
            border-bottom: 1px solid #eee;
            border-radius: 0;
            width: 20px;
            height: 15px;
        }

        .tree li ul li::after {
            position: absolute;
            content: "";
            top: 8px;
            left: -20px;
            border-left: 1px solid #eee;
            border-top: 1px solid #eee;
            border-radius: 0;
            width: 20px;
            height: 100%;
        }

        .tree li:last-child::after {
            display: none;
        }

        .tree li:last-child:before {
            border-radius: 0;
        }

        /*ul.tree > li:first-child::before {
    display: none;
}*/

        /*ul.tree > li:first-child::after {
    border-radius: 5px 0 0 0;
}*/

        .tree li div > span {
            /*padding: 2px 5px;*/
            border: 1px solid transparent;
        }

            .tree li div > span:first-child {
                /*border: 1px dotted #eee;*/
                background-color: #fff;
                border-radius: 0;
            }

                .tree li div > span:first-child:hover, .tree li div > span:first-child:hover + ul li div > span:first-child,
                .tree li div > span:first-child:hover, .tree li div > span:first-child:hover + ul li div > span:first-child {
                    background: #eee;
                    cursor: pointer;
                }

    .tree input {
        position: absolute !important;
        opacity: 0;
    }

        .tree input ~ ul {
            display: none;
        }

        .tree input:checked:not(:disabled) ~ ul {
            display: block;
        }

    .tree label {
        margin-bottom: 0;
        padding: 0;
    }

        .tree label .far.fa-minus-square {
            display: none;
        }

    .tree input:checked + label .far.fa-plus-square {
        display: none !important;
    }

    .tree input:checked + label .far.fa-minus-square {
        display: inline-block !important;
    }

.modal.history .modal-body {
    height: calc(90vh - 57px - 68px);
    overflow: auto;
}

@media (min-width: 992px) {
    .modal.history .modal-dialog {
        max-width: 800px;
        margin: 1rem auto;
    }

    .modal.history .modal-content {
        min-height: 90vh;
    }
}

.datepicker-days .table .day.active.today {
    background: #85ce36 !important;
    color: #fff;
}

@media screen and (min-width:991px) {
    .card.report table tr td.label {
        max-width: 300px;
        width: 300px;
    }
}

.tr-header.collapse-tr {
    background-color: #f5f5f5;
}

    .tr-header.collapse-tr td {
        position: relative;
        padding-left: 15px;
    }

        .tr-header.collapse-tr td:first-child:before {
            content: "\f0fe";
            font-family: "Font Awesome 5 Free";
            font-size: 20px;
            margin-right: 10px;
            color: #85ce36;
        }

    .tr-header.collapse-tr.show td:first-child:before {
        content: "\f146";
        font-family: "Font Awesome 5 Free";
        font-size: 20px;
        margin-right: 10px;
        color: #03a9f4;
    }

.history-event {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 5px;
    background-color: #eee;
    padding: 5px;
}

/*.history-event[aria-expanded="true"] .far.fa-minus-square {
        display:inline-block!important;
    }

    .history-event[aria-expanded="true"] .far.fa-plus-square {
        display:none;
    }

    .history-event[aria-expanded="false"] .far.fa-plus-square {
        display: inline-block!important;
    }

    .history-event[aria-expanded="false"] .far.fa-minus-square {
        display: none;
    }*/

.g-piechart div {
    max-width: 100% !important;
}

.g-piechart svg {
    max-width: 100%;
}

.dropdown-menu .tree li ul li::after {
    display: none;
}

.dropdown-menu .tree li ul li::before {
    display: none;
}

.dropdown-menu.filter-tree {
    padding: 0;
}

    .dropdown-menu.filter-tree .tree li {
        margin: 0;
        padding: 5px 8px;
    }

        .dropdown-menu.filter-tree .tree li div:hover {
            background-color: #eee;
        }

.group-setting {
    font-size: 20px;
    color: rgb(79, 95, 111);
    text-align: right;
}

/*
nav-tabs-header*/

.nav-tabs-header {
    border-radius: 0;
    border-bottom: 1px solid #e2e8f0;
}

.card .nav-tabs-header .nav-tabs {
    padding: 0;
}

.nav-tabs-header .nav-tabs .nav-item .nav-link {
    color: black;
    border: 0;
    margin: 0;
    border-radius: 0;
    line-height: 24px;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    background-color: transparent;
    position: relative;
}

header .nav-item.dropdown {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.nav-tabs-header .nav-tabs .nav-item .nav-link.active {
    color: #038fde;
    background-color: transparent;
}

.nav-tabs-header > .nav .nav-item {
    padding: 0 5px;
}

    .nav-tabs-header > .nav .nav-item:first-child {
        padding: 0 5px 0 0;
    }

.nav-tabs-header > .nav .nav-link::before {
    content: '';
    border-radius: 15px;
    background: #038fde;
    transition: all .2s;
    height: 2px;
    transform: scale(0);
    width: 0;
    left: 0;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transform: scale(0);
}

.nav-tabs-header .nav-link.active::before, .nav-tabs-header .nav-link:hover::before {
    transform: scale(1) !important;
    opacity: 1;
    width: 100%;
}

.options-td {
    padding: 0 !important;
}

    .options-td > div {
        background-color: #eeeeee;
        padding: 20px 15px;
        border-radius: 10px;
    }

.options-block h3 {
    font-size: 16px;
}

.custom-control-label {
    cursor: pointer;
}

/*ws-card*/
.ws-card {
    margin-bottom: 10px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 5px 5px rgb(0 0 0 / 3%);
    -moz-box-shadow: 0 0 5px 5px rgba(0,0,0,0.03);
    box-shadow: 0 0 5px 5px rgb(0 0 0 / 3%);
    position: relative;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.ws-card-body {
    padding: 15px 15px 20px;
}

.ws-card .form-control:disabled, .ws-card .form-control[readonly] {
    background-color: rgba(0,0,0,0.02);
    opacity: 1;
}

/*.ws-card .form-control {
    border: 1px solid #d9d9d9;
}
*/
.ws-card-heder {
    border-bottom: 0 none;
    min-height: 24px;
    padding: 15px 15px 0;
}

.ws-card-extra {
    float: right;
    margin-left: auto;
    color: #545454;
    font-weight: normal;
    font-size: 14px;
}

.ws-card-head-title {
    display: inline-block;
    flex: 1;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .ws-card-head-title .h4 {
        font-size: 20px;
        font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    }

.ws-card-body thead > tr > th {
    padding: 8px 8px;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 11px;
}

.ws-card-body thead > tr > td {
    padding: 8px 8px;
}

.size-30 {
    height: 30px !important;
    width: 30px !important;
    line-height: 30px !important;
}

.ws-card-info {
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #eee;
    color: black;
}

.persons-group-footer {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    border-top: 1px solid #d9d9d9;
}

.persons-group-card {
    padding-bottom: 50px;
}

.ws-card.members-card, .ws-card.main {
    min-height: 300px
}

.joining-requests {
    margin-top: 20px;
    border-bottom: 1px solid #eee;
}

.members-card .table tr th {
    border-bottom: 2px solid #e8e8e8;
}

.options-block label {
    color: #262626;
    font-weight: 400;
    line-height: 1.2;
    font-size: 14px;
}

.avatar-img {
    height: 40px;
    width: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #03a9f4;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 15px;
    border-radius: 50%;
    margin-right: 10px;
}

header .avatar-img {
    height: 30px;
    width: 30px;
    min-width: 30px;
    margin-right: 5px;
}

#Options .ws-card {
    background-color: #e3f5fd;
}

.dropdown-item.disabled, .dropdown-item:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
    opacity: 0.65;
}

.modal-footer {
    padding: .5rem;
}

.api-key-detail-card {
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.table.dt-item-edit-textarea tr > td {
    padding: 0;
    text-align: center;
}


.keyAttributes {
    text-align: center;
    display: flex;
}


    .keyAttributes .attributes {
        max-width: 120px;
        width: 120px;
        padding: 0 10px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 35px;
    }

@media screen and (max-width:550px) {
    .keyAttributes {
        width: 100%;
        margin-top: 10px;
    }

        .keyAttributes .attributes {
            text-align: left;
        }

            .keyAttributes .attributes:first-child {
                padding-left: 0;
            }

            .keyAttributes .attributes:last-child {
                padding-right: 0;
            }
}

/*.key-rows.key-body {
    height: 35px;
}*/

.keyAttributes .attributes span {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.keyAttributes .attributes {
    border-right: 1px solid #cacfe7;
}

    .keyAttributes .attributes:last-child {
        border-right: 0;
    }
/*
.second-container.fullWidth {
    width: 100% !important;
    margin-left: 0!important;
}*/
.v-splitter.properties-full-width .first-container {
    display:none;
}

.v-splitter.properties-full-width .separator {
    display: none!important;
}

.v-splitter.properties-full-width .second-container {
    width:100%!important;
    margin-left:0!important;
}

.properties-block .open-properties .compress {
    display: none;
}

.properties-block .open-properties .expand {
    display: block;
}

.v-splitter.properties-full-width .properties-block .open-properties .compress {
    display: block !important;
}

.v-splitter.properties-full-width .properties-block .open-properties .expand {
    display: none !important;
}

@media screen and (max-width:1199px) {
    .first-container main.tree-block {
        padding-right: 0 !important;
    }
}


/*small-loader*/
.loader-container {
    position: fixed;
    background-color: rgba(46,46,46,.78);
    width: 100%;
    height: 100%;
    z-index: 2000;
    top: 0;
    left: 0;
}

.small-loader-box {
    position: absolute;
    left: 50%;
    top: 50%;
}

.circle {
    position: absolute;
    transform-origin: left center;
}

    .circle:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 20px;
        height: 20px;
        background-color: #00aff0;
        /*      box-shadow: 0 0 2em, 0 0 4em, 0 0 6em, 0 0 8em, 0 0 10em, 0 0 0 0.5em rgb(255 255 0 / 10%);*/
        border-radius: 50%;
    }

.small-loader-box .circle:nth-child(1) {
    width: 50px;
    transform: rotate(30deg);
}

    .small-loader-box .circle:nth-child(1):after {
        width: 15px;
        height: 15px;
        background-color: #85ce36;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
    }

.small-loader-box .circle:nth-child(2) {
    width: 50px;
    width: 30px;
    transform: rotate(60deg);
}

    .small-loader-box .circle:nth-child(2):after {
        width: 15px;
        height: 15px;
        background-color: #3f51b5;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0.125s;
        animation-delay: 0.125s;
    }

.small-loader-box .circle:nth-child(3) {
    width: 50px;
    transform: rotate(90deg);
}

    .small-loader-box .circle:nth-child(3):after {
        width: 15px;
        height: 15px;
        background-color: #85ce36;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0.25s;
        animation-delay: 0.25s;
    }

.small-loader-box .circle:nth-child(4) {
    width: 50px;
    width: 30px;
    transform: rotate(120deg);
}

    .small-loader-box .circle:nth-child(4):after {
        width: 15px;
        height: 15px;
        background-color: #3f51b5;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0.375s;
        animation-delay: 0.375s;
    }

.small-loader-box .circle:nth-child(5) {
    width: 50px;
    transform: rotate(150deg);
}

    .small-loader-box .circle:nth-child(5):after {
        width: 15px;
        height: 15px;
        background-color: #85ce36;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0.5s;
        animation-delay: 0.5s;
    }

.small-loader-box .circle:nth-child(6) {
    width: 50px;
    width: 30px;
    transform: rotate(180deg);
}

    .small-loader-box .circle:nth-child(6):after {
        width: 15px;
        height: 15px;
        background-color: #3f51b5;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0.625s;
        animation-delay: 0.625s;
    }

.small-loader-box .circle:nth-child(7) {
    width: 50px;
    transform: rotate(210deg);
}

    .small-loader-box .circle:nth-child(7):after {
        width: 15px;
        height: 15px;
        background-color: #85ce36;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0.75s;
        animation-delay: 0.75s;
    }

.small-loader-box .circle:nth-child(8) {
    width: 50px;
    width: 30px;
    transform: rotate(240deg);
}

    .small-loader-box .circle:nth-child(8):after {
        width: 15px;
        height: 15px;
        background-color: #3f51b5;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 0.875s;
        animation-delay: 0.875s;
    }

.small-loader-box .circle:nth-child(9) {
    width: 50px;
    transform: rotate(270deg);
}

    .small-loader-box .circle:nth-child(9):after {
        width: 15px;
        height: 15px;
        background-color: #85ce36;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 1s;
        animation-delay: 1s;
    }

.small-loader-box .circle:nth-child(10) {
    width: 50px;
    width: 30px;
    transform: rotate(300deg);
}

    .small-loader-box .circle:nth-child(10):after {
        width: 15px;
        height: 15px;
        background-color: #3f51b5;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 1.125s;
        animation-delay: 1.125s;
    }

.small-loader-box .circle:nth-child(11) {
    width: 50px;
    transform: rotate(330deg);
}

    .small-loader-box .circle:nth-child(11):after {
        width: 15px;
        height: 15px;
        background-color: #85ce36;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 1.25s;
        animation-delay: 1.25s;
    }

.small-loader-box .circle:nth-child(12) {
    width: 50px;
    width: 30px;
    transform: rotate(360deg);
}

    .small-loader-box .circle:nth-child(12):after {
        width: 15px;
        height: 15px;
        background-color: #3f51b5;
        -webkit-animation: load 1.5s infinite linear;
        animation: load 1.5s infinite linear;
        -webkit-animation-delay: 1.375s;
        animation-delay: 1.375s;
    }

@-webkit-keyframes load {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    90% {
        transform: scale(0.25);
        opacity: 0.25;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes load {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    90% {
        transform: scale(0.25);
        opacity: 0.25;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.input-group-append .btn, .input-group-prepend .btn {
    position: relative;
    z-index: 0;
}


#formulas .model-toggle {
    width: 300px;
    position: fixed;
    right: -300px;
    top: 100px;
    z-index: 98;
    transition: right .3s ease-in-out;
}

    #formulas .model-toggle.active {
        right: 0px;
    }

    #formulas .model-toggle .model-body {
        position: relative;
        margin-bottom: 40px;
        background: #fff;
        border-radius: 0;
        box-shadow: -1px 0 8px rgb(0 0 0 / 20%);
    }

    #formulas .model-toggle .model-header {
        padding: 20px 10px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
        background-color: #eee;
    }

#formulaBody td {
    vertical-align: top;
}

.DateTimeRow .form-group {
    margin-bottom: 0;
}

/*toggle-map-properties in modal*/
.toggle-map-properties {
    width: 300px;
    position: fixed;
    right: -300px;
    top: 100px;
    box-shadow: -1px 0 8px rgba(0,0,0, .2);
}

    .toggle-map-properties.active {
        right: -12.8px;
    }

    .toggle-map-properties .toggler-btn {
        width: 40px;
        cursor: pointer;
        position: absolute;
        left: -40px;
        top: 0;
    }

    .toggle-map-properties .toggler-block {
        z-index: 200;
        border-radius: 50% 0 0 50%;
        padding: .8rem .5rem .8rem 1rem;
        font-size: 15px;
        line-height: initial;
        background-color: #2196f3 !important;
        box-shadow: -1px 0 8px rgba(0,0,0,0.2);
    }

    .toggle-map-properties .toggle-header {
        padding: 20px 10px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
        background-color: #eee;
    }

    .toggle-map-properties .open-properties {
        padding: 20px;
        background: #fff;
    }

.module-map {
    position: relative;
}

    .module-map .dt-item .input-group {
        align-items: flex-start;
    }

    .module-map .dt-item-dm-block {
        padding: 5px 0 5px;
    }

    .module-map .dt-tree {
        margin-top: 0;
        padding-bottom: 0;
        max-height: 500px;
        overflow: auto;
    }

        .module-map .dt-tree .dt-items {
            margin-bottom: 0;
        }

    .module-map .card-title {
        margin-bottom: .5rem;
    }

@media screen and (max-width: 550px) {
    .dt-item-edit-textarea textarea.form-control.unique {
        min-width: 260px;
        margin-top: 10px;
        margin-left: 0;
    }
}

.list-card {
    margin-top: 1rem;
}

.modal-body .list-card {
    margin-top: 0;
}

/* .modal-header {
    border-bottom:0;
} */

.table-mobile {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


.modal-body .table-mobile {
    margin-top: 0;
    margin-bottom: 0;
}

.marker {
    width: 20px;
    height: 20px;
    border: 1px solid;
    border-color: black;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 20px;
}

    .marker.marker-1 {
        background-color: #85ce36;
        border-color: #85ce36;
    }

    .marker.marker-2 {
        background-color: yellow;
        border-color: yellow;
    }

    .marker.marker-3 {
        background-color: red;
        border-color: red;
    }

    .marker.marker-4 {
        background-color: white;
        border-color: black;
    }

.data-card {
    width: calc(100% - 260px);
    margin-right: 10px;
}

    .data-card .dt-item-edit-textarea {
        width: calc(100% - 70px);
    }

@media screen and (max-width:1024px) {
    .data-card {
        width: 100%;
        margin-right: 0;
    }
}

.card.ff .card-body {
    padding: .8rem .8rem 70px .8rem;
}

.task-card {
    margin-top: .8rem;
    border: 1px solid #8bc34a;
    padding: .8rem;
}

.tasks-title {
    margin-bottom: 0;
}


.scrollbar-card::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: rgba(9,30,66,.08);
}

.scrollbar-card::-webkit-scrollbar-thumb {
    background-color: #03a9f4;
    border-radius: 5px;
}

#select_modal_dialog {
    z-index: 1055;
}

/*chat-widget*/
.chat-widget {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
}

    .chat-widget .messages-box {
        display: flex;
        clear: both;
        overflow: hidden;
        height: 100%;
    }

    .chat-widget .card.widget-body {
        width: 450px;
        height: 500px;
        box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
        border: none;
    }

        .chat-widget .card.widget-body .title {
            font-size: 20px
        }

        .chat-widget .card.widget-body .close {
            position: absolute;
            top: -10px;
            right: -10px;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
            background: #fff;
            width: 20px;
            height: 20px;
            text-align: center;
            border-radius: 50%;
        }

    .chat-widget .widget-body .contacts-list {
        width: 200px;
        border-right: 1px solid #eee;
        overflow: hidden;
    }

        .chat-widget .widget-body .contacts-list .groups {
            max-height: 350px;
            overflow-y: auto;
        }

            .chat-widget .widget-body .contacts-list .groups .groups-items {
                border-bottom: 1px solid rgb(226,232,240);
                margin: 0;
                padding: 10px 15px;
            }

        .chat-widget .widget-body .contacts-list .contacts-heading {
            padding: 10px 15px;
            overflow: hidden;
            display: flex;
            border-radius: 10px 0 0 0;
            background: #03a9f4;
            color: #fff;
            justify-content: space-between;
            border-bottom: 1px solid #03a9f4;
        }

        .chat-widget .widget-body .contacts-list .sub-title {
            font-size: 18px;
        }

    .chat-widget .widget-body .messages-list {
        width: calc(100% - 200px);
        min-height: 300px;
        padding: 20px 10px 10px;
    }

    .chat-widget .incoming_msg, .chat-widget .outgoing_msg {
        width: 100%;
        clear: both;
    }

    .chat-widget .widget-body .messages-list .outgoing_msg {
        margin: 0;
    }

    .chat-widget .sent_msg {
        float: right;
        width: 90%;
    }

    .chat-widget .received_msg {
        float: left;
        width: 90%;
        margin-bottom: 10px;
    }

    .chat-widget .personal_msg {
        background: #eee;
        border-radius: 3px;
        font-size: 14px;
        margin: 0;
        padding: 5px 10px 5px 12px;
        width: 100%;
    }

    .chat-widget .type_msg {
        position: relative;
    }

    .chat-widget .messages {
        max-height: calc(100% - 65px);
        overflow-y: auto;
    }

    .chat-widget .type_msg textarea.form-control {
        min-height: 50px;
        max-height: 100%;
        overflow: auto;
        padding: 5px 50px 5px 8px
    }

    .chat-widget .type_msg button {
        background: #85ce36;
        color: #fff;
        cursor: pointer;
        border-radius: 50%;
        height: 35px;
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translate(0, -50%);
        width: 35px;
    }

    .chat-widget .nav-tabs {
        border-bottom: none;
        border-top-left-radius: .3rem;
        border-top-right-radius: .3rem;
        background: #f7f6f6;
    }

    .chat-widget .date_time_msg {
        color: #adadad;
        font-size: .8em;
    }

    .chat-widget .search-box {
        width: 100%;
        height: 42px;
        position: relative;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: stretch;
        align-items: stretch;
        -webkit-box-pack: start;
        justify-content: flex-start;
        border-bottom: 1px solid #e2e8f0;
    }

        .chat-widget .search-box input {
            width: 100%;
            padding: 8px;
            border-radius: 0;
            box-sizing: border-box;
            border: 0;
            font-weight: 400;
        }

        .chat-widget .search-box button {
            background-color: #fff;
            border: 0;
            color: #757575;
            border-radius: 0;
            line-height: 20px;
            padding: 0 8px;
        }

    .chat-widget .groups-items a[aria-expanded="true"] .fas.fa-chevron-up {
        display: inline-block;
    }

    .chat-widget .groups-items a[aria-expanded="true"] .fas.fa-chevron-down {
        display: none;
    }

    .chat-widget .groups-items a[aria-expanded="false"] .fas.fa-chevron-up {
        display: none !important;
    }

    .chat-widget .groups-items a[aria-expanded="false"] .fas.fa-chevron-down {
        display: inline-block !important;
    }

    .chat-widget ::-webkit-scrollbar {
        width: 2px;
        height: 5px;
        background-color: #eee;
    }

    .chat-widget ::-webkit-scrollbar-thumb {
        background-color: #bdbaba;
        border-radius: 5px;
    }

/*chat-widget*/


#FormedDocument .table-mobile .table > tbody td {
    text-align: left;
}

#FormedDocument .table td, #FormedDocument .table th {
    padding: .2rem;
}

#FormedDocument .table-bordered td, .table-bordered th {
    border: 1px solid #d9d9d9;
}

#FormedDocument .table tbody + tbody {
    border-top: 1px solid black;
}

.notif-box ul.nav {
    background-color:#eee;
}

.notif-box .nav-tabs .nav-link {
    font-size: 18px;
    padding-right: 1rem;
    padding-left: 1rem;
}

    .notif-box  .nav-tabs .nav-link.active {
        text-transform:uppercase;
        font-family: 'Museo Sans Cyrl 700', Arial, sans-serif
    }
        .notif-box .nav-tabs .nav-link i {
            margin-right:5px;
        }

    .notif-box .nav-tabs .nav-link.active i {
        color: #fa8c15;
    }

.notif-box .tab-pane {
    height: 400px;
    padding-bottom: 10px;
}

.notif-box .tab-pane ul {
    height: 100%;
    overflow-y: auto;
}

    .notif-box .tab-pane ul li a {
        color: #85CE36;
    }

 


.block-loader {
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.loader-small {
    height: 32px;
    width: 32px;
    -webkit-animation: loader-5-1 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
    animation: loader-small-1 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}

@-webkit-keyframes loader-small-1 {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes loader-small-1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-small::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    margin: auto;
    width: 8px;
    height: 8px;
    background: #03a9f4;
    border-radius: 50%;
    -webkit-animation: loader-5-2 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
    animation: loader-small-2 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}

@-webkit-keyframes loader-small-2 {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        -webkit-transform: translate3d(24px, 0, 0) scale(.5);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes loader-small-2 {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(24px, 0, 0) scale(.5);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.loader-small::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: auto;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 8px;
    height: 8px;
    background: #03a9f4;
    border-radius: 50%;
    -webkit-animation: loader-5-3 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
    animation: loader-small-3 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}

@-webkit-keyframes loader-small-3 {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        -webkit-transform: translate3d(-24px, 0, 0) scale(.5);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes loader-small-3 {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-24px, 0, 0) scale(.5);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.loader-small span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 32px;
    width: 32px;
}

    .loader-small span::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: auto;
        right: 0;
        margin: auto;
        width: 8px;
        height: 8px;
        background: #85ce36;
        border-radius: 50%;
        -webkit-animation: loader-5-4 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
        animation: loader-small-4 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
    }

@-webkit-keyframes loader-small-4 {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        -webkit-transform: translate3d(0, 24px, 0) scale(.5);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes loader-small-4 {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 24px, 0) scale(.5);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.loader-small span::after {
    content: "";
    display: block;
    position: absolute;
    top: auto;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 8px;
    height: 8px;
    background: #85ce36;
    border-radius: 50%;
    -webkit-animation: loader-5-5 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
    animation: loader-small-5 2s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
}

@-webkit-keyframes loader-small-5 {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        -webkit-transform: translate3d(0, -24px, 0) scale(.5);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes loader-small-5 {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -24px, 0) scale(.5);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media screen and (min-width:768px) {
    .flex-md-center {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    .flex-md-start {
        display: flex;
        align-items: flex-start;
        margin-bottom: 10px;
    }
}


.details-item fieldset {
    padding: 5px 15px 5px 15px !important;
}

.table-title {
    font-weight: normal;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif;
    font-size: 18px;
}

.show-more {
    font-size: 14px;
    cursor: pointer;
    color: #03a9f4;
    text-align: center;
}
.show-less {
    font-size: 14px;
    cursor: pointer;
    color: #03a9f4;
    text-align: center;
}

.model .dm-item-model-properties {
    position:relative;
}

.model .attribute-container {
    padding:10px 15px;
}

.model .attribute-container.active {
    background-color:#ffffff;
    box-shadow: 0 5px 25px rgb(0 0 0 / 10%);
}

.datetimepicker-input {
    max-width:140px;
}


svg > g > g:last-child {
    pointer-events: none
}

div.google-visualization-tooltip {
    pointer-events: none
}


.tree-block li.empty .collapse-dt-items {
    display:none;
}

.name-control {
    border-color: transparent;
    text-transform:uppercase;
}

.header-input-block {
    display:flex;
    flex-wrap:wrap;
}


.document .dt-item.active > .dt-item-block .note-toolbar.card-header {
    display: block !important;
    position: absolute;
    background-color: #eee;
    top: -55px;
    z-index: 98;
    width: auto;
    left: -1px;
    border-radius: 6px 6px 0 0;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}


@media screen and (min-width:1200px) {
    .name-input {
        width: 50%;
        padding-right: 10px;
    }

    .registration-input, .author-input {
        width: 20%;
        padding-right: 10px;
    }

    .action-input {
        width: 10%;
        text-align: right;
    }

    .document.ff .data-card {
        width: 100%;
    }
}

@media (min-width:768px) and (max-width:1199px) {
    .name-input {
        width: 100%;
        padding-right: 0;
        margin-bottom:10px
    }

    .registration-input, .author-input {
        width: 45%;
        padding-right: 10px;
    }

    .action-input {
        width: 10%;
        text-align: right;
    }

    .document.ff .data-card {
        width: 100%;
    }
}

@media (max-width:767px) {
    .name-input {
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px
    }

    .registration-input {
        width: 100%;
        padding-right: 0;
        margin-bottom:10px;
    }

    .author-input {
        width: 80%;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .action-input {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        width:20%;
        margin-bottom:10px;
    }

    .document.ff .data-card {
        width: 100%;
    }
}


.formed-document { 
    width:100%;
    max-width:1500px;
    margin:1rem auto;
}

.order-form {
    padding-bottom: 80px;
    margin: 1rem auto 0;
}

.doc-header.table {
    margin-bottom:0;
}

.doc-header p {
    margin-bottom: 0;
}

/*.order-form p {
    margin-bottom: 0;
}*/
.table.doc-header td, .table.doc-header th {
    padding: 0.3rem;
}

.order-form .table td, .order-form .table th {
    padding: 0.3rem;
}

.table tbody + tbody {
     border-top: none; 
}

.input-group-text {font-size:14px;}
[data-toggle="modal"] {
    cursor:pointer;
}

.collapse-item {
    position: relative;
    display: block;
    padding-left: 25px;
    text-transform: uppercase;
}

    .collapse-item::before {
        top: 0;
        left: 0;
        height: 14px;
        width: 14px;
        display: block;
        position: absolute;
        color: white;
        border: 2px solid white;
        box-shadow: 0 0 3px #444;
        box-sizing: content-box;
        text-align: center;
        text-indent: 0 !important;
        line-height: 14px;
        content: '+';
        background-color: #03a9f4;
    }
    .collapse-item[aria-expanded="true"]::before {
        content: '-';
        background-color: #85CE36;
    }

.input-group-text {
    border: 1px solid #dde4eb;
}
.input-group-prepend {
    margin-right: -2px;
}
.buyer-info-block .main-label, .supplier-info-block .main-label, .delivery-info-block .main-label {
    width: auto;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #03a9f4 !important;
    font-weight: bold;
    font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
}
.details-item .input-group-append[aria-expanded="true"] .input-group-text i {
    transform: rotate(180deg);
}
.td-detail {
    background: #f5f5f5;
}
tr.main.open .icon-open i {
    transform: rotate(180deg);
    color:red!important;
}
tr.main {
    cursor:pointer;
}
/*wizard*/
.wizard-content {
    background: #fff;
    width: 800px;
    box-shadow: 0px 8px 20px 0px rgb(0 0 0 / 15%);
    -o-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
    -ms-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 8px 20px 0px rgb(0 0 0 / 15%);
    margin: 30px auto;
    border-radius: 4px;
    position: relative;
    display: flex;
    display: -webkit-flex;
}

    .wizard-content .wizard-form {
        width: 100%;
        padding: 15px 25px;
    }

form .steps {
    margin-bottom: 33px;
}
form .steps li a .title span {
    display: block;
    font-size: 16px;
}

    form .steps ul {
        display: flex;
        display: -webkit-flex;
        justify-content: center;
        -o-justify-content: center;
        -ms-justify-content: center;
        -moz-justify-content: center;
        -webkit-justify-content: center;
        list-style: none;
        padding-left: 0;
    }

    form .steps li, form .steps li.current {
        outline: none;
        -o-outline: none;
        -ms-outline: none;
        -moz-outline: none;
        -webkit-outline: none;
        position: relative;
        padding-bottom: 3px;
        padding-right: 63px;
    }

        form .steps li:last-child {
            padding-right: 0;
        }

   /*     form .steps li::before {
            position: absolute;
            content: "";
            background: #e5e5e5;
            width: 168px;
            height: 6px;
            top: 20%;
            left: 47%;
        }*/

        form .steps li a .title .step-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            -o-border-radius: 50%;
            -ms-border-radius: 50%;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            background: #ccc;
            margin: 0 auto;
            position: relative;
            outline: none;
            -o-outline: none;
            -ms-outline: none;
            -moz-outline: none;
            -webkit-outline: none;
            color: #fff;
            font-size: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        form .steps li.current a .step-icon {
            background: #6eba2a;
        }

        form .steps li.current a .step-icon, form .steps li.current a:active .step-icon {
            box-shadow: 0px 5px 18px 0px rgb(0 0 0 / 20%);
            -o-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
            -ms-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
            -moz-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
            -webkit-box-shadow: 0px 5px 18px 0px rgb(0 0 0 / 20%);
        }
        form .steps li a .step-text {
            color: #333;
            font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
            padding-bottom: 8px;
            margin-top: 10px;
        }
form .steps li:last-child::before {
    content: none;
}
.wizard-title {
    text-align: center;
    font-size: 20px;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
}
.actions ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 0;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -o-justify-content: space-between;
    -ms-justify-content: space-between;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
}
    .actions ul li:first-child {
        background: transparent;
        border-radius: 0;
        -o-border-radius: 0;
        -ms-border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        box-shadow: none;
        -o-box-shadow: none;
        -ms-box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
    }
    .actions ul li {
        padding: 0;
        border: none;
        border-radius: 50%;
        -o-border-radius: 50%;
        -ms-border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        box-shadow: 0px 3px 15px 0px rgb(0 0 0 / 19%);
        -o-box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.19);
        -ms-box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.19);
        -moz-box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.19);
        -webkit-box-shadow: 0px 3px 15px 0px rgb(0 0 0 / 19%);
        display: inline-flex;
        height: 50px;
        width: 50px;
        justify-content: center;
        -o-justify-content: center;
        -ms-justify-content: center;
        -moz-justify-content: center;
        -webkit-justify-content: center;
        align-items: center;
        -o-align-items: center;
        -ms-align-items: center;
        -moz-align-items: center;
        -webkit-align-items: center;
        background: #03a9f4;
        font-size: 16px;
        font-weight: 400;
        cursor: pointer;
    }
        .actions ul li a.next-btn {
            color: #ffffff;
        }

        .actions-btn {
            display: flex;
            justify-content: space-between;
        }
.question {
    padding: 45px 0;
    position: relative;
    border: 1px solid transparent;
    transition: .3s linear;
    border-radius: 8px;
}
    .question .question-info {
        display: flex;
        flex-wrap: wrap;
    }
.question-title{
    flex:1;
}
.question-order {
    display: inline-block;
    /*flex: 0 0 1em;*/
    flex: auto;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    color: #03a9f4;
    position: relative;
    font-size: 20px;
    line-height: 1.5;
}
.question-order:hover {
    cursor: pointer;
}
    /*.question-menu {
    z-index: 2;
    top: 0;
    right: 0;
    position: absolute;
    color: #2d2d2d;
    display: flex;
    align-items: center;
}*/
    .Q-code {
    max-width:400px;
    margin-right:15px;
}
.question-menu a.dropdown-toggle {
    font-size: 1.3em;
    padding: 7px 5.5px;
    display: inline-block;
}
.select-type {
    max-width:400px;
    margin:auto;
}
.add-question-type .add-question-btn {
    padding: 0;
    border: none;
    border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    box-shadow: 0px 3px 15px 0px rgb(0 0 0 / 19%);
    -o-box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.19);
    -ms-box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0px 3px 15px 0px rgb(0 0 0 / 19%);
    display: inline-flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    background: #03a9f4;
    color: #ffffff;
    font-size: 30px;
    font-weight: 400;
    cursor: pointer;
}

.dropdown-toggle::after {
    display: none;
}

.add-question-type .dropdown-menu {
    width:200px;
/*    left:-75px!important;*/
}

    .add-question-type .dropdown-menu .dropdown-item {
        border-bottom:1px dotted #eeeeee;
    }
    .add-question-type .dropdown-menu .dropdown-item:last-child {
        border-bottom: none;
    }

.input-field input {
    padding-left: 30px;
}
.input-field textarea {
    padding-left: 30px;
}

.input-field > div {
    position: relative;
}

.input-field i {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #2196f3;
}

.input-field .date i {
    position: relative;
    left: 0;
    top: 0;
    color: #2196f3;
}

.list-card .filter-block {
    width: 250px;
    height: auto;
    border-right: 1px solid rgba(0, 0, 0, .125);
}
.list-card .main-block {
    width: 100%;
}
.list-card .filter-header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    background-color: #ebf1f7;
    border-bottom: 1px solid #eeeeee;
}
.list-card .filter-title {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
}
.product-filter-btn {
    display:inline-block;
}
.list-card .filter-block {
    display: none;
}
.filter-block .dt-tree {
    margin-top:0;
}
@media screen and (min-width:1030px) {
    .product-filter-btn {
        display: none;
    }
    .list-card .filter-block {
        display: block;
    }
    .list-card .main-block {
        width: calc(100% - 250px);
    }
    .list-card .filter-block button.close {
        display: none;
    }
}
@media (max-width: 1030px) {
    .list-card .filter-block.active {
        display: block;
        position: fixed;
        overflow: auto;
        background-color: #ffffff;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
    }
}
.logo-company-block .form-group{
    margin-bottom:0;
}


.choice {
    margin-bottom: 10px;
    position: relative;
}
    .choice .option-input {
        padding: 10px 40px 10px 10px !important;
        border-radius: 10px;
        min-height: 3.5em !important;
        word-break: break-all;
        border: 1px solid #ececec;
        margin-bottom: 0;
    }
    .choice .option-input:focus {
        outline: none;
    }
.choice-input-buttons {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -11px;
}
.choice .radio-option-input {
    padding: 10px 40px 10px 40px !important;
    border-radius: 10px;
    min-height: 3.5em !important;
    word-break: break-all;
    border: 1px solid #ececec;
    margin-bottom: 0;
    line-height: 2;
}
.choice .select-option-input {
    padding: 10px 40px 10px 10px !important;
    border-radius: 10px;
    min-height: 3.5em !important;
    word-break: break-all;
    border: 1px solid #ececec;
    margin-bottom: 0;
    line-height: 2;
}
.choice .custom-control {
    position: absolute;
    top: 1.8em;
    left: 10px;
    z-index: 1;
    transform: translateY(-50%);
    margin-right:0;
}
.profile-menu {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    left: auto;
    min-width: 200px;
    color: #212529;
    text-align: left;
    list-style: none;
    border: 0;
    background-color: #fff;
    border: 0;
    border-radius: 0.2rem;
    font-size: 14px;
    background-clip: padding-box;
    border: 0;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
    .profile-menu.active {
        display: block;
        z-index: 1500;
    }
@media (min-width: 992px) {
    .profile-menu {
        position: absolute;
        top: 55px;
        left: auto;
        right: 0;
    }
}
li.profile {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.description-block .note-editor.card {
    width: 100%;
}
.active-btn {
    color:#eee;
}
.active-btn:hover {
    color: red;
}
/*.feedback-form*/
.feedback-form .details-item {
    margin-bottom: 20px;
}
    .feedback-form .details-item label {
        margin-bottom: 5px;
        font-weight: normal;
        font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    }
    .feedback-form .details-item .custom-control.custom-radio {
        margin-bottom:5px;
    }
    .feedback-form .details-item .custom-control label {
        font-weight: 400;
        margin-bottom: 0;
    }
.feedback-form .feedback-form-header p {
    padding-left: 10px;
    border-left: 3px solid #2196f3;
}
.feedback-form .details-item  .persent  input {
   width:100%;
   max-width:300px;
}
.feedback-form .details-item .persent label {
    flex-basis: calc(100% - 300px) !important;
    flex-shrink: 0 !important;
    text-align: right;
}
@media screen and (max-width:412px) {
    .feedback-form .details-item .persent label {
        text-align: left;
    }
}
.feedback-form .details-item .number input {
    width: 100%;
    max-width: 300px;
}
.feedback-form .details-item .number label {
    flex-basis: calc(100% - 300px) !important;
    flex-shrink: 0 !important;
}
@media screen and (max-width:412px) {
    .feedback-form .details-item .number label {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .modal .modal-full-height {
        position: fixed;
        top: 0;
        right: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 400px;
        height: auto;
        min-height: 100%;
        margin: 0;
    }
}
.user-login .modal-dialog .modal-content {
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
    box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
}
.user-login .modal-dialog .modal-header {
    border-bottom: 0;
}
.user-login .nav-item {
    padding: 0;
    font-size: 14px;
    width: 50%;
}
    .user-login .nav-item a {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0px;
        color: rgb(255 255 255 / 80%);
    }
.user-login .nav-tabs .nav-item .active {
    height: 100%;
    color: #fff;
    text-transform: uppercase;
    background-color: rgb(0 0 0 / 20%);
    font-weight: normal;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif;
    border-radius: 5px;
    border: 0;
}

@media (min-width: 768px) {
    .modal .modal-dialog.modal-right {
        right: 0;
    }
}
.modalRegister .nav.nav-tabs {
    padding: 10px;
    border: 1px solid #2b4c81;
    background-color: #2b4c81;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
.small-card {
    width: 100%;
    margin: auto;
    max-width: 600px;
}
.contacts-list .search-box {
    width:100%;
    max-width:500px;
}
.contacts-list .tab-pane {
    padding-top: 8px;
    padding-bottom: 0;
}
.contacts-list .nav-link {
    padding-top:0;
}
/*calendar*/
.calendar {
    width: 100%;
}
    .calendar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .calendar li {
        display: block;
        float: left;
        width: 14.342%;
        box-sizing: border-box;
        border: 1px solid #ccc;
        margin-right: -1px;
        margin-bottom: -1px;
    }

    .calendar ul.weekdays {
        height: 40px;
    }

        .calendar ul.weekdays li {
            text-align: center;
            text-transform: uppercase;
            line-height: 20px;
            padding: 10px 6px;
            font-weight: bold;
            font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
            color: #212529;
            font-size: 13px;
        }

    .calendar .days li {
        height: 180px;
        position: relative;
        padding-top: 0;
        padding-left: 2px;
        padding-right: 2px;
    }

        .calendar .days li:hover {
            background: #fdf1e0;
            cursor: pointer;
        }
        .calendar .days li.other-month:hover {
            background: #f5f5f5;
            cursor: pointer;
        }
    .calendar .small-text {
        font-size: 11px;
        color: #444;
    }
    .calendar .date {
        text-align: center;
        min-width: 25px;
        top: 2px;
        right: 2px;
        position: absolute;
        background: #03a9f4;
        color: #FFFFFF;
        border-radius: 5px;
        -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
        box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
        width: 25px;
    }

    .calendar .event {
        clear: both;
        display: block;
        font-size: 13px;
        border-radius: 4px;
        padding: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        line-height: 14px;
        background: #f9f3bd;
        border: 1px solid #cdcaca;
        color: #444444;
        text-decoration: none;
    }
        .calendar .event:first-child {
            margin-top:0;
        }
        .calendar .event-desc {
            color: #666;
            text-decoration: none;
        }

    .calendar .other-month {
        background: #f5f5f5;
        color: #666;
    }
        .calendar .other-month .date {
            background: #f5f5f5;
            color: #666;
            box-shadow: none;
        }

    .calendar .event-partner {
        font-weight: 600;
        color: #2196f3;
    }

    @media(max-width: 1024px) {
        .calendar .weekdays, .calendar .other-month {
        display: none;
    }

    .calendar li {
        height: auto !important;
        min-height:40px;
        border: 1px solid #ededed;
        width: 100%;
        padding: 10px;
        margin-bottom: -1px;
    }

    .calendar .date {
        float: none;
    }
        .calendar .day .ev-btn{
            left:5px!important;
            bottom:5px;
            right:auto;
        }
}

.event-block {
    padding: 5px 2px;
}

    .event-block .event {
        cursor: pointer;
    }

.event-block {
    max-height: 155px;
    overflow: auto;
}
.calendar .monthly-header {
    position: relative;
    text-align: center;
    padding: 10px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.calendar .monthly-header-title {
    font-size: 30px;
    text-transform: uppercase;
    margin-left:20px;
    margin-right:20px;
}
.calendar .monthly-prev {
    font-size: 20px;
    border: 1px solid;
    border-radius:5px;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    color: #333;
    text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
    min-width: 50px;
}
.calendar .monthly-next {
    font-size: 20px;
    border: 1px solid;
    border-radius: 5px;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    color: #333;
    text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
    min-width: 50px;
}
.calendar .event-title {
    font-weight: 700;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
    color: #2196f3;
}
.calendar .event-time {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Museo Sans Cyrl 700', Arial, sans-serif !important;
}
.calendar .day .ev-btn {
    width: 25px;
    height: 25px;
    background-color: #fa8c15;
    color:#ffffff;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    border-radius: 50%;
    font-size: 12px;
    display: none;
    position: absolute;
    right: 5px;
    bottom: 5px;
    justify-content: center;
    align-items: center;
}
.calendar .day:hover .ev-btn {
    display: inline-flex;
}
.user-nav #CurrentPersonsGroupsDD .dropdown-menu {
    max-height: 75vh;
    overflow-y: auto;
    min-width: 250px;
}

.user-nav #CurrentPersonsGroupsDD .dropdown-menu ul {
    padding-right:15px;
}
/*.modal .fixed-footer {
    position: relative;
    background: #fafbfc;
    margin-left: 0;
    width: 100%;
}*/
.modal .details-card-body {
    padding: 5px;
}
.modal-backdrop.show:nth-of-type(even) {
    z-index: 1039 !important; /*????*/
}
.modal-mode .details-card-body .card-footer {
    display: none;
}
.modal .modal-mode .details-form {
    margin-top: 0;
    margin-bottom: 0;
}
.modal .modal-footer .fixed-footer {
    position: relative;
    background: #fafbfc;
    width: 100%;
    border-top: 0;
    padding:0;
    margin:0;
}
.modal-close {
    display:none;
}
.modal .modal-footer .modal-close {
    display: inline-block !important;
}
.details-item  .form-group.flex-md-center.select {
    display: block !important;
}
.details-item .radio .custom-control {
    margin-left:15px;
}
.card.order-form .card-body {
    padding: 1.25rem;
}
[s-click] {
    cursor:pointer;
}

.doc-item {
    border:1px solid transparent;
    padding:3px;
}
.doc-item:hover {
    border: 1px solid #ccc;
}
@media (min-width:768px) {
    .action-card {
        margin-top:1rem;
        margin-left:10px;
    }
}

.edit-details-btn {
    color: #85ce36;
    line-height: 19px;
    font-size: 18px;
}
.view-history {
    line-height: 19px;
    font-size: 18px;
}
.show-tools {
    line-height: 19px;
    font-size: 18px;
}
.details-card-body.readonly {
    background-color: #f7f7f7;
}
.proposal .details-item {
    margin-bottom:10px;
}
.btn-buy {
    background-color: #03a9f4;
    border-radius: 5px !important;
    border: 0;
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
    height: 38px;
}
.btn-buy img {
   height:30px;
}
td .btn, td button {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}
.btn.btn-plus:active:focus, .btn.btn-plus:focus, .btn.btn-minus:active:focus, .btn.btn-minus:focus {
    box-shadow: none;
}


.widget-box {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    left: auto;
    min-width: 200px;
    color: #212529;
    text-align: left;
    list-style: none;
    border: 0;
    background-color: #fff;
    border: 0;
    border-radius: 0.2rem;
    font-size: 14px;
    background-clip: padding-box;
    border: 0;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
    .widget-box.active {
        display: block;
        z-index: 1500;
    }
    .widget-box .widget-box-body {
        padding:5px 10px;
    }
.fb-200 label {
    flex-basis: 200px !important;
}
/*wiki*/
.wiki-card .wiki-card-header {
    border-bottom-width: 1px;
    background-color: #FFFFFF;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 1px solid #dee2e6;
    padding: 10px;
}
.wiki-card .wiki-card-body {
    padding: 15px 15px 15px 20px;
}
.wiki-container .row {
    margin: 0 0 24px;
    padding: 0;
}
.wiki-list-item {
    display:flex;
    flex-wrap:wrap;
}
.wiki-container {
    margin-top: 10px;
    margin-left: -5px;
    margin-right: -5px;
}
.wiki-card {
    display: flex;
    width: 33.33%;
    padding: 5px;
}
    .wiki-card > div {
        border: 1px solid #dee2e6;
        box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
        border-radius: 4px;
        width: 100%;
        background-color: #FEFEFE;
    }
    .wiki-card:nth-child(3n+3) {
        margin-right:0;
    }

@media (min-width:601px) and (max-width:1000px) {
    .wiki-card {
        display: inline-block;
        vertical-align: top;
        padding-bottom: 21px;
        margin: 1em 1% 1em;
        border-radius: 4px;
        border-width: 1px;
        border-color: #dee2e6;
        background-color: #FEFEFE;
        border-style: solid;
        width: 48.5%;
    }
        .wiki-card:nth-child(2n+2) {
            margin-right: 0;
        }
}
@media screen and (max-width:600px) {
    .wiki-card {
        display: inline-block;
        vertical-align: top;
        padding-bottom: 21px;
        margin: 0 0 1em;
        border-radius: 4px;
        border-width: 1px;
        border-color: #dee2e6;
        background-color: #FEFEFE;
        border-style: solid;
        width: 100%;
    }
}
.wiki-category .wiki-card-header-icon {
    margin-right: 10px;
    color: #354c93;
    font-size: 18px;
}
.wiki-card-body ul li i {
    margin-right: 0.25em;
    color: #354c93;
    font-size: 18px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}
.wiki-category {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: start;
    justify-content: flex-start;
}
.wiki-title {
    text-transform: uppercase;
}

a.wiki-title {
    font-size: 18px;
    line-height:1.5;
    font-weight: 400;
    color: #000000;
    text-transform: none;
}
a.wiki-title {
    cursor: pointer;
    text-transform:uppercase;
}
.wiki-title:hover {
    color: #EFBB20;
}
.wiki-card-body ul {
    width: 100%;
    font-style: normal;
    list-style-type: none;
    list-style-image: none;
    font-size: 18px;
    margin-bottom: 0;
}
    .wiki-card-body ul li {
        position: relative;
        margin-bottom: 15px;
    }
    .wiki-card-body ul li:last-child {
        margin-bottom: 0;
    }
.wiki-element-item {
    color: #6f6f6f;
    padding-left: 28px;
    display: block;
    font-size: 16px;
    line-height: 1;
}
    .wiki-element-item:hover {
        color: #6f6f6f;
    }
.card.wiki-element-details .card-header {
    background-color:#ffffff;
}

/*businesscard*/
.businesscard {
    display: flex;
}

.businesscard-logo {
    position: relative;
    width: 300px;
    float: left;
    overflow: hidden;
    background-color: #e1eff5;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.businesscard-content {
    min-height: 100vh;
    width: calc(100% - 300px);
    min-height: 600px;
    position: relative;
    background-color: #fff;
    display: flex;
}

    .businesscard-content .businesscard-body {
        padding: 1rem 1.25rem;
        width: 100%;
        height: 100%;
    }

.businesscard-logo .logo-prew-img {
    padding: 10px 15px;
}

.language-item {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-left: 20px;
}
.language-item {
    padding: 1rem 0 1.3rem;
}
    .language-item span[onclick] {
        cursor: pointer;
    }
    .language-item span {
        font-size: 14px;
        padding: 0 10px;
        color: #efbb20;
        font-weight: 500;
    }
    .language-item span:first-child {
        border-right: 1px solid;
    }
        .language-item span:last-child {
            padding-right: 0;
        }
    .language-item span.active {
        color: #dee2e6;
    }

@media screen and (min-width:992px) {
    .resize-header {
        overflow: auto;
        min-width: 75px;
        resize: horizontal;
        -moz-resize: horizontal;
        padding: 0.65rem;
    }
}
.universal-list-table .dropdown-filter-dropdown {
    display: block;
    text-align: center;
}
.universal-list-table.table thead tr td {
    font-weight: bold;
    font-family: 'Museo Sans Cyrl 900', Arial, sans-serif;
    color: #212529;
    padding: 0.5rem 0.3rem 0;
    text-align: center;
    vertical-align:top;
}
.details-card-body.readonly {
    background-color: #ffffff;
}