.courier-body {
    background-color: black;
    background-repeat: no-repeat;
    background-image: url(../images/decoration/top_bg.jpg);
    box-sizing: content-box;
    width: 98%;
    font-family: 'Segoe UI';
}

.courier-content {
    border: 1px solid grey;
    background: #ffffff;
    margin-top: 25px;
    margin-left: 15px;
    margin-right: 15px;
    background: linear-gradient(to top, white 90%, #92806F);
    min-height: 600px;
}

.courier-fullheight {
    min-height: 600px;
    height: calc(100vh - 120px);
    padding-left: 5px;
    /*overflow-y: auto;*/
}

.courier-page-container {
    min-height: 600px;
    height: calc(100vh - 120px);
    border: #c7c7cc 1px solid;
    border-radius: 3px;
    box-shadow: #c7c7c7 2px 2px 5px;
    padding: 5px;
    font: 18px arial bold;
    background-color: white;
}

.courier-input {
    font-size: 13px;
    font-family: Tahoma;
    /* background-color: #e6fff7;*/
    margin-right: 10px;
}

    .courier-input:required:focus {
        border: none;
    }

    .courier-input:required:invalid {
        border: 2px solid #ff9999;
    }

    .courier-input[type='text'] {
        border: 1px solid #b7b7b7;
        -webkit-box-shadow: 0 0 5px 1px #cccccc inset;
        box-shadow: 0 0 5px 1px #cccccc inset;
        height: calc(1.5em + .4rem + 2px);
    }

    .courier-input[type='checkbox'] {
        vertical-align: middle;
        width: 20px;
    }

textarea.courier-input {
    border: 1px solid #b7b7b7;
    -webkit-box-shadow: 0 0 5px 1px #cccccc inset;
    box-shadow: 0 0 5px 1px #cccccc inset;
    height: 55px;
}

select.courier-input {
    border: 1px solid #b7b7b7;
    -webkit-box-shadow: 0 0 5px 1px #cccccc inset;
    box-shadow: 0 0 5px 1px #cccccc inset;
    height: calc(1.5em + .4rem + 2px);
    padding-left: 10px;
    padding-top: 4px;
}

.panel-filter {
    padding: 15px;
    margin: 10px 0px;
    border: 1px solid lightgrey;
}

    .panel-filter > h4 {
        margin-top: 5px;
        margin-bottom: 5px;
    }

.panel-filter {
    margin: 10px 15px;
}

.dataTables_wrapper {
    margin: 10px 5px;
    overflow-x: auto;
}

.licenseWarning {
    text-align: center;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    font-weight: bold;
    font-size: 14px;
    color: #4162bc;
}

.licenseExpiring {
    background-color: #ffffcc;
}

.licenseExpired {
    background-color: #ffb3b3;
}

.courier-version-block {
    float: right;
    width: 225px;
    margin-top: 3px;
}

.EngineVersion {
    float: left;
    font-size: 10px;
}


.goodVer {
    color: green;
}

.badVer {
    color: red;
}

.item-card-title {
    font-size: 12px;
    font-weight: bold;
    color: darkblue;
    padding: 3px;
    margin: 0px;
}

.item-card-small-text {
    font-size: 9px;
    color: gray;
    padding: 3px;
    margin: 0px;
}

.item-card-extrainfo {
    font-size: 9px;
    color: saddlebrown;
    padding: 3px;
    margin: 0px;
}

/*.modal-dialog {
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}*/

.modal-dialog-large {
    max-height: 80%;
    max-width: 90%;
}

ul, #treeUL {
    list-style-type: none;
}

#treeUL {
    margin: 0;
    padding: 0;
}

.treeCaret {
    cursor: pointer;
    user-select: none;
}

    .treeCaret::before {
        content: "\25B6";
        color: black;
        display: inline-block;
        margin-right: 6px;
    }

.treeCaret-down::before {
    transform: rotate(90deg);
}

