.timetable-filter,
.timetable-filter > *,
.timetable-filter > *::before,
.timetable-filter > *::after {
    box-sizing: content-box;
}

.clearfix:before,
.clearfix:after,
.gallery:before,
.gallery:after {
    content: "";
    display: table;
}

.clearfix:after,
.gallery:after {
    clear: both;
}

.stylish .jq-selectbox {
    width: 100%;
}

.stylish .jq-selectbox__select {
    background: #fff;
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    padding: 5px;
    font-size: 15px;
    line-height: normal;
    font-family: Arial, sans-serif;
    width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 3px;
    margin-top: .1em;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.stylish .jq-selectbox__select-text {
    margin-right: 25px;
    overflow: hidden;
}

.stylish .focused .jq-selectbox__select {
    border-color: #931515;
    box-shadow: 0 0 5px rgba(147, 21, 21, 0.2);
}

.stylish .opened .jq-selectbox__select {
    border-color: #999;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.stylish .jq-selectbox__trigger {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 100%;
    background: #fff;
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    border-left: 1px solid #bbb;
}

.stylish .jq-selectbox__trigger-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 6px;
    margin: -2px 0 0 -5px;
    background: url('../images/select-arrow.png') no-repeat;
}

.stylish .jq-selectbox__dropdown {
    width: 100%;
    max-width: 100%;
    font-family: Arial, sans-serif;
    border: 1px solid #bbb;
    background: #fff;
    top: 100% !important;
    left: -1px !important;
    margin-top: 2px;
    border-radius: 3px;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
    z-index: 55;
}

.stylish .jq-selectbox__dropdown ul {
    display: block;
    position: relative;
    margin: 0;
}

.stylish .jq-selectbox__dropdown ul:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.stylish .jq-selectbox__dropdown li {
    font-style: normal;
    font-size: 13px;
    padding: 7px 5px;
    line-height: 1.5em;
    white-space: normal !important;
    border-top: 1px solid #e5e5e5;
    cursor: pointer;
    background: #fff;
    margin: 0;
}

.stylish .jq-selectbox__dropdown li:first-of-type,
.stylish .jq-selectbox__dropdown li:first-of-type {
    border-top: none;
    border-radius: 3px 3px 0 0;
}

.stylish .jq-selectbox__dropdown li:last-of-type,
.stylish .jq-selectbox__dropdown li.last-of-type {
    border-top: none;
    border-radius: 0 0 3px 3px;
}

.stylish .jq-selectbox__dropdown li.sel.selected,
.stylish .jq-selectbox__dropdown li:hover {
    background-color: #eee;
}

.stylish .jq-selectbox.date-select {
    width: auto;
}

.stylish .jq-selectbox.date-select .jq-selectbox__dropdown li {
    padding: 5px;
}

.stylish .jq-selectbox__search {
    padding: 5px;
    z-index: 55;
    background: #fff;
}

.stylish .jq-selectbox__search input {
    padding: 5px;
    background: #fff;
    width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.stylish .jq-selectbox__search input:focus {
    border-color: #931515;
    box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.05), 0 0 5px rgba(147, 21, 21, 0.2);
}

.stylish .jq-selectbox__not-found {
    padding: 0 5px 5px;
    font-size: 13px;
}

.stylish.timetable-filter {
    margin: 20px 0 10px;
}

.stylish.timetable-filter .jq-selectbox {
    width: auto;
}

.timetable-filter-one {
    display: inline-block;
    vertical-align: top;
    margin-right: 1em;
    margin-bottom: 1em;
}

.timetable-filter-one label {
    display: inline-block;
    position: relative;
    top: 0;
    margin-right: .1em;
}

.timetable-filter-one .jq-selectbox {
    min-width: 90px;
}

.shedule .day {
    float: left;
    width: calc(100%/7);
}

.shedule .day h3 {
    display: block;
    background: #f7eede;
    color: #5e5d5d;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    text-align: left;
    vertical-align: middle;
    padding: 15px 10px;
    text-align: center;
    margin-bottom: 0;
}

.shedule .day .item-fake {
    display: block;
    height: 108px;
    border: none;
    padding: 10px;
    position: relative;
    z-index: 1;
    border: 1px solid #f7eede;
    background: #fafafa;
    margin-top: -1px;
    margin-left: -1px;
}

.shedule .day .item-wrapper {
    position: relative;
    margin-top: -1px;
    margin-left: -1px;
}

.shedule .day .item-wrapper a {
    display: block;
    height: 108px;
    border: none;
    padding: 10px;
    position: relative;
    z-index: 1;
    border: 1px solid #f7eede;
    background: #fafafa;
}

