/* Sticky footer styles
-------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
   font-size: 12px;
	background-color: #e0e0e0;
}

/* Wrapper for page content to push down footer */
#wrap {
	min-height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto;
	width: 90%;
	max-width: 970px;
	background-color: #fff;
	border-left: 5px solid #ccc;
	border-right: 5px solid #ccc;
}
.container{
	width: 90%;
	max-width: 970px;
	background-color: #fff;
	border-left: 5px solid #ccc;
	border-right: 5px solid #ccc;
	padding: 0px 2.5%;
}

a, a:focus {
	text-decoration: none;
	color: #981967;	
}

a:hover, .disableEmail:hover, .enableEmail:hover {
	color: #dd2696;
	cursor: pointer;
}

a.btn, a:hover.btn, a.glyphicon {
	text-decoration: none;
}

.glyphicon {
	font-size: 15px;
	margin-right: 2px;
}

img.logo {
	margin-top: 10px;
}

.table-sortable > thead > tr > th {
	cursor: pointer;
}

th.nr{
	width: 15px;
}

th.short{
	width: 30px;
}

.code:hover {
	cursor: pointer;
}

td, th {
    font-size: 12px;
}

.navi li{
	float:left;
	margin: 0 1px;
	padding: 0;
	background: #eee;
}

.navi li.active {
	background: #ddd;
}

.navi li a{
	font-size: 13px;
	text-decoration: none;
	padding: 4px 8px;
}

.navi li a:hover, .navi li a:focus{
	background-color: transparent;
}

.page-header{
	border-bottom: 2px solid #ddd;
	padding-bottom: 0;
	position: relative;
}

#zoom-code {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	min-height: 100%;
	background: rgba(50, 50, 50, .8);
	display:none;
}

.zoomed {
  position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	margin: auto;
}

.headline{
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	padding: 0 0 0 10px;
	border-left: 1px solid #ccc;
}

.head{
	font-size: 18px;
	font-weight: bold;
}

.head > a{
	font-size: 14px;
}

.title{
	font-size: 26px;
	font-weight: bold;
}

.logout{
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
}

.graph{
	display: block;
	border-left: 1px solid #ccc;
	padding: 10px;
}

.text{
	width: 100%;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 10px 10px 0 10px;
}

.addZiel:hover{
	cursor: pointer;
	text-decoration: underline;
}

.span9{
	margin-bottom: 5px;
	position: relative;
}

.toggleCode{
	cursor: pointer;
	background: url('../img/lila-dot.png') no-repeat scroll 0 center #fff;
	padding-left: 17px;
}

.toggleCode:hover{
	background: url('../img/sw-dot.png') no-repeat scroll 0 center #fff;
}

.permission th, .permission td {
	text-align: center;
}

.kurz{
	color:#900000;
}

.schwach{
	color: #ffa500;
}

.gut{
	color:#000;
}

.stark{
	color:#009000;
}

.error{
	color: #f00;
}

select{
	width: auto;
}

#codeVergleich, #accountVergleich{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 100%;
	background: rgba(50, 50, 50, .7);
}

#codeVergleich #content, #accountVergleich #content{
	position: fixed;
	top: 10%;
	left: 10%;
	width: 80%;
	min-height: 80%;
	background: rgba(255, 255, 255, 1);
	border-radius: 20px;
	border: 10px solid white;
}

#close{
	position: fixed;
	top:11%;
	left: 88%;
}

#close:hover{
	cursor: pointer;
}

.diff:hover {
	cursor: pointer;
	text-decoration: underline;
}

#code-preview {
	border: 1px solid black;
	height: 365px;
	text-align: center;
}

#code img{
	max-width: 90%;
}

#logo img{
	max-width: 200px;
}

/* CSS für Timepicker */

.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
.ui-timepicker-div .ui_tpicker_unit_hide{ display: none; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }

/* Shortened version style */
.ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time, 
.ui-timepicker-div.ui-timepicker-oneLine dt { display: none; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; }
.ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd, 
.ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; }
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; }
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; }

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
	body{
		padding: 0;
	}

	.page-header{
		margin: 0;
	}

	.title {
    padding-top: 20px;
	}

	.nav-pills > li > a {
		margin: 2px;
		padding: 6px;
	}

	.jumbotron, .row-fluid, .footer{
		width: 96%;
		margin: 0 2%;
	}

	#wrap {
		min-height: 100%;
	  margin: 0 auto;
		width: 100%;
		max-width: 970px;
		background-color: #fff;
		border-left: 0;
	}

	.container{
		width: 100%;
		padding: 0;
		border: 0;
	}

  #footer {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
  }
}