
:root {
    --color-b: #003366;
    --color-b-darker: #002244;
    --color-icon: #0079C2;
    --color-icon2: #00598f;
    --color-border: #dee2e6;
}

html {
    font-size: 12px;
}

body {
    font-size: 1rem;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
}

.btn-primary {
    --bs-btn-bg: #0079C2;
    --bs-btn-border-color: #0079C2;
    --bs-btn-hover-bg: #0069aa;
    --bs-btn-hover-border-color: #0069aa;
    --bs-btn-active-bg: #005a91;
    --bs-btn-active-border-color: #005a91;
    --bs-btn-disabled-bg: #66b3de;
    --bs-btn-disabled-border-color: #66b3de;
}

.btn-secondary {
    --bs-btn-bg: #003366;
    --bs-btn-border-color: #003366;
    --bs-btn-hover-bg: #00264d;
    --bs-btn-hover-border-color: #00264d;
    --bs-btn-active-bg: #001f3a;
    --bs-btn-active-border-color: #001f3a;
    --bs-btn-disabled-bg: #668099;
    --bs-btn-disabled-border-color: #668099;
}

.text-secondary {
    color: var(--color-b) !important;
}

.fLink {
    cursor: pointer;
    font-weight: bold;
    text-decoration:none;
}

.container-r { /* Align button container to the right */
    display: flex;
    justify-content: flex-end; /* Align button container to the right */
    gap: 10px;
}

.container-l { /* Align button container to the left */
    display: flex;
    justify-content: flex-start; /* Align button container to the right */
    gap: 10px;
}