.shedule .day .item-wrapper a a {
    color: #931515;
    border-bottom: 1px solid rgba(147, 21, 21, 0.3);
    text-decoration: none;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.shedule .day .item-wrapper a a:hover {
    color: #b4701e;
    border-color: rgba(180, 112, 30, 0.3);
    -webkit-transition: all 0s ease-in-out;
    transition: all 0s ease-in-out;
}

.shedule .day .item-wrapper a.noclick {
    cursor: default;
}

.shedule .day .item-wrapper a:hover {
    z-index: 2;
    color: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    border-color: #b4701e;
    background: #fff;
}

.shedule .day .item-wrapper p {
    margin: 0;
}

.shedule .day .item-wrapper .start {
    font: 12px normal 'Arial', sans-serif;
    color: #b4701e;
    text-transform: uppercase;
    letter-spacing: .05em;
    position: relative;
}

.shedule .day .item-wrapper .start span {
    color: #5e5d5d;
    font-size: .85em;
    position: absolute;
    bottom: 0;
    right: 0;
}

.shedule .day .item-wrapper .name {
    color: #5e5d5d;
    font-size: 15px;
    line-height: normal;
    margin-top: .3em;
    /* text-transform: lowercase; */
}

.shedule .day .item-wrapper .name span {
    display: block;
    font-size: .8em;
    line-height: normal;
    margin-top: .2em;
    text-transform: lowercase;
    letter-spacing: 0;
}

.shedule .day .item-wrapper .name:first-letter {
    text-transform: capitalize;
}

.shedule .day .item-wrapper .author {
    margin-top: .7em;
    color: #999;
    font-size: 0.8em;

    /* font: 0.8em normal 'Arial', sans-serif; */
    position: relative;
}

.shedule .day .item-wrapper .pay {
    display: inline-block;
    position: relative;
    z-index: 1;
    border: 1px solid #b4701e;
    color: #b4701e;
    font: 12px 'Arial', sans-serif;
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: .5em;
}

.shedule .day .item-wrapper .new {
    display: inline-block;
    position: relative;
    z-index: 1;
    border: 1px solid #b4701e;
    color: #fff;
    font: 12px 'Arial', sans-serif;
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: .5em;
    background-color: #b4701e;
}

.shedule .day .item-wrapper .preview {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    z-index: 3;
    width: 278px;
    background: #fff;
    padding: 15px;
    margin-left: 10px;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.5);
    line-height: 1.5em;
}

/*.shedule .day .green_hole .author,
.shedule .day .yellow_hole .author,
.shedule .day .skvosh_hole .author,
.shedule .day .bath_hole .author,
.shedule .day .spt_hole .author {

}
.shedule .day .green_hole .author:before,
.shedule .day .yellow_hole .author:before,
.shedule .day .skvosh_hole .author:before,
.shedule .day .bath_hole .author:before,
.shedule .day .spt_hole .author:before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	position: absolute;
	top: .35em;
	left: 0;
	opacity: .4;
}*/
.shedule .day .green_hole a {
    background: #a2e193;
}

.shedule .day .yellow_hole a {
    background: #f4ee60;
}

.shedule .day .skvosh_hole a {
    background: #f2b3c7;
}

/*.shedule .day .bath_hole .author:before, {
	background: #4697ca;
	background: transparent;
}*/
.shedule .day .bath_hole a {
    background: #ABE1F4;
}

.shedule .day .spt_hole a {
    background: #d7b1f4;
}

/*.shedule .day .item-wrapper:hover .preview {
	display: block;
}
.shedule .day .item-wrapper .preview:hover {
	display: none;
}*/
.shedule .day .item-wrapper.hidden {
    display: none;
}

.shedule .day .item-wrapper.hidden .item * {
    visibility: hidden;
}

.shedule .day .item-wrapper.hidden .preview {
    display: none;
}

.shedule .day.hover .item-wrapper>a {
    background: #f7eede;
}

.shedule .day.hover .item-wrapper>a:hover {
    background: #fff;
}

.shedule .day:nth-child(6) .item-wrapper .preview,
.shedule .day:nth-child(7) .item-wrapper .preview {
    left: auto;
    right: 100%;
    margin-right: 10px;
    margin-left: 0;
}

#timetable-fp .jq-selectbox__select-text {
    min-width: 171px;
}

@media screen and (max-width: 1245px) {
    .shedule .day {
        width: 100%;
        font-size: 0;
        margin-bottom: 30px;
    }

    .shedule .day h3 {
        background: transparent;
        text-align: left;
        padding: 0;
        font-style: normal;
        margin-bottom: .4em;
        font-size: 20px;
    }

    .shedule .day .item-wrapper {
        width: 25%;
        display: inline-block;
        vertical-align: top;
        font-size: 15px;
    }

    .shedule .day .item-wrapper a,
    .shedule .day .item-wrapper a.hover {
        background: #fafafa !important;
    }

    .shedule .day .item-wrapper a:hover {
        background: #fff !important;
    }

    .shedule .day .preview {
        display: none;
        top: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .shedule .day .start span {
        position: relative !important;
        left: 5px;
        right: auto;
    }

    .shedule .day .item-fake {
        display: none;
    }
}

@media screen and (max-width: 1040px) {
    .timetable-filter-one {
        display: block;
        margin: 0 0 1em;
        width: 100%;
    }

    .timetable-filter-one label {
        width: 150px;
    }
}

@media screen and (max-width: 950px) {

    .shedule .day .item-wrapper {
        width: 33%;
    }
}

@media screen and (max-width: 875px) {
    .shedule .day .preview {
        display: none !important;
    }
}

@media screen and (max-width: 650px) {
    .shedule .day .item-wrapper {
        width: 50%;
    }

    .timetable-filter-one label {
        display: block;
        margin-bottom: 3px;
    }
}


@media screen and (min-width: 875px) {
    .timetable-filter-one label {
        vertical-align: top;
        line-height: 31px;
    }
}
