input[type=text] {/*, input[type=password] {*/
    width: 100%;
    padding: 12px 20px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

body {
	background-color: #e8e8e8;

}

body, html {
    height: 100%;
}

.scoring-wrapper {
	display: inline-block;
	width: 20px;
	height: 150px;
	padding: 0;
}

.scoring-wrapper input {
	width: 150px;
	height: 20px;
	margin: 0;
	transform-origin: 75px 75px;
	transform: rotate(-90deg);
}

table {
    border-collapse: collapse;
    width:100%;
    background-color: white;
    margin: auto;
}

table, th, td {
    border: 1px solid black;
    padding: 20px;
}

.eventtypes {
    background-color: #737373;
    color: white;
}
th {
    height: 60px;
}

/* Add padding to container elements */
/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px; /* A margin from right side*/
    top: 0;
    color: #000;
    font-size: 40px;
    font-weight: bold;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
	background-color: white;
	margin: 5% auto 15% auto;
	border: 1px solid black;
	width: 100%;
}

.login-modal-content {
	background-color: rgba(0,0,0,0.8);;
	border: 1px solid black;
	width: 30%;
	color: white;
}

.mobileheader {
    display: block; 
    background-color: #800000;
    color: white;
}

.menuicondiv {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
}

.mobilesticky {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 2;
}

.mobilesticky + .content {
	padding-top: 60px;
	//z-index: 1;
}

.mobilehome {
    display: block;
    text-align: center;
    padding: 30px;
    background-color: black;
    color: white;
    font-family: "Cutive Mono";
}

.mobilephoto {
	border-radius: 50%;
	height: 200px;
	width: 200px;
}

.modal-drop {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 38px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-drop-content {
    background-color: #800000;
    /*margin: 5% auto 15% auto;*/
    border: 1px solid black;
    width: 70%;
}

.modal-drop-content ul {
	list-style-type: none;
}

.modal-drop-content ul li a{
	color: white;
	text-decoration: none;
	font-size: auto;
	font-family: "Cutive Mono";
}

input[type="text"] {
	padding:10px;
	/*margin: 10px;*/
}

.loginemail, input[type='password'] {
	padding:10px 20px;
	width: 100%;
	margin: 10px 0;
	border: 1px solid #800000;
}
	

.container {
	margin: 40px 20px;
	padding: 16px;
}

.postcontainer {
	border: 2px solid black;
	background-color: #6699ff;
	border-radius: 5px;
	padding: 16px;
	margin: 16px 0;
	overflow: auto;
	color: white;
	font-family: "Gafata";
}

.frontpostcontainer {
	border: 2px solid black;
	background-color: #6699ff;
	border-radius: 5px;
	padding: 16px;
	width: 70%;
	margin: auto;
	overflow: auto;
	color: white;
	font-family: "Gafata";
}

.postcontainer::after {
	content: "";
	clear: both;
	display: table;
}

.postcontainer .posttitle {
	font-size: 20px;
	border-bottom: 2px dotted black;
}

.postcontainer .thepost {
	margin-right: 15px;
}

.frontpostcontainer::after {
	content: "";
	clear: both;
	display: table;
}

.frontpostcontainer .posttitle {
	font-size: 30px;
	border-bottom: 2px dotted black;
}

.frontpostcontainer .thepost {
	margin-right: 15px;
}

.postbox {
	border: 3px solid black;
	background-color: white;
	padding: 20px;
	
}

.xdiv {
	/*text-align: center;
	margin: 24px 0 12px 0;*/
	position: relative;
}

.close:hover,
.close:focus {
	color: red;
	cursor: pointer;
}

#eventregerror,
#studentregerror,
#editerror,
#loginerror {
	color: red;
}

#studenthelp,
#eventhelp {
	color: blue;
}

#studenthelp:hover,
#studenthelp:focus,
#eventhelp:hover,
#eventhelp:focus {
	cursor: pointer;
}

.checkmark {
	color: green;
	width: auto;
}

.checkmark:hover,
.checkmark:focus {
	/*font-size: 19px;*/
	cursor: pointer;
	/*text-decoration: underline;*/
}

.addevent {
	display: none;
	font-size: auto;
	font-weight: bold;
	width: auto;
}

.addevent:hover,
.addevent:focus {
	color: green;
	cursor: pointer;
}

.deletestu {
	color: red;
	visibility: hidden;
}

