body *:not(input):not(textarea):not(select) {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
body > div.ktpVersion {
	position: absolute;
	bottom: 4px;
	right: 4px;
    color: gray;
}
body:not(.not-logged-in) > div.ktpVersion {
	display: none;
}
header.p-WBToolbar,
.WBWorkspace-items {
	transition: height 0.15s ease-out;
	transition: top 0.15s ease-out;
}
body.not-logged-in header.p-WBToolbar,
body:not(.toolbar) header.p-WBToolbar {
	display: none;
	height: 0px;
}
body:not(.toolbar) .WBWorkspace-items {
	top: 0px;
}
body#top.not-logged-in {
    background: url('/client-data/images/bg-xl.png') no-repeat;
    background-position: center 0px;
    background-size: 150%;
}
body#top.not-logged-in:after {
	content: url('/client-data/images/logo.png');
	float: right;
	margin: 5px;
}
body#top.not-logged-in .p-WBContent {
	margin-top: 0px;
}
body#top.not-logged-in section.login-widget.p-WBLogin > div,
body#top.not-logged-in section.login-widget.p-WBLoginTmpPw > div {
	background: rgba(20,20,20,0.8);
	border-radius: 2px;
}
body#top.not-logged-in .login-widget.p-WBLogin > div,
body#top.not-logged-in .login-widget.p-WBLoginTmpPw > div {
	box-shadow: 0px 8px 8px rgba(0,0,0,0.2);
}
body#top.not-logged-in .p-WBInputField.p-inputfield.p-field.p-core.enabled input {
	color: white;
	background-color: #222;
	border: 1px solid #555;
	border-bottom: 2px solid #eee;
  margin-bottom: 1em;
}
body#top.not-logged-in .p-WBInputField.p-inputfield.p-field.p-core.enabled .trigger-item.trigger-help {
	color: white;
}
body#top.not-logged-in .button.success.enabled {
	background-color: #eee;
	border-top: 2px solid white;
	border-bottom: 3px solid #ddd;
	text-shadow: 0px 2px 3px rgba(0,0,0,0.3);
}
body#top.not-logged-in .button.success.enabled:active {
	background-color: #ddd;
	border-top: 3px solid #aaa;
	border-bottom: 2px solid #eee;
	text-shadow: 0px 0px 2px rgba(0,0,0,0.3);
	color: #222;
}
/* Do not let grid content "underflow" action button. */

span#MAILS .header .title .mail-status {
    font-size: 10pt;
    color: green;
}

span#MAILS.error > section {
    border: 1px solid red;
}

span#MAILS.error .header .title .mail-status {
    color: red;
}

body.wbc-website-type-beboer .wblabelfield[processed=true] p {
	margin: 0;
	min-width: 150px;
}

body.wbc-website-type-beboer .inputfield-nonEmpty {
	padding-right: 0px;
}

/* login message types */
.login-widget.p-WBLoginTmpPw div#message {
    line-height: 35px;
    margin-top: 2px;
    font-size: 16px;
}
.login-widget.p-WBLoginTmpPw div#message.success {
    color: greenyellow;
}
.login-widget.p-WBLoginTmpPw div#message.error {
    color: red;
}

/* FP: this removes 'Ny bruger' link on login form 512 */
/*.login-widget .WBLoginTmpPw .login .c-switchcontainer {
    display: none;
}*/

/* Komtipa */
body#top.not-logged-in.komtipa{
    background-size: cover;
    background-attachment: fixed;
}

body#top.not-logged-in.komtipa:after {
	content: "";
	margin: 15px;
	width: 300px;
	height: 100px;
	background-size: contain;
	background-repeat: no-repeat;
    background-image: url('/client-data/images/logo.png');
}

body#top.not-logged-in.komtipa section.login-widget.p-WBLogin > div,
body#top.not-logged-in.komtipa section.login-widget.p-WBLoginTmpPw > div {
	background: transparent;
	border-color: white;
	margin-top: 40px;
}

body#top.not-logged-in.komtipa .login-widget .button {
    background-color: #b4da11;
}

