#header {
    height: 100px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%
}

.header-container .navbar-brand {
    padding: 0px;
}

.mobile-header .text {
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    color: #003d7c !important;
    line-height: 1.25;
}
  
.mobile-header {
    position: relative;
    width: 100%;
    min-height: 1px;
    display: flex;
    align-items: center; /* This aligns items vertically in the center */
    justify-content: flex-start; /* This aligns items to the right side */
}
  
.mobile-header .logo-image{
    border-right: 1px solid #003d7c;
    padding-right: 8px;
    margin-right: 15px;
}

.mobile-header .logo-image img {
    width: 131px;
    height: auto; 
    margin: 0px 15px;
}
  
.mobile-header .logo-text {
    /* display: flex;
    flex-direction: column;
    white-space: nowrap; */
    font-size: 12px;
    line-height: 16px;
    color: #003d7c;
    font-weight: normal;
    margin-bottom: 0px;
}

/* adjust the size of the logo and text according to screen size */
@media (max-width: 480px) {
    .mobile-header .logo-text .text {
        font-size: 15px;
        line-height: 1.25;
    }

    .mobile-header .logo-image img {
        width: 90px;
    }
}

@media (max-width: 767px) and (min-width: 481px) {
    .mobile-header .logo-text .text {
        font-size: 20px;
        line-height: 1.25;
    }

    .mobile-header .logo-image img {
        width: 100px;
    }
}
  
.mobile-header .text-link {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* The color will be the same as your text */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
  
.mobile-header .text-top,
.mobile-header .text-bottom {
    margin: 0;
    /* You can specify font properties here */
}

/* for hamburger menu */
.mobile-menu {
    position: relative;
    display: inline-block;
}

.mobile-navbar {
    display: none !important;
    position: absolute;
    top: 68px;
    right: 0;
}

.mobile-navbar.open {
    display: block !important;
}

.mobile-navbar .nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    float: right;
}

.mobile-navbar li {
    position: relative;
    padding: 0px 20px;
}

.mobile-navbar li a {
    color: #999;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    display: block;
    text-decoration: none;
    background-color: transparent;
}

.mobile-navbar li a:hover {
    color: #000;
    background-color: transparent;
    font-size: 14px;
    border-bottom: 3px solid #ef7c00;
}

.mobile-navbar li a[class="navbar-icon"] {
    color: rgb(129, 129, 129);
}

.mobile-navbar li a[aria-current="page"] {
    color: #003d7c;
    font-size: 14px;
    border-bottom: 3px solid #ef7c00;
}

.mobile-navbar .dropdown-menu {
    margin-top: 0;
    padding: 10px;
}

.mobile-navbar .dropdown-menu > li {
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    padding: 0px;
}

.mobile-navbar .open .dropdown-menu > li > a {
    color: #003d7c;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    position: relative;
    display: block;
    text-decoration: none;
    background-color: transparent;
}

.mobile-navbar .open .dropdown-menu > li > a:hover {
    color: #262626;
    background-color: #f5f5f5;
    border: 0;
    padding: 5px 15px 5px 23px;
    margin: 0;
}

@media (max-width: 767px){
    .mobile-navbar {
        right: -10vw;
    }
}

@media (min-width: 768px) and (max-width: 991px){
    .mobile-navbar {
        right: -3vw;
    }
}


.mobile-icon.open span:nth-child(2) {
    transform: rotate(45deg) translate(5px, 4px);
}

.mobile-icon.open span:nth-child(3) {
    opacity: 0;
}

.mobile-icon.open span:last-child {
    transform: rotate(-45deg) translate(5px, -3px);
}

.mobile-icon span:nth-child(2) {
    transform: none;
}

.mobile-icon span:nth-child(3) {
    opacity: 1;
}

.mobile-icon span:last-child {
    transform: none;
}

.footer-bottom {
    padding: 10px 0;
}

footer .col-md-9 {
    display: flex;
    justify-content: center;
    width: 100%;
}

footer .info-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer .title-contact {
    font-weight: 500;
    font-size: 18px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 24px;
    color: #fff;
}

