/*
Theme Name:     TAX Managers
Theme URI:      n/a
Template:       kadence
Author:         Taktika.com.pl
Author URI:     https://taktika.com.pl
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Blog */

.blog article.entry,
.archive article.entry {
    border: 1px solid #35824C;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr;
    align-items: flex-start;
}

body:not(.home) h2 {
    font-weight: 700;
    font-size: 28px;
}

.blog.content-style-unboxed .entry-content-wrap,
.archive.content-style-unboxed .entry-content-wrap {
    padding: 0 20px;
}

h2.entry-title {
    color: #47474F;
    line-height: 1.2;
}

h1.page-title.post-home-title.archive-title {
    color: #222222;
    margin: 20px 0 40px;
    font-size: 45px;
    font-weight: 900;
}

footer.entry-footer .entry-actions .more-link-wrap a {
    padding: 10px 25px 13px;
    line-height: 1;
    border-radius: 25px;
    background-color: #54cf79;
    color: white;
    display: inline-block;
    margin-top: 0;
    float: right;
    margin-bottom: 15px;
}

.entry-summary {
    margin-top: 0;
}

.entry-summary p {
    font-size: 14px;
    line-height: 22px;
}

.entry-header-wrap .entry-header {
    margin-bottom: 0;
}

.wp-site-blocks .post-thumbnail {
    padding-bottom: 36.67%;
}

img.avatar {
    border: 4px solid #54cf79;
}

#archive-container {
    padding-bottom: 50px;
}

#secondary {
    margin-top: 130px;
    position: sticky;
    top: 125px;
    height: fit-content;
    padding-bottom: 50px;
}

#single-post-sidebar {
    margin-top: 50px;
    position: sticky;
    top: 125px;
    height: fit-content;
    padding-bottom: 50px;
}

.widget {
    border: 1px solid #35824C;
    border-radius: 25px;
    padding: 20px;
    background-color: #F7F7F7;
}

.widget .wp-block-categories-list {
    list-style-type: none !important;
    padding-left: 0;
    margin-bottom: 0;
}

.header-navigation .header-menu-container ul ul.sub-menu,
.header-navigation .header-menu-container ul ul.submenu {
    background: white;
    border-radius: 15px;
}

.header-navigation .header-menu-container ul ul li.menu-item>a {
    color: #103a18;
    font-size: 14px;
}

