/*
Theme Name: PathSoft Child
Theme URI: https://www.templatemonster.com/wordpress-themes/pathsoft-it-solutions-for-your-business-services-wordpress-theme-99496.html
Template: pathsoft
Author: Koval Web
Author URI: https://www.templatemonster.com/vendors/kovalweb
Description: The Template is created for web template
Tags: WordPress
Version: 1.5.1
*/
:root {
    --submenu-width: 17rem;
    --border-light-color: #ededed;
    --light-green-color: rgba(28, 170, 90, 0.1);
    --light-pink-color: rgba(204, 94, 141, 0.1);
    --light-yellow-color: rgba(245, 236, 48, 0.1);
}

/* MAIN CONTAINER */
.main-inner {
    position: relative;
}
.section {
    background-color: initial;
}
#content {
    position: relative;
}
.el_left, .el_right {
    height: 100%;
    position: absolute;
    top: 0;
}
.el_left {
    left: 0;
    width: 124px;
    background: url("/wp-content/themes/pathsoft-child/images/el_left.png");
}
.el_right {
    right: 0;
    width: 155px;
    background: url("/wp-content/themes/pathsoft-child/images/el_right.png");
}
.graph-el-1, .graph-el-2, .graph-el-3 {
    position: absolute;
    top: 100px;
    opacity: 0.7;
    display: none;
}
.graph-el-1 {
    left: 0;
    width: 124px;
    height: 301px;
}
.graph-el-2 {
    right: 0;
    width: 155px;
    height: 350px;
}
.graph-el-3 {
    left: -15px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--third-color);
}
.content {
    text-align: left;
}
.content > p, .onenews p, p {
    margin-bottom: 1rem;
}
.content img {
    margin-bottom: 0.3rem;
    margin-right: 1.5rem;
}
.content .ngg-imagebrowser .pic a img {
    margin: auto;
}
.content img.as-ico {
    display: inline;
    margin-right: 0.5rem;
    width: 1.3rem;
}
.content ol > li > ul > li::before {
    content: "\e5ca";
    top: -0.125rem;
    font-family: 'Material Icons';
    font-size: 1.125rem;
}
.content thead {
    background-color: var(--primary-bg-color);
}
.content ul.list-style-none {
    list-style: none;
    padding: 0;
    margin: 0;
}
/*.news-post .news-post-header {*/
/*    margin-bottom: 0.9rem;*/
/*}*/
.news-post .section {
    padding-top: 0 !important;
}
.d-none {
    display: none;
}
.w-100 {
    width: 100% !important;
}
.pl-0 {
    padding-left: 0 !important;
}
.section-heading h2 {
    font-size: 1.5rem;
}

/* HEADER TOP */
.header-top {
    background-color: white;
    padding-bottom: 0;
}
.header-fixed {
    box-shadow: 0px 5px 7px 0px rgb(77 82 94 / 10%);
}
.social-links li a {
    color: var(--text-primary);
    width: 2.2rem;
    height: 2.2rem;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
}
.social-links li a svg {
    fill: var(--text-primary);
    width: 1.2rem;
    height: 1.2rem;
}

/* INFORMER */
#maininformer {
    position: relative;
    display: contents;
}
.maininformer_wrap .mi_time,
.maininformer_wrap .mi_date,
.maininformer_wrap .trinf_temp,
.maininformer_wrap .trinf_rad {
    color: var(--text-primary);
    font-weight: bold;
    font-size:0.95rem
}
.maininformer_wrap .mi_date span {
    font-weight: normal;
}
.maininformer_wrap .mi_time, .maininformer_wrap .trinf_temp {
    display: flex;
    justify-content: end;
}
.mi_date_wrap, .trinf_wrap {
    transition: all 0.3s;
    display: block;
    position: absolute;
    top: -20px;
    opacity: 0;
}
.mi_date_wrap.visibleAnimation, .trinf_wrap.visibleAnimation {
    opacity: 1;
}

