/*
Theme Name: Template
Theme URI: https://wpshop.ru/themes/
Description: The best template eco-theme WP
Version: 1.0.1
Tags: premium, template, seo
*/

/*--------------------------------------------------------------

 *   НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ
 *
 *   ВНИМАНИЕ!!!!!!!
 *
 *   НЕ РЕДАКТИРУЙТЕ ЭТОТ ФАЙЛ
 *   ПРИ ОБНОВЛЕНИИ ТЕМЫ - ВЫ ПОТЕРЯЕТЕ ВСЕ ВАШИ ИЗМЕНЕНИЯ
 *   ИСПОЛЬЗУЙТЕ ДОЧЕРНЮЮ ТЕМУ ИЛИ НАСТРОЙКИ ТЕМЫ В АДМИНКЕ
 *

--------------------------------------------------------------*/
html {
    scroll-behavior: smooth;
}
*::selection {
    background: #007f8b;; /* Safari */
}
::-webkit-scrollbar {
    width: 10px;
    transition: all .2s ease;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #007f8b;;
}
html{
    scrollbar-color: #8b0000 #f1f1f1;
    scrollbar-width: thin;
}

*{
    box-sizing: border-box;
}
a, body, button, caption, div, footer, form, h1, h2, h3, header, html, img, input, label, li, menu, nav, ol, p, select, span, table, tbody, td, textarea, tfoot, th, thead, tr, ul {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
body {
    margin: 0;
    padding: 0;
    background: white;
}
img{
    max-width:100%;
    height: auto;
}
button,
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: 0;
    background: transparent;
}
ol, ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
h1{
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 900;
    color: gray;
}
h2{
    margin-top: 18px;
    margin-bottom: 12px;
}
h3,h4,h5{
    margin-top: 15px;
    margin-bottom: 10px;
}
.home h1{
    margin-top: 24px;
}
p{
    margin-top: 0;
}
main ul{
    margin-bottom: 20px;
}
main li:before {
    content: "";
    position: relative;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 14px;
    background: #262626;
    border-radius: 8px;
}
.container {
    position: relative;
    width: 100%;
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.container-fluid{
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
main .container:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: .3;
    z-index: -1;
}
.row,
.row-padding,
.column{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}
.row-stretch-height{
    align-items: stretch;
}
.column {
    flex-direction: column;
}

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .column,
    .row-padding{
        padding: 0 10px;
    }
}
.content ul,.content ol,.content ul li,.content ol li{
    list-style: none;
}
.content ul,.content ol{
    padding-left: 0;
    margin-bottom: 10px;
}
.content ul li:before{
    content: "";
    position: relative;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 5px;
    margin-right: 14px;
    margin-bottom: 3px;
    background: #007f8b;;
    border-radius: 8px;
}
.content ol {
    counter-reset: section;
}
.content ol li:before{
    counter-increment: section;
    content: counter(section)".";
    position: relative;
    display: inline-block;
    width: 18px;
    height: 6px;
    margin-right: 10px;
    text-align: right;
    color: #007f8b;
}
.content .wp-block-table{
    width: 100%;
    margin: 0;
}

