/*
 Theme Name:  Divi Child Theme 3DStelki.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*****/
/* The size of width of Cookie Plugin */
#cookie-notice {
    min-width: 30% !important;
    margin-left: 40% !important;
}

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

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

/* 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;
}

/* Heading getting slimmer effect like the logo */
.debel {
    font-weight: 600;
}

.poslab {
    font-weight: 500;
}

.slab {
    font-weight: 300;
}

/* Buttons style */
.et_pb_button {
    box-shadow: 4px 4px 0 #01bfa5;
    transition: all 0.25s ease-in-out;
    font-weight: 500 !important;
}

.et_pb_button:hover {
    box-shadow: 0 0 0 #01bfa5;
    transform: translate(5px, 5px);
    font-weight: 500 !important;
}

body {
    font-weight: 500 !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* 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);
}

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

/* 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;
}

/* Center and space the submit button in Divi contact forms */
.center-submit .et_contact_bottom_container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    margin-top: 20px !important; /* Added spacing above the button */
}

/* 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;
}*/
