/* ==========================================================================
   Allwyn Lottery Solutions - Custom CSS
   Version: 1.4.6
   Last Updated: 2025-10-16 - Simplified submenu underlines to basic text-decoration
   ========================================================================== */

/* ==========================================================================
   Base & General Styles
   ========================================================================== */
   body {
   line-break: auto;
}


/* Lists */
main ::marker {
    content: url(https://allwynlsstg.wpengine.com/wp-content/uploads/2023/09/Icon.svg);
}
ul li {
    margin-left: -1rem;
    padding-left: 1rem;
}

.list-gap-16 li {
    padding-bottom: 16px;
}
.list-gap-16 li:last-child {
    padding-bottom: 0px;
}
.list-gap-24 li {
    padding-bottom: 24px;
}
.list-gap-24 li:last-child {
    padding-bottom: 0px;
}

.list-style-normal li::marker {
    content: "·";
    font-size: 1.5rem;
    line-height: 22px;
}

/* Links */
.link-no_underline a { text-decoration: none; }
.link-no_underline a:hover { text-decoration: underline; }
.link-white a { color: white; }
.link-white a:hover { color: var(--e-global-color-797ca7e); }

.page-content a {
    text-decoration: underline;
}

a:hover {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .3s;
}

/* ==========================================================================
    Buttons
    ========================================================================== */
.elementor-button-icon svg {
    fill: #022C33;
}
/* Ensure button borders are aligned inside the button box */
button, .elementor-button, .header-button > button, .header-button > .elementor-button {
    box-sizing: border-box;
}



.toggle-expand-button {
    /* Reset browser defaults */
    background: none !important;
    cursor: pointer !important;
    outline: none !important;
    
    /* Your custom styles */
    padding: 8px 16px !important;
    border-radius: 100px !important;
    border: 1px solid var(--Neutral-White, #FFF) !important;
    
    /* Button text styles */
    color: var(--Neutral-White, #FFF) !important;
    text-align: center !important;
    font-family: "PP Pangram Sans" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 21px !important; /* 150% */
}
.toggle-expand-button:hover {
    border-radius: 100px !important;
    border: 1px solid var(--primary-dark-100, #073A4A) !important;
    background: var(--Secondary-Medium-Blue, #E6EDEF) !important;
}
.toggle-expand-button:hover span {
    color: var(--primary-dark-100, #073A4A) !important;
}

/* Text span visibility control */
.toggle-expand-button .less-text {
    display: none !important;
}

.toggle-expand-button .more-text {
    display: inline !important;
}

/* Collapsed state - show "Less Details" */
.toggle-expand-button.collapsed .less-text {
    display: inline !important;
}

.toggle-expand-button.collapsed .more-text {
    display: none !important;
}

    /* Submenu button hover state */
    .submenu-button a:hover span {
        font-size: 16px;
        font-weight: 700;
        color: #496E7A;
    }

    /* Active submenu item - Manual class in Elementor (if needed) */
    .submenu-button.active-submenu a,
    .submenu-button.active-submenu .elementor-button {
        text-decoration: underline !important;
        text-decoration-line: underline !important;
        text-decoration-style: solid !important;
    }
    
    /* Active submenu items - Using WordPress body classes */
    /* Simple underline without border-bottom */
    /* Our Solutions submenu */
    body.page-id-3835 .elementor-element-1017398 a.elementor-button,  /* iLottery */
    body.page-id-3854 .elementor-element-d2fdcc7 a.elementor-button,  /* Customer Engagement */
    body.page-id-3860 .elementor-element-533ab12 a.elementor-button,  /* Data & Insights */
    body.page-id-3861 .elementor-element-522ddda a.elementor-button,  /* Digital Game Delivery */
    body.page-id-3862 .elementor-element-728814e a.elementor-button,  /* Web & Mobile Applications */
    /* Who We Are submenu */
    body.page-id-3895 .elementor-element-5ec0cce a.elementor-button,  /* Experience & Design */
    body.page-id-3896 .elementor-element-9dc50a9 a.elementor-button,  /* People Function */
    body.page-id-3897 .elementor-element-48d8ff1 a.elementor-button,  /* Product Owners & Delivery */
    body.page-id-3898 .elementor-element-4ca7f13 a.elementor-button,  /* Quality Assurance & Test */
    body.page-id-3899 .elementor-element-26cb380 a.elementor-button,  /* Security */
    body.page-id-3900 .elementor-element-3ebe74e a.elementor-button,  /* Software Engineering */
    body.page-id-3901 .elementor-element-61d74af a.elementor-button,  /* Technology Operations */
    body.page-id-385 .elementor-element-7cc9704 a.elementor-button {  /* Academy */
        text-decoration: underline !important;
    }

/* Highlights & Colors */
/*
.highlight-green {
    background: #C4F600;
    color: #0B617C;
    padding: 5px 8px;
}
    */

/* ==========================================================================
   Navigation & Menu
   ========================================================================== */

/* Reset Elementor default menu link styles */
.elementor-nav-menu a.elementor-item {
    text-decoration: none;
}

/* Menu Arrows */
.elementor-item.has-submenu .temp-sub-arrow { display: none; }
.temp-sub-arrow { padding: 0 0 0 10px; }
.temp-sub-arrow i { font-size: 11px; }
.elementor-nav-menu--main .elementor-item:hover .temp-sub-arrow i {
    color: var(--e-global-color-797ca7e);
    fill: var(--e-global-color-797ca7e);
}

/* Dropdown Menu */
.elementor-53 .elementor-element.elementor-element-1a080010 .elementor-nav-menu--dropdown {
    padding-top: 16px;
    padding-bottom: 16px;
    row-gap: 16px;
    column-gap: 16px;
}

.elementor-53 .elementor-element.elementor-element-1a080010 .elementor-nav-menu--dropdown .elementor-sub-item {
    padding-top: 16px;
    padding-bottom: 16px;
}

.elementor-53 .elementor-element.elementor-element-1a080010 .elementor-nav-menu--dropdown a:hover {
    background-color: var(--e-global-color-73d14cb);
    color: white;
    text-decoration: none;
}

    /* Active Menu States */
    
    /* Top-level menu items - NEW Elementor Navigation */
    /* Figma specs: line-height 24px, underline at 2px distance */
    /* Using pseudo-element to avoid ANY layout shift */
    
    /* First, ensure all menu items have consistent baseline */
    .e-n-menu-title .e-n-menu-title-text {
        display: inline-block !important;
        vertical-align: baseline !important;
        padding-top: 1px !important;
    }
    
    /* Active state */
    .e-n-menu-title.e-current .e-n-menu-title-container,
    .e-n-menu-title.e-current .e-n-menu-title-text,
    /* Hover state */
    .e-n-menu-title:hover .e-n-menu-title-container,
    .e-n-menu-title:hover .e-n-menu-title-text {
        text-decoration: none !important;
        position: relative !important;
    }
    
    /* Active state underline */
    .e-n-menu-title.e-current .e-n-menu-title-text::after,
    /* Hover state underline */
    .e-n-menu-title:hover .e-n-menu-title-text::after {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: -2px !important;
        height: 1px !important;
        background-color: currentColor !important;
    }

    .elementor-nav-menu .sub-arrow .e-font-icon-svg {
    fill: white;
}


/* ==========================================================================
    Lottie Animations
    ========================================================================== */
/* Solutions Lotties */
.lotties-sol-ce { position: absolute; width: 51.52%; height: 56.98%; top: 26.07%; left: 0%; }
.lotties-sol-di { position: absolute; width: 23.06%; height: 12.85%; top: 49.72%; left: 61.95%; }
.lotties-sol-ifp { position: absolute; width: 37.04%; height: 40.97%; top: 0.37%; left: 66.84%; }
.lotties-sol-wm { position: absolute; width: 29.80%; height: 32.96%; top: 0%; left: 46.13%; }

/* Integration Lotties */
.lotties-int-gpam { position: absolute; width: 48%; height: 52.03%; top: 11.54%; left: 50%; transform: translateX(-50%); }
.lotties-int-dbg { position: absolute; width: 66.4px; height: 80px; top: 59.84%; left: 50%; transform: translateX(-50%); }
.lotties-int-com { position: absolute; width: 81.39%; height: 95.28%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.lotties-int-optex { position: absolute; width: 343px; height: 30.01px; top: 358px; left: 50%; transform: translateX(-50%); }

/* ==========================================================================
    Layouts
    ========================================================================== */

.organism-padding-large {
    padding-top: 160px;
    padding-bottom: 160px;
}

@media (max-width: 1366px) {
    .organism-padding-large {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 880px) {
    .organism-padding-large {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
.organism-padding-medilarge {
    padding-top: 80px;
    padding-bottom: 160px;
}
@media (max-width: 1366px) {
    .organism-padding-medilarge {            
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (max-width: 767px) {
    .organism-padding-medilarge {
        padding-top: 60px;
        padding-bottom: 120px;
    }
}

.organism-padding-medium {
    padding-top: 80px;
    padding-bottom: 80px;
}
@media (max-width: 1366px) {
    .organism-padding-medium {            
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (max-width: 767px) {
    .organism-padding-medium {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}



.welcome-banner-area {
    padding-top: 94px;
    padding-bottom: 94px;
    padding-left: 20px;
    padding-right: 20px;
}
@media (max-width: 1024px) {
    .welcome-banner-area {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}
@media (max-width: 767px) {
    .welcome-banner-area {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

.info-banner-area {
    padding-top: 94px;
    padding-bottom: 94px;
    padding-left: 20px;
    padding-right: 20px;
}
@media (max-width: 1024px) {
    .info-banner-area {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}
@media (max-width: 767px) {
    .info-banner-area {
        padding-top: 32px;
        padding-bottom: 32px;
    }
} 


.solutions-product-area {
    background-color: #1D4757;

    display: flex;
    flex-direction: row;
    justify-content: center;
    row-gap: 128px;
    column-gap: 128px;

    margin-left: auto;
    margin-right: auto;

    padding-top: 160px;
    padding-bottom: 160px;
    padding-left: 20px;
    padding-right: 20px;
}


/* Media query variations for solutions-product-area */

/* Tablet-portrait and below (under 1024px) */
@media (max-width: 1024px) {
    .solutions-product-area {
        padding-top: 80px;
        padding-bottom: 80px;

        row-gap: 32px;
        column-gap: 32px;

        flex-direction: column;
        align-items: center;
    }
    /* Keep child elements horizontal even when parent is vertical */
    .solutions-product-area > * {
        flex-direction: row;
    }
}

/* Medium-small screens (up to 880px) */
@media (max-width: 880px) {
    .solutions-product-area {
        align-items: center;

        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Small screens (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .solutions-product-area {

        padding-left: 20px;
        padding-right: 20px;
    }
}


/* ==========================================================================
    General Typography
    ========================================================================== */


/* ==========================================================================

HEADERS
    ========================================================================== */


.header-heading h1 {
    font-size: 60px;
    line-height: 70px; /* 116.667% */
    color: var(--primary-dark-100, #073A4A);
}

@media (max-width: 880px) {
    .header-heading h1 {
        font-size: 28px;
        line-height: 36px;
    }
}
.header-subheader {
    color: var(--primary-dark-100, #073A4A);
    font-size: 20px;
    line-height: 32px; /* 160% */
}
@media (max-width: 880px) {
    .header-subheader {
        font-size: 16px;
        line-height: 24px;
    }
}    


.header-padding {
    padding-top: 176px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
}
@media (max-width: 880px) {
    .header-padding {
        /* margin-top: -88px; */
        padding-top: 128px;
        padding-bottom: 40px;
    }
}


.header-margin {
    margin-top: -82px;
}
.subheader-padding-tb {
    padding-top: 94px;
    padding-bottom: 94px;

    padding-left: 20px;
    padding-right: 20px;
}


.header-button > .elementor-button,
.header-button > button {
    box-sizing: border-box !important;
    /* Ensure border and background are always set, not just on hover */
    border: 1px solid transparent !important;
}

.header-button > .elementor-button:hover,
.header-button > button:hover {
    border: 1px solid var(--primary-dark-100, #073A4A) !important;
    background: #FFF !important;
}


.header-button span {
    font-size: 16px;
    line-height: 20px; /* 160% */ 
}

@media (max-width: 880px) {
    .header-button span {
        font-size: 14px;
        line-height: 21px;
    }
}


/* ==========================================================================
    Solutions Page
    ========================================================================== */

/* Solutions Focus */
.solutions-focus-title h3 {
    color: black;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
}
.solutions-focus-description { width: 576px; }
.solutions-focus-products {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
}

/* Solutions Details */
.solutions-product-logotext { max-width: 570px; }
.solutions-details-column { padding-left: 2rem; }
.solutions-details-heading h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}
.solutions-details-heading h3::before {
    content: url(https://allwynlsstg.wpengine.com/wp-content/uploads/2023/09/Icon.svg);
    margin-left: -32px;
    padding-right: 18px;
}

/* Solutions Section Styles */
.solutions-section-blue {
    background-color: #0B617C;
    padding: 94px 80px;
}
.solutions-section-blue p { color: white; }
.solutions-section-blue > div > div { align-self: center; }

.solutions-limedots h2::after {
    content: url(https://allwynlsstg.wpengine.com/wp-content/uploads/2024/11/Morse-N.svg);
    margin-left: 1rem;
}

/* ==========================================================================
    Expandable Content
    ========================================================================== */
.expandable-wrapper {
    height: var(--expanded-height);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height, opacity;
    transform: translateZ(0);
}

.expandable-wrapper.collapsed {
    height: 0;
    padding: 0;
    opacity: 0;
    margin: 0;
}

.expandable-wrapper .elementor-container {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.expandable-wrapper.collapsed .elementor-container {
    transform: translateY(30px);
    opacity: 0;
}

/* Toggle Expand Link */
.toggle-expand-link {
    color: #0B617C;
    cursor: pointer;
    text-decoration: underline;
    display: inline-block;
    margin-top: 1em;
}

.toggle-expand-link .more-text { display: none; }
.toggle-expand-link.collapsed .less-text { display: none; }
.toggle-expand-link.collapsed .more-text { display: inline; }

.toggle-expand-link .toggle-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.toggle-expand-link .rotated { transform: rotate(180deg); }

/* Toggle Images */
.toggle-linked-image {
    transition: opacity 0.3s ease;
}
.toggle-linked-image.hidden {
    opacity: 0;
    display: none;
}
.toggle-linked-arrow-right { padding-left: 0px; }
.toggle-image-container {
    max-width: 570px;
    width: 71%;
}



/* Slider   */

/* Center the slider so it extends equally on both sides */
.expanding-slider {
    width: 200vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
}

/* Ensure each slide takes proper width */
.expanding-slider .swiper-slide {
    width: 50vw; /* Each slide is half of the double-width container */
}


/* ==========================================================================
    Who We Are Pages
    ========================================================================== */
.wwa-title h1 {
    color: #0B617C;
    text-align: center;
}

/* Leadership Section */
.wwa-leadership-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
}
.wwa-leadership-subtitle {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}
.wwa-leadership-image img {
    max-width: 160px;
}

/* Experience Design */
.wwa-experience_design-projects-title p {
    color: #022C33;
    font-size: 18px;
    line-height: 22px;
}
.wwa-experience_design-projects-description p {
    color: #809599;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

/* Let's Play Section */
.wwa-letsplay_container {
    background-color: #F2F6F7;
}
.wwa-letsplay_title {
    font-size: 40px;
    line-height: 44px;
    text-align: center;
    color: #022C33;
}
.wwa-letsplay_description {
    max-width: 768px;
}

/* Academy Game Development */
.wwa-academy-level-container {
    padding: 24px;
}
.wwa-academy-level_number p {
    background: #C4F600;
    width: 46px;
    height: 46px;
    padding: 12px;
    text-align: center;
    border-radius: 50%;
}
a.wwa-academy-level-container {
    font-weight: initial;
    text-decoration: none;
}

/* ==========================================================================
    Circles Section
    ========================================================================== */
.circles-3-inter_cont {
    width: 350px;
    height: 350px;
}
.circles-3-outer_cont {
    padding-left: 33.5px;
    padding-right: 33.5px;
    padding-bottom: 60px;
}

/* ==========================================================================
    Join Teams Section
    ========================================================================== */
.section-join_title {
    font-size: 48px;
    line-height: 60px;
    text-align: center;
    color: #000000;
}

/* ==========================================================================
    Game Studio
    ========================================================================== */
.gamestudio-game-card img {
    border-radius: 8px;
    box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
                0px 8px 10px 1px rgba(0, 0, 0, 0.14),
                0px 3px 14px 2px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
    Contact Page
    ========================================================================== */
.contact-location-circle {
    height: 31px;
    width: 31px;
    color: white;
    background-color: #0B617C;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    line-height: 16px;
    padding-top: 8px;
}

.contact-location-city {
    color: #022C33;
    font-size: 18px;
    line-height: 22px;
}

.contact-location-address {
    color: #809599;
    font-size: 16px;
    line-height: 22px;
}

.contact-emails-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.contact-emails-styling a {
    color: #809599;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
}
.contact-emails-styling a:hover {
    text-decoration: underline;
    color: #022C33;
}

/* ==========================================================================
    Container Dimensions
    ========================================================================== */
.container-padding-norm-w {
    padding: 118px 80px 60px;
}
.container-padding-ud94 {
    padding-top: 94px;
    padding-bottom: 94px;
}
.container-padding-norm-re {
    padding: 94px;
}
.container-padding-norm-a {
    padding: 94px 80px;
}
.container-padding-norm-p {
    padding: 48px 80px;
}
.container-padding9480 {
    padding: 94px 80px;
}
.container-padding9432 {
    padding: 94px 32px;
}
.container-padding-lr1 {
    padding: 160px 18.125%;
}



/* ==========================================================================
    Media Queries
    ========================================================================== */
@media only screen and (max-width: 1024px) {
    /* Navigation */

    /* Circles */
    .circles-3-inter_cont {
        width: 200px;
        height: 200px;
    }
    .circles-3-outer_cont {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Container Padding Responsive - Tablet */
    .container-padding9480 {
        padding: 94px 32px;
    }
    .container-padding-lr1 {
        padding: 160px 12%;
    }
}

@media only screen and (max-width: 767px) {
    /* Typography */
    .wwa-title h1 {
        font-size: 48px;
        line-height: 60px;
    }
    
    /* Layout & Containers */

    .container-padding-norm-w {
        padding: 118px 32px 60px;
    }
    .container-padding-norm-a {
        padding: 94px 32px;
    }
    .container-padding-norm-p {
        padding: 48px 16px;
    }
    
    /* Circles */
    .circles-3-inter_cont {
        width: 100px;
        height: 100px;
    }
    .circles-3-outer_cont {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Lottie Animations */
    .lotties-sol-ce { width: 51.52vw; }
    .lotties-sol-di { width: 19.06vw; }
    .lotties-sol-ifp { width: 30.04vw; }
    .lotties-sol-wm { width: 22.8vw; }
    .lotties-int-gpam { width: 48.47vw; }
    
    .toggle-image-container {
        width: 80%;
    }
    
    /* Container Padding Responsive - Mobile */
    .container-padding9480 {
        padding: 94px 16px;
    }
    .container-padding9432 {
        padding: 94px 16px;
    }
    .container-padding-lr1 {
        padding: 160px 8%;
    }
    .organism-padding-large {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}