@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
    font-family: 'Open Sans', 'sans-serif';
    background: #fff;
}

h1, .h1 {
    font-size: 30px;
    text-align: center;
    font-weight: 200;
    color: #fff;
}

/* Navbar brand image */
.navbar-brand > img {
    display: block;
}

.navbar-brand {
    height: 75px;
    padding: 15px;
}

.nav-img {
    max-height: 60px;
    padding: 0;
    margin-top: 0;
}

/* Secondary navbar menu item width */
.navbar-light .navbar-nav .nav-link {
    width: 180px;
    font-weight: bold;
}

/* Mega Dropdown - Custom (keep this) */
.mega-dropdown {
    position: static !important;
    width: 100%;
}

.mega-dropdown-menu {
    padding: 20px 0;
    width: 100%;
    box-shadow: none;
}

.mega-dropdown-menu:before {
    content: "";
    border-bottom: 15px solid #fff;
    border-right: 17px solid transparent;
    border-left: 17px solid transparent;
    position: absolute;
    top: -15px;
    left: 285px;
    z-index: 10;
}

.mega-dropdown-menu > li > ul {
    padding: 0;
    margin: 0;
}

.mega-dropdown-menu > li > ul > li {
    list-style: none;
}

.mega-dropdown-menu > li > ul > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #999;
    white-space: normal;
}

.mega-dropdown-menu > li ul > li > a:hover,
.mega-dropdown-menu > li ul > li > a:focus {
    text-decoration: none;
    color: #444;
    background-color: #f5f5f5;
}

.mega-dropdown-menu .dropdown-header {
    color: #428bca;
    font-size: 18px;
    font-weight: bold;
}

/* Carousel - BS5 compatible */
.carousel-caption {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    color: #000;
    text-shadow: none;
}

.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 24px;
  padding: 0;              
  margin: 6px;
  border-radius: 50%;      
  background-color: #fff;
  line-height: 0;        

}

.carousel-indicators .active {
    width: 24px;
    height: 24px;
    margin: px;
    background-color: #8f3237;
    color: #8f3237;
}



/* Navigation boxes (custom - keep) */
.navbox-bullets {
    list-style: none;
}

.navbox-bullets-small-indent {
    margin-left: -22px;
}

.navbox, .navbox-menu {
    background-color: #f2f2f2;
    line-height: 35px;
}

.navbox-home {
    background-color: white;
    line-height: 35px;
    border-bottom: 5px solid #8f3237;
}

.navbox-active {
    background-color: white;
    line-height: 35px;
    border-bottom: 5px solid #e57200;
}

.navbox-employers {
    background-color: white;
    line-height: 35px;
    border-bottom: 5px solid #002d72;
}

.navbox-information {
    background-color: white;
    line-height: 35px;
    border-bottom: 5px solid #572c5f;
}

.navbox-board {
    background-color: #fff;
    font-size: 13px;
    margin-top: -5px;
}

.navbox-pull-center {
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 15px;
    text-align: center;
}

/* Footer */
.footer, footer a, .slider-desc-header {
    background-color: #002d72;
    color: white;
}

.footer-margins {
    margin-top: 25px;
    margin-left: 25px;
    padding-top: 25px;
}

/* Image overlays (custom - keep) */
div.image-overlay {
    background-color: #e87b20;
    bottom: 0;
    color: #fff;
    left: 14%;
    opacity: 1;
    position: absolute;
    text-align: center;
    display: block;
    max-width: 100%;
    height: auto;
    padding: 5px 15px;
}

div.image-overlay-board,
div.image-overlay-information, td.image-overlay-information {
    background-color: #572c5f;
    color: white;
}

div.image-overlay-employer, td.image-overlay-employer {
    background-color: #005f83;
    color: white;
}

div.image-overlay-active, td.image-overlay-active {
    background-color: #c15800 ;
    color: white;
}

div.image-overlay-retired, td.image-overlay-retired {
    background-color: #8f3237;
    color: white;
}

/* Secondary menu spacing */
.second-menu {
    margin-top: 80px;
}

/* Slider/Carousel news */
.slider-desc-header {
    padding: 8px;
    font-size: 15px;
}

.slider-desc a {
    color: #b3caff;
    font-weight: 900;
}

.slider-desc-header a {
    color: white;
}

.carousel-desc {
    color: #fefefe;
    padding: 10px 5px 5px 5px;
    margin-right: 20px;
    background-color: #4e4949;
    opacity: 0.85;
}


.carousel-desc-header {
    font-size: 24px;
}

.slider-news-item {
    margin-top: -230px;
    height: auto;
    min-height: 215px;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slider-news-item {
        margin-top: -250px;
        min-height: 240px;
    }
}

@media (max-width: 992px) {
    .slider-news-item {
        margin-top: -280px;
        margin-right: 2px;
        min-height: 278px;
    }
    .carousel-desc-header {
        font-size: 12px;
    }
    .navbar-light .navbar-nav .nav-link {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .slider-news-item {
        margin-top: 0;
        margin-right: 0;
        min-height: 225px;
        width: 100%;
        padding: 0;
    }
    .carousel-desc-header {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    div.image-overlay {
        top: 0;
        left: 0;
        position: relative;
        text-align: center;
        max-width: 100%;
        height: auto;
        padding: 1px;
    }
    .slider-news-item {
        min-height: 335px;
    }
}
/* Add this to your existing @media (max-width: 768px) section or at the end of the file */

@media (max-width: 767px) {
    /* Make the news overlay stack below the image */
    .slider-news-item.position-absolute {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    /* Reposition the carousel indicators to be visible */
    .controllers.position-absolute {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .carousel-indicators {
        position: relative !important;
        left: 0 !important;
        bottom: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
        padding: 10px 0;
        background-color: #002d72;
    }
    
    .carousel-indicators button {
        margin: 0 5px;
    }
}

h3.questions {
    margin-bottom: 10px;
    margin-top: 35px;
}

/* Typography */
h2, .h2 { font-size: 25px; font-weight: 200; color: black; }
h3, .h3 { font-size: 19px; font-weight: 200; color: black; }
h4, .h4 { font-size: 18px; font-weight: 300; color: black; padding-top: 10px; }

/* Table styles */
.table-no-border > thead > tr > th,
.table-no-border > tbody > tr > th,
.table-no-border > tfoot > tr > th,
.table-no-border > thead > tr > td,
.table-no-border > tbody > tr > td,
.table-no-border > tfoot > tr > td {
    border-top: 0;
    font-size: 13px;
    padding: 3px;
}

/* Print styles */
a[href]:after { content: ""; }
abbr[title]:after { content: ""; }

/* Remove hover background on nav */
.nav > li > a:hover,
.nav > li > a:focus {
    background-color: #fff;
}