html, body {
	padding: 0;
	margin: 0;
}

html {
	background-color: #fff;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 62.5%; /* 62.5 % of 16px default = 10px. I rem will equal 10px */
}

body {
	font-size: 20px;
	font-size: 2.0rem;
	padding: 0 0 200px;
}

.group:after { /* Clear floats using container */
	content: "";
	display: table;
	clear: both;
  }

img {
	max-width: 100%;
	max-height: 100%;
}

nav {
	position: fixed;
    top: 0;
	width: 100%;
	padding: 10px 0;
	z-index: 100;
	background-color: #000;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	box-shadow: #000;
	box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.51);
}

nav img {
	height: 35px;
	width: auto;
	margin-left: 30px;
}

nav #mainMenuButton {
	display: none;
}

nav ul {
	list-style: none;
	margin: 0 30px 0 0;
	padding: 0;
}

nav li {
	float: left;
	position: relative;
	transition-duration: 0.25s;
}

nav li a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 10px;
	white-space: nowrap;
}

nav li:hover {
	background: #0199ff;
	cursor: pointer;
}

nav ul li ul {
	background: #000;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	margin: 0;
	transition: all 0.5s ease;
	right: 0;
	display: none;
}

nav ul li:hover > ul,
nav ul li ul:hover {
	visibility: visible;
	opacity: 1;
	display: block;
}

nav ul li ul li {
	clear: both;
	width: 100%;
}

@media screen and (max-width: 768px){
	nav {
		display: block;
	}
	
	nav img {
		height: 35px;
		margin-left: 15px;
	}

	nav #mainMenuButton {
		display: unset;
		float: right;
		color: #fff;
		margin: 5px 30px 0 0;
		font-size: 2.5rem;
	}

	nav #mainMenuButton:hover {
		cursor: pointer;
	}

	nav .mainMenu {
		display: none;
	}
	nav .makeVisible {
		display: block;
	}

	nav ul {
		margin: 15px 0 0 0;
	}
	nav li {
		float: none;
		position: unset;
	}

	nav li a {
		padding-left: 20px;
	}
		
	nav ul li ul {
		background: #000;
		visibility: visible;
		opacity: 1;
		position: unset;
		margin: 0;
		transition: all 0.5s ease;
		right: 0;
		display: block;
	}
	
	nav ul li:hover > ul,
	nav ul li ul:hover {
		visibility: visible;
		opacity: 1;
		display: block;
	}

	nav ul li ul li {
		clear: both;
		width: 100%;
	}
	
	nav ul li ul li a {
		padding-left: 40px;
	}
}


main {
	display: block;
	background-color: #fff;
	width: 90%;
	max-width: 1300px;
	margin: 40px auto;
}

