body {
    padding:0px;
    margin: 0px;
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
 }

a {
    color: #2196f3;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    color: #7bd0fa;
}

#header {
    background-color: #f0f0f0;
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 0px;
    width: 100%;
    height: 43px;
    color: #000000;
    z-index:500;
    border-bottom-width: 0px;
    border-bottom-color: #444444;
    border-bottom-style: solid;
}

#logo {
    position: absolute;
    top: 0px;
    left: 10px;
}

#title {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 20px;
}

#main {
    position: absolute;
    top: 43px;
    left: 0px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    overflow: scoll;
}

span.stretch {
    display:inline-block;
    -webkit-transform:scale(2.5,1); /* Safari and Chrome */
    -moz-transform:scale(2.5,1); /* Firefox */
    -ms-transform:scale(2.5,1); /* IE 9 */
    -o-transform:scale(2.5,1); /* Opera */
    transform:scale(2.5,1); /* W3C */
}

#up_link {
    cursor: pointer;
    display: none;
    position: fixed;
    bottom: 17px;
    right: 50px;
    font-size: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #263238;
    color: #ffffff;
    border-radius: 5px;
}

#up_link:hover {
    background-color: #2196f3;
}

#footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    padding: 0px;
    width: 100%;
    margin-top: 10px;
    height: 20px;
    background-color: #263238;
    color: #bdbdbd;
    font-size: 12px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #2196f3;
}

.logout{
    position: fixed;
    top: 8px;
    right: 15px;
    color: #000000;
    font-size: 12px;
    padding: 0.5em;
    z-index:500;
}
.logout a{
    color: #ff0000;
}

legend{
    border:0;
    padding:0;
    }

fieldset {
    display: inline-block;
    margin:0 2px;
    margin-bottom: 5px;
    padding:0.35em 0.625em 0.75em;
    font-size: medium;
    border:1px solid #c0c0c0;
   }
.next-to-fieldset {
    display: inline-block;
    width: 45%;
    vertical-align: top;
}

.list_df_td{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
}

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 950;
    margin-right: 40px;
}
.dropdown-content {
    display: none;
    position: fixed;
    background: #dddddd;
    /* min-width: 110px; */
    box-shadow: 0px 9px 16px 0px rgba(0,0,0,0.2);
    margin-top: 10px;
    z-index: 950;
}
.dropdown-content a {
    color: #000000;
    padding: 9px 16px;
    text-decoration: none;
    display: block;
    font-size:16px;
    z-index: 950;
    margin-right: 0px;
    padding-top: 9px;
    padding-bottom: 9px;
}
.dropdown-content a:hover, .dropdown-content a:focus {
    background: #d0d0d0;
    color: #000000;
    z-index: 950;
    margin-right: 0px;
    border-top-width: 0px;
    border-bottom-width: 0px;
    }
.dropdown:hover .dropdown-content {
    display: block;
    z-index: 950;
}

.dropdown-trigger {
    cursor: pointer;
}


.sensor-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 40px;
}
.sensor-dropdown-content {
    display: none;
    position: absolute;
    background: #dddddd;
    box-shadow: 0px 9px 16px rgba(0,0,0,0.2);
    /* margin-top: 10px; */
    z-index: 950;
    width: max-content;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    white-space: nowrap;
}

.sensor-dropdown-content a {
    width: 100%;
    box-sizing: border-box;
}

.sensor-dropdown.open .sensor-dropdown-content{
    display: block;
}


#breadcrumps {
    position: absolute;
    top: 55px;
    left: 300px;
    font-size: 13px;
}

#navigation {
    position: absolute;
    top: 12px;
    left: 300px;
    font-size: 16px;
    z-index: 900;
}

.main-nav a {
    color: #000000;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 16px;
}

.main-nav a:hover, .main-nav a:focus, .main-nav a:active {
    background-color: #f0f0f0;
    border-top-style: solid;
    border-top-width: 3px;
    border-top-color: #2196f3;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-bottom-color: #2196f3;
}

#nav_active {
    border-top-style: solid;
    border-top-width: 3px;
    border-top-color: #2196f3;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-bottom-color: #2196f3;
}

