/* css reset */
h1,h2,h3,h4,h5,h6,p {
	margin: 0;
	font-size: inherit;
	font-weight: 300;
}
/* typography */
@font-face {
	font-family: "Poppins";
	src: url('fonts/Poppins-VariableFont_wght.woff2') format('woff2');
}
body {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
}
h1 {
	font-size: 1.6em;
	font-weight: 500;
	margin: 0.5em 0;
}
p {
	margin-bottom: 0.5em;
}
* {
	box-sizing: border-box;
}
html,
body {
	min-height: 100dvh;
	margin: 0;
	padding: 0;
}
img {
	display: block;
	width: 100%;
	height: auto;
}
hr {
	border-top: 1px solid rgba(0,0,0,0.15);
	margin: 1em 0;
}
#fullpage {
	background: #f9f9f9;
	min-height: 100dvh;
	transition: background-color 0.5s;
}
.content {
	max-width: 400px;
	background-color: rgba(255,255,255,0.6);
	min-height: 100dvh;
}
.login header {
	overflow: hidden;
	padding: 2em;
	display: flex;
	align-items: end;
	justify-content: center;
	position: relative;
}
header .logo {
	max-width: 200px;
	margin-bottom: 5px;
	mix-blend-mode: multiply;
}
.content main {
	min-height: 200px;
	text-align: center;
	padding: 1.5em;
	position: relative;
}
.login header {
	min-height: 200px;
	background: url('img/baer-header.webp') no-repeat center bottom;
	background-color: #ffa100;
	background-size: contain;
}
.dashboard header.mainheader {
	width: 100%;
	height:60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 0 1.5em;
}
.menu-toggle {
	position: relative;
	top: 0;
	right: 0;
	width: 25px;
	height: 25px;
	z-index: 1000;
	cursor: pointer;
}
/*********************************************
/* theme colors
*********************************************/
:root {
	--color-a: #f9f9f9;
	--color-b: #FFE400;
	--color-c: #FFA100;
	--color-d: #BB0000;
	--color-e: #00A4FF;
	--color-f: #96CA00;
}
:root.theme-a {
	--color: #f9f9f9;
}
:root.theme-b {
	--color: #FFE400;
}
:root.theme-c {
	--color: #FFA100;
}

#fullpage.theme-a .mainheader,
#fullpage.theme-a,
#fullpage.theme-a .left,
#fullpage.theme-a .right {
	background-color: var(--color-a);
}
#fullpage.theme-a .skeleton-loader {
	background-color: color-mix(in srgb,var(--color-a),#fff 50%);
}
#fullpage.theme-b .mainheader,
#fullpage.theme-b,
#fullpage.theme-b .left,
#fullpage.theme-b .right,
#fullpage.theme-b .bear-status .color:after {
	background-color: var(--color-b);
}
#fullpage.theme-b .skeleton-loader {
	background-color: color-mix(in srgb,var(--color-b),#fff 50%);
}
#fullpage.theme-c .mainheader,
#fullpage.theme-c,
#fullpage.theme-c .left,
#fullpage.theme-c .right,
#fullpage.theme-c .bear-status .color:after,
#fullpage.theme-c .skeleton-loader {
	background-color: var(--color-c);
}
#fullpage.theme-c .skeleton-loader {
	background-color: color-mix(in srgb,var(--color-c),#fff 50%);
}
#fullpage.theme-d .mainheader,
#fullpage.theme-d,
#fullpage.theme-d .left,
#fullpage.theme-d .right,
#fullpage.theme-d .bear-status .color:after,
#fullpage.theme-d .skeleton-loader {
	background-color: var(--color-d);
}
#fullpage.theme-d .skeleton-loader {
	background-color: color-mix(in srgb,var(--color-d),#fff 50%);
}
#fullpage.theme-e .mainheader,
#fullpage.theme-e,
#fullpage.theme-e .left,
#fullpage.theme-e .right,
#fullpage.theme-e .bear-status .color:after,
#fullpage.theme-e .skeleton-loader {
	background-color: var(--color-e);
}
#fullpage.theme-e .skeleton-loader {
	background-color: color-mix(in srgb,var(--color-e),#fff 50%);
}
#fullpage.theme-f .mainheader,
#fullpage.theme-f,
#fullpage.theme-f .left,
#fullpage.theme-f .right,
#fullpage.theme-f .bear-status .color:after,
#fullpage.theme-f .skeleton-loader {
	background-color: var(--color-f);
}
#fullpage.theme-f .skeleton-loader {
	background-color: color-mix(in srgb,var(--color-f),#fff 50%);
}


