@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #090909;
}

::-webkit-scrollbar {
    width: 4px;
    background-color: #090909;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
}

.mb-8 {
    margin-bottom: 8px;
}
.mb-10 {
    margin-bottom: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

body {
    padding: 15px;
    color: rgba(255, 255, 255, 0.8);
    background-color: #0E0E0E;
}

main>.row>div,
article>.row>div {
    padding: 15px;
}

article h2:not(:first-child) {
    margin-top: 30px;
}

article img {
    display: block;
    max-width: 100%;
    height: auto;
    text-align: center;
    border-radius: 16px;
    margin: 30px auto;
}

article a {
    display: block;
    margin-bottom: 8px;
}
article p a, article ul a, article ol a  {
    display: inline;
}
article p strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

h1,
h2,
h5,
p span,
b,
strong {
    font-weight: 600;
    color: #FFFFFF;
}

h1 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 0;
}

h2,
p span {
    font-size: 20px;
    line-height: 36px;
}

h5 {
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 0;
}

p {
    font-size: 16px;
    line-height: 32px;
}

p span {
    color: rgba(255, 255, 255, 0.8);
}

ol li,
ul li {
    margin-bottom: 8px;
}

a,
li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

a:hover {
    color: #F9D073;
}

li.active a,
li.active path,
li:hover a,
li:hover path {
    color: #F9D073;
    stroke: #F9D073;
    transition: all 0.3s;
}

button.dt-btn-square,
.navbar-toggler {
    height: 48px;
    width: 48px;
    min-height: 48px;
    min-width: 48px;
    max-height: 48px;
    max-width: 48px;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}
.dt-btn-info {
    height: 24px;
    width: 24px;
    background-color: transparent;
    background-image: url(/cabinet/img/icons/info-outline.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    outline: none;
}
.dt-btn-info:hover,
.dt-btn-info:focus,
.dt-btn-info:active {
    border: none;
    outline: none;
    box-shadow: none;
}
.dt-btn-info:hover {
    background-image: url(/cabinet/img/icons/info-outline.svg);
}

button:hover {
    border: 1px solid #F9D073;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

a.dt-btn, button.dt-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    color: #090909;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    background-image: linear-gradient(90deg, #825D1A 0%, #FFCC58 100%);
    padding: 16px 40px;
}

a.dt-btn.disabled, button.dt-btn[disabled] {
    background-image: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.form-select {
    max-width: 377px;
    height: 50px;
    background-color: #161616;
    border-radius: 10px;
    font-size: 16px;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.8);
    border: none;
    background-image: url(/cabinet/img/icons/arrow-down.svg);
    background-size: 24px;
}

.form-select:focus {
    box-shadow: none;
}



#logout {
    border-radius: 8px;
}

