/*
Theme Name: Avada Child theme
Author: 
Description: The Avada Website Builder is the ultimate design and creation suite.
Version: 7.10.1
Template: Avada

This is the child theme for Avada theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

.fusion-header .fusion-main-menu>ul>.book-btn a {
    display: inline-flex;
    margin: 0 auto;
    white-space: nowrap;
}

@media screen and (min-width: 992px) {
    .fusion-header .fusion-main-menu li.fusion-middle-logo-menu-logo.fusion-logo {
        flex: 0 0 25%;
        padding-left: 0px;
        padding-right: 0px !important;
    }

    .fusion-header-v7 .fusion-middle-logo-ul li {
        flex: 0 0 10%;
    }

    .fusion-header-v7 .fusion-middle-logo-ul li.book-btn {
        display: flex;
    }

    .fusion-header .fusion-main-menu>ul>li.book-btn a {
        padding: 13px 30px !important;
    }

    .fusion-header .fusion-main-menu>ul>li.book-btn a::before {
        padding: 21px 2px;
    }
}

.avada-html-is-archive .fusion-top-header .fusion-header {
    background-color: #ece1d5 !important;
}

body:not(.avada-has-mainmenu-dropdown-divider) .fusion-main-menu .fusion-dropdown-menu .sub-menu li a {
    text-transform: uppercase;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.8px;
}

body:not(.avada-has-mainmenu-dropdown-divider) .fusion-main-menu .fusion-dropdown-menu .sub-menu {
    width: 100%;
    margin-top: 24px;
}

body:not(.avada-has-mainmenu-dropdown-divider) .fusion-main-menu .fusion-dropdown-menu .sub-menu::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid #141617;
    border-top: 0;
    border-right-color: transparent;
    border-left-color: transparent;
}

body:not(.avada-has-mainmenu-dropdown-divider) .fusion-main-menu .fusion-dropdown-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    height: 24px;
    width: 100%;
    background-color: transparent;
    background: linear-gradient(to bottom,
            transparent 0%,
            /* Start with background color */
            transparent calc(100% - 5px),
            /* Continue until 5px from bottom */
            #141617 calc(100% - 4px),
            /* 1px thick dark border */
            transparent calc(100% - 3px)
            /* Restores background color */
        );

}



.post-type-archive #main,
.single-offer #main,
.blog #main {
    padding: 0 !important;
}

.post-type-archive #main .fusion-row,
.single-offer #main .fusion-row,
.blog #main .fusion-row {
    max-width: unset;
}

.txt-center {
    text-align: center;

}

.custom-bg-page.layout-wide-mode #wrapper,
.custom-bg-page.layout-wide-mode #main,
.single-offer.layout-wide-mode #wrapper,
.single-offer.layout-wide-mode #main {
    background-color: #E7D8C9;
}

.fusion-footer .book-btn a {
    background: transparent;
}

.fusion-footer .book-btn:hover a {
    background: transparent;
}

.fusion-footer .book-btn a::before {
    border: none !important;
}