.wp-block-table{
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-color: #4a5961;
    scrollbar-width: thin;
}
.wp-block-table::-webkit-scrollbar {
    height: 5px;
    width: 0;
    background-color: #90a4ae;
}
.wp-block-table::-webkit-scrollbar-thumb {
    background-color: #4a5961;
}
.wp-block-table::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #f5f5f5;
}
.content table{
    border-collapse: collapse
}
.content table td{
    padding: 10px 15px;
}
.content .attachment-post-thumbnail {
    margin: 0 auto;
    margin-top: 25px;
}
.rating-container{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.rating-stars {
    display: flex;
    position: relative;
    /*margin: 0 0 .5rem auto;*/
    width: 100px;
}
.checked-stars {
    position: absolute;
    overflow: hidden;
    transition: width .2s ease-in-out;
}
.checked-stars img,
.unchecked-stars img{
    display: block;
    width: 100px;
    max-width: 100px;
}
.rating-value{
    margin-left: 10px;
    font-size: 14px;
    line-height: 100%;
}
.action-referral-link{
    cursor: pointer;
}
.alignright {
    max-width: 100%;
    float: right;
    margin: 10px 0 10px 10px;
}
.alignleft {
    max-width: 100%;
    float: left;
    margin: 10px 10px 10px 0;
}
.aligncenter {
    max-width: 100%;
    margin: 10px auto;
    display: block;
    text-align: center;
}
/*body.fixed-header {*/
/*    padding-top: 67px;*/
/*}*/
/*body.admin-bar.fixed-header {*/
/*    padding-top: 125px;*/
/*}*/
.fixed-header header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}
.admin-bar.fixed-header header {
    top: 45px;
}
.site-header{
    align-items: center;
    justify-content: space-between;
}
.site-logo-container,
.footer-logo{
    max-width: 225px;
    margin-right: 30px;
}
.logo.webpexpress-processed{
    max-height: 10px;
}
.logo.webpexpress-processed.lazyloaded{
    max-height: unset;
}
.footer-logo{
    margin-top: 25px;
}
.site-logo-container img,
.footer-logo img{
    display: block;
    margin: 3px 0;
}
.header-position {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 46px;
}
.header-navigation{
    position: absolute;
    top: 0;
    left: 0;
    width: calc( 100% - 53px );
    padding-bottom: 15px;
    z-index: 4;
    transition: transform .2s ease-in;
    transform: translateX(-100%);
    background: black;
}
.header-navigation.open{
    transform: translateX(0);
}
.footer-navigation{
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 40px;
    padding-bottom: 15px;
}
.header-menu,
.footer-menu{
    display: flex;
    flex-direction: column;
    margin-top: 12px;
}
.header-menu li {
    margin: 15px 0 0 25px;
}
.footer-menu li{
    margin: 15px 0 0 0;
}
.header-menu li a,
.footer-menu li a{
    display: inline;
    text-decoration: none;
    font-weight: bold;
    color: #000000;
    background-image: linear-gradient(
            transparent calc(65% - 5px),
            #d80039 5px
    );
    background-size: 0;
    background-repeat: no-repeat;
    transition: 0.5s ease;
}
.header-menu li:hover a,
.footer-menu li:hover a{
    background-size: 100%;
}
.burger {
    width: 30px;
    height: 30px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 10px;
    margin: auto;
    cursor: pointer;
}
.stick {
    width: 30px;
    height: 4px;
    border-radius: 4px;
    margin-bottom: 5px;
    background-color:  #2DFDB9;
    display: inline-block;
}
.stick:last-child {
    margin-bottom: 0px;
}
.open .stick-1 {
    animation: stick-1-open .6s ease-out forwards;
}
.open .stick-2 {
    animation: stick-2-open .6s linear forwards;
}
.open .stick-3 {
    animation: stick-3-open .6s linear forwards;
}
@keyframes stick-1-open {
    0%   {width: 30px;}
    40%  {background-color: #ff1456; width: 4px; transform: translate(20px, 0px);}
    75%, 80%  {width: 4px; transform: translate(20px, -25px); animation-timing-function: cubic-bezier(0,1,1,1);}
    100% {background-color: #ff1456; width: 4px; transform: translate(14px, 18px);}
}
@keyframes stick-2-open {
    80%  {background-color: #2DFDB9; transform: translate(0px, 0px) rotate(0deg);}
    100% {background-color: #ff1456; transform: translate(4px, 0px) rotate(40deg);}
}
@keyframes stick-3-open {
    80%  {background-color: #2DFDB9; transform: translate(0px, 0px) rotate(0deg);}
    100% {background-color: #ff1456; transform: translate(4px, -9px) rotate(-40deg);}
}
.close .stick-1 {
    width: 8px;
    transform: translate(13px, 12px);
    animation: stick-1-close .6s ease-out forwards;
}
.close .stick-2 {
    transform: translate(0px, 0px) rotate(40deg);
    animation: stick-2-close .6s ease-out forwards;
}
.close .stick-3 {
    transform: translate(0px, -23px) rotate(-40deg);
    animation: stick-3-close .6s ease-out forwards;
}
@keyframes stick-1-close {
    0%, 70% {width: 0px;}
    100%    {width: 30px; transform: translate(0, 0);}
}
@keyframes stick-2-close {
    0%   {background-color: #ff1456; width: 30px;}
    20%  {background-color: #ff1456; width: 4px; transform: translate(0, 0px) rotate(40deg);}
    40%  {background-color: #2DFDB9; width: 0px;}
    65%  {transform: translate(0, -17px); animation-timing-function: cubic-bezier(0,1,1,1);}
    80%  {width: 0px;}
    100% {width: 30px; transform: translate(0, 0px);}
}
@keyframes stick-3-close {
    0%   {background-color: #ff1456; width: 30px;}
    20%  {background-color: #ff1456; width: 4px; transform: translate(0, -12px) rotate(-40deg);}
    40%  {background-color: #2DFDB9;}
    65%  {transform: translate(0, -42px); animation-timing-function: cubic-bezier(0,1,1,1);}
    90%  {width: 4px;}
    100% {width: 30px; transform: translate(0, 0px);}
}


.breadcrumbs{
    margin: 32px 0 18px 0;
    text-transform: capitalize;
}
.breadcrumbs li {
    display: inline;
}
.breadcrumbs a{
    text-decoration: none;
}

.home-header2{
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: 27px;
    font-weight: bold;
}
.home-header2 a{
    transition: color 150ms ease-in;
    text-decoration: none;
}
.under-head-text{
    margin-bottom: 15px;
}


.post-row {
    padding-bottom: 20px;
}
.post-card{
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    overflow: hidden;
    border: 1px solid black;
}
.post-card-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.5);
}
.post-image-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 395px;
    overflow: hidden;
    z-index: -1;
}
.post-image-container img{
    width: 100%;
    height: 395px;
    object-fit: cover;
    object-position: center;
}
.post-card .title,
.post-card .post-excerpt{
    display: block;
    width: 100%;
    font-size: 16px;
    color: white;
    transition: opacity .2s ease-in;
}
.post-card .title{
    width: calc( 100% - 30px );
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 700;
    line-height: 100%;
    transform-origin: left;
    display: -webkit-box;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card .post-excerpt{
    display: -webkit-box;
    max-height: 144px;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card .post-excerpt p{
    margin-bottom: 0;
}
.post-button-container{
    position: relative;
    display: block;
    width: calc( 100% - 20px );
    transition: opacity .2s ease-in;
}
.post-button{
    position: relative;
    display: inline-block;
    margin: 17px 0 0 0;
    padding: 19px 22px;
    text-decoration: none;
    transform: scale(1);
    transition: all .2s ease;
}
.post-button:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 28px;
    background: #007f8b;
    opacity: .5;
    width: 56px;
    height: 56px;
    transition: all .3s ease;
}
.post-button span{
    position: relative;
    font-size: 16px;
    line-height: 18px;
    font-weight: 900;
    letter-spacing: .25em;
    text-transform: uppercase;
    vertical-align: middle;
}
.post-button svg{
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: white;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all .3s ease;
}
.post-button:hover:before{
    width: 100%;
    background: #007f8b;
    opacity: 1;
}
.post-button:active {
    transform: scale(0.96);
}

.copyright,
.footer-info{
    margin: 0 auto;
    margin-bottom: 30px;
    text-align: center;
}


.toTop {
    opacity: .7;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 40px;
    right: 20px;
    border: none;
    background: rgba(0, 0, 0, .2);
    outline: 0;
    cursor: pointer;
    z-index: 500;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 0;
}
.toTop:after {
    content: "\1F815";
    color: #fff;
}
.toTop:hover {
    opacity: 1;
}
/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
}
/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .admin-bar.fixed-header header{
        top: 32px;
    }
    .post-card{
        width: calc( 50% - 20px );
        margin: 10px;
    }
    .post-image-container{
        height: 300px;
    }
    .post-image-container img{
        height: 300px;
    }
}
/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .header-navigation{
        display: block;
        position: relative;
        width: auto;
        min-height: auto;
        padding-bottom: 0;
        background: transparent;
        transform: translateX(0);
    }
    /*.header-menu li a:before,*/
    /*.footer-menu li a:before{*/
    /*    left: 15px;*/
    /*    right: 15px;*/
    /*}*/

    .footer-navigation {
        flex-direction: row;
        align-items: center;
        margin: 40px auto 40px auto;
        padding-bottom: 0;
    }

    .footer-logo{
        margin-top: 0;
    }
    .header-menu,
    .footer-menu{
        flex-direction: row;
        margin: 0;
    }
    .header-menu li,
    .footer-menu li {
        margin: 0 1px;
    }
    .header-menu li a,
    .footer-menu li a{
        position: relative;
        padding: 0 15px;
        /*background: white;*/
        z-index: 1;
    }
    .burger{
        display: none;
    }
}
/*// X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

}
/*// XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {

}
