@font-face {
    font-family: 'Lato';
    src: local('Lato'),
    url(/Views/fonts/Lato-Regular.ttf);
}

@font-face {
    font-family: 'KaaosPro';
    src: local('KaaosPro'),
    url(/Views/fonts/KaaosPro.ttf);
}

*{
    padding: 0;
    margin: 0;
    border: none;
}

html {
    display: flex;
    margin: 30px;
    justify-content: center;
}

body {
    display: flex;
    justify-content: center;
    width: 100%;
}

p {
    font-size: 16px;
    color: #3f3f3f;
    font-family: Lato, Arial, sans-serif;
}

ul {
    margin: 5px 15px 10px 25px;
}

li {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.popup {
    background-color: rgba(0, 0, 0, 0.9);        
    display: flex;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    flex-direction: column;
    flex-shrink: 1;
}

.popup_close {
    display: flex;
    font-size: 28px;
    align-self: end;
    margin-top: 20px;
    margin-right: 20px;
    flex-shrink: 1;
    padding: 0px 7px 1px 7px;
    color: white;
}

.popup_close:hover {
    cursor: pointer;
    color: #ffdc99;
}

.inner-page-h1 {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 21px;
    font-weight: normal;
    align-self: flex-start;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 10px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.subtitle-h2 {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 16px;
    margin-top: 5px;
    margin-left: 10px;
    align-self: start;
}

.subtitle-h3 {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 16px;
    margin-top: 15px;
    margin-left: 10px;
    align-self: start;
}

.header {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.header_main-block {
    display: flex;
    flex-direction: row;
}

.logo {
    display: flex;
    justify-content: flex-start;
    width: 200px;
    margin-left: 20px;
}

.logo_href {
    display: flex;
    font-size: 36px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    font-family: KaaosPro, Arial, sans-serif;
    padding-left: 15px;
}

.main-menu {
    display: flex;
    height: 57px;
    width: 57px;
    flex-wrap: wrap;
}

.header_submenu-block {
    display: inline-block;
    position: absolute;
    margin-top: 70px;
    background-color: white;
    visibility: hidden;
    border: 1px solid #ffaa074a;
    border-radius: 5px;
    padding-top: 15px;
}
.main-menu_item {
    display: flex;
    height: 35px;
    align-items: center;
    margin-left: 25px;
    margin-right: 25px;
}

.main-menu_item:hover {
    cursor: pointer;
}

.main-menu_main-element {
    font-size: 30px;
    margin-top: 18px;
}

.main-menu_elements_element_link {
    color: #525252;
    text-decoration: none;
    font-size: 16px;
    font-family: Lato, Arial, sans-serif;
}

.main-menu_elements_element_link:hover {
    text-decoration: none;
    color: #ffaa07;
}

.header_submenu-block_check-lists-block {
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    margin-top: 20px;
    padding: 15px 15px 25px 15px;
    border-radius: 5px;
}

.header_submenu-block_check-lists-block_subtitle {
    font-size: 16px;
    font-family: Lato, Arial, sans-serif;
    margin: 0px 0px 15px 25px;
    /*font-weight: bold;*/
    color: #bdbdbd;
}

.body {
    display: flex;
    height: 100%;
    justify-content: center;
}

.body_main {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    flex-grow: 1;
    max-width: 1280px;
}

.info-about-me {
    display: flex;
    min-height: 200px;
    margin-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.posts-preview-block_stories_img {
    display: flex;
    height: 100px;
    align-self: center;
    justify-self: center;
    border: 1px solid #000;
    border-radius: 100px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.posts-preview-block_stories_img-new {
    display: flex;
    width: 100px;
    height: 100px;
    align-self: center;
    justify-self: center;
    border: 5px solid #ffaa0763;
    border-radius: 100px;
    margin-top: 50px;
    margin-bottom: 50px;
    cursor: pointer;
}

.posts-preview-block_stories_img-new:hover {
    border: 5px solid #ffaa0714;
}

.info-about-me_message {
    display: flex;
    border-radius: 5px;
    max-width: 400px;
    padding: 5px 40px 0px 40px;
    flex-direction: column;
}

.info-about-me_message_text {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    justify-content: right;
    align-self: center;
    margin-top: 21px;
}

.info-about-me__text-link {
    display: flex;
    flex-direction: column;
    flex-basis: 0;
    flex-grow: 1;
    width: 100%;
    margin-bottom: 40px;

}

.checklists-block {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 60px;
}

.checklists-block_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 5px;
    justify-content: center;
}

.checklists-block_check-list {
    display: flex;
    flex-direction: column;
    max-width: 620px;
    background-color: #f6f6f6;
    border-radius: 10px;
    margin: 10px;    
}

.checklists-block_check-list_url {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: black;
    padding: 25px 25px 40px 25px;
}

.checklists-block_check-list_url:hover {
    cursor: pointer;
    color: #ffaa07;
}

.checklists-block_check-list_p {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    margin-left: 10px;
    line-height: 21px;
}

/*---Блок вопросов на главной---*/

.questions-block {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 50px;
    margin-top: 70px;
    flex-wrap: wrap;
    justify-content: space-around;
    border-bottom: 2px solid #f1f1f1;
    border-top: 2px solid #f1f1f1;    
}

.questions-block_title-block {
    display: flex;
}

.questions-block_title-block_title {
    font-family: Lato, Arial, sans-serif;
    font-size: 24px;
    margin: 35px 0px 50px 0px;
    color: #b3b3b3;
    font-weight: 100;
}

.questions-block_list-block {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

.questions-block_list-block_element {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-top: 1px solid #f1f1f1;
    max-width: 800px;
}

.questions-block_list-block_element_question {
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.questions-block_list-block_element_answer {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 24px;
}

/*---*/

.last-posts-preview-block {
    display: flex;
    flex-direction: column;
}

.last-posts-preview-block_pre-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.last-posts-preview-block_pre-block_link {
    display: flex;
    color: #ffaa07;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    align-self: center;
    margin-top: -13px;
    width: 90px;
}

.last-posts-preview-block_pre-block_link:hover {
    color: #ffe1a6;
}

.posts-preview-block {
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.posts-preview-block_stories {
    display: flex;
    width: 320px;
    justify-content: center;
    flex-wrap: wrap;
}

.post-preview-blocks {
    display: flex;
    flex-direction: column;
}

.stories-block {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.stories-block_preview {
    display: flex;
    width: 180px;
    height: 280px;
    border-radius: 10px;
    margin-left: 10px;
    margin-bottom: 50px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.stories-block_preview:hover {
    cursor: pointer;
}

.stories-block_preview-text {
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    color: #bdbdbd;
    margin: 5px 0px 45px 10px;
}

.stories-block_popup {
    display: flex;
    flex-direction: row;
    align-self: center;
    height: 100%;
}

.stories-block_with-date {
    display: flex;    
    align-self: center;
    margin-bottom: 30px;
    width: 100%;
    height: 80vh;
}

.stories-date {
    position: absolute;
    color: #fff;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 10px;
    opacity: 0.4;
}

.stories-block_video-photo {
    display: flex;    
    align-self: center;
    width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.stories-block_video_source {
    display: flex;
    flex-grow: 1;
}

.stories-block_popup_next-stories {
    display: flex;
}

.stories-block_popup_next-stories_text {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 44px;
    color: #fff;
    margin-left: 15px;
    margin-right: 15px;
    align-self: center;
    flex-grow: 1;
}

.stories-block_popup_next-stories_text:hover {
    cursor: pointer;
    color: #b3b3b3;
}

/*Продублирован для main для корректного вызова js на главной*/
.stories-block_popup_next-stories_text_main {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 44px;
    color: #fff;
    margin-left: 15px;
    margin-right: 15px;
    align-self: center;
    flex-grow: 1;
}
/*Продублирован для main для корректного вызова js на главной*/
.stories-block_popup_next-stories_text_main:hover {
    cursor: pointer;
    color: #ffe1a6;
}

.stories-block_with-date {
    display: flex;
}

.post-preview-block {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
    width: 300px;
    margin-top: 20px;
    filter: grayscale(1);
}

.post-preview-block:hover {
    cursor: pointer;
    filter: grayscale(0);
}

.post-preview-block_img {
    background-color:#bdbdbd;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    border: none;
}

.post-preview-block_post-data {
    display: flex;
    flex-direction: column;
    background-color: white;
    margin-top: -50px;
    width: 250px;
    padding-right: 10px;
}

.post-preview-block_date_section {
    display: flex;
    flex-direction: row;
}

.post-preview-block_date {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #b3b3b3;
    margin-top: 16px;
    margin-bottom: 16px;
}

.post-preview-block_section {
    color: #000;
    font-family: Lato, Arial, sans-serif;
    text-decoration: none;
    align-self: center;
    margin-left: 15px;
    background-color: rgb(247, 244, 237);
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.post-preview-block_title {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    line-height: 25px;
    color: #000;
    text-decoration: none;
    margin-top: 10px;
    height: 50px;
}

.post-preview-block_preview-text {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 25px;
    color: #000;
    text-decoration: none;
}

.posts-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.posts-list_back {
    display: flex;
    text-decoration: none;
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #808080;
    margin-left: 12px;
    align-self: flex-start;
    margin-top: 10px;
}

.pagination {
    display: flex;
    flex-direction: row;
    align-self: center;
    margin-left: 10px;
}

.pagination_button {
    display: flex;
    background-color: #fff;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    border:1px solid #000;
    border-radius: 10px;
    padding: 10px 60px 10px 60px;
}

.pagination_button:hover {
    border-color: #0076d6;
    cursor: pointer;
}

.post-data {
    display: flex;
    flex-direction: column;
    align-items:flex-start;
    max-width: 1280px;
}

.post-data_back {
    display: flex;
    text-decoration: none;
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #808080;
    margin-left: 12px;
    margin-top: 10px;
}

.post-data_post-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.post-data_post-block_content-block {
    display: flex;
    flex-direction: column;
    max-width: 1080px;
    margin-bottom: 30px;
}

.post-data_post-block_author-date-block {
    display: flex;
    flex-direction: column;
    width: 190px;
}

.post-data_post-block_author-date-block_author-block {
    display: flex;
    flex-direction: column;
}

.post-data_post-block_author-date-block_author-block_img {
    display: flex;
    height: 100px;
    width: 100px;
    align-self: center;
    justify-self: center;
    border: 1px solid #000;
    border-radius: 100px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.post-data_post-block_author-date-block_author-block_name {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    align-self: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.post-data_date_section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 16px;
}

.post-data_date {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #4d4d4d;
    margin-left: 12px;
    margin-right: 20px;
    margin-top: 8px;
}

.post-data_section {
    color: #000;
    font-family: Lato, Arial, sans-serif;
    text-decoration: none;
    background-color: rgb(247, 244, 237);
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    height: 21px;
}

.post-data_preview-img {
    display: flex;
    max-width: 100%;
    max-height: 50vh;
    margin-top: 15px;
    margin-bottom: 50px;
    align-self: center;
    border-radius: 10px;
}

.post-data_paragraph {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    color: #000;
    margin: 10px 12px 10px 12px;
}

.post-data_h2 {
    display: flex;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 30px;
    margin-left: 10px;
    align-self: start;
}

.post-video {
    display: flex;
    max-height: 50vh;
    max-width: 70vw;
    align-self: center;
    margin: 30px 30px 30px 30px;
}

.footer {
    display: flex;
    margin-top: 100px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer__copyright {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #7a7a7a;
    margin-left: 20px;
    margin-bottom: 30px;
}

.footer_menu-block {    
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-left: 50px;
    flex-wrap: wrap;
}

.footer_menu-block_link {
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    color: #7a7a7a;
    margin-right: 30px;
    margin-bottom: 15px;
}

.contacts-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 50px;
}

.contacts-block_line {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-left: 15px;
    margin-bottom: 20px;
}

.contacts-block_line_name {
    display: flex;
    margin-right: 15px;
}

.contacts-block_line_link {
    display: flex;
}

.cookie-block {   
    position: fixed;
    bottom: 0;
    max-width: 450px;
    min-height: 80px;
    border: 1px solid #ffaa07;
    border-radius: 10px;
    margin-bottom: 50px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.cookie-block_text {
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
}

.cookie-block_text_link {
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
    color: #ffaa07;
}

.cookie-block_botton {
    display: flex;
    align-self: center;
    padding: 10px 15px 10px 15px; 
    margin-top: 15px;
    border-radius: 10px;
    border: 1px solid #ffaa07;
    background-color: #fff;
}

.cookie-block_botton:hover {
    cursor: pointer;
    border: 1px solid #ffdc99;
}

/*---Страница чек лиcта---*/

.check-lists-block {
    display: flex;
    flex-direction: column;
}

.check-list-block {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ffaa07;
    flex-wrap: wrap;
    padding-top: 25px;
    padding-bottom: 25px;
}

.check-list-block_title-block {
    display: flex;
    width: 500px;
}

.check-list-block_list-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.check-list-block_list-block_one-block {
    display: flex;
    max-width: 750px;
}

.check-list-block_list-block_one-block_ul {
    margin: 0px 0px 0px 35px;
}

.check-list-block_list-block_one-block_li {
    line-height: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.check-list-block_list-block_one-block_li::marker {
    color: #ffaa07;
}