/* MAIN MENU */
.main-mnu-list > li:nth-child(n+4) > ul {
    left: -8rem;
}
.main-mnu-list > li:nth-child(n+5) > ul > li > ul {
    left: -17rem;
}
.main-mnu-list > li a {
    font-size: 0.87rem;
}
.main-mnu-list > li > a::after {
    color: var(--text-primary) !important;
}
.main-mnu-list > li > ul, .main-mnu-list > li > ul > li > ul {
    min-width: var(--submenu-width);
    max-width: var(--submenu-width);
}
.main-mnu-list > li > ul > li:hover {
    z-index: 20;
}
.main-mnu-list > li > ul li {
    padding: 0.35rem 0;
}
.main-mnu-list > li > ul li a {
    padding: 0.125rem 1.2rem 0.125rem 1.7rem;
}
.main-mnu-list > li > ul li a:hover > span {
    color: var(--main-color);
}
.main-mnu-list > li:hover > a > span,
.main-mnu-list > li.active > a > span {
    transform: none;
}
.main-mnu-list > li > ul li a:hover > span {
    transform: none;
}
.main-sub-mnu-list > li:hover > a > span {
    transform: none;
}
.main-mnu-list > li > ul li a::after
{
    display: none;
}
nav.main-mnu > .main-mnu-list > li:hover > a > span,
nav.main-mnu > .main-mnu-list > li.active > a > span {
    transform: translateY(100%);
}
.main-mnu > .main-mnu-list > li > a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
}
.main-mnu-list > li.menu-item-has-children > a i {
    color: var(--text-primary);
}
.main-mnu-list > li.menu-item-has-children > ul > li:hover > a > i,
.main-mnu-list > li.menu-item-has-children > ul > li > ul > li:hover > a > i {
    transform: rotateY(180deg);
}
.main-mnu-list > li.menu-item-has-children > ul > li > ul > li > a > i {
    transition: all 0.4s;
}
.main-mnu-list > li > ul > li > a i {
    color: var(--text-primary);
}
.main-mnu-list > li > ul > li > ul {
    max-height: 35rem;
    overflow-y: auto;
    background-color: rgb(251, 244, 246);
}
.main-mnu-list > li > ul > li > ul::-webkit-scrollbar {
    width: 10px;
}
.main-mnu-list > li > ul > li > ul::-webkit-scrollbar-track {
    background-color: rgb(219 211 215);
}
.main-mnu-list > li > ul > li > ul::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
.main-mnu-list > li > ul > li > ul > li > ul {
    position: absolute;
    left: -17rem;
    top: 0;
    min-width: var(--submenu-width);
    max-width: var(--submenu-width);
    background-color: var(--primary-color);
    border-radius: var(--el-border-radius-min);
    border-top-left-radius: 0;
    padding: 0.75rem 0;
    opacity: 0;
    box-shadow: var(--el-box-shadow);
    transform: translateY(15px);
    visibility: hidden;
    transition: all 0.2s;
}
.main-mnu-list > li > ul > li > ul > li {
    position: relative;
}
.main-mnu-list > li > ul > li > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-mnu-list > li > ul > li > ul > li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-mnu-list > li > ul > li:hover > ul > li:hover > a {
    color: var(--main-color);
}
.main-mnu-list > li > ul > li:hover > ul > li:hover > a i {
    color: var(--text-primary);
}
.mmsm > li > ul > li > ul > li a {
    padding-left: 3.75rem;
}
/* MAIN MOBILE MENU */
.mmm-content {
    background-color: white;
    border-top: 1px solid var(--primary-bg-color);
}
.mmsm > li:first-child {
    border-top: 1px solid var(--border-light-color);
}
.mmsm li {
    border-bottom: 1px solid var(--border-light-color);
}
.mmsm li a {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}
.mmm-list > li > a {
    padding-right: 1.25rem;
    text-transform: uppercase;
    font-weight: bold;
}
.mmsm li.menu-item-has-children > a {
    font-weight: normal;
    display: flex;
    align-items: center;
}
.mmsm li.menu-item-has-children > a:after, .mmm-list > li > a:after {
    content: '\e5cf';
    font-family: 'Material Icons';
    font-size: 24px;
    font-weight: normal;
    position: absolute;
    transition: all 0.4ms;
}
.mmsm li.menu-item-has-children > a:after {
    right: 1rem;
}
.mmm-content > .mmm-list > li > ul.mmsm > li.menu-item-has-children > a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0.7rem;
    height: 3.36rem;
    display: block;
    background-color: var(--third-color);
}
.mmm-list > li > a:after {
    right: 2rem;
}
li.open > a:after, .mmm-list > li.open > a:after {
    transform: rotateX(180deg);
}
.mmm-list li a span {
    padding-right: 1.2rem;
}
.mmm-list > li {
    z-index: 5;
    padding-left: 1rem;
    padding-right: 1rem
}
.mmm-list > li > ul > li {
    z-index: 4;
    position: relative;
}
.mmm-list > li > ul > li > ul > li {
    z-index: 3;
    position: relative;
}
.mmm-content > ul > li > ul > li > ul {
    background-color: var(--light-pink-color);
}
@media (max-width: 991.98px) {
    .mmm {
        max-width: 40rem;
    }
}
@media (max-width: 767px) {
    .mmm {
        max-width: 35rem;
    }
}
@media (max-width: 576px) {
    .mmm {
        max-width: 25rem;
    }
}

