body{
	background-color: #1e1e1e;
	font-size: 1em;
	font-family: arial, helvetica, sans-serif;
	padding: 0px;
	margin: 0px;
	color: white;
	position: relative;
	overflow: hidden;
	background-color: #333;
}

label {
	font-size: 2em;
	margin-top: 6px;
}

input {
	max-width: 100%;
	border-radius: 6px;
	margin: 0px;
	margin-top: 6px;
	padding: 6px;
}

select {
	font-size: 1em;
	padding: 6px;
	background-color: #007c99;
	bordeR: none;
	border-radius: 4px;
	color: white;
}

button {
	width: 100%;
	color: #333 !important; 
	background-color: #bfbfbf;
	background: linear-gradient(0deg, rgba(122,122,122,1) 0%, rgba(255,255,255,1) 100%);
	border: 1px solid #666;
	border-radius: 4px;
	font-size: 1em;
	padding: 6px;
	font-weight: bold;
	margin: 0 auto;
}

button:hover {
	background-color: #ccc;
}


button.disconnect {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 100px;
}

button.ghost {
	background: rgba(122,122,122,1);
	opacity: 0.5;
}

a {
	color: white;
}

h1 {
	text-align: center;
	font-size: 1.5em;
}



.connectPageGrid {

	display: grid;
	align-content: center;
	justify-content: center;
	grid-gap: 16px;
}

.site-wrapper {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  max-width: 699px;
  margin: 0 auto;
}

.site-header {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background-color: black;
	text-align: center;
}

.site-header > div {
	padding-top: 4px;
	padding-bottom: 2px;
}

.site-main {
	display: grid;
	background-color: #000;
	justify-content: center;
	align-content: center;
}

.site-footer {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-items: center;
	background-color: black;
	padding: 10px 6px 20px 6px;
	grid-gap: 6px;
	font-size: .75em;
}



#page_home {
	display: grid;
	justify-items: center;
}


.lightningCounter {
	margin: 10px 20px 6px 20px;
	height: 1.2em;
}

.iconHome {
	height: 1.2em;
}

.iconHome:hover {
	cursor: pointer;
}

.iconStatus {
	height: 1.2em;
}

.iconStatus:hover {
	cursor: pointer;
}

.iconConfig {
	height: 1.2em;
}

.iconConfig:hover {
	cursor: pointer;
}


.SLSname {
	height: 20px;
	grid-column: span 2;
}



.iconBluetoofs {
	position: absolute;
	top: 14px;
	left: 10px;
	height: 24px;
	z-index: 10;
}


.container {
	max-height: 100vh;
	margin: 0 auto;
	background-color: #1e1e1e;
	color: white;
	padding-top: 52px;
	width: 100%
}

.lockMeToTop {
/* 
	position: fixed;
	border: 1px solid green;
 */
}
    


.unitName {
	position: relative;
	grid-column: span 3;
	display: grid;
	background-color: #3a3a89;
}

.disconnectSLR {
	padding: 6px;
	background-color: #3a3a89;	
	display: grid;
}

.position {
	display: grid;
	grid-column: span 2;
	background-color: #3a3a89;
}

.longitude {
	display: grid;
	background-color: #3a3a89;
}

.gridStatus {
	display: grid;
	padding: 0px;
	grid-gap: 6px;
}

.gridStatus > * {
	padding: 10px;
	color: white;
	align-items: center;
	justify-items: center;
}

.eventCount {
	display: grid;
	background-color: #035d84;
	white-space: nowrap;
}

.battery {
	display: grid;
	background-color: green;
	white-space: nowrap;
}

.threshold {
	display: grid;
	background-color: #3a3a89;
	white-space: nowrap;
}

.errorCode {
	display: grid;
	background-color: #880000;
	white-space: nowrap;
}

.eventsHeader {
	display: grid;
	grid-template-columns: repeat(2, auto);
	background-color: #035d84;
	font-size: 1.5em;
	font-weight: bold;
	grid-column: span 4;
}

.eventsTitle {
	display: grid;
	justify-self: left;
	align-self: center;
}

.eventsSort {
	display: grid;
	justify-self: right;
	align-self: center;
	font-size: .75em;
}

.eventsList {
	display: grid;
	grid-gap: 2px;
	grid-column: span 2;
	grid-template-columns: repeat(3, auto);
}

