/*| Navigation |*/
* {
    box-sizing: border-box;
}
body {
    font-family: Tahoma;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #434343;
}
a {
    text-decoration: none;
    color: #0054a6;
}
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    display: flex;
}
.page-left {
    width: 70%;
    margin-top: 20px;
}
.page-right {
    width: 30%;
    margin-top: 20px;
    padding-left: 20px;
}
.logo {
    color: #e6324b;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 2.5rem;
    white-space: nowrap;
    letter-spacing: .0625rem;
    height: 80px;
    display: flex;
    align-items: center;
}
.logo div {
    height: 50px;
    width: 286px;
    background: url(/public/blog/logo.png) no-repeat;
}
.slogan {
    color: #e6324b;
    font-weight: bold;
}
.header {
    padding: 0 10px 0 10px;
}
footer {
    padding: 0 10px 0 10px;
}
.table {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


.items {
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -10px;
}
.item-title {
    font-size: 18px;
}
.item-date {
    color: #828282;
    text-align: right;
    font-size: 10px;
    font-weight: bold;
}
.item-info {
    color: #828282;
    text-align: right;
    font-size: 10px;
    text-transform: uppercase;
}
.transparent-bg {
    /*background: url(/public/blog/pattern.png) repeat;*/
    background: #fff;
}
.search {
    flex-grow: 1;
    padding-left: 20px;
}
.td.width100 {
    flex-grow: 1;
}
.search input {
    width: 100%;
    background: #eee;
    border-radius: .25rem 0 0 .25rem;
    border: none;
    height: 50px;
    outline: none;
    line-height: 30px;
    padding: 0 10px;
}
.search .search-form button {
    border-radius: 0;
    height: 50px;
    font-size: 16px;
}
.search-input {
    flex-grow: 1;
}
.search button {
    background: none;
    border: none;
    background: #0054a6;
    height: 30px;
    line-height: 28px;
    color: #fff;
    padding: 0 10px;
    border-radius: 0 .25rem .25rem 0;
}
.search .table {

}
.gallery {
    background-color: #fff;
    border-radius: .25rem;
    box-shadow: 0 2px 64px rgba(0,0,0,.05),0 0 2px rgba(0,0,0,.15);
    padding: 10px;
    min-height: 200px;
    text-align: center;
    margin-bottom: 40px;
}
.card {
    background-color: #fff;
    border-radius: .25rem;
    box-shadow: 0 2px 64px rgba(0,0,0,.05),0 0 2px rgba(0,0,0,.15);
    padding: 10px;
    margin-bottom: 20px;
}
.card-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}
.card-text {
    margin-bottom: 20px;
}
.gallery li {
    width: 100%;
}

.input {
    width: 100%;
    background: #eee;
    border-radius: .25rem 0 0 .25rem;
    border: none;
    height: 30px;
    outline: none;
    line-height: 30px;
    padding: 0 10px;
}

    /*!* Введение нового столбца *!*/
/*.items::before,*/
/*.items::after {*/
/*    content: "";*/
/*    flex-basis: 100%;*/
/*    width: 0;*/
/*    order: 2;*/
/*}*/

