/**
 * Theme Name:        Seminariapenza
 * Theme URI:         https://seminariapenza.ru
 * Description:       Тема для официального сайта Пензенской духовной семинарии
 * Version:           1.0.0
 * Author:            Alexander Moshnov
 * Author URI:        https://vk.com/moshnov
 * Tags:              вуз, образование, сайт
 * Text Domain:       fabled-sunset
 * Domain Path:       /assets/lang
 * Tested up to:      6.8.3
 * Requires at least: 6.8.3
 * Requires PHP:      8.3
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

a {
    color: #222;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

#main-wrapper {
    width: 1920px;
    position: relative;
}

header {
    height: 816px;
    position: relative;
}

#heder-controls {
    position: absolute;
    width: 1383px;
    height: 213px;
    top: 48px;
    left: 270px;
}

#header-title {
    position: relative;
    float: left;
    margin-left: 31px;
    width: 261px;
    color: #000;
    text-decoration: none;
}

#header-sudtitle {
    font-size: 17px;
    color: #000;
    text-decoration: none;
    font-family: Verdana, sans-serif;
}

#header-title-text {
    line-height: 21px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 6px;
}

#header-slider {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -2;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #ffffff;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 2%,
        rgba(255, 255, 255, 0.5) 13%,
        rgba(255, 255, 255, 0.3) 18%,
        rgba(255, 255, 255, 0) 25%
    );
}

#header-slider img {
    position: absolute;
    min-height: 100%;
    min-width: 100%;
}

#header-logo {
    float: left;
}

#header-menu {
    position: absolute;
    left: 650px;
    width: 656px;
    height: 61px;
    padding: 0;
    margin: 0;
}

#header-menu li {
    float: left;
    text-align: left;
    min-width: 160px;
    margin: 8px 0px;
    list-style-type: none;
}

#header-menu li a {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

#header-menu li a:hover {
    text-decoration: underline;
}

#header-hamburger {
    position: absolute;
    top: 3px;
    right: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
/*
#header-hamburger:hover {
    background-image: url("./header_hamburger_hover.svg");
}
*/
#header-undermenu-labels {
    position: absolute;
    width: 100%;
    height: 50px;
    top: 96px;
    line-height: 50px;
    text-align: right;
}

#header-eduportal-label {
    margin-right: 120px;
    font-family: Verdana, sans-serif;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}

#header-eduportal-label:hover {
    text-decoration: underline;
}

#header-weakvision-label {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 60px;
    background-image: url("./assets/img/header_eye.svg");
    cursor: pointer;
}

#header-weakvision-label:hover {
    background-image: url("./assets/img/header_eye_hover.svg");
}

#header-lang-label {
    position: absolute;
    right: 0;
    width: 50px;
    height: 50px;
    background-image: url("./assets/img/header_lang.svg");
    cursor: pointer;
}

#header-lang-label:hover {
    background-image: url("./assets/img/header_lang_hover.svg");
}

#header-slider-controls {
    position: absolute;
    width: 1383px;
    height: 168px;
    top: 600px;
    left: 269px;
}

#header-slider-controls-title {
    width: 915px;
    height: 210px;
    text-wrap: balance;
    overflow: hidden;
    -webkit-text-stroke: 1px #222;
}

#header-slider-controls-title a {
    color: #fff;
    font-size: 40px;
    line-height: 45px;
    text-decoration: none;
    font-weight: bold;
}

#header-slider-controls-title a:hover {
    text-decoration: underline;
}

#header-slider-controls-bulets {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: row;
}

.header-slider-bullet {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #b0a090;
    margin: 0 7px;
    cursor: pointer;
}

.header-slider-bullet-active {
    background-color: #fff;
}

/*=================================*/

#actual-info {
    background-color: #fcf9f3;
    display: flex;
    justify-content: center;
    padding: 78px 0;
}

.content-wrapper {
    width: 1382px;
}

#custom-info {
    background-color: #b0a090;
    border-radius: 6px;
    border: 0;
    color: #fcfcfc;
    padding: 44px 40px;
}

#custom-info-content {
    font-size: 26px;
}

