/*.partner-block {
    height: 140px;
    padding: 0 20px;
    width: 250px;
}*/
[name="schedule-teacher"] .schedule-table {
    width: 99.99%;
}
.content-cols > .content-col + .content-col {
    padding-right: 0;
}
.content-cols > .content-col:first-child {
    margin-right: 10px;
}
@media screen and (min-width: 785px) {
    .content-cols > .content-col + .content-col {
        width: 66.5%;
    }
}
@media screen and (min-width: 985px) {
    .teacher-blocks {
        margin-top: 54px;
    }
    .content-col.content-col-time {
        /*margin-top: 40px;*/
        width: 27.4%;
        position:fixed;
        top: 332px;
        padding-top: 4px;
        /*left: 50px;*/
    }
    .content-col > .filter-section .filter-blocks {
        /*margin-top: 40px;*/
        /*width: 27.4%;*/
        position:fixed;
        top: 332px;
        background: white;
        z-index: 40;
        margin: 0;
        padding: 4px 0 4px 0;
        z-index: 40;
    }
    .filter-block {
        padding: 0 8px 0 0;
    }
    .filter-block:last-child {
        padding: 0 0 0 0;
    }
}

@media screen and (min-width: 1366px) {
    .content-col.content-col-time {
        width: 375px;
    }
}

.schedule-table > table > tbody > tr > td {
    height: 31px;
    vertical-align: top;
}
.schedule-table td.sunday {
    border-right: 1px solid #c20e2c;
}
[name="schedule-teacher"][data-week="-1"] {
    cursor: not-allowed;
}
[name="schedule-teacher"][data-week="-1"]:hover {
    opacity: 0.5;
}
.schedule-table td.active:hover {
    background: lightgreen;
    cursor: pointer;
}
.schedule-table tbody tr:hover {
    background: #d4ffd4;
}
.schedule-section .text-name.f-26 {
    margin: 0 0 0;
}
.classroom-bubble {
    padding: 10px;
    min-width: 260px;
}
.classroom-bubble.active input {
    border: 1px solid #c20e2c;
    background: white;
    padding: 2px 7px 3px;
    cursor: text;
    font-family: Arial;
}
.classroom-bubble.active select {
    border-color: #c20e2c;
    background-image: url(/i/ddarrow.svg);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: 97% 6px;
}
.qtip-tipped {
    border:3px solid #c20e2c;
}
.qtip-tipped.expired {
    border-color: #959FA9;
}
.classroom-bubble > * {
    font-size: 15px;
    display: block;
    margin-bottom: 9px;
    width: 100%;
}
.classroom-bubble select {
    -webkit-appearance: none;
    appearance: none;
    padding: 3px 7px;
    width: 100%;
}
.classroom-bubble > *:last-child {
    margin-bottom: 0;
}
.ui-widget-header {
    border: 0;
    background: none;
    font-size: 10px;
}
.ui-corner-all {
    border-radius: 0;
}
.ui-button.ui-dialog-titlebar-close {
    border: 0;
    background: none;
}
.ui-button.ui-dialog-titlebar-close:hover {
    border: 0;
    background: none;
    font: inherit;
}
.ui-widget.ui-widget-content {
    max-width: 90%;
    /*width: 600px !important;*/
    min-width: 214px;
}

.popup-wr .table-plan thead td,
#dialog .table-plan thead td {
    padding: 0 30px 0;
    background: white;
    border-top: 0;
    border-bottom: 0;
}
@media screen and (max-width: 470px) {
    .ui-widget.ui-widget-content {
        max-width: 95%;
    }
    .ui-dialog .ui-dialog-content {
        padding: 0;
    }
    #dialog .table-plan td,
    #dialog .table-plan thead td,
    .popup-wr .table-plan td,
    .popup-wr .table-plan thead td {
        padding: 10px 0 10px 10px;
    }
    .popup-wr .table-plan tr td:last-child,
    .popup-wr .table-plan tr td:last-child {
        padding: 15px 0 14px 0;
    }
    #dialog .table-plan tr td .button.medium[href="/myclassrooms/train/"],
    .popup-wr .table-plan tr td .button.medium[href="/myclassrooms/train/"] {
        padding: 11px 10px;
    }
}

