* {
margin:0;
padding:0;
box-sizing:border-box;
}

html {

color:#fff;
font-family:'Lato', 'Arial', sans-serif;
font-weight:300;
font-size:18px;
text-rendering:optimizeLegibility;
}

html, body {
  height: 100%;
  color:#fff;
}


.row {
max-width:100%;
margin:0 auto;
}
.yellowgray { margin-left:auto; margin-right:auto; margin-bottom:50px; 
				border:1px solid #aaa;  
                box-shadow: 2px 4px silver; 
				padding:3px;
				background-color:#2d308f;
				background-color:#000a4e;
				color:#fff;
				background-image:url(../img/gtpimage1.jpg);
				
				
				}

.yellowgray th { 
font-weight:400;
color:#fff; 
text-align:center;
font-family:arial; 
font-size:100%; 
padding:5px;

z-index:1;
}

.yellowgray td { 
 color:#fff;
text-align:left; 
font-size:90%; 
padding:5px;
font-family:arial;

z-index:1;
}

a {
text-decoration:none;
text-align:center; 
font-size:90%; 
padding:2px;
font-family:helvetica;
color:#fff;
}	

.cnt {text-align:center;}
.cntm { margin-left:auto; margin-right:auto;}

h1 { font-family:arial; font-size:120%; text-align:center;
 margin-top:50px; margin-bottom: 30px;color:#fff;
 }
 
h2 { font-family:arial; font-size:100%; text-align:center;
 margin-top:5px; margin-bottom:20px;color:#fff;
 }

h1, h2, h3, h4, h4.head-cover {
font-weight:300;
text-transform: uppercase;
color:#fff;
}

/* fixed nav */
.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #005F5F;
    box-shadow: 0 2px 2px #323715;
    z-index: 9999;
}
	 nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      text-align: center;      /* Centers inline elements within the ul */
    }
    nav ul li {
      display: inline-block;   /* Makes li elements behave like inline elements */
      margin-right: 5px;
    }
    nav ul li:last-child {
      margin-right: 0;         /* Remove extra margin from the last item */
    }
    nav ul li a {
      text-decoration: none;
      color: #fff;
	  font-size:100%;
    }
	
	nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /* Use flexbox */
  justify-content: center; /* Center items horizontally */
  flex-wrap: wrap; /* Allow items to wrap if space is truly limited, or 'nowrap' to force single line */
	}
	nav ul li {
	/* no display: inline-block needed */
	margin: 0 10px; /* Apply margin equally, or adjust as needed */
	}
	nav ul li:last-child {
	margin-right: 10px; /* If using flex, you might not need a special last-child rule for margins */
	}
	
	
	
	.page {margin-left:auto margin-right:auto; width:100%; }
	
	.page-wrap {		 
  min-height: 100%;
  margin-bottom: 0px;
}
.page-wrap:after {
  content: "";
  display: block;
}

.add_course  { width:500px; margin-left:auto; 
				margin-right:auto;
				border:1px solid #aaa; 
				box-shadow: 2px 4px silver; padding:40px;
				color:#fff;
				}
				


.edit_student, .edit_teacher { 
	width:40%; 
	margin-left:auto; 
	margin-right:auto;
	border:1px solid #aaa; 
	box-shadow: 2px 4px silver; 
	padding:40px; 
	}
	
.head-cover { width:100%; height:30px; background-color:darkblue; }



.indexpage {
    background-image: url(../img/index4.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This keeps the background image fixed while scrolling */
    height: 100vh; /* Ensures it covers the entire viewport height */
    display: flex; /* Optional: Center content */
    flex-direction: column;
}

#add-course {width: 400px; margin-left:auto; margin-right:auto; }

input[type='submit'], .link_button {
    display: block; /* Ensures it's treated as a block element */
    margin: 0 auto; /* Centers horizontally */
    text-align: center; /* Centers text inside button */
    width: fit-content; /* Allows button to size dynamically */
	width: 200px;
	color:white;
	background-color: #005F5F;
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

	        input[type="text"], input[type="password"], input[type="email"],input[type="tel"], .button{
            width: 200px;
            padding: 3px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 2px;
        }
	
		
	
		
		
.form { margin-left:auto; margin-right:auto; width:400px;}

body {
    background-image: url(../img/index4.jpg);
    background-size: cover; /* Ensures full coverage */
    background-repeat: no-repeat; /* Prevents tiling */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Keeps the background static */
}

.inactive {
    background-color: #ffcccc; /* Light red background */
    color: #f70; /* Dark red text */
    font-weight: bold;
}

.ui-datepicker {
    z-index: 9999 !important; /* Ensures the date picker stays on top */
}

.status-box {
    display: flex;
    flex-direction: column; /* Stacks rectangles vertically */
    width: 200px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid black;
	margin: 0 auto;
}

/* Active (Dark Blue Upper Box with White Text Inside) */
.status-box .active {
    background-color: #002A5C; /* Deep Dark Blue */
    color: white;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center; /* Ensures text is centered */
}

/* Not Active (Light Lower Box with Dark Text Inside) */
.status-box .inactive {
    background-color: #CCCCCC; /* Soft Light Gray */
    color: black;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers text */
}


.dark { color:#111;}


