.pages-body {
	height: 100vh;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
	margin-top: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
}
h2 {
	font-size: 2rem;
}

.card {
	background-color: #ffffff;
	padding: 1rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
	border-radius: 5px;
}

.card:last-child {
	margin-bottom: 0;
}

.pages-body .pages-panel {
	text-align: center;
	z-index: 200;
}

.pages-body .pages-panel.card {
	border: 1.5px solid #eceff1;
	border-radius: 6px;
}

.pages-body .pages-panel.card > .card {
	background-color: #eceff1;
}

.pages-body .pages-panel .pages-header {
	margin-top: -3rem;
	color: #fff;
	border: 1.5px solid #eceff1;
	border-radius: 4px;
	margin-left: auto;
	margin-right: auto;
}

.pages-body .pages-panel .pages-header h2 {
	margin: 0;
}

.pages-body.accessdenied-page {
	background: url("../javax.faces.resource/images/auth/accessDenied-bg.jpg.jsf?ln=pl");
	background-size: cover;
}
.pages-body.accessdenied-page .pages-panel .pages-header {
	background: #FB8C00;
}

.pages-body.error-page {
	background: url("../javax.faces.resource/images/auth/error-bg.jpg.jsf?ln=pl");
	background-size: cover;
}

.pages-body.error-page .pages-panel .pages-header {
	background: #e30513;
}

button, button.ui-state-default {
	margin-right: 5px;
	border: medium none;
	box-shadow: 1px 1px 3px #d9d9d9;
	color: #ffffff;
	font-size: 15px;
	height: 32px;
	background: #41b7fd;
	background: -webkit-gradient(linear, center top, from(#41b7fd), to(#0165d4));
	background: -webkit-gradient(linear, left top, left bottom, from(#41b7fd), to(#0165d4));
	background: -moz-linear-gradient(center top, #41b7fd, #0165d4) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(center top, #41b7fd, #0165d4);
	background: -ms-linear-gradient(center top, #41b7fd, #0165d4);
	background: linear-gradient(center top, #41b7fd, #0165d4);
	-pie-background: linear-gradient(#41b7fd, #0165d4);
}

button.secondary:hover {
	background: #1f8be7;
	background: -webkit-gradient(linear, center top, from(#0165d4), to(#41b7fd));
	background: -webkit-gradient(linear, left top, left bottom, from(#0165d4), to(#41b7fd));
	background: -moz-linear-gradient(center top, #0165d4, #41b7fd) repeat scroll 0 0 transparent;
	background: -o-linear-gradient(center top, #0165d4, #41b7fd);
	background: -ms-linear-gradient(center top, #0165d4, #41b7fd);
	background: linear-gradient(center top, #0165d4, #41b7fd);
	-pie-background: linear-gradient(#0165d4, #41b7fd);
}