/* SIDEBARS */
#rightbar, #leftbar, #post-bar {
    max-width: var(--sidebar-width);
    min-width: var(--sidebar-width);
}
#rightbar section:not(:last-child) {
    margin-bottom: 2rem;
}
#rightbar h3, #leftbar h3, #post-bar h3 {
    margin-bottom: 0.7rem;
}
#rightbar ul, #leftbar ul, #post-bar ul, #category-posts-2 ul {
    margin: 0;
    padding: 0;
}
#rightbar ul li, #leftbar ul li, #post-bar ul li {
    list-style-type: none;
    padding: 0 0 0 20px !important;
    position: relative;
}
#rightbar ul li a:before, #leftbar ul li a:before, #post-bar ul li a:before {
    color: var(--third-color);
    content: '\e315';
    font-family: 'Material Icons';
    font-size: 14px;
    left: 0;
    position: absolute;
    top: 0;
}
#rightbar ul li:not(:last-child),
#leftbar ul li:not(:last-child),
#post-bar ul li:not(:last-child) {
    margin-bottom: 0.7rem;
}
#rightbar #rightcolwidget > ul > li:not(:last-child),
#leftbar #leftcolwidget > ul > li:not(:last-child),
#post-bar #post-widget > ul > li:not(:last-child) {
    margin-bottom: 1.7rem;
}
@media (max-width: 991px) {
    .content-container {
        flex-wrap: wrap-reverse;
        max-width: 100%;
    }
    #content {
        flex-basis: calc(100% - var(--sidebar-width));
    }
    #rightbar {
        max-width: 100%;
    }
    #rightbar #rightcolwidget {
        display: flex;
    }
    #rightbar #rightcolwidget section {
        width: 33.33%;
        padding: 0 15px;
    }
}
@media (max-width: 900px) {
    #content {
        width: 100%;
        flex-basis: 100%;
    }
}
@media (max-width: 769px) {
    #leftbar, #post-bar {
        max-width: 540px;
        margin-bottom: 2rem;
    }
    #rightbar #rightcolwidget {
        flex-wrap: wrap;
    }
    #rightbar #rightcolwidget section:first-child {
        width: 100%;
    }
    #rightbar #rightcolwidget section {
        width: 50%;
    }
    .content-container {
        justify-content: center;
    }
}
@media (max-width: 576px) {
    #rightbar #rightcolwidget section {
        width: 100%;
    }
}
#leftbar a, #post-bar a {
    color: var(--text-primary);
}

/* FOOTER */
.footer-items {
    justify-content: space-between;
    padding: 0 15px;
}
.footer-items .footer-logo img {
    width: 200px;
}
.footer-items .footer-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-items a.footer-mail, .footer-items a.footer-phone {
    display: flex;
    align-items: center;
}
.footer-items a.footer-mail i, .footer-items a.footer-phone i {
    margin-right: 0.2rem;
}
.footer-items .social-networks p {
    margin-bottom: 0.9rem;
}
.footer-items .social-networks ul {
    display: flex;
    justify-content: space-between;
}
.footer-items .social-networks ul li a svg {
    width: 1.4rem;
    height: 1.4rem;
    margin: auto;
    fill: var(--primary-color);
}
@media (max-width: 768px) {
    .footer-items .footer-logo {
        margin-bottom: 1rem;
    }
}

