.rtable {
	text-align: left;
	border: 1px solid #DBEEFF;
	margin: 15px 0;
}

.rtable.narrow {
    min-width: 25%;
    display: inline-block;
}

.rheader, .rrow {
    padding: 5px;
}

.rheader {
    font-weight: bold;
	background-color: #DBEEFF;
}

.rtable.narrow .rheader {
    padding-right: 40px;
}

.rrow {
    min-height: 40px;
}

.rrow, .rrow div, .rheader, .rheader div {
    overflow: auto;
    overflow-wrap: break-word;
}

span.warning {
	background-image: url("/static/warning.svg");
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 1em;
	padding-left: 1.2em;
}

span.red_circle {
	background-image: url("/static/images/color_red.png");
}

span.yellow_circle {
	background-image: url("/static/images/color_yellow.png");
}

span.green_circle {
	background-image: url("/static/images/color_green.png");
}

span.red_circle, span.yellow_circle, span.green_circle {
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 1em;
	padding-left: 1.2em;
}

.rrow.even {
	background-color: #EEEEEE;
}

.rrow.odd {
	background-color: #F9F9F9;
}

.rtable .rtw_checkbox {
	float: left;
	display: none;
	width: 30px;
}
.rtable .rtw_checkbox input {
	height: 15px;
	width: 15px;
}

.rtable .rtw_small,
.rtable .rtw_medium,
.rtable .rtw_long {
    margin-left: 5px;
    float: right;
}

.rtable .rtw_small {
    width: 20%;
}

.rtable .rtw_medium {
    width: 55%;
}

.rtable .rtw_long {
    width: 70%;
}

.rrow .rtw_icon {
    padding-left: 30px;
}

.rrow .rtw_checkbox,
.rrow .rtw_small,
.rrow .rtw_medium,
.rrow .rtw_long,
.rrow .rtw_first {
    line-height: 40px;
}

.rrow div.rtw_multi {
}

.rtable ul {
	line-height: 1em;
}

.rtw_icon {
    background-size: 24px;
    background-position: 0 center;
    background-repeat: no-repeat;
}

.state_archived.type_audio .rtw_icon {
    background-image: url('/static/audio.svg');
}

.state_archived.type_video .rtw_icon {
    background-image: url('/static/video.svg');
}

.state_warning .rtw_icon {
    background-image: url('/static/warning.svg');
}

.state_unknown .rtw_icon {
    background-image: url('/static/unknown.svg');
}

.state_processing .rtw_icon {
    background-image: url('/static/processing.svg');
}

.state_scheduled .rtw_icon {
    background-image: url('/static/scheduled.svg');
}

.state_live .rtw_icon {
    background-image: url('/static/live.svg');
}

.receiver_type_dahlia .rtw_icon {
    background-image: url('/static/images/dahlia.png');
}

.receiver_type_stb .rtw_icon {
    background-image: url('/static/images/stb.png');
}

.receiver_type_lukas .rtw_icon {
    background-image: url('/static/images/lukas.png');
}

.receiver_type_kwr .rtw_icon {
    background-image: url('/static/images/kwr.png');
}

.receiver_type_sir .rtw_icon {
    background-image: url('/static/images/sir.png');
}

.rrow.invisible div {
    opacity: 0.35;
}

.rrow.default div {
	font-style: italic;
}

.rtable .rlabel {
    display: none;
}

.pagination {
    margin: 10px;
    text-align: center;
}

div.buttons {
	margin-left: 180px;
}

div.buttons form {
	display: inline;
}

div.buttons input.delete {
	border: 2px solid #FF0000;
}

div.buttons input.cancel {
	border: 2px solid #00AA00;
}

div.copyright {
	padding: 10px 0;
	clear: both;
	display: block;
	width: 100%;
	text-align: center;
	font-size: 10px;
	color: #333333;
	background-color: #FFFFFF;
}

p.error,
p.warn,
p.info {
	display: block;
	width: 100%;
	padding: 5px;
}

.error {
	background-color: #FF6666;
	color: #000000;
}

.warn {
	background-color: #FFEE44;
	color: #000000;
}

.note {
	background-color: #AAEDAA;
	color: #000000;
}

.noselect {
	-webkit-user-select: none;
}

div#header {
	float: right;
	height: 60px;
}

div#header td {
	font-size: 10px;
}

div#header a {
	color: #0000FF;
}

img {
	border: 0;
}

td.play {
	padding: 0;
	width: 280px;
}

a.button_play,
a.button_pause,
a.button_stop,
a.button {
	border: 1px solid #000000;
	background-color: #FAFAFA;
	background-repeat: no-repeat;
	background-position: 2px 50%;
	padding: 3px;
	margin: 0 2px 0 0;
	color: #0000FF;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.8em;
}

div#played {
	background-color: #FF3333;
	height: 11px;
	width: 10px;
	margin: 0 -5px;
	position: relative;
	font-size: 2px;
}

