/* Mobile language switcher menu */
.t229__centerside {
    padding: 10px 0;
}
.t229 ul {
    display: flex;
    justify-content: right;
    gap: 10px;
    margin: 0 15px;
}
.t229 .t229__list_item {
    padding: 6px 10px!important;
}

/* Correct header and menu */
.t228__leftside {
    width: 23%;
}
.t228__logo.t-title {
    white-space: normal;
    line-height: 1.25;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.t228__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 15px;
    margin: 0!important;
}
.t228__list li {
    padding: 0!important;
}
.t228 .t-btn {
    padding: 0px 18px;
}
.t228__mobile_text {
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width: 980px) {
    .t228__list {
        flex-direction: column;
        gap: 0;
    }
    .t228__leftside {
        display: none;
    }
}

@media screen and (max-width: 1100px) {
    .t228__right_buttons_wrap {
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        row-gap: 10px;
    }
    .t228 .t-btn {
        height: 32px;
    }
}

/* Side images */

@media screen and (max-width: 960px) {
    .t194 .t-align_left {
        text-align: center;
    }
}

/* Feed padding to compensate for floating header */

.t-feed__post-popup__container {
    padding-top: 135px;
}

/* Feed posts */

.t-feed__post-popup__content {
    max-width: 1024px;
}

.t-feed__post-popup__cover-wrapper:not(.t-feed__post-popup__cover-wrapper_video) {
    padding-top: 75%;
    position: relative;
    display: flex;
    overflow: hidden;
}
.t-feed__post-popup__cover-wrapper:not(.t-feed__post-popup__cover-wrapper_video) img {
    position: absolute;
    top: 0;
    object-fit: cover;
    left: 0;
    width: 100%;
    height: 100%;
}

.t-feed__post-popup__text-wrapper h2.t-redactor__h2 {
    margin: 0.25em 0 0;
}
#allrecords .t-feed__post-popup__text-wrapper :is(ul, ol) {
    padding-left: 30px;
    margin: 0.25em 0 0;
}

/* Diplomas block - first images, then titles */
.uc-t857-image-first .t857__content {
    display: flex;
    flex-direction: column;
}
.uc-t857-image-first .t857__imgwrapper {
    order: -1;
}

/* Hide footer link that we're using to open popup */
.uc-schedule-popup-a {
    display: none;   
}

/* Fix horizontal scroll when screen width is ~962px */

@media screen and (min-width: 961px) and (max-width: 1200px) {
  .t-col {
    width: calc(100% - 10px);
  }
}