/* QR CODE */
.qr-code {
    display: flex;
    position: fixed;
    right: 15px;
    bottom: -5rem;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--el-border-radius-min);
    border: 1px solid var(--border-color);
    background: var(--primary-color);
    z-index: 100;
    color: var(--main-color);
    transition: all 0.2s;
    cursor: pointer;
}
.qr-code.active {
    bottom: 65px;
}
.qr-code:hover {
    border-color: var(--main-color);
}
.qr-code-elem {
    display: none;
    width: auto;
    height: auto;
    position: fixed;
    right: 70px;
    bottom: 30px;
    border-radius: var(--el-border-radius-min);
    border: 1px solid var(--border-color);
    background: var(--primary-bg-color);
    color: var(--text-secondary);
    text-align: center;
}

/* NEWS LIST TEMPLATE */
.news-wide-item-info {
    width: calc(100% - 15.625rem);
}
.news-wide-item-info .item-heading {
    font-size: 1rem;
}
.news-wide-item-desc {
    margin-top: 0.65rem;
    margin-bottom: 0.65rem;
}
.news-wide-item-img {
    border-radius: 0 !important;
}
.pagination-list li span, .pagination-list li a {
    padding-top: 0.3rem;
}
.pagination-list li a.next, .pagination-list li a.prev {
    padding-top:0;
}
@media (max-width: 900px) {
    .news-wide-item {
        flex-wrap: nowrap;
        max-width: initial;
        margin-bottom: 30px;
    }
    .news-wide-item-info {
        padding-left: 1.5625rem;
    }
}
@media (max-width: 600px) {
    .news-wide-item {
        flex-wrap: wrap;
        max-width: 24rem;
        margin: 0 auto 40px auto;
    }
    .news-wide-item-info {
        padding-left: 0;
        width: 100%;
    }
    .news-wide-item-desc {
        margin-bottom: 0.3rem;
    }
}

