﻿
/* --- General  Layout --- */
/*body color-profile color: #58585b;*/

/*@font-face {
    font-family: 'montserratregular';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}*/
@font-face {
    font-family: 'opensans_semibold';
    src: url('fonts/opensans-semibold-webfont.woff') format('woff');
}
@font-face {
    font-family: 'opensans-regular';
    src: url('fonts/opensans-regular-webfont.woff') format('woff');
}
@font-face {
    font-family: 'montserratbold';
    src: url('fonts/montserrat-bold-webfont.woff2') format('woff2');
}
@font-face {
    font-family: 'montserratmedium';
    src: url('fonts/montserrat-medium-webfont.woff2') format('woff2');
}
@font-face {
    font-family: 'montserratregular';
    src: url('fonts/montserrat-regular-webfont.woff2') format('woff2');
}
@font-face {
    font-family: 'montserratsemibold';
    src: url('fonts/montserrat-semibold-webfont.woff2') format('woff2');
}
html, body {
    height: 100%;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 80% !important;
    margin: 0 auto;
}
main {
    /*padding-bottom: 20px;*/
}

/* --- Main Content Area --- */
.main-content {
    /* padding: 20px 0;*/
    /*min-height: 550px;*/ /* Ensure content area pushes footer down */
}

body {
    /* Treat the body as a grid container */
    display: grid;
    /* Define 3 rows: header size, content (takes up remaining space), footer size */
    grid-template-rows: auto 1fr auto;
    background: #fff;
    letter-spacing: .03rem !important;
    font-size: 1rem;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    /*color: #212529;*/
    color: #58585b !important;
    text-align: left !important;
}

fieldset legend, label {
    font-family: montserratsemibold !important;
    color: #58585b !important;
}
body {
    font-family: montserratregular !important;
    /*color: #2a578d !important;*/ /*blue*/
}
/*h1, h2, h3,h4,h5 {
    font-size: 1.5rem !important;
    color: #2a578d !important;
    padding-right: 4rem !important;
    font-family: montserratregular !important;
    padding: 0 !important;
    margin: 0 0 .5rem 0 !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: .03rem !important;
}*/

/*h1 {
    font-size: 1.5rem;
    color: #2a578d !important;
    padding-right: 4rem
}

h2 {
    font-size: 1.2rem
}

h3 {
    font-size: 1.1rem;
    color: #58585b
}

    h3 small {
        display: block;
        color: #8b8b8e;
        font-size: .8rem;
        margin-top: .2rem
    }


}*/
h1, h2, h3, h4, h5, h6 {
    color: #2a578d !important   ;
    font-family: montserratregular;
}

a {
    font-family: montserratbold;
    color: #4272ab
}

/*.commonpagepadding {
    padding: 10px 50px;
} using py-4 */ 

/*label {
    font-family: montserratsemibold;*/
   /* margin-bottom: .5rem;*/
    /*display: block !important;
}*/
/*.table-primary {
    background-color: #4f8309 !important;
    border-right: .0625rem solid #68a01f !important;
    color: #fff !important;
}*/
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Hide the tooltip text by default */
.tooltip-text {
    visibility: hidden;
    width: 500px;
    background-color: lightgrey;
    color: black;
    text-align: left;
    border-radius: 0.3rem;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the icon */
    left: 50%;
   /* margin-left: -125px;*/
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    line-height: 1.4;
    font-family: montserratregular;
}

/* Show the text when hovering over the container */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.form-check-input {
    border: none !important;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}
.form-control, .form-select {
    width: 100% !important;
    font-size: 1rem !important;
}
    .form-control {
    font-family: montserratregular;   
    min-height: 2.25rem;
    color: #58585b;
    border-radius: .125rem !important;
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da
}
.action-bar{
    float:right;
}
.required{
    border-left: 0.3rem solid #f4834a !important;
}
    /*list bullets styling start*/
    ul {
    list-style: none; /* Remove default marker */
    padding-left: 0 !important;
        margin-bottom: 0 !important;
}
/*li::marker {
    content: "\27A4";*/ /* Another Unicode arrow character '➤' */
    /*color: blue;*/ /* Example: change arrow color */
    /*font-size: 0.8em;*/ /* Example: change arrow size */
    /*position: absolute;
    right: 10px;
}*/
.autofill {
    background-image: url(../Images/angle-down-solid.4490c0e4.svg);
    background-repeat: no-repeat;
    background-position : right .75rem center;
    background-size: 1rem 100%;
    -webkit-appearance: none;
    background-color: #fff;
}
li {
    position: relative;
    /* 1. Creates the *total* space available for the marker and the gap */
    padding-left: 2rem;
}

    li::before {
        content: "\27A4";
        position: absolute;
        /* 2. 🔑 Controls how far the marker sits from the left edge. 
       The space between the marker and the text is the difference between 
       the padding-left and the marker's size/left position. */
        left: 0.8rem;
        font-size: 0.8em;
    }