div#border {
	border: 1px solid #000000;
	width: 230px;
	margin: 7px 0 0 0;
}

div#overlay {
	background-color: #FFFFFF;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

div.jbox {
	background-color: #FFFFFF;
	color: #000000;
	border: 1px solid black;
	position: absolute;
	padding: 0;
	top: 30%;
	left: 30%;
	width: 300px;
}

div.jbox h2 {
	background-color: #DBEEFF;
	color: #000000;
	margin: 0;
	padding: 2px 0;
	font-size: 14px;
	width: 100%;
	display: block;
}

div.jbox div {
	padding: 10px;
}

div.jbox p {
	margin: 0;
}

audio { 
	display: block;
}

small.grey {
	color: #ccc;
}

small.hidden {
	display: none;
}

div#output {
	font-family: monospace;
	max-height: 200px;
	overflow-y: auto;
	padding-top: 50px;
	font-size: 0.8em;
}

div#output p {
	margin: 0;
}

div#server_scheme {
	text-align: center;
}

div.arrow {
	margin: 10px auto;
	width: 50px;
}

div.cloud {
	padding: 10px;
	margin: 0 auto;
	text-align: center;
	width: 200px;
	border: 2px dashed black;
}

div.server {
	padding: 10px;
	line-height: 40px;
	border: 1px solid black;
	display: inline;
	margin: 10px;
}

#ajax_log_value {
	font-family: monospace;
	white-space: pre;
}

p.type_error {
	color: #c00;
}

p.type_warning {
	color: #f80;
}

p.type_debug {
	color: #999;
}

p.type_cmd {
	color: #00c;
}

#output p span {
	color: #000;
}

img {
	border: 0;
}

.previewbox {
	float: left;
	width: 380px;
	border: 1px solid black;
	margin: 0 10px 20px 0;
	overflow: hidden;
}

.previewbox img {
	width: 375px;
}

.previewbox .noimg {
	width: 100%;
	height: 400px;
	background-color: #ddd;
	text-align: center;
	padding-top: 40px;
	font-size: 2em;
}

.problem_step .question {
	white-space: nowrap;
	overflow: hidden;
}
.question {
	color: #777;
}

.question br {
	display: none;
}

.problem_step, .problem_step_expand {
	margin: 8px 0;
}
.problem_step li.hidden {
	display: none;
}
.problem_step li, .problem_step_expand li {
	font-weight: bold;
}
.problem_step_expand li.hidden {
	font-weight: normal;
}
.problem_step ul, .problem_step_expand ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.problem_step li, .problem_step_expand li {
	margin: 0;
}

tr.depricated td {
  text-decoration: line-through double;
}

.npart {
	height: 30px;
	background: repeating-linear-gradient(
		-45deg,
		#ccc,
		#ccc 5px,
		#fff 5px,
		#fff 10px
	);
	position: absolute;
	opacity: 0.7;
}

.part {
	height: 30px;
	background-color: #ccf;
	overflow: hidden;
	position: absolute;
	opacity: 0.7;
}

.part span {
	font-size: 10px;
	white-space: nowrap;
}

.part .begin {
	position: absolute;
	top: 0;
	left: 0;
}
.part .end {
	position: absolute;
	bottom: 0;
	right: 0;
}
div#BLpag {
	text-align: center;
	margin-bottom: 15px;
	display: block;
}

div#BLpag span {
	margin: 0 10px;
}

.delhide {
	cursor: pointer;
	width: 16px;
	height: 16px;
	background-image: url('/static/images/delete_small.png');
	display: inline-block;
	user-select: none;
	-webkit-user-select: none;
}

#options_form label {
	display: block;
}
#options_form p {
	font-size: 1em;
	font-weight: normal;
	margin: 0.5em 0;
}

#menubar {
	min-height: 59px;
	overflow: auto;
	background-color: #eee;
	border-bottom: 1px solid #999;
}

#menubar div {
	position: relative;
	float: left;
	padding: 1px;
	margin: 3px;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

#menubar div:hover {
	background: #ddd;
}
#menubar div:active {
	top: 1px;
	left: 1px;
}
#menubar div:active, #menubar div.active {
	background: #ccc;
}

#menubar div.disabled,
#menubar div.disabled:hover {
	opacity: 0.3;
	background: none;
}

#overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
	opacity: 0.8;
}

canvas#waveform {
	height: 200px;
	width:100%;
	cursor:default;
	user-select: none;
	image-rendering: optimizeSpeed;
}

#no_hidden {
    font-style: italic;
    margin-left: 20px;
}

.errornote {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    margin: 0 0 1em 0;
    color: #ba2121;
    border: 1px solid #ba2121;
    border-radius: 4px;
    background-color: #fff;
}

.bar_chart {
	overflow: hidden;
	white-space: nowrap;
	border: 2px solid black;
	border-radius: 0.5em;
	width: 100%;
	height: 2em;
}