.eventsHeaderDate, .eventsHeaderTime, .eventsHeaderMag {
	display: grid;
	font-size: 1em;
	padding-bottom: 6px;
}

.eventsDate, .eventsTime, .eventsMag {
	display: grid;
	font-size: 2.5em;
	padding: 6px 0px 6px 0px;
	border-width: 1px 0px 0px 0px;
	border-color: #666;
	border-style: dashed;
}

.buttons {
	display: grid;
	grid-template-columns: repeat(4,auto);
}

.logoSplash {
	width: 100%;
	margin-bottom: 20px;
}

.configGrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 6px;
	text-align: left;
	font-size: .75em;
	}


.configGrid > * {
	padding: 10px;
	color: white;
}

.firmware {
	display: grid;
	background-color: #444;
}

.notification {
	display: grid;
	background-color: #444;
}

.ssid {
	display: grid;
	background-color: #3a3a89;
}

.password {
	display: grid;
	background-color: #3a3a89;
}

.wifi-on-off {
	display: grid;
	background-color: #3a3a89;}

.networkStatus {
	grid-column: span 3;
	display: grid;
	background-color: #444;
}

.errorCode {
	display: grid;
	background-color: #880000;
}

.ipAssignment{
	display: grid;
	background-color: #3a3a89;
}


.ipAddress {
	display: grid;
	background-color: #3a3a89;
}

.subnetMask {
	display: grid;
	background-color: #3a3a89;
}

.gateway {
	display: grid;
	background-color: #3a3a89;
}

.dns {
	display: grid;
	background-color: #3a3a89;
}

.serialNumber {
	display: grid;
	background-color: #444;

}

.monospaced-table {
	width: 100%;
	font-family: arial, helvetica, sans-serif;
	font-size: 1em;
}

.monospaced-table th {
	font-size: .75em;
	border-width: 0px 0px 1px 0px;
	border-style: dotted;
	border-color: #666;
	padding: 10px;
}
	
.monospaced-table td {
	padding: 10px;
	border-width: 0px 0px 1px 0px;
	border-style: dotted;
	border-color: #666;
}

.sectionHeader {
	display: grid;
	font-size: 1em;
	font-weight: bold;
	background-color: #666;
	grid-column: span 2;
	justify-content: center;
	align-content: center;
}

.splashGrid {
	display: grid;
	margin: 0 auto;
	grid-gap: 6px;
	justify-content: center;
	align-content: center;
	max-width: 70%;
	position: relative;
}

.flashGrid {
	display: grid;
	grid-template-columns: 14% 35% 37% 12%;
	border-width: 0px 0px 1px 0px;
	border-style: dashed;
	border-color: #666;
}

.scrollMe {
	position: relative;
	height: 500px;
	overflow-Y: scroll;
	overflow-x: hidden;
	padding-top: 0px;
	border: 1px solid green;
}

.scrollMeFade {
	pointer-events: none;
	position: absolute;
	padding-top: 4px;
	width: 100%;
	height: 500px;
	z-index: 99;
	background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 3%,rgba(0,0,0,0) 97%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.flashHeader {
	display: grid;
	justify-content: left;
	align-content: center;
	display: grid;
	padding: 7px 6px 6px 6px;
	background-color: #014766;
	width: 100%;
}

.flashGridItem {
	position: relative;
	display: grid;
	justify-content: left;
	padding: 6px 6px;
	font-size: 1.5em;

}

#messageBox {

	display: none;
	position: absolute;
	background-color: rgba(0,0,0,0.85);
	width: 100vw;
	height: 100vh;
	margin: 0px;
	z-index: 100;
/*   	transition: max-height 0.2s ease-out; */
}

#messageContent{
	display: grid;
	grid-template-rows: repeat(3,auto);
	position: relative;
/* 	top: 10px; */
	align-self: center;
	justify-self: center;
/* 
	align-items: center;
	justify-items: center;
 */
	max-width: 90vw;
	max-height: 90vh;
	background-color: black;
	border: 1px solid #999;
	border-radius: 6px;
	color: white;
	padding: 10px 6px 10px 6px;
	grid-gap: 6px;
}

.messageContentFade{
	z-index: 99;
	background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 3%,rgba(0,0,0,0) 97%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

	position: absolute;
	width: 90%;
	max-height: 700px;

}

