@charset "utf-8";

/* This file is divided into these sections:
 * GRID SETUP
 * STYLES SHARED AMONG ALL PAGES
 *  TABLES
 *  FORMS
 *  NAVIGATION
 * SPECIFIC PAGES
 */

/* GRID SETUP */

.grid {
	display:grid;
	grid-template-columns:10% 40% 40% 10%;
	grid-template-rows:auto auto auto auto;
	margin:0 auto;

	grid-template-areas:
		". nav nav ."
		". banner banner ."
		". header header ."
		". grid-area-body grid-area-body .";
}

.banner {grid-area: banner;}
.header {grid-area: header;}
.grid-area-body {grid-area: grid-area-body;}

@media screen and (max-width: 800px) {
	.grid {
		display:grid;
		grid-template-columns:50% 50%;
		grid-template-rows:auto auto auto;
		margin:0 auto;

		grid-template-areas:
			"nav nav"
			"banner banner"
			"header header"
			"grid-area-body grid-area-body";
	}
}

@media screen and (max-width: 400px) {
	.grid {
		display:grid;
		grid-template-columns:100%;
		grid-template-rows:auto auto auto;
		margin:0 auto;

		grid-template-areas:
			"nav"
			"banner"
			"header"
			"grid-area-body";
	}
	.banner img {
		width: 100%;
		height: auto;
	}
}


/* STYLES SHARED AMONG ALL PAGES */


* { box-sizing: border-box; }
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif" }

p, li {
	/*font-size: 0.875em; jordan removed 2019-06-17 to make it easier to keep sizes consistent */
	margin:6px;
}

h1, h2, h3, h4 {
	color:#003366;
	font-family: "Cinzel";
}

h1	{
	margin:6.0pt 0in;
	text-align:center;
	page-break-after:avoid;
	font-size:1.5em;
	font-weight: bold;
	text-transform:uppercase;
	letter-spacing:2px;
}


h2  {
	text-align:center;
	font-size: 1.25em;
	font-weight: bold;
	margin-bottom: 4pt;
}

h3	{
	margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	text-align:center;
	page-break-after:avoid;
	font-size:0.875em;
	font-weight:bold;
}

button:hover {
    opacity: 0.8;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

.container {
    padding: 16px;
}

.banner img {
	width: 100%;
	height: 250px;
}

/* TABLES */

table {
    border-collapse: collapse;
    width: 100%;
}

 td, th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;}
tr:hover {background-color: #ddd;}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 5px;
    text-align: left;
    background-color: black;
    color: white;
}


/* FORMS */

form {border: 3px solid #f1f1f1;}

label.form-row { display: block; margin-bottom: 1em }
label.form-row > span { display: block }
label.form-row input[type=text] { width: 100% }

input[type=text], input[type=password] {
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button, .button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
}

/* NAVIGATION */

.nav {
	grid-area: nav;
	background-color: black;
	overflow: hidden;
}

/* Style the links inside the navigation bar */
.nav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
    background-color: #4CAF50;
    color: white;
}

/* Hide the link that should open and close the nav on small screens */
.nav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
    font-family: "Cinzel";
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.nav a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}

/* SPECIFIC PAGES */

/* LOGIN PAGE */

.login-page input[type=text], .login-page input[type=password] {
	width: 100%;
}

.login-page button {
	width: 100%;
}

.login-page span.psw {
	display: block;
    float: right;
    padding-top: 16px;
}

.login-page .cancelbtn {
	width: 100%;
}

.login-page .cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

