/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       Matavi
 Author URI:   https://www.matavi.eu/
 Template:     woodmart
 Version:      1.0.5
 Text Domain:  woodmart
*/

.wd-nav.wd-style-bg>li:is(:hover,
.current-menu-item,
.wd-active,
.active)>a {
    color: var(--wd-alternative-color);
}

.wd-nav[class*="wd-style-"] > li:hover > a {
    color: var(--wd-alternative-color);
}

.wd-nav[class*="wd-style-"]>li:is(.current-menu-item,
.wd-active,
.active)>a {
    color: var(--wd-alternative-color);
}

.wd-nav.wd-style-bg > li > a::before {
    background-color: #ffffff;
}

.mobili-recent-posts.widget {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: none;
}

.mobili-recent-posts li {
    display:flex;
    margin-bottom:15px;
    padding-bottom:15px;
    border-bottom:1px solid var(--brdcolor-gray-300)
}

.mobili-recent-posts li:last-child {
    margin-bottom:0;
    padding-bottom:0;
    border:none
}

.mobili-recent-posts .recent-posts-thumbnail {
    flex: 0 0 auto;
    max-width: 50%;
    overflow: hidden;
    margin-inline-end: 15px
}

.mobili-recent-posts .recent-posts-thumbnail img {
    min-width:60px;
    border-radius:calc(var(--wd-brd-radius) / 1.5)
}

.mobili-recent-posts .recent-posts-info {
    flex:1 1 auto
}

.mobili-recent-posts .wd-entities-title {
    margin-bottom:8px;
    font-size:inherit
}

.mobili-recent-posts :is(.recent-posts-time,
.recent-posts-comment) {
    color:var(--color-gray-300);
    font-size:90%
}

.mobili-recent-posts .recent-posts-time {
    margin-inline-end:5px
}

.mobili-recent-posts__more-link {
    margin-top: 15px;
}

.mobili-recent-posts__more-link a {
    font-weight: 500;
    color: var(--btn-default-color);
}

.mobili-recent-posts__more-link a:hover,
.mobili-recent-posts__more-link a:focus {
    color: var(--btn-default-color-hover);
}

.wd-content-layout {
    padding-block: 0;
}

table.compact_table {
    margin-bottom: 1rem;
    border-top: 1px solid var(--brdcolor-gray-300);
}

table.compact_table th {
    padding: 10px 10px 10px 0px;
}

table.compact_table td {
    text-align: right;
    padding: 10px 0px 10px 0px;
}

.whb-top-bar .wd-header-text.old-site {
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
}

.old-site a {
    text-decoration: underline;
}

.product-image-link .product-labels {
    gap: 6px;
    max-width: 100%;
}

.product-label {
    line-height: 1;
}

.newsletter-form-horizontal .tnp-form {
    display: flex;
    width: 520px;
}

@media (max-width: 991px) {
    .newsletter-form-horizontal .tnp-form {
        width: 100%;
    }
}

.newsletter-form-horizontal .tnp-widget-minimal input.tnp-email {
    border-radius: var(--wd-form-brd-radius) 0 0 var(--wd-form-brd-radius);
}

.newsletter-form-horizontal .tnp-widget-minimal input.tnp-submit {
    border-radius: 0 var(--wd-form-brd-radius) var(--wd-form-brd-radius) 0;
    background-color: var(--btn-accented-bgcolor);
    width: 180px;
}

.color-green {
    color: #83B735;
}

.box-apm {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
}

.box-apm .ays_poll_cb_and_a,
.box-apm .results-apm,
.box-apm .apm-title-box,
.box-apm .ays_question,
.box-apm .ays-poll-limitation {
    width: 100%;
}

.ays-poll-main .box-apm > div {
    margin: 4px 0;
}

.box-apm .ays-poll-limitation {
    order: 9;
}

.box-apm .ays_question {
    order: 10;
}

.box-apm .ays_poll_cb_and_a {
    display: none;
}

.sidebar-right .widget_custom_html,
.elementor-widget-sidebar .widget_custom_html {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
}

.sidebar-right .mobili-recent-posts,
.elementor-widget-sidebar .mobili-recent-posts {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
}

.sidebar-right .widget_polls-widget,
.elementor-widget-sidebar .widget_polls-widget {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
}

.sidebar-right .widget_polls-widget .wp-polls-ul,
.elementor-widget-sidebar .widget_polls-widget .wp-polls-ul,
.wp-polls-archive__card .wp-polls-ul {
    padding: 0 0 16px 0;
    margin: 0;
}

.sidebar-right .widget_polls-widget p,
.elementor-widget-sidebar .widget_polls-widget p {
    margin-bottom: 16px;
}

.sidebar-right .widget_polls-widget a,
.elementor-widget-sidebar .widget_polls-widget a {
    font-weight: 500;
    color: var(--btn-default-color);
}

.wp-polls-archive__card {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.wp-polls .buttons {
    width: 100%;
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--btn-accented-bgcolor);
    text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
    font-family: var(--btn-accented-font-family,var(--btn-font-family, inherit) );
    font-style: var(--btn-accented-font-style, var(--btn-font-style, unset));
}

.price .media-fee-block {
    display: block;
    font-size: 14px;
    color: #000000;
}

.media-fee-block .woocommerce-Price-amount {
    font-size: 14px!important;
    color: #000000;
}

.wd-slide-image {}

.wd-slide-image--desktop {
    display: block;
}
.wd-slide-image--mobile {
    display: none;
}

@media (max-width: 575.98px) {
    .wd-slide-image--desktop {
        display: none;
    }
    .wd-slide-image--mobile {
        display: block;
    }
}

.wd-brands .wd-nav-arrows.wd-pos-sep .wd-prev {
    inset-inline-end: calc(100% - 30px);
}

.wd-brands .wd-nav-arrows.wd-pos-sep .wd-next {
    inset-inline-start: calc(100% - 30px);
}

@media (min-width: 1025px) {
    .wd-brands .wd-nav-arrows.wd-pos-sep .wd-prev {
        inset-inline-end: calc(100% - 50px);
    }

    .wd-brands .wd-nav-arrows.wd-pos-sep .wd-next {
        inset-inline-start: calc(100% - 50px);
    }
}