/* Contact */
.contact-section {
    color: #333;
    background: linear-gradient(135deg, #FAFBFD, #F7F9FC); 
}


.contact-card {
    max-width: 1280px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 10;
    margin-bottom: -20px;
}

.contact-column {
    flex: 1;
    padding: 10px;
    text-align: center;
}

    .contact-column h3 {
        margin-bottom: 10px;
        font-size: 18px;
        color: #333;
    }

    .contact-column p {
        margin: 0;
        color: #666;
    }


/*Icons */
.icon-circle {
    font-size: 12px;
    color: white;
    background-color: var(--color-icon);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    line-height: 1;
}

    .icon-circle:hover {
        color: #ffffff;
        background-color: var(--color-icon2);
        border-color: var(--color-icon2);
    }

    .icon-circle:active {
        background-color: var(--color-icon2);
        color: #ffffff;
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    }

.icon-circle-spaced {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-top: 0.12rem;
    margin-bottom: 0.1rem;
}


/* Cards */
.card-body {
    padding: 20px; /* Add padding inside the card body */
}


.custom-card-shadow {
    max-width: 1280px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

.custom-card {
    max-width: 1280px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/*Containers */

.centered-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(135deg, #FAFBFD, #F7F9FC);
    color: #333;
    border-top: 2px solid #F7F9FC;
    padding: 20px;
    box-sizing: border-box;
}

.centered-box {
    background-color: #ffffff;
    max-width: 1280px;
    width: 100%; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    padding: 0;
    box-sizing: border-box;
}

.grayband-custom {
    background: linear-gradient(135deg, #FAFBFD, #F7F9FC);
    padding: 40px 0;
    color: #333;
}

.side-container {
    background: linear-gradient(to right, #A0D9F3 0%, #ffffff 30%, #ffffff 100%);
    width: 100%; 
    box-sizing: border-box;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--color-b);
    color: white;
    padding: 40px 0;
    margin-top: auto;
}
    .footer .nav-link {
        color: #ffffff;
    }
        .footer .nav-link:hover {
            color: #cccccc;
        }

/* Form*/

/*.form {
    max-width: 300px;
    margin: 0 auto;
    padding: 50px;
}*/

    /* Hero band  */
    .hero-custom {
        max-width: 1280px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
    }

.hero-band-noimage {
    height: 420px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #E2F4FD, #A0D9F3);
    padding: 100px 0;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--color-border);
}

.hero-band {
    height: 420px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 15px;
    background: url('/app/lib/images/mountain_grid_blue.png') no-repeat center center, linear-gradient(135deg, #E2F4FD, #A0D9F3);
    padding: 100px 0;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--color-border); /* Thin line at the top */
}

    .hero-background {
        position: relative; 
        padding: 20px; 
        padding-left: 50px;
    }
        .hero-background img {
            max-height: 60px;
            width: auto; 
            max-width: 100%; 
        }

    .hero-custom .hero-content {
        background: #ffffff;
        padding: 15px;
        border-radius: 10px;
        width: 100%;
        max-width: 400px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        margin-left: auto;
    }

    /* Industry Links */
    .industry-links-section {
        padding: 40px 0;
    }

        .industry-links-section .card-row {
            display: flex;
            justify-content: space-between;
            flex-wrap: nowrap;
            max-width: 1280px;
            margin: 0 auto;
        }

        .industry-links-section .card {
            display: flex;
            width: 200px;
            height: 150px;
            border: 1px solid var(--color-border);
            text-align: center;
            overflow: hidden;
            text-decoration: none;
            justify-content: center;
            align-items: center;
        }

        .industry-links-section .card-img {
            max-width: 100%;
            max-height: 150px;
            width: auto;
            height: auto;
            display: block;
            object-fit: contain;
        }

    /*Icons */
.icon-circle {
    font-size: 1rem; /* Icon size */
    color: white;
    background-color: var(--color-icon);
    display: inline-flex; /* Flex to center the icon */
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

    .icon-circle-spaced {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }

        .custom-list li {
            position: relative;
            padding-left: 2.5rem; /* Space for the icon */
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

            .custom-list li .icon {
                font-size: 1rem;
                color: white;
                background-color: var(--color-icon);
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 2rem;
                height: 2rem;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
            }

    /* Information section */
    .info-section-padding {
        padding: 40px 20px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .info-section {
        max-width: 1280px;
        margin: 0 auto; 
        padding-top: 50px;
    }

    .line-input { /* Style for specific username and password fields */
        border: none;
        border-bottom: 1px solid #cfd7e6;
        border-radius: 0;
        padding: 8px 20px 0 20px;
        font-size: 12px;
        transition: border-color 0.2s, border-bottom-width 0.2s;
    }

        .line-input:focus {
            border-bottom: 2px solid #007bff;
        }


    .line-label {
        font-size: 12px;
        font-weight: normal;
        color: #333;
        margin-bottom: 8px;
    }

    .line-hr {
        border: none;
        height: 1px;
        background-color: #ced4da;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* Legacy */
    /* support for legacy control styling */
    .ui-dialog {
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .ui-dialog-titlebar {
        background: transparent !important;
        border: none !important;
        margin: 12px 12px;
    }

    .ui-dialog-title {
        display: none;
    }

    .ui-dialog-titlebar-close {
        position: absolute;
        top: 12px;
        right: 12px;
        background: none !important;
        border: none !important;
        font-size: 20px;
    }


    .card-table {
        border-collapse: collapse;
        width: auto; /* Adjusts the table width to the content*/
        max-width: 550px;
        position: relative; /* For positioning the close button */
        margin: 0 auto; /* Center the table horizontally */
    }

        .card-table td {
            padding: 6px;
            font-size: 12px;
        }

        .card-table input,
        .card-table select,
        .card-table textarea {
            /*        width: 120px; */
            box-sizing: border-box;
            padding-right: 8px;
            font-size: 14px;
            border: 1px solid #ced4da;
            border-radius: 0.25rem;
        }

            .card-table input[type="checkbox"] {
                display: inline-block;
                width: 20px;
                height: 20px;
                accent-color: #495057;
            }

    /* News */
    .news-custom {
        background: linear-gradient(135deg, #FAFBFD, #F7F9FC);
        padding: 20px 0;
        color: #333;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-top: 2px solid #F7F9FC;
    }

    .news-card {
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        height: 210px;
        background-color: white;
        border: 1px solid #FAFBFD;
        border-radius: 0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

        .news-card .card-body {
            display: flex;
            flex-direction: column;
            padding-left: 30px;
        }

        .news-card .card-title {
            margin-top: 15px;
            margin-bottom: auto;
            font-weight: 500;
        }

        .news-card .card-text {
            overflow: hidden;
        }

    .carousel-item .row {
        display: flex;
        flex-wrap: wrap;
    }

    .carousel-item .col-md-4 {
        display: flex;
        flex-direction: column;
    }

    .carousel-item .card {
        flex: 1 1 auto;
    }

    /*Map */

    .map-container {
        position: relative;
        width: 100%;
        height: 100%;
        padding-bottom: 56.25%; /* Maintain aspect ratio (16:9) */
        overflow: hidden;
    }

        .map-container iframe { /* Google map iframe should fill the container */
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }


    /*Misc */

    .verisign {
        clear: both;
        /*height: 100px;*/
        padding-top: 20px;
        text-align: center;
    }


/*    #loginWrap .loginerrmsg {
        color: red;
        text-align: center;
        font-weight: bold;
    }*/

    #loginWrap .msg {
        color: red;
        text-align: center;
    }

/*    .modal-dialog-c {
        max-width: 90%; 
        width: 550px; 
    }*/

    /* Scrollup */
    .scrollup {
        border: 0px solid #000;
        height: 50px;
        overflow: hidden;
        position: relative;
        width: 600px;
    }

    @media (max-width: 768px) {
        .scrollup {
            display: none;
        }
    }

    .newClient .ckbox {
        float: left;
        width: 140px;
    }

    .newClient .supLabel {
        float: left;
    }

    .newClient label {
        width: 200px;
    }

    .newClient select {
        float: left;
    }

    .newClientSelect {
        margin-bottom: 40px;
        margin-left: auto;
        margin-right: auto;
        width: 220px;
    }

        .newClientSelect a {
            border: 1px solid #ccc;
            font-size: 1.5em;
            margin-right: 20px;
            padding: 10px;
        }


/* SMALL DISPLAY */

@media (max-width: 768px) {

    .contact-card {
        flex-direction: column;
        align-items: center;
    }

    .contact-column {
        width: 100%;
        padding: 10px 0;
    }

    .custom-card {
        flex-direction: column;
    }

    .hero-band-noimage {
        padding-top: 70px;
        height: 600px;
    }

    #hero-background {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #imgLogo {
        margin-top: 30px;
        width: 90%;
    }

    .hero-background img {
        height: auto;
        max-height: 40px;
    }
}