/*
 Theme Name: Tooth Fairy Child
 Theme URI: https://example.com
 Description: Child theme for Tooth Fairy
 Author: CODECK Adrian Kiełczykowski
 Template: tooth-fairy
 Version: 1.0
*/

.sc_item_title_text {
    font-family: "DM sans" !important;
    font-weight: 700;
}

.sc_layouts_menu_nav>li.current-menu-item>a,
.sc_layouts_menu_nav>li.current-menu-parent>a,
.sc_layouts_menu_nav>li.current-menu-ancestor>a,
.accent1,
.wpcf7 .wpcf7-submit-style .submit-style-in {
    color: #b98d53 !important;
}

.sc_layouts_menu_nav>li>a:hover,
.sc_layouts_menu_nav>li.sfHover>a {
    color: #b98d53 !important;
}

.menu_hover_color_line .sc_layouts_menu_nav>li:not(.menu-collapse)>a:after,
.menu_hover_color_line .sc_layouts_menu_nav>li:not(.menu-collapse).menu-item-has-children>a:after {
    background-color: #b98d53 !important;
}

table {
    width: 100%;
}

table th {
    text-align: left;
}

.wpcf7 .wpcf7-submit-style .submit-style-in:before {
    content: '\e9a5';
    font-family: "fontello";
    font-weight: 400;
    display: inline-block;
    position: absolute;
    z-index: 1;
    left: 36px;
    top: 50%;
    width: 1em;
    height: 1em;
    line-height: 1em;
    margin-top: -0.5em;
    color: #FFF;
}

.wpcf7 .wpcf7-submit-style:active .wpcf7-submit+.submit-style-in,
.wpcf7 .wpcf7-submit-style:focus .wpcf7-submit+.submit-style-in,
.wpcf7 .wpcf7-submit-style:hover .wpcf7-submit+.submit-style-in {
    background: #b98d53;
}

.page-id-1453 .sc_icons_item_header a {
    max-width: 325px !important;
}


@media only screen and (max-width: 768px) {

    .elementor-17076 .elementor-element.elementor-element-a43171b:not(.elementor-motion-effects-element-type-background),
    .elementor-17076 .elementor-element.elementor-element-a43171b>.elementor-motion-effects-container>.elementor-motion-effects-layer {
        background-color: #E3DCC9;
    }
}

.menu_mobile .menu_mobile_inner {
    background: #E3DCC9 !important;
}

.menu_mobile .menu_mobile_inner a,
.menu_mobile .menu_mobile_inner .menu_mobile_nav_area li:before,
.menu_mobile .menu_mobile_close .menu_button_close_icon,
.menu_mobile .social_item .social_icon {
    color: #000 !important;
}

footer p {
    color: #000 !important;
}

footer a {
    color: #000 !important;
}

.footer_wrap .sc_layouts_row_type_compact .sc_socials.sc_socials_default .socials_wrap .social_item .social_icon {
    border-color: #000;
}

footer [class^="icon-"]:before {
    color: #000;
}

/* body, html {
	text-align: justify !important;
} */
.top_panel.top_panel_custom_header-extra .search_wrap.search_opened {
    background: #E3DCC9;
}

@media only screen and (max-width: 768px) {
    .is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }
}

@media (max-width: 767px) {

    .sc_layouts_row.sc_layouts_row_fixed_on.sc_layouts_row_fixed_always .custom-logo-link img,
    .sc_layouts_row.sc_layouts_row_fixed_on.sc_layouts_row_fixed_always .sc_layouts_logo img,
    .search_modern .search_header_wrap .logo_image,
    .menu_mobile .sc_layouts_logo img {
        max-height: 55px !important;
    }
}

.sc_layouts_menu_nav>li>a {
    font-size: 17px;
    font-weight: 500 !important;
}


.menu-item-22342 a span {
    position: relative !important;
}

.menu-item-22342 a span:before {
    content: "Nowość" !important;
    position: absolute !important;
    top: -20px !important;
    left: 20px;
    font-size: 17px !important;
    text-transform: uppercase;
    color: red;
}

@media only screen and (max-width: 768px) {
    .menu-item-22342 a span:before {
        content: "Nowość" !important;
        position: absolute !important;
        top: -16px !important;
        left: 0;
        font-size: 12px !important;
        text-transform: uppercase;
        color: red;
    }

}

.sc_item_title_text {
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-wrap: break-word;
}

.elementor-19347 .elementor-element.elementor-element-af68958 img {
    filter: none;
}

.customposts {
    width: 100% !important;
}

.customposts .widget_recent_posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .customposts .widget_recent_posts {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.customposts .widget_recent_posts .post_item {
    width: 100%;
    flex-direction: column;
    justify-items: flex-start;
    margin-top: 0;
}

.customposts .widget_recent_posts .post_item .custom-news-thumb {
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
}

@media screen and (max-width: 768px) {
    .customposts .widget_recent_posts .post_item {
        width: 100%;
    }
}

.customposts .widget_recent_posts .post_item .post_thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: block;
    flex: none;
    margin: 0 0 20px !important;
}

.customposts .widget_recent_posts .post_item .post_info_posted a {
    color: #000 !important;
}

.post_featured {
    display: none;
}

#about-more {
    display: none;
}

#about-more .schema-faq-answer {
    background: transparent;
}

#about-more .schema-faq-question.active,
#about-more .schema-faq-question:hover {
    background-color: var(--e-global-color-primary);
}

/* Blog styles */
body.blog .content_wrap>.content {
    width: 100% !important;
}

body.blog .content_wrap>.sidebar {
    display: none;
}

body.blog .content_wrap>.content .posts_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

body.blog .content_wrap>.content .posts_container .post_item {
    margin-top: 0;
}

body.blog .content_wrap>.content .posts_container .post_item .post_featured {
    width: 100%;
}

body.blog .content_wrap>.content .posts_container .post_item .post_featured img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 768px) {
    body.blog .content_wrap>.content .posts_container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

body.blog .sc_layouts_title_caption,
body.single-post .sc_layouts_title_caption {
    max-width: 1260px;
    margin: 24px auto 0;
}

.lwptoc-light .lwptoc_i A {
    color: #2b2b2d !important;
}