/* Copyright 2016-2025 BLX.io LLC */

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('/static/fonts/open-sans-v17-latin/open-sans-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/static/fonts/open-sans-v17-latin/open-sans-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/** BEGIN: login.html **/

.login-log {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.blx-login-title {
	color: white;
}

.blx-login-bg {
	background-image: url('/static/images/binding-dark-2x-modified.png');
	background-position: center top;
	background-repeat: repeat;
	background-attachment: fixed;
}

.blx-login-box {
	max-width: 325px;
	margin-left: auto;
	margin-right: auto;
	padding: 15px;
	background-color: transparent;
	border: none;
}

.blx-login-box .form-group {
	margin-bottom: 25px;
}

.blx-login-box label {
	color: #9e9e9e;
}

.blx-login-box .form-control {
	border: none;
	border-radius: 0px;
	border-bottom: 1px solid white;
}

/** END: login.html **/

.blx-hide {
	display: none;
}

.blx-show {
	display: unset;
}

body {
	background-color: #fbfbfb;
	font-family: 'Open Sans', sans-serif;
}

a {
	cursor: pointer;
}

label {
	font-weight: 500 !important;
}

input#submit {
	/* begin: btn-primary */
	border-color: #2e6da4;
	background-color: #286090;
	color: white;
	/* end: btn-primary */
	margin-left: auto;
	margin-right: auto;
	font-weight: bold;
	display: block;
	width: 100px;
}

/* BEGIN: Navigation */
.navbar {
	border-radius: 0px;
	background-color: #050505;
}

.navbar-brand {
	padding: 0px 15px;
	margin-right: 10px;
}

.glyphicon-new-window {
	font-size: 10px;
}

.blx-breadcrumb {
	list-style: none;
	padding: 0px;
}

.breadcrumb-item {
	float: left;
}

.breadcrumb-item+.breadcrumb-item::before {
	display: inline-block;
	padding-right: .5rem;
	padding-left: .5rem;
	color: #818a91;
	content: "/";
}

.sub-nav-container {
	background-color: #e8e8e8;
	padding: 10px 6px;
	margin-top: -20px;
	margin-bottom: 20px;
}

.sub-nav-container .nav a {
	border-radius: 0px;
	padding: 2px 5px;
	margin: 0px 5px;
}

.sub-nav-container .nav .active a {
	border-radius: 0px;
	color: #337ab7;
	background-color: inherit;
	border-bottom: 3px solid #337ab7;
	color: #337ab7;
}

.navbar-nav .active {
	position: relative;
}

.sub-nav-arrow {
	display: none;
}

.active .sub-nav-arrow {
	display: block;
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 10px solid #e8e8e8;
	position: absolute;
	bottom: -1px;
	left: 0;
	z-index: 2;
	right: 0;
	margin: auto;
}

.sub-nav-container .nav a:hover {
	background-color: #337ab7;
	color: white;
	border-bottom: 3px solid #337ab7;
}

/* END: Navigation */

.content,
.card-container,
.submit-btn-container {
	margin-top: 20px;
	overflow: hidden;
}

.content,
.card {
	border: 1px solid #dedede;
	border-radius: 4px;
	background-color: white;
	padding: 10px;
	
}

.content {
	margin-bottom: 20px;
}

.content.inner {
	margin-top: 0px;
}

.card {
	margin: 0px 40px 25px 0px;
	float: left;
	position: relative;
	box-shadow: 1px 0 2px 0 rgba(0,0,0,0.12);
	height: 250px;
	width: 225px;
}

.card-band.color0 {
	/* pink */
	background-color: #f783ac;
}

.card-band.color0 .fa {
	/* pink */
	color: #f783ac;;
}

.card-band.color1 {
	/* indigo */
	background-color: #364fc7;
}

.card-band.color1 .fa {
	/* indigo */
	color: #364fc7;
}

.card-band.color2 {
	/* teal green */
	background-color: #38d9a9;
}

.card-band.color2 .fa {
	/* teal green */
	color: #38d9a9;
}

.card-band.color3 {
	/* violet */
	background-color: #9775fa;
}

.card-band.color3 .fa {
	/* violet */
	color: #9775fa;
}

.card-band.color4 {
	/* yellow orange */
	background-color: #e67700;
}

.card-band.color4 .fa {
	/* yellow orange */
	color: #e67700;
}

.card-band.color5 {
	/* cyan blue */
	background-color: #0b7285;
}

.card-band.color5 .fa {
	/* cyan blue */
	color: #0b7285;
}

.card-band.color6 {
	/* wine red */
	background-color: #a61e4d;
}

.card-band.color6 .fa {
	/* wine red */
	color: #a61e4d;
}

.card-band.color7 {
	/* green */
	background-color: #2b8a3e;
}

.card-band.color7 .fa {
	/* green */
	color: #2b8a3e;
}

.card-band.color8 {
	/* grape */
	background-color: #862e9c;
}

.card-band.color8 .fa {
	/* grape */
	color: #862e9c;
}

.card-band {
	left: 0px;
	right: 0px;
	position: absolute;
	padding: 10px;
	background-color: #f3f3f3;
}

.card-title {
	margin: 0px;
	font-size: 14px;
	font-weight: bold;
}

.card-title a {
	line-height: 18px;
	float: left;
	width: 176px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.folder .card-title a {
	width: 174px;
	color: white;
}

.card-title .glyph-container {
	float: left;
	border-radius: 50%;
	background-color: white;
	width: 26px;
	height: 26px;
	padding: 3px;
	text-align: center;
	margin: -5px 5px -5px -5px;
}

.card-title .fa {
	font-size: 12px;
	margin: 5px 0px 0px 1px;
}

.blx-card-actions {
	margin: 10px 0px;
	position: absolute;
	bottom: 0px;
}

.card-link {
	text-transform: uppercase;
	font-size: 12px;
	margin-right: 10px;
}

.hider.nodisplay {
	display: none;
}

.csv-link {
	text-transform: uppercase;
	font-size: 12px;
	margin-right: 10px;
}

.card-infolink {
	font-size: 12px;
	margin-left: 10px;
}

.card-infolink-selected {
    background-color:#00FFFF;
}

.card.dragging {
	opacity: 0.5;
	z-index: 2;
}

.dropzone {
	position: absolute;
	top: 50px;
	right: 5px;
	bottom: 40px;
	left: 5px;
	border-radius: 4px;
	text-align: center;
	line-height: 20px;
	padding: 40px;
	font-weight: bold;
	font-size: 20px;
	color: #523ca0;
	z-index: -1;
}

.dropzone-ready {
	opacity: .8;
	background-color: #E0E0E0;
	border: 2px dashed #757575;
	z-index: 2;
}

.folder-creator {
	border: 2px dashed #a9a9a9;
}

.folder-creator .card-block {
	margin-top: 50px;
}

.folder-instructions {
	font-size: 20px;
	text-align: center;
	color: #9c9c9c;
}

.folder-instructions-small {
	font-size: 14px;
}

.folder-instructions-large {
	font-size: 28px;
}

.overflow-container {
	position: absolute;
	top: 50px;
	bottom: 35px;
	left: 10px;
	right: 10px;
	overflow: scroll;
}

.child-items {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

.child-items li {
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 5px;
}

.child-items li:nth-child(even) {
	background: #f3f3f3;
}

.page-cta {
	float: right;
	margin-left: 15px;
}

.reports-page-action {
	margin-left: 15px;
}

.toggle-switch-label {
	font-size: 11px;
	text-align: center;
	margin-bottom: 2px;
}

.btoggle-row {
	vertical-align: middle;
	margin-top: 10px;
}

.action-toolbar {
	margin-bottom: 15px;
	text-align: center;
}

.modal-statement {
	margin-bottom: 20px;
}

.form-group {
	clear: both;
}

.form-group.dataset {
	float: left;
	overflow: hidden;
	clear: right;
	width: 33%;
}

.input-group-btn .fa,
.btn .fa {
	margin-right: 5px;
}

.optional-flag {
	font-size: 10px;
	margin-left: 5px;
}

/* BEGIN: Adapted iOS CSS Switch (http://callmenick.com/post/css-toggle-switch-examples) */
.switch {
	display: inline-block;
}

.cmn-toggle {
	position: absolute;
	margin-left: -9999px;
	visibility: hidden;
}

.cmn-toggle + label {
	display: block;
	position: relative;
	cursor: pointer;
	outline: none;
	user-select: none;
}

input.cmn-toggle-round + label {
	padding: 2px;
	width: 55px;
	height: 15px;
	background-color: #dddddd;
	border-radius: 60px;
}
input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
	display: block;
	position: absolute;
	top: 1px;
	left: 1px;
	bottom: 1px;
	content: "";
}
input.cmn-toggle-round + label:before {
	right: 1px;
	background-color: #fff;
	border-radius: 75px;
	transition: background 0.6s;
}
input.cmn-toggle-round + label:after {
	width: 28px;
	background-color: #fff;
	border-radius: 75px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
	transition: margin 0.4s;
}
input.cmn-toggle-round:checked + label:before {
	background-color: #8ce196;
}

input.cmn-toggle-round:checked + label:after {
	margin-left: 25px;
}

/* END: iOS 9 Pure CSS SWitch */

.flowbutton {
	border-radius: 6px;
	width: 66px;
	height: 20px;
	font-size: 12px;
	font-size: 75%;
	background-color: blue;
    color: white;
	margin: 0px auto;
}
.flowbutton.deploy {
	background-color: #f0ad4e;
}
.flowbutton.undeploy {
	background-color: #777;
}
.flowbutton.more {
	background-color: #337ab7;
}
.flowbutton:disabled {
    color: black;
	opacity: 0.5;
}

.deployprogress {
    color: black;
    display: block;
}

span.op {
	margin-left: 20px;
    color: white;
}

span.status {
    color: white;
}

.deployts {
  float: right;
}
.deployprogress.deploy {
	background-color: #f0ad4e;
}
.deployprogress.undeploy {
	background-color: #777;
}

.tableprogress {
	// background-color: pink;
    // color: pink;
    // display: block;
	// margin: 0px auto;
	// margin-left: 20px;
}
.tableprogress.table-striped>tbody>tr:nth-of-type(odd){
   background-color:#fbfbfb;
}

.tableprogress.table-striped>tbody>tr:nth-of-type(even){
   background-color:white;
}

.device-status {
	border-radius: 50%;
	width: 16px;
	height: 16px;
	background-color: black;
	margin: 0px auto;
}

.device-status.now {
	background-color: #33cc33;
}

.device-status.recent {
	background-color: #99ff00;
}

.device-status.old {
	background-color: #ff3333;
}

.device-status.never {
	background-color: #6060d0;
}

.table-responsive {
	border: none;
}

.ago-width {
    overflow: hidden;
	min-width: 10em; /* width of 'a few seconds ago' */
}

.public.fa-share-alt {
	background-color: #eaeaea;
	color: #6d6d6d;
	font-size: 10px;
	margin-left: 5px;
	border-radius: 10px;
	padding: 5px;
	margin-top: 0px;
}

.public.fa-share-alt::before {
	margin-right: 5px;
}


.public.fa-share-alt.glyph-only {
	float: left;
	border-radius: 50%;
	padding: 4px 5px;
	margin-left: 0px;
	margin-right: 5px;
}

.public.fa-share-alt.glyph-only::before {
	margin-right: 0px;
}

/* BEGIN: Sortable List */

.sortable-list {
	padding: 0px;
	list-style-type: none;
}

.sortable-list li,
.sortable-item-placeholder,
.manage .sortable-graph {
	padding: 8px;
	border: 1px solid #dedede;
	margin: 15px 0px;
}

.sortable-list li,
.manage .sortable-graph {
	cursor: move;
}

.sortable-item-placeholder::before {
	content: "Move here";
}

.sortable-list>li:nth-of-type(even),
.manage .sortable-graph:nth-of-type(even) {
	background-color: #f9f9f9;
}

.sortable-item-placeholder {
	opacity: .7;
	border: 1px dashed #757575 !important;
}

.drag-glyph {
	font-size: 12px;
	color: #969696;
	margin-right: 5px;
}

.sortable-graph .drag-glyph {
	float: left;
	line-height: 38px;
	margin-right: 10px;
	visibility: hidden;
}

.manage .sortable-graph .drag-glyph {
	visibility: visible;
}

#graphs-container {
	overflow-x: scroll;
}

#graphs-container .sortable-graph,
#graphs-container .sortable-item-placeholder {
	margin: 20px;
}
/* END: Sortable List */