#custom-info-bullets {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.custom-info-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #e6e6e6;
    margin: 0 4px;
    cursor: pointer;
}

.custom-info-bullet-active {
    background-color: #fcfcfc;
}

#news {
    margin-top: 52px;
}

#news-title {
    display: flex;
    justify-content: space-between;
    font-family: Georgia, "Times New Roman", Times, serif;
}

#news-title-text {
    font-size: 40px;
    line-height: 44px;
}

#news-all-link {
    font-size: 26px;
    line-height: 44px;
    color: #000;
    text-decoration: none;
}

#news-all-link:hover {
    text-decoration: underline;
}

#news-all-link-0 {
    color: #000;
    text-decoration: none;
}

#news-all-link-0:hover {
    text-decoration: underline;
}

#news-block {
    margin-top: 52px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.news-block-item {
    width: 440px;
    height: 555px;
    border-bottom: 2px solid #b0a090;
    position: relative;
    overflow: hidden;
}

.news-block-item-img {
    width: 100%;
    min-height: 305px;
    max-height: 305px;
    height: 305px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/*
.news-block-item-img img {
}
*/

.news-block-item-title {
    color: #000;
    text-decoration: none;
    font-size: 26px;
    margin-top: 24px;
    display: inline-block;
}

.news-block-item-title:hover {
    text-decoration: underline;
}

.news-block-item-date {
    position: absolute;
    bottom: 22px;
    margin-top: 22px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    color: #222222;
}

/*=================================*/

#actual-thumbs {
    display: flex;
    justify-content: center;
    padding: 135px 0;
}

.at-thumb {
    width: 680px;
    height: 275px;
    background-position-y: 34px;
    background-position-x: 482px;
    background-repeat: no-repeat;
    background-size: 166px 166px;
}

#actual-thumbs-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

#at-timetable {
    background-color: #b0a090;
    background-image: url("./assets/img/at-tt-img.svg");
}

#at-sveden {
    background-color: #fcf9f3;
    background-image: url("./assets/img/at-sveden-img.svg");
    border-bottom: 2px solid #b0a090;
}

#at-tt-label {
    font-family: Georgia, "Times New Roman", Times, serif;
    width: 343px;
    margin: 40px 283px 40px 54px;
    display: inline-block;
    color: #fcfcfc;
    font-size: 40px;
}

#at-timetable a {
    margin-left: 54px;
    margin-bottom: 10px;
    display: inline-block;
    color: #fcfcfc;
    font-size: 26px;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", Times, serif;
}

#at-timetable a:hover {
    text-decoration: underline;
}

#at-sveden a {
    font-size: 40px;
    line-height: 44px;
    color: #222222;
    margin: 40px 54px;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", Times, serif;
    display: inline-block;
    width: 465px;
}

#at-sveden a:hover {
    text-decoration: underline;
}

#at-sveden img {
    margin: 40px 0;
}

/*=================================*/

#info-numbers {
    background-color: #fcf9f3;
    height: 932px;
    background-position-y: 240px;
    background-position-x: 0px;
    background-repeat: no-repeat;
    background-image: url("./assets/img/info-numbers-bg.png");
    position: relative;
}

#in-wrapper {
    display: flex;
    width: 1238px;
    justify-content: spase-between;
    position: absolute;
    top: 40px;
    left: 269px;
}

.in-item {
    width: 360px;
    height: 333px;
}

.in-item-number {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 100px;
    font-weight: bold;
}

.in-item-title {
    margin: 28px 0 16px 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 26px;
    font-weight: bold;
    width: 262px;
}

.in-item-text {
    font-size: 16px;
    line-height: 22px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 262px;
}

#in-link {
    position: absolute;
    top: 445px;
    left: 269px;
    width: 320px;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 26px;
    font-weight: bold;
    color: #222222;
}

#in-link:hover {
    text-decoration: underline;
}

/*=================================*/

#info-blocks-1 {
    padding: 140px 270px 0;
}

#info-blocks-1 .content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#info-block-2-1 {
    width: 915px;
}
#info-block-2-2 {
    width: 445px;
}

