div#main-container	{
	margin:10px;
	max-width:1200px;
	margin-left:auto;
	margin-right:auto;
}
div#main-container.admin	{
	max-width:initial;
}

.option-group label {
	font-weight: normal;
	margin-right: 2em;
}

.pagination	{
	margin-top:-10px;
	margin-left:10px;
}
.gridTotal {
	position:absolute;
	top:0;
	padding:10px;
}
.btn-toolbar	{margin:10px 0;}

.modal-header {
	padding:0 15px;
}

/* view link is a hidden column used to handle row click event wiring to tapestry */
table [data-grid-property='viewLink'] {
	display:none;
}

/* HEADER */
.header-cont {
	margin-top:10px;
	margin-left:auto;
	margin-right:auto;
	max-width:1200px;
}

.navbar-brand {
	padding-top:0;
	margin-top:-10px;
}
body.brand-cet .navbar-brand {
	margin-top:-4px;
}

.navbar-brand img {
	max-width:320px;
	max-height:70px;
}

@media (max-width: 767px) {
	.header-cont .navbar-brand	{
		margin-top:-2px;
	}
	.header-cont .navbar-brand img {
		max-width:290px;
		max-height:52px;
	}

	.hide-small {
		display: none !important;
	}

	div.mapContainer div.right {
		float: none;
	}
}


@media (min-width: 768px) {
	.show-small {
		display: none !important;
	}
}



div.footer {
	margin-left:auto;
	margin-right:auto;
	max-width:1200px;
	text-align:center;
	line-height:3em;
}
div.footer img.logo	{
	width: 160px;
	vertical-align: middle;
	margin: 10px;
	margin-top: 2px;
}
div.footer img.search {
	vertical-align:text-bottom;
	width:3em;
	margin:0.5em;
	float:right;
}

table.hoverClick tbody tr	{cursor:pointer;}
table.hoverClick tbody tr:hover	{text-decoration:underline;}

div.modal-content dl.well {
	border:none;
	background:none;
	padding:0;
	box-shadow:none;
}
div.modal-content dl.well dd,
div.modal-content dl.well dt {
	line-height:2em;
}
div.modal-content dl.well .glyphicon {
	font-size:18px;
}

div.well h2:first-child	{
	margin-top:0;
	margin-bottom:20px;
}



div.mapContainer {
	border:1px solid #ddd;
	display: flex;
	align-content: stretch;
}

div.mapContainer .right {
	flex-grow: 0;
	width: 376px;
}

div.mapContainer .left {
	flex-grow: 1;
	min-height: 546px;
}

div.mapContainer::after {
    content: "";
    display: table;
    clear: both;
}

div.mapContainer div.right .checkbox-inline,
div.mapContainer div.right .radio-inline {
	width:75px;
}
div.mapContainer div.right label {
	margin-bottom:0;
}
div.mapContainer div.right div.form-group {
	margin-bottom:10px;
}
div.mapContainer div.right div.form-group.short div.p-2,
div.mapContainer div.right div.form-group.medium div.p-2 {
	display:inline-block;
}
div.mapContainer div.right div.form-group.short div.p-2.squeeze label {
	width: 65px;
	margin-left: 0px;
}
div.mapContainer div.right div.form-group.short > label {
	min-width:85px;
}
div.mapContainer div.right div.form-group.medium > label {
	min-width:175px;
}


span.glyphicon.trafficlight-ok		{color:green;}
span.glyphicon.trafficlight-info	{color:#fbde00;}
span.glyphicon.trafficlight-warn	{color:orange;}
span.glyphicon.trafficlight-error	{color:red;}
span.glyphicon.trafficlight-unavailable	{color:grey;}

label.trafficlight-ok		{background-color:green; color:white;}
label.trafficlight-info		{background-color:#fbde00;}
label.trafficlight-warn		{background-color:orange;}
label.trafficlight-error	{background-color:red; color:white;}
label.trafficlight-unavailable	{background-color:grey; color:white;}

*[title] {
	cursor:pointer;
}

table.table-bordered > tbody > tr > td,
table.table-bordered > thead > tr > th {
    padding: 6px;
}

table.table .glyphicon:before {
	font-size: 16px;
}

tr.doubleheader th	{
	text-align:center;
}


/* each form input/label on one line */
form.semi-inline-form label.control-label {
	width: 160px;
	text-align: right;
	float: left;
	line-height: 2.4em;
}

form.semi-inline-form div.control-wrapper	{
	margin-left:180px;
}
.modal-dialog form.semi-inline-form div.checkbox label {
	margin-left: 180px;
}
form.semi-inline-form div.form-group {
	clear:both;
}

form.semi-inline-form div.control-wrapper label.control-label	{
	width: auto;
	text-align: left;
	float: none;
	line-height: 1em;
	margin-left: 0 !important;
}

/* bring username closer to logout, and avoid wrapping */
@media (min-width: 768px) {
	p.navbar-text {
		margin-left:0;
		margin-right:0;
	}
}


a.info {position:relative;}
a.info>div {display:none; position:absolute; border:1px solid black; background-color:white; top:2px; left:0; z-index:99; white-space:nowrap;}
a.info:hover>div {display:block;}

div.dashboard ul.pagination	{
	display:block;
}

/* https://www.w3schools.com/howto/howto_css_clearfix.asp */
.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

@media (min-width: 900px) {
	.modal-dialog {
		width: 750px;
	}
	.modal-dialog form.semi-inline-form label.control-label {
		width: 330px;
	}
	.modal-dialog form.semi-inline-form div.control-wrapper {
		margin-left: 350px;
	}
	.modal-dialog form.semi-inline-form div.checkbox label {
		margin-left: 350px;
	}
}

h5 {
	font-weight: bold;
}

tr.inactive {
	color: #ccc;
}


/* ticketing / zammad */
.ticket.priority-1 {
	opacity: 0.6;
}
.ticket.priority-2 {
	opacity: 0.8;
}
.ticket.priority-3 {
	opacity: 1;
}
.ticket.status-closed {
	text-decoration: line-through;
}


.error {
	color: red;
}

p.cet-support-instruction {
	border: 3px solid red;
	border-radius: 10px;
	background-color: yellow;
	color: #000;
	font-weight: bold;
	padding: 5px 15px;
}