/*
 Theme Name:  Divi Child Theme CoolDental.bg
 Theme URI:    https://www.facebook.com/alex.alexi1
 Description:  Child Theme for Divi
 Author:       Alex Alexi
 Author URI:   https://www.facebook.com/alex.alexi1
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/
/* Enables native smooth scrolling */
html {
    scroll-behavior: smooth !important;
    scroll-padding-top: 70px !important;
}

/* The size of width of Cookie Plugin */
#cookie-notice {
    min-width: 30% !important;
    margin-left: 0 !important;
}

/* Hide menu element on small Desktop screens */
@media only screen and (min-width: 981px) and (max-width: 1300px) {
    .hide-on-small-desktop {
        display: none !important;
    }
}

/* Letter spacing to the main menu - megamenu */
#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
    letter-spacing: 1px !important;
    font-weight: 500 !important;
}

/* Button effects */
body #page-container .et_pb_button:hover,
body #page-container .dipl_button_wrapper .dipl_button_link:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(243, 130, 32, 0.2) !important;
}

/* Center the button for all devices */
.center-submit .et_contact_bottom_container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    float: none !important;
    margin-top: 30px !important;
}

/* Ensure the button itself has no floats that could interfere */
.center-submit .et_contact_bottom_container .et_pb_contact_submit {
    float: none !important;
    margin: 0 !important;
}

/* Hide GDPR bottom bar on mobile devices */
/*@media only screen and (max-width: 767px) {
    .cookie-notice-container {
        display: none !important;
    }
}*/

/* ========================================================
   Отстраняване на Passive Event Listener грешки при тъч
======================================================== */

/* Указва на браузъра, че тези елементи ще се скролират само вертикално,
   което спира конфликтите с JavaScript-а на Divi за хоризонтален swipe */
/*.et_pb_gallery_items,
.et_pb_slider,
.et_pb_portfolio_grid,
.mfp-wrap {
    touch-action: pan-y !important;
}*/

/* Ако използвате Google Карта, това предотвратява грешки при опит за скролване върху нея */
/*.et_pb_map_container {
    touch-action: none !important;
}*/

/* Buttons style */
/*.et_pb_button {
    box-shadow: 0 2px 0 #1a396c;
    font-weight: 400;
}

.et_pb_button:hover {
    box-shadow: 0 2px 0 #1a396c;
    text-decoration: underline;
}*/

/*Hide the title in the gallery*/
/*.mfp-title {
    display: none;
}*/

/* Shadow on Mobile Menu */
/*@media (max-width: 980px) {
    .et_pb_row_0_tb_header.et_pb_row,
    .et_pb_row_1_tb_header.et_pb_row {
        box-shadow: 0 4px 12px 0 rgba(31, 38, 135, 0.10) !important;
    }
}*/

/* Menu (Glassmorphism) */
/*.et_pb_row_0_tb_header.et_pb_row,
.et_pb_row_1_tb_header.et_pb_row {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important; !* За Safari/iPhone *!
    box-shadow: 0 4px 12px 0 rgba(31, 38, 135, 0.10) !important;
}*/

/* Flag icon in the TranslatePress */
/*.trp-ls-language-name {
    padding-left: 8px !important;
}*/

/*body {
    scroll-behavior: smooth !important;
}*/

/* Optional: Ensures compatibility if Divi tries to override */
/*
body {
    scroll-behavior: smooth !important;
}
*/

/* Icon spacing in all Divi buttons */
/*.et_pb_button:before {
    margin-right: 0.3em !important; !* space between icon and text *!
    position: relative;
}*/

/*body {
    font-weight: 500 !important;
}*/

/* Offset anchors so sticky header doesn't cover them */
/*:target::before {
    content: "";
    display: block;
    height: var(--header-offset, 50px); !* adjust to your header height *!
    margin-top: calc(var(--header-offset, 50px) * -1);
}*/

/* On Contact us form hide placeholder on focus */
/*.et_pb_contact_form input:focus::placeholder,
.et_pb_contact_form textarea:focus::placeholder {
    opacity: 0;
}*/

/* On Contact us form Smooth fade for placeholders */
/*.et_pb_contact_form input::placeholder,
.et_pb_contact_form textarea::placeholder {
    transition: opacity .15s ease;
}*/

/* Make sure the button itself stays centered and behaves correctly */
/*.center-submit .et_pb_contact_submit,
.center-submit .et_contact_bottom_container .et_pb_button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    float: none !important;
}*/

/* Shadow on the "Поръчка" menu */
/*.shadow-menu-link {
    text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.5) !important;
}*/

/* Disable gallery animation effect from the left */
/*.et_pb_gallery_item {
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    animation: none !important;
}*/

/* Take out the divider line between content and sidebar */
/*#main-content .container:before {
    background: none;
}*/

/* Hide Sidebar */
/*#sidebar {
    display: none;
}*/
