body {
    background-image: url("../imgs/plcpanel.jpg"); /*plc-r.jpg*/
    background-color: white;
    background-size: cover; /* Adjust the background size to cover the entire viewport */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
    background-attachment: fixed; /* Background image stays fixed while scrolling */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    margin: 0;
    min-height: 100vh;
    position: relative;
    scroll-margin-top: 250px;
    overflow-y: scroll;
}

header {
    text-decoration: none;
    border: 2px solid rgb(27,161,226);
    letter-spacing: 5px;
    background-color: #303030
}

footer {
    background-color: transparent; 
    color: white; 
    font-family: helvetica;
    padding: 20px; 
    text-align: center; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    box-sizing: border-box;
    font-size: 1rem;
}
@media (max-width:800px)  { 
	footer {
		position: relative;
	}
	.sitemenu nav {
		font-size: 1em;
	}	
}


h1 {
    display: block;
    background-color: #303030;
    padding: 0px;
    padding-bottom: 0;
    margin: 0;
    margin-bottom: 0;
    text-align: center; 
    font-size: 40px; 
    color: rgb(27,161,226); 
    font-family: "Helvetica";
}


header h2 {
    display: block;
    background-color: #303030;
    padding: 30px;
    padding-top: 0;
    margin: 0;
    margin-top:0;
    text-align: center; 
    font-size: 20px; 
    color: rgb(27,161,226); 
    font-family: "Helvetica";
}

h3 {
    display: block;
    background-color: silver;
    padding: 20px;
    margin: 0;
    text-align: center;
    font-size: 60px;
    color: orangered;
    font-family: lucida console;
    font-size: 20px;
    border-radius: 20px;
}



a {
    text-decoration: none;
    color: rgb(27,161,226);
}

a:hover {
    color:#a1a1a1;
}





div.sitemenu {
	display: block;
	font-family: monospace;
	font-weight:bold;
	unicode-bidi: isolate;
	white-space: pre;
	margin: 1em 0px;
}
.sitemenu nav {
    text-align: center;
    font-size: 20px;
    padding: 10px;
    margin-bottom: 1em;
    background-color: #303030;
    border-radius: 10px;
    border: 2px solid rgb(27,161,226);
    margin: 0 auto;
    text-decoration: none;
}

.sitemenu nav a:hover {
    color: #a1a1a1;
}



/* Disabled - too broad a rule to do this to all DIV, see "div.maindiv" below
div {
    color: black;
    font-family: helvetica;
    padding: 30px;
    margin: auto;
    border-radius: 10px;
    text-align: center;
    background-color: rgb(27,161,226);
    font-size: 25px;
    width: 600px
}
*/


button.upload_submit {
    background-color: silver;
    color: black;
    padding: 10px 15px;
    bottom: 10px;
    right: 10px;
    border-color: black;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    transition: background-color 0.3 ease;
}

button:active {
    background-color: rgb(102, 102, 102);
}

label {
    font-family: helvetica;
}

.section-1 {
    background-color: #48494B; 
    max-width: 1000px; 
    margin: 15px auto; 
    padding: 15px;
    border: 10px solid Black; 
    border-radius: 15px; 
    position: relative;
}

.section-2 {
    background-color: rgb(27,161,226); 
    max-width: 600px; 
    margin: 20px auto; 
    padding: 20px; 
    border: 7px solid Black; 
    border-radius: 15px; 
    position: relative;
}

.extra-space {
    height: 200px;
}

.custom-header .letter1 {color: #f47920}
.custom-header .letter2 {color: white}
.custom-header .letter3 {color: black}



div.maindiv {
	width:100%;
	max-width: 600px;

	border: 3px solid black;
	border-radius: 10px;
	padding: 30px;
	margin: auto;
	background-color: rgb(27,161,226);

	color: black;
	font-family: helvetica;
	font-size: 25px;
	text-align: left;
}
div.maindiv h1 {
	text-align:left; padding:8px; margin:8px; border: 3px solid Black; border-radius: 10px;
}

div.maindiv a {
    text-decoration: underline;
    color: #d9d9d9;
}

div.maindiv a:hover {
    color:rgb(150 205 231);
}



div.code_results {
	font-size:16px;
}




/* Form elements */
input[type="text"], input[type="password"] {
    border-radius: 5px;
    border: none;
    padding: 4px;
}
select {
	border-radius: 5px;
   padding: 3px;
}
textarea:focus, input:focus{
    outline: none;
}





div.maindiv a.abtn {
	background-color:#FFFFFF33;
	border:1px solid transparent;
	padding:3px 8px;
	color:#00000055;
	cursor:pointer;
	color: black;
	text-decoration: none;
	font-size: 18px;
	margin-left:10px;
}
div.maindiv a.abtn:hover {
    text-decoration:none !important;    
    border:1px solid #FFFFFF55;
}

div.maindiv a.admin_btn {
	background:#FBB;
}


