/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.service-area-list {
    width: 100%;
}

.service-area-group {
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 24px 20px;
    margin-bottom: 24px;
    border-radius: 2px;
}

.service-area-letter {
    font-size: 28px;
    font-weight: 400;
    color: #075fc4;
    margin: 0 0 18px 0;
    line-height: 1.2;
}

.service-area-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.service-area-item {
    position: relative;
    display: inline-block;
    color: #111;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    padding: 0 12px;
    margin-bottom: 8px;
}

.service-area-item:first-child {
    padding-left: 12px;
}

.service-area-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 1px;
    height: 20px;
    background: #ff2b2b;
}

.service-area-item:hover {
    color: #075fc4;
    text-decoration: none;
}

@media (max-width: 767px) {

    .service-area-group {
        padding: 20px 15px;
        margin-bottom: 18px;
    }

    .service-area-letter {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .service-area-item {
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
    }

}

/* video*/
.acf-video-loop-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.acf-video-item {
    width: 100%;
    overflow: hidden;
}

.acf-video-item iframe,
.acf-video-item video {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .acf-video-loop-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .acf-video-item iframe,
    .acf-video-item video {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .acf-video-loop-wrapper {
        grid-template-columns: 1fr;
    }

    .acf-video-item iframe,
    .acf-video-item video {
        height: 250px;
    }
}

/* Service Name */
.service-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.service-list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 15px 20px;
    background: #FF0000;
    border: none;
    border-radius: 0;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.service-list-item span {
    color: #000 !important;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/* Hover */
.service-list-item:hover {
    background: #000;
    text-decoration: none !important;
}

.service-list-item:hover span {
    color: #fff !important;
    text-decoration: none !important;
}

/* Mobile */
@media (max-width: 767px) {
    .service-list-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .service-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   ELEMENTOR SERVICE MEGA MENU
   Parent menu class: mega-menu-yellow
   ===================================================== */


/* Parent menu item */
.elementor-nav-menu--main li.mega-menu-yellow {
    position: static !important;
}


/* Mega menu dropdown */
.elementor-nav-menu--main li.mega-menu-yellow > ul.sub-menu {
    width: 1050px !important;
    min-width: 1050px !important;

    background: #f5c400 !important;

    padding: 20px !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;

    column-gap: 20px !important;
    row-gap: 0 !important;

    position: absolute !important;
    left: 50% !important;
    top: 100% !important;

    transform: translateX(-50%) !important;

    border: 0 !important;
    border-radius: 0 0 4px 4px !important;

    box-shadow: 0 8px 25px rgba(0,0,0,0.25) !important;

    z-index: 999999 !important;
}


/* Individual submenu item */
.elementor-nav-menu--main li.mega-menu-yellow > ul.sub-menu > li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    border-bottom: 1px solid rgba(0,0,0,0.18) !important;
}


/* Submenu link */
.elementor-nav-menu--main li.mega-menu-yellow > ul.sub-menu > li > a {
    width: 100% !important;
    min-height: 48px !important;

    display: flex !important;
    align-items: center !important;

    box-sizing: border-box !important;

    padding: 12px 10px !important;

    background: transparent !important;
    color: #000000 !important;

    font-size: 15px !important;
    font-weight: 500 !important;

    line-height: 1.3 !important;

    text-decoration: none !important;

    transition: all 0.25s ease !important;
}


/* Hover */
.elementor-nav-menu--main li.mega-menu-yellow > ul.sub-menu > li > a:hover {
    background: #000000 !important;
    color: #ffffff !important;

    padding-left: 16px !important;
}


/* Remove Elementor submenu arrows */
.elementor-nav-menu--main
li.mega-menu-yellow
> ul.sub-menu
> li.menu-item-has-children
> a
.elementor-sub-arrow {
    display: none !important;
}


/* =====================================================
   MAKE SURE DROPDOWN OPENS
   ===================================================== */

.elementor-nav-menu--main li.mega-menu-yellow:hover > ul.sub-menu {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1024px) {

    .elementor-nav-menu--main li.mega-menu-yellow > ul.sub-menu {
        width: 90vw !important;
        min-width: 0 !important;

        grid-template-columns: repeat(2, 1fr) !important;

        left: 50% !important;
        transform: translateX(-50%) !important;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .elementor-nav-menu--main li.mega-menu-yellow {
        position: relative !important;
    }

    .elementor-nav-menu--main li.mega-menu-yellow > ul.sub-menu {
        width: 100% !important;
        min-width: 100% !important;

        display: block !important;

        position: relative !important;
        left: auto !important;
        top: auto !important;

        transform: none !important;

        padding: 10px !important;

        box-shadow: none !important;
    }

    .elementor-nav-menu--main li.mega-menu-yellow > ul.sub-menu > li {
        width: 100% !important;
    }

}