:root {
	--black: #000;
	--blue: #2c7be5;
	--red: #e51c23;
	--green: #0add74;
	--yellow: #ff9800;
}


body {
	background-color: #545454;
	margin: 0px;
	padding: 0px;
	font-family: Roboto;
	color: #fff;
	font-size: 14px;
}

.background {
	width: 100vw;
	height: 100vh;
	background: url(./../img/sith4.jpg);
	background-size: cover;
	background-position: center;
	position: fixed;
	z-index: -1;
	top: 0;
	filter: blur(4px);
}

.w-100 {
	width: 100%;
}

.w-50 {
	width: 50%;
}

.w-33 {
	width: 33.33%;
}

.w-25 {
	width: 25%;
}

.w-20 {
	width: 20%;
}

#page-title {
	color: #fff;
	background: #fff2;
	padding: 30px;
	margin: 0;
	display: flex;
}

#page-title h2 {
	flex-grow: 1;
}

.menu {
	display: flex;
	align-items: center;
}

.menu a {
	color: #fff;
	margin: 0 10px;
	text-decoration: none;
}

.menu a:hover {
	text-decoration: underline;
}


.container {
	margin: 0px;
	padding: 0px;
}

.section {
	padding: 10px;
	margin: 0px;
}

.sub-section {
	padding: 2px 0;
	margin: 0px;
	align-items: center;
}

.grid-container-small {
	display: grid;
	column-gap: 10px;
	grid-template-columns: auto auto;
	padding: 0px;
}

body button {
	cursor: pointer;
}

.centered-button {
	width: 22px;
	height: 22px;
	text-align: center;
	vertical-align: middle;
	margin-right: 5px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.small-list-button {
	width: 22px;
	height: 20px;
	text-align: center;
	vertical-align: middle;
	margin-left: 3px;
	/* display: flex; */
	justify-content: center;
	align-items: center;
}

.buttons-p {
	height: 22px;
	margin: 0px;
	text-align: right;
}


.grid-container {
	display: grid;
	column-gap: 20px;
	grid-template-columns: auto auto;
	/* padding: 10px; */
	max-width: 1000px;
	margin: auto;
}

.grid-item {
	padding: 10px;
	text-align: left;
	flex-grow: 1;
}

.text-center {
	text-align: center;
}

/* #top-area {
	background-color: #eaf7fe;
}

#buttons-area {
	background-color: #eaf7fe;
}

#sounds-area {
	background-color: #eaf7fe;
}

#profile-area {
	background-color: #eaf7fe;
}

#install-area {
	background-color: #fffff7;
}

#advanced-area {
	background-color: #ffefef;
}

#advanced-footer {
	clear: both;
} */

#footer-area {
	background-color: #242424;
	font-family: sans-serif;
	text-align: center;
	padding: 30px;
	width: 100vw;
	overflow: hidden;
}

div#footer-area a {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}

div#footer-area a:hover {
	text-decoration: underline;
}

.footer-section {
	padding-top: 15px;
	font-size: 12px;
}


#pre-select {
	margin: 0px auto;
	width: 100%;
	justify-content: center;
	height: 100vh;
}

#pre-select ul li {
	width: 500px;
	max-width: 100%;
}

.preset-name {
	padding-left: 10px;
}

/* hide unwanted content*/
.old-content {
	display: none;
}

.clickable {
	cursor: pointer;

}

img.clickable {
	max-width: 100%;
}

.div-grid {
	float: left;
	display: grid;
	margin: 5px;
	column-count: 1;
}

.center-div img {
	margin: auto;
}

.mid-image {
	width: 200px;
	height: 200px;
}

.textarea-file {
	width: 510px;
	/*730px;*/
	height: 450px;
}

.textarea-small {
	width: 300px;
	height: 150px;
}

.font-small {
	font-size: smaller;
}

.hide-all {
	display: none;
}

.display-none {
	display: none !important;
}

.display-flex {
	display: flex;
}

.display-block {
	display: block;
}

.normal-text {
	font-size: medium;
	font-weight: normal;
}

select option:disabled {
	color: #aaa;
}

table,
tr,
td {
	border: none !important;
}

.log-container {
	display: none;
}

span#connection-status {
	font-size: 14px;
	padding: 15px;
	overflow: hidden;
	border: 1px solid #fff;
	display: block;
	border-radius: 2px;
	color: #fff;
	background: #0009;
	margin: 2px;
}

input#color-picker-value {
	position: absolute;
	left: -100%;
	right: -100%;
	top: -100%;
	bottom: -100%;
	margin: auto;
	width: 75px;
	height: 30px;
	background: none;
	text-align: center;
	font-size: 21px;
	text-shadow: 0 0 3px #fff;
	outline: none;
}