.header-navigation .header-menu-container ul ul li.menu-item:first-child>a {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.header-navigation .header-menu-container ul ul li.menu-item:last-child>a {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.header-navigation .header-menu-container ul ul li.menu-item>a:hover {
    background: #103a18;
}

.header-navigation .header-menu-container ul ul li.menu-item>a:hover {
    background: #103a18;
}

.mobile-navigation ul li.menu-item-has-children ul a {
    font-size: 24px;
}

.mobile-navigation ul li.menu-item-has-children ul {
    background: #103a18;
    border-radius: 25px;
    padding-left: 0;
}

.widget .wp-block-categories-list li:before {
    display: none;
}

.widget .wp-block-heading {
    color: #222222;
    font-size: 20px;
    margin-bottom: 10px;
}

.widget.widget_block.widget_search {
    padding: 0;
    overflow: hidden;
}

.widget.widget_block.widget_search label {
    display: none;
}

.widget.widget_block.widget_search input {
    width: 100%;
    border: none;
    background-color: #f7f7f7;
    padding: 17.5px 10px 15px 20px;
}

.widget.widget_block.widget_search button {
    display: none;
}

.widget ul {
    list-style-type: none;
}

.widget ul li:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #3d8753;
    border-radius: 50%;
    background-color: white;
    margin-right: 10px;
    transform: translateY(4px);
    aspect-ratio: 1;
    flex: 0 0 auto;
}

.widget ul li {
    position: relative;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

footer.entry-footer .entry-actions .more-link-wrap a {
    margin-top: 10px;
}

/* Single Post */

.single .entry-content-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    width: 100%;
}

.single .entry-header {
    width: 100%;
    z-index: 1;
    position: absolute;
    margin: 0 auto;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.single .entry-content.single-content {
    flex: 0 0 70%;
    width: 70%;
}

.single article.entry {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.single aside#single-post-sidebar {
    flex: 0 0 calc(30% - 30px);
}

.single article footer.entry-footer {
    order: 5;
    width: calc(45% - 20px);
    margin-left: 5%;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
}

.single .entry-meta {
    padding-left: 10px;
}

.single .entry-related-carousel h3 a {
    color: #47474F;
    font-size: 17px;
}

.single .entry-related-carousel h3 a {
    color: #47474F;
    font-size: 17px;
}

.ez-toc-btn-default {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 10px;
}

.ez-toc-btn-default svg,
.ez-toc-btn-default svg path {
    fill: #54CF79 !important;
}

.entry-related-carousel footer.entry-footer .entry-actions .more-link-wrap a {
    font-size: 12px;
    text-transform: none;
    padding: 10px 17px 10px;
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: column;
    margin: 0;
}

footer.entry-footer .entry-actions .more-link-wrap a svg {
    display: none;
}

.content-style-unboxed .kadence-thumbnail-position-behind:after {
    background: linear-gradient(0deg, rgb(84 207 121 / 90%) 35%, transparent 85%);
}

.single h1.entry-title {
    color: white;
    font-size: 58px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.kadence-thumbnail-position-behind {
    margin-bottom: 0;
}

.single .entry-header-inner {
    max-width: 1400px;
    width: 100%;
}

.single .entry-meta {
    color: white;
    font-size: 28px;
    margin-top: 0;
}

.single img.avatar {
    border-color: white;
}

.entry-meta>*:after {
    width: 12px;
    height: 12px;
    border: 1px solid #3d8753;
    background-color: white;
    opacity: 1;
    margin: 0 15px;
}

.entry-meta>*:after {
    width: 12px;
    height: 12px;
    border: 1px solid #3d8753;
    background-color: white;
}

.category-link-items {
    color: transparent;
}

.category-link-items a {
    color: white;
    background-color: #3d8753;
    padding: 2px 25px;
    border-radius: 8px;
    font-size: 25px;
}

.single .entry-meta .author-avatar {
    margin-right: 20px;
}

ul.wp-block-social-links li:before {
    display: none;
}

.gap-3px {
    gap: 3px !important;
}

::selection {
    background-color: #54cf79;
    color: white;
}

.ez-toc-title,
.ez-toc-title-toggle {
    text-transform: none;
    color: #222222;
    font-size: 20px;
    margin-bottom: 10px;
}

div.ez-toc-widget-container ul {
    margin-left: 0;
    margin-bottom: 0;
}

.ez-toc-widget-container ul.ez-toc-list li {
    flex-wrap: wrap;
}

.ez-toc-widget-container ul.ez-toc-list ul {
    flex-wrap: wrap;
}

.ez-toc-widget-container ul.ez-toc-list li::before {
    height: 13px;
    width: 13px;
    left: 4px;
    top: 2px;
}

.ez-toc-widget-container ul li a {
    width: 100%;
}

.ez-toc-widget-container ul.ez-toc-list li.active {
    background-color: transparent !important;
}

.ez-toc-widget-container ul.ez-toc-list li a {
    padding-left: 25px;
    font-size: 90% !important;
}

.ez-toc-widget-container ul.ez-toc-list li ul li::before {
    width: 9px;
    height: 9px;
    border: none;
    background-color: #3d8753;
    top: 4px;
}

.comment-navigation .nav-previous:after,
.post-navigation .nav-previous:after {
    display: none;
}

.post-navigation-sub small {
    padding: 10px 35px;
    color: white;
    background-color: #54cf79;
    border-radius: 25px;
}


.single .ez-toc-widget-container ul.ez-toc-list li a:hover {
    color: #54cf79 !important;
}

.single h2.wp-block-heading,
.single h3.wp-block-heading {
    color: #222;
}

.single h2.wp-block-heading {
    font-size: 32px;
}

.wp-block-table tbody tr:nth-child(even) {
    background-color: #e6e6e6;
}

.wp-block-table td,
.wp-block-table th {
    border-color: #bac2bc;
}

.wp-block-table thead tr {
    background-color: #103a18;
    color: #54cf79;
}

.wp-block-table thead {
    border-bottom-width: 1px;
}

.wp-block-table th {
    border-right-color: #3d6145;
    padding: .5rem 1.5rem;
}

.single a {
    text-decoration-skip-ink: none;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: #54cf79;
}

.loop-entry .entry-summary p,
.loop-entry .entry-header .entry-meta {
    margin: 1em 0;
    max-height: 130px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.single .entry-related {
    background: transparent;
}

.entry-related .splide__slide article {
    border: 1px solid #54cf79;
    border-radius: 25px;
}

.single .entry-related article.entry {
    display: block;
    padding: 0;
    overflow: hidden;
}

.entry-related-carousel .author a {
    color: #47474F;
    font-size: 11px;
    font-weight: 700;
    max-width: 73px;
    display: inline-block;
}

.single .entry-related-carousel .author-avatar {
    margin-right: 10px;
}

.entry-related-carousel .entry-summary {
    display: block;
    padding: 0 10px 10px;
}

.single .entry-related-carousel .entry-header {
    position: relative;
    justify-content: flex-start;
    padding: 7px 15px;
}

.single .entry-related-carousel .entry-header h3 {
    color: #222;
    text-align: left;
}

.single .entry-related-carousel .entry-content-wrap {
    gap: 5px;
}

.single .entry-related-carousel.splide .splide__arrow {
    display: none;
}

.entry-related-carousel .entry-summary p {
    margin: 0;
    max-height: 50px;
    font-size: 12px;
    line-height: 1.4;
    position: relative;
}

.entry-related-carousel .entry-summary p:after {
    content: '';
    display: block;
    height: 18px;
    background: linear-gradient(45deg, transparent 30%, white 100%);
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
    font-size: 14px;
    padding: 0 5px;
}

@media (max-width: 1400px) {
    .single.content-style-unboxed .entry:not(.loop-entry)>.entry-content-wrap {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .single .entry-content.single-content {
        flex: 0 0 100%;
        width: 100%;
    }

    .single aside#single-post-sidebar {
        flex: 0 0 100%;
    }
}

/* Service */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    width: 130%;
}

.hero-background-mask {
    background: linear-gradient(90deg, #35824C 51%, rgba(255, 255, 255, 0) 80%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 100%;
}

.hero-title {
    color: white;
    font-size: 55px;
}

.hero-subtitle {
    font-size: 43px;
    line-height: 1.2;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-lead {
    background-color: #54CF79;
    padding: 20px;
    margin-top: 30px;
    border-radius: 20px;
    width: 80%;
    font-size: 20px;
    color: #0A3918;
}

.hero-lead h1,
.hero-lead h2,
.hero-lead h3,
.hero-lead h4,
.hero-lead h5,
.hero-lead h6,
.hero-lead p {
    font-size: 20px;
    color: #0A3918;
    margin-top: 0;
}

.service-content {
    padding: 60px 0;
}

.single-service p {
    font-size: 17px;
    line-height: 1.2;
}

.service-content h2,
.service-content h1,
.service-content h3,
.service-content h4,
.service-content h5,
.service-content h6 {
    margin-top: 15px;
    margin-bottom: 25px;
}

.service-content .kb-form-basic-style input[type=text],
.service-content .kb-form-basic-style input[type=email],
.service-content .kb-form-basic-style input[type=url],
.service-content .kb-form-basic-style input[type=password],
.service-content .kb-form-basic-style input[type=search],
.service-content .kb-form-basic-style input[type=number],
.service-content .kb-form-basic-style input[type=tel],
.service-content .kb-form-basic-style input[type=range],
.service-content .kb-form-basic-style input[type=date],
.service-content .kb-form-basic-style input[type=month],
.service-content .kb-form-basic-style input[type=week],
.service-content .kb-form-basic-style input[type=time],
.service-content .kb-form-basic-style input[type=datetime],
.service-content .kb-form-basic-style input[type=datetime-local],
.service-content .kb-form-basic-style input[type=color],
.service-content .kb-form-basic-style input[type=file],
.service-content .kb-form-basic-style textarea {
    border-radius: 25px;
    border-color: transparent;
    padding: 10px 30px;
}

.service-content .kb-form-basic-style input[type=text]:focus,
.service-content .kb-form-basic-style input[type=email]:focus,
.service-content .kb-form-basic-style input[type=url]:focus,
.service-content .kb-form-basic-style input[type=password]:focus,
.service-content .kb-form-basic-style input[type=search]:focus,
.service-content .kb-form-basic-style input[type=number]:focus,
.service-content .kb-form-basic-style input[type=tel]:focus,
.service-content .kb-form-basic-style input[type=range]:focus,
.service-content .kb-form-basic-style input[type=date]:focus,
.service-content .kb-form-basic-style input[type=month]:focus,
.service-content .kb-form-basic-style input[type=week]:focus,
.service-content .kb-form-basic-style input[type=time]:focus,
.service-content .kb-form-basic-style input[type=datetime]:focus,
.service-content .kb-form-basic-style input[type=datetime-local]:focus,
.service-content .kb-form-basic-style input[type=color]:focus,
.service-content .kb-form-basic-style input[type=file]:focus,
.service-content .kb-form-basic-style textarea:focus {
    border-color: transparent;
}

body .service-content .kb-form-basic-style input[type="checkbox"] {
    border-radius: 5px !important;
    border-color: transparent !important;
}

.service-content .kb-form-basic-style input[type=checkbox]:checked {
    background: #0A3918;
}

.service-content .kb-form-basic-style .kb-radio-check-item label {
    color: #0A3918;
    line-height: 1.2;
    font-size: 14px;
}

.kb-adv-form-success {
    margin-top: 40px;
    border-radius: 25px;
}

@media (max-width: 992px) {
    .hero-inner {
        width: 100%;
        padding: 30px 0;
    }

    h1.hero-title {
        font-size: 28px;
    }

    .hero-lead {
        width: 100%;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        background-color: #35824C;
    }

    .hero-background-mask {
        background: linear-gradient(0deg, #35824C 65%, rgba(255, 255, 255, 0) 105%);
        display: none;
    }

    .hero-lead p {
        font-size: 16px;
    }

    .hero-image {
        order: 0;
    }

    .hero .content-container.site-container {
        order: 1;
        padding: 0 15px;
    }

    #contact-form h3 {
        font-size: 34px !important;
    }

    #contact-form p {
        font-size: 25px !important;
    }

    .single-service p {
        font-size: 15px;
    }
}