/*
Theme Name: MD Child Theme
Template: md
Theme URI: https://md.axiomthemes.com/
Description: MD Child Theme
Author: AxiomThemes
Author URI: https://axiomthemes.com/
Version: 1.0
Tested up to: 6.9
Requires at least: 5.5
Requires PHP: 7.4
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: md
*/


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

.mfp-bg {
    background-color: #000000 !important;
    opacity: 0.8 !important;
}

/* Базові стилі попапа (для ПК) */
#clinic-booking-popup {
    background: #ffffff;
    padding: 30px;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 10px;
    position: relative;
}

/* Адаптація під мобільні телефони (екрани до 768px) */
@media (max-width: 768px) {
    #clinic-booking-popup {
        padding: 15px; /* Зменшуємо внутрішній відступ вдвічі */
        margin: 15px auto; /* Зменшуємо відступ зверху/знизу */
        width: 95%; /* Форма займає майже весь екран по ширині */
    }
}

@media (max-width: 768px) {
    /* Центруємо календар і не даємо йому розривати екран */
    .flatpickr-calendar.static.open {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) scale(0.9) !important;
        transform-origin: top center !important;
        margin-top: 5px !important;
    }
}

.cky-revisit-bottom-left {
   display:none !important;
}

@media (max-width: 768px) {
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, a, 
    .elementor-widget-text-editor, .elementor-heading-title {
        word-wrap: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        -webkit-hyphens: none !important;
        hyphens: none !important;
    }
}

#trx-addons-nav-menu-item-57{
	display:none;
}

.flatpickr-calendar.static.open {
	position:relative;
}