@import "./fonts.css";

/*
SLATE BLUE COLOR PALLETE FROM LIGHT TO DARK
HEX: #d1dde8, RGB: (209, 221, 232)
HEX: #abc0d1, RGB: (171, 192, 209)
HEX: #94acc2, RGB: (148, 172, 194)
HEX: #6f899f, RGB: (111, 137, 159)
HEX: #52708a, RGB: (82, 112, 138)
HEX: #49637a, RGB: (73, 99, 122) 
HEX: #40576b, RGB: (64, 87, 107)
HEX: #374a5c, RGB: (55, 74, 92)
HEX: #2e3e4d, RGB: (46, 62, 77)
HEX: #24323d, RGB: (36, 50, 61)
HEX: #1b252e, RGB: (27, 37, 46)
HEX: #12191f, RGB: (18, 25, 31)
HEX: #090c0f, RGB: (9, 12, 15)
HEX: #000000, RGB: (0, 0, 0)
*/

/* ==============================  DIV CONTROL CONTAINERS */
div.ctrl {
	vertical-align: middle;
}

div.ctrli {
	display: inline-block;
}

/* Show Image flipped horizontally  */
.img-hor {
    -webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

/* ==============================  SLIDER */
/* USAGE EXAMPLE
<div class='ctrl' style='width:300px;'><input type='range' class='slider' min='0' max='100' value='50' /></div>
*/
.slider {
  appearance: none;
  -webkit-appearance: none;
  width: 150px;
  height: 8px;
  border-radius: 5px;
  background: #090c0f;
  outline: none;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #94acc2;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #94acc2;
  cursor: pointer;
}

/* ==============================  TOGGLE SWITCH */
/* USAGE
<div class='ctrl' style='height:24px;'><label class='ltext' style='position:relative; top:2px;'>Toggle: </label><label class="switch">&nbsp<input type="checkbox"><span class="tswitch"></span></label></div>
*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The toggle */
.tswitch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #12191f;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 24px;
}

.tswitch:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: #49637a;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .tswitch {
  background-color: #6f899f;
}


