/**
 * @file	bcs7.css
 *
 * @brief	Bay Control System Style Sheet
 * 			Copyright (c) 2020 Bay Controls, LLC
 *
*/

body {
    height: 100%;
    width: 100%;
	overflow: hidden;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
	background-attachment: fixed;
   	background-repeat: no-repeat;
}

.title {
	display: flex;
	background-color: #00a3e0;
	color: white;
	height: 40px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	font-size: 110%;
}

.left {
	display: flex;
	flex-grow: 1;
	text-align: left;
	margin: 10px;
}

.center {
	text-align: center;
	margin: 10px;
}

.rfill {
	display: flex;
	flex-grow: 1;
}
.right {
	text-align: right;
	margin: 10px;
}

.left-nav {
	width: 10%;
	position: fixed;
	z-index: 1;
	top: 40px;
	left: 0;
	background-color: #5b6770;
	overflow-x: hidden;
	padding-top: 30px;
	text-align: center;
	height: 100%;
}

.left-nav button {
	width: 81%;
	margin-bottom: 35px;
	padding-top: calc(56.25%/2); 
	padding-bottom: calc(56.25%/2); 
	background-color: #00a3e0;
	color: white;
	font-size: 120%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
	cursor: pointer;
}

.left-nav button:focus {
	outline: 0;
}

.left-nav button:-moz-focus-inner {
	border: 0;
}

.main {
	height: 100vh;
	overflow: hidden;
	margin-left: 10%;
	margin-top: 40px;
	position: fixed;
	width: calc(100vw - 10%);
}

.tabs {
    text-align: left;
    z-index: 49;
	background-color: #5b6770;
    border-bottom: 2px solid #696969;
    padding-top: 3px;
    float: left;
    width: 100%;
}

.tabsGroup {
    text-align: left;
    background-color: #505050;
    border-bottom: 2px solid #696969;
    padding-top: 3px;
    float: left;
}

.tabtitle {
	text-align: center;
    display: inline;
    padding: 5px;
}

.tabtitle a {
    text-decoration: none;
    color: black;
}

.tab {
    position: relative;
    border: 1px solid black;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    padding: 5px 8px 0 8px;
    margin: 0;
    color: black;
	background-color: #d0d0d0;
	z-index: 50;
    float: left;
    font-size: 120%;
    border-bottom: 2px solid gray;
    display: inline;
    bottom: -2px;
	cursor: pointer;
}

.tabActive {
    position: relative;
    border: 1px solid black;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    padding: 5px 8px 0 8px;
    margin: 0;
    color: black;
	background-color: white;
	z-index: 50;
    float: left;
    font-size: 120%;
    font-weight: bold;
    border-bottom: 2px solid white;
    display: inline;
    bottom: -2px;
	cursor: pointer;
}

.tabContent {
	height: calc(100vh - 70px);
	margin-top: 20px;
	margin-left: 10px;
	margin-right: 10px;
	overflow: auto;
}

.link {
	display: inline;
    cursor: pointer;
    text-decoration: underline;
    color: black;
}

.link a,a:visited,a:hover,a:active {
    cursor: pointer;
    color: black;
}

.pointTable {
	text-align: left;
    /* font-size: 110%; */
}

.pointTable th {
	text-align: center;
}

.pointTable tr:first-child>th {
    position: sticky;
    top: 0;
}

.tdData {
	text-align: right;
}

.flex-container {
	display: flex;
	margin: 10px 20px 20px 20px;
}

.flex-item-left {
	flex-grow: 1;
}

.flex-item-right {
	margin: auto;
	flex-grow: 3;
	padding-left: 25px;
}

