﻿/*CHANGES WITH FUNDATION*/

.btnMainBanner {
    height: 100px;
    font-size: 18px !important;
}

.headerTitle {
    padding-left: 100px !important;
    font-size: 30px;
    margin: 0 auto;
}

    .headerTitle h1 {
        /*height: 90%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;*/
    }

.headerTest {
    content: "";
    display: inline-block !important;
    height: 100% !important;
    vertical-align: middle !important;
}

@media print {
    .spacedMainMargin, .top-bar {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .print_title {
        font-weight: bolder;
    }
}


@media screen {
    .spacedMainMargin, .top-bar {
        padding-left: 180px !important;
        padding-right: 180px !important;
    }

    .spacedMainMarginLogin {
        padding-left: 310px !important;
        padding-right: 310px !important;
    }

    .print_title {
        display: none !important;
    }
}

.widthGrid100 {
    width: 100% !important;
}

.vertical-alignment {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

@media only screen and (max-width: 1165px) {
    .spacedMainMargin, .top-bar {
        padding-left: 90px !important;
        padding-right: 90px !important;
    }
}

@media only screen and (max-width: 600px) {
    .spacedMainMargin, .top-bar {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .spacedMainMarginLogin {
        padding-left: 90px !important;
        padding-right: 90px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .headerTitle {
        display: none !important;
    }
}
@media only screen and (max-width: 1250px) {
    .headerTitle {
        padding-left: 0px !important;
    }
}


.br-color-primary {
    background-color: #00A451 !important;
    background: #00A451 !important;
}

.br-color-secondary {
    color: white !important;
    background-color: #123A28 !important;
    background: #123A28 !important;
}

.br-color-card {
    background-color: #FCFCFC !important;
}



.divDualNews {
    padding: 30px 20px 20px 20px !important;
    margin: 0 auto !important;
}

.tableDualNews {
    border: 0 !important;
}

.bg-events {
    background: url('../Images/new_brand/port_sq.png') no-repeat center center;
    height: 380px !important;
    max-height: 380px !important;
    --webkit-background-size: cover;
    --moz-background-size: cover;
    --o-background-size: cover;
    background-size: cover;
}

.bg-events-text {
    background-color: #0A291C !important;
    color: white !important;
    min-height: 380px !important;
}

.bg-events-btn {
    background-color: #00A451 !important;
    color: white !important;
    width: 150px;
}

.bg-events-img {
    background: url('../Images/new_brand/SES_Logo.png') no-repeat center center;
    height: 60px;
    --webkit-background-size: cover;
    --moz-background-size: cover;
    --o-background-size: cover;
    background-size: cover;
    width: 60px;
}

/*.bg-event-image {
    width: 100% !important;
    max-height: 350px !important;
    margin: 0 auto !important;
}*/

.bg-news {
    background: url('../Images/new_brand/city_sq.png') no-repeat center center;
    background-color: #F7F7F7;
    height: 380px !important;
    --webkit-background-size: cover;
    --moz-background-size: cover;
    --o-background-size: cover;
    background-size: cover;
}

.bg-news-text {
    background-color: #00A451 !important;
    color: white !important;
    min-height: 380px !important;
}

.bg-news-btn {
    background-color: #0A291C !important;
    color: white !important;
    width: 150px;
}

/*.bg-news-image {
    width: 100% !important;
    max-height: 350px !important;
    margin: 0 auto !important;
}*/

.bannerimage {
    width: 100%;
    background: url("../Images/new_brand/Shop-UL-Hero-Image-1.png") no-repeat left center;
    height: 200px;
    --webkit-background-size: cover;
    --moz-background-size: cover;
    --o-background-size: cover;
    background-size: cover;
    text-align: left !important;
    vertical-align: middle !important;
    z-index: 2;
}

.h1True {
    font-weight: bolder !important;
    font-size: xx-large !important;
}

.card-image {
    width: 100% !important;
    max-height: 250px !important;
    margin: 0 auto !important;
    object-fit: cover;
}

    .card-image .feature-standards {
        display: block;
        margin-bottom: 12px;
        width: 60%; /* Scales images up to match bigger cards */
        height: auto;
        transition: transform 0.2s ease-in-out;
    }

.card-text-content {
    min-height: 200px !important;
    padding: 15px 15px 0px 15px !important;
}

    .card-text-content,
    .card-text-content h3, li h3 {
        text-align: center;
        min-height: 0px !important;
        font-size: 1.4rem; /* Makes the card titles larger */
        margin: 0 auto 8px;
    }

.font-white {
    color: white !important;
}

@media only screen and (max-width: 1150px) {
    .centerHeader {
        padding: 0 90px 0 90px !important;
        text-align: center;
    }

    .tabContent {
        width: 680px !important;
    }
}

@media only screen and (min-width: 1151px) {
    .centerHeader {
        padding: 0 150px 0 150px !important;
        text-align: center;
    }

    .tabContent {
        width: 680px !important;
    }
}

@media only screen and (max-width: 768px) {
    .tabContent {
        width: 100% !important;
    }
    .tabOther.active{
        margin-top: 0px !important;
    }
}

@media only screen and (max-width: 480px) {
    .centerHeader {
        padding: 0 0 0 0 !important;
        text-align: left;
    }

    header {
        padding-left: 0px !important;
        margin-left: 0px !important;
    }

        header img {
            padding-left: 0px !important;
            margin-left: 0px !important;
        }

        header .logo {
            padding: 10px 0 10px 0 !important;
        }

    .tabContent {
        width: 100% !important;
    }
}

.headerSearchButton {
    margin-left: -20px !important;
    position: absolute;
}

.headerSearchIcon {
    font-size: 18px;
    color: gray;
}

.bannerSearchWrapper {
    margin-bottom: 10px;
}

.pnlDocumentInfo
{
    padding: 0px !important;
}
/*BOOTSTRAP5 CHANGES*/
/*.displayNone {
display: none !important;
visibility: hidden !important;
}

div.bg-banner {
    background: url('../Images/new_brand/energy_park_test.png') no-repeat center center;
    --webkit-background-size: cover;
    --moz-background-size: cover;
    --o-background-size: cover;
    background-size: cover;
    height: 80vh;
}

div.bg-events {
    background: url('../Images/new_brand/port.png') no-repeat center center;
    --webkit-background-size: cover;
    --moz-background-size: cover;
    --o-background-size: cover;
    background-size: cover;
    height: 20vh;
}

div.bg-news {
    background: url('../Images/new_brand/graphic.png') no-repeat center center;
    --webkit-background-size: cover;
    --moz-background-size: cover;
    --o-background-size: cover;
    background-size: cover;
    height: 20vh;
}

div.bg-card {
    background-color: #FCFCFC !important;
}

div.bg-events-ses {
    background: url('..//Images/icon-ses-lg.png') no-repeat left 10px top 10px;
}

input.form-control-fixed-width-175 {
    width: 175px !important;
}
div.login-size {
    height: 450px !important;
}*/
.featured-standards-container {
    position: relative;
    overflow: hidden;
}

.featured-standards-box-container {
    display: flex;
    overflow-x: scroll;
    transition: transform 0.3s ease; /* Add smooth transition for sliding effect */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
    background: #e4ebee;
    margin: 0 20px;
    border-right: 2px solid #c1c9d0;
    border-left: 2px solid #c1c9d0;
}

.featured-standards-container {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

.featured-standards-box-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Arrows styling */
.featured-standards-arrow {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    font-size: 26px;
    cursor: pointer;
    color: #212f50;
    z-index: 999;
}

.featured-standards-arrow-left {
    left: 8px;
}

.featured-standards-arrow-right {
    right: 8px;
}

.featured-standards-box {
    min-width: 225px;
    padding-top: 15px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: white;
    margin: 10px;
    position: relative;
}

.featured-standards-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888 !important;
    font-size: 12px !important;
    margin: 0 15px 0 15px;
}

    .featured-standards-top-section h3 {
        margin: 0;
        color: #888 !important;
        font-size: 12px !important;
        padding: 0px;
    }

.featured-standards-symbol {
    margin: 0;
}

.featured-standards-header {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 15px 0 15px;
}

.featured-standards-descriptive-text {
    font-size: 14px;
    color: #425461;
    font-weight: normal;
    margin: 0 15px 0 15px;
}

.featured-standards-bottom-bar {
    background-color: #f0f0f0;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.featured-standards-view-details {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.featured-standards-icon {
    display: inline-block;
}

.featured-standards-descriptive-text {
    position: relative;
    display: inline-block;
}

.featured-standards-tooltip-text {
    visibility: hidden;
    width: 160px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: -75px;
    left: 50%;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.featured-standards-descriptive-text:hover .featured-standards-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.featured-icon {
    max-width: 45px;
    max-height: 45px;
}

/* Grid layout for the cards */
.small-block-grid-4 {
    display: flex;
    flex-wrap: nowrap; /* <--- prevents wrapping! */
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

    .small-block-grid-4 li {
        flex: 1 1 0px; /* All shrink at equal rate */
        min-width: 0; /* Allow them to shrink all the way down */
        max-width: 270px; /* Optional: max card width, tune to taste */
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff;
        padding: 24px;
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        transition: box-shadow 0.2s, transform 0.2s ease-in-out;
    }

        .small-block-grid-4 li:hover {
            box-shadow: 0 6px 24px rgba(0,0,0,0.14);
            transform: scale(1.05); /* Grows the entire card */
            z-index: 3;
        }

@media only screen and (max-width: 770px) {
    .small-block-grid-4 {
        flex-wrap: wrap; /* Start wrapping on mobile */
        gap: 10px; /* Smaller gap if desired */
    }

        .small-block-grid-4 li {
            flex: 1 1 100%; /* Each takes full width */
            max-width: 100%;
            min-width: 100%;
        }
}
