.aplicationHeader {
	text-align: center;
	font-weight: bold;
	color: #3c79a8;
	padding: 0.6rem 0;
	background-color: #c1c1c1;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	z-index: 10;
}
.topSpace1 {
	height: 50px;
}
.topSpace2 {
	height: 100px;
}
.pointer {
	cursor: pointer;
}

@media (prefers-color-scheme: dark) {
	html, body {
		background-color: #1c1c1c!important;
		color: white;
	}
	.navbar {
		background-color: RGBA(33,37,41,var(--bs-bg-opacity,1))!important;
		color: white;
	}
	.navbar a.nav-link {
		color: white;
	}
	.navbar a.nav-link.active {
		color: gray;
	}
	.card {
		color: #fff!important;
		background-color: RGBA(33,37,41,var(--bs-bg-opacity,1))!important;
	}
	.accordion-item {
		border-color: gray;
	}
	.accordion-button {
		background-color: RGBA(33,37,41,var(--bs-bg-opacity,1))!important;
		color: white;
	}
	.accordion-button:not(.collapsed) {
		background-color: #313438!important;
		box-shadow: inset 0 calc(var(--bs-accordion-border-width) * -1) 0 gray;
		color: silver;
	}
	.accordion-button::after {
		filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
	}
	.accordion-body {
		background-color: #282828!important;
		color: white;
	}
	blockquote {
		color: darkgray;
		background: dimgray;
	}
	.row.lines:hover, #mainLayer .row:hover {
		background-color: #1c1c1c!important;
	}
	.modal-content, .offcanvas, div.fixed-bottom.bg-white {
		background-color: #1c1c1c!important;
	}
	.aplicationHeader {
		background-color: #1c1c1c!important;
	}
	.text-muted {
		color: silver!important;
	}
	.alert.modulList {
		color: #e2e3e5!important;
	}
	#addAllowedNumberLabel, .form-label {
		color: white!important;
	}
	.form-check-input:disabled~.form-check-label, .form-check-input[disabled]~.form-check-label {
		color: white!important;
	}
	.form-text {
		color: gray!important;
	}
}

img.logo {
	width: auto;
	max-width: 180px;
	height: auto;
	filter: invert(48%) sepia(36%) saturate(937%) hue-rotate(161deg) brightness(105%) contrast(89%);
}
img.logo2 {
	width: auto;
	max-width: 40px;
	height: auto;
	filter: invert(48%) sepia(36%) saturate(937%) hue-rotate(161deg) brightness(105%) contrast(89%);
}

#mainLayer {
	padding-top: 5rem;
	padding-bottom: 6rem;
}
#mainLayer.noMTop {
	padding-top: 0;
}
#mainLayer.fromApp {
	padding-top: 0;
	padding-bottom: 1rem;
	overflow: hidden;
	max-width: 600px;
	margin: 0 auto;
}
.fill {
    min-height: 100%;
    height: 100%;
	background: #ffffff;
}
.hidden {
	display: none !important;
}
.marginTop {
	padding-top: 20px;
}
.changeView, .addTestModul {
	margin-right: 5px;
}
.changeView:hover, .addTestModul:hover {
	color: #28a745;
}
.changeView i, .addTestModul i {
	font-size: 24px;
}
.sys_version {
	position: absolute;
	color: gray;
	right: 15px;
	top: 1px;
	font-size: 10px;
}
.closeEditForm {
	color: #6c757d;
	float: right;
	cursor: pointer;
}
.closeEditForm:hover {
	color: #343a40;
}

