* {
	font-family: 'Open Sans', sans-serif;
	font-size: 12pt;
}


body {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.tile_container {
	height: 100%;
	/* display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-content: flex-start;
	flex-wrap: wrap; */
	padding: 12px;
}

.tile {
	flex: 1 0 41%;
	height: 20%;
	background-color: white;
	border-radius: 0.5em;
	padding: 12px;
	margin-right: 12px;
	margin-bottom: 12px;
	box-shadow: 0 6px 10px -6px #777;
}

.tile.tiny {
	height: 1.3em !important;
}

.tile.small {
	height: 3em !important;
}

.tile.medium {
	height: 4.5em !important;
}

.tile.large {
	height: 6em !important;
}

.tile.huge {
	height: 7.5em !important;
}

.tile_content {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.tile_header {
	font-size: 14pt;
	margin-bottom: 6pt;
}

.tile_content_name {
	font-weight: 800;
}

form {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	align-items: flex-start;
}

.break {
	flex-basis: 100%;
	height: 0;
}

label {
	font-size: 0.8em;
	margin-right: 1em;
}

.tabheader {
	width: 100%;
	background-color: #005ccc;
}

.tablinks {
	font-size: 1em;
}

.tab {
	max-width: 75%;
	display: flex;
	flex-direction: column;
	width: fit-content;
	overflow: hidden;
	border: 1px solid lightgray;
	background-color: #f1f1f1;
}

#status_tab {
	width: 25%;
	overflow-y: auto;
}

#working_tab {
	/* width: 60%; */
	flex-grow: 2;
	margin-right: calc(1vh + 8px);
}

.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: .3s cubic-bezier(.25,.8,.5,1),color 1ms !important;
	color: #ffffff;
	background-color: #005ccc;
}

.tab button:hover {
	background-color: #3671b3;
}

.tab button.active {
	color: black;
	background-color: #f1f1f1;
}

.tabheader_redirect {
	background-color: inherit;
	float: right;
	padding: 5px;
}

.tabheader_redirect:hover {
	background-color: #3671b3;
}

.tabcontent {
	display: none;
	padding: 12px;
	border-top: none;
	animation: fadeEffect 0.3s !important;
}

@keyframes fadeEffect {
	from {opacity: 0;}
	to {opacity: 1;}
}


.output_container {
	margin-top: 1em;
	background-color: white; 
	overflow-y: auto;
	overflow-x: auto; 
	/* width: 48em;  */
	height: 70vh;
	resize: vertical;
}

.output {
	margin-top: -0.5em;
	white-space: nowrap;
	padding: 1em; 
}

.line_element {
	font-size: 1em;
	margin-block-end: 0em;
    margin-block-start: 0em;
}

.button_container {
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 3em;
	margin-bottom: 0.5em;
}

.button_status {
	margin-right: 0.5em;
}

/* .processor_button_container {
	margin-bottom: 0.5em;
	height: auto;
} */

.run_button {
	font-size: 1em;
	height: 80%;
    min-width: 4em;
    margin-right: 0.5em;
    border-radius: 0.4em;
    border: 0px;
    background-color: #005ccc;
	color: white;
	transition: .3s cubic-bezier(.25,.8,.5,1),color 1ms;
	box-shadow: 0 0 1px 0px white inset, 0 0 1px 0px white;
}

.download_button {
	font-size: 1em;
	height: 80%;
    min-width: 4em;
    margin-right: 0.5em;
    border-radius: 0.4em;
    border: 0px;
    background-color: #666;
	color: white;
	transition: .3s cubic-bezier(.25,.8,.5,1),color 1ms;
	box-shadow: 0 0 1px 0px white inset, 0 0 1px 0px white;
}

.run_button:hover {
	background-color: #3671b3;
}

.download_button:hover {
	background-color: #888;
}

.run_button:disabled {
	background-color: #516c8a;
	color: grey;
}

.dot {
	height: 1.25em;
	width: 1.25em;
	background-color: lightgray;
	border-radius: 50%;
	display: inline-block;
	margin-right: 0.5em;
	box-shadow: 0 0 1px 0px white inset, 0 0 1px 0px white;
}




@media all and (orientation:portrait) {
	body {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}

	.tab {
		max-width: 100%;
		width: 100%;
		flex-grow: 0;
	}
	
	#status_tab {
		width: 100%;
		flex-grow: 0;
	}
	
	#working_tab {
		width: 100%;
		flex-grow: 0;
		margin-bottom: calc(1vh + 8px);
	}

	.output_container {
		height: 55vh;
		resize: vertical;
	}
}

@media all and (orientation:landscape) {
	body {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
}

/* on/off buttons */

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 54px;
	height: 28px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
	opacity: 0;
	width: 0;
	height: 0;
  }
  
  /* The slider */
  .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: lightgray;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  .slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
  }

  input[type="checkbox"] {
	vertical-align: middle;
  }
  
  input:checked + .slider {
	background-color: #2196F3;
  }
  
  input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
	border-radius: 34px;
  }
  
  .slider.round:before {
	border-radius: 50%;
  }
