
.let30 {
    max-width: 100%;
    width: auto;
}

.let30-block {
    grid-row: 1 / span 4;
    position: relative;
}

.index_grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 70px 1fr 1fr 30px;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.index_grid .news-item {
    width: 100%;
    /* height: 10px; */
    /* position: static; */
    padding: 0;
    min-height: auto;
}

.index_grid .news__all-news {
    position: static;
    text-align: center;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0;
}

.news-item__text {
    /* position: absolute; */
    /* bottom: 30px; */
    /* padding: 0 10px; */
}

.news-item__label {
    display: grid;
    grid-template-rows: 1fr 1fr;
    position: absolute;
    gap: 20px;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    box-sizing: border-box;
}

.index-page .news-item__read-more {
    position: static;
}

.index_grid .news-item__text {
    margin-top: 0;
}

.index_grid .news-item:before {
    display: none;
}

.abitur_row {
    display: grid;
    gap: 20px;
    width: 100%;
    margin: 20px auto;
    max-width: 1409px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.abitur_row a {
    display: block;
    width: 100%;
    transition: all .4s;
}

.abitur_row a:hover {
    opacity: 0.7;
}

.abitur_row img {
    width: 100%;
}


/* START alternative index markup*/
.abitur-feat {
    display: grid;
    gap: 0 20px;
    width: 100%;
    margin: 20px auto;
    max-width: 1409px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
}

.abitur-feat__item_hover {
    /*opacity: 0.7;*/
}

.abitur-feat__item {
    display: block;
    width: 100%;
    transition: all .4s;
    text-align: center;
    text-decoration: none !important;
    /* margin-bottom: auto; */
}

.abitur-feat__item_heading,
.abitur-feat__item_subheading {
    text-transform: uppercase;
}

.abitur-feat__item_heading {
    font-size: 1.5em;
    font-weight: bold;
    padding: 5px 2px;
    align-self: center;
}

.abitur-feat__item_subheading {
    font-size: 1em;
    padding-bottom: 5px;
}

.abitur-feat__item img {
    width: 100%;
    transition: transform .4s;
}

.abitur-feat__item_hover img {
    transform: scale(1.03);
    transform-origin: center;
}

.abitur-feat__item_view-more {
    background-color: #337ab7;
    color: white;
    border: 2px solid #337ab7;
    box-sizing: border-box;
    font-size: 1em;
    padding: 4px;
    margin: 0 1em 2em;
    width: auto !important;
}

.abitur-feat__item_view-more.abitur-feat__item_hover {
    background-color: #fff;
    color: #337ab7;

}

/* TABLET */
@media all and (max-width: 900px) {
    .abitur-feat {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, auto);
    }
}

/* MOBILE */
@media all and (max-width: 600px) {
    .abitur-feat {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(16, auto);
    }

    .abitur-feat__item_hover img {
        transform: none;
    }
}

/* END alternative index markup*/

.wrap {
}




.main-promoblock__readmore_adopt {
    position: relative !important;
    top: auto;
    left: auto;
}

.main-promoblock__buttons {
    margin-left: 18em;
    position: relative;
    top: 150px;
    margin-right: 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;

}

.main-promoblock__buttons-right {
    text-align: right;
}

@media all and (max-width: 1200px) {
    .main-promoblock__buttons {
        grid-template-columns: 1fr;
        margin: 30px;
        position: static;
    }
}

@media all and (max-width: 900px) {
    .let30-block {
        grid-row: 1 / span 1;
        grid-column: span 2;
    }

    .index_grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 110px 400px 60px;
    }

    .abitur_row {
        grid-template-columns: 1fr 1fr;
    }

    .index_grid .news__header, .index_grid .news__all-news {
        grid-column: span 2;
    }

    .index-page .news__header {
        grid-column: span 2;
        /* height: 120px; */
    }

    .index_grid .news__all-news {
        right: 0 !important;
        grid-column: span 2;
    }

    .header-rightbox {
        position: static;
        width: 100%;
        height: auto;
        text-align: center;
    }

    header.header.row {
        height: auto;
    }

    form.search {
        /* width: 100%; */
        margin: 0 auto;
        margin-bottom: 1em;
    }

    .header-rightbox > * {
        display: block !important;
        margin-bottom: 10px;
    }

    .header-rightbox > a {
        margin-bottom: 10px;
    }

    .header-button {
        margin: 0;
        box-sizing: border-box;
    }

}

@media all and (max-width: 600px) {

    /*mobile version*/
    .index_grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 110px 400px 60px;
    }

    .index-page .let30-block {
        grid-row: 1 / span 1;
        grid-column: 1 / span 1;
    }

    .index_grid .news__header, .index_grid .news__all-news {
        grid-column: span 1;
    }

    .abitur_row {
        grid-template-columns: 1fr;
    }

    .index-page .news-item {
        height: 400px;
        width: 100%;
    }

}

input.search__input:focus {
    border-bottom: 1px solid white;
}