#info-blocks-2 .info-block {
    height: 570px;
}

.content-wrapper .info-block {
    height: 678px;
    width: 49%;
}

#info-blocks-2 {
    padding: 90px 270px 140px;
}

#info-blocks-2 .content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#info-block-1-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#info-block-1-1-1,
#info-block-1-1-2,
#info-block-2-1,
#info-block-2-2 {
    background-color: #fcf9f3;
}

#info-block-1-1-1 {
    height: 350px;
}
#info-block-1-1-2 {
    height: 305px;
}

#info-block-1-1-1,
#info-block-1-1-2 {
    border-bottom: 2px solid #b0a090;
    width: 680px;
}

#info-block-1-2 {
    background-color: #b0a090;
}

#info-block-1-1-1-inner {
    width: 570px;
    height: 265px;
    margin: 33px 45px 55px 70px;
    position: relative;
}

#info-block-1-1-1-inner-label-1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    position: absolute;
    top: 54px;
    left: 275px;
    font-size: 16px;
    line-height: 22px;
}

#info-block-1-1-1-inner-label-2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    position: absolute;
    top: 85px;
    left: 275px;
    font-size: 30px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

#info-block-1-1-1-inner-label-2:hover {
    text-decoration: underline;
}

#info-block-1-1-2-inner {
    position: relative;
    margin: 50px 100px 55px 51px;
    width: 530px;
    min-height: 200px;
}

#info-block-1-1-2-inner-label-1 {
    position: absolute;
    top: 7px;
    left: 294px;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 26px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

#info-block-1-1-2-inner-label-1:hover {
    text-decoration: underline;
}

#info-block-1-1-2-inner-label-2 {
    display: inline-block;
    position: absolute;
    top: 45px;
    left: 294px;
}

#info-block-1-1-2-inner-arrow {
    position: absolute;
    top: 170px;
    left: 294px;
}

#info-block-1-2 {
    color: #fcfcfc;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    position: relative;
}

#info-block-1-2-label-1,
#info-block-1-2-label-2,
#info-block-1-2-label-3,
#info-block-1-2-label-4 {
    font-weight: bold;
    position: absolute;
    left: 54px;
    color: #fcfcfc;
    width: 40%;
}

#info-block-1-2-label-1 {
    top: 150px;
}
#info-block-1-2-label-2 {
    top: 264px;
}
#info-block-1-2-label-3 {
    top: 378px;
}
#info-block-1-2-label-4 {
    top: 505px;
}

#info-block-1-2-label-1-sub,
#info-block-1-2-label-2-sub,
#info-block-1-2-label-3-sub,
#info-block-1-2-label-4-sub {
    position: absolute;
    left: 54px;
    width: 40%;
}

#info-block-1-2-label-1-sub {
    top: 181px;
}
#info-block-1-2-label-2-sub {
    top: 295px;
}
#info-block-1-2-label-3-sub {
    top: 428px;
}

#info-block-1-2-img-1 {
    position: absolute;
    top: 75px;
    right: 65px;
}

#info-block-1-2-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    position: absolute;
    top: 60px;
    left: 54px;
    font-size: 40px;
    line-height: 44px;
    font-weight: bold;
}

#info-block-1-2-img-2 {
    border: 0;
    position: absolute;
    top: 530px;
    left: 500px;
}

/*==================================*/

#info-block-2-1,
#info-block-2-2 {
    position: relative;
    color: #222222;
}

#info-block-2-1-img,
#info-block-2-2-img {
    position: absolute;
    top: 0;
    right: 0;
}

#info-block-2-1-img {
    right: 30px;
}

#info-block-2-1-title,
#info-block-2-2-title {
    position: absolute;
    top: 60px;
    left: 54px;
    font-size: 40px;
    line-height: 44px;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: bold;
}

#info-block-2-1-column-1,
#info-block-2-1-column-2 {
    position: absolute;
    top: 150px;
    left: 54px;
    width: 40%;
}

#info-block-2-1-column-2 {
    left: 500px;
}