.no-marker {
    padding-left: 2rem !important;
    line-height: 1.5rem !important;
}
.no-marker li {
    padding-left: 0 !important;
}
.no-marker li::before {
    content: none !important;
}

.btn:disabled{
    background-color: grey !important;
    border: grey !important;
}
.btn.btn-primary {
    border-color: #406b07;
    background: #4f8309;
}
.btn {
    font-size: .875rem !important;
    border-radius: 1.375rem !important;
    margin: 0.5rem;
    height: 2.75rem !important;
    letter-spacing: .05rem;
    min-width: 4rem;
    font-family: montserratregular !important;
    padding: 0 1.5rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: normal !important ;
   display: inline-flex !important;
    align-items: center; /* Vertical center */
    justify-content: center;
}
.btn-group .btn:last-child {
    margin-right: .5rem;
}
.btn-group .btn:last-child {
    margin-right: .5rem;
}
bar .btn + .btn {
    margin-left: 1rem;
}
.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.btn-group .btn {
    -webkit-box-flex: 0;
    flex-grow : 0;
    flex-shrink: 0;
    
    min-width: auto;

    text-align: center;
}

.btn-footer {
    /* padding-top: 30px;*/
}
    .btn.btn-secondary {
    border-color: #4577b2;
    color: #4577b2;
    background: white;
}
/*button stylings end*/


/* alert box styling*/
/*#MainContent_lblErrorMsg ::before {
    left: 2.1rem;
    font-size: 1.4rem;
    color: #fff;
    content: "\F06A";
    margin-right: 10px;
}*/
/*error message decoration*/
.lblErrorMsg::before {
    top: .9rem;
    content: "\f06a"; /* The code must be lower-case in CSS */
    font-family: 'FontAwesome';
}
.disclaimer-neon {
    background-color: #FFFF00; /* bright yellow */
    color: #000;
}
.alert.alert-success {
    background-color: #4f8309;
    color: #fff;
}


.alert.alert-danger {
    background-color: #d42d1b;
    max-height: auto;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 1040;
    width: 100%;
    color: white;
}
.alert.alert-info {
    background-color: #cbe4f6;
}
.alert {
    border-radius: 0 !important;
    border: none !important;
    min-height: auto;
/*    padding-left: 4.4rem;*/
    position: relative;
}
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    /*border-color: #bee5eb;*/
}
.alert-heading {
    font-family: montserratmedium !important;
}
.alert.alert-warning {
    background-color: #fbebbb;
}
.alert ul li {
    margin: .125rem 0;
    font-family: opensans_semibold !important;
    font-size: 0.875rem;
    color: #58585b;
    padding-right: 1rem;
}



/* --- Header Styling --- */
.header {
    /*background-color: #f8f8f8;
            border-bottom: 1px solid #eee;*/
    padding: 1rem 0;
    /*  display: flex;*/ /* Enables flexbox for aligning logo/menu */
    /*justify-content: space-between;*/ /* Pushes logo and menu to opposite ends */
    align-items: center; /* Vertically centers items */
}

.logo {
    flex-shrink: 0; /* Ensures logo doesn't shrink */
}

    .logo img {
        height: 50px; /* Adjust logo size */
    }

/* --- Footer Styling --- */

/* Footer Section 1: Dark Blue Background, White Text */
.footer-section-1 {
    background-color: #1F4070;
    color: white;
    padding: 0.1rem 0;
    text-align: center;
    line-height: 1.5;
}

