/*
Theme Name:     Obklady Macho
Theme URI:      https://obkladymacho.cz
Description:    Child theme for Divi – customized for Obklady Macho
Author:         David Klhufek
Author URI:     https://phirebase.com
Template:       Divi
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    obklady-macho
*/

/* === Mobile Menu Styling === */
ul#mobile_menu.et_mobile_menu a,
ul#top-menu a {
    text-transform: uppercase;
}

/* === Image Titles Off === */
.mfp-title {
    display: none;
}

/* === Current Menu Item Styling === */
.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: #e11d2e;
}

/* === Menu CTA === */
@media (min-width: 980px) {
    #top-menu .menu_cta {
        display: inline-block !important;
        margin-left: 0px !important; 
    }
    #top-menu .menu_cta a {
        background-color: #e11d2e !important; 
        color: #fff !important; 
        padding: 12px 15px !important; 
        font-weight: bold !important;
        text-transform: uppercase !important;
        border: 2px solid #e11d2e !important; 
        border-radius: 2px !important; 
        display: inline-block !important;
        transition: all 0.3s ease-in-out !important;
    }
    #top-menu .menu_cta a:hover {
        background-color: #e11d2e !important; 
        color: #fff !important; 
        text-decoration: none !important;
    }
    #top-menu .menu_cta a:before {
        content: none !important;
    }
}

/* === Fix text colour in CTA button with fixed head === */
.et-fixed-header #top-menu .menu_cta a {
    color: #fff !important; 
}
.et-fixed-header #top-menu .menu_cta a:hover {
    color: #fff !important; 
}
.page-id-58 .et-fixed-header #top-menu .menu_cta a {
    color: #fff!important;
}

/* === Fix for CTA button for Mobile menu === */
@media (max-width: 1159px) {
    #mobile_menu .menu_cta a, 
    .et_mobile_menu .menu_cta a, 
    #top-menu .menu_cta a {
        background-color: #e11d2e !important; 
        color: #ffffff !important; 
        border: 2px solid #e11d2e !important; 
    }

    #mobile_menu .menu_cta a:hover, 
    .et_mobile_menu .menu_cta a:hover, 
    #top-menu .menu_cta a:hover {
        background-color: #e11d2e !important; 
        color: #fff !important; 
    }
}

/* === Contact Form Styling === */
.et-pb-contact-message {
    color: white;
}

/* === Scroll to Top Button === */
.et_pb_scroll_top.et-pb-icon {
    color: white;
    right: 30px;
    bottom: 30px;
    padding: 8px;
    border-radius: 30px;
    background: #e11d2e; 
    font-size: 32px;
    transition: all 0.1s ease-in-out;
}

.et_pb_scroll_top.et-pb-icon:hover {
    bottom: 32px;
    background: #e11d2e;
    transition: all 0.1s ease-in-out;
}

/* === Scroll Top Animations === */
.et_pb_scroll_top.et-visible {
    animation: fadeInBottom 1s cubic-bezier(0.50, 0, 0.16, 1);
}
.et_pb_scroll_top.et-hidden {
    opacity: 0;
    animation: fadeOutBottom 1s cubic-bezier(0.77, 0, 0.175, 1);
}

