.nsa-light-blue {
  color: #48b0dd;
}

.nsa-green {
  color: #a9d62b;
}

.nsa-seafoam-green {
  color: #9fe2d5;
}

.nsa-purple {
  color: #5d50d8;
}

.nsa-navy-blue {
  color: #2c2c6d;
}

.nsa-darker-green {
  color: #48A648;
}

img {
  border-radius: 6px;
}

table td p:last-child {
    margin: 0;
}

/* Back to NATS button */
.nsa-header .hmenu .hmenu_page_2103 {
  color: #fff;
  background: #48a648;
  padding: 8px 22px;
  margin-right: -5px;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.5;
  font-size: 16px;
  display: inline-block;
}

.nsa-header .hmenu .hmenu_page_2103:hover,
.nsa-header .hmenu .hmenu_page_2103:active,
.nsa-header .hmenu .hmenu_page_2103:focus,
.nsa-header a.Login:hover,
.nsa-header a.Login:active,
.nsa-header a.Login:focus {
  color: #fff;
  background-color: #3e8f3e;
}

/*.sidebar:not(:has(#VMenuSide > li)) > h3 {
    display: none;
}*/

/* NSA home banner */
.banner {
    position: relative;
    background: url(microphone-at-concert.jpg);
    padding: 24px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: 0 -100px;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8); /* white overlay */
}

.banner img {
    position: relative;
    z-index: 1;
}

.intro-table {
    margin-top: 60px;
}

.intro-table h1 {
    font-size: 36px;
    font-weight: 400;
}

.intro-table p {
    margin-bottom: 40px;
}

.intro-table p:last-child {
    margin: 0;
}

/* NSA tables */
.nsa-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.nsa-table td {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    vertical-align: top;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nsa-table td p:last-child {
    margin: 0;
}

.nsa-table td img {
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.nsa-table .fas {
    display: block;
    padding: 35px 20px 0;
    text-align: center;
    font-size: 50px;
    color: #48a648;
}

.icon-table td {
  text-align: center;
  background-color: #e6e4fd;
  border: 2px solid #e6e4fd;
}

.nsa-table h3 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.nsa-table td a {
    position: static;
}

.nsa-table td a::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Hover effect */
.nsa-table td:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.nsa-table td:hover img {
    transform: scale(1.05);
}

/* Mobile */
@media (max-width: 767px) {
    .nsa-table,
    .nsa-table tbody,
    .nsa-table tr,
    .nsa-table td {
        display: block;
        width: 100% !important;
    }

    .nsa-table {
        border-spacing: 0;
    }

    .nsa-table td {
        margin-bottom: 20px;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nsa-table td,
    .nsa-table td img {
        transition: none;
    }

    .nsa-table td:hover {
        transform: none;
        box-shadow: none;
    }

    .nsa-table td:hover img {
        transform: none;
    }
}

/* NSA header and footer styles */
.nsa-header,
.nsa-footer {
    background-color: #2c2c6d;
}

.nsa-header,
.nsa-header a,
.nsa-header .hmenu a,
.nsa-footer,
.nsa-footer a,
.nsa-footer ul.social a,
.nsa-header span.cart-items a,
.nsa-header #search a,
.nsa-header #menuText {
   color: #fff;
}

.nsa-header a:hover,
.nsa-header a:active,
.nsa-header a:focus,
.nsa-header .hmenu a:hover,
.nsa-header .hmenu a:active,
.nsa-header .hmenu a:focus,
.nsa-footer a:hover,
.nsa-footer a:active,
.nsa-footer a:focus,
.nsa-footer ul.social a:hover,
.nsa-footer ul.social a:active,
.nsa-footer ul.social a:focus,
.nsa-header span.cart-items a:hover,
.nsa-header span.cart-items a:active,
.nsa-header span.cart-items a:focus,
.nsa-header #search a:hover,
.nsa-header #search a:active,
.nsa-header #search a:focus {
    color: #24c324;
    text-decoration: none;
}

.nsa-header .icon-bar {
    background-color: #fff;
}

.nsa-header .hmenu #thispage {
    color: #24c324;
}

.nsa-header #search {
    border-right: 1px solid #fff;
}

/* News */
#news {
  background: none;
}

/* NSA alternate table style */
.nsa-image-table {
    border-collapse: separate;
    border-spacing: 20px 0;
}

.nsa-image-table td {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    vertical-align: top;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.nsa-image-table td a {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}

.nsa-image-table td img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.35s ease;
}

@media (min-width: 768px) {
  .nsa-image-table td img {
     height: 357px;
     object-fit: cover;
  }
}

.nsa-image-table td h3 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 12px 15px;
    background: rgba(93, 80, 216, 0.8);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.nsa-image-table td a::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    content: "";
}

/* Hover effect */
.nsa-image-table td:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.nsa-image-table td:hover img {
    transform: scale(1.08);
}

.nsa-image-table td a:hover img:not(a#logo img) {
    opacity: 1;
}

/* Mobile */
@media (max-width: 767px) {
    .nsa-image-table,
    .nsa-image-table tbody,
    .nsa-image-table tr,
    .nsa-image-table td {
        display: block;
        width: 100% !important;
    }

    .nsa-image-table {
        border-spacing: 0;
    }

    .nsa-image-table td {
        margin-bottom: 20px;
    }

    .intro-table td {
        padding: 15px 0;
    }
  
    .intro-table h1 {
        font-size: 30px;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nsa-image-table td,
    .nsa-image-table td img {
        transition: none;
    }

    .nsa-image-table td:hover {
        transform: none;
        box-shadow: none;
    }

    .nsa-image-table td:hover img {
        transform: none;
    }
}

iframe {
    border: none;
}

.sidenav #VMenu a {
  display: inline-block;
}

.nsa-header .hmenu .hmenu_page_2092,
.sidenav #VMenu #VM_page_2092 > .VM_collapse > a,
.sidenav #VMenu #VM_page_2092 > .VM_expand > a {
    font-size: 0;
}

.nsa-header .hmenu .hmenu_page_2092::before,
.sidenav #VMenu #VM_page_2092 > .VM_collapse > a::before,
.sidenav #VMenu #VM_page_2092 > .VM_expand > a::before {
    content: "\f015";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
}

@media (min-width: 768px) {
    ul.side-links {
        max-width: 230px;
    }
    
    .sidenav #VMenu li.mLabel {
        width: 230px;
    }
}

@media (max-width: 1400px) {
  header .hmenu a {
    font-size: 16px;
    margin: 0 10px;
  }
}


@media (max-width: 1199px) {
  header .hmenu a {
    font-size: 14px;
  }
}


@media (min-width: 992px) and (max-width: 1199px) {
  #menuText {
    display: none;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .alignRight {
        float: none;
        margin: 0 0 30px !important;
    }
}
