
:root {
    --color-b: #003366;
    --color-b-darker: #002244;
    --color-b-lighter: #0079C2;
}


/* Body */
html, body {
    height: 100%;
    margin: 0;
    font-size: 12px !important;
}

@media (max-width: 768px) {
    body, html {
        font-size: 14px !important;
    }
}

/* Buttons */

.btn-b { /* Extend Bootstrap's .btn class */
    color: #ffffff; /* White text color */
    background-color: var(--color-b);
    border: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}


.btn-b { /* base styling */
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

    .btn-b:hover { /* Hover state */
        color: #ffffff; 
        background-color: var(--color-b-darker); 
        border-color: var(--color-b-darker); 
    }

    .btn-b:focus, .btn-b:active { /* Focus and active states */
        box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.5); /* Focus shadow */
        color: #ffffff;
    }

.btn-b-link {
    color: var(--color-b); 
    background-color: transparent; 
    border: none; 
    font-weight: bold;
    text-decoration: none; 
}

    .btn-b-link:hover, .btn-b-link:focus {
        color: var(--color-b-darker); 
        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;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /*border-top: 2px solid #F7F9FC;  */
    background: linear-gradient(135deg, #FAFBFD, #F7F9FC); /* Gradient on entire background */
}


.contact-card { /* Contact Card */
    max-width: 1280px;
    background-color: white;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px; 
    margin: 0 auto;
    transform: translateY(20px); /* Overlaps footer */
    position: relative;
    z-index: 10; /* Higher z-index to overlap the footer */
}


.contact-column { /* Contact Columns */
    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;
    }


.contact-card { /* Flexbox for Card Content */
    padding: 30px;
    display: flex;
    justify-content: space-between;
}


@media (max-width: 768px) {
    /* Responsive Design */
    .contact-card {
        flex-direction: column;
        align-items: center;
    }

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


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

.card-no-border {
    border: none; 
    box-shadow: none; 
    background-color: transparent;
}

    .card-no-border .card-header,
    .card-no-border .card-footer {
        border: none; /* Remove border on header and footer */
    }

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

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

@media (max-width: 768px) {
    .custom-card {
        flex-direction: column; /* Stacks image and text vertically on smaller screens */
    }
}



/*Containers */


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

.centered-box {
    background-color: #ffffff; 
    max-width: 1280px;
    width: 100%; /* Allows the box to shrink down on smaller screens */
    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%);
    /*background: linear-gradient(to right, #A0D9F3 10%, #ffffff 100%);*/
    width: 100%; /* Ensure it takes the full width of its parent */
    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 #dee2e6; 

}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-band-noimage {
        padding-top: 70px; /* Add padding-top to account for the navbar height */
        height:600px;
    }
    #hero-background{
        margin-bottom: 0;
        padding-bottom:0;
    }
    #imgLogo {
        margin-top: 30px;
        width: 90%;
    }

}


.hero-band {
    height: 420px;
    display: flex;
    justify-content: center; 
    align-content:center;
    align-items: center; /* Center content vertically */
    padding: 15px; /* Add padding for spacing */


    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 #dee2e6; /* Thin line at the top */

}

.hero-background {
    position: relative; /* Ensure child positioning is relative to this container */
    padding: 20px; /* Padding to ensure content does not touch edges */
    padding-left: 50px;
}
.hero-background img {
    max-height: 60px; 
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure image does not overflow parent container */
}

@media (max-width: 768px) {
    .hero-background img {
        height: auto; 
        max-height: 40px; 
    }
}

.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);
    /*color: black;*/
    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 #dee2e6; 
        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-b-lighter);
    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-b-lighter);
        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;
    /*background: #FAFBFD; /**#F7FAFC; /* Light blue color */
    max-width: 1280px; 
    margin: 0 auto;
  
}

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

/* Inputs*/


.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 #F0F4F8; /* Light gray-blue border color */
    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 */

#borrUploadErrorMsg {
    text-align: center;
    color: red;
}

.img-shadow {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

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

.no-link-style a {
    color: inherit;
    text-decoration: none;
}

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

.modal-dialog-c {
    max-width: 90%; /* Adjust as needed */
    width: 550px; /* Allow the modal to grow based on content */
}


/* 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;
        }
