
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  height: auto; /* allow content to grow */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background image with opacity using ::before */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  #background-image: url('img/image.jpg'); /* Replace with your image path */
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  #opacity: 0.9; /* Adjust opacity */
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1193px;
  margin: auto;
  padding: 6px 12px;
  
}

.container-bg {
  max-width: 1400px;
  margin: auto;
  padding: 0px 18px;
  background-color: #f5f5f5;
}

.container-bg-admin {
  max-width: 1400px;
  margin: auto;
  padding: 0px 18px;
  background-color: rgba(255, 255, 255, 0.7);
  scroll-margin-top: 300px;
}

.container-bg-other {
  max-width: 1228px;
  margin: auto;
  padding: 9px 18px;
  background-color: rgba(255, 255, 255, 0.7);
}

.container-welcome {
  max-width: 1200px;
  margin: auto;
  padding: 4px 12px;
}

.container-searchpubres {
  max-width: 1350px;
  margin: auto;
  padding: 1px 3px;
}

.container-footer {
  width: 98%;
  max-width: 1150px;
  margin: auto;
  padding: 6px 12px;
}

.span-container {
  display: flex;
  justify-content: space-between;
  padding: 0px 4px;
  flex-wrap: wrap;
}

header {
  background: #004080;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  float: left;
}

.large-header {
  background: #004080;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.small-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #004080;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
  font-size: 14px;
}

.large-header.hidden {
  opacity: 0;
  visibility: hidden;
}

.small-header.visible {
  opacity: 1;
  visibility: visible;
}

.large-header h1, .small-header h1 {
  margin: 0;
}

.large-header h1 {
  font-size: 2.0em;
}

.small-header h1 {
  font-size: 1.5em;
}
		
.small-header .logo {
  height: 40px; /* Adjust logo size */
  width: auto;
}

.content {
  margin-top: 0px; /* Space for large header */
  padding: 0px;
}

.left-span, .right-span {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.left-span {
  text-align: left;
  max-width: 444px;
}

.right-span {
  max-width: 566px;
}

nav {
  float: right;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
}

nav a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 8px 12px;
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f4f4f4;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  
}

.dropdown-menu li a {
  padding: 10px;
  color: #333;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #222;
}

.nav-footer ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  justify-content: center;
}

.nav-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-footer ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.text-content, .video-container {
  flex: 1 1 300px;
  text-align: justify;
  background: #e0f0ff;
  padding: 7px;
  #max-height: 328px;
  #min-height: 330px;
}

.text-content-inner {
  flex: 1 1 300px;
  text-align: justify;
  background: #e0f0ff;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-radius: 14px;
}

.video-container {
  position: static;
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  position: static;
}

.video-container a {
  text-decoration: none;
  color: #808080;
  font-weight: bold;
  #padding: 8px 12px;
  display: block;
  align-items: center;
}

.video-container-about {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.video-container-about video {
  width: 100%;
  height: auto;
  display: block;
}

#USUI {
  background: #e0f0ff;
  padding: 16px 0;
  text-align: center;
  #max-width: 1100px;
}

#about{
  padding: 14px 0;
}

#products, #contact {
  padding: 0px 0;
}

.product-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.box {
  flex: 1 1 10%;
  background: #e0f0ff;
  padding: 8px;
  text-align: center;
  border-radius: 8px;
  min-height: 380px;
  text-align: justify; 
  color: #000000;  
}

.box:hover {
  transform: scale(1.15); /* Slightly enlarge the box */
}

.box a {
  color: #000000;
  text-decoration: none;
}

.box-product-pic {
  flex: 1 1 10%;
  background: #e0f0ff;
  padding: 0px;
  text-align: center;
  border-radius: 0px; 
}

.box-productspage {
  flex: 1 1 10%;
  #background: #e0f0ff;
  padding: 8px;
  #text-align: center;
  border-radius: 0px;
  min-height: 80px;
  #max-width: 220px;
  text-align: center; 
  color: #000000; 
  border: .5px solid #e0e0e0;
}

