/*
    Page
 */
.wide .main {
    display: table;
}
.tabs .tab.disabled {
    color: rgba(0,0,0,.25) !important;
    text-decoration: none;
    border-bottom-width: 0px;
    cursor: default;
}
.detect_no-rgba .tabs .tab.disabled {
    color: #ccc !important;
}
.extra-left20 {
    margin-left: 20px;
}
/*
    Timetable
 */
.timetable {
    width: 100%;
    border-spacing: 1px;
    margin-top: 3em;
}

.timetable td {
    border-top: 1px solid #e0e0e0;
    border-collapse: collapse;
}
.timetable th,
.timetable__bottom td {
    font-size: 90%;
}
.timetable th:first-letter {
    text-transform: capitalize;
}
.timetable td.timetable__num,
.timetable td.timetable__time {
    width: auto;
    border-top: none;
    padding: 1em 0 0;
}
.timetable td.timetable__num {
    width: 20px;
    font-size: 80%;
}
.timetable__num span {
}
.timetable td.timetable__time {
    position: relative;
    width: 45px;
    text-align: center;
    font-size: 85%;
    padding-right: 7px;
}
.timetable .timetable__tr-slim td {
    padding-top: .25em;
    padding-bottom: 0em;
}
.timetable-current {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    top: 2.7em;
    bottom: 5.6em;
    width: 15.5%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    margin-left: -.75em;
}
.timetable-current-7 {
	width: 14.3%;
}
.timetable__now {
    display: block;
    position: absolute;
    left: 20px;
    right: 36px;
    height: 1px;
    border-bottom: 1px dashed #ec008c;
    text-align: right;
    z-index: 1;
}
.timetable__now u {
    display: block;
    float: right;
    text-align: center;
    width: 45px;
    text-decoration: none;
    margin-right: -45px;
    margin-top: -.5em;
    line-height: 1;
    color: #ec008c;
}

/*Нет пары*/
.timetable__empty {
    padding: 0;
    background: #fff;
    width: 16%;
}
.timetable__fullempty {
    padding: 1em 0;
    text-align: center;
}
/*Перемена*/
.timetable__classbreak {
    text-align: center;
    font-size: 9px;
}
.timetable__classbreak .fa-clock-o {
    margin: 0 2px;
}
.forceNormalBG
{
    background: #f9fae7;
}
.forceOptionalBG
{
    background: #edf4fa;
}
.pairOptionalTweak
{
	margin-left: -7.5rem;
	padding-left: 7.5rem;
}
/*Обычная пара */
.timetable__item{
    padding: 0;
    background: #f9fae7;
    height: 185px;
    width: 16%;
}
/*Факультатив*/
.timetable__item_optional,
.pair.pair_optional{
    background: #edf4fa;
    padding: 0;
}
/*Пара перенесена*/
.timetable__item_hold,
.pair.pair_hold{
    background: #f8f8f8;
    padding: 0;
}
/*Пара отменена*/
.timetable__item_cancel,
.pair.pair_cancel{
    background: #fff7f7 url('/f/src/timetable/canc-bg.png');
    padding: 0;
}
.pair.pair_empty {
    background: #f8f8f8;
    padding: 0;
}

/*Типы занятий*/
.scheduleType {
    font-size: 85%;
    color: #8c8e68;
}
.timetable__item_optional .scheduleType {
    color: #4e6274;
}
.timetable__item_cancel .scheduleType {
    color: #737373;
}
.timetable__item_hold .scheduleType {
    color: #6f6f6e;
}

.timetable__item_has-scroll,
.timetable__item_has-scroll .timetable__item-inner {
    position: relative;
}

.timetable__item .simplebar-track {
    z-index: 2;
}

.timetable__item_has-scroll::before,
.timetable__item_has-scroll::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, rgba(248, 249, 229, 0.00) 0%, #F8F9E5 87.50%);
    pointer-events: none;
}

