form {
	display: inline-block;
}

label {
	margin: 8px 0px 2px 0px;
	display:inline-block;
	font-weight: bold;
	vertical-align: middle;
	
}

input, textarea, select {
	border-radius: 3px;
	padding: 6px;
	border: 1px solid grey;
}

input[type=image] {
	border: 0px solid grey;
}

#loadingOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 98;
	display: none;
}

#loadingCenter { 
	width: 200px; 
	height: 200px; 
	position: absolute; 
	top: calc(50% - 100px); 
	left: calc(50% - 100px);
	z-index: 99;
	background-image: url('/images/loading.svg');
	display: none;
}

#modalOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 96;
	display: none;
	cursor: pointer;	
}

#modalCenter {
	position: fixed;
	left: calc(50% - 200px);
	top: calc(50% - 200px);
	/*min-width: 400px;
	max-width: 600px;*/
	width: 600px;
	max-height: 95%;
	z-index: 97;
	background-color: #fff;
	border: 0.5rem solid transparent;
	border-radius: 0.5rem;
	box-shadow: 0 0.5rem 1rem 0.2rem rgba(0,0,0,0.5);
	display: none;
	overflow: auto;
	padding: 0.5rem;
	/*color: #464646;*/
	overflow: auto;
	opacity: 1.00;	
}

#modalCenter.modalerror {
	border-color: red;	
}

#modalCenter.modalapperror {
	border-color: orange;
}


.modal {
	margin: auto;
	width: 90%;
	display: block;
}

.modal input, .modal textarea{
	width: 100%;
	box-sizing: border-box;
}

.hrule {
	border-top: 0.2rem solid rgba(0,0,0,0.2);
	width: 100%;
	margin: 0.5rem auto;
	height: 0;
}

.nouserselect {
	 user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-ms-user-select: none;		
}

.pagePopup {
	display: none;
	position: absolute;
	z-index: 90;
}


#genericModalOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);	
	z-index: 97;
	display: none;
	cursor: pointer;	
}

#genericModalCenter {
	position: fixed;
	left: calc(50% - 200px);
	top: calc(50% - 200px);
	/*min-width: 400px;
	max-width: 600px;*/
	width: 600px;
	max-height: 95%;
	z-index: 97;
	background-color: #fff;
	border: 0.5rem solid transparent;
	border-radius: 0.5rem;
	box-shadow: 0 0.5rem 1rem 0.2rem rgba(0,0,0,0.5);
	display: none;
	overflow: auto;
	padding: 0.5rem;
	/*color: #464646;*/
	overflow: auto;
	opacity: 1.00;	
}

#genericModalCenter.modalerror {
	border-color: red;
}

#genericModalCenter.modalapperror {
	border-color: orange;
}
#genericModalCenter.modalappsuccess {
	border-color: green;
}

#cookieNotice {
	position: fixed;
	left: 0;
	bottom: 0;
	background-color: lightgray;
	color: black;
	padding: 5px 10px;	
}

.centerVertical {
	position: relative;
	vertical-align: bottom;
}

.ch {
	display: flex;
	justify-content: center;
}

.error {
	color: red;
}

.success {
	color: green;
}

.notice {
	color: darkorange;
}

.formSuccess {
	display: none;
	color: green;
	text-align: center;
}

.formError {
	color: #f94848;
	text-align: center;
	padding: 2px 0px;
}

.formEntryError {
	border-color: #f94848;
}

th {
	padding-left: 5px;
	padding-right: 5px;
}

table.table {

}
table.table th:first-child, table.table td:first-child {
	border-left: 1px solid lightgray;
}
table.table th {
    border-top: 1px solid lightgray;
	padding: 5px;
}

table.table td {
	padding: 5px;
}

table.table th, table.table td {
	border-right: 1px solid lightgray;
	border-bottom: 1px solid lightgray;
}

.td {
	display: table-cell;
	vertical-align: middle;
}

#imageLinkBackground {
	background-color: #000000;
	opacity: 0.25;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.imageLink {
	border: 2px solid blue;
	cursor: pointer;
}

.imageLinkActive {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}