.box-aboutus-pic {
  flex: 1 1 10%;
  background: #e0f0ff;
  padding: 2px;
  text-align: center;
  border-radius: 1px;
  align-items: flex-start;  
}

.box-aboutus-span {
  display: inline-block; /* allows width/height control */
  max-width: 100%;       /* prevents overflow */
  #font-size: clamp(14px, 2vw, 24px); /* responsive font size */
  padding: 0.5em;
  background-color: #ffffff;
  border-radius: 1px;
  box-sizing: border-box;
  border: .5px solid #00AEEF;
  color: #555555;
  font-weight: bold;
  text-align: left;
  align-items: left;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #004080;
  color: #fff;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 0px;
  position: relative;
  z-index: 1008;  
}

.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
 }

.menu {
  background: #eeeeee;
  opacity: 0.9;
  padding: 10px;
}

.hidden {
  display: none;
}

html {
  scroll-behavior: smooth;
}

/* Responsive Design Desktop Minimized */
@media (max-width: 1000px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-boxes {
    flex-direction: column;
  }

  header h1, nav {
    float: none;
    text-align: center;
  }

  .menu-toggle {
	display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu.show {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

/* Mobile responsiveness */
@media (max-width: 710px) {
  header {
    background: #004080;
    color: #fff;
    padding: 14px 0;
    position: static;
    top: 0;
    z-index: 1000;
  }
  
  .span-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally in column layout */
  }

  .right-span {
    margin-top: 10px;
    text-align: center;
    max-width: 305px;
  }

  .nav-menu {
    flex-direction: column;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  img {
    max-width: 100%;
    height: auto;
    #display: block;
    align-items: center;
  }
}

.thin-bar {
  width: 100%;         /* Full width of the container */
  height: 2px;         /* Thin height */
  #background-color: #004080;
  background-color: #00AEEF;
}

.thin-bar-gray {
  width: 100%;         /* Full width of the container */
  height: 4px;         /* Thin height */
  background-color: #e0e0e0;
}

.thin-bar-gray-thin3 {
  width: 100%;         /* Full width of the container */
  height: 3px;         /* Thin height */
  background-color: #e0e0e0;
}

.thin-bar-gray-thin {
  width: 100%;         /* Full width of the container */
  height: 1px;         /* Thin height */
  background-color: #e0e0e0;
}

.thin-bar-darkgray {
  width: 100%;         /* Full width of the container */
  height: 4px;         /* Thin height */
  background-color: #bbbbbb;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 20px;
  padding: 20px;
  text-align: center;
}

@media (max-width: 800px) {
  .map-grid {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 20px;
    padding: 20px;
    width: 100%;
  }
}

.map-container {
  width: 100%;
  max-width: 520px;
  height: 520px;
  background-color: #e0e0e0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 columns */
  grid-template-rows: repeat(2, auto);   /* 3 rows */
  gap: 20px;
  padding: 20px;
}

@media (max-width: 800px) {
  .box-grid {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 20px;
  }
}

.box-recognition-span {
  display: inline-block;
  max-width: 100%;
  padding: 0.5em;
  background-color: #ffffff;
  border-radius: 1px;
  box-sizing: border-box;
  border: 0.5px solid #00AEEF;
  color: #555555;
  font-weight: bold;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.award-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: .5px solid #e0e0e0;
}

.award-image img {
  max-width: 300px;
  height: auto;
  border: 1px solid #000;
}

.award-text {
  flex: 1;
  color: #000;
}

.award-text h2 {
  text-align: center;
  margin-top: 0;
}

.award-text p {
  text-align: justify;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .award-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .award-text p {
    text-align: left;
  }
}

.background-section {
  position: relative;
  background-image: url('img/bkgd.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  overflow: hidden;
}

.background-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
  z-index: 1;
}

.background-section > * {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding-top: 50px;
}

section {
  scroll-margin-top: 300px; /* Matches header height */
}

.sign-in a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  padding: 8px 12px;
  display: block;
}

.sign-in a:hover {
  text-decoration: none;
  background-color: #eee; /* example */
  color: #333; /* example */
}

.admintopmenu {
  background: #e0f0ff;
  padding: 8px 0;
  text-align: right;
  position: sticky;
  top: 60px; /* This is essential for sticky to work */
 /* z-index: 1000; /* Ensures it stays above other content */
  /*scroll-margin-top: 300px;*/
}

.container-uic {
  display: flex;
  min-height: 100vh;
}

.sidebar-uic {
  width: 250px;
  background-color: #f8f8f8;
  padding: 20px;
  position: fixed;
  top: 242px;
  height: 100vh;
  overflow-y: auto;
  z-index: 1007;
}

.sidebar-uic h2 {
  margin-bottom: 20px;
}

.sidebar-uic ul {
  list-style: none;
}

.sidebar-uic ul li {
  margin-bottom: 10px;
}

.sidebar-uic ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.sidebar-uic ul li a:hover {
  color: #007bff;
}

.content-uic {
  flex: 1;
  background-color: white;
  padding: 20px;
  margin-left: 250px;
}

.menu-uic-toggle {
  display: none;
  background-color: #f8f8f8;
  padding: 15px;
  position: sticky;
  z-index: 1006;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  top: 108px;
}

.menu-uic-toggle-x {
  display: none;	
}

@media (max-width: 768px) {
  .container-uic {
	flex-direction: column;
  }

  .sidebar-uic {
	width: 70%;
	max-height: 100vh;
	overflow-y: auto;
	display: none;
	position: fixed;
	top: 60px; /* Smaller default top offset */
	left: 0;
	background-color: #f8f8f8;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	transition: top 0.3s ease; /* Smooth transition */
	z-index: 1007;
  }

  .sidebar-uic.active {
	display: block;
	position: fixed;
	top: 30px;
	left: 0;
	width: 70%;
	/*z-index: 999;*/
	height: calc(100vh - 50px);
	z-index: 1007;
  }

  .menu-uic-toggle {
	display: block;
  }
  
  .menu-uic-toggle-x {
   display: block;	
  }

  .content-uic {
     margin-top: 50px;
	 margin-left: 0px;
  }
}
		
.custom-button {
  background-color: #007BFF; /* Blue background */
  color: white;              /* White text */
  padding: 3px 4px;        /* Padding */
  border: none;              /* No border */
  border-radius: 5px;        /* Rounded corners */
  font-size: 16px;           /* Font size */
  cursor: pointer;           /* Pointer cursor on hover */
  transition: background-color 0.3s ease;
}

.nav_admin a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
}

.nav_admin a:hover {
  text-decoration: none;
  background-color: #c0e0ff; /* example */
  color: #333; /* example */
}
/*
#editor {
            width: 90%;
            height: 400px;
            border: 1px solid #ccc;
            padding: 10px;
            overflow-y: auto;
        }
        .toolbar button, .toolbar select, .toolbar input[type="color"] {
            margin-right: 5px;
        }


*/
 #editor {
            width: 90%;
            height: 400px;
            border: 1px solid #ccc;
            padding: 10px;
            overflow-y: auto;
        }
        .toolbar button, .toolbar select, .toolbar input[type="color"] {
            margin-right: 5px;
        }

/*Employee Resources main links*/		
        .container-resources {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .column-resources {
            flex: 1;
            min-width: 250px;
            padding: 20px;
            background-color: #f4f4f4;
            border-radius: 8px;
            text-align: center;
        }


        /* Mobile-first: Stack columns on small screens */
        @media (max-width: 768px) {
            .column-resources {
                flex: 100%;
            }
        }

        /* Medium screens: Two columns */
        @media (min-width: 769px) and (max-width: 1024px) {
            .column-resources {
                flex: calc(50% - 10px);
            }
            .column-resources:last-child {
                flex: 100%;
            }
        }

        /* Large screens: Three columns */
        @media (min-width: 1025px) {
            .column-resources {
                flex: calc(33.33% - 14px);
            }
        }
		
/*
.searchpubres-input {
  height: 5px;
}

label {
  margin-top: 350px; /* Adjust the value as needed */
/*  display: inline-block;   /* Ensures margin-top works properly */
/*}
*/


label {
  scroll-margin-top: 110px;
}