.flex-box {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.flex-box-item {
	display: flex;
	justify-content: space-between;
}

.box {
	border: 1px solid black;
    padding: 5px;
    margin-bottom: 25px;
}

.box-title {
	margin-top: -15px;
    background: white;
    width: fit-content;
	
}

.spanDocument {
     cursor:pointer;
     color:blue;
     text-decoration:underline;
}

.spanDocument:hover {
     text-decoration:none;
}

.hdr {
	background: #b1b1b1;
	font-weight: normal;
}

.startButton {
	width: 140px;
	margin-bottom: 35px;
	height: 4em;
	background-color: green;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
	cursor: pointer;
}

.autoButton {
	width: 140px;
	margin-bottom: 35px;
	height: 4em;
	background-color: #00a3e0;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
	cursor: pointer;
}

.unloadButton {
	width: 140px;
	margin-bottom: 35px;
	height: 4em;
	background-color: #00a3e0;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
	cursor: pointer;
}

.stopButton {
	width: 140px;
	margin-bottom: 35px;
	height: 4em;
	background-color: red;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
	cursor: pointer;
}

.abortButton {
	width: 140px;
	margin-bottom: 35px;
	height: 4em;
	background-color: red;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
	cursor: pointer;
}

.control_font {
	font-size: large;
	font-weight: bold;
}

.homeContent {
	overflow: auto;
    height: 95%;
    top: -40px;
    position: relative;
}

@media screen and (max-height: 940px) {
	.homeContent {
		zoom: 78%;
	}
}

.homeTabs {
    text-align: left;
    z-index: 49;
    padding-left: 10px;
    float: left;
    width: 95%;
}

.homeTab {
    position: relative;
    border: 2px solid black;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    padding: 5px 12px 0 12px;
    margin: 0;
    color: black;
	background-color: white;
    float: left;
    font-size: 12pt;
    font-weight: bold;
    border-bottom: 2px solid white;
    display: inline;
    bottom: -2px;
}

.homeDiv {
    margin-left: 10px;
    margin-right: 10px;
    overflow: auto;
    border: 2px solid black;
    float: left;
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
	
}
.site-container {
	 display: flex;
} 

.flex-container-home {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  clear: both;
  height: 5em;
}

.flex-container-tune {
  display: flex;
  flex-wrap: nowrap;
  clear: both;
  height: 5em;
}
.flex-container-home-button {
	background-color: #00a3e0;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    width:150px;
	cursor: pointer;
}

.flex-container-home-button-green {
	background-color: green;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    width:150px;
	cursor: pointer;
}

.flex-container-home-button-red {
	background-color: red;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    width:150px;
	cursor: pointer;
}

.row {
	background-color: white;
}

.rowsel {
	background-color: #cbffca;
}

.MonitoringLogContainer {
	display: flex;
	justify-content: space-between;
	padding: 10px;
}

.permission-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 */
.permission-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 40%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.permission-close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.permission-close:hover,
.permission-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.permission-modal-header {
  padding: 2px 16px;
  background-color: #00a3e0;
  color: white;
}

.permission-modal-body {
	padding: 2px 16px;
}

.cfgContent {
	height: calc(100vh - 100px);
	width: 100%;
	margin-top: 20px;
	margin-left: 10px;
	margin-right: 10px;
	overflow: auto;
}
.exportContent {
	height: calc(100vh - 100px);
	width: 100%;
	margin-top: 20px;
	margin-left: 10px;
	margin-right: 10px;
	overflow: auto;
}
.settings-nav {
	z-index: 1;
	overflow-x: hidden;
	text-align: center;
	height: 100%;
	width: 100%;
	display: flex;
	flex-flow: column;
}

.settings-nav-row {
	padding-top: 1%;
	height: min(calc(100%/8),100px);;
	display:flex;
	width:100%;
	justify-content:space-evenly; 
	font-size: 120%;
}

.settings-nav button {
	width: 100%;
	min-width: 200px;
	margin-bottom: 30px;
	height: 100%;
	background-color: #00a3e0;
	color: white;
	font-size: 110%;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
	cursor: pointer;
	margin-right: 35px;
	margin-left: 35px;
}

.settings-nav button:focus {
	outline: 0;
}

.settings-nav button:-moz-focus-inner {
	border: 0;
}
.flex-box-setting {
	display: flex;
}
.popupClass{
    background-color: white;
    position: absolute;
    top: 20%;
    left: 30%;
    width: 40%;
    padding: 20px;
    border-radius: 5px;
    border: 2px solid black;
    z-index: 1;
}

.progressBarOutline{
	height: 1.5em;
    width: 90%;
    border: 2px solid black;
    z-index: 1;
    position: relative;
}
.popupProgressBarClass{
    position: absolute;
    background-color: blue;
    width: 0%;
    height: 100%;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 60px;
  height: 60px;
  position: absolute;
  left: 40%;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#userSwitchClick {
	position: fixed; 
	top: 0;
	right: 0;
	width: 150px;  
	height: 120px; 
	background-color: rgba(255, 255, 255, 0); /* transparent */
	/*border: 2px solid #000;*/
	cursor: pointer;
	z-index: 999999;
	pointer-events: auto;
}