table {
    border-collapse: collapse;
    /* margin-bottom: 3em; */
    margin-bottom: 0px;
    background: #fff;
    border-spacing:0;
    margin-top: 20px;
    width: 100%;
}

td, th {
    
    border: 1px solid #dddddd;
    text-align: left;
    
    font-size: 16px;
    padding: 8px;

}

tr:nth-child(even) {
    background-color: #dddddd;
}

	/* td.err {
		background-color: #e992b9;
		color: #fff;
		line-height: 1;
	} */
th {
    background-color: #263238;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
}

tbody th {
	background-color: #263238;
    text-align: right;
    padding: 0.4em 0.5em 0.4em 0.5em;
    color: #ffffff;
}
tbody tr:nth-child(2n-1) {
    background-color: #f5f5f5;
    transition: all .125s ease-in-out;
}
tbody tr:hover {
    background-color: rgba(10,141,209,.3);
}

/* For appearance */
.sticky-wrap {
	overflow-x: auto;
	overflow-y: hidden;
	position: relative;
	margin: 0em 0;
	width: 100%;
}
.sticky-wrap .sticky-thead,
.sticky-wrap .sticky-col,
.sticky-wrap .sticky-intersect {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	transition: all .125s ease-in-out;
	z-index: 50;
	width: auto; /* Prevent table from stretching to full size */
}
	.sticky-wrap .sticky-thead {
		box-shadow: 0 0.25em 0.1em -0.1em rgba(0,0,0,.125);
		z-index: 100;
		width: 100%; /* Force stretch */
	}
	.sticky-wrap .sticky-intersect {
		opacity: 1;
		z-index: 150;

	}
		.sticky-wrap .sticky-intersect th {
			background-color: #666;
			color: #eee;
		}
.sticky-wrap td,
.sticky-wrap th {
	box-sizing: border-box;
}

/* Not needed for sticky header/column functionality */
td.user-name {
	text-transform: capitalize;
}
.sticky-wrap.overflow-y {
	overflow-y: auto;
	max-height: 50vh;
}

.info, .message, .success, .warning, .error, .validation {
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    display: inline-block;
}
.info, .message {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('/static/icons/20_Right_Arrow_24x24.png');
}
.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url('/static/icons/15_Tick_24x24.png');
}
.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('/static/icons/01_Warning_24x24.png');
}
.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('/static/icons/14_Delete_24x24.png');
}

.changelog {
    width: 90%;
    max-height: 50px;
    overflow: hidden;
}

.changelog:hover {
    width: 90%;
    max-height: 400px;
    overflow: scroll;
}

.dashbox {
    color: #000000;
    padding: 20px;
    margin: 20px;
    width: 350px;
    min-height: 150px;
    display: inline-block;
}

.dashbox-element {
    display: inline-block;
    margin-bottom: 20px;
}

/* #################### Style the hamburger menu */

/* Style the navigation menu */
.topnav {
  overflow: hidden;
  background-color: #f00;
  position: relative;
  height: 43px;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #4CAF50;
  color: white;
}
/* #################### Style the hamburger menu */


.live_view_values {
    display: inline-block;
    padding: 5px;
    margin-left: 10px;
    margin-right: 0px;
    vertical-align: middle;
    background-color: #fff;
    border-color: #2196f3;
    border-style: solid;
    border-width: 2px;
    color: #2196f3;
    font-weight: bold;
}

.live_info_line {
    color: #666666;
    font-size: small;
    padding-bottom: 10px;
    margin-left: 10px;
}

.record-box {
    display: inline-block;
    width: 550px;
    padding: 20px;
    padding-top: 0px;
    margin: 20px;
    background-color: #f0f0f0;
    border-color: #2196f3;
    border-style: solid;
    border-width: 2px;
}

.value-box {
    display: inline-block;
    width: 140px;
    height: 170px;
    margin-right: 15px;
    padding: 10px;
    background-color: #ffffff;
    border-color: #2196f3;
    border-style: solid;
    border-width: 2px;
    color: #2196f3;
    text-align: center;
}

