.body {
    font-family: "Arial" !important;
    font-size: 11pt;
}

h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 25px !important;
    color: #112047 !important;
}

h2
{
    font-family: "Arial" !important;
    font-size: 20px !important;
    font-weight: bold;
    color: #3D507A !important;
}
.inner-banner-title{
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 32px !important;
    margin-left: 30rem !important;
    background-color: rgba(41, 82, 144, 0.8); /* #295290 with 50% transparency */
    color: white; /* Solid white text */
    padding: 0px 20px; /* Optional: Adds space around the text */
    display: inline-block; /* Optional: Ensures the block wraps around the text */
    
}
h4
{
    font-family: "Arial" !important;
    font-size: 12px !important;
    font-weight: bold !important;
    color: #3D507A !important;
}
h5
{
    font-family: "Arial" !important;
    color: #3D507A !important;
}
h6
{
    font-family: "Arial" !important;
    color: #3D507A !important;
}
a
{
    font-family: "Arial" !important;

}

.secondary-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important; /* Adjusted padding for better height */
    border: 1px solid #112047 !important; /* Dark border */
    background-color: #ffffff !important; /* White background */
    color: #1c1c1c !important; /* Dark text */
    font-size: 14px !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    text-align: center !important;
    cursor: pointer !important;
    border-radius: 8px !important; /* Rounded corners */
    min-height: 36px !important; /* Ensures proper button height */
    line-height: 1 !important;
    width: 100% !important;
  }
  
  .secondary-btn:hover {
    font-size: 15px !important; /* Slightly bigger */
    padding: 8px 18px !important; /* Adjust padding slightly on hover */
    background-color: #112047 !important; /* White background */
    color: #fff !important;
  }
  



a.btn, .btn-primary {
   /* background-color: #ffffff !important; 
    color: #1c1c1c !important; 
    padding: 8px 16px !important; 
    border: 1px solid #112047 !important; 
    border-radius: 4px !important; 
    font-size: 14px !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important; 
    text-align: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
    margin-bottom: 10px !important;*/
}

a.btn:hover, .btn-primary:hover {
    background-color: #112047 !important; /* White background */
    color: #fff !important;
}

.apply-a
{
    background-color: #ffffff !important; /* White background */
    color: #1c1c1c !important; /* Dark text */
    padding: 8px 16px !important; /* Adjusted padding for better height */
    border: 1px solid #112047 !important; /* Dark border */
    border-radius: 4px !important; /* Rounded corners */
    font-size: 14px !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow:none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important; /* Keeps consistent height */
    text-align: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
    margin-bottom: 10px !important;
    min-width: 200px !important;
}
.apply-a:hover
{
    font-weight: bold !important;
   /* font-size: 15px !important; /* Slightly bigger */
   /* transform: scale(1.05) !important; /* Subtle size increase */
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a
{
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 19px !important;
}
.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.card {
    width: calc(20% - 20px);
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 200px;
    background-color: #015F80; /* New idle state color */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover state for all cards */
.card:hover {
    background-color: #2D4FA2; /* New hover state color */
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-grow: 1;
}

.card-image {
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 80px;
    margin: 0 auto;
    display: block;
}

.dimensions {
    color: #42a5f5;
    font-size: 10px;
    margin-top: 10px;
    text-align: center;
}

.card-footer {
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border-top: 1px solid #ddd;
    margin-top: auto; /* Pushes footer to bottom */
}

.card-header {
    background-color: #f4f4f4;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.card-body {
    padding: 15px;
    text-align: center;
    font-size: 16px;
}

@media (max-width: 768px) {
    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
    }
}
.dimensions {
    color: #42a5f5;
    font-size: 10px;
    margin-top: 10px;
}

footer a
{
    font-size: 20px !important; text-decoration: none;
}
.inner-banner .inner-banner-bg .bg {
    background-image: url(/communication-banner.jpg) !important;
}

.actions .btn-group #SaveAsDraftButton, .actions .btn-group #SaveAsDraftNextButton, .actions #InsertButton
{
    background-color: #ffffff !important; /* White background */
    color: #1c1c1c !important; /* Dark text */
    padding: 8px 16px !important; /* Adjusted padding for better height */
    border: 1px solid #112047 !important; /* Dark border */
}
submit-btn btn btn-primary form-action-container-left
{
    color: #fff;
}
.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a
{
    font-size: 15px !important;
}

.footer-bottom {
    padding: 47px 0 !important;
}
/*.form-control
{
    border-radius: 0px !important;
    background-color: #f2f3f5 !important;
    color: #3F507A !important;
    
    font-size: 14px !important;
}*/
.trim-height{
    display: block !important; /* Change from -webkit-box to block */
    text-overflow: clip !important; /* Remove ellipsis */
    white-space: normal !important; /* Ensure text wraps normally */
}
card-footer
{
    vertical-align: bottom !important;
}
.table 
{
    font-size: 18px !important;
}
.pagination
{
    font-size: 11px !important;
}
pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover {
    background-color: #24294c !important; /* Uncomment and adjust as needed */
    border: 1px solid #295290 !important; /* Uncomment and adjust as needed */
    border-radius: 0 !important;
    color: #fff !important;
    cursor: pointer;
}

/* Add hover effect for non-active pagination items */
.pagination > li > a:hover {
    background-color: #24294c; /* Change to your desired hover background color */
    border-color: #295290; /* Change to your desired hover border color */
    color: #fff; /* Change to your desired hover text color */
}
.control
{
   /* border-radius: 6px !important;*/
}
submit-btn btn btn-primary form-action-container-left
{
    font-family: Arial, Helvetica, sans-serif !important;
}

#EntityFormPanel legend.section-title {
    background-color: transparent !important;
    color: black;
    padding-left: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
    /*color: #fff;*/
}

