body {
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    color: #3c4b64;
    background-color: #ebedef;
}

.ui-resizable-e {
    width: 15px;
}

.form-control {
    font-size: 0.875rem;
}

.btn-purple {
    color: #66CC99;
    border-color: #66CC99;
}

.btn-purple:hover {
    color: #fff;
    background-color: #66CC99;
}

.card-icon-top {
    font-size: 40px;
    text-align: center;
    padding: 10px;
    display: block;
    color: #66CC99;
}

.toast-block {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
}

.toast {
    min-width: 220px;
    text-align: center;
}

.toast.show {
    opacity: .7;
    cursor: pointer;
}

.toast.show:hover {
    opacity: 1;
}

.page-link, .page-link:hover {
    color: #66CC99;
}

.page-item.active .page-link {
    background-color: #66CC99;
    border-color: #66CC99;
}

td.column-id {
    width: 60px;
}

td.column-id input {
    padding: 7px;
    min-width: 2.25rem;
}

aside {
    width: 250px;
    background: #fff;
    box-shadow: 1px 0 20px rgb(0 0 0 / 8%);
    overflow-x: hidden;
    height: 100vh;
    z-index: 9999;
}

aside ul {
    display: block;
    margin: 0;
    padding: 0 3px 0 0;
}

aside li {
    display: block;
    background: #fff;
}

aside li ul {
    display: none;
    margin-left: 30px;
    padding-right: 0;
}

aside a {
    display: block;
    padding: 10px;
    color: #546e7a;
    transition: .3s;
}

aside a i {
    width: 16px;
    font-size: 18px;
}

aside li a, aside li a:visited, aside li:hover a {
    text-decoration: none;
    color: #546e7a;
}

aside li:hover > a, aside li > a.active {
    vertical-align: middle;
    background: #99FFCC;
}

.ui-effects-placeholder {
    display: none !important;
}

td {
    word-wrap: break-word;
}

table tr th small {
    margin-left: 0.25rem;
}

.custom-file-label::after {
    content: "Выбрать";
}

.column-file img {
    max-width: 60px;
}

.select-option-container {
    display: flex;
    align-items: center;
    word-break: break-word;
}

.select2-container {
    display: block;
    max-width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-container--default .select2-selection--single {
    border: none;
}

.form-control {
    max-width: 100%;
}

.sandwich {
    left: 0px;
    display: block;
    position: absolute;
    padding: 0 10px;
    background: #66CC99;
    font-size: 24px;
    color: #fff;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
}

.sandwich:hover {
    color: #fff;
}

main {
    width: calc(100% - 250px);
    height: 100vh;
    padding: 0 30px;
    overflow-y: auto;
}

header {
    display: block;
    margin: 0 -30px 30px;
    background: #66CC99;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
}

.breadcrumb {
    margin: 0;
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: #66CC99;
    z-index: -99999;
}

.breadcrumb {
    background: none;
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: bold;
}

.notice {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    width: 30px;
}

.notice-active i {
    animation: swing 1.5s ease;
    animation-iteration-count: infinite;
}

.notice-active:before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    width: 7px;
    height: 7px;
    background-color: #ff0000;
    border-radius: 50%;
}

.notices {
    display: none;
    position: fixed;
    width: 300px;
    height: 100vh;
    top: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    color: #000;
}

.notices-header i {
    cursor: pointer;
    font-size: 2rem;
    transition: .4s;
}

.notices-header i:hover {
    transform: rotate(180deg);
}

.profile-dropdown img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    -o-object-fit: cover;
    -o-object-position: center;
}

.profile-dropdown img:hover {
    filter: brightness(0.9);
}

.profile-dropdown.dropleft .dropdown-toggle::before {
    display: none;
}

.profile-dropdown .dropdown-item {
    font-size: 0.875rem;
}

.profile-dropdown > button {
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 50%;
    background: #f2f2f2;
    text-align: center;
    overflow: hidden;
}

.home .card {
    flex: 0 1 25%;
    margin: 0 3px;
}

.home .card-body {
    display: flex;
    flex-direction: column;
}

.home p.card-text {
    flex: 1 1 auto;
}

.home .card-icon {
    font-size: 90px;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.home .row {
    margin-right: -10px;
    margin-left: -10px;
}

.home .social-icon {
    display: inline-block;
    text-align: center;
    color: #3c4b64;
    opacity: 0.8;
}

.home .social-icon i {
    font-size: 70px;
    transition: .3s;
}

.home .social-icon:hover {
    color: #3c4b64;
    text-decoration: none;
    opacity: 1;
}

.home .social-block {
    flex: 0 0 50%;
}

.categories, .categories ul {
    list-style-type: none;
    padding-inline-start: 15px;
}

.category-item ul {
    display: none;
}

.category-item .category-visible-switcher {
    display: inline-block;
    width: 20px;
    cursor: pointer;
    color: #66CC99;
    font-size: 18px;
}

.category-item input {
    display: none;
}

.category-item .virtual-checkbox {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #9c27b0;
}

.category-item.checked > .category-checkbox > .virtual-checkbox {
    background: #9c27b0;
}

.category-item.no-active > .category-checkbox > .virtual-checkbox {
    background: #66CC99;
    border: 3px solid #66CC99;
}

.category-toast {
    position: fixed;
    right: 30px;
    bottom: 30px;
}

.edit-file-btn {
    display: none;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 50px;
    padding: 0 0.65rem;
}

.delete-file-btn {
    display: none;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0 0.65rem;
}

.file-card:hover .edit-file-btn {
    display: block;
}

.file-card:hover .delete-file-btn {
    display: block;
}

.attachment-title {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    white-space: break-spaces;
    font-weight: 500 !important;
    font-size: 0.8rem;
}

.attachment-icon {
    font-size: 65px;
}

.attachment-title a {
    color: #546e7a;
}

.attachment-title a:hover {
    color: #3c4e57;
}

.select-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin: 3px 15px 3px 0;
    background-size: cover;
    background-position: center center;
}

.select2-results__option {
    font-size: 14px;
}

.select2-container--default .select2-results__option--selected {
    min-height: 30px;
    background-color: #99FFCC;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #6d7dd5;
}

.feed-file .card-top {
    max-width: 80px;
}

@media only screen and (max-width: 1200px) {
    aside {
        display: none;
        position: fixed;
    }

    header {
        margin: 0 -10px 30px;
    }

    .breadcrumb {
        margin-left: 45px;
    }

    main {
        width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 993px) {
    .delete-file-btn {
        display: block;
    }

    .home .social-block {
        flex: 0 0 25%;
    }
}

@media (max-width: 431px) {
    .search-btn {
        top: 56px;
        right: 0;
        width: 40%;
    }
}

@media (max-width: 431px) {
    .home .social-block {
        flex: 0 0 50%;
    }
}

@media print {
    aside, header {
        display: none;
    }
}

@keyframes swing {
    35% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
    100% {
        transform: rotate(0);
    }
}