.deletestu:hover,
.deletestu:focus {
	color: red;
	cursor: pointer;
}

.editstu:hover,
.editstu:focus {
	color: blue;
	cursor: pointer;
}

.header {
	background-color: #FFDEAD;
	color: black;
	font-weight: bold;
	padding: 20px;
	text-align: right;
	width: 100%;
	border: 1px solid black;
}

.clearheader {
	background-color: white;
	padding 20px;
	width: 100%;
}

.plax {
	display: none;
}

.plax1text {
	position: absolute;
	color: white;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: "Cutive Mono";
	font-size: 28px;
	text-align: center;
	border: 1px solid black;
	background-color: #c5b358;
	font-variant: small-caps;
}

.mobileheader ul {
	list-style-type: none;
}

.clearheader ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.clearheader li{
	float: left;
}

.clearheader li a {
	display: block;
	color: #f5f5f5;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 15px;
	font-family: "Cutive Mono";
}

.clearheader li a:hover {
	background-color: #aec6cf;
	cursor: pointer;
	color: #5284bd;
}

.rulesDiv, .scheduleDiv {
	padding: 10px;
}

#map {
	width: 100%;
	height: 400px;
	background-color: grey;
}

#loginDiv {		
	/*height: 600px;*/
}
                                                                                                                                                                                                  
.footer {
	background-color: gray;
	color: white;
	width: 100%;
	min-height: 100px;
	border: 1px solid black;
}

* {
	box-sizing: border-box;
	margin: 0px;
	/*commented out padding because it messes with the listed items in schedule and rules*/
	/*padding: 0px;*/
}

.underheader {
	text-align: center;
	background-color: #B22222;
	color: white;
	border: 1px solid black;
	font-family: "Gafata";
}

.sidenav {
	/*height: 100%;*/
	background-color: black;
}

.sidenav ul{
	height: 100%;
	position: relative;
	z-index: 1;
	top: 0;
	/*left: 0;*/
	background-color: #FFDEAD;
	padding: 30px;
	overflow-x: hidden;
	padding-top: 20px;
	list-style-type: none;
	margin: 0;
	/*margin-right: 30px;*/
	padding: 0;
}

.sidenav li {
	padding: 20px;
	margin-bottom: 9px;
	margin-right: 20px;
	margin-left: -20px;
	text-decoration: none;
	font-family: "Gafata";
	font-size: 30px;
	color: white;
	background-color: black;
	/*transform: skew(-20deg);*/
}

.sidenav li:hover {
	color: turquoise;
	cursor: pointer;
}

.tabactive {
	color: turquoise;
}

.animate {
	-webkit-animation: animatezoom 0.6s;
	animation: animatezoom 0.6s;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

@-webkit-keyframes animatezoom {
	from {-webkit-transform: scale(0)}
	to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
	from {-webkit-transform: scale(0)}
	to {-webkit-transform: scale(1)}
}

#homeDiv, #studentDiv, #eventTableDiv {
	width: 100%;
	overflow: auto;
}

.bodycontent {
	background-color: white;
}

.bodycontent:after {
	content: "";
	display: table;
	clear: both;
	
}

/*button {
	background-color: dodgerblue;
	color: white;
	padding: 14px 20px;
	border: none;
	cursor: pointer;
	width: 50%;
}*/

button {
	/*float: left;*/
	padding: 4px 8px;
	/*border: none;*/
	cursor: pointer;
	
}

#schoolChoice {
	padding: 4px 8px;
}

button:hover,
button:focus {
	cursor: pointer;
}

.cancelbtn {
	/*background-color: gray;*/
}

.deletebtn {
	background-color: #f44336;
	color: white;
}

.searchbtn {
	margin-left: 10px;
}

.editbtn, .searchbtn {
	/*background-color: gray;*/
}

.updatebtn, .addbtn {
	background-color: #228B22;
	color: white;
	border-color: #006400;
}

.updatedivbtn {
	margin: 10px 0px;
	width: 200px;
	
}

.updatediv {
	max-width: 300px;
	margin: auto;
}

.loginbtn{
	background-color: dodgerblue;
}

.logindivbtn {
	padding: 10px;
	margin: 10px;
	width: 40%;
	float: left;	
}

.frontNews {
	/*height: 600px;
	background-color: #e8e8e8;*/
	font-family: "Cutive Mono";
	text-align: center;
	padding: 10px;
	/*font-size: 10px;*/	
}
	
