/**
{
	-webkit-box-sizing: border-box;
}*/

body
{
	-webkit-font-smoothing: antialiased;
	margin: 0;
	-webkit-user-select: none;
	cursor: default;
	background: transparent;
	height: 100%;
	font-family: Helvetica, "MS Trebuchet", sans-serif;
	color: white;
}

img
{
	-webkit-user-drag: none;
}

#container
{
	/*-webkit-border-image: url(images/backgroundinactive.png) 40 37 50 37 / 40px 37px 60px 37px;*/
	height: 100%;
}

body.active #container
{
	/*background: rgba(0, 0, 0, 0.5) url('http:/blueheam.fr/BHeam_Images/highlight_faint.png') repeat-x 0 0;*/

	height: 95%;
	width: 95%;
	margin-left: 2.5%;
	margin-top: 2.5%;
	position:absolute;

	background-color: rgba(40, 40, 40, 0.5);
	border: 1px solid #05111d;
	border: 1px solid rgba(0,0,0,0.4);
	box-shadow: rgba(0,0,0,0.5) 0px 1px 10px;

	font-family: WebWindow, sans-serif;
	font-weight: bold;
	font-size: medium;
	text-align: left;
	float: left;
	border-radius: 15px 15px 0px 0px;
}

body.hd #container
{
	/*-webkit-border-image: url(images/backgroundinactivehd.png) 80 74 100 74 / 40px 37px 60px 37px;*/
}

body.active.hd #container
{
	/*-webkit-border-image: url(images/backgroundhd.png) 80 74 100 74 / 40px 37px 60px 37px;*/
}

#subcontainer
{
	top: 28px;
	bottom: 12px;
	left: 12px;
	right: 12px;

	/*margin-bottom: 0;
	margin-left: 0;*/
	overflow: hidden;
	position: absolute;
	/*  -webkit-border-radius:20px;*/
	/*border-radius: 15px 15px 0px 0px;*/
}

#windowtop
{
	/*  padding:5px 5px 0 5px;*/
	position: relative;
	height: 28px;

	background: rgba(0, 0, 0, 0.8) url('http:/blueheam.fr/BHeam_Images/highlight_faint.png') repeat-x 0 0;
	font-family: WebWindow, sans-serif;
	/*font-weight: bold;
	font-size: medium;
	text-align: left;*/
	border-radius: 15px 15px 0px 0px;
	/*padding: 4px 2px 2px 12px;*/
}

#windowtitle
{
	height: 28px;
	font-size: 18px;
	line-height: 28px;
	overflow: hidden;
	position: absolute;
	padding: 0 20px 0 30px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: pre;
	width: 100%;
	font-weight: bold;
	text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

#windowclosewidget
{
	height: 18px;
	width: 18px;
	left: 6px;
	top: 6px;
	background: url(images/close.png) no-repeat;
	position: absolute;
}

body.hd #windowclosewidget
{
	background: url(images/closehd.png) no-repeat;
	-webkit-background-size: 100%;
}

#windowclosewidget:active
{
	opacity: 0.5;
}



input[type=range]
{
	-webkit-appearance: none;
	-webkit-border-image: url(images/slider/slider.png) 5 5 0 5 / 5px 5px 0 5px;
	background: transparent;
	height: 5px;
	cursor: pointer;
}

body.hd input[type=range]
{
	-webkit-border-image: url(images/slider/sliderhd.png) 10 10 0 10 / 5px 5px 0 5px;
}

input[type=range].centerspot
{
	background: url(images/slider/middlemark.png) no-repeat center -4px;
}

input[type=range]::-webkit-slider-thumb
{
	-webkit-appearance: none;
	position: relative;
	top: -2px;
	background: url(images/slider/sliderknob.png) no-repeat;
	width: 10px;
	height: 10px;
}

body.hd input[type=range]::-webkit-slider-thumb
{
	background-image: url(images/slider/sliderknobhd.png);
	-webkit-background-size: 100%;
}

input[type=range]:active::-webkit-slider-thumb
{
	background: url(images/slider/sliderknobpushed.png) no-repeat 1px 0;
}

#resizer
{
	bottom: 0px;
	height: 20px;
	position: absolute;
	right: 0px;
	width: 20px;
	display: none;
	background: url(images/resizer.png) no-repeat 5px 5px;
}

body.hd #resizer
{
	background-image: url(images/resizerhd.png);
	-webkit-background-size: 12px;
}

#resizer.on
{
	display: block;
}

.toolbar
{
	/*background: url(images/toolbar.png);
	height: 35px;
	display: -webkit-box;
	padding: 0 3px;*/
}

.flexibletoolbar
{
	background-image: -webkit-gradient(linear, 0% 100%, 0% 0%, from(rgba(76,76,76,0.5)), color-stop(0.5,rgba(76,76,76,0.5)), color-stop(0.5,rgba(89,89,89,0.5)), to(rgba(128,128,128,0.5)));
	-webkit-background-clip: padding;
	-webkit-background-origin: padding;
	-webkit-border-image: url(images/toolbarborder.png) 1 0 5 / 1px 0 5px;
}

.toolbutton
{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-box-pack: center;
	height: 31px;
	margin: 0 3px;
}

.spacer
{
	-webkit-box-flex: 1;
}

form
{
	margin: 0;
}



.textarea
{
	-webkit-border-image: url(images/textarea.png) 10 / 10px;
	position: relative;
}

textarea
{
	top: -9px;
	left: -11px;
	right: -11px;
	bottom: -11px;
	padding: 3px 6px;
	position: absolute;
	-webkit-appearance: none;
	-webkit-border-radius: 2px;
	border: none;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(51, 51, 51, 0.5)), to(rgba(0, 0, 0, 0.5)));
	-webkit-background-clip: padding-box;
	resize: none;
}

button
{
	-webkit-appearance: none;
	border: none;
	padding: 0;
	cursor: pointer;
	background: transparent;
	/*color: inherit;
	font: inherit;
	text-shadow: inherit;*/
}

.progressbar
{
	height: 21px;
	-webkit-border-image: url(images/progressbar/bg.png) 0 11 / 0 11px;
	position: relative;
}

.progressholder
{
	position: absolute;
	left: -10px;
	top: 1px;
	right: -10px;
	bottom: 0;
}

.progress
{
	height: 18px;
	-webkit-border-image: url(images/progressbar/bar.png) 0 9 / 0 9px;
	width: 0%;
	-webkit-transition: width 0.2s linear;
	position: relative;
}

.perpetual .perpetual
{
	-webkit-border-radius: 10px;
	height: 18px;
	left: -9px;
	right: -9px;
	position: absolute;
	background: url(images/progressbar/lines.png) repeat-x;
	background-position-x: 0px;
	-webkit-animation-name: barber;
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}

@-webkit-keyframes barber
{
	from
	{
		background-position-x: 0px;
	}

	to
	{
		background-position-x: 40px;
	}
}
