html {
	background-color: #F0F0F0;
}

#pagetitle {
	margin: 0;
	float: left;
}

a {
	color: #039be5;
}

a:hover {
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 10px 0 10px 0;
}

th, td {
	border: 1px solid black;
	border-spacing: 0;
	border-collapse: collapse;
}

table {
	border-spacing: 0;
	border-collapse: collapse;

	width: 100%;
}

table input, table textarea {
  width: 100%;
  height: 100%;
  border: none;
  font-family: arial;
  background: none;
}

table input:active, table input:focus {
	border: none;
}

textarea {
	resize: vertical;
}

input[type="time"] {
    text-align: center;
}

input[type="submit"] {
    height: 27px;
}

#wrapper {
	width: 1000px;

	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-bottom: 20px;

	box-shadow: 0 1px 6px rgba(0,0,0,.12),0 1px 6px rgba(0,0,0,.12);
	background-color: white;
}

header {
	padding: 20px;
	height: 55px;

	background-color: #ffffff;

	position: -webkit-sticky;
	position: sticky;
	top: -15px;
	z-index: 1019;
}

#pagetitle a {
	text-decoration: none;
	color: inherit;
}

#content {
	min-height: 100px;
	padding: 20px;
	padding-top: 0;
}

#frontpage {
	overflow: auto;
}

#userinfo {
	float: right;
	text-align: right;
}

#newEntry {
	float: left;
}


#nav {
	height: 40px;
	vertical-align:left;
	list-style: none;
	/*padding: 0 20px 0 20px;*/
	padding: 0;

	border-top: 1px solid black;
	border-bottom: 1px solid black;

	position: -webkit-sticky;
	position: sticky;
	top: 67px;
	z-index: 1020;

    box-shadow: 0px 10px 10px 0 rgba(255,255,255,0.5);
}

#nav, #nav li {
	background-color: rgb(73, 207, 255);
}

#nav li {
	line-height: 40px;
	height: 40px;
	/* width: 165px; 5 Navigationselemente */
	/* width: 197px; */
	width: 25%;
	text-align: center;

	float: left;

	border-right: 1px solid rgb(0, 188, 255);
	box-sizing: border-box;
}

#nav li:hover {
	background-color: rgb(0, 188, 255);
}

#nav li:last-child {
	border-right: none;
}

#nav li a {
	line-height: 40px;

	display: block;
	text-decoration: none;

	color: black;
}

#options {
	margin-bottom: 10px;
}

#options input {
	font-family: "arial";
	font-size: 0.95em;
}

/*.editbox {
	display:none;
}*/

.editbox {
	/*background-color:#ffffcc;*/
	font-size: 0.95em;
}

.edit_tr:hover {
	background: rgba(0, 188, 255, 0.26);
	cursor:pointer;
}

.error, .success, #wppb_form_success_message {
    width: 948px;
    border: 1px solid #E57373;
    background-color: #E57373;
    padding: 7px;
    font-size: 1.2em;
    box-shadow: 0 1px 6px rgba(0,0,0,.12), 0 1px 6px rgba(0,0,0,.12);
    margin-bottom: 10px;
}

.success, #wppb_form_success_message {
	border: 1px solid #81C784;
    background-color: #81C784;
}

#Zeiterfassungstabelle{
	width: 960px;
	table-layout: fixed;
}

#Zeiterfassungstabelle tr th, #Zeiterfassungstabelle tr td {
	padding: 0;
}

#Zeiterfassungstabelle tr td input {
	padding: 2px;
}

#Kundentabelle tr td {
	width: 33.333%;
}

#th_kunde {width: 140px;}
#th_taetigkeit {width: 210px;}
#th_datum {width: 130px;}
#th_zbeginn {width: 75px;}
#th_zende {width: 75px;}
#th_dauer {width: 60px;}
#th_beschreibung {width: 133px;}
#th_beschreibungintern {width: 130px;}
#th_taetigkeit_beschreibung, #th_taetigkeit, #th_kunde, #th_eps {width: 50%;}
table .ip_kunden, table .ip_taetigkeiten {width: 100%;}