.item {
    width: 50%;
    padding: 10px;
}
h1 {font-size: 26px}
.item-box {
    background-color: #fff;
    border-radius: .25rem;
    box-shadow: 0 2px 64px rgba(0,0,0,.05),0 0 2px rgba(0,0,0,.15);
    padding: 10px;
}
.item-image img {
    max-width: 100%;
}
.mail_btn {
    font-size: 24px;
    height: 30px;
    line-height: 22px;
    vertical-align: middle;
    color: #fff;
    background: #0054a6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/*.item:nth-child(odd) {*/
/*    order: 1;*/
/*}*/
/*.item:nth-child(even) {*/
/*    order: 2;*/
/*}*/


ul, li {
    list-style: none; /* Убираем маркер для элементов списка */
    margin: 0;
    padding: 0;
}


nav.menu {
    background: #545454; /* Задаем основной фон меню */
    padding: 0; /* Задаем внутренние отступы */
    position: relative;
    z-index: 2;
}


nav.menu ul li {
    display:inline-block;/*Выстраиваем пункты меню в ряд по горизонтали */
}

nav.menu ul li a {
    display:block; /* Настраиваем оформление пунктов меню */
    padding: 15px 20px;
    font-size: .9em;
    color: #eee;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav.menu ul li:hover {
    background: #3c3b3b; /* Меняем фон пункта меню при наведении указателя мыши */
}

nav.menu ul li ul {
    display: none; /* Прячем пункты выпадающего блока меню */
    position:absolute;
    background: #3c3b3b; /* Задаем фон выпадающего блока меню */
}

nav.menu ul li:hover ul {
    display:block; /* Отображаем подменю при наведении мыши */
}

nav.menu ul li ul li {
    display:block; /* Выстраиваем по вертикали пункты выпадающего меню */
}

.pager ul {
    padding: 0;
    margin: 0;
}
.pager ul li {
    list-style: none;
    display: inline-block;
}
.pager ul li a {
    color: #434343;
    width: 30px;
    height: 30px;
    display: inline-block;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
}
.pager ul li a.is-active {
    line-height: 28px;
    border: 1px solid #ff0037;
    border-radius: 5px;
}
.bread {
    margin-bottom: 20px;
}
.bread a {
    color: #828282;
}

.bread > *:before {
    content: "\e922" !important;
    font-feature-settings: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: printbar-icon !important;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}
.bread > a:first-child:before {
    content: '';
    display: none;
}
.header-menu-link {
    display: none;
}
.menu input {
    display: none;
}
footer {
    margin-top: 20px;
}
.pb__footer--social {
    font-size: 32px;
}
.pb__footer--social [class*="pb_icon-"]:before {
    color: #a2a2a2;
}
.pb__footer--social .pb_icon-whatsapp .path1:before, .pb__footer--social .pb_icon-telegram .path1:before {
    color: #a2a2a2;
}
.copyright {
    font-weight: bold;
}
.header-blog {
    font-size: 22px;
    line-height: 60px;
    margin-left: 2px;
    display: flex;
    align-items: center;
}
.header-blog div{
    height: 50px;
    background: #e6324b;
    color: #fff;
    margin: auto;
    line-height: 50px;
    padding: 0 12px;

}
.td.social {
    display: flex;
    align-items: center;
}

.social a {
    height: 50px;
    background: #e6324b;
    margin: 0 1px;
    display: inline-block;
    padding: 0 10px;
    float: left;
}
.social a [class*="pb_icon-"]:before {
    color: #FFF;
}
.search-form {
    top: -80px;
    transition: all 0.3s ease;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
}

.items-popular a {
    display: flex;
    border-top: 1px solid rgba(0,0,0,.05);
    padding: 10px 0;
}

.items-popular a:first-child {
    border: none !important;
}
.items-popular .item-image img {
    border-radius: 50%;
    max-width: 80px;
    padding-right: 20px;
}
.items-popular .item-title {
    font-size: 14px;
}
.item-category {
    border-top: 1px solid rgba(0,0,0,.05);
    padding-top: 10px;
}
.item-text {
    margin-bottom: 10px;
}
.search input[type="checkbox"] {display: none}
i.pb_icon-search {
    color: #fff;
    font-size: 30px;
    line-height: 46px;
}

.td.search {
    display: flex;
    align-items: center;
}

.social div a span {
    line-height: 46px;
}
label.search-icon {
    background: #e6324b;
    padding: 0 10px;
    height: 50px;
    cursor: pointer;
}
.search input:checked ~ .search-form {
    top: 0;
}
.search-form .transparent-bg,.search-form .container {
    height: 100%;
}

.search-form form {
    width: 100%;
    display: flex;
    align-items: center;
}
.search-form button {
    background: #e6324b;
    cursor: pointer;
}
.search-form .close-button button {
    background: #000;
    margin-left: 20px;
}

.search input {
    background: #fff;
}

footer {
    background: #e7e7e7;
}
/*#a2a2a2*/
.tags a {
    border: 1px solid rgba(0,0,0,.05);
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 5px;
    color: #1f1f1f;
}
.item-tags a {
    border: 1px solid rgba(0,0,0,.05);
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 5px;
    color: #1f1f1f;
}


.container.header .table {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.left-group, .right-group {
    display: flex;
    align-items: center;
}

.left-group {
    margin-right: auto;
}

.right-group {
    margin-left: auto;
}

.container.header .td {
    display: flex;
    align-items: center;
}
.container.header  .td.header-menu-link {
    display: none;
}
.subscribe-block img{
    width: 120px;
    display: inline-block;
}
.subscribe-block .h3 {
    font-size: 28px;
    display: inline-block;
    width: 180px;
    float: right;
}
.item-text ul, .item-text ol {
    padding: 0;
    margin-left: 20px;
}
.item-text ul li {
    list-style: disc;
}
.item-text ol li {
    list-style: decimal;
}

@media screen and (max-width: 1023px) {
    .slogan {
        display: none;
    }
    .header .table {
        position: relative;
    }
    .search-form form {
        height:100%;
    }
    .search {text-align: right}
    .search input:checked ~ .search-form {
        height: 60px;
    }
    .search-icon .pb_icon-search:before {
        font-weight: bold;
    }
    .search-icon {
        cursor: pointer;
        display: inline-block;
    }
    .search input, .search .search-form button {
        height: 36px;
    }
    .page-left {
        width: 100%;
        padding: 0 10px 0 10px;
    }
    .page-left img {
        width: 100% !important;
        height: auto;
    }
    .header-menu-link {
        display: block;
        font-size: 30px;
        padding-top: 10px;
    }
    nav.menu ul {
        display: none;
        position: relative;
        width: 100%;
    }
    nav.menu ul ul {
        background: #575656;
    }

    nav.menu input:checked ~ ul {
        display: block;
    }
    nav.menu ul li {
        width: 100%;
    }
    .page-right {
        width: 100%;
    }
    .item {
        width: 100%;
    }
    .page-right {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card {

        max-width: none !important;
    }
    nav.menu ul li.sub > a:after {
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 10px solid #fff;
        content: '';
        position: absolute;
        right: 10px;
        top: 18px;
    }

    .container {
        flex-direction: column;
    }
    .logo {
        height: 60px;
    }
    .logo div {
        background: url(/public/blog/min_logo.png) no-repeat;
        width: 50px;
    }
    .container.header .header-blog {
        font-size: 14px;
    }
    .container.header .social {
        display: none;
    }
    .mhide {
        display: none;
    }
    .container.header .td.header-menu-link {
        display: flex;
        align-items: center;
    }
    .header-menu-link {
        padding:0;
    }
    .header-menu-link label {
        background: #e6324b;
        padding: 0 10px;
        height: 50px;
        cursor: pointer;
        display: inline-block;
        color: #fff;
        line-height: 46px;
        margin-left: 10px;
    }
}

.card.subscribe-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
}

.card.subscribe-block .card-text {
    margin-bottom: 20px;
}

.card.subscribe-block img {
    max-width: 100px;
    margin-bottom: 10px;
}

.card.subscribe-block .h3 {
    font-size: 24px;
    color: #e6324b;
    margin: 10px 0;
}

.card.subscribe-block p {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.card.subscribe-block .input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    vertical-align: middle;
}

.card.subscribe-block .input:focus {
    border-color: #e6324b;
}
footer .logo {
    background: url(/public/blog/short_logo.png) no-repeat;
    width: 240px;
    height: 50px;
    font-size: 0;
    margin: 10px;
}
.item-image img {
    max-height: 400px;
}