.label-mid,
.label-right {
	width: 130px;
	float: left;
	font-size: 14px;
	flex-basis: 130px;
	flex-shrink: 0;
	padding: 10px 0;
}

.label-right {
	width: 60px;
	flex-basis: 60px;
	text-align: right;
}

.label-mid2 {
	width: 180px;
	float: left;
}

.label-mid2.section-tile {
	padding-top: 30px;
	width: 100%;
	overflow: hidden;
}

.text-right {
	text-align: right;
}

.select-big {
	width: 200px;
	padding: 15px;
	border: none;
	width: 100%;

}

.listbox {
	background: #D7EFF2;
	width: 250px;
	list-style-type: none;
}

.listbox li {
	margin: 0;
	padding: 0;
}

div#board-action-buttons>.btn {
	margin: 0 2px;
}

div#board-action-buttons {
	display: flex !important;
}

/* The Modal (background) */
.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 10;
	/* Sit on top */
	padding-top: 100px;
	/* Location of the box */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	background-color: #fffe;
	margin: auto;
	/* padding: 20px; */
	padding: 50px;
	width: 400px;
	height: fit-content;
	border-radius: 2px;
	color: #333;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

.width500 {
	width: 500px;
}

.width350 {
	width: 350px;
}

.width25 {
	/* width: 135px; */
	width: 170px;
}

.slider-container {
	display: flex;
	align-items: center;
	/* padding: 5px 0; */
	width: 100%;
}

input.slider {
	appearance: none;
	-webkit-appearance: none;
	height: 6px;
	background: #fff;
	outline: none;
	opacity: 1;
	-webkit-transition: .2s;
	transition: opacity .2s;
	border-radius: 3px;
	padding: 0;
}

.btn-active {
	background: var(--green);
}

.slider:hover {
	opacity: 1;
}

#slider-container {
	text-align: center;
	position: relative;
}

div#profile-area,
div#install-area,
div#advanced-area,
div#presets-area {
	background: #fff8;
	max-width: 650px;
	margin: 10px auto;
	border-radius: 3px;
	padding: 25px;
	color: #000;
	overflow: hidden;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: var(--blue);
	cursor: pointer;
	border-radius: 100%;
}

.slider::-moz-range-thumb {
	width: 15px;
	height: 15px;
	background: #718F93;
	cursor: pointer;
}

select#fonts-for-lite {
	width: 230px;
}

input#new-font-name {
	width: 200px;
}

button#restore-lite-font,
button#load-new-font {
	width: 130px;
}

label {
	display: inline-block;
	width: 130px;
	vertical-align: middle;
}

select,
input {
	padding: 15px;
	border-radius: 2px;
	border: none;
	margin: 1px;
}

form {
	padding: 15px 0;
}

.btn {
	padding: 15px;
	border: 0;
	border-radius: 2px;
	height: 50px;
}

.btn.blue {
	color: #fff;
	background: var(--blue);
}

.btn.red {
	color: #fff;
	background: var(--red);
}

.btn.green {
	color: #fff;
	background: var(--green);
}

.section2-child {
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 0 10px #0002;
	color: #777;
	font-size: 14px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	/* filter: brightness(0.8); */
	margin-top: 10px;
	max-width: 100vw;
	overflow: hidden;
}

.section2-child:hover {
	filter: brightness(1)
}

table select {
	width: 125px;
}

.pad-v-15 {
	padding: 15px 0;
}

a#reset-connection-mode {
	flex-grow: 1;
}

.battery-container>img {
	max-width: 100%;
	max-height: 100%;
}

.battery-container {
	height: 50px;
	padding: 5px;
	box-sizing: border-box;
}

.motion-sensitivities-title {
	cursor: pointer;
	display: flex;
	margin-bottom: 30px;
	background: #fff3;
	padding: 10px;
	align-items: center;
	display: flex;
	justify-content: center;
	padding-top: 10px !important;
	border-radius: 2px;
	/* width: calc(100% - 30px) !important; */
	box-sizing: border-box;
}

.motion-sensitivities-title.open {
	margin-bottom: 0;
}

.motion-sensitivities-title>b {
	flex-grow: 1;
}

div#motion-sensitivities-container {
	display: none;
	padding: 5px;
}


@media (width < 1000px) {
	.grid-container {
		grid-template-columns: auto;
	}
}

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('Roboto-Regular.ttf') format('truetype');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

button.btn.on-connect.btn-img {
	padding: 6px;
	margin: 0;
	overflow: hidden;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

button.btn.on-connect.btn-img img {
	width: 35px;
}