:root {
	--main-blue: #cf1406;
	--main-black: #333;
	/*--header-size: 60px;*/

	/*--icon-size: 60px;*/


	--backgroundColor: rgba(246, 241, 209);
	--colorShadeA: rgb(106, 163, 137);
	--colorShadeB: rgb(121, 186, 156);
	--colorShadeC: rgb(150, 232, 195);
	--colorShadeD: rgb(187, 232, 211);
	--colorShadeE: rgb(205, 255, 232);
}

body {
	margin: 0px;
}

#wrapper {
	margin: 3%;
}
#main-form, .box {
	border: 1px solid #000;
	padding: 5%;
	width: fit-content;
	margin: 5% auto auto auto;
	min-width: 250px;
}


.icon {
    height: 40px;
    /*width: 40px;*/
    padding: 8px;
}

/* MENU BAR */
header {
	overflow: hidden;
	height: var(--header-size, 60px);
	background-color: var(--main-black, #333);
}

header ul {
	height: var(--header-size, 60px);
	list-style-type: none;
	margin: 0px auto 0px auto;
	padding: 0px;
	top: 0px;
	background-color: var(--main-black, #333);;
	/*width: auto; */
	width: fit-content;
}

header li {
	/*width: var(--header-size, 60px);*/
	float: left;
	text-align: center;
	position: relative;
	padding: 3px 0;
}

header li:hover, li#active:hover {
	background-color: var(--main-blue, #058feb);
}

li#active {
	background-color: #191919;/*var(--main-blue, #058feb);;*/
}

/* CHARTS */
.chart {
	display: none;
	margin-left: auto;
	margin-right: auto;
}

#chart-display {
	margin-left: auto;
	margin-right: auto;
	/*width: fit-content;*/
	padding: 2%;
}

#chart-display #drop-down {
	margin-left: auto;
	margin-right: auto;
	min-width: 300px;
	width: fit-content;
	align-items: center;
}

#chart-display form {
	margin-left: auto;
	margin-right: auto;
	width: fit-content;
}

/*http://doodlenerd.com/html-control/css-dropdown-generator*/
.select {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;
}    
.select select {
    font-family: 'Arial';
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 10px 15px;
    outline: 0;
    border: 0px solid #000000;
    border-radius: 0px;
    background: #e6e6e6;
    color: #7b7b7b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
 .select select::-ms-expand {
    display: none;
}
.select select:hover,
.select select:focus {
    color: #000000;
    background: #cccccc;
}
.select select:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.select_arrow {
    position: absolute;
    top: 16px;
    right: 15px;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5px 0px 5px;
    border-color: #7b7b7b transparent transparent transparent;
}
.select select:hover ~ .select_arrow,
.select select:focus ~ .select_arrow {
    border-top-color: #000000;
}
.select select:disabled ~ .select_arrow {
    border-top-color: #cccccc;
}


/* BACKUPS */
#backup-section {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

#backup-upload, #backup-download {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.backup-box {
	width: 40%;
	display: grid;
	grid-template-columns: 30% auto;
}

.backup-icon {
	min-width: 70px;
	width: 20%;
	justify-self: center;
	align-self: center;
}

.backup-image-div {
	grid-column-start: 1;
	grid-column-end: 2;
	align-self: center;
	justify-self: center;
	width: min-content;
}

.backup-main-div {
	grid-column-start: 2;
	grid-column-end: 3;
	align-self: center;
}

/* BUTTON */
div, form, input, select, p { 
padding: 0;
margin: 0;
outline: none;
font-family: Roboto, Arial, sans-serif;
font-size: 14px;
color: #666;
line-height: 22px;
}


#main-form, .box {
	border: none;
	padding: 20px;
	background: #fff;
	box-shadow: 0 2px 5px #ccc; 
}

input, select, textarea {
	width: 100%;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input {
	padding: 5px;
	min-width: 100px;
}
input:hover, textarea:hover, select:hover {
	outline: none;
	border: 1px solid #095484;
}
select {
	padding: 7px 0;
	background: transparent;
}
textarea {
	margin-bottom: 3px;
}

.btn-block {
	margin-top: 20px;
	text-align: center;
}

button {
	width: 150px;
	padding: 10px;
	border: none;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px; 
	border-radius: 5px; 
	background-color: var(--main-blue, #058feb);
	font-size: 16px;
	color: #fff;
	cursor: pointer;
}
button:hover {
	background-color: #a80000;
}

/* NAV BAR!!!! */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

@media (max-width: 1700px) {
	#openMenuSpan {
		color: white;
		height: auto;
		margin-top: auto;
		margin-bottom: auto;
		padding: 1.5vh;
		display: block!important;
	}

	header ul {
		display: none;
	}
}

#erase-btn-div {
	padding: 2%;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

#warning-text-div, #remove-instructions {
	padding: 2%;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

/*EDIT FORM PAGE*/
.hiddenForm {
	display: none;
	transition: 0.5s;
}

/*https://codepen.io/thenocturnalfey/pen/jOEjaZR Thanks to Tremaine Eto */
.smoothFormAppear {
	display: block!important;

	animation: fadeIn ease 4s;
	-webkit-animation: fadeIn ease 4s;
	-moz-animation: fadeIn ease 4s;
	-o-animation: fadeIn ease 4s;
	-ms-animation: fadeIn ease 4s;
}

@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}