.treeNested {
    display: none;
    padding-left: 1em;
    margin-bottom: 0.2rem;
}

    .treeNested > li {
        white-space: nowrap;
    }

.treeActive {
    display: block;
}

.DocFolderSelected {
    background-color: #F7F7FF;
    border-right: 3px solid #543EA3;
}

.DocPanel {
    border: 1px solid #E8EDFA;
    border-radius: 0px 4px 4px 4px;
    padding: 3px;
    margin: 3px;
}

.DocPanel1 {
    border: 1px solid #E8EDFA;
    border-radius: 0px 4px 4px 4px;
    padding: 3px;
    margin: 3px;
}

.DocPreviewDiv {
    /*margin-left: -3px;
    margin-right: -3px;
    margin-bottom: -3px;*/
}

.FilterPanel {
    padding: 10px;
    border-bottom: 1px solid #c7c7cc;
    background-color: #f7f7f7;
    margin: -3px;
}

.DocPreviewPanel {
    width: 100%;
    min-height: 200px;
    /*max-height: 450px;*/
}

#DocListDiv {
    min-height: 600px;
}

#FoldersTreeDiv {
    min-height: 300px;
    max-height: 70%;
    min-width: 200px;
    overflow: auto;
    padding-top: 5px;
}

.maintree {
    white-space: nowrap;
}

.DocFolderTitle {
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: firebrick;
}

.AbonentInfo {
    width: 99%;
    /* font: bold 12px arial; */
    color: black;
    font-size: 12px;
    font-weight: bold;
    margin: 10px;
}

.AbonentInfoValue {
    color: white;
    padding: 5px;
    margin: 0px;
    border-radius: 3px;
    background-color: #543EA3;
}

.PortalTypeLabel {
    color: white;
    padding: 5px;
    margin: 0px;
    border-radius: 3px;
    background-color: royalblue;
}

.AbnFlagsLabel {
    color: white;
    padding: 5px;
    margin: 0px;
    border-radius: 3px;
    background-color: indianred;
}

.AbnNameLabel {
    color: royalblue;
    padding: 5px 10px;
    border-radius: 3px;
}

.DocTable {
    width: 98%;
    border: 1px solid #E8EDFA;
    border-radius: 0px 4px 4px 4px;
}

.red-cell {
    color: red;
}

.FolderHotCounter {
    background-color: #E8EDFA;
    color: #6C757D;
    border-radius: 3px;
    padding: 4px 7px 4px 7px;
    font-size: 11px;
    /* font-weight: bold;*/
    min-width: 30px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

.InfoValue {
    color: #543EA3;
    font-weight: bold;
}

.errorListItem {
    color: saddlebrown;
    font: 12px arial;
}

#MainToolBar {
    margin-left: 1em;
    border-radius: 0px;
}

    #MainToolBar > button {
        margin-right: 3px;
    }

    #MainToolBar > .btn-group {
        margin-right: 3px;
    }

.historyItem {
    font: 10px arial;
}

.popover {
    max-width: 50%;
}

.newsEvent {
    font: 12px arial;
    padding: 5px;
    margin: 5px;
}

.tooltip-inner {
    max-width: 500px;
}

.navbar-brand-main {
    font-weight: 600 !important;
    font-size: 20px !important;
    opacity: 0.9;
    padding: 0 !important;
}

    .navbar-brand-main:hover {
        color: #412899;
    }

    .navbar-brand-main > img {
        height: 30px;
    }

.nav-link {
    color: #543EA3;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    white-space: nowrap;
}

.nav-link-tabs {
    font-weight: 400;
    font-size: 16px !important;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.64) !important;
}

    .nav-link-tabs.active {
        color: #543EA3 !important;
    }
    
    .nav-link-tabs_value {
        background-color: #E8EDFA;
        color: #6C757D;
        padding: 4px 8px;
        border-radius: 4px
    }