/* spinner icon on loading */
.loader {
  border: 10px solid #f3f3f3; /* Light grey */
  border-top: 10px solid #3498db; /* Blue */
   border-bottom: 10px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

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

#production {
    position: absolute;
    top: 12px;
    left: 300px;
    font-size: 16px;
    z-index: 900;
}

p, span {
    font-size: 17px;
}

.center {
    text-align: center;
}

#hand_1 {
    width:20px;
    height:22px;
}

.placeholder {
    width:1%;
}

.td_small {
    width:8%;
}

.td_big {
    width:22.8%;
}

.td_middle {
    width:22.2%;
}

.no_margin { 
    margin-top: 0px; 
    width:100%;
}

.production {
    margin-top: 0px; 
    width:90%;
    float:right;
}

.central {
    position: absolute;
    left: 200px;
}

.small_line_height {
    line-height:30%;
}

.th_small {
    text-align:center;
    font-size:12px;
}

.button {
    min-width:80px;
    height:30px;
}

input[type="button"] {
    margin-top: 2px;
    margin-bottom: 2px;
}

.color-red { color: red; }

.material-symbols-outlined.md-20 { font-size: 20px; }
.material-symbols-outlined.md-disabled { color: #AAAAAA; }
.material-symbols-outlined.md-green { color: #008450; }
.material-symbols-outlined.md-yellow { color: #EFB700; }
.material-symbols-outlined.md-red { color: #B81D13; }


.table_button {
    background-color: #263238;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    border: 1px solid #dddddd;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 100%;
    cursor: pointer;
}

.input_min {
    min-width: 50px;
}

.conversion_rate, .potential_info {
    color: rgba(105, 104, 104, 0.527);
}

.abreast {
    display: flex;
    align-items: center;
}

.abreast h3 {
    margin-left: 20px;
}

/* funnel */

.trapezoid_svg {
    width: 1000px;
    height: 70px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.trapezoid {
    position: relative;
    width: 1000px;
    height: 70px;
    margin-top: -10px;
    /* border: 3px solid #FFFFFF; */
    cursor: pointer;
}

.trapezoid_p {
    text-align: center;
    position: relative;
}

.filter {
    position: absolute;
    left: 220px;
}

.filter_devices{
    position: absolute;
    left: 250px;
}

.filter_container {
    margin-bottom: 10px;
}

.apexcharts-svg {
    overflow: visible;
}

.funnel_analytics_container {
    width: 1000px; 
    padding: 2rem; 
    padding-right: 2.7rem;
}

.filter_right {
    position: absolute; 
    left: 1200px; 
    top: 110px;
}

.filter_middle {
    position: absolute;
    left: 600px;
    top: 110px;
}

.filter_presets{
    position: absolute; 
    left: 1200px; 
    top: 100px;
    border-left: 1px solid grey;
    padding: 20px;
    height: 410px;
}

/* sensor history - timeline */

.timeline_container {
    display: flex; 
    align-items: center; 
    overflow-x: auto; 
    margin-bottom: 10px;;
}

.sc_box {
    border: 4px solid black; 
    min-width: 280px;
    max-width: 280px;          
    margin-bottom: 10px;
}

.sensor_box {
    border: 4px solid black;
    width: 50%;
}

.quick_edit_icon, .quick_edit_icon_red {
    float: right; 
    cursor: pointer;
    visibility: hidden;
}

.quick_edit_icon {
    color: black;
}

.quick_edit_icon_red {
    color: red;
}

td:hover .quick_edit_icon,
td:hover .quick_edit_icon_red {
    visibility: visible;
}

.change_table_icon {
    cursor: pointer;
    color: black;
}

#small_i {
    font-size: 15px;
}

/* sorting table */
th.sortable {
  cursor: pointer;
}

/* Arrow to sort table */
.change_table_icon_sorting {
    color: white;
    font-size: 16px;
    transform: translateY(5px);
    visibility: hidden;
}

th.sortable.active {
  background-color: #2196f3;
}

/* Show on arrow hover */
th.sortable:hover .change_table_icon_sorting {
  visibility: visible;
}

/* Keep arrow visible when active */
th.sortable.active .change_table_icon_sorting {
  visibility: visible;
}