.info-block-2-labels,
.info-block-2-2-labels {
    font-weight: bold;
    font-size: 16px;
    color: #222222;
    text-decoration: none;
    margin-top: 32px;
    position: relative;
    display: inline-block;
}

.info-block-2-labels-sub {
    margin-top: 10px;
    display: inline-block;
    font-size: 16px;
}

.info-block-2-2-labels {
    width: 275px;
    margin-left: 55px;
}

#info-block-2-2-label-1 {
    margin-top: 180px;
}

/*============================*/

#quote {
    height: 650px;
    width: 1920px;
    background-image: url("./assets/img/quote-bg.png");
}

#quote-text {
    color: #fcfcfc;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: bold;
    font-size: 35px;
    line-height: 40px;
    width: 575px;
    display: inline-block;
    margin-top: 70px;
    margin-left: 270px;
}

#quote-author {
    font-weight: lighter;
    font-size: 26px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/*==================================*/

#banners-wrapper {
    width: 1385px;
    margin: 140px 270px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#banners-wrapper a {
    max-width: 200px;
    margin: 20px;
}

/*==================================*/

footer {
    height: 425px;
    background-color: #b0a090;
    position: relative;
    color: #fcfcfc;
    overflow: hidden;
}

#footer-wrapper {
    position: relative;
    width: 1385px;
    padding: 80px 270px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-columns {
    min-width: 300px;
    width: 33%;
}

#footer-label-1-1 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

#footer-social {
    width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 22px;
}

#footer-label-1-2,
#footer-label-1-4 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    margin-bottom: 55px;
}

.footer-label {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    margin-bottom: 22px;
}

#footer-label-2-1,
#footer-label-3-1 {
    font-weight: bold;
}

/* ======================= */
#main-menu {
    display: none;
    z-index: 10;
    position: absolute;
    margin: 200px 0;
    padding: 0 270px 270px 270px;
    background-color: #fff;
    flex-direction: row;
}

.mm-block {
    background-color: #fcf9f3;
    border-bottom: 2px solid #b0a090;
    padding: 40px 41px 111px 54px;
    margin-bottom: 20px;
}

.mm-block .mm-block-content {
    margin-top: 45px;
    width: 355px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.mm-block .mm-block-content .menu {
    margin: 0;
    padding: 0;
}

.mm-block .mm-block-content li {
    width: 100%;
    list-style-type: none;
}

.mm-block .mm-block-content li a {
    color: #222;
    width: 100%;
    margin-top: 24px;
    display: inline-block;
    text-decoration: none;
}

.mm-block .mm-block-content li a:hover {
    text-decoration: underline;
}

.mm-block .mm-block-content a {
    color: #222;
    width: 100%;
    margin-top: 24px;
    display: inline-block;
    text-decoration: none;
}

.mm-block .mm-block-content a:hover {
    text-decoration: underline;
}

.mm-block-content-bold {
    font-weight: bold;
}

.mm-block-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 26px;
    font-weight: bold;
}

#main-menu-col-1 {
    width: 450px;
    margin-right: 20px;
}

#mm-col-1-block-1 {
    margin-bottom: 20px;
}

#mm-col-1-block-2 {
    color: #000;
}
#mm-col-1-block-2 div {
    margin-top: 1rem;
}
#mm-col-1-block-2 a {
    margin-right: 1rem;
}

#main-menu-col-2 {
    width: 915px;
    position: relative;
}

.mm-block-title {
    width: 100%;
}

#mm-col-2-block-6 .mm-block-content {
    width: inherit;
}

#mm-col-2-row-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    width: inherit;
}

#mm-col-2-row-2 .mm-block {
    width: 352px;
    position: relative;
}

#mm-col-2-row-2 .mm-block:nth-child(odd) {
    margin-right: 20px;
}

.mm-block-content-wrapper {
    display: flex;
    flex-direction: row;
}

/* ========= news ============ */

#news-page {
    margin: 0 270px;
}
#news-list-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
#news-list {
    width: 1030px;
    margin-right: 20px;
}

.news-item {
    border-bottom: 2px #b0a090 solid;
    padding-bottom: 40px;
    margin-bottom: 50px;
}

