html {
	height: 100%;
}

body {
	height: 100%;
	background: #f0f0e4;
}

:root {
	--my-switch-size: 1.5rem;
	--bg-color0: #f0f0bb;
	--bg-color1: #e4dde4;
}

.logo-img {
	height: 50px;
	width: auto;
}
.navbar-brand {
	padding: 0;
}
.navbar {
	--bs-navbar-padding-y: 0.125rem;
}
.nav-link{
	font-size: 1.25rem;
}

.link_no_css{
	text-decoration: none;
	color: inherit;
}
.link_no_css:hover {
	text-decoration: none;
}

.color-red {
	color: #f00 !important;
}
.color-blue {
	color: #00f !important;
}
.color-green {
	color: #0e0 !important;
}
.color-grey {
	color: #bbb !important;
}
.color-black {
	color: #000 !important;
}

.table {
	margin-bottom: 0;
}
th {
	vertical-align: middle !important;
}
table.history td, th {
	padding: 0.125rem !important;
}

.svg {
	width: 1rem;
	height: 1rem;
	vertical-align: -.125em;
	fill: currentcolor;
}

.font-adapt-smallest {
	font-size: 0.75rem;
}
.font-adapt-small {
	font-size: 0.875rem;
}
.font-adapt {
	font-size: 1rem;
}
.svg-alert{
	width: 20px;
	height: 20px;
}
.w-90 {
	width: 90% !important;
}
.form-control {
	min-width: 60px;
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm,
.container-xxxl {
	--bs-gutter-x: 0.5rem;
	--bs-gutter-y: 0;
	width: 100%;
	padding-right: calc(var(--bs-gutter-x) * 0.5);
	padding-left: calc(var(--bs-gutter-x) * 0.5);
	margin-right: auto;
	margin-left: auto;
}

.row {
	--bs-gutter-x: 0.5rem;
	margin-right: calc(-0.5 * var(--bs-gutter-x));
	margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
	padding-right: calc(var(--bs-gutter-x) * 0.5);
	padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.form-select {
	background-position: right 0.5rem center;
}
.form-label {
	margin-bottom: 0.375rem;
}

tiny, .tiny {
	font-size: 0.75em;
}

/* settings-tabs */
.nav-tabs-settings {
	border-bottom: none;
}
.nav-tabs .nav-link {
	border: none;
	padding: 12px 20px;
	border-radius: 1rem;
/*	background-color: #f1f3f5;*/
	color: #6c757d;
	margin-right: 10px;
	transition: all 0.2s ease;
}
.nav-tabs .nav-link.active {
	background-color: #0d6efd;
	color: white;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-link:hover {
	background-color: #dde;
	color: #000;
}
.tab-content {
	border-radius: 10px;
	padding: 0.5rem 0.25rem 1rem 0.25rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dev-status {
	border-radius: 10px;
	padding: 0.25rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	background-color: rgba(255, 255, 255, 0.5);
}

/* switches */
.switch, .switch-form-submit, .switch-label,.switch-slider {
	width: 100%;
	max-width: 10rem;
	height: var(--my-switch-size);
}
.switch {
	position: relative;
	display: inline-block;
	margin: 0 auto;
	padding: 0;
	border: none;
}
.switch-radio {
	position: absolute;
	visibility: hidden;
}
.switch-label,
.switch-slider {
	position: absolute;
	top: 1px;
}
.switch-label {
	left: 0;
	text-indent: -9999px;
}
.switch-slider {
	z-index: 2;
	border-radius: 1rem;
	box-shadow:
		0 0 0 2px rgba(0, 0, 0, 0.1) inset,
		0 0 4px rgba(0, 0, 0, 0.5) inset,
		0 5px 4px 1px rgba(0, 0, 0, 0.3) inset,
		0 var(--my-switch-size) 0 rgba(0, 0, 0, 0.07) inset;
	transition: width 0.2s linear;
}
.switch-slider:after {
	position: absolute;
	top: 1px;
	width: calc(var(--my-switch-size) - 2px);
	height: calc(var(--my-switch-size) - 2px);
	border-radius: 50%;
	background: #E5E5E5;
	background: linear-gradient(#D0D0D0, #FDFDFD);
	box-shadow:
		0 0 2px 2px #FFF inset,
		0 0 4px 1px rgba(0, 0, 0, 0.6);
	content: '';
}
.switch-label-on .switch-slider {
	left: 0;
	background: #369AEE;
}
.switch-label-on .switch-slider:after {
	right: 1px;
}
.switch-label-off .switch-slider {
	right: 0;
	background: #FFF;
}
.switch-label-off .switch-slider:after {
	left: 1px;
}
.switch-label:active .switch-slider:after {
	background: #D5D5D5;
	background: linear-gradient(#C8C8C8, #E4E4E4);
}
.switch-radio:checked + .switch-label .switch-slider {
	z-index: 1;
	width: var(--my-switch-size);
}
.switch-radio:checked + .switch-label .switch-slider:after {
	visibility: hidden;
}
.switch-text-active {
	color: #0d6efd;
	font-weight: 700;
}
.switch-text-inactive {
	color: #000;
	font-weight: 400;
}

.bgcolor-0 {
	background: var(--bg-color0);
}
.bgcolor-1 {
	background: var(--bg-color1);
}

@media (min-width: 576px) {
	.w-sm-75 {
		width: 75% !important;
	}
	.div_form_edit {
		max-width: 500px;
	}
	.div_form_edit_s {
		max-width: 500px;
	}
	.font-adapt {
		font-size: 1rem;
	}
	.caption {
		font-size: 1.375rem;
	}
	.toast {
		--bs-toast-font-size: 1rem;
	}
}
@media (min-width: 768px) {
	.font-adapt {
		font-size: 1.0625rem;
	}
	.font-adapt-smallest {
		font-size: 0.875rem;
	}
	.caption {
		font-size: 1.375rem;
	}
	.toast {
		--bs-toast-font-size: 1.125rem;
	}
	.text-nowrap-md{
		white-space: nowrap !important;
	}
}
@media (min-width: 992px) {
	.row {
		--bs-gutter-x: 1rem;
		margin-right: calc(-0.5 * var(--bs-gutter-x));
		margin-left: calc(-0.5 * var(--bs-gutter-x));
	}
	.row > * {
		padding-right: calc(var(--bs-gutter-x) * 0.5);
		padding-left: calc(var(--bs-gutter-x) * 0.5);
	}
	.w-lg-75 {
		width: 75% !important;
	}
	.div_form_edit {
		max-width: 600px;
	}
	.div_form_edit_s{
		max-width: 600px;
	}
	.font-adapt {
		font-size: 1.125rem;
	}
	.caption {
		font-size: 1.5rem;
	}
	.dev-status {
		padding: 0.5rem;
	}
	table.history td, th {
		padding: 0.25rem !important;
	}
}
@media (min-width: 1200px) {
	.w-xl-75 {
		width: 75% !important;
	}
	.w-xl-90 {
		width: 90% !important;
	}
	.div_form_edit{
		max-width: 650px;
	}
	.font-adapt-small {
		font-size: 1rem;
	}
	.font-adapt-smallest {
		font-size: 1rem;
	}
	.toast {
		--bs-toast-font-size: 1.25rem;
	}
	.switch-slider {
		--my-switch-size: 2rem;
	}
}
@media (min-width: 1400px) {
	.w-xxl-50{
		width: 50% !important;
	}
}
@media (min-width: 1699.98px) {
	.col-xxxl-2{
		flex: 0 0 auto;
		width: 16.66666667%;
	}
	.col-xxxl-10{
		flex: 0 0 auto;
		width: 83.33333333%;
	}
	.div_form_edit{
		max-width: 700px;
	}
	.container-xxxl, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
		max-width: 1620px;
	}
}

/* less */
@media (max-width: 1400px) {
}
@media (max-width: 1200px) {
}
@media (max-width: 992px) {
}
@media (max-width: 768px) {
	.form-control{
		padding: 0.375rem 0.375rem;
	}
	.form-select{
		padding: 0.375rem 1rem 0.375rem 0.375rem;
	}
	.container-sm, .container {
		max-width: none;
	}
}
@media (max-width: 576px) {
	.container,
	.container-fluid,
	.container-xxl,
	.container-xl,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xxxl {
		--bs-gutter-x: 0.125rem;
	}
	.nav-tabs .nav-link {
		padding: 8px 16px;
		margin-right: 6px;
	}
	.form-control{
		padding: 0.25rem 0.25rem 0.25rem 0.375rem;
	}
	.form-select{
		padding: 0.25rem 0.5rem 0.25rem 0.375rem;
	}
	.form-label {
		margin-bottom: 0.25rem;
	}
	.btn{
		--bs-btn-padding-y: 0.25rem;
		--bs-btn-padding-x: 0.5rem;
		--bs-btn-font-size: 1rem;
	}
	.pe-xs-0 {
		padding-right: 0 !important;
	}
	.ps-xs-1 {
		padding-left: 0.125rem !important;
	}
	.mx-xs-0 {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}
@media (max-width: 400px) {
	.form-control{
		padding: 0.25rem 0.25rem 0.25rem 0.25rem;
/*		width: 48%;*/
	}
	.form-select{
		padding: 0.25rem 0.25rem 0.25rem 0.25rem;
	}
	.btn{
		--bs-btn-padding-y: 0.25rem;
		--bs-btn-padding-x: 0.25rem;
	}
}


/* signin */
.body-signin {
	/*background-color: #f0f0e4;*/
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	margin-top: -15vh;
}
.logo-signin {
	width: 100%;
	max-width: 275px;
}
.form-signin {
	width: 100%;
	max-width: 275px;
	padding: 0;
	margin: 0 auto;
}
.form-signin .form-control {
	position: relative;
	box-sizing: border-box;
	height: auto;
	padding: 8px;
	font-size: 16px;
}
.form-signin .form-control:focus {
	z-index: 2;
}
.form-control:focus {
	box-shadow: 0 0 0 .125rem rgba(13,110,253,.33);
}
.form-signin input[type="text"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* overlay submit form */
#chg_data_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.spinner-border {
	width: 3rem;
	height: 3rem;
}
.chg_data_toast-container {
	position: fixed;
	top: 5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1100;
	max-width: 550px;
}