/*
=====================================================
 Файл стилей сайта  разработка stillmaster 
-----------------------------------------------------
    https://stillmaster.ru/
    https://t.me/stillmasters
    https://kwork.ru/user/stillmaster?ref=14635
-----------------------------------------------------
 Copyright (c) 2025 stillmaster (Иван Марченко)
=====================================================
*/
@font-face {
	font-family: "latoregular";
	src:url("../font/lato-regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "latoblack";
	src:url("../font/lato-black.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "latobold";
	src:url("../font/lato-bold.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

/*Сброс*/
* {text-decoration-line: none; -webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box;margin: 0;padding: 0;}
*::-webkit-scrollbar { width: 4px; height: 4px;}
*::-webkit-scrollbar-thumb { background: #2173d9; border-radius: 3px;}
html, html a { -webkit-font-smoothing: antialiased; }
:after, :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html {min-height: 100%;background: url(../image/bg.jpg) center top #f5f4f4; background-size: 135px;}

body {font-family: "latoregular", "Arial", "sans-serif"; font-size: 16px; color: #374249; height: 100%;    background-color: #fff;    line-height: 1.2; font-weight: 400;width: 100%; max-width: 1600px; margin:0 auto;  }

h1, h2, h3, h4, h5, h6 { font-family: 'Lato'; font-weight: 700; margin: 0 0 20px; line-height: 1.2; color: #374249; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
p { font-family: 'Lato'; font-weight: 400; margin: 0 0 20px; line-height: 1.2; color: #374249; }
a { color: #000; cursor: pointer; }
p a:hover { color: #2173d9; text-decoration: underline; }
ul { list-style: none; }
.logo {width: 60px;
    height: 60px;
    padding: 0;}
.logo svg {    width: 100%;
    height: 100%;}
header {padding: 20px 0;}
.headertop {    padding: 0 0 16px; border-bottom: 1px solid #374249; margin: 0 0 10px; width: 100%;}
.headersearch {max-width: 380px;}
.headersearch .inptext {padding: 0 48px 0 18px; border: 1px solid #e1e1e1; height: 32px; border-radius: 20px; width: 100%; font-size: 16px;}
#quicksearch {position: relative;}
.headersearch .inptext:focus {border: 1px solid #2173d9;}
.headersearch .inptext:focus + .fa-search {color: #2173d9;}
.headersearch button {position: absolute; top: 0; right: 15px; color: #374249; font-size: 16px; height: 100%; width: 20px; border: none; background: none;cursor: pointer;}
.container {max-width: 1020px; margin: 0 auto;width: 100%;}
.flex {display:flex;}
.jc_beetwen {justify-content: space-between;}
.jc_flex_end {justify-content: flex-end;}
.ai_center {align-items: center;}
.header_top_menu {gap: 10px;}
.header_top_menu a {    text-decoration: underline;}
.header_top_menu .far { margin: 0 5px 0 0; color: #e07d02; }
a:hover { text-decoration: none;color: #e07d02; }
.header_logo {position: relative;gap: 15px;}
.header_logo .namesite {     font-family: "Roboto Slab", serif;   font-size: 26px; text-transform: uppercase; padding: 0 20px 0 0;  font-weight: 600;position: relative;}
.header_logo .namesite::after { position: absolute; content: ""; right: 0; top: 50%; margin: -22px 0 0; width: 1px; height: 44px; background: #dcdcdc;}
.header_logo_text {width: 185px;    font-family: "latoblack"; font-size: 17px;    }
.headerright {gap: 25px;}
.headerright div {color: #6e7479; font-size: 12px;    text-align: end;}
.header_middle {    padding: 0 0 15px; border-bottom: 1px solid #374249; margin: 0 0 15px;}
.header_bottom {overflow: hidden;width: 100%;}
.menu {font-size: 12px;}
.menu a {text-transform: uppercase; text-decoration: none; white-space: nowrap;}
.menu a {    padding-right: 10px;}
.dropdown-menu { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 10;right: 0; }
.dropdown-menu li { padding: 12px 16px; text-decoration: none; display: block; }
.dropdown-menu li:hover { background-color: #f1f1f1; }
.dis-none { display: none; }
header.flex {    flex-direction: column;flex-wrap: wrap;}
.h2style {    font-family: "Roboto Slab", serif; font-size: 36px;  text-align: center; text-transform: uppercase; }
.index_block {    padding: 40px 0;}
.index_block .h2style { margin: 0 0 30px; font-size: 36px; position: relative; }
.index_block .h2style:before, .index_block .h2style:after { content: ""; width: 120px; height: 1px; background: #374249; display: inline-block; vertical-align: middle; }
.index_block .h2style:before { margin: 0 20px 0 0; }
.index_block .h2style:after { margin: 0 0 0 20px; }
.grid  { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); grid-gap: 10px 10px; grid-auto-flow: row dense;  }

.short {height: 340px; position: relative;z-index: 3;overflow: hidden;}
.short a {height: 100%;display: block;}
.short:before { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; content: ""; opacity: 0.7; }
.short-img img {    width: 100%; height: 100%; object-fit: cover;}
.short-img {height: 100%;}
.short-text { color: #fff;   position: absolute; z-index: 3; top: 0; left: 0; width: 100%; height: 100%; display: flex;     justify-content: space-between; align-items: center; flex-direction: column;padding: 15px;}
.short-title {  text-align: center;}
.short-title_title { font-family: "latoblack";}
.short-text_bottom {    font-size: 18px;}
.iconcat span {display: none;    height: 50px;font-size: 18px;font-weight: 700;}
.short-text_top {display: flex;flex-direction: column;gap: 20px;align-items: center;}
.iconcat div {width: 50px; height: 50px; background-color: #e04c34; line-height: 0; margin: 0 auto;    display: flex ; align-items: center; justify-content: center;}
.short:hover .iconcat span {display: flex;align-items: center; justify-content: center;}
.short:hover .iconcat div {display: none;}
.iconcat {height: 50px;}
.iconcat img {    filter: invert(1);}
.catalog_item_inner:after { position: absolute; top: 50%; left: 50%; width: 340px; height: 340px; border-radius: 500px; background: #e04c34; content: ""; z-index: 2; margin: -170px 0 0 -170px; transform: scale(0); opacity: 0.5; -webkit-transition: 0.3s linear; -moz-transition: 0.3s linear; -o-transition: 0.3s linear; transition: 0.3s linear; }
.short:hover .catalog_item_inner:after { transform: scale(1); border-radius: 0; }

.other_recens {    padding: 40px 0 40px; background: #f5f4f4; margin: 0 0 100px;}
.other_recens .h2style {    font-size: 20px;}

.nav-load {text-align: center;margin-top: 15px;}
.nav-load {    display: flex;
    align-items: center;
    justify-content: center;}
.nav-load a {    line-height: 40px;
    padding: 0 20px;background-color: #374249;display: block;color: #e1e1e1;    text-transform: uppercase;border: 1px solid #374249;}
.nav1 {display: flex; margin-top: 15px; justify-content: center;    gap: 5px; }
.navigation {display: flex; gap: 5px;    flex-wrap: wrap;}
.navigation span, .navigation a {display: inline-block; padding: 0 10px; margin: 0 3px 10px 3px; line-height: 40px; min-width: 40px;     color: #e1e1e1; background-color: #e07d02; text-decoration: none;  border-radius: 4px;    text-align: center;}
.navigation span:not(.nav_ext), .navigation a:hover, .nav-load a:hover  {    color: #505050; background-color: #e1e1e1;}
.bottom-nav, #fullsearch {grid-row-end: span 1; grid-column-start: 1; grid-column-end: -1; }
nav:before, nav:after { display: table; content: " "; }
.nav-load span {display: none;}
footer {padding: 0 0 60px;}
.footer_top {    padding: 25px 0; border-top: 1px solid #374249; border-bottom: 1px solid #e7e7e7; margin: 0 0 25px;display: flex ; justify-content: space-between;}
.footermenu {gap: 10px;}
.footer_bottom_info {font-size: 12px; }
.footer_bottom a {text-decoration: underline;}
.form-small-subscribe { display: flex ; align-items: center; justify-content: flex-start; flex-direction: row-reverse; }
 .col { display: table-cell; vertical-align: middle; padding: 12px 0 11px; }
 .form-small-subscribe .holder { overflow: hidden; margin: 0 !important; padding: 0 !important; }
.form-small-subscribe .holder input { border-top-left-radius: 20px; border-bottom-left-radius: 20px; border-right: none; margin-right: -20px; }
 .form-small-subscribe #subscribeFormSubmit { border-top-right-radius: 20px; border-bottom-right-radius: 20px; }
#subscribeFormSubmit{width: 100px; background: #00c0ba; text-align: center; color: #fff; overflow: hidden; font-weight: 700; font-size: 12px; line-height: 20px; padding: 10px 0; position: relative; display: inline-block; vertical-align: middle; text-decoration: none !important; white-space: nowrap; border: none;}
 .form-small-subscribe .holder input { height: 40px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 160px; margin-right: 0; margin-left: 10px; background: #fff; border: 1px solid #ccc; color: #666; font-size: 12px; line-height: 16px; padding: 10px 10px; }
.rasskaztop_item_title {font-size: 12px; font-weight: 900;  margin-right: 10px;     color: black;   text-transform: uppercase;}
.rasskaztop_item {align-items: flex-end;}
.rasskaztop_item_rubric a { background: #f4f4f4; color: #999; font-size: 12px; text-decoration: none; line-height: 20px; padding: 0 5px; display: inline-block; }
.best {width: 25%;padding-top: 30px;}
.left {width: 74%;}
.rasskaztop  {justify-content: space-between;}
.fullstory {justify-content: space-between;gap: 10px;}
.rasskaztop_item_rating {    font-size: 18px; color: #e04c34;font-weight: 900;}
.best_block {padding: 20px 10px; background: #f5f4f4;    position: sticky; top: 90px;}
.best_title {    text-align: center; font-size: 18px; text-transform: uppercase; padding: 0 0 20px;font-weight: 900;position: relative;}
.best_title::after { bottom: 0; left: 0;  content: ""; background: #626262; height: 1px;    width: 100%; position: absolute;}
.h1info {justify-content: space-between;margin: 0 0 40px; padding: 0 0 15px; border-bottom: 3px solid #374249;}
.h1info .date {    color: #626262; font-style: italic;}
.story_info_ico {    color: #e07d02; margin: 0 5px 0 0;}
.story_info_title {     margin: 0 5px 0 0; font-style: italic;font-weight: 900;}
.story_info_value a {    font-style: italic;text-decoration: underline;}
.story_info_item {margin-bottom: 5px;}
.story_info {margin-top: 10px;}
.story {gap: 15px;border-bottom: 1px solid #374249;}
p { margin: 0 0 15px; font-size: 16px; line-height: 24px; }
.product_note {border-bottom: 1px solid #374249;    margin: 0 0 25px; padding: 0 0 25px;}
.product_note span {    font-style: italic;}
.rating_block {margin-bottom: 15px;}
.rating_block .title {    font-size: 20px;margin: 0 65px 0 0;font-weight: 900;}
.linker li {width: 140px; height: 40px; background-color: #eee; color: #ccc;    display: flex ; align-items: center; justify-content: center;cursor: pointer;}
.linker {gap: 10px;flex-wrap: wrap;justify-content: center;margin-bottom: 15px;}
.link .title, .titlerel {    font-size: 20px;margin: 0 65px 0 0;font-weight: 900;margin-bottom: 10px;}
.linker a {    width: 100%; height: 100%; display: flex ; justify-content: center; align-items: center; }
.linker a:hover {background-color: #374249; color: #fff;}
.best_short .img_icon  {    background-color: #ffffff; width: 50px; height: 50px; display: flex ; align-items: center; justify-content: center;flex-shrink: 0;}
.best_short {display: flex ; align-items: center; gap: 10px;position: relative; padding: 20px 0;}
.best_short:after { width: 100%; bottom: 0; left: 0; content: ""; background: #626262; height: 1px; position: absolute; }
.related {flex-wrap: wrap;}
.related-card {width: 168px; height: auto;    margin: 0 20px 20px 0;}
.relatedimg {    width: 168px; height: 245px; overflow: hidden; position: relative; margin: 0 0 10px; line-height: 0;}
.relatedimg img {    width: 100%; height: 100%; object-fit: cover;}
.related_item_date {font-size: 12px;margin: 0 0 5px;}
.related_item_author, .related_item_title {font-size: 18px;margin: 0 0 5px;}
.related_item_title {font-weight: 900;}
.blockcomment .title {font-weight: 900;}
.formcomm {background-color: #f4f4f4; padding: 20px;gap: 15px;}
.formcomm .form_input {    margin-bottom: 15px;background: #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; line-height: 18px; padding: 5px 25px 5px 9px; border: 1px solid #fff; -webkit-transition: all .3s linear; -moz-transition: all .3s linear; -o-transition: all .3s linear; -ms-transition: all .3s linear; transition: all .3s linear; color: #666; font-size: 14px;}
.form__row {margin-top: 15px;}
.form_button {cursor: pointer; background-color: #00c0ba;border: none; text-align: center; color: #fff;margin-top: 15px; overflow: hidden; font-weight: 700; font-size: 12px; line-height: 20px; padding: 10px 20px; position: relative; display: inline-block; vertical-align: middle; text-decoration: none !important; white-space: nowrap;}
.form_button:hover {background-color: #eb4b44;}
.comm { margin-bottom: 20px; margin-left: 65px; position: relative; padding: 12px 15px; background-color: #f4f4f4a3; border-radius: 4px; }
.comm.pos { background-color: rgba(59, 179, 59, 0.1); }
.comm.neg {background-color: rgba(235, 77, 75,0.1);}
.comm__title {font-size: 18px; margin-bottom: 20px;}
.d-flex { display: flex ; flex-wrap: wrap; flex-direction: row; }
.ai-center { align-items: center; }
.c-gap-10 { column-gap: 10px; }
.full-text { line-height: 1.6; font-size: 14px; word-wrap: break-word; }
.comm__text { margin: 8px 0; }
.full-text p { margin-bottom: 25px;}
.comm__img { width: 50px; height: 50px; border-radius: 50%; position: absolute; left: -65px; top: 0px; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.img-block > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: inherit; display: block; object-fit: cover; }
.c-gap-20 { column-gap: 20px; }
.flex-1 { flex: 1 1 0; max-width: 100%; min-width: 50px; }
.comm__author { font-weight: 500; font-size: 14px; }
.comm__group { height: 20px; display: flex ; align-items: center; border-radius: 10px; font-size: 10px; border: 1px solid rgba(255, 255, 255, 0.15);; padding: 0 10px; text-transform: uppercase; }
.ws-nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.comm__date { color: #ccc; font-size: 12px; }
.comm__rating a { color: green; font-size: 18px; }
.comm__rating span .ratingplus { color: green; }
.comm__rating span .ratingminus { color: red; }
.comm__rating a:last-child:not(:hover) { color: red; }
.c-gap-20 { column-gap: 20px; }
.comm__action { font-size: 12px; color: #ccc; }
.c-gap-5 { column-gap: 5px; }
.btn-square { aspect-ratio: 1 / 1; padding: 0; border: none;}
.btn-nobg { background: none; color: #ccc; box-shadow: none; padding: 0; }
.comm__ctrl-btn { font-size: 18px; height: 30px; }
.d-none { display: none; }
.pwidget { background-color: #4e5368; color: #fff; border-radius: 20px; overflow: hidden; z-index: 999; padding: 20px; padding-top: 24px; position: fixed; left: 20px; bottom: 20px; right: 20px; box-shadow: 0 0 60px rgba(0, 0, 0, 0.5); }
.pwidget .wctrl__content { display: block; margin-bottom: 20px; }
.comm__ctrl-menu li, .comm__ctrl-menu li a {color: #fff;}
.comm__ctrl-menu li + li { margin-top: 10px; }
.btn-fade { background-color: #3b4054;; color: #ccc;     border: none; height: 45px; cursor: pointer;}
.w-100 { width: 100%; min-width: 100% !important; grid-column: 1 / -1; }
.overlay { position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.8; background-color: #1d1924; cursor: pointer; display: none; }
.addform { margin-bottom: 20px; }
.form-group, .combo_field { margin-bottom: 20px; }
.c-captcha {display: flex;margin-bottom: 15px;}
.other_recens .nav1 {display:none;}
#floatpanel {
    position: fixed;
    left: 0;
    top: 0;
    padding: 8px 0;
    background: #fff;
    z-index: 99;
    width: 100%;
    box-shadow: 0 0 11px rgba(0, 0, 0, 0.35);
    display: none;
}
#floatpanel .logo {    display: block;}
.menublockfix {position: relative;}

.dropdown-menu-panel{position: absolute;
    top: 42px;
    left: 0;
    padding: 11px 16px;
    background: #fff;
    z-index: 10;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.2);
    min-width: 150px;display: none;}
.dropdown-menu-panel .menu {flex-direction: column;}
#floatpanel .flex {    align-items: center;gap:15px}
#floatpanel li {padding: 5px 0;}
.mbtn {font-size: 34px;
    cursor: pointer;}


.dropdown-menu-panel.show {
  display: block; 
}



/*Стрелка*/
#scroll-btn {background-color: #fff; position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%;  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); color: #fff; display: flex; justify-content: center; align-items: center; cursor: pointer; opacity: 0; transition: opacity 0.3s ease-in-out;    z-index: 999; }
#scroll-btn::before {content: ""; border: solid #e07d02; border-width: 0 3px 3px 0; display: inline-block; padding: 3px; transform: rotate(-135deg); -webkit-transform: rotate(-135deg); position: absolute; }
#progress-indicator { position: absolute; top: 0; left: 0; width: 100%; height: 0%;     border-radius: 50%; }
#progress-indicator { stroke-dasharray: 144.513; stroke-dashoffset: 144.513; transition: stroke-dashoffset 0.3s linear; }
@media screen and (min-width: 760px) {
    .pwidget { left: 50%; bottom: 50%; right: auto; translate: -50% 50%; width: 400px; }
}



@media (max-width: 1120px) {
 .container {padding-left: 20px; padding-right: 20px;}

}

@media (max-width: 1060px) {
    .related { justify-content: space-evenly; }
}
@media (max-width: 960px) {
    .header_middle {flex-direction: column;}
    .fullstory {flex-direction: column;}
    .left, .best {width: 100%;}
}


@media (max-width: 900px) {
    .header_logo, .headerright {    flex-direction: column;}
    .headerright a {width: 100%; text-align: center; }
    .headerright {gap: 10px;}
    .header_logo .namesite::after {display:none;}
}
@media (max-width: 720px) {
    .story {flex-direction: column;}
    .storyleft {display: flex; gap: 15px;}
    .fullimg {width: 140px;height: 198px;}
    .fullimg img {width: 100%;height: 100%; object-fit: cover;}
}


@media (max-width: 630px) {
.header_middle {order: 1;}
.headertop {order: 2;flex-direction: column;gap: 10px;}
.header_bottom {order: 3;}
.headersearch {max-width: 100%;width: 100%;}
.header_top_menu {width: 100%;    justify-content: space-between;}
.form__row .flex {flex-direction: column-reverse;}
.form__input {width: 100%!important;}

}
@media (max-width: 560px) {
    .short {height: 220px;}
    .grid {    grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));}
    .iconcat {display: none;}
    .short-title, .short-text_bottom {font-size: 14px;}
    .date {font-size: 12px;}
    .index_block .h2style:before, .index_block .h2style:after { display: none;}
}



@media (max-width: 520px) {
    .header_middle, .rating_block  {flex-direction: column;gap: 10px;}
    .headerright div,     .headerright a  {text-align: center;margin: 0;}
    .h1info {flex-wrap: wrap; gap: 15px;    align-items: center;}
    
}


@media (max-width: 480px) {
    .footer_top {flex-direction: column; align-items: center;gap: 10px;}
    .footermenu {    flex-direction: column; align-items: center;}
    .formcomm {flex-direction: column;}
    .c-captcha {flex-direction: column;}
}