#news-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 66px;
    line-height: 70px;
    font-weight: bold;
    margin: 60px 0;
}

.news-item-date {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    margin-bottom: 24px;
}
.news-item-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 24px;
    text-decoration: none;
    display: block;
    color: #222222;
}

.news-item-title:hover {
    text-decoration: underline;
}

.news-item-annot,
.news-item-content {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 24px;
}

.news-item-content {
    margin-top: 2rem;
}

.news-item-img img {
    width: 100%;
}

#news-cat {
    margin-top: 46px;
}

.news-pagination {
    margin: 100px auto 140px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.pagination-page {
    min-width: 48px;
    height: 48px;
    background-color: #fcf9f3;
    text-decoration: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 48px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0 7px;
    color: #222222;
}

.pagination-page:visited {
    color: #222222;
}

.pagination-page-active {
    background-color: #b0a090;
    color: #fcfcfc;
}

.pagination-arrow-first,
.pagination-arrow-last {
    min-width: 48px;
    height: 48px;
    background-color: #fcf9f3;
    background-position: center;
    background-repeat: no-repeat;
}

.pagination-arrow-first {
    background-image: url(./assets/img/pagination-arrow-left.svg);
}

.pagination-arrow-last {
    background-image: url(./assets/img/pagination-arrow-right.svg);
}

.pagination-elipsis {
    min-width: 48px;
    height: 48px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(./assets/img/pagination-elipsis.svg);
}

#sub_pages_wrapper {
    margin: 0 270px;
    overflow: hidden;
}

#subpages-links {
    display: flex;
    flex-direction: column;
    margin: 0;
}

/*
================================================
*/