h1 {
	text-transform: uppercase;
	font-size: 3.0rem;
	text-align: center;
	/*border-bottom: #ccc 1px solid;*/
	padding: 55px 0 10px;
	margin-bottom: 20px;
	border-bottom: 2px solid #8c00b3;
	color: #fff;
	background: #a300d1;
	background: linear-gradient(to right, #db00a4 0%,#a300d1 100%);
}

/*****
Grid -ms- : IE 10-11, Edge 12-15
*****/
table {
	border-top: 1px solid #ccc;
	border-collapse: collapse;
	margin: 15px 0 0 0;
	padding: 0;
	table-layout: auto;
	width: 100%;
}

tr {
	
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

tr:nth-child(odd){
	background-color: #f7f7f7;
}

th {
	background-color: #ceefff;
	font-weight: bold;
	text-align: left;
}

td, th {
	padding: 5px 8px;
}

td {
	border-right: 1px solid #ebebeb;
}

td:last-of-type {
	border-right: none;
}

@media screen and (max-width: 768px){
	table thead {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	  }
	  
	  table tr {
		margin-bottom: 15px;
		border-top: 1px solid #ccc;
		display: block;
	  }
	  
	  table td {
		display: block;
		text-align: right;
		border-bottom: 1px dashed #ebebeb;
	  }

	  table td:last-of-type {
		  border-bottom: none;
	  }
}

/*
.tableContainer {
	display: -ms-grid;
	display: grid;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	word-wrap: break-word;
	margin-top: 15px;
}


.tableColumns1 {
	-ms-grid-columns: auto;
	grid-template-columns: auto;
}
.tableColumns2 {
	-ms-grid-columns: repeat(2, auto);
	grid-template-columns: repeat(2, auto);
}
.tableColumns3 {
	-ms-grid-columns: repeat(3, auto);
	grid-template-columns: repeat(3, auto);
}
.tableColumns4 {
	-ms-grid-columns: (1fr)[4];
	grid-template-columns: repeat(4, auto);
}
.tableColumns5 {
	-ms-grid-columns: repeat(5, auto);
	grid-template-columns: repeat(5, auto);
}
.tableColumns6 {
	-ms-grid-columns: repeat(6, auto);
	grid-template-columns: repeat(6, auto);
}
.tableColumns7 {
	-ms-grid-columns: repeat(7, auto);
	grid-template-columns: repeat(7, auto);
}
.tableColumns8 {
	-ms-grid-columns: repeat(8, auto);
	grid-template-columns: repeat(8, auto);
}
.tableColumns9 {
	-ms-grid-columns: repeat(9, auto);
	grid-template-columns: repeat(9, auto);
}
.tableColumns10 {
	-ms-grid-columns: repeat(10, auto);
	grid-template-columns: repeat(10, auto);
}

.tableWork {
	-ms-grid-column: 1;
	grid-column-start: 1;
	-ms-grid-column-span: -2;
	grid-column-end: -1;
}
.tableItem,
.tableWork {
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ebebeb;
	padding: 5px 8px;
}

.tableHeader {
	background-color: #ceefff;
	font-weight: bold;
}

.tableLast,
.tableWork {
	border-right: 1px solid #ccc;
}

.tableEven {
	background-color: #f7f7f7;
}

.tableWork {
	display: none;
}

@media screen and (max-width: 768px){
	.tableContainer {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: (1fr)[4];
		grid-template-columns: 100%;
		border: none;
	}
	.tableItem,
	.tableWork {
		border-bottom: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
		padding: 8px;
	}
	.tableHeader {
		display: none;
	}
	.tableFirst {
		border-top: 5px solid #ccc;
		margin-top: 20px;
	}
}
*/

.successMessage {
	background-color: #00b427;
	color: #fff;
	padding: 15px;
}

.successMessage span {
	display: block;
	font-size: 2.4rem;
	font-weight: bold;
	margin-bottom: 10px;
}

/* ##### Forms ##### */

.formContainer {
	width: 90%;
	max-width: 300px;
	margin: 30px auto;
}

input,
select {
	box-sizing: border-box;
	width: 100%;
	border: #ccc solid 1px;
	padding: 8px;
	margin: 5px 0 10px;
	font-size: 1.6rem;
}

input[type=submit] {
	background-color: #f0f0f0;
	border: #ccc solid 1px;
}

input[type=submit]:hover {
	background-color: #0199ff;
	border-color: #0199ff;
	cursor: pointer;
	color: #fff;
}

.formErrors {
	background-color: #d10000;
	color: #fff;
	padding: 15px;
}

form.horizontalForm input,
form.horizontalForm select {
	width: auto;
	padding: 5px 8px;
}
/*
form.horizontalForm input[type=submit] {

}
*/

#passwordTestContainer {
	padding-top: 4px;
}
.passwordTestFail {
	float: left;
	padding: 1px 4px;
	margin: 0 3px 4px 0;
	font-size: 1.4rem;
	background-color: #ebebeb;
	color: #000;
}

.passwordTestPass {
	float: left;
	padding: 1px 4px;
	margin: 0 3px 5px 0;
	font-size: 1.4rem;
	background-color: #09a709;
	color: #fff;
}

/*

Modal

*/

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	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 */
}

/* Modal Content */
.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
}

/* The Close Button */
.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

/*

Tooltip container

*/

.tooltip {
	position: relative;
	display: inline-block;
	/*border-bottom: 1px dotted black; If you want dots under the hoverable text */
	margin-left: 12px;
	background-color: #79a8dd;
	color: #fff;
	padding: 0 6px;
	border-radius: 50%;
	font-size: 1.4rem;
	font-weight: bold;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: black;
    color: #fff;
	text-align: center;
	font-size: 2.0rem;
	font-weight: normal;
    padding: 5px 0;
    border-radius: 6px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}