.active a {
    color: white !important;
    /*padding-left: 10px!important;*/
}

.active {
    background-color: #5b1522;
    border-radius: 10px;
}


.navbar .dropdown-toggle, .navbar .dropdown-menu a {
    cursor: pointer;
}

.navbar .dropdown-item.active, .navbar .dropdown-item:active {
    color: inherit;
    text-decoration: none;
    background-color: inherit;
}

.navbar .dropdown-item:focus, .navbar .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

@media (min-width: 767px) {
    .navbar .dropdown-toggle:not(.nav-link)::after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: .5em;
        vertical-align: 0;
        border-bottom: .3em solid transparent;
        border-top: .3em solid transparent;
        border-left: .3em solid;
    }
}

.navbar a {
    color: #111111;
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f7efef;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #727272;
    border-radius: 4px;
}


html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 4.5rem;
    margin-bottom: 4.5rem;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3.5rem;
    line-height: 3.5rem;
    background-color: #ccc;
}

.nav-link:hover {
    transition: all 0.4s;
}

.nav-link-collapse:after {
    float: right;
    content: '+';
}

.nav-link-show:after {
    float: right;
    content: '-';
}

.nav-item ul.nav-second-level {
    padding-left: 0;
}

.nav-item ul.nav-second-level > .nav-item {
    padding-left: 20px;
}

.content-wrapper {
}

@media (min-width: 992px) {
    .sidenav {
        position: absolute;
        top: 0;
        left: 0;
        width: 230px;
        height: calc(100vh - 3.5rem);
        margin-top: 3.5rem;
        background: #343a40;
        box-sizing: border-box;
        border-top: 1px solid rgba(0, 0, 0, 0.3);
    }

    .sidenav-left {
        position: absolute;
        top: 0;
        right: 0;
        width: 310px;
        height: calc(100vh);
        margin-top: 3.5rem;
        background: #343a40;
        box-sizing: border-box;
        border-top: 1px solid rgba(0, 0, 0, 0.3);
    }

    .navbar-expand-lg .sidenav {
        flex-direction: column;
    }

    .content-wrapper {
        margin-left: 230px;
        margin-right: 310px;
    }

    .footer {
        width: calc(100% - 230px);
        margin-left: 230px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
}

html,
body {
    height: 100%;
}

body {
    font-size: 100%;
    line-height: 1.5;
    font-family: "Roboto Condensed", sans-serif;
    background-color: #1c1c1c;
    color: #eeeeee;
}

a {
    text-decoration: none;
}

.calendar-wrapper {
    width: 100%;
    border-radius: 5px;
}

.navbar table {
    clear: both;
    width: 100%;
    border-radius: 10px;
    border-collapse: collapse;
    color: #eeeeee;
    margin-top: 50px;
    background-color: #302222;
    padding: 10px !important;
}

.navbar tr {
    margin: 3px;
}

.navbar td {
    height: 36px;
    text-align: center;
    vertical-align: middle;
    width: 14.28571429%;
    border-radius: 10px;
    margin: 50px !important;
}

.navbar td a {
    color: #cccccc;
    text-decoration: none;
}

tbody td.normal:hover {
    background-color: #222222;
}

tbody td.not-current:hover {
    background-color: #222222;
}

.days td {
    height: 12px !important;
    background-color: rgba(0, 0, 0, 0);
}

td.not-current {
    color: #545454;
    background-color: rgba(0, 0, 0, 0.1);
}

td.not-current a {
    color: #676767;
}

td.today {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.5em;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

thead td {
    border: none;
    color: #eeeeee;
    text-transform: uppercase;
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 0);
}

#btnPrev {
    float: left;
    margin-bottom: 20px;
}

#btnPrev:before {
    padding-right: 4px;
}

#btnNext {
    float: right;
    margin-bottom: 20px;
}

#btnNext:after {
    padding-left: 4px;
}

#btnPrev,
#btnNext {
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #c0c0c0;
    cursor: pointer;
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0px;
}

#btnPrev:hover,
#btnNext:hover {
    background-color: #1e1e1e;
}

.post_row {
    color: white;
}

.post_row a {
    color: white;
    text-decoration: none;
}

.post_title {
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.post_text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

li {
    list-style-type: none; /* Убираем маркеры */
}

a {
    text-decoration: none !important;
    color: #eeeeee;
}

a:hover {
    color: #999999;
}

.dropdown-menu.bg-dark a:hover {
    background-color: #2d1818;
}

.bg-so-dark {
    background-color: #111111;
}

.bg-little-dark {
    background-color: #222222;
}


.week_day {
    min-height: 150px;
    border-radius: 10px;
    min-width: 170px;
    border: 1px solid #aaaaaa;
    cursor: pointer;
}

.week_day:hover {
    border: 1px solid #333333;
}


hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #777777;
    margin: 1em 0;
    padding: 0;
}


.save-btn {
    background-color: #2d5b15;
    color: white;
    box-shadow: 0px 0px 10px 0px #000000;
}

.save-btn:hover {
    background-color: #479e09;
    color: #000000;
}

.save-btn:active {
    background-color: #183404;
    color: white;
}


.box_shad_red {
    border: 3px solid #660707;
    box-shadow: 5px 5px 10px #390000;
}

.box_shad_yellow {
    border: 3px solid #8e6f04;
    box-shadow: 5px 5px 10px #554303;
}

.box_shad_grey {
    border: 3px solid #828282;
    box-shadow: 5px 5px 10px #363636;
}

.box_shad_green {
    border: 3px solid #0d8e04;
    box-shadow: 5px 5px 10px #035511;
}