@media screen and (max-width: 1440px) {
    #sub_pages_wrapper {
        margin: 2rem;
    }

    #main-wrapper {
        width: 100%;
        overflow: hidden;
    }
    header {
        width: 100%;
        height: 75vw;
    }
    #header-menu,
    #header-undermenu-labels {
        display: none;
    }
    #heder-controls {
        margin: 0 42px;
        width: calc(100% - 84px);
        left: inherit;
    }

    #header-slider-controls {
        top: 53vw;
        left: inherit;
        width: 90%;
        margin: 0 5%;
        white-space: wrap;
    }

    .content-wrapper {
        width: 100%;
    }

    #custom-info {
        margin: 0 2rem;
    }

    #news {
        margin: 52px 2rem;
    }

    .news-block-item {
        width: 32%;
        height: 55vw;
    }

    .news-block-item-title {
        font-size: 2.3vw;
        line-height: 3vw;
        margin-top: 0;
    }

    .news-block-item-img {
        width: 100%;
        min-height: 25vw;
        max-height: 25vw;
    }

    #actual-thumbs {
        padding: 75px 2rem;
    }

    .at-thumb {
        width: 50%;
        background-image: none !important;
        width: 48%;
    }
    #at-tt-label {
        font-size: 4vw;
        margin: 2vw 3vw;
    }

    #info-numbers {
        background-position-x: center;
    }

    #in-wrapper {
        left: 2rem;
    }

    #info-blocks-1 .content-wrapper {
        flex-direction: column;
        justify-content: center;
    }

    #info-block-1-1 {
        height: inherit;
    }

    #info-block-1-2 {
        width: 100%;
        margin-top: 2rem;
    }

    #info-block-1-1,
    #info-block-1-1-1,
    #info-block-1-1-2 {
        width: 100%;
    }

    #info-blocks-1 {
        padding: 140px 20vw 0;
    }

    #info-block-1-1-1,
    #info-block-1-1-2 {
        height: 27vw;
        margin-bottom: 2rem;
    }
    #info-block-1-1-1-inner-label-2 {
        font-size: 2.8vw;
        left: 20vw;
        top: 7vw;
    }

    #info-block-1-1-1-inner-label-1 {
        font-size: 1.3vw;
        left: 20vw;
        top: 3vw;
    }

    #info-block-1-1-1-inner-img {
        width: 17vw;
    }

    #info-block-1-1-1-inner {
        width: inherit;
        margin: 2rem;
        height: inherit;
    }

    #info-block-1-1-2-inner {
        width: inherit;
        margin: 2rem;
        height: inherit;
    }

    #info-block-1-1-2-inner-img {
        width: 20vw;
    }

    #info-block-1-1-2-inner-label-1 {
        top: 1vw;
        left: 24vw;
        font-size: 2.8vw;
    }

    #info-block-1-1-2-inner-label-2 {
        top: 5vw;
        left: 24vw;
        font-size: 1.8vw;
        width: 25vw;
    }

    #info-block-1-1-2-inner-arrow {
        position: absolute;
        top: 15vw;
        left: 24vw;
    }

    #info-block-1-2-img-1,
    #info-block-1-2-img-2 {
        display: none !important;
    }

    #info-block-1-2-label-1,
    #info-block-1-2-label-1-sub,
    #info-block-1-2-label-2,
    #info-block-1-2-label-2-sub,
    #info-block-1-2-label-3,
    #info-block-1-2-label-3-sub {
        width: calc(100% - 108px);
    }

    #info-blocks-2 {
        padding: 0 2rem;
        margin: 2rem;
    }

    #info-blocks-2 .info-block {
        height: inherit;
        padding-bottom: 2rem;
    }

    #info-blocks-2 .content-wrapper {
        flex-direction: column;
    }

    #info-block-2-1 {
        height: inherit;
        width: 100%;
        margin-bottom: 2rem;
        padding-top: 10vw;
    }

    #info-block-2-1-column-2 {
        left: 54px;
        top: 25vw;
    }

    #info-block-2-1-img {
        display: none;
    }

    #info-block-2-1-column-1,
    #info-block-2-1-column-2 {
        width: calc(100% - 200px);
        position: relative;
        top: inherit;
        margin-top: 5rem;
    }

    #info-block-2-2 {
        width: 100%;
        margin-bottom: 2rem;
        height: inherit !important;
        padding-bottom: 2rem;
    }

    .info-block-2-2-labels {
        max-width: calc(100% - 110px);
    }

    #info-block-2-2-img {
        display: none;
    }

    #quote-text {
        margin-left: 10vw;
    }

    #banners-wrapper {
        width: 100%;
        margin: 0;
    }

    footer {
        height: inherit;
    }

    #footer-wrapper {
        padding: 60px 42px;
        width: calc(100% - 84px);
        flex-wrap: wrap;
    }

    #main-menu {
        padding: 0;
        flex-direction: column;
    }

    #main-menu-col-1,
    #main-menu-col-2 {
        width: 100%;
    }

    .mm-block {
        width: 100% !important;
    }

    #mm-col-2-block-6 .mm-block-content {
        width: 80vw;
    }

    .mm-block-content-wrapper {
        flex-wrap: wrap;
    }

    .mm-block {
        padding: 8vw;
    }

    #news-list-wrapper {
        flex-direction: column;
    }

    #news-page {
        margin: 0 8vw;
        overflow: hidden;
    }

    #news-list {
        width: 100%;
    }

    .news-item-img {
        text-align: center;
        position: relative;
    }

    #header-slider-controls-title {
        width: 100%;
    }

    #header-slider-controls-bulets {
        top: -30px;
    }

    #in-link {
        left: 2rem;
    }
}