/* Footer Section 2: No Background, Dark Blue Text */
.footer-section-2 {
    background-color: transparent;
    color: #1F4070;
    text-align: center;
    font-size: 0.9em;
}

/* --- START dashboard Styling --- */
/* Styles for the Hero Section */
.hero-section {
    background-image: url('Images/Landing_Page_Hero_Banner_Image.png');
    background-size: cover;
    background-position: center 40%; /* Adjust to show relevant parts of the image */
    background-repeat: no-repeat;
    position: relative;
    color: white; /* Ensure text is white over the image */
}

    /* Overlay to darken the background image, making text readable */
    .hero-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background-color: rgba(0, 0, 0, 0);*/ /* Adjust opacity for desired darkness */
        z-index: 0;
    }

/* Card styles for the contact tiles */
.card-title {
    color: #333;
}

/* For the Role Tiles/Images - assuming you'll have some small images */
.card img {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

/* Ensure Bootstrap Icons are available for the contact section and alerts */
/*@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

*/

/* --- Navigation Menu Styling --- */
.navigation {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Arranges menu items horizontally */
}

    .navigation li {
        margin-left: 20px;
    }

        .navigation li a {
            text-decoration: none;
            color: #333;
            font-weight: bold;
            padding: 5px 10px;
            transition: color 0.3s;
        }

            .navigation li a:hover {
                color: darkblue;
            }

/* --- END dashboard Styling --- */


/*print css*/
/* --- Optimized Print CSS --- */

@media print {
    /* 1. Force the header container to not wrap */
    .header{
        padding-bottom :0px !important;
    }
    .header .row {
        /*display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        width: 100% !important;*/
        justify-content: flex-end !important;
        align-items: center !important;
        padding-right: 0px !important;
    }

    /* 2. Fix the Logo container width */
    .header .logo {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

        .header .logo img {
            max-width: 300px !important;  
            height: auto !important;
        }

    /* 3. Fix the Text container width */
    .header .col-lg-7 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
        text-align: right !important;
        padding-left: 20px !important;
        padding-right: 0px !important;
        margin-right: 0px !important;
        margin-top: 0px !important;
        margin-left: auto !important;
    }
    .header .container, .header .container-fluid {
        padding-right: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }
    .header h3 {
        font-size: 15pt !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;  
        
    }
         h4 {
            font-size: 14pt !important;
            margin-bottom: 2px !important;
            white-space: nowrap !important;
        }
    .header h5 {
        font-size: 11pt !important;
        margin-top: 0 !important;
        padding-left: 40px !important;
        text-align: center !important;
    }
     /*1. Reset Global Layout for Print */
     *{
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    html, body {
        height: auto !important;
        overflow: visible !important;
        width: 100% !important;
    }

     /*2. FORCE DESKTOP VIEW (Side-by-Side) */
    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 10px !important;
    }

    .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;   
        width: 100% !important;
    }

     
    .col-md-6, .col-lg-6, .col-sm-12, .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        margin-bottom: 5px !important;
    }

    
    .col-12, .col-md-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }


    .form-check {
        display: flex !important;
        align-items: center !important;  
        gap: 10px;
        padding-left: 0 !important;
        /*margin-top: 5px !important;*/
    }

    .form-check-input {
        margin: 0 !important;
        position: static !important;  
        width: 18px !important;
        height: 18px !important; 
        display: inline-block !important;
    }

    .form-check-label {
        margin: 0 !important;
        display: inline-block !important;
        line-height: 1.2 !important;
        font-size: 11pt !important;
    }
    .section-header {
        font-size: 12pt !important;
    }
    .fw-bold {
        font-size: 11pt !important;
    }

    .form-control {
        border: 1px solid #ced4da !important;
        background-color: transparent !important;
        min-height: 1.2rem !important;
        font-size: 10pt !important;
    }


    .btn-footer, .btn, .nav, nav, .navbar, .action-bar, .btn-group, .text-muted {
        display: none !important;
    }

 
    header, .header {
        position: static !important;
        margin-bottom: 20px;
    }

    .footer, #footer {
        position: fixed !important;
        bottom: 0 !important;
        width: 100% !important;
        font-size: 8pt !important;

    }
    #dliucms{
        padding-top: 0 !important;
    }
    .footer-section-2 .container p {
        margin-bottom: 0px !important;
    }
}
