/*
Theme Name: Zakon
Theme URI: https://zakon.kh.ua/
Author: Chisla
Description: A light, accessible WordPress theme for a legal practice, prepared for Elementor Pro.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: zakon
*/
html,
body {
    font-size: 16px;
}

blockquote {
    border-radius: 1em;
}
ol li h3 {
    font-size: 1.2em!important;
    margin-bottom: 0.25em;
}
div.elementor-widget-table-of-contents.content_navigation{
    border: none;
}
div.elementor-widget-text-editor ul{
    padding: 0;
    margin: 1.3em 0;
}
div.elementor-widget-text-editor h4{
    margin: 1em 0 0.75em;
}
div.elementor-widget-text-editor ul li,
.links_list ul li,
.elementor-widget-icon-list.links_list ul li{
    position: relative;
    line-height: 16px;
    padding-left: 28px;
    list-style: none;
    margin: 0 0 12px;
    /*font-weight: 500;*/
}

div.elementor-widget-text-editor ul li strong{
    font-weight: 600;
}
div.elementor-widget-text-editor ul li:before,
.links_list ul li:before,
.elementor-widget-icon-list.links_list ul li:before{
    display: block;
    width: 16px;
    height: 16px;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: url("assets/img/list_mark.svg") center no-repeat;
    background-size: cover;
}
div.elementor-widget-text-editor details{
    margin-top: 1em;
}
div.elementor-widget-text-editor details summary{
    display: inline-block;

    margin-bottom: 1em;
    color: var(--zakon-green-main);
    font-weight: 500;
    position: relative;
    line-height: 16px;
    padding: 10px 48px 10px 20px;
    border-radius: 30px;
    background: var(--zakon-readmore);
    border: none!important;
    height: 36px;
}
div.elementor-widget-text-editor details summary::-webkit-details-marker,
div.elementor-widget-text-editor details summary::marker{
    content: "";
}
div.elementor-widget-text-editor details summary{

    cursor: pointer;
}
div.elementor-widget-text-editor details summary:after{
    display: block;
    width: 16px;
    height: 16px;
    content: "";
    position: absolute;
    right: 20px;
    top: 10px;
    background: url("assets/img/arrow_down.svg") center no-repeat;
    background-size: cover;

}

div.elementor-widget-text-editor details[open] summary{
    opacity: 0;
    display: none;
}

div.elementor-widget-text-editor details summary:hover{
    cursor: pointer;
    text-decoration: none;
    background: var(--zakon-green-gray);
}



div.e-n-accordion details[open] summary{
    margin-bottom: 1em;
    color: var(--zakon-green-actent);
}

div.elementor-widget-text-editor ol{
    list-style: none;
    counter-reset: item;
    padding-left: 0;
}

div.elementor-widget-text-editor ol li {
    position: relative;
    counter-increment: item;
    line-height: 1.4;
    margin-bottom: 8px;
    padding-left: 32px;
}
div.elementor-widget-text-editor ol li h3{
    margin-bottom: 0;
    line-height: 1.2;
}

div.elementor-widget-text-editor ol li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--zakon-green-main);
    color: var(--zakon-green-main);
    padding: 2px;
    font-size: 12px;

}
.elementor-widget-n-accordion .e-n-accordion details.e-n-accordion-item{
    margin-bottom: 16px;
    background: var(--zakon-begie-light);
    border: 1px solid var(--zakon-begie-main);
    border-radius: 20px;
}
div.e-n-accordion details.e-n-accordion-item summary,
div.e-n-accordion details.e-n-accordion-item .elementor-element{
    border: none!important;
    border-radius: 20px;
}
.elementor-widget-n-accordion .e-n-accordion details.e-n-accordion-item summary:hover{
    background: var(--zakon-begie-main);
}
.elementor-widget-n-accordion .e-n-accordion .e-n-accordion-item-title-icon{
    background: var(--zakon-green-actent);
    border-radius: 50%;
    padding: 5px;
}
.elementor-widget-n-accordion .e-n-accordion .e-n-accordion-item-title-icon svg path{
    fill: #fff;
}
.elementor-element div.elementor-widget-text-editor ul.checker_mark li:before{
    background: url("assets/img/check_mark.svg") center no-repeat;
    background-size: cover;
   width: 30px;
    height: 30px;
}

.elementor-element.shablon_contacts a:hover{
    text-decoration: none!important;
}
.main_footer_top .footer_title a{
    display: inline-block;
    position: relative;
    padding-left: 16px;
    line-height: 25px;
    margin-bottom: 20px;
}
.main_footer_top .footer_title a:before{
    display: block;
    width: 4px;
    height: 25px;
    content: '';
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
    background: #CDBDAC;
}
.main_footer_top .footer_title.lawhelp a:before{
    background: var(--zakon-violet);
}
.main_footer_top .footer_title.info a:before{
    background: #AECDAC;
}


