* {
	box-sizing: border-box;
}

html{
	overflow: visible;
}

body {
	font-family: RotisSansSerifW01-Bold, Arial, sans-serif;
	background-color: #fff;
	overflow: auto;
}

main {
	padding: 10px;
}

h1 {
	color: #337E33;
}

/* Tabellen */
.ui-datatable {
	border: none !important;
}

th {
	background-color: #ebf0eb !important;
	font-weight: bold !important;
}

th, td {
	padding: 12px !important;
}

thead, tbody {
	border: none !important;
}

thead th:first-child {
	border-top-left-radius: 4px;
}

thead th:last-child {
	border-top-right-radius: 4px;
}

tr:nth-child(odd) {
	background-color: #fff !important;
}

tr:nth-child(even) {
	background-color: #f6f6f6 !important;
}

/* Menü */
div#headermenu .ui-menu {
	background-color: #00590B;
	border: solid 1px #00590B;
}

.white-text {
	color: #fff;
	font-weight: normal !important;
}

.ui-menu .ui-menuitem .ui-menuitem-link {
	color: #fff;
	width: auto !important;
}

.ui-menu .ui-menuitem.ui-menuitem-active .ui-menuitem-link {
	color: #00590B;
}

.ui-menu .ui-menuitem-text {
	margin-right: 5px;
}

/* Formulare */
label {
	font-weight: bold !important;
	padding-left: 10px;
	padding-right: 10px;
}