#graphs-container:not(.manage) .fbox-container {
    display: flex;
    flex-wrap: wrap;
}

/* BEGIN: Graphs Page */
.graph-box {
	box-sizing: border-box;
	margin: 5px 0 40px 0;
	border: 1px solid #ddd;
	background: #fff;
	background: linear-gradient(#f6f6f6 0, #fff 50px);
	background: -o-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -ms-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -moz-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -webkit-linear-gradient(#f6f6f6 0, #fff 50px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
	-o-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-ms-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.manage .card-link,
.manage .button-box,
.manage .gauge-box,
.manage .map-box,
.manage .table-box,
.manage .graph-box {
	display: none;
}

/* END: Graphs Page */

@media (max-width: 767px) {
	.card {
		width: 100%;
	}
	
	/** Reduce width in manage mode so there is space
	/*  to scroll the page.
	**/
	.manage .card {
		width: 250px;
		-ms-touch-action: none;
		touch-action: none;
	}

	.sub-nav-arrow {
		display: none !important;
	}

	/* Android Chrome does not play nicely with drag/drop
	/* and scrolling container. */
	.overflow-container {
		overflow: hidden;
	}

	.button-row {
		margin-top: 15px;
	}
}

.map-box{
    visibility: hidden;
    display: flex;
    align-items: stretch;
    font-size: 20px;
	width: clamp(306px, 100%, 100%); /* magic number below which mapType isn't displayed */
	height: clamp(200px, 100vw, 500px);
    xbackground-color: purple;
}

.control-dimmer {
    background-color: #8ce196; // same as toggle
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.setup-steps {
    visibility: hidden;
    display: none;
}

.automan {
    position: relative;
    max-width: 200px;
    // border-color: green;
    // border-width: 2px;
    // border-style: solid;
}

#napping {
    background: rgba(5,5,5,0.80);
    width:100%;
    height:100%;
    position:fixed;
    left:0;
    top:0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    visibility: hidden;
    z-index: 1001;
}

.trouble {
    visiblity: hidden;
    display: none;
    color: blue;
    font-weight: bold;
}
.trouble.nocomm {
    visiblity: visible;
    display: block;
    background: rgba(207,27,27,0.80);
    position:fixed;
    width:100%;
    height:10%;
    left:0;
    top:90%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    z-index: 10;
}

.button-spacer {
  margin: 0 15px;
}

.inset-editor {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
    border: 9px solid #73AD21;
    border: 9px solid #469990;
    background: rgba(255,255,255,1);
}

.table-editor {
    display: none;
}

.edit-active.table-editor {
    // display: block;
    background: rgba(255,255,255,1);
    position:fixed;
    width:100%;
    height:calc(100% - 50px);
    left: 0%;
    top:50px;
    display: flex;
    display: block;
    color: black;
    overflow-y:auto;
    padding: 10px;
    z-index: 10;
}

input:invalid {
    border: 3px solid red;
}

input:focus:invalid {
  box-shadow: none;
}