@media screen and (max-width: 768px) {
    #header-slider-controls-title {
        max-height: 24vw;
        overflow: hidden;
    }
    #header-slider-controls-title a {
        font-size: 4vw;
        width: 100%;
        line-height: 5.5vw;
    }

    #header-logo {
        width: 12vw;
    }

    #header-title {
        margin-left: 10px;
        width: 55%;
    }

    #header-sudtitle,
    #header-title-text {
        font-size: 2.5vw;
    }

    .content-wrapper {
        width: 100%;
    }

    #custom-info {
        margin: 0 2rem;
    }

    #news {
        margin: 0 2rem;
    }

    #news-block {
        flex-direction: column;
    }

    .news-block-item {
        width: 100%;
        margin-bottom: 2rem;

        height: inherit;
    }
    .news-block-item-title {
        max-height: 36vw;
        overflow: hidden;
        font-size: 4vw;
        line-height: 5vw;
        margin-top: 1rem;
    }

    .news-block-item-img {
        width: 100%;
        min-height: inherit;
        max-height: inherit;
        height: 55vw;
    }

    .news-block-item-date {
        position: relative;
        bottom: inherit;
        margin-bottom: 1rem;
        font-size: 3vw;
    }

    .at-thumb {
        width: 48%;
        overflow: hidden;
    }

    #at-tt-label {
        font-size: 6vw;
        margin: inherit;
        width: inherit;
        padding: 1rem;
    }

    #at-sveden a {
        font-size: 4vw;
        margin: inherit;
        width: inherit;
        padding: 1rem;
    }

    #actual-thumbs-wrapper {
        padding: 0 1rem;
    }

    #info-numbers {
        background-position-x: center;
        height: 1304px;
        background-position-y: bottom;
    }

    #in-wrapper {
        top: 40px;
        left: 42px;
        flex-wrap: wrap;
        max-width: 100%;
        justify-content: left;
        min-width: 720px;
    }

    #in-link {
        bottom: 480px;
        left: 40px;
        top: inherit;
    }

    #info-blocks-1 {
        padding: 2rem;
    }

    #info-blocks-1 .content-wrapper {
        flex-direction: column;
        overflow: hidden;
    }

    .content-wrapper .info-block {
        height: 678px;
        width: 100%;
    }

    #info-block-1-1 {
        justify-content: normal;
    }

    #info-block-1-1-1,
    #info-block-1-1-2 {
        height: 45vw;
        min-height: 200px;
        overflow: hidden;
        width: inherit;
        margin-bottom: 2rem;
    }

    #info-block-1-1-1-inner,
    #info-block-1-1-2-inner {
        width: calc(100% - 4rem);
        height: 40vw;
        margin: 2rem;
        position: relative;
    }

    #info-block-1-1-1-inner img {
        width: 30vw;
        min-width: 120px;
    }

    #info-block-1-1-2-inner-img {
        width: 40vw;
        min-width: 120px;
    }

    #info-block-1-1-1-inner-label-1,
    #info-block-1-1-1-inner-label-2 {
        left: 35vw;
    }

    #info-block-1-1-1-inner-label-1 {
        top: 5vw;
        font-size: 2vw;
    }

    #info-block-1-1-1-inner-label-2 {
        top: 10vw;
        font-size: 4vw;
    }

    #info-block-1-1-2-inner-label-1 {
        top: 1vw;
        left: 42vw;
        font-size: 3.5vw;
        max-width: 33vw;
    }

    #info-block-1-1-2-inner-label-2 {
        top: 10vw;
        left: 42vw;
        font-size: 2vw;
        max-width: 33vw;
    }

    #info-block-1-1-2-inner-arrow {
        top: 25vw;
        left: 42vw;
    }

    #info-block-1-2-img-2 {
        left: 50vw;
    }

    #info-block-1-2-img-1 {
        display: none;
    }

    #info-block-1-2 {
        min-width: 345px;
    }

    #quote {
        height: 110vw;
        background-image: url("./assets/img/768_quote_bg.png");
        background-position: bottom center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-color: #b0a090;
        position: relative;
        width: calc(100% - 4rem);
        margin: 2rem;
    }

    #quote-text {
        margin: 2rem;
        width: calc(100% - 4rem);
        font-size: 3.5vw;
        line-height: 3.8vw;
    }

    #quote-author {
        font-size: 3.5vw;
        line-height: 3.8vw;
    }

    #info-block-1-2-title,
    #info-block-2-1-title,
    #info-block-2-2-title {
        font-size: 7vw;
    }

    #news-title {
        font-size: 10vw;
        margin: 60px 2rem;
        overflow: hidden;
        text-wrap: balance;
    }

    #sub_pages {
        padding: 8vw;
    }

    #subpages-links {
        flex-wrap: nowrap;
        max-height: inherit;
    }

    .pagination-arrow-first,
    .pagination-arrow-last,
    .pagination-page {
        min-width: 8vw;
        height: 8vw;
        font-size: 4vw;
        line-height: 8vw;
    }
    .news-pagination {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 390px) {
    header {
        margin-top: 0;
    }

    #header-gradient {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 10%,
            rgba(255, 255, 255, 0.8) 23%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    #header-slider-controls {
        top: 45vw;
    }

    #header-logo {
        width: 20vw;
    }

    #header-title-text {
        font-size: 3vw;
        line-height: 4vw;
    }

    #header-slider-controls-title {
        -webkit-text-stroke: 0;
    }

    #header-slider-controls-bulets {
        display: none;
    }

    .header-slider-bullet {
        width: 4vw;
        height: 4vw;
    }

    #news-title-text {
        font-size: 8vw;
        line-height: 10vw;
    }

    #actual-thumbs {
        padding: 75px 0.7rem;
    }

    #actual-thumbs-wrapper {
        flex-direction: column;
    }

    .at-thumb {
        margin-bottom: 2rem;
        width: 100%;
        height: 70vw;
    }

    #at-tt-label {
        font-size: 9vw;
        width: calc(100% - 10vw);
        padding: 5vw;
        font-weight: bold;
        text-wrap: balance;
    }

    #at-timetable a {
        font-size: 5vw;
        margin-left: inherit;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        padding: 0 5vw;
        font-weight: bold;
    }

    #at-sveden a {
        font-size: 8vw;
    }

    #info-blocks-2 {
        padding: 0;
    }

    #info-block-2-1-title {
        left: 34px;
    }

    #news-all-link {
        display: none;
    }

    #news-title {
        margin: 2rem;
    }

    #news-block {
        margin-top: 12px;
    }

    .news-block-item-title {
        font-size: 5vw;
    }

    #info-block-1-1-1 {
        height: 137vw;
    }
    #info-block-1-1-1-inner-label-1,
    #info-block-1-1-1-inner-label-2 {
        left: 0;
    }

    #info-block-1-1-1-inner-img {
        width: 70vw !important;
    }

    #info-block-1-1-1-inner-label-1 {
        top: 84vw;
        font-size: 3.5vw;
    }

    #info-block-1-1-1-inner-label-2 {
        top: 90vw;
        font-size: 7vw;
    }

    #info-block-1-1-2-inner-img {
        width: 67vw;
    }

    #info-block-1-1-2 {
        height: 137vw;
    }

    #info-block-1-1-2-inner-label-1 {
        top: 60vw;
        left: 0vw;
        font-size: 7vw;
    }

    #info-block-1-1-2-inner-label-2 {
        top: 80vw;
        left: 0vw;
        font-size: 4vw;
    }

    #info-block-1-1-2-inner-arrow {
        top: 111vw;
        left: 0vw;
    }

    #in-wrapper {
        min-width: inherit;
        height: 50vw;
    }

    #info-numbers {
        height: 1600px;
    }

    #info-block-1-2 {
        min-width: inherit;
        height: 240vw;
    }

    #info-block-1-2-title,
    #info-block-1-2-label-1,
    #info-block-1-2-label-1-sub,
    #info-block-1-2-label-2,
    #info-block-1-2-label-2-sub,
    #info-block-1-2-label-3,
    #info-block-1-2-label-3-sub,
    #info-block-1-2-label-4,
    #info-block-1-2-label-4-sub {
        left: 5vw;
        width: calc(100% - 10vw);
    }

    #info-block-1-2-title {
        top: 5vw;
    }

    #info-block-1-2-label-1 {
        top: 30vw;
    }

    #info-block-1-2-label-1-sub {
        top: 40vw;
    }

    #info-block-1-2-label-2 {
        top: 70vw;
    }

    #info-block-1-2-label-2-sub {
        top: 87vw;
    }

    #info-block-1-2-label-3 {
        top: 115vw;
    }

    #info-block-1-2-label-3-sub {
        top: 140vw;
    }

    #info-block-1-2-label-4 {
        top: 170vw;
    }

    .mm-block .mm-block-content a {
        max-width: 84vw;
    }
}
