@import '../fonts/Montserrat/stylesheet.css';

@font-face {
	font-family: "Rothek";
	src: url("../fonts/RothekBold.otf") format("opentype");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "montserrat-regular";
	src: url("../fonts/Montserrat-Regular.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "montserrat-bold";
	src: url("../fonts/Montserrat-Bold.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "montserrat-extrabold";
	src: url("../fonts/Montserrat-ExtraBold.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "montserrat-light";
	src: url("../fonts/Montserrat-Light.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "montserrat-thin";
	src: url("../fonts/Montserrat-Thin.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "montserrat-medium";
	src: url("../fonts/Montserrat-Medium.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "roboto-black";
	src: url("../fonts/Roboto-Black.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "roboto-light";
	src: url("../fonts/Roboto-Light.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: "robotoslab-bold";
	src: url("../fonts/RobotoSlab-Bold.woff") format("woff");
	font-style: normal;
	font-weight: normal;
}
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
} 


html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    position: relative;
}

.landscape-block {
    width: 100%;
    height: 400px;
    max-height: 32vh;
    margin-bottom: 80px;
}

.landscape-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row {
    max-width: 1200px;
    margin: 0 auto;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.header_block {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 39px 20px 37px 20px;
}

.header_block_title {
    font-family: 'Rothek';
    font-style: normal;
    font-weight: normal;
    font-size: 46px;
    line-height: 50px;
    color: #000000;
    margin: 0;
}

.header_block_subtitle {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 36px;
    color: #000000;
    margin-top: 8px;
    margin-bottom: 0;
}

.header_menu_box__list {
    display: grid;
}

.header_menu_box li {
    display: inline-block;
}

.dropdown_menu_button {
    display: none;
    z-index: 99;
    cursor: pointer;
}
.menu_btn_active {
    position: fixed;
}

.menu_btn_active:after {
    content: '\00D7';
    content: '\00D7';
    font-size: 40px;
    line-height: 1;
    display: block;
}

.menu_btn_active svg {
    display: none;
}

.dropdown_menu_button:hover {
    opacity: 0.6;
}
.header_menu_box li>a {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 34px;
    color: #000000;
}
.header_menu_box li>a:hover {
    opacity: 0.7;
    color: #A8C5DC;
}
.main_page_author_photo {
    float: right;
    margin-top: 34px;
    margin-left: 22px;
    margin-bottom: 20px;
    margin-right: 50px;
}

.main_page_content {
    margin-top: 50px;
}

.main_page_content_title {
    font-family: 'Rothek';
    font-size: 40px;
    line-height: 48px;
    color: #212529;
    margin-top: 53px;
    margin-bottom: 17px;
}
.main_page_content_text {
    color: #303030;
    font-size: 19px;
    line-height: 25px;
    font-family: 'Montserrat';
    font-weight: 400;
}
.main_page_content_text p {
    margin-bottom: 9px;
}
.main_page_content_signature {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: right;
    margin-top: 20px;
}
.main_page_content_signature p {
    line-height: 1.2;
    margin-bottom: 3px;
}
.my_angels_block_title {
    color: #333333;
    font-size: 40px;
    line-height: 52px;
    font-family: 'Rothek';
    text-align: center;
    margin-top: 48px;
}
.my_angels_block_saying {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #303030;
    margin-top: 13px;
}
.my_angels_block_saying p {
    margin-bottom: 0;
}
.my_angels_img_line {
    text-align: center;
    margin-top: 34px;
}
.my_angels_img_box {
    width: 300px;
    margin-right: 7px;
    margin-left: 7px;
    display: inline-block;
}

.my_angels_img_box img {
    margin-bottom: 10px;
}

.my_angels_img_box p {
    color: #303030;
    font-family: 'Rothek';
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 0;
}

.my_angels_img_box span {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}
.main_page_slider_block_title {
    margin-top: 100px;
    margin-bottom: 55px;
    color: #333333;
    font-size: 40px;
    line-height: 52px;
    font-family: 'Rothek';
    text-align: center;
}
.my_slider {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.my_slider_data {
    display: none;
}
.my_slider_img_desc div {
    display: none;
    position: absolute;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #212529;
}
.img_desc_active {
    display: block !important;
    margin-top: -128px;
    text-align: center;
    height: auto;
    width: 100%;

}
.my_slider_images {
    height: 485px;
    display: flex;
    align-items: center;
    position: relative;
}
.my_slider_images img {
    position: absolute;
    max-height: 485px;
    width: auto;
    display: none;
}
.img_active {
    display: block !important;
    z-index: 10;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.img_prev {
    display: block !important;
    z-index: 5;
    left: 50%;
    opacity: 0.5;
    height: 220px;
    cursor: pointer;
}
.img_next {
    display: block !important;
    z-index: 5;
    left: 50%;
    opacity: 0.5;
    height: 220px;
    cursor: pointer;
}
.my_slider_thumbs {
    height: 85px;
    width: auto;
    margin-top: 55px;
    position: relative;
}
.my_slider_thumbs img {
    height: 85px;
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    display: none;
}
.thumb_active {
    display: inline-block !important;
    left: 50%;
    z-index: 10;
    position: relative;
    border: 4px solid #A8C5DC;
    cursor: pointer;
    box-sizing: border-box;
    transition: ease-in-out 0.2s;
}
.visible_thumb {
    display: inline-block !important;
    position: absolute;
    cursor: pointer;
}
.my_slider_navigation {
    position: absolute;
    width: 100%;
    height: 100%;
}
.my_slider_prev_btn {
    display: none;
    width: 23px;
    height: 33px;
    background-image: url(../img/arrow_left.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    z-index: 99;
    top: 38%;
    cursor: pointer;
}
.my_slider_next_btn {
    display: none;
    width: 25px;
    height: 40px;
    background-image: url(../img/arrow_right.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 0;
    z-index: 99;
    top: 38%;
    cursor: pointer;
}
.my_slider_prev_btn:hover {
    opacity: 0.7;
}
.my_slider_next_btn:hover {
    opacity: 0.7;
}
.main_page_links_block {
    padding-bottom: 60px;
}
.main_page_links_block_title {
    font-family: 'Rothek';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 45px;
    color: #333333;
    margin-top: 65px;
}
.main_page_links_block_link img {
    margin-top: -2px;
}
.main_page_links_block_link a {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    color: #303030;
    cursor: pointer;
    text-decoration: none;
}
.main_page_links_block_link a:hover {
    color: #A8C5DC;
}
.main_page_links_block_link_1 {
    margin-top: 10px;
}
.main_page_links_block_link_2 {
    padding-left: 35px;
}
.main_page_links_block_link_3 {
    padding-left: 70px;
}
.main_page_links_block_link_4 {
    padding-left: 105px;
}
.footer_block {
    border-top: 1px solid #DBDBDB;
}

.footer_block__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 52px 20px;
}

.footer_menu_box ul {
    display: flex;
    gap: 41px;
    padding: 0;
}
.footer_menu_box li {
    display: inline-block;
}

.footer_menu_box li>a {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 30px;
    color: #000000;
    text-decoration: none;
}
.footer_menu_box li:last-of-type>a {
    margin-right: 0;
}
.footer_menu_box li>a:hover {
    opacity: 0.7;
    color: #A8C5DC;
}
.footer_block_title {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    color: #000000;
}

.footer_block_title a {
    color: #000;
    text-decoration: none;
}

.footer_block_subtitle {
    margin-top: 2px;
    font-size: 15px;
    color: white;
    font-family: 'montserrat-medium', sans-serif;
    text-align: center;
}
.second_page_content {
    padding-top: 60px;
    padding-bottom: 50px;
}
.second_page_content h1 {
    font-family: 'Rothek';
    font-size: 40px;
    line-height: 48px;
    color: #212529;
    margin-bottom: 30px;
    font-size: 40px;
}
.second_page_content img {
    padding: 3px;
    border: 1px solid #888;
}
.link_to_main_page {
    margin-top: 50px;
    text-align: center;
}
.link_to_main_page a {
    color: #303030;
    font-size: 18px;
    text-decoration: none;
    font-family: Montserrat, sans-serif;
    font-weight: 900;
}
.link_to_main_page a:hover {
    color: #A8C5DC;
}
.drive_page_img {
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
}
.family_page_img {
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
    width: 500px;
}
.sputniki_page_img {
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
}
.books_page_img {
    float: right;
    width: 220px;
    margin-left: 30px;
    margin-bottom: 30px;
}
.books_page_ul {
    list-style: none;
    padding-left: 20px;
}

.books_page_ul li {
    position: relative;
}

.books_page_ul li:before {
    content: "·";
    font-size: 18px;
    vertical-align: unset;
    line-height: 1;
    margin-right: 6px;
}

.books_page_ul a {
    color: black;
    text-decoration: none;
}
.books_page_ul a:hover {
    color: #A8C5DC;
}
.books_page_bold_p {
    font-weight: 800 !important;
}
.second_page_content pre {
    overflow: hidden;
    font-size: 16px;
}
.bread_page_img {
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
}
.plod_page_img_right {
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
}
.plod_page_img_left {
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
}
.view_video {
    text-decoration: none;
    text-transform: uppercase;
    color: black;
}
.view_video:hover {
    color: #A8C5DC;
}
.iron_henry_page_video_title {
    margin-top: 50px;
}
.iron_henry_page_video_content {
    margin-top: 30px;
    width: 95%;
    height: 35vw;
}

.list_page_content ul {
    list-style: none;
    padding-left: 25px;
}

.list_page_content li {
    position: relative;
}

.list_page_content li:before {
    content: "·";
    font-size: 18px;
    vertical-align: unset;
    line-height: 1;
    margin-right: 6px;
}

.list_page_content a {
    color: black;
    text-decoration: none;
}
.list_page_content a:hover {
    color: #A8C5DC;
}
.hymn_page_img {
    width: 100%;
}
.badge_page_content img {
    border: none;
}
.sizma_page_content ul {
    list-style: disc;
    padding-left: 25px;
}
.sizma_page_content a {
    color: black;
    text-decoration: none;
}
.sizma_page_content a:hover {
    color: #A8C5DC;
}
.church_page_content img {
    max-width: 500px;
}
.second_page_content p {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #212529;
}
.second_page_content pre {
    white-space: pre-wrap; 
    font-family: Montserrat, sans-serif;
    font-weight: 300;
}
.clear_both {
    clear: both;
}
.yandex_counter {
    display: block;
    position: absolute;
    margin-bottom: 0;
    bottom: 15px;
    z-index: 100;
    width: 100%;
}



@media (max-width: 1200px) {
    .footer_menu_box ul {
        gap: 20px;
    }
    
    .footer_menu_box li>a {
        font-size: 14px;
    }
}


@media (max-width: 1100px){
    .my_angels_img_box {
        width: 230px;
    }
    .my_angels_img_box img {
        width: 230px;
        height: 300px;
    }
    .my_angels_img_box p {
        font-size: 16px;
    }
    .footer_menu_box {
        padding-left: 0;
    }
    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 1000px){
    .header_block {
        padding: 27px 20px 26px 20px;
    }

    .header_block_title {
        font-size: 25px;
        line-height: 30px;
    }

    .family_page_img {
        width: 100%;
    }
    .dropdown_menu_button {
        display: block;
    }
    .header_menu_box {
        display: none;
    }
    .footer_menu_box {
        display: none;
    }
    .header_menu_box {
        position: fixed;
        margin: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        z-index: 90;
        background: white;
        border-left: 1px solid #ccc;
        box-shadow: 0px 0px 31px 4px rgba(1,1,1,0.02) inset;
    }
    .header_menu_box ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 90px;
    }
    .header_menu_box li {
        display: block;
    }
    .header_menu_box li a {
        font-family: 'Rothek';
        font-size: 20px;
        line-height: 50px;
        text-align: center;
        color: #212529;
    }
    .my_angels_img_box p {
        font-size: 16px;
    }

    .footer_block__content {
        padding: 20px 20px;
    }

    .footer_block_title {
        font-size: 15px;
        line-height: 22px;
    }

    .footer_menu_box {
        display: none;
    }

    .main_page_links_block {
        padding-bottom: 60px;
    }
    .main_page_links_block_title {
        margin-top: 32px;
    }
    .main_page_links_block_link_1 {
        margin-top: 8px;
    }
    .my_angels_img_line {
        margin-top: 10px;
    }
    .my_angels_block_title {
        margin-top: 45px;
    }
    .main_page_content_title {
        width: 100%;
        font-size: 22px;
        line-height: 38px;
        margin-top: 0;
    }

    .main_page_author_photo {
        margin: 0 auto;
    }
}
@media (max-width: 780px){
    .my_angels_img_box {
        margin-right: 3px;
        margin-left: 3px;
    }
}
@media (max-width: 767px){
    .second_page_content h1 {
        font-size: 28px;
        text-align: center;
    }
}
@media (max-width: 700px){
    .books_page_img {
        float: none;
        margin-left: 0;
    }
    .main_page_content>div>div {
        display: flex;
        flex-wrap: wrap;
    }
    .main_page_content_title {
        order: 0;
        text-align: center;
    }
    .main_page_author_photo {
        order: 1;
        margin-top: 15px;
    }
    .main_page_content_text {
        order: 2;
        margin-top: 20px;
    }
    .main_page_links_block_link {
        padding-left: 0;
    }
    .my_angels_img_line>div:last-of-type {
        margin-top: 20px;
    }
    .plod_page_img_right {
        float: none;
        margin-left: 0;
    }
    .plod_page_img_left {
        float: none;
        margin-right: 0;
    }
    .bread_page_img {
        float: none;
    }

    .main_page_content_signature {
        text-align: left;
    }

    .my_angels_block_saying {
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
        margin-top: 0;
    }
}
@media (max-width: 600px){
    .my_angels_img_line>div:nth-of-type(2){
        margin-top: 20px;
    }
    .my_slider_images img {
        max-width: 100%;
        max-height: 100%;
    }
    .sputniki_page_img {
        float: none;
    }
    
    .main_page_slider_block_title {
        margin-top: 40px;
        margin-bottom: 28px;
    }
}
@media (max-width: 500px){
    .second_page_content h1 {
        text-align: left;
    }
    .main_page_content_title {
        font-size: 24px;
    }
    .main_page_content_text {
        font-size: 18px;
    }
    .my_angels_block_title {
        font-size: 24px;
    }
    .main_page_slider_block_title {
        font-size: 24px;
    }
    .main_page_links_block_title {
        font-size: 24px;
    }
    .main_page_links_block_link a {
        font-size: 16px;
        line-height: 22px;
    }
    .main_page_links_block_link {
        margin-top: 10px;
    }
    .header_menu_box {
        width: 100%;
    }
    .main_page_author_photo {
        width: 280px;
        height: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 370px){
    .header_menu_box {
        width: 100%;
    }
    .header_menu_box li a {
        font-size: 18px;
    }
}