.bar_chart div {
	display: inline-block;
	height: 100%;
	background-color: #cccccc;
}
.bar_chart div:nth-child(1),
.bar_chart_labels li:nth-child(1) .bar_color {
	background-color: #4c8fce;
}
.bar_chart div:nth-child(2),
.bar_chart_labels li:nth-child(2) .bar_color {
	background-color: #e91e63;
}

.bar_chart, .bar_free_space {
	background-color: #eeeeee;
}

.bar_color {
	width: 1em;
	height: 1em;
	vertical-align: middle;
	display: inline-block;
	border-radius: 50%;
	border: 1px solid #000;
	margin-right: 0.25em;
}
.bar_chart_labels {
	list-style: none;
	padding: 0;
}
.bar_chart_labels li {
	margin: 0;
}

.manage .button {
	color: #000;
	font-size: 1em;
	padding: 3px 6px;
	line-height: 1.2em;
	display: inline-block;
	background-color: #eaeaea;
	cursor: default;
}

.manage .button.red {
	border-color: #ba2121;
	border-width: 2px;
}

.manage .button.green {
	border-color: #429e1d;
	border-width: 2px;
}

.manage input,
.manage select,
.manage textarea,
.manage .select2-selection {
	font-size: 1em;
	min-height: 1.4em;
	border: 1px solid #777;
	border-radius: 0;
	background-color: #fff;
	color: #000;
	max-width: 100%;
}

.manage {
	padding-top: 1em;
}

.manage h1, .manage h2 {
	clear: both;
}

.manage ul.errorlist {
    margin: 0 0 0 11em;
    padding: 0;
    color: #ba2121;
}

.manage p {
	margin: 0 0 1em 11em;
	clear: both;
}

.manage p.error,
.manage p.warn,
.manage p.info,
.manage p.errornote {
	margin-left: 0;
	padding-left: 0;
}

.manage ul.errorlist li {
	font-size: 0.8em;
	list-style: none;
}

.manage label {
    display: block;
    float: left;
    width: 11em;
	margin-left: -11em;
    clear: both;
}

.manage .helptext {
    clear: both;
    display: block;
    font-size: 0.8em;
}

.manage .thumbnail {
	width: 18em;
	aspect-ratio: 16/9 auto;
	max-width: 100%;
}

#BLsettings {
	width: 250px;
	margin-right: 20px;
	float:left;
}

#BLeapi {
	max-width: 1000px;
}

#BLeapi_buttons {
	padding-top: 5px;
	height: 50px;
}

#BLeapi_buttons .BLbutton {
	line-height: 1.9em;
}

#BLeapi_logo {
	width: 130px;
	height: 50px;
	margin: 3px 0 0 0;
	float: right;
}

#BLeapi_logo img {
	width: 130px;
	height: 50px;
	border: 0;
	margin: 0;
}

#BLelist {
	background-color: #f9f9f9;
	list-style: none;
	margin: 10px 0;
	padding: 0;
	border: 1px solid #dbeeff;
}

#BLelist li.head {
	background-color: #dbeeff;
	font-weight: bold;
	min-height: 0;
}

#BLelist li.head div {
	padding-top: 0;
	padding-bottom: 0;
}

#BLelist li {
	padding: 0.2em 0.4em;
	min-height: 3.9em;
}

#BLelist li.BLeven {
	background-color: #eeeeee;
}

#BLelist .control {
	width: 12em;
	float: right;
	padding-top: 0.6em;
}

#BLelist .time {
	width: 5em;
	float: right;
	padding: 0.6em;
}

#BLelist .name {
	padding: 0.6em 0;
}

#BLelist .name p {
	margin: 0;
}

#BLepag {
	text-align: center;
}

#BLcode {
	width: 700px;
	height: 200px;
}

.BLbutton {
	padding: 3px;
	background-repeat: no-repeat;
	background-position: 2px 50%;
	margin: 0 0.3em 0 0;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid #000;
	color: #00f;
	background-color: #fafafa;
	cursor: pointer;
	display: inline;
}

#BLaudio, #BLvideo {
	margin-bottom: 1em;
}

@media screen and (max-width: 650px) {
    .rheader .rtw_checkbox,
    .rheader .rtw_small,
    .rheader .rtw_medium,
    .rheader .rtw_long {
        display: none;
    }
    .rtable .rrow, .rtable .rrow div {
        transform: rotateX(180deg);
    }
    .rtable .rtw_small,
    .rtable .rtw_medium,
    .rtable .rtw_long {
        margin-left: 0;
        float: none;
        width: 100%;
    }
    .rtable .rlabel {
        display: inline;
    }

	.manage label {
		float: none;
		width: 100%;
		margin-left: 0;
	}

	.manage p {
		margin-left: 0;
	}
}

@media print {
    .rheader {
        -webkit-print-color-adjust: exact;
        background-color: #DBEEFF;
    }
    .rrow.even {
        -webkit-print-color-adjust: exact;
        background-color: #EEEEEE;
    }
    .rtw_icon {
        -webkit-print-color-adjust: exact;
    }
}