.navbar-brand {
    color: #543EA3;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

.navbar-user, a.navbar-user:active, a.navbar-user:hover, a.navbar-user:visited {
    color: #543EA3;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    text-decoration: none
}

.navbar-user-extra {
    color: #543EA3;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 150%;
}


.page-link {
    --bs-pagination-color: #543EA3;
}

    .page-link.active, .active > .page-link {
        --bs-pagination-active-bg: #E8EDFA;
        color: black;
    }

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: none;
    font-weight: normal;
    color: gray;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: none;
}


.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    background: none;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: lightgray;
    background-color: white;
    font-weight: bold;
    text-decoration: none;
    color: gray;
}

.ui-widget-header {
    border: none;
    background: none;
    color: #333333;
    font-weight: bold;
}

.dataTables_wrapper {
    overflow-x: inherit;
}

.accordion-button {
    color: #543EA3;
    background-color: white;
    border-radius: 4px;
}

    .accordion-button:not(.collapsed) {
        color: #543EA3;
        background-color: #F7F7FF;
    }

.pagination {
    --bs-pagination-padding-x: 0.25rem;
    --bs-pagination-padding-y: 0.1rem;
    --bs-pagination-font-size: 0.75rem;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    padding: 0.2em 0.5em;
    text-decoration: none;
}

.text-toogle[aria-expanded=false] .text-expanded {
    display: none;
}

.text-toogle[aria-expanded=true] .text-collapsed {
    display: none;
}


.form-check-input {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

    .form-check-input:checked {
        background-color: #543EA3;
        border-color: #543EA3;
    }

    .form-check-input[role=switch] {
        width: 32px !important;
        height: 16px;
        margin-right: 5px;
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb(84 62 163)'/></svg>");
        border-color: #8B77EF;
    }

        .form-check-input[role=switch]:checked {
            background-color: #543EA3;
            border-color: #543EA3;
            background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1)'/></svg>");
        }



.circle-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    isolation: isolate;
    font-size: 16px;
    width: 32px;
    height: 32px;
    /* Theme/Label/Label */

    background: #DEE0FF;
    border-radius: 83px;
    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

    .circle-button:hover {
        background-color: #BCB5FF;
        /*       color: #FFFFFF;*/
    }

.circle-button-badge {
    left: -10px;
}

.icon-primary {
    color: #543EA3;
}

.icon-danger {
    color: red;
}

.icon-warning {
    color: darkorange;
}

.icon-success {
    color: green;
}

.icon-info {
    color: dodgerblue;
}

.icon16px {
    font-size: 16px;
}

.icon24px {
    font-size: 24px;
}

.icon32px {
    font-size: 32px;
}

.icon64px {
    font-size: 64px;
}

.icon128px {
    font-size: 128px;
}

.icon256px {
    font-size: 256px;
}

.alert-outline {
    background-color: white;
}

.no-border {
    border: none;
}

.mainpage-abn-info {
    position: absolute;
    bottom: 5px;
    border: none;
    background-color: transparent
}

    .mainpage-abn-info p {
        margin: 2px 0;
    }

#MainToolBar .btn {
    border: none;
    color: #543EA3;
}

    #MainToolBar .btn:hover {
        background-color: #EDEEFF;
    }

#MainToolBar .btn-group .btn {
    border: none;
    color: #543EA3;
}

    #MainToolBar .btn-group .btn:hover {
        background-color: #EDEEFF;
    }

.btn-outline-secondary:hover {
    background-color: #EDEEFF;
    color: #6c757d;
}

#DocPreviewDiv {
    height: 36.4vh;
}

#DocPreviewTabs {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 25.5vh;
    padding-bottom: 20px;
    padding-top: 10px;
}


#DocsGridDiv {
    width: 100%;
    border-top: none;
}

@media only screen and (max-width: 1440px) {
    #DocPreviewDiv {
        height: 36.4vh;
    }
}


