#ts_content {
	position: relative;
	font-size: inherit !important;
}

#nav {
	width: calc(100% - 60px);
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-content: stretch;
}
#nav > a {
	/*http://cssdeck.com/labs/beautiful-flat-buttons*/
  position: relative;
  vertical-align: top;
  text-decoration: none;
  width: 22%;
  padding: 15px 0px;
  color: white;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  background: #2ecc71;
  border: 0;
  border-bottom: 2px solid #28be68;
  cursor: pointer;
  -webkit-box-shadow: inset 0 -2px #28be68;
  box-shadow: inset 0 -2px #28be68;
  border-radius: 2px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
  user-select: none;
  margin-left: 4%;
}
#nav > a:first-child {margin-left: 0% !important;}
#nav > a:active {
  top: 1px;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#logout {
	position:absolute;
	top: 0;
	right: 0;
	margin-right: -60px;
	height: 50px !important;
	width: 50px !important;
	display:block;
	cursor: pointer;
	background-image: url('../img/logout.png');
	background-size: 100% 100%;
	background-position: center center;
	border-radius: 50%;
	border: 3px solid #eee;
	box-sizing: border-box;
	box-shadow: 0 2px 1px rgba(0,0,0,0.1), 0 0 1px rgba(0,0,0,0.1);
	transition: box-shadow 0.15s linear;
}
#logout:hover {
	box-shadow: 0 2px 8px 0 rgba(0,0,0,0.2) !important;
}

/*###################################################################################################*/

#suche {
	position: relative;
	background: #2ecc71;
	width: 22%;
	margin-left: 78%;
	height: 0px;
	margin-top: 5px;
	border-bottom: 2px solid #28be68;
	-webkit-box-shadow: inset 0 -2px #28be68;
	box-shadow: inset 0 -2px #28be68;
	border-radius: 2px;
	visibility: hidden;
	display:flex;
	align-items: center;
	
	transition-property: width, height, margin-left, visibility;
	transition-duration: 0.2s, 0.2s, 0.2s, 0s;
	transition-delay: 0.2s, 0s, 0.2s, 0s;
	transition-timing-function: ease;
}

#pseudo {
	position: absolute;
	width: 100%;
	height: 15px;
	bottom: 0;
	right: 0;
	margin-bottom: -11px;
	background: #2ecc71;
	content: "";
	display:none;
}

#suche > form {
	opacity: 0;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	width: 100%;
	margin: 0;
	padding: 0;
	
	transition: opacity 0.2s ease 0s;
}

#suche > form > select {
	width: 15%;
	margin: 0;
}
#suche > form > input {
	width: 25%;
	margin: 0;
}

.button {
	position: relative;
	vertical-align: top;
	height: 35px !important;
	padding: 0px 10px;
	color: white;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	background: #3498db;
	border: 0;
	border-radius: 2px;
	border-bottom: 2px solid #2a8bcc;
	cursor: pointer;
	-webkit-box-shadow: inset 0 -2px #2a8bcc;
	box-shadow: inset 0 -2px #2a8bcc;
}
.button:hover {
	background: #3498db;
}
.button:active {
	top: 1px;
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 0px 10px !important;
}

/*###################################################################################################*/

#indicator {
	width: calc(100% - 60px);
}
#indicator > div {
	width: 22%;
	height: 5px;
	background: #3498db;
	border-radius: 5px;
	margin-top: 5px;
	margin-left: 26%;
	transition: margin-left 0.2s ease;
}

/*###################################################################################################*/

.spinner {
	position: relative;
	width: 100%;
	height: 60px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	padding: 5px;
}
.spinner > #ts_load {
	background: rgba(0,0,0,0);
}

#ts_content .three-quarters-loader:not(:required) {
  width: 60px;
  height: 60px;
}

/*###################################################################################################*/

