/* type selectors */
html {
  	background-color: rgb(0, 119, 128);
  	/*background-color: #002b5c;*/
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	width: 96%;                         /* changed from 990 pixels */
	max-width: 1200px;                  /* maximum width of page */
	background-color: white;
	margin: 15px auto;
	padding: 15px 0;
	border: 3px solid black;
}
section, aside, h1, h2, h3, p {
	margin: 0;
	padding: 0;
}
section, aside {
	margin-bottom: 1em;
}
p {
	font-size: .875em;                  /* 14 / 16 */
	padding-bottom: .5em;
	line-height: 130%;
}
em {
	font-weight: bold;
}
a {
	font-weight: bold;
	text-decoration: none;
}
a:link, a:visited {
	color: #931420;
}
a:hover, a:focus {
	color: black;
}

/*I just added this to see if it would work but so far it is not working*/
#nav_menu ul li a {
	
    color: white;
    text-decoration: none; /* Optional: remove underline */
    }



/* the styles for the header */
/* Updated styles */
header {
	width: 100%;                        /* full width of body */
	padding-bottom: 1em;
	/*border: 3px solid black;*/
	/*border-bottom: 2px solid black;*/
	/*border-bottom: 2px solid rgb(0, 119, 128);*/
	border-bottom: 2px solid white;

	/*background-color: #ffebc6 !important;*/
	
	
	
}



.yellowLink{
	color: #fad38a;

	text-decoration: none;
}

header h3 {
	font-size: 1.25em;                  /* 20 / 16 */
	font-style: italic;
	/*margin-left: 12.12121%;  /* 120 / 990 */
	/*color: #fad38a;*/
	/*color:  #f2972e;*/
  	color: black;
  	text-align: center;

}
header h4, h5 {
	/*margin-left: 12.12121%;  /* 120 / 990 */
  	text-align: center;
}
header img {
	width: 8.0808%;                     /* 80 / 990 */
	max-width: 80px;                    /* native size */
	min-width: 40px;
	float: left;
	margin-left: 2.0202%;               /* 20 / 990 */
}
/* the styles for the navigation menu - operation */






nav{
	/*border-bottom: 2px solid black;*/
	/*border-bottom: 2px solid rgb(0, 119, 128);*/
	border-bottom: 2px solid white;
	/*border-left: 2px solid white;
	border-right: 2px solid white;*/
	margin-bottom: 20px;
	margin-left: 0.15em;
	margin-right: 0.15em;
}
#nav_menu ul {
	width: 100%;                        /* full width of body */
	list-style-type: none;
	position: relative;
}
#nav_menu ul ul {
	display: none;
	position: absolute;
	top: 100%;
}
#nav_menu ul ul li {
	float: none;
	position: relative;
}
#nav_menu ul ul li ul {
	position: absolute;
	left: 100%;
	top: 0;
}
#nav_menu ul li.lastitem ul li ul {
	position: absolute;
	left: -100%;
	top: 0;
}
#nav_menu ul li {
	float: left;
}
#nav_menu ul li:hover > ul {
	display: block;
}
#nav_menu > ul::after {
	content: "";
	clear: both;
	display: block;
}
/* the styles for the navigation menu - formatting */
#nav_menu ul {
	margin: 0;
	padding: 0;
}
#nav_menu ul li {
	width: 20%;                         /* 198 / 990 */
}
#nav_menu ul li a {
	text-align: center;
	display: block;
	padding: .7em 0;
	/*background-color: green;*/
	background-color: rgb(0, 119, 128);
}

#nav_menu ul li a:hover {
    color: black; /* Change text color on hover */
    }

#nav_menu ul li a.current {
	color: #f2972e !important;
	
	
	
}

/*#nav_menu ul li a.current {
	color: white !important;
	
	
	
}*/

#nav_menu ul li:hover ul {
	width: 100%;
}
#nav_menu ul li:hover ul li:hover ul li {
	width: 100%;
}

