.home-white-text {
    color: #fff;
}
#set-bg-our-commitment {
    max-width: 100%;
    margin: 0 auto;
    padding: 88px 0 100px 0;
    min-height: 974px;
}
.casestudy-content {
    position: relative;
    background: #fff;
    text-align: right;
    font-size: 1.8rem;
    color: #141f48;
    letter-spacing: .64px;
    line-height: normal;
    padding: 125px 112px 35px 25%;
    border-radius: 135px 0 0 0;
    float: left;
    min-height: 480px;
    width: 100%;
    margin-top: 100px;
    box-shadow: 0 2px 17px 0 rgba(150,150,150,0.1);
}

.casestudy-content:after {
    background-image: url(https://www.worley.com/~/media/Images/W/Worley-V3/content/our-work/spain-naturgy-offshore-wind/naturgy-floating-wind-hp.jpg);
    content: '';
    display: block;
    position: absolute;
    left: 100%;
    width: 715px;
    max-width: 715px;
    height: 100%;
    top: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#block-meil-popupvideo {
  display: none;
}

.av-content {
    padding: 2rem !important;
}

/* Job application style setting */

#meil-job-application-form .progress-title {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 25px;
}
#meil-job-application-form input#edit-actions-wizard-next,
#meil-job-application-form .js-form-submit{
    width: 110px;
    margin-top: 12px;
    background: white;
    color: #ee1d24;
}
 

.block-field-blocknodedocuments-and-noticetitle span.field.field--name-title {
    font-size: 30px;
}
#meil-job-application-form .form-textarea-wrapper,
#meil-job-application-form option,
#meil-job-application-form input,
#meil-job-application-form .form-select.required,
#meil-job-application-form  .form-textarea-wrapper{
    color: black !important;
}
#meil-job-application-form .alert.alert-dismissible {
    display: none !important;
}

.cl-branding {
    display: none !important;
}

#text-new-home-style-on-slider-text-styling {
    position: absolute;
    bottom: 9%;
    background: #0000005e;
    padding: 14px;
    color: white;
    border-radius: 14px;
    right: 5%;
}

.this-style-list-trans-port.row {
    margin-left: -6%;
}

._none.block.block-layout-builder.block-field-blocknodenews-articlebody img {
    width: 100% !important;
    height: auto;
}

#docs-files-pdf-icon-size-style img {
    width: 85%;
    height: auto;
    margin-top: 20px;
}

#docs-files-pdf-icon-size-style p {
    margin: 10px 0px 0px 10px;
}

#docs-files-pdf-icon-size-style a {
    text-decoration: none;
}

#shift-left-right .az-html img {
    margin-right: 10px !important;
    width: 32px !important;
    height: auto !important;
}

#shift-left-right .az-html a {
    display: flex !important
;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit;
    padding: 10px !important;
    border: 1px solid #eee !important;
    margin-bottom: 10px !important;
    border-radius: 5px !important;
}

#shift-left-right .az-html p {
    margin: 0;
    flex-grow: 1;
}

