/* make border-box box-sizing default for all elements */
html
{
	box-sizing: border-box;
}
*,
*:before,
*:after
{
	box-sizing: inherit;
}

body
{
	margin: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	resize: none;
}

/* don't let the line-height influence td heights in a bad way */
td
{
	line-height: 0;
}
input,
textarea,
select,
div.text,
label
{
	line-height: normal;
}


.freezed
{
	pointer-events: none !important;
	cursor: default !important;
	-webkit-touch-callout: none;
	-moz-user-select: -moz-none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
@-webkit-keyframes spin
{
	from
	{
		transform: rotate(0deg);
	}
	to
	{
		transform: rotate(360deg);
	}
}
@keyframes spin
{
	from
	{
		transform: rotate(0deg);
	}
	to
	{
		transform: rotate(360deg);
	}
}
#winthrobber
{
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.7);
	z-index: 9999;
}
#winthrobber:after
{
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 120px;
	height: 120px;
	border-radius: 60px;
	margin: auto;
	border: solid 16px #444;
	border-left-color: transparent !important;
	animation: spin 1s linear infinite;
}
#apploading
{
	display: block;
	position: absolute;
	left: 0;
	top: calc(40%);
	right: 0;
	text-align: center;
	font-weight: bold;
	color: #444;
}
#apploading + #winthrobber
{
	display: none !important; /* don't show winthrobber while apploading is still shown */
}
.apploadingthrobber
{
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 200px;
	height: 200px;
	border-radius: 100px;
	margin: auto;
	border: solid 16px #444;
	border-left-color: transparent;
	animation: spin 1s linear infinite;
}

#appcontainer
{
	position: absolute;
	left: 20px;
	right: 0;
	top: 20px;
	bottom: 0;
	padding-right: 20px;
	/*min-width: 1180px;*/
}
#appcontainer > .flowcontainer
{
	margin-bottom: 20px;
}

div.curtain
{
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	cursor: default;
	z-index: 10; /* must be same index as popover */
	background-color: #fff;
	opacity: 0.3;
}
div.curtain.transp
{
	background-color: rgba(0, 0, 0, 0);
}
