@charset "utf-8";
/* CSS Document */

header {
	height: 3em;
	padding: .5em;
	position: relative;
	background-color:burlywood;
	display: flex;
}

h4 {
	color: aquamarine;
	width: 50%;
}

.logo {
	flex: 1;
	background: #676767;
	align-content: center;
}
#title {
	width: 10em;
	padding: 1em
}

#neurony {
  grid-column: 2/13;
  grid-row: 1;
	width: 55em;
	height: 7em;
}

section {
	display: flex;
	
}

/* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

/*  Control Panel */
.ctrlPanel {
	background-color: rgb(207,232,220);
	height: 32em;
	width: 17em;/**/
	display: grid;
	grid-template-columns: repeat(12, minmax(0,1fr));
  	grid-gap: .1rem;
}

/*  ------------------ Control Panel Tabs ------------- */
.tab1 {
  overflow: hidden;
  border: none;
  background-color: #F1F1A1;
  grid-column: 1/13;
  grid-row: 1;
  height: 3em
}

/* Style the buttons that are used to open the tab content */
.tab1 button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 17px 16px;
  transition: 0.3s;
}

.tab1 input {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px 5px;
  transition: 0.3s;
	width: 4.5em;
}






/* Change background color of buttons on hover */
.tab1 button:hover {
  background-color: #ddd;
}
.tab1 input:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab1 button.active {
  background-color: rgb(207,232,220);
}

.tab1 input.active {
  background-color: rgb(207,232,220);
}

.tabcontent {
	grid-column: 1/13;
	grid-row: 2;
}

/* Button Panel */
#p1 {
	grid-column: 1/13;
  	grid-row: 2;
	flex: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
  	grid-gap: 1rem;
	align-self: center;
}

.button{
	width: 4rem;
}

/* Ion Concentrations Panel */
#f2 {
	grid-column: 1/13;
  	grid-row: 1;
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
  	grid-gap: .2rem;
	align-self: center;
	color:firebrick;
	
	padding: .3em;
	border-radius: 5px;
    background-color: rgb(207,232,220);
    border: 2px solid rgb(79,185,227);
	height: 12em;
}

#f1 {
	grid-column: 1/13;
  	grid-row: 1;
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
  	grid-gap: .2rem;
	align-self: center;
	color:firebrick;
	
	padding: .3em;
	border-radius: 5px;
    background-color: rgb(207,232,220);
    border: 2px solid rgb(79,185,227);
	height: 12em;
}

#f3 {
	grid-column: 1/13;
  	grid-row: 1;
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
  	grid-gap: .2rem;
	align-self: center;
	color:firebrick;
	
	padding: .3em;
	border-radius: 5px;
    background-color: rgb(207,232,220);
    border: 2px solid rgb(79,185,227);
	height: 14em;
}

.numLabel{
	flex-direction: row;
	border-radius: 5px;
	background-color: rgb(207,232,220);
	border: 2px solid rgba(227,78,98,1.00);
	padding: .4rem .4rem;
	text-align: right;
	font-weight: bold;
	/*  "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif" */
	font-family:  Helvetica;
	font-size: 14px; 
}

#numlab0 {
	color: darkblue;
	grid-column: 1/3;
  	grid-row: 1;
	text-align: left;
	font-size: 17px;
	border: none;
}

#numlab1 {
	grid-column: 1;
  	grid-row: 2;

}
#numlab2 {
	grid-column: 1;
  	grid-row: 3;
}
#numlab3 {
	grid-column: 2;
  	grid-row: 2;
}
#numlab4 {
	grid-column: 2;
  	grid-row: 3;
}

.number {
	width: 4em;
 }

#numlabg0 {
	color: darkblue;
	grid-column: 1/3;
  	grid-row: 1;
	text-align: left;
	font-size: 17px;
	border: none;
}

#numlabg1 {
	grid-column: 1;
  	grid-row: 2;
}
#numlabg2 {
	grid-column: 1/2;
  	grid-row: 3;
}
#numlabg3 {
	grid-column: 1/2;
  	grid-row: 4;
}

#numlabs0 {
	color: darkblue;
	grid-column: 1/3;
  	grid-row: 1;
	text-align: left;
	font-size: 17px;
	border: none;
	height: 1.5em;
}
#numlabs1 {
	grid-column: 1/3;
  	grid-row: 2;
	height: 1.5em;
}
#numlabs2 {
	grid-column: 1/3;
  	grid-row: 3;
	height: 1.5em;
}
#numlabs3 {
	grid-column: 1/3;
  	grid-row: 4;
	height: 1.5em;
}
#numlabs4 {
	grid-column: 1/3;
  	grid-row: 5;
	height: 1.5em;
}

#stimAmp {
  -webkit-appearance: none;  /* Override default CSS styles */
  /*appearance: none;*/
  width: 10em; /* Full-width */
  height: 1px; /* Specified height */
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
	padding-top: .2em;
}

#stimAmp::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;/**/
  width: 5px;
  height: 5px;
  border: 0;
  cursor: pointer;
  padding-top: 1em;
  /*background:  url('minielectrode.png')*/
  background: red;
}

.mainPanel {
	grid-column: 1/13;
  	grid-row: 3;
	padding: .3em;
	color: firebrick;
	border-radius: 5px;
    background-color: rgb(207,232,220);
    border: 2px solid rgb(79,185,227);
	height: 8em;
}

#startBut {
	background: #00C05D;
	width: 5em;
	height: 3em;
	padding: .4em;
	color: white;
	grid-column: 2/3;
}
#pauseBut {
	background: #F99705;
	width: 5em;
	padding: .4em;
	color: white;
	grid-column: 6/6;
}

#numlabElasped {
	padding: .8em;
	border: none;
	grid-row: 2;
	grid-column: 1/13;
}
#numlabStart {
	padding: .3em;
	grid-column: 1/13;
	grid-template-columns: repeat(8, minmax(0,1fr));
	display: grid;
}

#speedRange {
  -webkit-appearance: none;  /* Override default CSS styles */
  /*appearance: none;*/
  width: 10em; /* Full-width */
  height: 1px; /* Specified height */
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
	padding-top: .2em;
}

#speedRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;/**/
  width: 5px;
  height: 5px;
  border: 0;
  cursor: pointer;
  padding-top: 1em;
  /*background:  url('minielectrode.png')*/
  background: red;
}

/* --------------------- Graph ----------------------------*/
.Graph {
	/*background-color: coral;*/
	height: 10em;
	flex: 4;
}

.graphclass {
	height: 10em;
}

/*  ------------------ Graph Tabs ------------- */
.tab2 {
  overflow: hidden;
  border: none;
  background-color: #F1F1A1;
  grid-column: 1/13;
  grid-row: 1;
  height: 3em
}

/* Style the buttons that are used to open the tab content */
.tab2 button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 17px 16px;
  transition: 0.3s;
}

.tab2 input {
  background-color: inherit;
  float: right;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px 5px;
  transition: 0.3s;
	width: 4.5em;
}

/* Change background color of buttons on hover */
.tab2 button:hover {
  background-color: #ddd;
}
.tab2 input:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab2 button.active {
  background-color: white;
}

.tab2 input.active {
  background-color: white;
}

footer {
	background-color:  rosybrown;
}
