.login-pf, .login-pf body {
    background: #f8f8f8 url('../img/bg.jpg') no-repeat !important;;
	background-size: cover !important;
}
.login-pf-page-header #kc-header-wrapper{
    color: black;
}
.login-pf-page {
	padding-top: 0px;
}
#kc-login{
    background-color: #bb865e !important;
    background-image: none;
    border: 0 none;
    transition: background-color 0.5s;
}
#kc-login:hover{
    background-color: #996c4a !important;
}
.card-pf {
	border-color: #e4a77a !important;
	border-radius: 16px;
	border-top-width: 3px;
}
@media (max-width: 767px) {
    #kc-header-wrapper {
        color: white !important;
    }
}
.pf-c-form-control {
    outline: none;
}
.pf-c-form-control:hover, .pf-c-form-control:focus {
    border-bottom-color: #bb865e !important;
    border-bottom-width: 2px !important;
}

main > header {
	background: #00000060;
	color: white;
}

main > header h1 {
	line-height: 64px;
	margin: 0;
	text-align: center;
	font-weight: bold;
	display: block !important;	
}

#logo {
	position: absolute;
	left: 8px;
	top: 8px;
	height: 48px;
	width: 167px;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}

.welcome-message {
	color: white;
	font-size: 29px;
	line-height: 1.2em;
	padding: 40px 10px 20px 10px;
	white-space: normal;
	font-weight: lighter;
	text-align: center;
}

footer {
	background-color: #00000060;
	margin-top: 20px;
	text-align: center;
}

footer p {
	margin: 8px;
}

footer a {
	color: white;
}

.fullscreen-pane {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0,0,0,0.8);
	z-index: 99999;
}

.dialog-body {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	max-height: 100%;
	overflow-y: auto;
	background: white;
}

.dialog-content {
	position: relative;
	max-width: 800px;
	width: calc(100% - 16px);
	margin: 8px auto;
	padding: 8px;
}

#dialog-accept {
	background-color: #bb865e !important;
	border: 0 none;
	transition: background-color 0.5s;
	color: white;
	padding: 4px 16px;
	width: 200px;
	font-size: 1.25em;
}
#dialog-accept:hover {
	background-color: #996c4a !important;
}

@media only screen and (max-width: 420px) {
	#logo {
		display: none;
	}

	main > header h1 {
		display: block !important;
	}
}

@media only screen and (max-width: 600px) {
	#logo {
		position: relative;
		margin-top: -8px;
		margin-right: 12px;
		left: 0;
		top: 0;
	}

	main > header h1 {
		display: inline-block;
	}

	.welcome-message {
		padding: 20px 8px 8px 8px;
		font-size: 20px;
	}
}