footer .info-item {
    display: flex;
    margin-bottom: 20px;
}

footer .icon-info {
    padding-right: 20px;
}

footer .footer-text-info {
    font-weight: 400;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 20px;
    color: #999;
}

footer .info-item p {
    padding: 0px;
    margin: 0px;
    text-align: left;
}

footer .contact-info a {
    text-decoration: none;
}

footer .list-social {
    list-style-type: none;
    padding-left: 0px;
    margin-bottom: 0px;
    margin-top: 20px;
}

footer .list-social li {
    padding: 7px;
    display: inline-block;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

footer .list-social li:first-child {
    padding-left: 0px;
}

footer .copyright {
    border-top: 1px solid #003d7c;
    background-color: #003062;
    padding: 40px 10px;
    text-align: center;
}

footer .info {
    display: block;
}

footer .info p {
    justify-content: center;
}

footer .info a {
    text-decoration: none;
}

footer .copyright p, footer .copyright a {
    font-weight: 400px;
    font-size: 12px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 22px;
    color: #999;
    margin-bottom: 0px;
}

footer .copyright p span {
    padding: 0 20px;
}

.main-navbar {
    position: relative;
    /* min-height: 64px; */
    height: 52px;
    min-height: 50px;
    margin-bottom: 21px;
    border: 1px solid #e7e7e7;
    border-left: 0;
    border-right: 0;
    background-color: #f8f8f8;
    align-items: center;
    justify-content: center;
    display: flex;
} 

.main-navbar .container {
    max-width: 1140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-navbar .weblinks {
    margin-right: auto;
}

.main-navbar .search {
    margin-left: auto;
}

.main-navbar .weblinks > li {
    margin-left: 30px;
}

.main-navbar .weblinks > li:first-child {
    margin-left: 0;
}

.main-navbar .weblinks > li > a {
    color: #999;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    display: block;
    text-decoration: none;
    background-color: transparent;
}

.main-navbar .weblinks > li > a[class="navbar-icon"] {
    color: rgb(129, 129, 129);
} 

.main-navbar .weblinks > li > a:hover {
    color: #000;
    font-size: 14px;
    border-bottom: 3px solid #ef7c00;
}

.main-navbar .weblinks > li > a[aria-current="page"] {
    color: #003d7c;
    font-size: 14px;
    border-bottom: 3px solid #ef7c00;
}

#navbar .dropdown-menu {
    margin-top: 0;
    padding: 10px;
}

.main-navbar .dropdown-menu > li {
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}

.nav .open .dropdown-menu > li > a {
    color: #003d7c;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    position: relative;
    display: block;
    text-decoration: none;
    background-color: transparent;
}

.nav .open .dropdown-menu > li > a:hover {
    color: #262626;
    background-color: #f5f5f5;
    border: 0;
    padding: 5px 15px 5px 23px;
    margin: 0;
}

.main-navbar .toggleSearch {
    border: none;
    margin: 0 0 5px;
    padding-right: 30px;
    background-color: transparent;
}

.navbar .container {
    max-width: 1140px;
}

.navbar .container, .navbar .container .row, .navbar .container .row .navbar-brand, .navbar .container .row .menu-top-area, .navbar .container .row .mobile-nav {
    height: 65px;
}

.navbar-static-top.navbar > .container > .row > div {
    display: block;
    float: left !important;
}

.navbar .menu-top-area .menu-top {
    list-style-type: none;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    height: 65px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.navbar .menu-top-area .menu-top li {
    display: inline-block;
    padding: 0 15px;
}

.navbar .menu-top-area .menu-top li a {
    color: #999;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 16px;
    position: relative;
    display: block;
    text-decoration: none;
    background-color: transparent;
}

.mobile-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3px;
}

.mobile-nav .mobile-menu {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.mobile-nav .mobile-menu > li {
    padding: 10px;
}

.navbar-nav {
    float: left;
    margin: 0
}

.navbar-nav>li {
    float: left
}

.navbar-nav>li>a {
    padding-top: 14.5px;
    padding-bottom: 14.5px
}

/* Section Header */
.section-header {
    font-weight: bold;
    font-size: 24px !important;
    color: #003D7C;
}

/* Table or List */
.table>thead {
    background-color: #EF7C00;
}

.table>thead>tr>th>a {
    color: white;
    text-decoration: none !important;
    font-weight: bold !important;
}

.table>thead>tr>th {
    color: white !important;
    text-decoration: none !important;
    font-weight: bold !important;
    white-space: nowrap;
}

.table>tbody>tr>td {
    padding: 8px;
    line-height: 1.42857;
    height: 50px;
    border-top: 1px solid #ddd;
    word-break: keep-all;
}

.table {
    border: 1px solid #f2f2f2 !important;
    border-radius: 5px !important;
    border-collapse: separate;
}

table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}
    
table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

thead th:first-child {
    border-top-left-radius: 4px;
}

thead th:last-child {
    border-top-right-radius: 4px;
}

.table>tbody>tr>td>input {
    background-color: transparent;
}

input::file-selector-button {
    color: #EF7C00!important;
    border-radius: 2px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-color: #EF7C00 !important;
    padding: 6px 20px;
    width: fit-content;
    border-style: solid;
    background-color: transparent !important;
    border: 1px solid #EF7C00 !important;
    margin-right: 10px;
}

.crmEntityFormView .cell input[type=email] {
    width: 100%;
}

@media (max-width: 991px){
    .stacked-table {
        width: 100%;
        border-collapse: collapse;
    }

    .stacked-table thead {
        display: none;
    }

    .stacked-table tr {
        display: block; /* Display rows as blocks */
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    
    .stacked-table>tbody>tr>td {
        display: block; /* Display cells as blocks */
        text-align: left;
        padding: 30px 10px 10px 10px;
        position: relative;
        height: fit-content;
        min-height: 50px;
    }

    .stacked-table>tbody>tr>td:first-child {
        background-color: #EF7C00;
        color: white;
    }

    .stacked-table td p {
        margin: 0px;
    }

    .stacked-table td::before {
        content: attr(data-label); /* Use the data-label attribute as a label */
        position: absolute;
        left: 10px;
        top: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
    }
}

/* Built-In Form */
option {
    color: black;
    background-color: white;
    padding: 5px;
    font-size: 14px;
  }

.section-title {
    padding-left: 28px !important;
  }
  
  .tab-title {
    padding-left: 28px !important;
    font-weight: bold;
  }

/* App Details Header */
.cepovs-header {
    font-size: 25px !important;
}

/* Modified add new below: Breadcrumb */
/* General breadcrumb styling */
/* Reset list styles */
.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Align items vertically */
    border: 1px solid #f2f2f2;
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    margin: 15px 0px 20px 0px;
  }
  
  .breadcrumb li {
    margin-right: 20px; /* Space between the text and the separator */
  }

  .breadcrumb a {
    color: #999999;
    text-decoration: none !important;
  }
  
  /* Separator styles */
  .breadcrumb li:first-child {
    margin-left: 20px;
  }

  .breadcrumb li:not(:last-child)::after {
    content: '>';
    color: #999999 !important; /* The color for the separator */
    margin-left: 20px; /* Space after the separator */
  }

  .breadcrumb > li a:hover {
    color: #003D7C;
    font-weight: bold; }
  
  /* Active item styles */
  .breadcrumb li.active{ /* Assuming the last item is always active */
    background-color: #003D7C; /* The background color for the active item */
    color: white !important; /* The text color for the active item */
    padding: 10px 20px; /* The padding for the active item */
    border-radius: 25px; /* Rounded corners for the active item */
    margin-right: 0px;
    /* box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); /* Add shadow for depth */
  }

  @media screen and (max-width: 767px){
    .breadcrumb {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        border: none;
        box-shadow: none;
    }

    .breadcrumb li {
        border: 1px solid #f2f2f2;
        border-radius: 50px;
        box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
        margin: 0px;
        padding: 10px 20px;
        width: 80vw;
    }

    .breadcrumb li.active {
        margin-left: 3px;
        padding: 12px 24px;
    }

    .breadcrumb li:first-child {
        margin-left: 0px;
    }

    .breadcrumb li:not(:last-child)::after {
        content: none;
    }
}

@media (min-width: 768px) and (max-width: 1200px){
    .breadcrumb li:first-child {
        margin-left: 10px;
    }

    .breadcrumb li {
        margin-right: 10px;
    }
}

/* Modified add new below: Progress Bar */
/* Base styles for the list */
.progress {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white;
  }
  
  /* Styles for each list item */
  .progress .list-group-item {
    background-color: white; /* A light gray background */
    border-radius: 4px; /* Rounded corners */
    margin-bottom: 10px; /* Space between items */
    padding: 10px 15px; /* Padding inside each item */
    color: #333; /* A light text color for inactive items */
    font-size: 14px; /* Adjust font size as needed */
    padding-left: 50px;
  }
  
  /* Styles for the active item */
  .progress .list-group-item.active {
    color: white; /* White text for active item */
    position: relative; /* For positioning the pseudo-elements */
  }
  
  /* Styles for the completed item */
  .progress .list-group-item.completed {
    color: #bbb; /* Darker text color for completed items */
    position: relative;
  }
  
  /* Pseudo-element for the numbers */
  .progress .list-group-item:before {
    content: counter(step); /* Create a counter for the list numbers */
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 25px;
    border: 2px solid #003D7C; /* Blue border */
    display: inline-block;
    text-align: center;
    border-radius: 50%; /* Make it a circle */
    background: white;
    color: #003D7C; /* Blue text color */
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
  }
  
  /* Pseudo-element for the active item to invert colors */
  .progress .list-group-item.active:before {
    background: #003D7C;
    color: white;
    border-color: #003D7C;
  }

    /* Pseudo-element for the completed item to invert colors */
    .progress .list-group-item.completed:before {
        background: white;
        color: #bbb;
        border-color: #bbb;
        }
  
  /* Initial setup for the counter */
  ol.progress {
    counter-reset: step 0; /* Start the counter at 0 */
    margin-top: 0px !important;
  }

  
  .progress li:not(:last-child):after {
    content: '';
    position: absolute;
    width: 2px;
    height: 75px;
    background: #003D7C;
    left: 24.5px;
    top: calc(100% - 35px);
    bottom: 0;
    z-index: 2;
    }
    /* Additional styles for the 'active' class if needed */
    .progress .list-group-item.active:after {
        background: #003D7C; /* Active line color */
        /* ... */
    }

    /* Additional styles for the 'completed' class if needed */
    .progress .list-group-item.completed:after {
        background: #003D7C; /* Completed line color */
        /* ... */
    }
  
  /* Additional styles for links */
  .progress .list-group-item a {
    color: inherit; /* Links inherit text color */
    text-decoration: none; /* No underline */
    margin-left: 0px;
  }

  .progress .list-group-item.active a {
    font-weight: bold;
    color: #003D7C;
}

/* App Details Header */
.info-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-left: 0;
    width: 100%
}

.info-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px;
    padding: 20px;
    transition: box-shadow 0.3s ease-in-out;
    width: 500px;
}

.info-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-icon img {
    width: 48px !important;
    height: auto !important;
    margin-right: 20px;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 1.2rem;
    color: #777;
}

.info-detail {
    font-size: 2.8rem;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.status-approved {
    color: #003D7C;
}

@media screen and (max-width: 767px){
    .info-container {
        flex-direction: column;
        gap: 10px;
    }

    .info-card {
        width: 80vw;
    }

    .info-detail {
        white-space: normal;
    }
}

@media (max-width: 1200px) {
    .info-container {
        flex-direction: column
    }
}

/* change the control alignment from vertical to horizontal */
.section tbody tr td div.control {
    clear: none !important;
    width: 60%;
    float: right;
}

.section tbody tr td div.info {
    display: inline;
}

/* add overflow to table container */
.table-container-with-overflow {
    overflow-y: none;
    max-height: 100%;
}

textarea.form-control {
    width: 100%;
}

/* overlay spinner */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* semi-transparent white overlay */
    z-index: 9999; /* Ensure it's above other content */
    display: none; /* Initially hidden */
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* CSS animation for spinning */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