/* TEAM (DEPUTY) LIST TEMPLATE */
.team-item-heading {
    white-space: normal;
    text-overflow: clip;
    overflow: auto;
    font-size: 0.9rem;
}
.team-item {
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
}
.team-item:after {
    border-radius: 0 !important;
}
.team-item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 0.8rem;
}
.team-item-position {
    white-space: initial;
    text-overflow: clip;
    overflow: visible;
    line-height: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.deputy-list-img-wrapper {
    height: 0;
    padding-top: calc(200 / 150 * 100%);
    position: relative;
}

/* DEPUTY TEMPLATE */
.fio-mobile {
    display: none;
}
.deputy {
    margin: 0 0 30px 0;
}
.deputy-img {
    max-width: 200px;
    border-radius: 0 !important;
    border: 1px solid var(--border-color);
}
.deputy-info {
    width: calc(100% - 200px);
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}
.deputy-info .section-subheading {
    font-weight: bold;
    margin-top: 10px;
}
.deputy-info .fio, .fio-mobile {
    margin-bottom: 1.6rem;
}
.deputy-data {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.team-item-social li a > i {
    color: white;
    margin: auto;
}
.team-item-social li a:hover > i {
    color: var(--main-color);
}
.team-item-social li a:hover {
    color: var(--main-color);
    text-decoration: none;
}
.deputy-contact-data .team-item-social {
    position: initial;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    left: initial;
    top: initial;
    margin-top: 0.5rem
}
.deputy-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}
.deputy-contacts-link {
    color: var(--text-primary);
    display: flex;
    align-items: center;
}
.deputy-contacts-link:hover {
    text-decoration: none;
}
.deputy-contacts-link i {
    font-size: 16px;
    margin-bottom: 4px;
    margin-right: 0.4rem;
}
.deputy-text {
    margin-left: 0;
    margin-right: 0;
}
@media (max-width: 576px) {
    .deputy-info .fio {
        display: none;
    }
    .fio-mobile {
        display: block;
    }
}
@media (max-width: 500px) {
    .deputy {
        justify-content: center;
    }
    .fio-mobile {
        text-align: center;
    }
    .deputy-info {
        width: 100%;
        padding-left: 0;
    }
    .deputy-img {
        margin-bottom: 30px;
    }
}

/* PDF FILES */
.pdf-file-wrapper {
    margin-top: 2.5rem;
}
.pdf-link {
    font-size: var(--font-size);
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}
.pdf-link:hover {
    text-decoration: none;
}
.pdf-link img {
    width: 2.2rem;
    margin-right: 0.5rem;
}

/* PRETTY LINK */
.pretty-link-wrapper {
    background-color: white;
    margin-bottom: 1rem;
    border-radius: var(--el-border-radius-min);
    border: 1px solid var(--border-color);
}
.pretty-link-wrapper:hover {
    box-shadow: var(--el-box-shadow);
    border: 1px solid white;
}
.pretty-link {
    cursor: pointer;
    position: relative;
    padding: 1.25rem 3.125rem 1.25rem 1.25rem;
    color: var(--text-primary);
    line-height: 1.2;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.pretty-link:after {
    content: '\e941';
    font-family: 'Material Icons';
    font-size: 20px;
    position: absolute;
    right: 1rem;
}
.pretty-link:hover {
    text-decoration: none;
}

/* MAP CATEGORY */
.map-container {
    overflow: hidden;
    padding-bottom: 70%;
    position: relative;
    height: 0;
}
.map-container iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* BREADCRUMBS */
.bread-crumbs {
    background-color: var(--light-green-color);
}
.bread-crumbs-list li:last-child, .bread-crumbs-list li i, .bread-crumbs-list li:last-child span, .bread-crumbs-list li:last-child a {
    color: var(--text-secondary);
}
.bread-crumbs-list {
    font-size: 0.867rem;
}

/* ACCORDION */
.section-bg {
    background-color: initial;
}
.accordion-trigger {
    background-color: var(--light-green-color);
}
.accordion-content {
    background-color: rgba(28, 170, 90, 0.05);
}

/* CART */
.card-item-wide {
    margin: 0 0 2rem 0 !important;
    padding: 0 !important;
}
.card-item-wide:before {
    content: none;
}
.card-item-wide .card {
    display: flex;
    overflow: hidden;
}
.card-header {
    position: relative;
}
.card-item-wide .card-image {
    min-width: 16.875rem;
    width: 16.875rem;
    height: 100%;
    border-radius: 0;
}
.card-image {
    position: relative;
    display: block;
    width: 100%;
    background-color: var(--primary-bg-color);
    border-top-left-radius: 0.625rem;
    border-top-right-radius: 0.625rem;
    text-decoration: none;
    color: var(--text-secondary);
    overflow: hidden;
}
.card-image img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.woocommerce img, .woocommerce-page img {
    height: auto;
    max-width: 100%;
}
.card-badges {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: flex;
    flex-wrap: wrap;
    z-index: 1;
    margin-left: -0.5rem;
}
.product .card-info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.card-item-wide .card-info {
    text-align: left;
    width: 100%;
    padding: 1.5rem;
}
.card-info-wide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-info-wide:before {
    content: none;
}
.products-list .card-info-main, .products-list .card-info-btn {
    width: 100%;
}
.card-item-wide .card-info-inner {
    width: 100%;
    margin-bottom: 0.5rem;
}
.card-info-wide .card-site {
    display: flex;
}
.card-info-wide .card-site i {
    margin-right: 0.3rem;
}
.card-posted-in {
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1;
    margin-bottom: 0.625rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.card-posted-in a:hover {
    color: var(--main-color);
}
.card-posted-in a {
     color: var(--text-primary);
     text-decoration: none;
}
.products-list .card-heading {
    margin-bottom: 1.5rem;
}
.products-list .card-desc {
    margin-bottom: 0.5rem;
}
.card-desc .d-flex {
    flex-wrap: nowrap;
}
.card-heading {
    margin-top: 0 !important;
}
.card-heading a {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.item-heading a, .item-heading-middle a, .item-heading-large a {
    text-decoration: none;
    color: var(--text-primary);
}
.card-item-wide .price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}
.woocommerce-Price-amount {
    font-family: var(--heading-font-family);
    font-weight: 600;
    padding-left: 0.3rem !important;
    margin-bottom: 0 !important;
    display: flex;
}
.woocommerce-Price-amount:before {
    content: none !important;
}
.woocommerce-Price-amount a {
    font-size: 1rem;
}
.woocommerce-Price-amount a:hover {
    text-decoration: none;
}
@media only screen and (max-width: 767.98px),
only screen and (min-width: 567px) and (max-width: 900px) and (orientation: landscape),
(min-width: 900px) and (max-width: 1199px){
    .products-list {
        max-width: 30rem;
        margin: 0 auto !important;
    }
    .card-item-wide .card {
        display: block;
    }
    .card-item-wide .card-image {
        height: auto;
        width: 100%;
        min-width: 100%;
    }
    .card-item-wide .card-info {
        padding: 1.25rem 1rem 1.5rem;
    }
    .item-heading.card-heading {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
    .card-item-wide .card-image::after {
        content: "";
    }
    .card-image::after {
        margin-top: 100%;
        float: left;
    }
}

/* MER PAGE */
.mer-page {
    margin-bottom: 1rem;
}
.mer-page .wp-block-media-text__content {
    padding: 0 0 0 2rem;
    margin-top: -5px;
}
.mer-page .wp-block-media-text__content h2 {
    margin-bottom: 1.4rem;
}
.mer-page .wp-block-media-text__content p:last-child {
    margin-bottom: 0;
}

/* CUSTOM SERVICES */
.container ul.custom-services {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
    padding: 0;
}
.container ul.custom-services .custom-service {
    margin: 1rem;
    padding: 1.5rem;
    width: calc(50% - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border: 1px solid var(--border-color);
    border-radius: var(--el-border-radius);
    background-color: white;
    transition: all 0.3s;
}
.container ul.custom-services .custom-service:hover {
    border-color: white;
    box-shadow: var(--el-box-shadow);
    transition: all 0.3s;
}
.container ul.custom-services .custom-service:before {
    content: none;
}
.container ul.custom-services .custom-service-icon {
    margin: 0;
    max-width: 150px;
    min-height: 50px;
    max-height: 100px;
}
.container ul.custom-services .custom-service-header {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 0.8rem;
    width: 100%;
}
.container ul.custom-services .custom-service-header a {
    color: var(--text-primary);
}
.container ul.custom-services .custom-service-header a:hover {
    text-decoration: none;
    color: var(--main-color);
}
.container ul.custom-services .custom-service-subtitle {
    margin: 0;
    text-align: center;
    line-height: 1.3rem;
}
@media  (max-width: 600px) {
    .content ul.custom-services {
        margin: 0;
    }
    .content ul.custom-services .custom-service {
        width: 100%;
        margin: 0 0 2rem 0;
    }
}

/* VIDEO */
.main-page-video {
    margin-top: 3rem;
}
.yotu-playlist {
    padding-top: 0 !important;
}
.yotu-playlist > div {
    display: flex;
}
.yotu-videos.yotu-mode-grid h3 {
    color: var(--text-primary) !important;
    transition: all 0.3s;
}
.yotu-videos.yotu-mode-grid h3:hover {
    color: var(--main-color) !important;
    text-decoration: none !important;
}
.yotu-videos a:hover h3 {
    text-decoration: none !important;
}
.yotu-column-4 li {
    width: 24.25% !important;
}

/* CONTACT FORM */
.cf-deputy {
    position: absolute;
    top: 20%;
    right: 10px;
    color: var(--text-primary);
}

/* MER PAGE */
.mer-contacts-block {
    display: flex;
    justify-content: center;
    width: 185px;
}
.mer-contacts {
    display: inline-flex;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0.45rem;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    margin: 0 0.35rem;
}
.mer-contacts svg {
    fill: var(--main-color);
}
.mer-contacts:hover {
    border-color: var(--main-link-hover-color);
}
.mer-contacts:hover svg path {
    fill: var(--main-link-hover-color) !important;
}