.notification-bar {
    width: 100%; 
    background-color: rgb(185, 191, 223); 
    border: 1px solid rgb(115, 127, 191); 
    margin-bottom: 15px;
}

.notification-bar.error {
    background-color: rgb(223, 185, 185); 
    border: 1px solid rgb(191, 115, 115); 
}

.notification-bar > .notification-bar-info{
    padding: 5px 5px 0px 15px;
}
.notification-bar > .notification-bar-info > #notification-bar-text{
    margin-bottom: 0px; 
    color: #242a4e;
}

.notification-bar.error > .notification-bar-info > #notification-bar-text{
    margin-bottom: 0px; 
    color: #4e2424;
}
.control
{
    /*border-radius: 0px !important;
    background-color: #f2f3f5 !important;
    color: #3F507A !important;
    border:1px solid #d4dce1 !important;
    font-size: 14px !important;*/
}
.FileUploader{
    border:1px solid #d4dce1 !important;
}
.actions .btn-group #SaveAsDraftButton, .actions .btn-group #SaveAsDraftNextButton, .actions #InsertButton
{
    padding: none !important;
}
.btn-default
{
    color: #3F507A !important;
    border: 1px solid #3F507A !important;
}
/*.logo
{
    height: 108px  !important; width: 108px !important;
}*/
.listing-brief:after
{
    background: #3F507A !important;
}
.footertext
{
    font-size: 11px !important;
    color: #295290 !important;

}
.btn-hg {
    height: 35px !important;
}
/*.progress.list-group .list-group-item::before
{
    height: 1.75rem !important; width: 1.75rem !important; font-family:Arial, Helvetica, sans-serif !important; padding: 10px !important; font-size: 14px !important; background-color: #18549e !important; color: #fff !important;
}
.list-group-item{ font-size: 14px !important; color: #18549e !important;}*/

.tab-title
{
    background-color: #fff !important;
}




.slider-container {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.slide.active {
    opacity: 1;
}
.slide-content {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
}
.slide-content h1 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #42a5f5 !important;
}
.slide-content p {
    font-size: 16px;
}
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}
.indicator {
    width: 15px;
    height: 15px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.indicator.active {
    background-color: white;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}
.prev-btn {
    left: 10px;
}
.next-btn {
    right: 10px;
}
.ecsalogo {
    width: 55%;
    height: 55%;
    padding: 5px;
    margin-top: -16px;
}