@media only screen and (max-width: 1280px) {

    #DocPreviewTabs {
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 21vh;
        padding-bottom: 20px;
        padding-top: 10px;
        width: 99%;
    }

    #DocPreviewDiv {
        height: 32.2vh;
        /*        background-color:aliceblue;*/
    }

    #DocsGridDiv {
        /*width: 98%;*/
        padding-right: 10px;
        border-top: none;
    }
}

@media only screen and (max-width: 991px) {

    #DocPreviewDiv {
        height: 31vh;
        /*        background-color: gold;*/
    }

    #DocPreviewTabs {
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 20vh;
        padding-bottom: 20px;
        padding-top: 10px;
        width: 98%;
    }
}

#FoldersTreeDiv .list-group .list-group-item {
    padding-left: 10px;
}

.container, .container-fluid { /* Set width to your desired site width */
    min-width: 1200px;
}


#nav-tab .nav-link {
    /* adjust padding for height*/
    padding-top: 4px;
    padding-bottom: 4px;
}

.btn-leftmost {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

#navbarSupportedContent ul.navbar-right li a {
    padding: 0;
}

.dataTables_scrollBody {
    min-height: 28.5vh;
}

.alert-info {
    background-color: #FBFBFF;
    border-color: #FBFBFF;
}

h4.loginform {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #6c757d;
    text-align: center;
}

.btn {
    border-radius: 6px;
}

/*    .btn:focus,
    .btn:active {
        box-shadow: 0px 0px 0px 4px rgba(84, 62, 163, 0.3);
    }*/

input:-webkit-autofill:focus {
    border: 1px solid #D5DEE5;
    box-shadow: 0px 0px 0px 4px rgba(84, 62, 163, 0.3) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    border: 1px solid #D5DEE5 !important;
    transition: background-color 9999s ease-in-out 0s;
}

.validation-summary-errors > ul {
    padding-left: 0px;
}

.table-info td {
    background-color: #FBFBFF;
    border-color: #DEE0FF;
}

.kranik-input {
}

.admin-list-group-item {
    /*width: 313px;*/
    border: none;
    color: #495057;
    background-color: transparent;
    font-size: 18px;
    font-family: 'Segoe UI';
    margin-left: 5px;
    padding: 8px 12px 8px 12px;
    margin-left: 15px;
    height: 47px;
    width: 99%;
}

    .admin-list-group-item div {
        margin-top: 5px;
    }

    .admin-list-group-item:hover {
        background-color: #EDEEFF;
        color: #543EA3;
        border-radius: 4px;
    }



.form-check-label {
    font-size: 16px;
}

.input-group-text.transparent {
    /*    background-color: transparent;
    border: none;*/
    padding: 1px 6px;
}

.admin-form-row {
    padding-bottom: 16px;
}

.admin-card-row {
    padding-bottom: 8px;
}

.admin-entity-card {
    border-top: 1px solid #DEE0FF;
    margin-bottom: 16px;
    padding: 16px;
}

.admin-entity-card-title {
    font-size: 22px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

.admin-entity-card-badge {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding: 4px 8px;
    color: #9E000F;
    background-color: #FFDCDF;
    border-radius: 4px;
}

.admin-entity-card .admin-spec-btn {
    font-size: 17.38px;
    color: #212529;
    border: none !important;
    display: inline-block;
}

.col-6 .input-group {
    padding-right: 10px;
}

.bg-secondary {
    background-color: #E8EDFA !important;
    color: #495057;
}


.admin-entity-card .control-label {
    font-weight: 400;
    color: #6C757D;
}

.control-label {
    font-weight: 400;
    color: #212529;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 16px;
}

.control-value {
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.76);
}

.admin-entity-card-value {
    font-size: 16px;
    color: #212529;
    font-weight: 400;
}

.admin-settings-page {
    border: 1px solid #00000029;
    border-radius: 20px;
    padding: 32px 40px 32px 40px;
}

.nav-link {
    color: #6C757D;
    font-size: 14px;
}

    /*.nav-link.active {
        border-color: #FFFFFF #FFFFFF #543EA3 #FFFFFF !important;
        color: #495057;
    }*/