.latestNews {
	font-family: "Cutive Mono";
	text-align: center;
	padding: 10px;
}

	
.frontNews p {
	color: #606060;
}
	
.sponsorDiv {
	/*height: 800px;*/
	background-color: #e8e8e8;
	font-family: "Cutive Mono";
	text-align: center;
	padding: 10px;
}	
	
	
#contactDiv {
	/*height: 700px;*/
	padding: 40px;
	text-align: center;
	background-color: #e8e8e8;
	font-family: "Cutive Mono";
	font-size: 14px;
}
	
	
.footer {
	height: 100px;
	background-color: #FFDEAD;
}

[class*="content-"] {
	float: left;
	width: 100%
}

.footer {
	border-top: 1px solid black;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#scoobysnackbar {
 	visibility: hidden; /* Hidden by default. Visible on click */
    	min-width: 250px; /* Set a default minimum width */
    	margin-left: -125px; /* Divide value of min-width by 2 */
    	background-color: #339933; /* Black background color */
    	color: #fff; /* White text color */
    	text-align: center; /* Centered text */
    	border-radius: 2px; /* Rounded borders */
    	padding: 16px; /* Padding */
    	position: fixed; /* Sit on top of the screen */
    	z-index: 1; /* Add a z-index if needed */
    	left: 50%; /* Center the snackbar */
    	bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#scoobysnackbar.show {
    	visibility: visible; /* Show the snackbar */
	/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
	However, delay the fade out process for 2.5 seconds */
    	-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    	from {bottom: 0; opacity: 0;} 
    	to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    	from {bottom: 0; opacity: 0;}
    	to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
   	from {bottom: 30px; opacity: 1;} 
    	to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    	from {bottom: 30px; opacity: 1;}
    	to {bottom: 0; opacity: 0;}
}