.query {
	position: relative;
	width: calc(100% - 60px);
	transition: opacity 0.4s linear 0s;
	margin-bottom: 30px;
	background: #eee !important;
	border-radius: 2px;
	box-shadow: 0 2px 1px rgba(0,0,0,0.1), 0 0 1px rgba(0,0,0,0.1);
}
.query .done {
	position:absolute;
	top: 0;
	right: 0;
	margin-right: -60px;
	height: 50px !important;
	width: 50px !important;
	display:block;
	cursor: pointer;
	background-size: 100% 100%;
	background-position: center center;
	border-radius: 50%;
	border: 3px solid #eee;
	box-sizing: border-box;
	box-shadow: 0 2px 1px rgba(0,0,0,0.1), 0 0 1px rgba(0,0,0,0.1);
	transition: box-shadow 0.15s linear;
}
.query .done:hover {
	box-shadow: 0 2px 8px 0 rgba(0,0,0,0.2) !important;
}
.ts_title {
	width: 100%;
	display: flex;
	justify-content: center;
}
.ts_title div {
	color: #e1550a;
	padding: 5px 0px;
	font-size: larger;
}
.ticket {
	width: 100%;
	margin: 0 !important;
	box-sizing: border-box !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	padding: 0px 10px !important;
	border-bottom: 1px solid rgba(0,0,0,0.1) !important;
	border-top: 1px solid rgba(0,0,0,0.1) !important;
	color: black !important;
	line-height: 1.5 !important;
}
.ticket * {
	box-sizing: border-box !important;
}
.ticket tr:first-child > td {
	color: #e1550a !important;
	font-size: smaller;
	border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}
.ticket tr > td:first-child {
	border-right: 1px solid rgba(0,0,0,0.1) !important;
	width: 25% !important;
	height: 20px !important;
	padding-right: 5px !important;
}
.ticket tr > td:nth-child(2) {
	padding-left: 5px !important;
}
.ticket tr:last-child > td {
	height: auto;
}
.ticket td {
	vertical-align: top;
	background: #eee !important;
	padding: 0;
	border: none;
}
.b_top {
	border-top: 1px solid rgba(0,0,0,0.1) !important;
}
.smaller {
	font-size: smaller !important;
}
/*###################################################################################################*/
.update {
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 10px !important;
	background: #eee !important;
	display:none;
	align-items: center !important;
}
.update > form {
	width: 100% !important;
	display: flex !important;
	justify-content: space-between !important;
	padding: 0 !important;
	margin: 0 !important;
}
.update table {
	border: none !important;
}
.update  td {
	border: none !important;
	background: #eee !important;
}
.update .textarea {
	width: 80% !important;
	text-align: right !important;
	padding: 0 !important;
	margin: 0 !important;
}
.update_text {
	height: 100px !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
.select_2 {
	height: 35px !important;
	width: 80% !important;
	margin-left: 25px !important;
	padding: 0 !important;
}
.update > form .button {
	width: 80% !important;
	height: 35px !important;
	margin-left: 25px !important;
	padding: 0 !important;
}
/*###################################################################################################*/
.expand {
	width: 100% !important;
	height: 35px !important;
	background-size: 35px 35px !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
    transform: rotate(0deg);
	cursor: pointer !important;
}
.while_text, .until_text {
	background: #3498db !important;
}
.while_text p, .until_text p {
	color:white !important;
	font-size:larger !important;
	text-align:center !important;
	text-shadow:0 1px 2px rgba(0, 0, 0, 0.25) !important;
	padding: 5px !important;
	margin: 0 !important;
}
.done_text {
	background: #2ecc71 !important;
}
.done_text p {
	color:white !important;
	font-size:larger !important;
	text-align:center !important;
	text-shadow:0 1px 2px rgba(0, 0, 0, 0.25) !important;
	padding: 5px !important;
	margin: 0 !important;
}
.warn_text {
	background: #ff0000 !important;
}
.warn_text p {
	color:white !important;
	font-size:larger !important;
	text-align:center !important;
	text-shadow:0 1px 2px rgba(0, 0, 0, 0.25) !important;
	padding: 5px !important;
	margin: 0 !important;
}
.today_text {
	background: #ffff00 !important;
}
.today_text p {
	color:black !important;
	font-size:larger !important;
	text-align:center !important;
	text-shadow:0 1px 2px rgba(0, 0, 0, 0.25) !important;
	padding: 5px !important;
	margin: 0 !important;
}
/*###################################################################################################*/
#sites_count {
	width: calc(100% - 60px);
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}
#sites_count > * {
	display: block;
	margin-right: 15px;
}
#sites_count > a:last-child {
	margin-right: 0px !important;
}
#sites_count > a {
	padding: 10px 15px;
	font-size: 20px;
	color: #fff;
	background: #778495;
	border: 1px solid #778495;
	text-decoration: none;
}
#sites_count > a:hover {
	background: #fff;
	color: #778495;
}
#sites_count > div {
	height: 30px;
	width: 30px;
	background-image: url('../img/dots.jpg');
	background-size: 100% 100%;
}