/* Общие стили страниц */
#allrecords {
    overflow-x: hidden;
    
    background-image: url('https://jerudaica2019.jerudaica.org/files/tilda/pictures/site-bg.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.t-body > .t-records {
    display: flex;
    flex-direction: column;
    
    min-height: 100vh;
}

@media screen and (max-width: 640px) {
    .uc-text-block .t-col {
        padding: 0 16px;
    }
    
    .uc-text-block .t-title {
        margin-bottom: 16px;
        
        font-size: 48px;
        line-height: 1;
    }
}
/* Стили шапки */
.t199__is__menu .t199__header {
    background-color: #e9e2d7 !important;
}

.uc-logoless-header .t199__header.t199__is__active {
    background-color: #e9e2d7;
}

.uc-logoless-header .t199__header.t199__is__active .t199__mmenu-toggler,
.t199__is__menu .uc-logoless-header .t199__mmenu-toggler {
    background-color: #e9e2d7;
}

.uc-logoless-header .t199__menu-item {
    text-shadow: 2px 0 0 #e9e2d7;
    
    color: #553b2f !important;
    
    transition: none !important;
}

.uc-logoless-header .t199__menu-item:hover {
    text-shadow: 2px 0 0 #553b2f;
    
    color: #e9e2d7 !important;
}

.uc-logoless-header .t199__header.t199__is__active .t199__menu-item:hover {
    text-shadow: 2px 0 0 #553b2f;
    
    color: #c0afa4 !important;
}

.uc-logoless-header .t199__menu-item:active {
    text-shadow: 2px 0 0 #553b2f;
    
    color: #ec6941 !important;
}
    
.uc-logoless-header .t199__menu-item.t-active {
    pointer-events: none;
}