.text-red {
    color: #DC3545;
}


/*table.dataTable.table-striped > tbody > tr.odd > * {
    box-shadow: inset 0 0 0 9999px #FBFBFF;
}*/

/*.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #E8EDFA !important;
}*/

/*
#dataGridAbonents {
    border-color: #E8EDFA;
}
    #dataGridAbonents td {
    font-family: 'Segoe UI';
    font-size: 12px;
    font-weight: 400;
}

#dataGridAbonents th {
    font-weight: 600;
}*/

.editAbonent {
    background-color: transparent;
    float: right;
    color: #543EA3;
    font-size: 14px;
}

#orgAbonentsDiv {
    text-align: center;
}

    #orgAbonentsDiv img {
        display: flex;
        justify-content: center;
        align-content: center;
        /*        height: 100px;
        width: 100px;*/
    }

    #orgAbonentsDiv p {
        font-size: 12px;
        font-weight: 500;
    }

#downloadBtn {
    background-color: transparent;
    padding: 0rem 0.5rem;
    font-size: 20px;
}

.modal-dialog {
    min-width: 798px;
}

.noHover {
    pointer-events: none;
}

#trashBtn {
    font-size: 16px;
    cursor: pointer;
    max-height: 36px;
}

    #trashBtn:hover {
        border: 1px solid #CED4DA !important;
        border-radius: 5px;
    }

.font16 {
    font-size: 16px;
}

.font14 {
    font-size: 14px;
}

.admin-centered {
    text-align: center;
    flex: auto;
}

.inbox-icon {
    font-size: 48px;
    color: #543EA3;
}

.admin-preview {
    min-height: unset !important;
    margin-top: 0px !important;
}

.file-name {
    border: 1px solid #CED4DA;
    border-radius: 5px;
    padding-left: 0px;
    width: 705px;
}

.admin-bold-label {
    padding-left: 0px;
    font-weight: 600 !important;
    color: #000 !important;
    padding-bottom: 4px;
}

.admin-dz-remove {
    width: 48px;
    padding-right: unset;
    padding-left: unset;
}

.required:after {
    content: "*";
    font-weight: bold;
    color: #DC3545;
}

.input-validation-error {
}

.coreyer-alert-primary {
    font-size: 16px;
    background-color: #EDEEFF;
    padding: 16px;
    border-color: #EDEEFF;
}

    .coreyer-alert-primary i {
        color: white;
        background-color: #8B77EF;
        width: 32px;
        height: 32px;
        padding: 4px 7px;
        border-radius: 16px;
        margin-right: 10px;
    }

.close {
    color: #5C5C5C;
    padding: 0px;
    font-size: 24px;
    border: none;
    background-color: white;
}

    .close:hover {
        color: black;
    }

.modal {
    --bs-modal-header-padding: 0.5rem 1rem;
}

.modal-footer {
    padding: 0.5rem 1rem;
}

.trunc-text {
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/*#elementList {
    border: 1px solid #DEE2E6;
    border-radius: 0px 20px 20px 20px;
}*/

/*.topMenuButon {
    color: #8B77EF;
    background-color:red;
}*/
/*.topMenuButon {
    color: #8B77EF;
    text-align: center;
    height: 16px;
    display: block;
}*/


#LogoutBtn {
    display: inline-block;
    vertical-align: top;
    border-radius: 12px;
    color: #8B77EF;
    padding: 4px;
    margin: 5px;
}

    #LogoutBtn:hover {
        background-color: #DEE0FF;
    }

#navbarDropdown {
    color: #543EA3;
}

    #navbarDropdown:hover {
        color: #543EA3;
    }

#navbarDropdown.show #menuLimitCircle {
    visibility: hidden;
}


#userInfoSection:hover + #LogoutBtn {
    background-color: #DEE0FF;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #543ea3 !important;
}

.requisite-title {
    color: rgba(0, 0, 0, 0.52);
}