.ui-dialog .ui-dialog-titlebar {
    padding: 0 1em;
}
.ui-dialog-buttonpane.ui-widget-content {
    border: 0;
    text-align: center;
    padding: 0;
}
.ui-dialog .ui-dialog-title {
    font: 400 17px/24px 'Futura New', sans-serif
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none;
}
.ui-dialog .ui-dialog-buttonpane button, .ui-button {
    padding: 11px 30px;
    font: bold 16px/20px 'Futura New', sans-serif;
    max-width: 100%;
    background: #c20e2c;
    border-radius: 3px;
    border: 0;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ui-button:hover, .ui-button:focus {
    border: 0;
    background: #c20e2c;
    font: bold 16px/20px 'Futura New', sans-serif;
    color: #ffffff;
}
.ui-dialog .ui-dialog-content {
    font: 100 24px/32px 'Futura New', sans-serif;
}
[name="schedule-teacher"] .schedule-table > table > thead > tr > td.headcol,
[name="schedule-teacher"] .schedule-table > table > tbody > tr > td.headcol {
    position:absolute; left: 24px; width: 100px; border-right-width: 1px; border-bottom-width: 0;background: white;
}
[name="schedule-teacher"] .schedule-table > table > tbody > tr > td {
    width: auto;
}
[name="schedule-teacher"] .schedule-table > table > thead:last-child > tr > td:first-child {
    border-top: 1px solid #e0eeff;
}
.schedule-table > table > tbody > tr > td.headcol + td,
.schedule-table > table > thead > tr > td.headcol + td {
    border-left: 0;
}
.schedule-table > table > tbody > tr.thead > td {
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
}
.schedule-table > table > tbody > tr.tfoot > td {
    border-bottom: 1px solid transparent;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
}
[name="schedule-teacher"] .schedule-table {
    width: calc(100% - 100px);
    overflow-x:auto;
    margin-left: 100px;
    overflow-y:visible;
}
.text-name.f-11 {
    width: 35px;
    text-align: left;
}
@media screen and (max-width: 600px) {
    [name="schedule-teacher"] .schedule-table {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    [name="schedule-teacher"] .schedule-table > table > thead > tr > td.headcol,
    [name="schedule-teacher"] .schedule-table > table > tbody > tr > td.headcol {
        width: 50px;
    }
    [name="schedule-teacher"] .schedule-table > table > tbody > tr > td.headcol .text-name.f-13{
        line-height: 14px;
    }
}
@media screen and (max-width: 550px) {
    [name="schedule-teacher"] .schedule-table > table > tbody > tr > td.headcol .text-name.f-13{
        line-height: 25px;
    }
}
@media screen and (max-width: 785px){
    .content-col.content-col-time{
        display: none;
    }
}
.i-field-error {
    position: absolute;
    background-color: #c20e2c;
    color: white;
    padding: 1px 7px 4px 7px;
    z-index: 9;
    margin-top: -7px;
    display: block;
    font: normal 16px/17px 'Futura New', sans-serif;
    letter-spacing: 0.04em;
    border-radius: 3px;
    max-width: 400px;
}
@media screen and (max-width: 431px) {
    [name="schedule-user"] .schedule-table {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    [name="schedule-user"] .schedule-table > table > thead > tr > td.headcol,
    .schedule-table > table > tbody > tr > td.headcol {
        width: 50px;
        position:absolute; left: 16px; border-right-width: 1px; border-bottom-width: 0;
    }
    [name="schedule-user"] .schedule-table > table > tbody > tr > td.headcol .text-name.f-13{
        line-height: 25px;
    }
}
#enterable-bar {
    padding: 20px;
    border: 2px solid #f0f7ff;
    text-align: center;
    max-width: 585px;
}
.classroom-bubble a[goto-teacherId]:first-child {
    width: 60px;
    height: 60px;
    float: right;
}
.classroom-bubble a[goto-teacherId] img {
    border-radius: 30px;
    margin-top: -3px;
}
.schedule-table td.hatching[data-state="upcoming"], .schedule-table div.hatching[data-state="upcoming"] {
    background: url(../img/bg_hatching.png) 0 0 repeat;
}
.schedule-table td.hatching[data-state="live"],
.schedule-table td.hatching[data-state="inprogress"],
.schedule-table div.hatching[data-state="live"],
.schedule-table div.hatching[data-state="inprogress"] {
    background-color: seagreen;
    -webkit-animation: i-stripes 2s linear infinite;
    -o-animation: i-stripes 2s linear infinite;
    animation: i-stripes 2s linear infinite;
    background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: -o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    -o-background-size:  40px 40px;
    -moz-background-size:  40px 40px;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
}
td[data-state="completed"],
div[data-state="completed"] {
    background: darkgreen;
}
#enterable-bar a {
    color: #ce3e56;
    font-weight: bold;
}
.schedule-table tbody tr.thead:hover,
.schedule-table tbody tr.tfoot:hover {
    background: none;
}
.schedule-table td[data-state="expired"],
.schedule-table div[data-state="expired"] {
    background: #959FA9;
}
.me-pic {
    border-radius: 30px;
    display: block;
    margin: 15px auto 15px auto;
}

.classroom-bubble span.date {
    font: bold 15px/12px 'Futura New', sans-serif;
    color: #cc3c54;
    text-transform: uppercase;
    margin-bottom: 8px;
    width: auto;
    display: inline-block;
}
.classroom-bubble.expired span.date {
    color: #959FA9;
}
.qtip {
    max-width: unset;
}
.table-plan .subrow {
    font-size: 14px;line-height: 15px;
}
.table-plan .subrow td {
    padding: 5px 30px;
}
.table-plan .subrow td li {
    float: left;
    margin-right: 10px;
}
.table-plan .subrow td li .name{
    font-weight: bold;
}
.table-plan [data-package-feature="2"]:hover > a {
    display: none;
}
.table-plan [data-package-feature="2"]:hover > span {
    display: block !important;
    margin-bottom: 8px;
}
.table-plan .subrow td ul {
    float: right;
}
.table-plan .subrow td > div {
    float: left;
    margin-right: 10px;
    font-size: 16px;
}
@media screen and (max-width: 590px) {
    .table-plan .subrow td ul {
        float: left;
    }
}
@media screen and (max-width: 507px) {
    .table-plan .subrow td ul {
        float: left;
    }
    .table-plan.pricing tr td:last-child {
        /*padding: 15px 0 14px 0;*/
    }
}

.table-plan td[colspan="2"]:first-child {
    text-align: center;
}
.ui-dialog .ui-dialog-buttonpane {
    margin-top: 0;
}
.ui-dialog .ui-dialog-content {
    padding-bottom: 0;
    padding-top: 0;
}
[data-package-feature="2"] {
    padding: 17px 15px 15px 15px; font-size: 16px;
}
[data-package-sale-id], [data-used-qty], [data-classroom-query], .dotted-link {
    border-bottom: 1px dotted #c20e2c;
    cursor: pointer;
    color: #c20e2c;
}
div.date-time {
    height: 30px;

    position: absolute;
    width: 96px;
}
.button.medium.offline {
    padding-top: 4px;
    padding-bottom: 4px;
}
.button.medium.offline > span {
    line-height: 11px;
}
#enterable-bar .address {
    color: #ce3e56;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}
.youtube-link {
    float: right; height: 37px; margin-top: -1px;
}
.teacher-price {
    float: left;
    font-size: 14px; margin-left: 20px;
}
.text-icon.i-price:before {
    background: transparent url(../img/icons.png?1) -34px -426px no-repeat;
}
.block_radio_opyt label {
    margin-bottom: 10px;
}
.fit-blocks.engla .fit-block .image {
    background-repeat: no-repeat;
    background-position: top center;
    width: 71px;
    height: 76px;
    border: 0;
    border-radius: 0;
}
#legal, #citizen {
  position: absolute;
  z-index: -1;
  opacity: 0;
  margin: 10px 0 0 7px;
}
#legal + label,
#citizen + label {
  position: relative;
  padding: 0 0 0 35px;
  cursor: pointer;
  
}
#legal + label:before,
#citizen + label:before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 28px;
  height: 28px;
  background: #f0f7ff;
}
#legal + label:after,
#citizen + label:after {
  position: absolute;
  top: -3px;
  left: 4px;
  content: '\2713';
    display: inline-block;
    color: #0073ff;
    font-size: 30px;
    line-height: 30px;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
#legal:checked + label:after,
#citizen:checked + label:after {
  -webkit-transform: scale(1);
    transform: scale(1);
}
@media screen and (min-width: 785px) {
    main .content-col:first-child {
        width: 66.5%;
    }
    main .content-cols > .content-col + .content-col {
        width: 31.5%;
    }    
}
main .mosaic-block.bar2 a {
    text-decoration: none;
    color: inherit;
}
main .mosaic-block.bar2 h4 {
    font-weight: bold;
}
.dropdown-block {
    max-height: 300px !important;
    overflow-y: scroll;    
}