@media screen and (min-width: 1025px) {
    .uc-logoless-header .t199__header {
        height: 80px;
        
        line-height: 80px;
        text-align: left;
        
        transition:
            height 0.4s ease,
            background-color 0.4s ease;
    }
    
    .uc-logoless-header .t199__header.t199__is__active {
        height: 40px;
        
        line-height: 40px;
    }
    
    .uc-logoless-header .t199__holder {
        max-width: none;
        padding: 40px 84px 0;
        
        transition: padding 0.4s ease;
    }
    
    .uc-logoless-header .t199__header.t199__is__active .t199__holder {
        padding: 0 84px;
    }
    
    .uc-logoless-header .t199__menu {
        display: block;
    }
    
    .uc-logoless-header .t199__menu-items {
        display: flex;
        justify-content: space-between;
    }
    
    .uc-logoless-header .t199__menu-item-wrap {
        display: block;
    }
    
    .uc-logoless-header .t199__menu-item {
        margin: 0;
        
        font-size: 20px;
        
        transition:
            font-size: 0.4s ease,
            color 0.4s ease;
    }
    
    .uc-logoless-header .t199__header.t199__is__active .t199__menu-item {
        font-size: 16px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
    .uc-logoless-header .t199__holder {
        padding: 40px 72px 0;
    }
    
    .uc-logoless-header .t199__header.t199__is__active .t199__holder {
        padding: 0 72px;
    }
}

@media screen and (max-width: 1024px) {
    .t199__mmenu {
        background: #e9e2d7;
    }
}
/* Стили первого экрана на главной странице */
.uc-page-header {
    position: relative;
    
    padding-top: 160px !important;
}

.uc-page-header::before {
    position: absolute;
    top: 40px;
    right: 40px;
    bottom: 0;
    left: 40px;
    
    content: '';
    
    background: url('https://jerudaica2019.jerudaica.org/files/tilda/pictures/bg-books.jpg') center center no-repeat;
    background-size: cover;
    
    border-radius: 30px;
}

.uc-page-header .t050 {
    position: relative;
}

.uc-page-header .t-container {
    width: 72%;
    max-width: none;
}

.uc-page-header .t-col {
    max-width: none;
    margin: 0;
}

@media screen and (max-width: 1540px) {
    .uc-page-header .t-container {
        width: calc(100% - 168px);
    }
}

@media screen and (max-width: 1200px) {
    .uc-page-header .t-title_xxl {
        font-size: 68px;
    }
}

@media screen and (max-width: 1023px) {
    .uc-page-header {
        padding-top: 80px !important;
    }
    
    .uc-page-header::before {
        top: 0;
        right: 0;
        left: 0;
        
        border-radius: 0 0 30px 30px;
    }
    
    .uc-page-header .t-container {
        width: calc(100% - 80px);
    }
    
    .uc-page-header .t-col {
        padding: 0;
    }
}

@media screen and (max-width: 899px) {
    .uc-page-header {
        padding-top: 60px !important;
        padding-bottom: 32px !important;
    }
}

@media screen and (max-width: 640px) {
    .uc-page-header .t-container {
        width: calc(100% - 32px);
    }
    
    .uc-page-header .t-title_xxl {
        font-size: 60px;
    }
}
/* Стили текста с картинкой */
.uc-text-with-media .t-col,
.uc-text-with-smaller .t-col,
.uc-social .t-col {
    display: block;
    float: none;
    
    flex-shrink: 0;
    max-width: none;
    margin: 0;
}

.uc-text-with-media .t-container,
.uc-text-with-smaller .t-container,
.uc-social .t-container {
    display: flex;
    justify-content: flex-end;
    gap: 32px;
}

.uc-text-with-media .t-container::before,
.uc-text-with-media .t-container::after,
.uc-text-with-smaller .t-container::before,
.uc-text-with-smaller .t-container::after,
.uc-social .t-container::before,
.uc-social .t-container::after {
    content: none;
}

.uc-text-with-media .t-col:first-child,
.uc-text-with-smaller .t-col:first-child {
    width: calc(49% - 32px);
}

.uc-text-with-media .t-col:last-child,
.uc-text-with-smaller .t-col:last-child {
    width: 51%;
}

.uc-text-with-media .t480__blockimg,
.uc-text-with-smaller .t480__blockimg {
    min-height: 100%;
}

.uc-text-with-media .t480__blockimg {
    background-size: contain;
}

.uc-text-with-smaller .t480__blockimg {
    background-size: 75%;
}

.uc-text-with-media .t480__content {
    vertical-align: top;
}

.uc-text-with-media .t480__descr:first-child {
    position: relative;
}

.uc-text-with-media .t480__descr:first-child::before,
.uc-text-with-media .t480__descr:first-child::after {
    position: absolute;
}

.uc-text-with-media .t480__descr:first-child::before {
    top: -40px;
    right: -40px;

    content: url( 'https://jerudaica2019.jerudaica.org/files/tilda/pictures/corner-top.svg' );
}

.uc-text-with-media .t480__descr:first-child::after {
    bottom: -60px;
    left: -60px;

    content: url( 'https://jerudaica2019.jerudaica.org/files/tilda/pictures/corner-bottom.svg' );
}

.uc-social .t-col {
    width: 51%;
}

.t-sociallinks__item:first-child a svg path,
.t-persons-social-links__item:first-child a svg path {
    fill: #3f302b;
}

@media screen and (max-width: 1024px) {
    .uc-text-with-media .t-container, 
    .uc-text-with-smaller .t-container, 
    .uc-social .t-container {
        width: calc(100% - 80px);
        max-width: none;
    }
    
    .uc-text-with-media .t-container,
    .uc-text-with-smaller .t-container {
        flex-direction: column;
        align-items: center;
    }
    
    .uc-text-with-media .t-col:first-child,
    .uc-text-with-media .t-col:last-child,
    .uc-text-with-smaller .t-col:first-child,
    .uc-text-with-smaller .t-col:last-child {
        width: 100%;
    }
    
    .uc-text-with-media .t-col:first-child,
    .uc-text-with-smaller .t-col:first-child {
        max-width: 400px;
    }
    
    .uc-social .t-col {
        width: 100%;
    }
}

@media screen and (max-width: 960px) {
    .uc-text-with-media .t-col,
    .uc-text-with-smaller .t-col,
    .uc-social .t-col {
        padding: 0;
    }
}

@media screen and (max-width: 640px) {
    .uc-text-with-media,
    .uc-text-with-smaller {
        padding-top: 40px !important;
    }
    
    .uc-text-with-media .t-container,
    .uc-text-with-smaller .t-container, 
    .uc-social .t-container {
        width: calc(100% - 32px);
    }
    
    .uc-text-with-media .t-title_xs,
    .uc-text-with-smaller .t-title_xs {
        font-size: 48px;
        line-height: 1;
    }
    
    .uc-text-with-media .t480__descr,
    .uc-text-with-smaller .t480__descr {
        margin-top: 0;
        
        font-size: 20px;
    }
    
    .uc-social {
        padding: 20px 0 60px !important;
    }
}
/* Стили формы */
.uc-form .t-col {
    display: block;
    float: none;
    
    flex-shrink: 0;
    max-width: none;
    margin: 0;
}

.uc-form .t-input {
    font-size: 24px;
    
    background-color: rgba(108, 70, 51, 0.3);
}

.uc-form .t-submit {
    font-size: 24px;
    letter-spacing: 1px;
}

@media screen and (max-width: 1024px) {
    .uc-form .t-container {
        width: calc(100% - 80px);
        max-width: none;
    }
}

@media screen and (max-width: 960px) {
    .uc-form {
        padding-top: 56px !important;
    }
    
    .uc-form .t-col {
        padding: 0;
    }
    
    .uc-form .t690 .t-form__submit {
        padding-bottom: 0;
    }
}

@media screen and (max-width: 640px) {
    .uc-form {
        padding-top: 40px !important;
    }
    
    .uc-form .t-container {
        width: calc(100% - 32px);
    }
    
    .uc-form .t-input-block {
        margin-bottom: 16px;
    }
}
/* Стили слайдера с отзывами */
.uc-feedback .t-col {
    display: block;
    float: none;
    
    flex-shrink: 0;
    max-width: none;
    margin: 0;
}

.uc-feedback .t-slds__item .t-container::before,
.uc-feedback .t-slds__item .t-container::after {
    content: none;
}

.uc-feedback .t-slds__item .t-container {
    display: flex;
    gap: 32px;
}

.uc-feedback .t-col:first-child {
    display: flex;
    justify-content: center;
    align-items: center;

    width: calc(46% - 32px);
    
    background: url('https://static.tildacdn.com/tild3261-3564-4730-b034-346163353738/photo-frame.svg') center center no-repeat;
    background-size: 75%;
    
    transform: rotate(-4deg);
}

.uc-feedback .t-col:last-child {
    width: 54%;
}

.uc-feedback .t-slds__img {
    width: 68.3%;
}

.uc-feedback .t801__title {
    padding-bottom: 20px;
}

@media screen and (max-width: 1024px) {
    .uc-feedback .t-container {
        flex-direction: column;
        align-items: center;
        
        width: calc(100% - 120px);
        max-width: none;
    }
    
    .uc-feedback .t-col:first-child {
        width: 40%;
        padding: 20px 0;
    }
    
    .uc-feedback .t-col:last-child {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .uc-feedback {
        padding-top: 80px !important;
    }
}

@media screen and (max-width: 960px) {
    .uc-feedback .t-container {
        width: calc(100% - 60px);
    }
    
    .uc-feedback .t-col {
        padding: 0;
    }
    
    .uc-feedback .t-text {
        font-size: 24px !important;
    }
}

@media screen and (max-width: 640px) {
    .uc-feedback .t-container {
        width: calc(100% - 24px);
    }
    
    .uc-feedback .t-col:first-child {
        width: 132% !important;
    }
    
    .uc-feedback .t801__title {
        padding-bottom: 16px;
        
        font-size: 40px;
        line-height: 1.1;
    }
}
/* Стили ответов на вопросы */
.uc-faq .t-col {
    display: block;
    float: none;
    
    flex-shrink: 0;
    max-width: none;
    margin: 0;
}

.uc-faq .t-container::before,
.uc-faq .t-container::after {
    content: none;
}

.uc-faq {
    background: url('https://jerudaica2019.jerudaica.org/files/tilda/pictures/bg-books.jpg') left top repeat-y;
    background-size: 100% auto;
}

.uc-faq .t-container {
    display: flex;
    gap: 72px;
}

.uc-faq .t-section__title {
    margin-bottom: 44px !important;
}

.uc-faq .t-col_6 {
    display: flex;
    flex-direction: column;
    gap: 28px;

    width: calc(50% - 36px);
}

.uc-faq .t1118__accordion {
    background: rgba(233, 226, 215, 0.85);
    
    border-radius: 16px;
}

.uc-faq .t1118__trigger-button {
    padding: 28px 60px 28px 28px;
}

.uc-faq .t1118__icon {
    right: 16px;
}

.uc-faq .t1118__textwrapper {
    padding: 0 60px 40px 28px;
}

@media screen and (max-width: 1540px) {
    .uc-faq .t-container {
        gap: 32px;
    }
    
    .uc-faq .t-col_6 {
        width: calc(50% - 16px);
    }
}

@media screen and (max-width: 1024px) {
    .uc-faq .t-container {
        width: calc(100% - 80px);
        max-width: none;
    }
    
    .uc-faq .t-container {
        flex-direction: column;
    }
    
    .uc-faq .t-col_6 {
        width: 100%;
    }
}


@media screen and (max-width: 960px) {
    .uc-faq .t-col {
        padding: 0;
    }
}
/* Стили карточек материалов (библиотека и т. д.) */
.uc-cards .t-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.uc-cards .t-container::before,
.uc-cards .t-container::after {
    content: none;
}

.uc-cards .t-col {
    width: calc((100% - 64px) / 3);
    max-width: none;
    margin: 0;
}

.uc-cards .t692 .t692__blockimg {
    padding-bottom: 120%;
}

.uc-cards .t692__textwrapper {
    display: flex;
    flex-direction: column-reverse;
}

.uc-cards .t-card__descr {
    margin: -16px -40px 0;
    
    line-height: 1.2;
    text-align: left;
}

.uc-cards .t692__separator {
    display: none;
}

.uc-button .t142__submit_size_xxl {
    height: auto;
    
    line-height: 1;
    text-decoration: underline !important;
}

@media screen and (max-width: 1024px) {
    .uc-cards .t-container {
        width: calc(100% - 80px);
        max-width: none;
    }
    
    .uc-cards .t-col {
        flex-shrink: 0;
    }
}

@media screen and (max-width: 960px) {
    .uc-cards .t-col {
        padding: 0;
    }
    
    .uc-cards .t692 .t692__textwrapper {
        padding: 8px 0 0;
    }
    
    .uc-cards .t692 .t-card__title {
        font-size: 24px !important;
    }
    
    .uc-cards .t-card__descr {
        margin: -4px 0 0;
    }
}

@media screen and (max-width: 640px) {
    .uc-cards .t-container {
        flex-direction: column;
        gap: 24px;
        
        width: calc(100% - 32px);
    }
    
    .uc-cards .t-col {
        display: flex;
        
        width: 100%;
    }
    
    .uc-cards .t692 .t692__blockimg {
        width: calc(100% - 180px);
        padding-bottom: calc(120% - 216px);
    }
    
    .uc-cards .t692 .t692__textwrapper {
        box-sizing: border-box;
        width: 180px;
        padding: 0 24px;
    }
    
    .uc-cards .t692 .t-card__title {
        margin: auto 0;
    }
    
    .uc-cards .t692 .t-card__descr {
        margin: -4px -16px 0;
    }
    
    .uc-button {
        padding-top: 32px !important;
    }
    
    .uc-button .t142__submit_size_xxl {
        font-size: 28px;
    }
}
/* Стили учебника */
.uc-book .t-container,
.uc-book .t-slds__wrapper {
    display: flex;
    flex-direction: column-reverse;
}

.uc-book .t-slds__arrow_wrapper {
    width: 60px;
}

.uc-book .t-slds__arrow_wrapper-left {
    right: 60px;
    left: auto;
}

.uc-book .t-slds__arrow {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    
    display: flex;
    
    padding: 0 8px;
    
    transform: none;
}

.uc-book .t-slds__arrow-left {
    justify-content: flex-end;
}

.uc-book .t-slds__arrow_body {
    position: relative;
}

.uc-book .t-slds__arrow_body::before,
.uc-book .t-slds__arrow_body::after {
    position: absolute;
    right: 0;
    bottom: -3px;
    
    width: 15px;
    
    transition: opacity 0.2s ease-in-out;
}

.uc-book .t-slds__arrow_body::before {
    content: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTUuOSAyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMzZjMwMmIiIHN0cm9rZS1saW5lam9pbj0iYnV0dCIgc3Ryb2tlLXdpZHRoPSIzIiBkPSJtMS41IDEuNSAxMiAxMi0xMiAxMiIvPjwvc3ZnPg==');
}

.uc-book .t-slds__arrow:hover .t-slds__arrow_body::before {
    opacity: 0;
}

.uc-book .t-slds__arrow_body::after {
    content: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTUuOSAyNyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNlYzY5NDEiIHN0cm9rZS1saW5lam9pbj0iYnV0dCIgc3Ryb2tlLXdpZHRoPSIzIiBkPSJtMS41IDEuNSAxMiAxMi0xMiAxMiIvPjwvc3ZnPg==');

    opacity: 0;
}

.uc-book .t-slds__arrow:hover .t-slds__arrow_body::after {
    opacity: 1;
}

.uc-book .t605__text {
    text-align: left;
}

.uc-book .t605__title {
    padding-bottom: 24px;
    
    color: #3f302b;
    
    font-size: 48px;
    font-weight: 700;
    text-align: left;
    
    border-bottom: 1px solid #c0afa4;
}
/* Стили блока с этапами */
.uc-steps .t-section__title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.uc-steps .t-section__title::before {
    width: 150px;
    height: 150px;
    
    content: '';
    
    background: url('https://havura.info/wp-content/themes/havura/assets/img/letters/alef.svg') center center no-repeat;
    background-size: contain;
}

.uc-steps ~ .uc-steps .t-section__title::before {
    background-image: url('https://havura.info/wp-content/themes/havura/assets/img/letters/bet.svg');
}

.uc-steps ~ .uc-steps ~ .uc-steps .t-section__title::before {
    background-image: url('https://havura.info/wp-content/themes/havura/assets/img/letters/gimel.svg');
}
/* Стили одиночной карточки */
.uc-single-card .t220__textwrapper {
    background: url('https://jerudaica2019.jerudaica.org/files/tilda/pictures/card-bg.png') center center no-repeat;
    background-size: 100% 100%;
    
    transform: rotate(2deg);
}

@media screen and (max-width: 700px) {
    .uc-single-card .t220__textwrapper {
        background: rgba(108, 70, 51, 0.3);
        
        transform: none;
    }
}
/* Стили карточки с текстом */
.uc-text-card .t672__textwrapper
{
    padding: 40px 80px;
    
    background-image: url('https://jerudaica2019.jerudaica.org/files/tilda/pictures/smile.svg');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 200px;
}
/* Стили личного кабинета */
#app::before {
    position: absolute;
    top: 40px;
    right: 40px;
    left: 40px;
    
    padding: 120px 11.901% 90px;
    
    font-size: 110px;
    font-weight: 700;
    line-height: 1.17;
    
    content: 'Моя олимпиада';
    
    color: #3f302b;
    background: url('https://jerudaica2019.jerudaica.org/files/tilda/pictures/bg-books.jpg') center center no-repeat;
    background-size: cover;
    
    border-radius: 30px;
}

#app .tlk-resources,
#app .tlk-lectures {
    padding-top: 500px;
}

@media screen and (max-width: 1540px) {
    #app::before {
        padding: 120px 44px 90px;
    }
}

@media screen and (max-width: 1023px) {
    #app::before {
        top: 0;
        right: 0;
        left: 0;
    
        padding: 80px 40px 90px;
        
        border-radius: 0 0 30px 30px;
    }
    
    #app .tlk-resources,
    #app .tlk-lectures {
        padding-top: 420px;
    }
}

@media screen and (max-width: 899px) {
    #app::before {
        padding: 60px 40px 32px;
        
        font-size: 68px;
    }
    
    #app .tlk-resources,
    #app .tlk-lectures {
        padding-top: 292px;
    }
}

@media screen and (max-width: 640px) {
    #app::before {
        padding: 60px 16px 32px;
        
        font-size: 60px;
    }
    
    #app .tlk-resources,
    #app .tlk-lectures {
        padding-top: 282px;
    }
}

@media screen and (max-width: 480px) {
    #app .tlk-resources,
    #app .tlk-lectures {
        padding-top: 252px;
    }
}

@media screen and (max-width: 451px) {
    #app .tlk-resources,
    #app .tlk-lectures {
        padding-top: 320px;
    }
}