.main_footer_top .footer_nav ul a.elementor-item{

    padding: 0 0 8px;
}
.main_footer_top .elementor-element .footer_btn a:hover{
    text-decoration: none!important;
}
.footer_copyright p{
    margin-bottom: 0;
    line-height: 20px;
}
.footer_copyright ul.copiryghts_link{
    margin: 0;
    display: flex;
}
.footer_copyright ul.copiryghts_link li{
    list-style: none;
    margin: 0 8px 0 0;
    padding: 0 10px 0 0;
    line-height: 32px;

    position: relative;

}
.footer_copyright ul.copiryghts_link li:after{
    display: block;
    height: 20px;
    width: 2px;
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    background: #fff;

}
.footer_copyright ul.copiryghts_link li:last-child:after{
    display: none;
}
.footer_copyright ul.copiryghts_link span{
    display: inline-block;
    line-height: 32px;
    padding: 0 4px;
}

.footer_copyright .elementor-widget-text-editor ul.copiryghts_link li a{
    display: inline-block;
    color: #fff;
    white-space: nowrap;
    line-height: 20px;
}
.footer_copyright .elementor-widget-text-editor ul.copiryghts_link li:before{
    display: none;
}
footer.elementor-location-footer{
    background: #FFFBF4;
    background: linear-gradient(180deg,rgba(255, 251, 244, 0) 0%, rgba(237, 225, 210, 1) 100%);
}
div[data-elementor-type="wp-page-disable"],
body.blog, body.single-post, body.page
{
    background-image: url("assets/img/line_background.png");
    background-size: contain;
    background-position: center top;
    background-repeat: repeat-y;

}
.p-0 nav ul li a{
    padding: 0!important;
}
.column-2 ul{
    column-count: 2;
}
.links_list nav ul li a:hover{
    text-decoration: underline!important;
}

/* home-page start */
.main_page_areas .e-div-block-base{
    padding-left: 20px!important;
    position: relative;
    border-left: 4px solid var(--zakon-green-gray);

}
.main_page_areas.divorse .e-div-block-base{
border-left: 4px solid var(--zakon-begie-light_v2);
}
.main_page_areas.mayno .e-div-block-base{
    border-left: 4px solid var(--zakon-violet_v2);
}
.main_page_areas.mediation .e-div-block-base{
    border-left: 4px solid var(--zakon-violet);
}
a.arrow-link{
    display: block;
    font-weight: 500;
    position: relative;
    padding-left: 24px;
    text-decoration: underline;

}

/* home-page end */

.contacts_form .elementor-field-group .elementor-button{
    margin-top: 30px;
}
.zakon_404_btn a{
    width: 200px;
}
@media (max-width: 991px) {
    .main_footer_top img{
        max-width: 225px;
    }
    .e-grid.main_footer_top .e-con-inner,
    .e-grid.main_footer_top .e-con-inner .elementor-element{
        grid-template-rows: none!important;
        /*display: block;*/
    }
    .footer_copyright ul.copiryghts_link{
        display: block;
    }
    .footer_copyright ul.copiryghts_link li{
        display: inline-block;
        float: left;
        margin: 0 8px 8px 0;
        padding: 0;
    }
    .footer_copyright ul.copiryghts_link li:after{
        display: none;
    }
    #elementor-popup-modal-76 .dialog-widget-content{
        animation: none !important;
        transition: none !important;
        transform: none !important;
        background-color: var(--zakon-green-main)!important;
    }
    div[data-elementor-type="wp-page"]{
        background-size: auto;
        background-position: left top;
    }
    .zakon_404_btn a{
        width: auto;
    }
    .column-2 ul{
        column-count: 1;
    }
}
/* 14-08-2026 - про адвоката */
.about_header > h1 {

}
.about_header h1 span.actent {
    color: var(--zakon-green-actent);
}
.about_header > h1 span.subh1 {
    font-size: 32px;
}

@media (max-width: 767px) {
    .about_header > h1 {
        font-size: 28px!important;
    }
    .about_header > h1 span.actent {
        font-size: 40px;
    }
    .about_header > h1 span.subh1 {
        font-size: 24px;
    }
}

.elementor-widget-n-carousel .swiper-pagination-bullet{
    width: 12px!important;
    height: 12px!important;
}

/* 15-08-2026 */
.elementor-widget-button a,
.elementor-widget-button a:hover,
.phone_btn a,
.phone_btn a:hover {
    text-decoration: none!important;
}