.navbar-toggler-icon {
    background-image: url(/cabinet/img/icons/arrow_to_left.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;

}

.navbar-toggler-icon:hover {
    background-image: url(/cabinet/img/icons/arrow-left.svg);

}

.navbar-toggler-icon.closed {
    background-image: url(/cabinet/img/icons/arrow_to_right.svg);

}

.navbar-toggler-icon.closed:hover {
    background-image: url(/cabinet/img/icons/arrow-right.svg);

}

aside {
    position: sticky;
    top: 0;
    min-width: 290px;
    max-width: 290px;
    background-color: #161616;
    border-radius: 16px;
    margin: 15px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    max-height: 600px;
}

aside img {
    padding: 40px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

aside img.logo {
    display: block;
}

aside img.favicon {
    display: none;
}

aside button.navbar-toggler {
    position: absolute;
    right: 40px;
    bottom: 40px;
}

aside ul li {
    font-size: 16px;
    line-height: 32px;
    margin: 20px 40px;
}

aside ul li a {
    display: block;
    border-radius: 10px;
    padding: 10px;
}

aside ul li.active a,
aside ul li:hover a {
    background: rgba(249, 208, 115, 0.1);
}

aside ul li a svg {
    margin-right: 15px;
}

aside ul.components {
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

aside.narrow {
    min-width: 130px;
    max-width: 130px;
    text-align: center;
}

aside.narrow button.navbar-toggler {
    margin: 0 auto;
}

aside.narrow ul span,
aside.narrow img.logo {
    display: none;
}

aside.narrow img.favicon {
    display: block;
    margin: auto;
}

aside.narrow .logo {
    padding: 10px 0;
}

aside.narrow ul li a {
    display: table-cell;
    height: 50px;
    width: 50px;
    vertical-align: middle;
    border-radius: 10px;
    padding: 0;
}

aside.narrow ul li a svg {
    margin-right: 0;
}

@media (prefers-reduced-motion: reduce) {
    aside ul {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

header .col {
    margin: 25px 6px;

}

.wrapper {
    min-height: calc(100vh - 30px);
    width: 100%;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    overflow: hidden;
}

nav.navbar {
    height: 50px;
    border-radius: 10px;
    margin: 15px;
}

nav.navbar form {
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #161616;
    border-radius: 10px;
    padding: 10px;
}

nav.navbar .form-control {
    background: transparent;
    border: none;
}

nav.navbar .form-label {
    margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
}

nav.navbar ul {
    margin-right: 40px;
    margin-bottom: 0;
}

nav.navbar ul li {
    margin-bottom: 0;
}

nav.navbar ul li:not(:last-child) {
    padding-right: 20px;
}

nav.navbar ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8)
}

nav.navbar ul a:hover {
    color: #F9D073;
}

nav.navbar ul li.active a {
    color: #F9D073;
}

header form {
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #161616;
    border-radius: 10px;
    padding: 10px;
}

header .form-label {
    margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.form-control {
    background: transparent;
    border: none;
}

.form-control:focus {
    color: #fff;
    background-color: transparent;
    border: none;
    box-shadow: none; 
}

.item {
    height: 100%;
    background-color: #161616;
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(50px);
}

article .item a {
    color: #F9D073;
}

article .item a:hover {
    text-decoration: underline;
    color: #F9D073;
}

.list-docs .list-marker {
    width: 26px;
    height: 26px;
    background-image: url(/cabinet/img/icons/marker.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 6px;
    padding: 10px;
    margin-top: 3px;
    margin-right: 10px;
}

.list-docs h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 52px;
    font-size: 18px;
    text-align: center;
    color: #F9D073;
    background: rgba(249, 208, 115, 0.1);
    border-radius: 10px;
    margin: 0 auto;
}

.list-docs ul li {
    font-size: 16px;
    line-height: 32px;
    color: #FFFFFF;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.list-docs ul li a {
    font-size: 16px;
    line-height: 32px;
    color: #FFFFFF;
}

.list-docs ul li:hover a {
    text-decoration: none;
    color: #F9D073;
}

a.nav-back {
    color: rgba(255, 255, 255, 0.8);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

}

a.nav-back span {
    width: 26px;
    height: 26px;
    background-image: url(/cabinet/img/icons/arrow_to_left.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    padding: 10px;
    margin-right: 10px;

}

a.nav-back:hover {
    color: #F9D073;

}

a.nav-back:hover span {
    background-image: url(/cabinet/img/icons/arrow-left.svg);
}

article .item {
    padding: 40px;
}

.item.schedule {
    height: 217px;
    display: flex;
    flex-direction: column;
}
.item.stream {
    height: 155px;
    display: flex;
    flex-direction: column;
}
.item.link {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item.schedule>div,
.item.stream>div {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.item.schedule>div:first-child,
.item.stream>div:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.item.schedule .number,
.item.stream .number {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    font-weight: 700;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5em;
    margin-right: 20px;
}

.item.schedule h5 {
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 0;
}

.item.schedule p {
    font-size: 16px;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;

}

.item.schedule img,
.item.stream img {
    margin-right: 10px;

}
.item.link img.logo {
    margin-right: 20px;
}
.item.link a {
    font-size: 20px;
    line-height: 36px;
    margin-right: auto;
}

.item.schedule span {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    width: initial;
    color: #FFFFFF;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;

}
.nav-tabs .nav-link.active {
    color: #F9D073;
    background-color: transparent;
    border-bottom: 1px solid #F9D073;
}

.item.homework {
    display: flex;
    flex-direction: column;
    margin-top: 31px;
}
.item.homework h5 {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}
.item.homework span {
    color: rgba(255, 255, 255, 0.4);
}

.item.homework.completed>div {
    display: flex;
    align-items: center;
}

.item.homework.completed>div:first-child {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.item.homework.completed>div:last-child {
    height: 32px;
    padding-top: 20px;
}
.item.homework>div:last-child img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.item.homework button.dt-btn-square {
    border: 1px solid #00C187;
    border-radius: 16px;
}
.modal-header {
    border: none;
}

.modal-title {
    font-size: 24px;
    line-height: 32px;
    color: #F9D073;
}
.dt-btn-close {
    width: 24px;
    height: 24px;
    background-color: transparent;
    background-image: url(/cabinet/img/icons/close.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.dt-btn-close:hover {
    border: none;
}


#material aside {
    position: sticky;
    top: 30px;
    min-height: 600px;
}

#material nav.navbar {
    position: absolute;
    right: 10px;
}

#material article {
    margin-top: 15px;
}

@media (max-width: 991px) {
    .item.schedule span {
        font-size: 12px;
    }
}

@media (max-width: 1919px) {
    .item.schedule h5 {
        font-size: 18px;
    }
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 740px;
        margin: 1.75rem auto;
    }
}
@media (min-width: 992px) {
    nav.navbar form, header form {
        width: 500px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1080px;
    }
}

@media (min-width: 1600px) {
    .col-hd-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}
@media (min-width: 1921px) {
    #material .wrapper {
        width: calc(100% - 600px);
    }
}