.kompakt #th_kunde {width: 210px;}
.kompakt #th_datum {width: 165px;}
.kompakt #th_dauer {width: 60px;}
.kompakt #th_beschreibung {width: 261px;}
.kompakt #th_beschreibungintern {width: 258px;}

/* Wird derzeit nicht benötigt, da die Spalten nun eine feste Größe haben
.kompakt .ip_kunden, .kompakt .ip_taetigkeiten {
	width: 200px !important;
}
*/

.kompakt .ip_zbeginn, .kompakt .ip_zende {
    width: 75px;
    height: 20px;
}

.kompakt .ip_datum {
	width: 160px;
    height: 20px;
}

#th_rem, .td_rem {
	border: none;
	display: none; /* Wird erst durch Hovereffekt sichtbar */
}

tr:hover > .td_rem {
	display: table-cell;
    margin-left: -5px;
    padding-left: 5px !important;
    width: 20px;
    min-height: 35px;
    line-height: 35px;
    position: absolute;
}

tr.kompakt:hover > .td_rem {
	min-height: 50px;
    line-height: 50px;
}

.td_rem a {
	text-decoration: none;
	color: red;
	font-weight: bold;
}

#addnew td input {
    font-size: 0.95em;
}

#infobox {
    visibility: hidden;
    opacity: 0.0;
    z-index: 1030;
    position: fixed;
    width: 232px;
    border: 1px solid #B9F6CA;
    background-color: #B9F6CA;
    right: 20px;
    top: 20px;
    text-align: center;
    padding: 7px;
    font-size: 1.2em;
    box-shadow: 0 1px 6px rgba(0,0,0,.12),0 1px 6px rgba(0,0,0,.12);
}

#zsmf_nav {
    width: 100%;
    height: 35px;
}

#zsmf_datepicker {
	float: left;
}

#zsmf_quicklinks {
	float: right;
}


/* Dieser Code sorgt für eine gleichmäßige Einteilung der Zeiterfassung
#Zeiterfassungstabelle tr td {
	width: 14.28571%;
}
*/

.step-controls {
	display: none;
}

.edit_td:hover .ws-popover-opener, #addnew td:hover .ws-popover-opener {
    visibility: visible;
}
.edit_td .ws-popover-opener, #addnew td .ws-popover-opener {
    visibility: hidden;
}

/* Drop-Up statt Drop-Down */
#addnew .chosen-container .chosen-drop {
    border-bottom: 0;
    border-top: 1px solid #aaa;
    top: auto;
    bottom: 40px;
}

#addnew .chosen-container.chosen-with-drop .chosen-single {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;

    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

    background-image: none;
}

#addnew .chosen-container.chosen-with-drop .chosen-drop {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    
    box-shadow: none;
    
    margin-bottom: -16px;
}

.chosen-container .chosen-drop {
	z-index: 1020;
}

/* Login und Profil */

.wppb-edit-user ul {
    list-style: none;
    padding-left: 0;
}

.wppb-edit-user ul li, #loginform p, #wppb-recover-password-container ul li{
    width: 333px;
    height: 25px;
    margin: 0;
}

.wppb-edit-user ul li label, #loginform p label, #wppb-recover-password-container ul li label {
	float: left;
}

.wppb-edit-user ul li input, #loginform p input, #wppb-recover-password-container ul li input {
	float: right;
}

/* Ersetzen des "Benutzername und E-Mail-Adresse"-Schriftzugs */
p.login-username:after { content: 'Benutzername'; }
label[for=user_login] { display: none; }

#wppb-recover-password-container ul {
    list-style: none;
    padding-left: 0;
}

/* Layout für größerer Monitore */
@media only screen and (min-width: 1600px) {
	#wrapper {
		width: 1500px;
	}

	.error, .success {
		width: 1448px;
	}

	#Zeiterfassungstabelle{
		width: 1460px;
	}

	#th_beschreibung {width: 383px;}
	#th_beschreibungintern {width: 380px;}

	.kompakt #th_beschreibung {width: 683px;}
	.kompakt #th_beschreibungintern {width: 336px;}
}