html {
	overflow-y: scroll;
	height: 100%;
}

body {
	background-color: #181818;
	color: #FFFFFF;
	font: caption;
	font-size: initial;
	padding-right: 0 !important;
	height: 100%;
}

.backgroundframe {
	width: 80rem;
	margin-left: calc((100% - 80rem)/2);
	background-color: #252526;
	min-height: 100%;
	position: absolute;
}

.outerframe {
	width: 70rem;
	margin-left: calc((100% - 70rem)/2);
	background-color: #333333;
	padding: 1rem;
	min-height: 100%;
	position: relative;
}

/* ****************************************************************************
*	Links
*/

a {
	color: #AAAAAA;
}

a:hover {
	color: #FFFFFF;
	text-decoration: none;
}

a:hover img {
	background-color: #AAAAAA;
}

a.externallink {
	padding-left: 2rem;
}


/* ****************************************************************************
*	Navigation
*/

/* show img on link hover */
#starticon {
	margin-top: 1px;
	margin-right: 10px;
	width: 2rem;
	float: inline-start;
	content: url('../images/house-door.svg');
}

#starticon:hover {
	display: inline;
	filter: invert(100%);
	content: url('../images/house-door.svg');
}


.navigation {
	margin: 0 -1rem 0 -1rem;
	font-size: 1rem;
}

ul.navigationbar {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #333333;
	border-top: 2px solid #252526;
	border-bottom: 2px solid #252526;
}

ul.navigationbar li {
	float: left;
}

ul.navigationbar li a {
	display: block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}

ul.navigationbar li a:hover {
	background-color: #4f4f50;
}

.activeMenuElement {
	background-color: #252526;
}


/* ****************************************************************************
*	Content
*/

.content {
	width: 100%;
	display: block;
}

.container {
	width: 100%;
	padding: 0 0 0 0;
}

.fieldset {
	margin: 10px;
}

.fieldset #data-label {
	display: inline-block;
	inline-size: 6rem;
	margin: 0;
}

.data {
	display: inline;
	font-size: larger;
}

.line {
	margin: 1rem 20px 1rem 0;
}

form input {
	padding: 0.5rem;
	font-size: 1rem;
	width: 100%;
}

form button {
	padding: 0.5rem 2rem 0.5rem 2rem;
	font-size: 1rem;
}

form button.close {
	color: #FFFFFF;
}

form button.close:hover {
	color: #FFFFFF;
	font-weight: 900;
}

.user_groups {
	width: 80%;
}

.table {
	color: #FFFFFF;
}

.table thead th {
	border-bottom-color: #7A7A7A;
}

.table th {
	padding-left: 0rem;
	padding-right: 0rem;
	font-weight: normal;
	border-top-color: #7A7A7A;
	font-weight: bold;
}

.table tbody tr:hover {
	background-color: #5a5a5a;
}

.table td {
	padding-left: 0rem;
	padding-right: 0rem;

	vertical-align: baseline;
	border-top-color: #7A7A7A;
}

.table-newsuccess {
	background-color: #28a745 !important;
}

/* ****************************************************************************
*	Modals
*/

.modal-dialog {
	max-width: 800px;
}

.modal-content {
	background-color: #333333;
}

.btn-primary {
	padding-left: 2rem;
	padding-right: 2rem;
}

.form-group {
	display: flex;
}

.twocolumn {
	display: flex;
}

.half {
	width: 50%;
}

.righthalf {
	width: 50%;
}

.threecolumn {
	display: flex;
}

.onethird {
	width: 33%;
}

.twothird {
	width: 33%;
}


.form-group label {
	text-align: right;
	width: 12rem;
	margin-right: 1rem;
	padding: 0.6rem 0rem;
}

.form-control:disabled,
.form-control[readonly] {
	background-color: #cbcbcb;
	color: #000;
	opacity: 1;
}

.green {
	margin: 0;
	padding: 2px;
	width: 3rem;
	background-color: limegreen;
	color: #363636;
	font-weight: bold;
}

.yellow {
	margin: 0;
	padding: 2px;
	width: 3rem;
	background-color: yellow;
	color: #363636;
	font-weight: bold;
}

.red {
	margin: 0;
	padding: 2px;
	width: 3rem;
	background-color: red;
	color: #363636;
	font-weight: bold;
}

/* ****************************************************************************
*	Status Dots

*/

.greendot {
	height: 14px;
	width: 14px;
	background-color: limegreen;
	border-radius: 50%;
	display: inline-block;
}

.reddot {
	height: 14px;
	width: 14px;
	background-color: red;
	border-radius: 50%;
	display: inline-block;
}

/* ****************************************************************************
*	Cards
*/
.card .card-header {
	background-color: #252526;
}

.card .card-body {
	background-color: #252526;
}

/* ****************************************************************************
*	active/inactive slider
*/
.bigcheckbox {
	width: 30px;
	height: 25px;
}

.aislider input[type="checkbox"] {
	position: relative;
	left: 30px;
	top: 0px;
	z-index: 0;
	appearance: none;
}

.aislider input[type="checkbox"]+label {
	position: relative;
	display: block;
	cursor: pointer;
	font-family: sans-serif;
	font-size: 24px;
	line-height: 1.3;
	padding-left: 70px;
	position: relative;
	margin-top: -30px;
}

.aislider input[type="checkbox"]+label:before {
	width: 45px;
	height: 25px;
	border-radius: 50px;
	border: 2px solid #ddd;
	background-color: #ff3714;
	content: "";
	margin-right: 15px;
	margin-top: 4px;
	transition: background-color 0.5s linear;
	z-index: 5;
	position: absolute;
	left: 0px;
}

.aislider input[type="checkbox"]+label:after {
	width: 25px;
	height: 25px;
	border-radius: 25px;
	background-color: #ddd;
	content: "";
	transition: margin 0.1s linear;
	box-shadow: 0px 0px 5px #aaa;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 10;
	margin-top: 4px;
}

.aislider input[type="checkbox"]:checked+label:before {
	background-color: #2b8718;
}

.aislider input[type="checkbox"]:checked+label:after {
	margin: 4px 0 0 20px;
	background-color: #FFF;

}

/* **************************************************************************** 
 *	Checkbox to slider 
 */
.smallcheckbox {
	width: 10px;
	height: 20px;
}

input[type="checkbox"] {
	position: relative;
	left: 0px;
	top: 0px;
	z-index: 0;
	appearance: none;
}

input[type="checkbox"]+label {
	position: relative;
	display: block;
	cursor: pointer;
	font-family: sans-serif;
	font-size: 16px;
	line-height: 1.3;
	padding-left: 10px;
	position: relative;
	margin-top: 10px;
}

input[type="checkbox"]+label:before {
	width: 33px;
	height: 20px;
	border-radius: 20px;
	border: 2px solid #ddd;
	background-color: #2b8718;
	content: "";
	margin-right: 15px;
	margin-top: -10px;
	transition: background-color 0.5s linear;
	z-index: 5;
	position: absolute;
	left: 0px;
}

input[type="checkbox"]+label:after {
	width: 17px;
	height: 17px;
	border-radius: 17px;
	background-color: #ddd;
	content: "";
	transition: margin 0.1s linear;
	box-shadow: 0px 0px 5px #aaa;
	position: absolute;
	left: 2px;
	top: 0px;
	z-index: 10;
	margin-top: 1px;
}

input[type="checkbox"]:checked+label:before {
	background-color: #ff0000;
}

input[type="checkbox"]:checked+label:after {
	margin: 1px 0 0 12px;
	background-color: #FFF;

}