/* the styles for the section */
section {
	width: 54.0404%;                         /* 535 / 990 */
	float: left;
	margin-left: 2.0202%;                    /* 20 / 990 */
	padding: 1.5em 2.52525% 0 0;             /* 25 / 990 */

}
section ul {
	margin-top: 0;
	margin-bottom: 1.5em;
}
section li {
	font-size: .875em;                       /* 14 / 16 */
	padding-bottom: .35em;
}
section h1 {
	font-size: 1.625em;                      /* 26 / 16 */
	margin-bottom: .35em;
}
section h2 {
	font-size: 1.25em;                       /* 20 / 16 */
	margin-bottom: .35em;
}
a.date_passed {
	color: gray;
}

/* the styles for the sidebar */
aside {
	width: 35.35353%;                        /* 350 / 990 */
	float: left;
	padding: 2.0202%;                        /* 20 / 990 */
	/*background-color: #ffebc6;*/
	background-color: rgb(0, 119, 128);
	/*border: 2px solid black;*/
	/*margin: 20px;*/
	/*margin: 1.5em 2.0202% 0 0;*/               /* 20 / 990 */
	
}
aside h2 {
	font-size: 1.25em;                       /* 20 / 16 */
	padding-bottom: .5em;
	color: white;
}
aside h3 {
	font-size: 1em;                          /* base font size */
	/*color: #931420;*/
	padding-bottom: .5em;
}
aside p {
	margin-bottom: .5em;
	color: white;
}
aside ul {
	margin-top: 0;
	margin-bottom: 1.5em;
}
aside li {
	font-size: .875em;                       /* 14 / 16 */
	padding-bottom: .35em;
}
/* the styles for the footer */
footer {
	clear: both;
	width: 100%;                             /* full width of body */
	border-top: 2px solid #f2972e;
	padding-top: .7em;
}
footer p {
	font-size: .75em;                        /* 12 / 16 */
	text-align: right;
	margin-right: 2.0202%;                   /* 20 / 990 */
}


.login-container { /* styling for login.html*/
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
/*styling for login.html */
/*button {
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}*/

/* the styles for the form */

form {
	max-width: 400px;
	margin: 20px auto;
	border-radius: 5px;
}

form h1 {
	text-align: center;
	margin-left: 25px;
	margin-bottom: .25em;
}

form label {
	display: block;
	margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

input[type="submit"][value="Send"] {
    background-color: black;
    color: white;
    cursor: pointer;
}

input[type="submit"][value="Send Message"] {
    background-color: black;
    color: white;
    cursor: pointer;
}

input[type="submit"][value="Upload"] {
    background-color: #007bff; /* Bootstrap blue */
    color: white;
    cursor: pointer;
}

/* hide the mobile menu initially */
#mobile_menu {
	display: none;
}
/* media queries */

/* decrease font sizes to keep content from rolling */
@media only screen and (max-width: 886px) {
    section h1 {
	    font-size: 1.5em;                       /* 24 / 16 */
    }
	#nav_menu ul li a {
		font-size: .875em;                      /* 14 / 16 */
	}
}

/* decrease font sizes to keep content from rolling */
@media only screen and (max-width: 837px) {
	section h2, aside h2 {
		font-size: 1.125em;
	}
	
	aside h3 {
	    font-size: .9375em;                     /* 15 / 16 */
    }
}
/* remove floating from section, aside, and header image and display mobile menu */
@media only screen and (max-width: 771px) {
    #nav_menu {
        display: none;
    }
    #mobile_menu {
        display: block;
    }
	/* changing screen size desktop/mobile */
    .slicknav_menu {
       /* background-color: #facd8a !important;*/
		background-color: rgb(0, 119, 128) !important;	
    }
    body {
        width: 100%;                           /* full width of screen */
        margin: 0;                             /* no margins */
        border: none;                          /* no border */
    }
    header, footer p {
        text-align: center;
    }

	header img {
        float: none;
		margin-left: 0;
    }
    header h2 {
        font-size: 1.625em;                    /* 26 / 16 */
        margin: .4em 0 .25em 0;
    }
    header h3 {
        font-size: 1em;                        /* base font size */
        margin-left: 0;
		/*color: #fad38a;*/
    }
    footer p {
		margin-right: 0;
	}
    section {
        width: 95.9596%;                       /* 100 - (2 * 2.0202) for padding */
        float: none;
        margin-right: 2.0202%;                 /* 20 / 990 */
        padding-right: 0;
    }
	section h1 {
		font-size: 1.25em;                       /* 20 / 16 */
	}
    aside {
        width: 91.9192%;                       /* 100 - (4 * 2.0202) for padding and margins */
        float: none;
        margin: 0 2.0202% 2.0202% 2.0202%;     /* 20 / 990 */
    }
}

