/*
Theme Name: Dentario Child Theme
Theme URI: https://dentario.themerex.net/
Description: Dentario is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 2.10.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: dentario
Template: dentario
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* NOTES
   - The digit/numeral font-size-adjust fix for the "telugu-mn" font is NOT in this
     file. It lives in an HTML block in the footer (must load after Elementor's and
     the Fonts Plugin's @font-face declarations to win the cascade). See that block
     for the @font-face override with unicode-range: U+0030-0039.
------------------------------------------------------------ */


/* ==========================================================================
   HEADER
   ========================================================================== */

/* Header Button Arrow */
.sc_button.sc_button_simple:before,
.sc_button.sc_button_simple:after {
    content: none !important;
}

.sc_button.sc_button_simple {
    padding: 0 !important;
}

/* Header Background (Over-layout) */
.header_position_over .top_panel {
    background: #380107 !important;
}

/* Header Mobile + Tablet: burger icon color */
@media (max-width: 1279px) {
    .sc_layouts_row_type_compact .sc_layouts_item_icon,
    [class*=scheme_].sc_layouts_row_type_compact .sc_layouts_item_icon {
        color: white !important;
    }
}

/* Header Mobile only: compact row background */
@media (max-width: 767px) {
    .header_position_over:not(.trx_addons_page_scrolled) .top_panel .sc_layouts_row[class*=scheme_],
    .header_position_over .top_panel .sc_layouts_row[class*=scheme_]:not(.sc_layouts_row_fixed_on) {
        background-color: #380107 !important;
    }
}


/* ==========================================================================
   MENU (Desktop Dropdown)
   ========================================================================== */

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

.sc_layouts_menu_nav > li:not(.trx_addons_stretch_window) > ul,
.sc_layouts_menu_nav > li:not(.trx_addons_stretch_window) > ul ul {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2) !important;
    border-radius: 0px 0px 10px 10px;
}

/* Submenu */
.sc_layouts_menu_nav > li ul:not(.sc_item_filters_tabs) {
    margin-top: -12px !important;
}

.sc_layouts_menu_nav > li > ul.sc_layouts_submenu,
.sc_layouts_menu_nav > li > ul.sc_layouts_submenu ul {
    background-color: #fff !important;
}

.sc_layouts_menu_nav > li li > a,
.menu_mobile_nav li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs) li > a,
.sc_layouts_menu li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs) li > a {
    color: var(--wp--preset--color--text-link-2) !important;
}

.sc_layouts_menu_nav > li li > a:hover,
.menu_mobile_nav li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs) li > a:hover,
.sc_layouts_menu li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs) li > a:hover {
    color: #AA8956 !important;
}

.menu_mobile_nav li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs),
.sc_layouts_menu li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs) {
    box-shadow: none !important;
}

.sc_layouts_menu li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs) li + li {
    margin-top: 5px !important;
}

/* Submenu background (stretched mega-menu wrapper) */
.sc_layouts_menu_stretch_bg {
    background-color: rgba(255, 255, 255, 0) !important;
}

/* Mega Menu Searchbar */
.custom-searchbar .sc_layouts_search,
.custom-searchbar .sc_layouts_search .search_form_wrap {
    width: 100%;
}

.custom-searchbar .sc_layouts_search .search_wrap.search_style_normal {
    width: 100%;
    background: #fff !important;
    border: 1px solid #aa8956 !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.custom-searchbar .sc_layouts_search .search_form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    background: transparent !important;
    box-sizing: border-box;
}

.custom-searchbar .sc_layouts_search .search_field {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 18px 0 48px !important;
    margin: 0 !important;
    line-height: 48px;
    font-size: 16px;
    color: var(--wp--preset--color--text-link-2) !important;
    caret-color: var(--wp--preset--color--text-link-2) !important;
    box-sizing: border-box;
}

.custom-searchbar .sc_layouts_search .search_field:focus {
    outline: none !important;
    box-shadow: none !important;
    color: var(--wp--preset--color--text-link-2) !important;
}

.custom-searchbar .sc_layouts_search .search_field::placeholder {
    color: var(--wp--preset--color--text-link-2) !important;
    opacity: 0.5;
}

.custom-searchbar .sc_layouts_search .search_submit {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    opacity: 1 !important;
    box-shadow: none !important;
    z-index: 2;
}

.custom-searchbar .sc_layouts_search .search_submit:before,
.custom-searchbar .sc_layouts_search .trx_addons_icon-search:before {
    color: var(--wp--preset--color--text-link-2) !important;
    opacity: 1 !important;
    font-size: 16px;
    line-height: 16px;
    display: block;
}