/*********************************************
/* animated menu icon
*********************************************/
.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
	cursor: pointer;
	border-radius: 1px;
	height: 2px;
	width: 100%;
	background: #000;
	position: absolute;
	display: block;
	content: '';
	transition: all 0.2s ease-in-out;
}
.menu-toggle span {top:  calc(50% - 2px);}
.menu-toggle span:before {top: -6px;}
.menu-toggle span:after {bottom: -6px;}
.show-menu .menu-toggle span {background-color: transparent;}
.show-menu .menu-toggle span:before,
.show-menu .menu-toggle span:after {top: 0; background: #000;}
.show-menu .menu-toggle span:before {transform: rotate(45deg);}
.show-menu .menu-toggle span:after {transform: rotate(-45deg);}

/*********************************************
/* navigation
*********************************************/
nav {
	position: fixed;
	z-index: 100;
	top: 0;
	right: 0;
	height: 100vh;
	width: 200px;
	transform: translateX(200px);
	transition: all 0.5s;
	padding-top: 60px;
	background-color: #f9f9f9;
	border-left: 1px solid #e6e6e6;
}
nav ul li a {
	display: block;
	padding: 0.5em 2em;
	cursor: pointer;
}
nav ul li a[href^='https://']:after {
	content:'';
	display: inline-block;
	margin-left: 0.5em;
	width: 1em;
	height: 1em;
	background: url('img/icon-linkext.webp') no-repeat center center;
	background-size: contain;
	vertical-align: baseline;
}
#fullpage.show-menu nav {
	transform: translateX(0);
}
.dashboard header.mainheader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 111;
	
	/* smaller header width */
	max-width: 400px;
	margin: 0 auto;
	left: 0;
	right: 0;
}
header.mainheader + .centercenter {
	padding-top: 60px;
}
@media (min-width: 400px) {
	.centercenter {
		min-height: 100dvh;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}
	.content header {
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
	}
	.content {
		min-width: 400px;
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
		border-bottom-left-radius: 20px;
		border-bottom-right-radius: 20px;
		overflow: hidden;
		min-height: auto;
	}
	.content main {
		height: auto;
	}
}
.innerbox {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 15px;
	padding: 1em;
}

/*********************************************
FORMFIELDS
*********************************************/
input:not([type="range"]),
textarea,
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 10px;
	border: none;
	border: 1px solid #ccc;
	/* vertical-align: middle; */
	max-width: 100%;
	width: 100%;
	font-family: inherit;
	background: transparent;
	font-size: inherit;
	color: #000;
	border-radius: 3px;
	background: #fff;
}
textarea {
	resize: vertical;
	height: 5em;
}
input:focus,
textarea:focus,
select:focus {
	border: 1px solid #000;
	outline: 0;
	background: rgba(255,255,255,0.8);
}
select {
	background: url("img/arrow-down.svg") no-repeat center right 10px;
	background-size: 12px;
	padding-right: 35px;
}
select::-ms-expand {
	display: none;
}
option[disabled] {
	color: #666;
}
input[type="checkbox"]:not([role="switch"]),
input[type="radio"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	border: 1px solid #999;
	vertical-align: middle;
	/* border-radius: 20px; */
	background-color: #fff;
	cursor: pointer;
	width: 20px;
	height: 20px;
}
input[type="radio"] {
	border-radius: 100%;
	position: relative;
}
input[type="checkbox"]:checked {
	background: url("img/icon-check.webp") no-repeat center center #fff;
	background-size: 70%;
}
input[type="radio"]:checked:after {
	content: '';
	width: 10px;
	height: 10px;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	margin: auto;
	background: #000;
	border-radius: 100%;
}
input[type="checkbox"]:focus,
input[type="radio"]:focus {
	border: 1px solid #000;
}
input[type="submit"] {
	border: 2px solid #000;
	background: #000;
	color: #fff;
	cursor: pointer;
}
.button {
	padding: 5px 10px;
	color: #000;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.1);
	display: inline-block;
	cursor: pointer;
}
input[type="range"] {
	display: block;
}

/**** toggle switch  ****/
input:where([type="checkbox"][role="switch"]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  font-size: inherit;
  width: 2em !important;
  height: 1em;
  box-sizing: content-box;
  border: 1px solid;
  border-radius: 1em !important;
  vertical-align: text-bottom;
  margin: auto;
  color: inherit;
  padding: 0 !important;
  width: unset;
}
input:where([type="checkbox"][role="switch"]):checked:after {
	content:'';
	display: block;
	width: 100%;
	height: 100%;
	background: #84b202;
	border-radius: 1em !important;
}
input:where([type="checkbox"][role="switch"])::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  box-sizing: border-box;
  width: 0.7em;
  height: 0.7em;
  margin: 0 0.15em;
  border: 1px solid;
  border-radius: 50%;
  background: currentcolor;
  transition: all 0.2s;
}
input:where([type="checkbox"][role="switch"]):checked::before {
	left: 1em;
	background: #fff;
	border: 1px solid #fff;
}

/**** range slider  ****/
input[type=range]{
	-webkit-appearance: none;
	appearance: none;
	/* fix for FF unable to apply focus style bug  */
	border: 1px solid transparent;
	/*required for proper track sizing in FF*/
	width: 100%;
	height: 20px;
}
input[type=range]::-webkit-slider-runnable-track {
	height: 5px;
	background: #ddd;
	border: none;
	border-radius: 3px;
	mix-blend-mode: multiply;
}
input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	border: none;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: #000;
	margin-top: -4px;
}
input[type=range]:focus {
	outline: none;
	background: transparent;
}
input[type=range]:focus::-webkit-slider-runnable-track {
	background: rgba(0,0,0,0.2);
}
input[type=range]::-moz-range-track {
	height: 5px;
	background: #ddd;
	border: none;
	border-radius: 3px;
	mix-blend-mode: multiply;
}
input[type=range]::-moz-range-thumb {
	border: none;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	background: #000;
}

/* hide the outline behind the border */
input[type=range]:-moz-focusring{
	outline: 1px solid white;
	outline-offset: -1px;
}
input[type=range]:focus::-moz-range-track {
	background: #ccc;
}