.btn30let {
    background-color: #014bad;
    text-align: center;
    display: block;
    position: absolute;
    left: 15px;
    top: 410px;
    padding: 16px 33px;
    border-radius: 30px;
    font-size: 12px;
    color: white !important;
    outline: none;
    text-decoration: none !important;
    text-transform: uppercase;
    border: 0;
    transition: opacity .4s;
}

.btn30let:hover {
    opacity: 0.7;
}

.index_grid_new {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: auto 1fr 1fr;
    gap: 20px;
    margin: 2em 0;
}

.hanging-quote {
    position: absolute;
    left: -0.7em;
    color: inherit;
}

.anniversary-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-template-areas: "a a b" "a a c " "d e f";
}
.anniversary-mosaic__image-holder {
    overflow: hidden;
}
.anniversary-mosaic img {
    width: 100%;
    transition: all .4s;
}
.anniversary-mosaic img:hover {
}
.anniversary-mosaic__motto {
    grid-area: a;
    font-size: 1.5em;
    padding: 2em 1em;
    align-self: center;
}

.anniversary-mosaic__motto p {
    color: #20419b;
    position: relative;
    font-weight: bold;
    user-select: none;
    line-height: 1.5em;
}

.anniversary-mosaic__motto-author {
    font-size: 0.8em;
    margin-top: 1em;
}

.anniversary-mosaic__logo-block {
    text-align: center;
    color: #20419b;
    position: relative;
    font-weight: bold;
    align-self: center;
    user-select: none;
}

.anniversary-mosaic__logo-block img {
    max-width: 130px;
    width: 100%;
}

.anniversary-mosaic__logo-block div {
    color: #20419b;
    font-size: 2em;
}

.anniversary-mosaic__button {
    background-color: #014bad;
    text-align: center;
    display: inline-block;
    padding: 16px 33px;
    margin-top: 3em;
    box-sizing: border-box;
    border-radius: 30px;
    font-size: 12px;
    color: white !important;
    outline: none;
    text-decoration: none !important;
    text-transform: uppercase;
    border: 0;
    transition: opacity .4s;
    background-image: url("/new/fixed/taom_logo_white.png");
    background-repeat: no-repeat;
    background-position: left 10px center;
    padding-left: 60px;
    background-size: 40px;
    /* position: relative; */
    /* left: 100px; */
    font-size: 14px;
    font-weight: bo;
}

.anniversary-mosaic__button:hover {
    opacity: 0.7;
}

.index-news-item {
    position: relative;
    display: inline-block;
    background-size: cover;
    vertical-align: top;
    padding: 50%;
}

.index-news-item__label {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    padding: 2em;
}
.index-news-item__text {
    /* margin-top: 1em; */
    color: white;
}

.index-news-item__read-more {
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    text-decoration: none;
    bottom: 2em;
}

.index-news-item__read-more:after,
.index-view-all:after {
    display: inline-block;
    content: '';
    width: 20px;
    height: 11px;
    background-image: url(../img/sprite.svg);
    background-position: -120px -84px;
    position: relative;
    top: 0;
}
.index-news__header {
    position: relative;

}
.index-news__title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
}
.index-view-all {
    text-decoration: none;
    font-size: 13px;
    padding-right: 40px;
    color: black;
    font-weight: 600;
    display: block;
}
.anniversary-mosaic-container {
    grid-row: 1 / span3;
}
@media all and (max-width: 1200px) {
    .anniversary-mosaic {
        font-size: 12px;
    }
}
@media all and (max-width: 1050px) {
    .anniversary-mosaic {
        font-size: 11px;
    }
}
@media all and (max-width: 800px) {
    .anniversary-mosaic {
        font-size: 11px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, auto);
        grid-template-areas:
                "b c"
                "a a"
                "d e"
                "f f";
    }
    .anniversary-mosaic__logo-block,
    .anniversary-mosaic__image-holder:nth-child(5){
        display: none;
    }
    .anniversary-mosaic__motto {
        padding: 2em;
    }
    .anniversary-mosaic__button {

    }
    .slick-slide {
        max-width: 400px;
    }

    .partner-slider-box {
        height: 300px;
    }
}

@media all and (max-width: 1000px) {
    .index_grid_new {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    .anniversary-mosaic-container {
        grid-column:  span 2;
        grid-row: 1;
    }
    .index-news__header {
        grid-column:  span 2;
        text-align: center;

    }
    .index-view-all {
        display: inline-block;
        padding: 0;
        margin: 1em;
    }
}
@media all and (max-width: 600px) {
    .index_grid_new {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);

    }
    .anniversary-mosaic-container {
        grid-column:  span 1;
    }
    .index-news__header {
        grid-column:  span 1;

    }

}

.anniversary-mosaic__button-container {
    position: relative;
    text-align: right;
    padding-right: 2em;
}
.taom-logo-30-let {
    background-image: url(/new/fixed/banner/taom_30_let.png);
    display: block;
    width: 167px;
    height: 150px;
    position: absolute;
    margin-left: 55px;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 115px;
    background-size: contain;
}
@media all and (max-width: 1200px) {
    .taom-logo-30-let {
        position: static;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 20px;
    }
}
@media all and (max-width: 768px) {
    .main-promoblock a.taom-logo {
        margin-top: 0;
    }
}