.ui-button {
	border-radius: 2px !important;
	overflow: hidden;
	border-color: #434343 !important;
	color: #fff !important;
	white-space: nowrap;
	padding: 6px 12px;
	padding-left: 30px;
	font-size: 14px;
	line-height: 1.67;
	border-radius: 2px;
	text-align: center;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	text-shadow: 0 1px 0 rgba(1, 0, 0, .75) !important;
	background-color: #337E33 !important;
	background-image: linear-gradient(to bottom, #3f9b3f 0, #337E33 100%);
	background-position: 0 0;
	font-size: 14px;
}

.ui-button.btn-no-icon {
	padding-left: 12px !important;
}

.ui-button:hover {
	text-decoration: underline !important;
	background-color: #337E33;
	background-image: none;
}

.ui-button .ui-button-text, .ui-button.ui-state-hover .ui-button-text,
	.ui-button.ui-state-focus .ui-button-text, .ui-button.ui-state-active .ui-button-text
	{
	border: none !important;
	background: none !important;
	color: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
	background-repeat: no-repeat !important;
	display: block;
}

.ui-button.btn-primary {
	padding-left: 12px;
}

.ui-button.btn-primary .ui-button-text {
	background-image:
		url(https://www.styleguide.sachsen.de/dist/themes/white/img/svg/icon-arrow-right.svg)
		!important;
	background-position: 2px 5px !important;
	padding-left: 20px !important;
}

.ui-icon, .ui-widget-content .ui-icon {
	background-image:
		url(/WEB-INF/pflegeseite/javax.faces.resource/images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-sentinel);
	color: #fff;
}

.ui-button-icon-left {
	left: 0;
}

/* Login */
.wrapper {
	padding-top: 10%;
}

.login-page {
	width: 670px;
	margin-left: auto;
	margin-right: auto;
	background: white;
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 10px;
	padding-bottom: 20px;
	position: relative;
	top: 15%;
	padding-top: 10px;
	padding-bottom: 20px;
	z-index: 100;
}

.login-page.small {
	width: 600px;
}

.login-page h1 {
	font-size: 25px;
	font-weight: 500;
	margin-bottom: 23px;
	margin-top: 28px;
}

.login-info {
	margin-bottom: 20px;
}

.login-form .start-links a {
	color: #313131 !important;
	padding-top: 0;
	padding-bottom: 0;
	background-position: 1px 4px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-image:
		url(https://www.styleguide.sachsen.de/dist/themes/green/img/svg/icon-arrow-right.svg);
	padding-left: 10px;
	text-decoration: none;
}

.login-form a:hover {
	text-decoration: underline;
}

.login-form table {
	border-collapse: collapse;
}

.login-form th, .login-form td {
	padding: 0 !important;
}

.login-form tbody tr {
	display: block;
	margin-bottom: 15px;
	background-color: #fff !important;
}

.login-form label {
	padding-left: 0px;
	font-size: 13px;
}

.login-form input[type=text], .login-form input[type=password] {
	height: 34px;
	padding-right: 0;
	border: 2px solid rgba(51, 126, 51, 0.58);
	box-shadow: none;
	padding-left: 0;
	display: block;
	width: 270px !important;
	padding: 6px 12px !important;
	margin-top: 8px;
	margin-bottom: 15px;
	font-size: 14px;
	line-height: 1.67;
	color: #555;
	background-color: #fff;
}

.login-form td:first-child input {
	margin-right: 30px;
}

.login-form input[type=text]:focus, .login-form input[type=password]:focus
	{
	border-color: #337E33;
}

[name="login-form:btn-login"] {
	float: right;
}

.small [name="login-form:btn-login"] {
	float: none;
	margin-top: 25px;
	margin-left: 40px;
}

.xi-formfield-row label {
	display: none;
}

/* Sonstiges */
.ui-panel {
	border: none;
}

.start-links {
	margin-left: 0;
	margin-top: 0;
	padding-left: 0;
	width: 230px;
	border-bottom: 1px solid rgb(174, 174, 174);
}

.start-links li {
	border-top: 1px solid rgb(174, 174, 174);
	line-height: 28px;
}

.ui-messages-info, .ui-message-info {
	color: #337E33 !important;
	border-color: #337e33 !important;
	background-color: #fff !important;
	margin-bottom: 20px;
}

.ui-message-info-detail {
	margin-left: 0px;
}

.pw-forgotten {
	width: 250px;
}

/* Footer */
footer {
	flex-shrink: 0;
	background-color: #f6f6f6;
	box-shadow: inset 0 5px 5px -5px #c3c3c3;
	display: block;
	font-size: 13px;
	opacity: 0.85;
}

.footer-content {
	position: relative;
	font-size: 13px;
	line-height: 18px;
	border-radius: 5px;
	background-clip: padding-box;
	overflow: hidden;
}

@media ( min-width : 1220px) {
	.container, .main-container {
		width: 1200px;
	}
}

.container {
	margin-left: 40px;
	padding-left: 10px;
	padding-right: 10px;
}

.panel-group {
	margin-bottom: 23px;
}

.row {
	margin-left: -10px;
	margin-right: -10px;
}

@media ( min-width : 992px) {
	.footer-col:first-child {
		float: left;
		width: 25%;
	}
}

.visible-sm {
	display: none !important;
}

.footer-content .panel-heading {
	margin-top: 0;
	padding: 0;
	background-image: none !important;
}

.panel-default>.panel-heading {
	color: #333;
	background-color: #f5f5f5;
	border-color: #ddd;
}

.panel-group .panel-heading {
	border-bottom: 0;
}

.footer-content .panel-title {
	margin-top: 23px;
	color: #337E33;
}

.footer-content .panel-title {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #313131;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.38461538;
}

.footer-content .panel-title .h4 {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.38461538;
	color: #337E33;
}

.footer-content a {
	color: #313131;
}

.footer-content a:hover {
	color: #337E33;
	text-decoration: underline;
}

.media-left, .media>.pull-left {
	padding-right: 10px;
}

.owner-img {
	margin-top: 2px;
}

.pull-left {
	float: left !important;
}

footer table {
	margin-bottom: 23px;
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0;
}

.footer-content tr {
	background-color: transparent !important;
}

.footer-content th, .footer-content td {
	padding: 0 !important;
}

.footer-content th {
	font-weight: 400 !important;
	background-color: transparent !important;
}

.owner-text td {
	vertical-align: top;
}

.media-body {
	display: table-cell;
	vertical-align: top;
}

div.section {
	min-height: 80%;
	/* Equal to height of footer */
	/* But also accounting for potential margin-bottom of last child */
	
}

footer, .push {
	height: 20%;
}

footer .panel-body {
	width: 600px;
}

.ui-dialog-mask {
	display: none;
}

.ui-dialog {
	left: 5% !important;
	bottom: 26.5px !important;
}

.ui-dialog-content{
	height: 90% !important;
}

.selectedYearLabel{
	padding-left: 0px;
}
.selectedYear{
	padding-top: 5px;	
}

.selectedYear input {
	width: 200px;
	margin-right: 10px;
	/* clear: both; */
}

@media ( max-width : 680px) {
	body {
		background-repeat: no-repeat;
		background-size: auto 100%;
		overflow: auto;
	}
	.login-page, .login-page.small {
		width: 100%;
	}
	.login-form td {
		display: block;
	}
	[id="login-form:btn-login"], .small [id="login-form:btn-login"] {
		float: none;
		margin-bottom: 10px;
		margin-left: 0;
		margin-top: 0;
	}
	div.section {
		margin-bottom: -200px;
	}
	footer, .push {
		height: 215px;
	}
	footer .media-body {
		display: block;
	}
	footer .panel-body {
		width: auto;
	}
	.ui-dialog {
		top: 0 !important;
		bottom: 0 !important;
		overflow: scroll;
	}
}

@media ( max-width : 480px) {
	footer, .push {
		height: auto;
	}
	div.section {
		margin-bottom: 0;
	}
}
