:root {
    --menu-count: 6;
    --header: #4B088A;
    --bg: #f6f7f9;
    --text: #1f2937;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.4;
}
h1 {
    color: var(--header);
}

/* Layout wrapper (optional but recommended) */
.page {
  min-height: 100vh;
  padding-top: 150px;
}

.mobile-menu-btn {
    display: none;
}
.header-main {  /* header displayed on mobile device menus*/
    width: 100%;
    padding: 0 60px;
    height: 60px;
    background-color: var(--header);
    display: none; /*flex*/
    justify-content: space-between; /* pushes everything to the edges */
    border-radius: 20px 20px 20px 20px;
    position: fixed;
    top: 0;
    z-index: 100;
}

.header-main nav {
    padding-top: 4vh;
    display: flex;
}

.header-main .logo {
    height: 40px;
    width: fit-content;
    align-self: center;
    cursor: pointer;
}

.header-main .logo img {
    height: 100%;
}


.header-main ul {
    height: 100%;
    padding-left: 40px;
    list-style: none;
    display: flex;
    align-self: center;
}

.header-main ul li {
    position: relative;
    text-decoration: none;

}
/* style the anchor tags inside the list items */
.header-main ul li a {
    display: block;
    padding: 0 10px;
    height: 100%;
    line-height: 60px;
    font-size: 1rem;
    color: #FFF;
    background-color: var(--header);
    text-transform: uppercase;
    text-decoration: none;
    cursor:pointer;
    transition: all ease-in-out 100ms;
}

/* style hover over menu */
.header-main ul li a:hover {
    background-color: #CCC;
    color: #fff;
}

/* Dropdown styling start */
.header-main ul li ul {
    visibility: hidden;
    opacity: 0;
    display: none;
    position: absolute;
    left: -40px;
    transition: all ease-in-out 100ms;
}




.header-main ul li > ul {
  z-index: 999;
}




.header-main ul li ul li a {
    white-space: nowrap;
}


.header-main ul li:hover>ul {
    visibility: visible;
    opacity: 1;
    display: block;
}
/* end dropdown styling */



/*******************************************************************/
/* importing new_main.css */
.top-top {
    height:125px;
    /*position: relative;*/
    
    background: var(--header);
    color: #fff;
    padding: 18px 20px;
    border-radius: 5px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 100;  
}


/* header logo */
.top-logo {

    height: 130px;
    border-radius: 10px;
    background: var(--header);/*rgba(255,255,255,.18);*/
    display: grid;
    place-items: center;
    font-weight: 900;
    position:absolute;
    left: 16px;
    top: 10%;
    /*transform: translateY(-30%);*/
}
.top-logo img {
    height:140px;

}

.top-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    max-width: 60%;
}

.top-banner-text {
    font-size: 50px;
    color: #FFF;
    padding-bottom: 5px;
}

.top-banner-logo {
    max-height: 75p;
    width: auto;

}
.top-banner-logo img {
    width: auto;
}


/* 3-panel layout */
.content {
    display: flex;
    gap: 16px;              /* optional spacing between panels */
    align-items: stretch;
    padding-top: 15px;
}

.left-panel {
    flex: 0 0 150px;        /* no grow, no shrink, fixed basis */
    width: 150px;
}

/* Middle: takes remaining space */
.middle-panel {
  /*flex: auto;         /* grows to fill leftover space */
  min-width: 30%;           /* important so long content can shrink instead of overflowing */
  display: block;
  padding-top: 10px;
}

/* Right panel: fixed 200px */
.right-panel {
  /*  flex: 0 0 200px;*/
  display: block;
  width: 200px;
  justify-content: center;
  align-items: flex-start;

}

.right-panel table {
    margin: 0;
    align-self: flex-start;
}

.nowrap {       /* no wrap on table cell */
  white-space: nowrap;
}
/*************************************************************************************************
/***** Responsive
/*************************************************************************************************/

@media only screen and (max-width: 600px){
  .content {
    flex-direction: column;
  }

.header-main {
    display: none;
}
.page {
    padding-top: 10vh;
}

.top-top {      /* header */
    height:10vh;
    background: var(--header);
    position:fixed;
    color: #fff;
    padding: 0px;
}

/* header logo */
.top-logo {

    height: 8vh;
    border-radius: 1px;
    left: 2px;
    top: .5vh;
}
.top-logo img {
    height: 9vh;
    width: auto;
    align-self: center;

}


.top-banner-logo {
    max-height: 5vh;
    width: auto;
}
.top-banner-logo img {
    position:absolute;
    left:25%;
    bottom: 0;
    height: 4vh;
    width:auto;
    transform: translate3d(-50%)
}
.top-banner-text {
    font-size: 4vw;
    color: #FFF;
    padding-top: 1vh;
    padding-bottom: 2px;
}

.mobile-menu-btn {
    display: flex;
    justify-content: center;
    width: 60px;
    height: 60px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    background-color: var(--header);
}

.mobile-menu-btn img {
    height: 80%;
    align-self: center;
}

.middle-panel {
    padding-top: 2px;
    padding-left: 4px;
    overflow-x: auto;
}
.left-panel {
    display: none;
  }
  .right-panel,
  .middle-panel {
    width: 100%;
    flex: 0 0 auto;       /* let them size naturally in the column stack */
  }
.right-panel {
  /*flex: 0 0 200px;*/
  /*flex: 0 0 100%;*/
  width:100%;
  justify-content: center;
  align-items: center;
}





.header-main {
    background-color: var(--header);
    height: 100vh;      /* 100 view height so that everything fits into mobile device */
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0;
    justify-content: flex-start;
}

.header-main nav {
    width: 100%;
    height: 100vh;           /* 80% of the screen. the other 20% used for social media links */
    flex-wrap: wrap;        /*.  */
    flex-direction: column;
    align-content: stretch;
}

.header-main .logo {
    height: 30%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.header-main .logo img {
    height: 60%;
    align-self: center;
    cursor: pointer;
}

.header-main ul {
    height: 70%;
    width: 100%;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: space-between;   /* everything split out*/
}

.header-main ul li {
    width: 100%;
    height: calc(100% / var(--menu-count));
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;         /* all menu items a border on top */
    display: flex;  /* we set a flex with nowrap and column to make the dropdown go below the "main section" and justify content instead since we are using column to center the text*/
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    transition: all ease-in-out 100ms;
}

.header-main ul li:nth-last-child(1){
    border-bottom: 1px solid #eee;
}

.header-main ul li a {
    width: 100%;
    height: fit-content;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 2.5rem;
}

.header-main ul li a:hover {        /* this erases the hover affect set for desktop version. doesn't actually do any hover activities */
    background-color: transparent;
    color:var(--header);
}
/**. add ability to scroll for longer menus **/
.header-main nav {
    overflow-y: scroll;
    overflow-x: hidden ;
}

.header-main ul li ul {     /* gets rid of the -40 which shifts list */
    display: none;
    flex-wrap: nowrap;
    flex-direction: column;
    position: absolute;
    top: 0;
    left:0;
    z-index: 2000;
    
}

.header-main ul li ul li {
    height: fit-content;
    display: block;
    background-color: #eee;
}

.header-main ul li ul li a {
    background-color: #eee;
    color: #000;
    font-size: 1.5rem;

}

.header-main ul li ul li a:hover{
    background-color: #FFF;
    color: #000;
}

.header-main ul li:focus > ul,
.header-main ul li:hover > ul {
    display: flex;
    visibility: visible;
    opacity: 1;
}


}