/* decrease font sizes */
@media only screen and (max-width: 480px) {
	header h2 {
		font-size: 1.375em;                    /* 22 / 16 */
	}
	header h3 {
		font-size: .875em;                     /* 13 / 16 */
	}
}

/* decrease font sizes to prevent rolling */
@media only screen and (max-width: 410px) {
    header h2, div h1, section h1, aside h2 {
        font-size: 1.125em;                    /* 18 / 16 */
    }
    header h3 {
        font-size: .75em;                      /* 13 / 16 */
    }
	section h2 {
        font-size: 1em;                        /* base font size */
    }
    aside h3 {
        font-size: .9375em;                     /* 15 / 16 */
    }
    footer p {
        font-size: .6875em;                     /* 11 / 16 */
    }
}

/* class to center */
.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
  }



  /* CSS styling for for form (postjob.html)*/
  form {
    max-width: 600px;
    margin: 0 auto;
}

textarea, input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
   background-color: #007bff;
	
    color: #fff;
    /*border: none;*/
	border: 1px solid black;
    cursor: pointer;
	margin-bottom: 20px;
}

button:hover {
	
    background-color: #0056b3;
}


/* General styling for labels and textareas */
form label {
    display: block;
    font-weight: bold;
   /* margin-bottom: 5px;*/
   margin-bottom: 0.4em;
}

form textarea, form input[type="text"] {
    width: 100%;
    padding: 10px;
    /*margin-bottom: 15px;*/
	margin-bottom: 1em;
    border: 1px solid #ccc;
    /*border-radius: 4px;*/
	border-radius: 0.25em;
    box-sizing: border-box;
    /*font-size: 16px;*/
	font-size: 1em;
}

/* Responsive styling */
@media (max-width: 600px) {
    form label {
        /*font-size: 14px;*/
		font-size: 0.8em;
    }

    form textarea, form input[type="text"] {
        /*padding: 8px;*/
		padding: 0.5em;
       /* font-size: 14px;*/
	   font-size: 0.8em;
    }

    form button {
        width: 100%;
        /*padding: 10px;*/
		padding: 0.75em;
        /*font-size: 16px;*/
		font-size: 1em;
    }
}


/* Table styling */
.job-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.job-table th, .job-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.job-table th {
    background-color: #f4f4f4;
}




/* styles.css */
/* Wrapper for notifications and heading */
.notifications-wrapper {
    margin-left: 1em;
	margin-right: 1.5em;
}

/* Heading styling */
.notifications-wrapper h3 {
    margin-bottom: 0.5em;
	
}

/* Styling for notification boxes */
.notification {
    padding: 10px;
    border: 1px solid #ddd;
    /*background-color: #278543;*/
	background-color: #ffffff; /* pure bright white */
    border-radius: 5px;
    margin-bottom: 10px;
    color: black;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* makes it stand out */
}

/* Message when no notifications */
.no-notifications {
    margin: 0; 
    padding: 8px 0;
    color: #333;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 600px) {
    .notifications-wrapper {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
    .notifications-wrapper h3 {
        font-size: 1.1em;
        text-align: center; /* center heading on small screens */
    }
    .notification,
    .no-notifications {
        font-size: 0.95em;
        padding: 8px;
    }
}





/* Styling for postjob.php output message alert at 
the top of the page.*/


.success-box {
    background-color: #e6ffed;
    border: 1px solid #2ecc71;
    color: #2d6a4f;
    padding: 15px;
    margin: 15px auto;
    border-radius: 6px;
    width: 90%;
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