.custom-searchbar .sc_layouts_search .search_submit:hover,
.custom-searchbar .sc_layouts_search .search_submit:focus,
.custom-searchbar .sc_layouts_search .search_submit:active,
.custom-searchbar .sc_layouts_search .search_submit:hover:before,
.custom-searchbar .sc_layouts_search .search_submit:focus:before,
.custom-searchbar .sc_layouts_search .search_submit:active:before,
.custom-searchbar .sc_layouts_search .trx_addons_icon-search:hover:before,
.custom-searchbar .sc_layouts_search .trx_addons_icon-search:focus:before,
.custom-searchbar .sc_layouts_search .trx_addons_icon-search:active:before {
    color: var(--wp--preset--color--text-link-2) !important;
    opacity: 1 !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* ==========================================================================
   PAGE HEADER / BREADCRUMBS
   ========================================================================== */

.sc_layouts_title_breadcrumbs .breadcrumbs,
.sc_layouts_title_breadcrumbs .breadcrumbs a,
.sc_layouts_title_breadcrumbs .breadcrumbs .breadcrumbs_item,
.sc_layouts_title_breadcrumbs .breadcrumbs .current {
    text-transform: none !important;
}

.sc_item_subtitle {
    font-size: 20px !important;
    opacity: 1 !important;
    text-transform: none !important;
    margin-bottom: 20px !important;
	line-height: 1.2em;
}

    @media (max-width: 767px) {
        .sc_item_subtitle {
            line-height: inherit !important;
        }
    }


/* ==========================================================================
   GLOBAL TEXT / IMAGE HELPERS
   ========================================================================== */

/* Text Fancy Underline */
.brush-underline {
    display: inline-block;
    position: relative;
    padding-bottom: 0.15em;
    background-image: url('https://cloone.my/demo/imperialdsc2/wp-content/uploads/2026/07/underline-idsc-2.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
}

/* Remove rounded corners from all WP images globally */
img[class*=wp-image-] {
    border-radius: 0px;
}


/* ==========================================================================
   HOMEPAGE — "Meet Our Dental Experts" (Team Metro)
   ========================================================================== */

.sc_team_metro .sc_team_item.has-post-thumbnail .post_featured {
    flex: 1 0 45% !important;
    max-width: 45% !important;
}

.sc_team_metro .sc_team_item {
    border: 1px solid #C9A96E;
    border-radius: 20px 0 20px 0 !important;
    background: #fff !important;
}

.sc_team_metro .sc_team_item_info {
    padding: 13px 20px !important;
    background: #fff !important;
}

/* Card Image Border - scope this if possible */
.sc_team_metro img[class*="wp-image-"] {
    border-radius: 0 !important;
}

.sc_team_metro .sc_team_slider:not(.slider_outer_one) .sc_team_item_title {
    font-size: 20px !important;
}

.sc_team_metro .sc_team_item_subtitle {
    font-size: 15px !important;
    color: #C9A96E !important;
}

.sc_team_metro .sc_team_item_content {
    font-size: 14px !important;
    margin: 10px 0 !important;
}

.sc_team_metro .sc_team_item_socials {
    margin-top: 10px !important;
}


/* ==========================================================================
   TESTIMONIALS — Read More
   ========================================================================== */

.sc_testimonials_item_content p:not(:first-of-type) {
    display: none;
}

.testimonial-read-more {
    margin-top: 12px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
    color: #b48b5f;
}


/* ==========================================================================
   STICKY SOCIAL ICONS
   ========================================================================== */

.sticky_socials_wrap.sticky_socials_default {
    right: 35px !important;
    left: auto !important;
    max-height: 400px !important;
}

.sticky_socials_wrap.sticky_socials_default .social_item .social_icon {
    background-color: white !important;
    border-color: #380107 !important;
    color: #380107 !important;
}

.sticky_socials_wrap.sticky_socials_default .social_item .social_icon:hover {
    color: #AA8956 !important;
    border-color: #AA8956 !important;
}

/* Sticky Waze icon: hide the original ThemeREX map icon, insert Waze glyph instead */
.social_icon_map .icon-map {
    display: none !important;
}

.social_icon_map:before {
    font-family: "Font Awesome 6 Brands" !important;
    content: "\f83f" !important;
    font-size: 18px !important;
    display: inline-block;
}

@media (max-width: 1279px) {
    .sticky_socials_wrap {
        display: flex !important;
        margin-right: -20px;
    }
}


/* ==========================================================================
   FORMS (Contact Form 7)
   ========================================================================== */

/* Submit Button */
.wpcf7 .wpcf7-submit-style .submit-style-in {
    background-color: #380107 !important;
    border-radius: 0px 20px 0px 20px !important;
}

.wpcf7 .wpcf7-submit-style .submit-style-in:before {
    color: white;
    left: 30px !important;
}

/* Form Style 6 — custom submit button layout */
.wpcf7 .form-style-6 .wpcf7-submit-style {
    display: inline-block;
    margin-top: 10px;
    position: relative;
    transition: transform 0.25s ease;
}

.wpcf7 .form-style-6 .wpcf7-submit-style:hover {
    transform: translateY(-2px);
}

.wpcf7 .form-style-6 .wpcf7-submit-style .wpcf7-submit {
    margin: 0 !important;
    padding: 13px 40px 10px 60px !important;
    min-height: unset !important;
    height: auto !important;
    line-height: 1.2 !important;
    background: transparent !important;
    position: relative;
    z-index: 2;
}

.wpcf7 .form-style-6 .wpcf7-submit-style .submit-style-in {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}


/* ==========================================================================
   APPOINTMENTS (Booked Calendar / QuickCal)
   ========================================================================== */

html body div.booked-calendar-wrap div.booked-calendar .bc-head .bc-row.top .bc-col.bc-col {
    background: #380107 !important;
    border-color: #380107 !important;
}

html body div.booked-calendar-wrap div.booked-calendar .bc-body .bc-row.week div.bc-col.today.active span.date.date,
html body div.booked-calendar-wrap div.booked-calendar .bc-body .bc-row.week div.bc-col.active span.date.date,
html body div.booked-calendar-wrap div.booked-calendar .bc-body .bc-row.week div.bc-col:hover span.date.date {
    background-color: #aa8956 !important;
    color: white !important;
}

body div.booked-calendar-wrap div.booked-calendar .bc-body .bc-row.entryBlock .bc-col {
    border: 10px solid #aa8956 !important;
}

html body div.booked-calendar-wrap .booked-appt-list .timeslot-people button.new-appt.button:not([disabled]) {
    background: #380107 !important;
    color: #fff !important;
    border-radius: 0px 20px 0px 20px !important;
}

body div.booked-calendar-wrap .booked-appt-list .timeslot .timeslot-people button[disabled],
body div.booked-calendar-wrap .booked-appt-list .timeslot .timeslot-people button[disabled]:hover {
    border-radius: 0px 20px 0px 20px !important;
}


/* ==========================================================================
   SEARCH RESULTS
   ========================================================================== */

/* Hide the "Home" page from search results */
.search-results article#post-22195,
.search-results .post-22195,
.search-results [data-post-id="22195"] {
    display: none !important;
}

/* Remove the column wrapper if it contains only the Home result */
.search-results .column-1_3:has(article#post-22195),
.search-results .column-1_3:has(.post-22195),
.search-results .column-1_3:has([data-post-id="22195"]) {
    display: none !important;
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */

/* No Hover Icons: keep icon colors static on hover */
.no-hover-icons .sc_icons_item:hover .sc_icons_icon,
.no-hover-icons .sc_icons_item:hover .sc_icons_icon svg path,
.no-hover-icons .sc_icons_item:hover .sc_icons_decoration_bg svg path {
    color: #AA8956 !important;
    fill: inherit !important;
    opacity: 1 !important;
}

/* Text in Buttons */
.elementor-button-text {
    padding-top: 6px !important;
}


/* ==========================================================================
   HOMEPAGE — "I'm here to Look For..." icon boxes
   ========================================================================== */

.fixed-height {
    overflow: hidden;
}

.fixed-height .elementor-icon-box-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) and (max-width: 1279px) {
    .fixed-height {
        height: 85px;
    }
}

@media (max-width: 767px) {
    .fixed-height {
        height: 135px;
    }

    .elementor-widget-icon-box.elementor-mobile-position-block-start.fixed-height .elementor-icon-box-wrapper {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
}


/* ==========================================================================
   MOBILE MENU (Fullscreen Overlay)
   ========================================================================== */

.menu_mobile .menu_mobile_inner {
    background-color: #380107 !important;
}

@media (max-width: 767px) {
    .elementor-22978 .elementor-element.elementor-element-33440f0:not(.elementor-motion-effects-element-type-background),
    .elementor-22978 .elementor-element.elementor-element-33440f0 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-color: unset !important;
    }
}

@media (max-width: 1279px) {
    .menu_mobile_nav.menu_mobile_nav.menu_mobile_nav li > ul.sc_layouts_submenu ul:not(.sc_item_filters_tabs) li > a {
        color: #ffffff !important;
    }

    .menu_mobile .menu_mobile_inner.with_widgets .menu_mobile_content_wrap_inner {
        margin-right: 0% !important;
    }

    .menu_mobile .menu_mobile_nav_area {
        top: 15% !important;
        max-height: 74% !important;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .menu_mobile.menu_mobile.menu_mobile .menu_mobile_widgets_area {
        display: none !important;
    }
}

.menu_mobile .menu_mobile_nav_area ul.sc_layouts_submenu {
    margin-top: -40px !important;
}