.timetable__item_has-scroll::before {
    content: none;
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

.timetable__item-inner {
    position: relative;
    max-height: 400px;
    max-height: min(80dvh, 400px);
    overflow-x: hidden;
    overflow-y: auto;
}

.timetable__item_has-scroll .timetable__item-inner::before,
.timetable__item_has-scroll .timetable__item-inner::after {
    content: '';
    position: absolute;
    z-index: 2;
    bottom: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: no-repeat center url('data:image/svg+xml;charset=utf8, %3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20opacity%3D%220.5%22%3E%0A%3Cpath%20d%3D%22M13.625%207.625C13.4179%207.41789%2013.0821%207.41789%2012.875%207.625L8.5%2012V2.5C8.5%202.22386%208.27614%202%208%202C7.72386%202%207.5%202.22386%207.5%202.5V12L3.125%207.625C2.91789%207.41789%202.58211%207.41789%202.375%207.625C2.16789%207.83211%202.16789%208.16789%202.375%208.375L8%2014L13.625%208.375C13.8321%208.16789%2013.8321%207.83211%2013.625%207.625Z%22%20fill%3D%22%238C8E68%22%2F%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A');
    background-size: cover;
}

.timetable__item_has-scroll .timetable__item-inner::before {
    content: none;
    bottom: auto;
    top: 8px;
    transform: rotate(180deg);
}



.timetable__item_middle::before,
.timetable__item_middle::after,
.timetable__item_middle .timetable__item-inner::before,
.timetable__item_middle .timetable__item-inner::after {
    content: '';
}

.timetable__item_bottom::before,
.timetable__item_bottom .timetable__item-inner::before {
    content: '';
}

.timetable__item_bottom::after,
.timetable__item_bottom .timetable__item-inner::after {
    content: none;
}



/*Элемент в таблице расписания*/
.scheduleItem {
    /*height: 100%;*/
    font-size: 80%;
    padding: .8em 1em;
    border-top: 1px solid #fff;
}
.scheduleItem__inner {
    position: relative;
    padding: .8em 1em;
    margin: -.8em -1em;
}

.scheduleItem.tooltipstered {
    cursor: pointer;
}
.scheduleItem__status {
    position: absolute;
    bottom: 10px;
    font-size: 90%;
}
.scheduleName {
    padding-top: .3em;
}
.scheduleAddress {
    font-size: 85%;
}
.scheduleRoom,
.scheduleTeacher{
    padding-top: .15em;
}

.status-cancel {
    color: #c92e2e;
}

/*Контролы*/
.controls-container {
    margin-left: 25px;
}
.controls-container .with-indent.fa span {
    margin-left: 4px;
}

/*** Отображение лентой ***/

.rasp-filter {
    margin-bottom: 4em;
}

.pair {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f9fae7;
    border-bottom: 1px solid #efefef;
}

.pair__side {
    width: 7.5rem;
    float: left;
}
.pair__body {
    margin-left: 7.5rem;
}
.pair__inner {
    padding: 1em 0;
    font-size: 90%;
}
.pair__side .pair__inner {
    padding: 1em;
}
.pair__lesson {
    overflow: hidden;
    margin-top: 1em;
}
.pair__lesson:first-child {
    margin-top: 0;
}
.pair__lesson.tooltipstered {
    cursor: pointer;
}
.pair__name,
.pair__details {
    float: left;
}
.pair__name {
    width: 57%;
    padding-right: 3%;
}
.pair__name .g {
    line-height: 1.3;
}
.pair__details {
    width: 40%;
}

@media (max-width: 767px) {
    .pair__name,
    .pair__details {
        float: none;
        width: auto;
    }
    .pair__details {
        margin-top: .5em;
    }
}


.pair__details,
.pair__type,
.pair__status,
.pair__time {
    font-size: 90%;
}
.pair__time_end {
    position: absolute;
    left: 0;
    bottom: 10px;
    color: rgba(0, 0, 0, 0.6);
}
.tt-list .pair__time_end {
    left: auto;
}

.pair__status {
    padding-top: .4em;
}

.tt__title {
    margin-top: 2em;
    padding-top: 0;
}
.tt__title:first-letter, .b-month__name:first-letter {
    text-transform: capitalize;
}
.tt__pairs {
    margin-top: 1em;
}

.tt-list {
    margin-right: 45px;
}

div.tt.tt-list div.tt-waiter {
    text-align: center;
    margin-top: -7em;
}
div.tt.tt-list div.tt-waiter svg {
    display: inline-block;
}
/*
    Plugin: pace
 */
.pace .pace-progress {
  background-color: #1658DA 0.8;
  height: 4px;
}
/*
    Plugin: tooltipster
 */
.tooltipster-default {
    border-radius: 4px;
    border-width: 0px;
    background: #fff;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
    color: #2c2c2c;
}
.tooltipster-default .tooltipster-content {
    border-radius: 4px;
    background-color: #f9fae7;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    padding: 0px;
}
.tooltipster-default .tooltipster-content .tooltipster-lesson-details-header {
    font-size: 11px;
    background-color: #2c2c2c;
    color: #fff;
    text-align: center;
    padding: 4px 6px;
}
.tooltipster-default .tooltipster-content .tooltipster-lesson-details-main {
    font-size: 11px;
    line-height: 16px;
    padding: 6px;
}

.header_body {
    margin-left: 0 !important;
}
.layout_bg {
    display: none;
}
.control_home_white path {
    fill: #1658DA;
}

.hseapp-logo-img {
    height: 1.75em;
    vertical-align: middle;
}

/*inline icons*/
.timetable__item .with-icon_seminar:after,
.timetable__item .with-icon_lecture:after,
.timetable__item .with-icon_lab:after {
    margin-top: 0;
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    left: 0;
}

.timetable__item .with-icon_seminar:after,
.timetable__item .with-icon_lab:after {
    top: -3px;
}
.timetable__item .with-icon_lecture:after {
    top: -1px;
}

[id="timetable-selectors"] {
    font-size: 1.4rem;
}

[id="timetable-selectors"] .select2-selection--single,
[id="timetable-selectors"] select {
    height: 28px;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    color: #444;
    font: 1.4rem/1.3 "Helvetica Neue", Arial, sans-serif;
    width: 300px;
}

[id="timetable-selectors"] select {
    padding-left: 8px;
    padding-right: 20px;
}


.select2-results__option[aria-selected] {
	cursor: pointer;
	font-size: 1.4rem;
	padding-left: 8px;
	padding-right: 20px;
}

.tt-selector-row {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.tt-selector-label {
    display: block;
    min-width: 100px;
    padding-right: .5em;
    box-sizing: border-box;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .tt-selector-row {
        flex-direction: column;
    }
    .tt-selector-label {
        min-width: none;
        width: 100%;
    }
    [id="timetable-selectors"] .select2-selection--single,
    [id="timetable-selectors"] select {
        width: 100%;
    }

    [id="timetable-selectors"] .select2 {
        width: 100% !important;
    }
}

.select2-results__option {
	margin: 0;
}


.tt-timetable .extra-left{
    margin-left: 0;
}


.tt-tabs {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
@media screen and (max-width: 767px) {
    .tt-tabs {
        width: 100%;
    }
}
.tt-tabs__item {
    display: inline;
    margin: 0 .8em;
    color: rgb(0,122,197);
    border-bottom: 1px dashed rgba(0,122,197, 0.3);
    line-height: 1.2;
    cursor: pointer;
}
.tt-tabs__item:first-child {
    margin-left: 0;
}

.tt-tabs__item_active {
    display: inline-block;
    color: #fff;
    background-color: rgb(0,122,197);
    background: #0042c4;
    padding: 0.2em 0.5em;
    border-radius: 6px;
}
