﻿.floating-form {
	position: fixed;
	top: 40%;
	left: 40%;
	width: 600px;
	z-index: 1000000;
	border: 2px solid #333333;
	display: none;
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.5);
}

.floatint-form.focus {
	border-color: #4cff00;
}

.floating-form .ff-header {
	padding: 0 40px 0 0;
	background-color: #fff;
	border-bottom: 1px solid #333333;
	position: relative;
	font-size: 0;
}

.floating-form .ff-header h3 {
	font-family: Roobert, sans-serif; /*berlingske_sans_roundmedium, sans-serif;*/
	font-size: 18px;
	font-weight: 500;
	color: var(--hl-dark-green);
	cursor: move;
	line-height: 1.2em;
	padding: 10px 0 10px 10px;
}

.floating-form .ff-header .close {
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -8px;
	width: 16px;
	height: 16px;
	display: block;
	background-image: url("/_assets/icon-close.png");
	background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
	background-color: transparent;
}

.floating-form .ff-content {
	padding: 20px;
	background-color: #ffffff;
	font-size: 0;
	width: 100%;
}


.floating-form.write-notes {
	min-width: 360px;
	min-height: 230px;
}

.floating-form.write-notes .ff-content {
	padding-bottom: 110px;
	position: relative;
}

/* Need to make the update panel fill the space */

.floating-form.write-notes .ff-content div[id*="updButtons"] {
	display: block;
	height: 100%;
}

.floating-form.write-notes .ff-content textarea {
	display: block;
	width: 100%;
	height: 100%;
	border: 1px solid #333333;
	padding: 10px;
	resize: none;
}

.floating-form.write-notes .ff-content .buttons {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 0 20px 20px 20px;
}

.floating-form.write-notes .ff-content .buttons input[type=button] {
	margin-bottom: 0;
}

.floating-form.write-notes .ff-content .buttons span.message {
	font-size: 14px;
	vertical-align: middle;
	margin-left: 20px;
	display: none;
}