#jquery-live-search {
	background: #fff;
	min-width: 250px;
	width: auto;

	padding: 5px 10px;
	max-height: 400px;
	overflow: auto;

	position: absolute;
	z-index: 99;

	border: 1px solid #A9A9A9;
	border-width: 0 1px 1px 1px;
	border-radius: 0 0 0.25rem 0.25rem;

	-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
	padding: 0;
	margin: 2px 0 0 2px;
}
/*
#mainModal {
	z-index: 1050;
}
#enlargeImageModal {
	z-index: 1051;
}
*/
.up_form {
    bottom: 80px;
    height: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.up_form_panel {
    height: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1270px;
}
.up_form{
	right: 0;
}
#goUp {
	cursor: pointer;
	display: none;
	float: right;
	overflow: hidden;
	width: 56px;
	height: 40px;
	background-color: rgba(192, 192, 192, 0.5);
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}
#goUp span {
	margin: 4px 0 0 14px;
	font-size: 33px;
	color: silver;
}

#goUp:hover {
	opacity: 0.5;
}

@media (hover:on-demand) {
    /* Touch screen devices */
}
.imgWait {
	height: 25px;
}
.jumbotron label {
	color: white;
}

@media (max-width: 767px) {
	img.logo {
		width: auto;
		max-width: 140px;
	}
	#sendToSupport, #downInstruction, .secondButton {
		font-size: 0.9rem;
	}
}

@media (max-width: 374px) {
	#sendToSupport, #downInstruction, .secondButton {
		font-size: 0.7rem;
	}
}

.codeEnter, .checkCode {
	width: 50px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
.phOption, .phOption3 {
	min-width: 2rem;
	cursor: pointer;
}
.colorDesc {
	width: 10px;
	height: 10px;
	display: inline-block;
}
.ptkLogo {
	width: auto;
	height: 1rem;
}
div#remoteVideo {
	margin: 0 !important;
}
body.thehead #mainModal .modal-header.text-white.bg-danger, body.thehead #mainModal .modal-header.text-white.bg-success {
	color: black!important;
	background-color: transparent!important;
	border-top-left-radius: 1rem!important;
	border-top-right-radius: 1rem!important;
}
body.thehead #mainModal .btn-close {
	display: none;
}
body.thehead #mainModal .modal-content {
	border-radius: 1rem!important;
}
body.thehead #mainModal ul {
	padding-left: 0;
}
body.thehead #mainModal li {
	list-style: none!important;
}
body.thehead #mainModal .modal-footer button {
	border-radius: 0.7rem;
	padding: 0.7rem;
	min-width: 10rem;
}
body.thehead #mainModal .modal-footer button.btn-secondary {
	background-color: #e7e7e7;
	color: #141414;
	border-color: #e7e7e7;
	font-weight: 500;
}
body.thehead #mainModal .modal-footer button.btn-success {
	background-color: #e7f9e9;
	color: #17651b;
	border-color: #e7f9e9;
	font-weight: 500;
}
body.thehead #mainModal .modal-footer button.btn-danger {
	background-color: #f9e7e7;
	color: #651717;
	border-color: #f9e7e7;
	font-weight: 500;
}
body.thehead .form-check.text-danger label {
	color: #651717;
}
body.thehead .form-switch .form-check-input, body.thehead .form-switch .form-check-input:checked {
	height: 1.5em;
	cursor: pointer;
	margin-right: 0.5rem;
}
body.thehead .form-switch .form-check-input {
	width: 2.6em;
	margin-top: 0;
}
body.thehead .form-check-input:checked {
	background-color: #31d158;
	border-color: #31d158;
}

@media (prefers-color-scheme: dark) {
	body.thehead #mainModal .modal-header.text-white.bg-danger, body.thehead #mainModal .modal-header.text-white.bg-success {
		color: #e7e7e7!important;
		background-color: transparent!important;
		border-top-left-radius: 1rem!important;
		border-top-right-radius: 1rem!important;
	}
	body.thehead #mainModal .modal-header.text-white.bg-danger, body.thehead #mainModal .modal-footer {
		border-color: #2f2f2f!important;
	}
	body.thehead .form-check.text-danger label {
		color: #d16c6c;
	}
	body.thehead .form-check-input {
		background-color: #464646;
		border: var(--bs-border-width) solid #464646;
	}
}