.messageLayout{
	display: grid;
	grid-row-columns: repeat(3,auto);
}

.msgHeaderGrid {
	display: grid;
	grid-template-columns: minmax(60%, 1fr) minmax(20%, 1fr);
	align-items: center;
	justify-items: center;
	grid-gap: 12px;
	font-size: 1.25em;
}

.msgHeaderGrid > div {

}
#messageBody {
	width: 100%;
	max-height: 70vh;
	display: grid;
	grid-template-columns: minmax(60%, 1fr) minmax(20%, 1fr);
	align-items: center;
	justify-items: center;
	grid-gap: 6px;
	overlow-y: scroll;
	overflow-x: hidden;
}

#messageFooter {
}
.strokeScroll {
	max-height: 80%;
	overflow-y: scroll;
}

.strokeDetailHeader {
	font-size: .8em;
}

#messageContent .strokeHeader {
	font-size: 1em;
}

#messageContent .strokeItem {	
	font-size: 1.75em;
}

#strokesClose {
	margin-top: 10px;
}

.lightningIcon {
	height: 22px;
}

#connect-button {
	background-color: #888;
}

#disconnect-button {
	background-color: #888;
}

.arrowRight {
	width: 6px;
	position: absolute;
	top: 14px;
	left: 8px;
}

.buttonDiv {
	padding: 0 6px 0 6px;
}


/* UPDATED LAYOUT */


.grid-2-row {
	display: grid;
	grid-template-rows: auto 1fr;
	align-content: center;
	justify-content: center;
	height: 100vh;
}



.grid-2-row-main {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100vh;
	max-width: 699px;
	margin: 0 auto;
}

.grid-2-row-main > div {
}

.grid-2-row-inside {
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 0px;
}

.grid-item-inside {
	display: grid;
	min-height: 0;
}

.grid-item-inside-top {
	display: grid;
	background-color: #000;
	border: 1px solid white;
	align-items: top;
	justify-items: center;
	min-height: 0;
	border: 1px solid magenta;
}

.fixMe {

}

.tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	top: 0px;
	left: 0px;
}

.logoTab {
	background-color: #000;
}

.tab {
	display: grid;
	background-color: #000;
	justify-items: center;
	align-items: center;
}

#pageConnect {
	display: grid;
	align-content: center;
	justify-content: center;
	background-color: #222;
}

#pageConfig {
	display: none;
}

#pageStatus {
	display: none;
	z-index: 99;
}

#flashHolder {
	max-width: 100%;
	overflow-y: scroll;
	background-color: #000;
}

.statusGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 6px;
	text-align: left;
	font-size: .7em;
}

.statusGrid > * {
	padding: 10px;
	color: white;
}

.strokeDetailText {
	padding-left: 10px;
	font-size: .75em;
	background-image: url("../static/images/arrowRight.svg");
	background-repeat: no-repeat;
	background-position: 2px 4px;
	background-size: 6px;
	margin-top: 2px;
	font-weight: normal;
}

#Flash {
	max-width: 600px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%,0);
  left: 0;
  bottom: 0;
  
  z-index: -100;
}



/* WILL'S BREAKING STUFF */

.invisible-button {
    position: relative;
	width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    color: inherit !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: inherit !important;
    padding: 0 !important;
    font-weight: inherit !important;
    margin: 0 !important;
}

.runningMan {
	position: absolute;
	height: 100%;
	left: 0;
	top: 0px;
	opacity: 1;
	transition: transform 3s;
}

.switchGrid {
	display: grid;
	width: 160px;
	height: 40px;
	grid-template-columns: 1fr 1fr;
	border: 1px solid white;
	border-radius: 20px;
	background-color: #666;
	position: relative;
	transition: transform .25s ease-out, background-color .5s ease-in;
	box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
}

.off {
	display: grid;
	color: white;
	align-content: center;
	justify-content: center;
}
.on {
	display: grid;
	color: white;
	align-content: center;
	justify-content: center;
}


.floater {
	display: grid;
	align-content: center;
	justify-content: center;
	position: absolute;
	left: 2px;
	top: 2px;
	width: 80px;
	height: 34px;
	background-color: #444;
	border: 1px solid white;
	border-radius: 20px;
	transition: transform .25s ease-out, background-color .25s ease-out;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

.floater:hover {
	cursor: pointer;
}
