/* -------------------------------------------------------------------------- */
html {
    font-size: 16px;
    font-family: 'Roboto',sans-serif;
    color: #37474f;
    box-sizing: border-box
}
body {
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.12;
}
p,a,ul,li,span,h1,h2,h3,h4,h5,h6 {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    outline: none
}
a,a * {
    transition: .3s
}
i {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    color: #4caf50;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased
}
sup {
    vertical-align: top;
    position: relative;
    top: -.5em
}
input,textarea {
    font-family: 'Roboto',sans-serif
}
header,nav,main,footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin: 0
}
/* -------------------------------------------------------------------------- */
header {
    display: flex;
    align-items: center;
    height: 72px;
    text-align: center;
}
header > div {
    font-size: 24px;
    font-weight: 700;
    color: rgba(38,166,154,1);
}
/* -------------------------------------------------------------------------- */
nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    background-color: #26A69A;
    height: 56px;
    overflow-x: auto;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}
nav > a {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
    text-transform: uppercase;
}
nav > a.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 1) !important;
    cursor: default;
}
nav > a:hover {
    background: #00695C;
    color: rgba(255, 255, 255, 1);

}
/* -------------------------------------------------------------------------- */
main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 0 0 auto;
    padding: 24px;
    width: calc(100% - 48px);
    flex: 1 1 100%;
    overflow: hidden;
}
main > div {
    width: 100%;
}
/* -------------------------------------------------------------------------- */
.day {
    display: flex;
    align-items: baseline;
    width: calc(100% + 12px);
    margin: 0 -12px 12px -12px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.08);

    position: relative;
}
.day:after {
    display: block;
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 12px;
    height: 100%;
    background: #26A69A;
}
.day > * {
    font-size: 18px;
    font-weight: bold;
}
.day > font {
    margin: 0 6px 0 0;
}
.day > b {
    color: #4caf50;
    margin: 0 6px 0 0;
}
.day > b.tm {
    color: #6200EA;
}
/* -------------------------------------------------------------------------- */
.lesson {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    width: 100%;
    margin: 0 0 8px 0;
}
.lesson:last-child {
    margin: 0 0 18px 0;
}
/* -------------------------------------------------------------------------- */
.lesson > p {
    width: 150px;
    text-align: right;
    margin: 0 12px 0 0;
    color: #90A4AE;
}
body.news .lesson > p {
    display: none;
}
/* -------------------------------------------------------------------------- */
.lesson > b {
    width: 300px;
    margin: 0 12px 0 0;
    line-height: 1.4;
    color: #455A64;
}
body.news .lesson > b {
    display: none;
}
/* -------------------------------------------------------------------------- */
.lesson > em {
    font-style: normal;
    color: #607D8B;
}
body.news .lesson > em ,
body.hw .lesson > em {
    display: none;
}
/* -------------------------------------------------------------------------- */
.lesson > div {
    width: 100%;
    margin: 0 0 0 162px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
body.sch .lesson > div ,
body.news .lesson > div {
    display: none;
}
.lesson > div > p {
    display: flex;
    width: auto;
    justify-content: flex-start;
    align-items: center;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    border: 1px solid rgba(76,175,80,0.5);
    border-radius: 4px;
    padding: 0 2px 0 8px;
    margin: 2px 0 0 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    transition: 0.3s;
    opacity: .75;
    z-index: 1;
}
.lesson > div > p:hover {
    background: rgba(76,175,80,0.2);
    opacity: 1;
}
.lesson > div > p.expanded {
    background: rgba(76,175,80,1);
    color: #fff;
    border-radius: 4px 4px 0 0;
    opacity: 1;
}
.lesson > div > p > i {
    transition: 0.3s;
}
.lesson > div > p.expanded > i {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    color: #fff;
}
.lesson > div > div {
    width: calc(100% - 24px);
    max-height: 0px;
    overflow: hidden;
    transition: 0.1s;
    border: 1px solid transparent;
    padding: 0 12px;
    margin: -1px 0 0 0;
    background: transparent;
}
.lesson > div > p.expanded + div {
    max-height: 300px;
    transition: 0.3s;
    border: 1px solid #CFD8DC;
    padding: 8px 12px;
    background: #ECEFF1;
}
.lesson > div > div a {
    text-decoration: none !important;
    color: #00796B;
    border-bottom: 1px solid #80CBC4;
}
.lesson > div > div a:hover {
    color: #00BFA5;
    border-bottom: 1px solid transparent;
}
/* -------------------------------------------------------------------------- */
.empty_content {
    display: none;
    align-items: center;
    justify-content: flex-start;
    margin: 24px 0;
}
.empty_content.active {
    display: flex;
}
.empty_content i {
    margin: 0 8px 0 0;
    font-size: 48px;
}
.empty_content span {
    font-size: 28px;
    color: rgba(0, 0, 0, 0.3);
}
/* -------------------------------------------------------------------------- */
main .news {
    display: flex;
    flex-direction: column;
    width: calc(100% - 102px);
    margin: 24px 0 24px 102px;
}
main .news > div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 0 24px 0;
    padding: 0 0 24px 0;
    border-bottom: 3px dotted rgba(0, 0, 0, 0.1);
}
main .news > div:first-child {
    padding-top: 24px;
    border-top: 3px dotted rgba(0, 0, 0, 0.1);
}
main .news > div > p {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    flex: 0 0 200px;
    height: 120px;
    margin: 0 12px 0 0;
}
main .news > div > p > img {
    /* width: 200px; */
    max-width: 100%;
    max-height: 100%;
}
main .news > div > p.no-image {
    box-shadow: 0px 0px 4px 2px rgb(0, 0, 0, 0.15);
}
body.hw .news ,
body.sch .news {
    display: none;
}
/* -------------------------------------------------------------------------- */
main .news > div > div {
    display: flex;
    flex-direction: column;
    flex: 0 1 100%;
}
main .news > div > div > h3 {
    color: #26A69A;
    font-size: 24px;
    margin: 0 0 8px 0;
}
main .news > div > div > p {
    color: rgba(55,71,79,0.75);
    font-size: 14px;
    margin: 0 0 8px 0;
}
/* -------------------------------------------------------------------------- */
main .news > div > div > b {
    display: flex;
    align-items: center;
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(55,71,79,0.5);
    cursor: pointer;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
}
main .news > div > div > b:hover {
    color: #26A69A;
}
main .news > div > div > b > i {
    margin: 0 4px 0 0;
    transition: 0.3s;
}
main .news > div > div > b.expanded {
    margin-bottom: 12px;
}
main .news > div > div > b.expanded > i {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
/* -------------------------------------------------------------------------- */
main .news > div > div > div {
    display: block;
    color: rgba(55,71,79,1);
    font-size: 16px;
    line-height: 1.3;
    transition: 0.1s;
    max-height: 0px;
    overflow: hidden;
}
main .news > div > div > b.expanded + div {
    max-height: 2000px;
    transition: 1.4s;
}
/* -------------------------------------------------------------------------- */
.empty_day {
    color: rgba(0, 0, 0, 0.25);
    font-size: 12px;
    text-transform: uppercase;
    margin: -8px 0 12px 0;
}
/* -------------------------------------------------------------------------- */
.pagination {
    margin: 12px 0 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.pagination:first-child {
    margin: 0 0 16px 0;
}
.pagination a {
    white-space: nowrap;
    border: 1px solid rgba(38,166,154,0.5);
    background: rgba(38,166,154,0.1);
    color: rgba(38,166,154,1);
    border-radius: 4px;
    padding: 4px 12px;
    margin-right: 18px;
    margin-bottom: 8px;
}
.pagination a:last-child {
    margin-right: 0;
}
.pagination a:hover {
    border: 1px solid rgba(38,166,154,1);
    background: rgba(38,166,154,1);
    color: #fff;
}
/* -------------------------------------------------------------------------- */
footer {
    display: flex;
    flex-direction: column;
    background: rgba(38,166,154,1);
    padding: 12px 24px;
    width: calc(100% - 48px);
}
footer a {
    font-size: 13px;
    color: #fff;
    opacity: 0.5;
}
footer a:hover {
    opacity: 1;
}
footer p {
    margin: 8px 0 0 0;
    font-size: 11px;
    color: #fff;
    opacity: 0.25;
}
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 900px) {
    /* ---------------------------------------------------------------------- */
    .lesson > p {
        width: 56px;
        text-align: left;
    }
    .lesson > div {
        margin: 0 0 0 68px;
    }
    /* ---------------------------------------------------------------------- */
    main .news {
        width: 100%;
        margin: 24px 0 24px 0;
    }
    /* ---------------------------------------------------------------------- */
}
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 800px) {
    .lesson > em {
        width: 100%;
        font-size: 14px;
        margin: 0 0 0 68px;
        opacity: 0.75;
    }
}
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 700px) {
    nav {
        justify-content: flex-start;
    }
}
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 600px) {
    main .news > div {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }
    main .news > div > p {
        width: 200px;
        flex: 0 0 120px;
        height: 120px;
        margin: 0 0 12px 0;
    }
}
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 500px) {
    .lesson > p {
        width: 56px;
        font-size: 14px;
        margin: 4px 0 0 0;
    }
    .lesson > b {
        width: calc( 100% - 56px);
        margin: 0;
    }
    .lesson > em {
        margin: 0 0 0 56px;
    }
    .lesson > div {
        margin: 0 0 0 56px;
    }
    .lesson > div > p + div {
        word-break: break-all;
    }
}
/* -------------------------------------------------------------------------- */