@media only screen and (min-width: 768px) {

	.content-middle {padding-right: 30px; padding-left: 30px;}
	.content-middle { width: 70%;}
	.content-left {width: 30%;}
	.content-right {width: 30%;}
	.content-1 {width: 8.33%;}
	.content-2 {width: 16.66%;}
	.content-2 {width: 25%;}
	.content-4 {width: 33.33%;}
	.content-5 {width: 41.66%;}
	.content-6 {width: 50%;}
	.content-7 {width: 58.33%;}
	.content-8 {width: 66.66%;}
	.content-9 {width: 75%;}
	.content-10 {width: 83.33%;}
	.content-11 {width: 91.66%;}
	.content-12 {width: 100%;}
	.bodycontent {
		width: 1000px;
		margin: auto;
		height: 100%;
	}
	#homeDiv, #studentDiv, #eventTableDiv, .sidenav {
	height: 700px;
	overflow: auto;
	
	}
	
	#homeDiv, .sidenav {
		border: 1px solid black;
	}
	
	table {
    		border-collapse: collapse;
    		width:100%;
    		background-color: white;
    		margin: auto;
	}
	
	table, th, td{
    		border: 1px solid black;
	}
	
	.eventtypes {
   		background-color: #737373;
    		color: white;
	}
	
	th {
    		height: 60px;
	}
	
	th, td {
		padding: 10px;
	}
	
	.secondbackground {
		/* The image used */
    		background-image: url("yucca.jpg");

    		/* Set a specific height */
    		min-height: 700px; 

    		/* Create the parallax scrolling effect */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
    	}
	
	.underheader {
		padding: 20px;
	}
	
	.clearheader {
		color: gray;
		background-color: transparent;
		padding: 20px;
		width: 100%;
	}
	
	.clearheader li a {
		font-size: 22px;
		padding: 7px;
	}
	
	.sticky {
		position: fixed;
		top: 0;
		width: 100%;
		background-color: black;
		z-index: 2;
	}

	.sticky + .content {
		padding-top: 60px;
		//z-index: 2;
	}

	.sticky li a {
		color: white;
	}
	
	.sponsorForm {
		padding: 60px;
	}
	
	.mobileheader {
                display: none;
        }

        .mobilehome {
                display: none;
        }
	
	.plax {
    		/* The image used */
    		display: block;
    		background-image: url("sandcover.jpg");

    		/* Set a specific height */
    		min-height: 100%; 

    		/* Create the parallax scrolling effect */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
    		
    		position: relative;
    		background-color: #e8e8e8;
	}
	.plax1text {
		position: absolute;
		color: #f8f8f8;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		font-family: "Cutive Mono";
		font-size: 40px;
		text-align: center;
		border: 1px solid black;
		background-color: #0099ff;
		font-variant: small-caps;
	}

	.plax2 {
    		/* The image used */
    		background-image: url("whale.jpg");

    		/* Set a specific height */
    		min-height: 600px; 

    		/* Create the parallax scrolling effect */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
    		
    		/*added this
    		position: relative;*/
	}

	.plax3 {
    		/* The image used */
    		background-image: url("morenaadaa.jpg");

    		/* Set a specific height */
    		min-height: 600px; 

    		/* Create the parallax scrolling effect */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
	}
	
	.plax4 {
    		/* The image used */
    		background-image: url("flower.jpg");

    		/* Set a specific height */
    		min-height: 600px; 

    		/* Create the parallax scrolling effect */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
	}
	
	.plax5 {
    		/* The image used */
    		background-image: url("neeshjizhii.jpg");

    		/* Set a specific height */
    		min-height: 600px; 

    		/* Create the parallax scrolling effect */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
	}
	
	.plax6 {
    		/* The image used */
    		background-image: url("snowyrock.jpg");

    		/* Set a specific height */
    		min-height: 600px; 

    		/* Create the parallax scrolling effect */
    		background-attachment: fixed;
    		background-position: center;
    		background-repeat: no-repeat;
    		background-size: cover;
	}
	
	

	
	.frontNews {
		
		background-color: #e8e8e8;
		font-family: "Cutive Mono";
		text-align: center;
		padding: 60px;
		
		font-size: 30px;
	}
	
	.latestNews {
		font-size: 30px;
		padding: 100px;
	}
	
	
	.frontNews p {
		color: #606060;
	}
	
	.sponsorDiv {
		height: 800px;
		background-color: #e8e8e8;
		font-family: "Cutive Mono";
		text-align: center;
		padding: 40px;
	}	
	
	.rulesDiv, .scheduleDiv {
		/*height: 1200px;*/
		background-color: #e8e8e8;
		font-family: "Cutive Mono";
		line-height: 2;
		padding: 200px;
		font-size: 20px;
		text-align: left;
	}
	
	.downloadsDiv {
		height: 400px;
		background-color: #e8e8e8;
		font-family: "Cutive Mono";
		text-align: center;
		padding: 40px;
	}
	
	
	#contactDiv {
		height: 700px;
		padding: 40px;
		text-align: center;
		background-color: #e8e8e8;
		font-family: "Cutive Mono";
		font-size: 24px;
	}
	
	#map {
		width: 400px;
		margin: auto;
	}
	
	.modal-content {
		width: 40%;
	}
	
	.footer {
		height: 100px;
		background-color: #FFDEAD;
	}
	
	/* The snackbar - position it at the bottom and in the middle of the screen */
	#scoobysnackbar {
 		visibility: hidden; /* Hidden by default. Visible on click */
    		min-width: 250px; /* Set a default minimum width */
    		margin-left: -125px; /* Divide value of min-width by 2 */
    		background-color: #339933; /* Black background color */
    		color: #fff; /* White text color */
    		text-align: center; /* Centered text */
    		border-radius: 2px; /* Rounded borders */
    		padding: 16px; /* Padding */
    		position: fixed; /* Sit on top of the screen */
    		z-index: 1; /* Add a z-index if needed */
    		left: 50%; /* Center the snackbar */
    		bottom: 30px; /* 30px from the bottom */
	}

	/* Show the snackbar when clicking on a button (class added with JavaScript) */
	#scoobysnackbar.show {
    		visibility: visible; /* Show the snackbar */

		/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
		However, delay the fade out process for 2.5 seconds */
    		-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    		animation: fadein 0.5s, fadeout 0.5s 2.5s;
	}

	/* Animations to fade the snackbar in and out */
	@-webkit-keyframes fadein {
    		from {bottom: 0; opacity: 0;} 
    		to {bottom: 30px; opacity: 1;}
	}

	@keyframes fadein {
    		from {bottom: 0; opacity: 0;}
    		to {bottom: 30px; opacity: 1;}
	}

	@-webkit-keyframes fadeout {
    		from {bottom: 30px; opacity: 1;} 
    		to {bottom: 0; opacity: 0;}
	}

	@keyframes fadeout {
    		from {bottom: 30px; opacity: 1;}
    		to {bottom: 0; opacity: 0;}
	}
	

}