/* CSS Document */

/* all pages */

a:link {
	color: orange;
}

a:visited {
	color: lightgrey;/*darkorange;*/
}

a:hover {
	color: red;
}

a:active {
	color: darkred;
}

body {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}

/* regarding the general sections across the site */

header {
	z-index: 10000;
	background-color: lightslategrey;
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	min-height: 100px;
}

main {
	/*z-index: -20000;*/
	border-spacing: 10px;
	width: 100%;
	position: relative;
	left: 0px;
	top: 100px;
	bottom: 50px;
}

footer {
	position: fixed;
	left: 0;
	bottom: 0;
	height: 50px;
	width: 100%;
}

#demo {
	border: 1px solid black;
}

/* Login button and welcome text*/

.login-button {
    display: inline-block;
    padding: 10px 18px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

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

.error {
    background-color: #fee;
    color: #900;
    border: 1px solid #900;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.user_info a.login-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.user_info a.login-link:hover {
    background-color: #0056b3;
}

/* regarding the logo, random function and main navigation */

nav.main_nav {
	position:relative;
	right: 20px;
	top: 10px;
	float: right;
	/* to be removed? */
	border: 1px solid black;
}

.nav_bar li{
	display: inline;
	list-style-type: none;
  	margin-right: 20px;
  	/*padding: 10px;*/
}
	
.nav_box {
	position: relative;
	top: 10px;
}

.randNo {
	position: relative;
	text-align: center;
	/*top: 10px;*/
	right: 20px;
}

.logo {
	position: inherit;
	border: 1px solid black;
	padding-left: 10px;
	padding-right: 10px;
	left: 90px;
	top: 20px;
}

.logo_txt {
	font-size: 40px;
}

/* regarding the footer */

.copyright {
	z-index: 10000;
	/*z-index: 9999;*/
	position: relative;
	text-align: right;
	/*right: 20px;*/
	color: darkslategrey;
}

/* regarding all of the sub pages */

section {
	color: darkslategray;
	/*margin: 20px;*/
	border: 1px solid black;
	padding: 1%;
	z-index: -1000;
	background-color: ghostwhite;
}

section[class^="links_"] {
	z-index: 9900;
	margin: 2%;
	/*width: 90%;
	padding: 2%; Trying grid-auto-columns*/ 
	/*margin-right: 2%;
	margin-left: 2%;
	margin-top: 4%;
	float: left;*/
} 

/* regarding page <articles> */
article.page_menu_box {
	/* This should be used across the site, also for Miriam
	to be able to have centered columns of boxes*/
	width: 98%;
	display: grid;
	grid-template-columns: auto auto auto auto;
	grid-auto-columns: 20%;
	/*gap: 1%;*/
	padding: 1%;
	margin-top: 1%;
	min-height: inherit;
	border: 1px solid black;	
}

article.page_content_box {
	min-height: 400px;
	border: 1px solid black;	
}

.local_menu li{
	list-style: none;
}

/*regarding the Technical Corner page 
  Try to make dropdown boxes with additional 
  information and links to learning experiences */
.tech_menu_box {
	align-items: baseline;
}
[class^="techlink"] {
	text-align: center;
	float: left;
	border: solid black;
	width: 20%;
	margin: 1%;
	padding: 1%;
	background-color: lightslategrey;
}

details {
	width: 96%;
	display: none;
}

.techlink1:hover .details1 {
	display: block;
}
.techlink1:hover .techlink1 {
	background-color: aqua;
}

/* regarding the student lists */
ul.local_menu li{
	background-color: lightslategrey;
	border: 1px solid black;
	width: 76%;
	margin: 1%;
	padding: 2%;
}


/* Save the World 2023 */
nav.filmfestnav {
	background-color: dimgrey;
	position:relative;
	width: 100%;
	border: 1px solid black;
}

ul.filmfestnavlist2023 {
	width: 100%;
}

.filmfestnavlist2023 li{
	display: inline;
	list-style-type: none;
  	margin-right: 20px;
  	/*padding: 10px;*/
}

/* used to be .50spacer - Did I break anything?*/
.spacer-50 {
	min-height: 50px;
	width: 100%;
	border: 1px solid black;
}
/* changed to page_header
.student_header {
	padding: 20px;
}*/

/* test.php */
.centered_box {
	margin: auto;
	width: 50%;
	padding: 10px;
  text-align: center;
}