#shift-left-right {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#shift-left-right .az-column {
    display: flex;
    flex-direction: column;
}

   @keyframes pulse-shadow {
            0% {
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 255, 255, 0.4);
            }
            50% {
                box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 0 8px rgba(255, 255, 255, 0.2);
            }
            100% {
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 255, 255, 0.4);
            }
        }

        /* Styling for the main alert container wrapper */
        #meil-alert-message-container {
            width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1.5rem; /* Padding around the alert box itself */
            overflow: hidden;
            transition: all 0.3s ease-out; /* Smooth transition for hiding */
        }

        /* Class to hide the alert message */
        #meil-alert-message-container.is-hidden {
            opacity: 0;
            visibility: hidden;
            height: 0;
            padding-top: 0;
            padding-bottom: 0;
            margin-top: 0;
            margin-bottom: 0;
        }

        /* Styling for the clickable alert link (the message box itself) */
        #meil-alert-message-container a {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap; /* Allows text to wrap on smaller screens */
            gap: 0.5rem; /* Space between elements within the link */
            flex-grow: 1; /* Allows the link to expand and fill available space */
            max-width: 900px; /* Limit max width for a cleaner desktop look */
            text-decoration: none;
            cursor: pointer;
            
            /* Crucial for positioning the close button relative to this box */
            position: relative; 

            /* Glassy & Material Design Properties */
            background-color: rgba(255, 255, 255, 0.9); /* White with slight transparency for glassy */
            backdrop-filter: blur(12px); /* Glassy blur effect */
            -webkit-backdrop-filter: blur(12px); /* Safari support */
            border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle white border for glassy edge */
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); /* Stronger material shadow */
            border-radius: 16px; /* More rounded corners */
            
            /* Adjusted padding to ensure space for the close button inside */
            padding: 1.25rem 2.5rem 1.25rem 2rem; /* Top, Right, Bottom, Left. Reduced right padding slightly */
            
            color: #333; /* Dark gray text for high contrast on white */
            font-size: 1.15rem;
            font-weight: 500; /* Medium font weight */
            text-align: center;
            transition: all 0.3s ease-in-out; /* Smooth transitions for hover effects */
            
            /* Eye-catching animation */
            animation: pulse-shadow 2.5s infinite ease-in-out;
        }

        /* Hover effect for the alert link */
        #meil-alert-message-container a:hover {
            background-color: rgba(255, 255, 255, 0.95); /* Slightly less transparent on hover */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Deeper shadow on hover */
            transform: translateY(-2px); /* Slight lift effect */
            animation-play-state: paused; /* Pause pulsation on hover */
        }

        /* Styling for the highlighted "Important Announcement" text */
        .alert-imp {
            font-weight: 700; /* Bolder */
            color: #e74c3c; /* A distinct red color */
            display: inline-flex; /* Allows icon to sit next to text */
            align-items: center; /* Vertically aligns icon with text */
        }

        /* Icon styling within the important span */
        .alert-imp svg {
            height: 1.5rem; /* Adjust icon size */
            width: 1.5rem; /* Adjust icon size */
            margin-right: 0.5rem; /* Space between icon and text */
            color: #e74c3c; /* Match icon color to text */
        }

        /* Styling for the close button to be within the box, as per the image */
  .close-button {
    position: static !important;
    background: none;
    border: none;
    font-size: 1.2rem;
    border-radius: 50%;
    line-height: 1;
    cursor: pointer;
    color: #ee1d24;
    padding: 0.3rem;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 10;
}

.close-button:hover {
    color: #2f3192;
    transform: rotate(90deg);
}

        /* Responsive adjustments for smaller screens */
        @media (max-width: 768px) {
            #meil-alert-message-container a {
                font-size: 1rem;
                padding: 1rem 2rem 1rem 1.5rem; /* Adjusted right padding for smaller screens */
                border-radius: 12px;
            }
            .alert-imp svg {
                height: 1.25rem;
                width: 1.25rem;
            }
            #meil-alert-message-container {
                padding: 1rem;
            }
            .close-button {
                font-size: 0.9rem; /* Smaller X for smaller screens */
                top: 0.5rem;
                right: 0.5rem;
            }
        }

        /* Responsive adjustments for very small screens */
        @media (max-width: 480px) {
            #meil-alert-message-container a {
                font-size: 0.8rem; /* Even smaller font for very small screens */
                padding: 0.75rem 1.75rem 0.75rem 0.75rem; /* Adjusted right padding for very small screens */
                border-radius: 10px;
                text-align: left; /* Align text left on very small screens if it wraps heavily */
            }
            .alert-imp {
                display: block; /* Stack icon and text for better readability */
                margin-bottom: 0.1rem; /* Slightly reduced margin */
                text-align: center; /* Center the important text if it's on its own line */
            }
            .alert-imp svg {
                margin-right: 0;
                margin-bottom: 0.1rem; /* Slightly reduced margin */
                display: block;
                margin-left: auto;
                margin-right: auto;
            }
            #meil-alert-message-container {
                padding: 0.5rem;
            }
            .close-button {
                font-size: 0.8rem; /* Even smaller X for very small screens */
                top: 0.3rem;
                right: 0.3rem;
                padding: 0.1rem;
            }
        }


#meil-alert-message-container a {
    text-align: center !important;
}