input:checked + .tswitch:before {
  background-color: #fff;
  opacity: 0.5;
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* ==============================  CHECK BOX */
input.ch[type="checkbox"]
{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color:rgba(255,255,255,0.4);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0px -15px 10px -12px rgba(0,0,0,0.1);
    padding: 12px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}
input.ch[type="checkbox"]:checked{background-color: rgba(0,0,0,0.4); color: rgba(255,255,255,0.4);}
input.ch[type="checkbox"].dark:checked{background-color:rgb(0,0,0); color: rgba(255,255,255,0.4);}
input.ch[type="checkbox"]:checked:after 
{
	content:'\2714';
	font-size:15px;
	position: absolute;
	top:2px;
	left:5px;
	color:rgba(255,255,255,0.8);
}

/* ============================== RADIO BUTTONS */
/* The container */
.container {
	display: block;
	position: relative;
	padding-left: 25px;
	margin-bottom: 12px;
	cursor: pointer;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	color: #abc0d1;
	opacity: 0.9;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default radio button */
.container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 17px;
	width: 17px;
	background-color: #1b252e;
	border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  	background-color: #090c0f;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
  	background-color: #abc0d1;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
 	top: 6px;
	left: 6px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #1b252e;
}


/* ==============================  QUICK BUTTONS */
.iconbtn {
	background-color: #6f899f;
	padding: 4px;
	border: none;
	margin: 2px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	transition-duration: 0.3s;
	cursor: pointer;
	border-radius: 10px;
	-webkit-user-drag: none;
}
.iconbtn:hover {
	background-color: #d1dde8;
	border-radius: 10px;
}

.iconcontain {
    background-color: #6f899f;
    padding: 2px;
}

.textbtn {
	background-color: #24323d;
	color: #abc0d1;
	border: 1px solid #6f899f;
	padding: 5px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	transition-duration: 0.3s;
	cursor: pointer;
	border-radius: 10px;
	width: 75px;
	font-family: "Xolonium-Regular"; 
	font-size: 16px;
	margin-left: 2px;
	margin-right: 2px;
    -webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}
.textbtn:hover {
	background-color: #abc0d1;
	color: #24323d;
	border-radius: 10px;
}

.textbtn2 {
	background-color: #24323d;
	color: #abc0d1;
	border: 1px solid #6f899f;
	padding: 5px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	transition-duration: 0.3s;
	cursor: pointer;
	border-radius: 10px;
	width: 75px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	margin: 2px;
    -webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}
.textbtn2:hover {
	background-color: #abc0d1;
	color: #24323d;
	border-radius: 10px;
}

.ctextbtn {
	background-color: #24323d;
	color: #abc0d1;
	border: 1px solid #6f899f;
	padding: 5px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	transition-duration: 0.3s;
	cursor: pointer;
	border-radius: 10px;
	/*width: 75px;*/
	font-family: "Xolonium-Regular"; 
	font-size: 16px;
	margin-left: 2px;
	margin-right: 2px;
    -webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}
.ctextbtn:hover {
	background-color: #abc0d1;
	color: #24323d;
	border-radius: 10px;
}

/* ==============================  TEXT INPUT TYPES */

/* REMOVE THE DEFAULT FOCUS OUTLINE */
input:focus, textarea:focus, select:focus, button:focus {outline-offset: 0px; outline: none;}

input[type=text], [type=number], [type=password] {
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	border-radius: 7px;
	background-color: #12191f;
	border: 1px solid rgb(0,0,0,0);
	color: #abc0d1;
}

input[type=text]:focus, [type=number]:focus, [type=password]:focus {
	background-color: #fff;
	opacity: 0.8;
	border: 1px solid #fff;
	color: #090c0f;
}

textarea {
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	border-radius: 7px;
	background-color: #12191f;
	border: 1px solid rgb(0,0,0,0);
	color: #abc0d1;
}

textarea:focus {
	background-color: #fff;
	opacity: 0.8;
	border: 1px solid #fff;
	color: #090c0f;
}

/* ==============================  SELECT */

select {
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	border-radius: 7px;
	background-color: #12191f;
	border: 1px solid rgb(0,0,0,0);
	color: #abc0d1;
}

select:focus {
	background-color: #fff;
	opacity: 0.8;
	border: 1px solid #fff;
	color: #090c0f;
}

select option {
	padding: 3px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	border: 1px solid rgb(0,0,0,0);
	background-color: #12191f;
	color: #abc0d1;
}

/* ==============================  LABELS */

label.ltext {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	color: #abc0d1;
	opacity: 0.9;
	margin-right: 10px;
}

label.ltextw {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	color: #ffffff;
	opacity: 0.9;
	margin-right: 10px;
}

label.ltextr {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	color: #abc0d1;
	opacity: 0.9;
	margin-left: 10px;
	margin-right: 10px;
}

label.lmtext {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 20px;
	color: #abc0d1;
	opacity: 0.9;
	margin-right: 10px;
}

div.ltext {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	color: #abc0d1;
	opacity: 0.9;
	margin-right: 10px;
}

div.ltext16 {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 16px;
	color: #abc0d1;
	opacity: 0.9;
	margin-right: 10px;
}

div.lmtext {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 20px;
	color: #abc0d1;
	opacity: 0.9;
	margin-right: 10px;
}

div.ltextd {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	color: #24323d;
	opacity: 0.9;
	margin-right: 10px;
}

div.ltextw {
	display: inline-block;
	padding: 5px;
	font-family: "Xolonium-Regular"; 
	font-size: 14px;
	color: #ffffff;
	opacity: 0.9;
	margin-right: 10px;
}

div.ltextmini {
	display: inline-block;
	padding: 10px;
	font-family: "Xolonium-Regular"; 
	font-size: 12px;
	color: #abc0d1;
	opacity: 0.9;
	margin-right: 10px;
}

/* ==============================  WINDOWING STYLES */

.wintitle {
	padding: 10px;
	font-family: "Xolonium-Regular"; 
	font-size: 18px;
	background: #12191f;
	color: #94acc2;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

.wintitled {
	padding: 10px;
	font-family: "Xolonium-Regular"; 
	font-size: 18px;
	background: #12191f;
	color: #94acc2;
	cursor: grab;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}
.wintitled:active {cursor: grabbing;}

.wintoolbar {
	background: #6f899f;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

.winclient {
	background: #24323d;
	color: #6f899f;
	padding: 10px;
	font-family: "Xolonium-Regular"; 
	font-size: 16px;
	min-height: 75px;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

.winbuttonbar {
	padding: 5px;
	background: #12191f;
	text-align: right;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

/* ==============================  GENERAL STYLES */

.child {
	display:inline-block;
	position: relative;
	vertical-align: top;
}

.childm {
	display:inline-block;
	position: relative;
	vertical-align: middle;
}

.fcontainbr {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}


/* ==============================  LED AND TOOLTIPS */

.led {
    /*margin: 20px auto;*/
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: #000 0 -1px 6px 1px;
    display: inline-block;
}

.led-red {
    background-color: #F00;
    box-shadow: #000 0 -1px 6px 1px, inset #600 0 -1px 8px, #F00 0 3px 11px;
}

.led-orange {
    background-color: #FF7000;
    box-shadow: #000 0 -1px 6px 1px, inset #630 0 -1px 8px, #FF7000 0 3px 11px;
}

.led-yellow {
    background-color: #FF0;
    box-shadow: #000 0 -1px 6px 1px, inset #660 0 -1px 8px, #FF0 0 3px 11px;
}

.led-green {
    background-color: #80FF00;
    box-shadow: #000 0 -1px 6px 1px, inset #460 0 -1px 8px, #80FF00 0 3px 11px;
}

.led-blue {
    background-color: #06F;
    box-shadow: #000 0 -1px 6px 1px, inset #006 0 -1px 8px, #06F 0 3px 11px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    border: 1px solid #b6b4b4;
    background-color: black;
    color: #b6b4b4;
    text-align: center;
    border-radius: 6px;
    padding: 3px 0;
    font-family: "Xolonium-Regular";
    font-size: 12px;
  
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 120%;
}
  
.tooltip:hover .tooltiptext {
    visibility: visible;
}

/*============================== PROGRESS */

.progress {
	color:white; 
	background-color: rgba(82, 112, 138, 0.5); 
	font-family: "Xolonium-Regular"; 
	font-size: 15px;
	height: 30px; 
	width: 0%; 
	text-align: center;
	border-radius: 15px 15px;
	padding-top: 5px;
	white-space: nowrap;
}

.progresslittle {
	color:white; 
	background-color: rgba(82, 112, 138, 0.5); 
	font-family: "Xolonium-Regular"; 
	font-size: 10px; 
	height: 15px; 
	width: 0%; 
	text-align: center;
	border-radius: 15px 15px;
	padding-top: 5px;
	white-space: nowrap;
}