.screen[data-screen='tasks'] {
	padding-left: 0px;
	padding-right: 0px;
	width: calc(100% - 80px);
}

.screen[data-screen='tasks'] .table-container {
	position: absolute;
	width: calc(100% - 68px);
	padding-left: 2px;
	padding-right: 2px;
	height: 100%;
	transition: width 0.5s;
	transform: translateZ(0);
	overflow-y: auto;
}

.screen[data-screen='tasks'] > .table-container {
	position: absolute;
	width: calc(100% - 64px);
	height: calc(100% - 128px);
	/*padding-bottom: 32px;*/
	padding-left: 32px;
	padding-right: 32px;
	padding-bottom: 128px;
}

.details-container-overlay {
	position: fixed;
	width: 100%; height:100%;
    top: 0; left: 0;
    background-color:rgba(0,0,0,0.6);
	opacity: 0;
	cursor: pointer;

	visibility: hidden;
    transition: visibility 0.5s, opacity 0.5s, background-color 0.2s;
}

.details-container-overlay.active {
	visibility: visible;
	opacity: 1;
}

.details-container-overlay:hover {
	background-color: rgba(0,79,112,0.5);
}

.details-container-overlay > div {
	position: absolute;
	width: 64px;
	left: 80px;
	top: 50%;
	transform: translateY(-50%);
	color: white;
	text-align: center;
	text-shadow: 0 0 2px #000000,
				 0 0 2px #000000;
}

.details-container-overlay .fa-times {
	font-size: 32px;
}

.table-container table tbody tr:not(.no-data):not(.dataTables_empty):hover,
.logs table tbody tr:not(.no-data):not(.dataTables_empty):hover {
	background-color: #009ee1;
	color: white;
}

.table-container table tbody tr:hover td i {
	color: white;
}

/*.screen[data-screen='tasks'] .tasks-list.observing tr:not(.no-data) > *:last-child {
	display: none;
}*/

body.observing .screen[data-screen='tasks'] .tasks-list tbody tr td:nth-child(4) i:not(.on-hover) {
	display: inline-block;
}

body.observing .screen[data-screen='tasks'] .tasks-list tbody tr td:nth-child(4) i.on-hover {
	display: none;
}

.screen[data-screen='tasks'] .details-container {
	position: fixed;
	top: 64px;
	right: calc(-100% - 208px);
	width: calc(100% - 208px);
	height: calc(100% - 64px);
	padding-left: 32px;
	padding-right: 32px;
	transition: right 0.5s, visibility 0.5s;
	transform: translateZ(0);
	background-color: #f1f1f1;
	-webkit-box-shadow: 0px 0 2px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 0 2px 2px rgba(0,0,0,0.3);
	visibility: hidden;
	overflow-y: auto;
}

.screen[data-screen='tasks'] .details-container > div {
	margin-bottom: 40px;
	max-width: 1024px;
}

.screen[data-screen='tasks'] .details-container .general-settings label {
	display: block;
}

.screen[data-screen='tasks'] .details-container .general-settings input[type='text'] {
	width: 100%;
	max-width: 1024px;
}

.screen[data-screen='tasks'] .details-container .floaters > * {
	float: left;
	margin-right: 32px;
	min-width: 120px;
}

.screen[data-screen='tasks'] .details-container .floaters select,
.screen[data-screen='tasks'] .details-container .floaters input {
	min-width: 120px;
}

.screen[data-screen='tasks'] .details-container .floaters input {
	width: 120px !important;
}

.screen[data-screen='tasks'] .details-container .floaters:after {
	content: "";
	display: table;
	clear: both;
}

.screen[data-screen='tasks'] .details-container-overlay.active + .details-container {
	right: 0px;
	visibility: visible;
	overflow-x: auto;
}

.screen[data-screen='tasks'] .details-container .button {
	padding: 8px 16px;
	border: 1px solid #009ee1;
	color: #009ee1;
	border-radius: 3px;
	display: inline-block;
	transition: color 0.2s, background-color 0.2s;
	cursor: pointer;
	min-width: 88px;
	text-align: center;
}

.screen[data-screen='tasks'] .details-container .button:hover {
	color: white;
	background-color: #009ee1;
}

.button.add-after-task,
.button.add-before-task {
	margin-left: 12px;
}

.screen[data-screen='tasks'] .tab .schedules table tr[data-type='chain'] {
	color: #005E87;
	font-weight: bold;
}

body.observing .screen[data-screen='tasks'] .details-container .button.add-schedule,
body.observing .screen[data-screen='tasks'] .details-container .button.add-parameter {
	display: none;
}

.tab.log-details .wrapper {
	display: flex;
	flex-direction: column;
}

.tab.log-details .header {
	min-height: 86px;
}

.tab.log-details .output {
	margin: 0;
	overflow-y: auto;
	white-space: pre;
	font-size: 16px;
	position: relative;

	background-color: white;
	box-sizing: border-box;
	border: 2px solid #d1d1d1;
	padding: 12px;
	margin-bottom: 16px;
}

/*.screen[data-screen='tasks'] .log-details {
	position: fixed;
	top: 64px;
	left: 80px;
	width: calc(100% - 80px);
	height: calc(100% - 64px);
	background-color: rgba(0,0,0,0.6);
	z-index: 3;

	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s, visibility 0.3s;
}

.screen[data-screen='tasks'] .log-details.active {
	visibility: visible;
	opacity: 1;
}

.screen[data-screen='tasks'] .log-details .wrapper {
	position: absolute;
	top: 80px;
	left: 80px;
	width: calc(100% - 160px);
	height: calc(100% - 160px);
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	font-size: 16px;

	box-shadow: 1px 8px 32px rgba(0,0,0,0.12),
				1px 8px 16px rgba(0,0,0,0.24);

	transform: scale(0.9);
	transition: transform 0.3s;
}

.screen[data-screen='tasks'] .log-details.active .wrapper {
	transform: scale(1.0);
}

.screen[data-screen='tasks'] .log-details .wrapper .header {
	height: 48px;
	line-height: 48px;
	background-color: #009ee1;
	color: white;
	font-size: 20px;
}

.screen[data-screen='tasks'] .log-details .wrapper .output {
	position: absolute;
	display: block;
	top: 48px;
	width: calc(100% - 32px);
	height: calc(100% - 80px);
	padding: 16px;
	margin: 0;
	overflow-y: auto;
	white-space: pre;
}

.screen[data-screen='tasks'] .log-details .wrapper .header > * {
	height: 48px;
	line-height: 48px;
}

.screen[data-screen='tasks'] .log-details .wrapper .header > .title {
	float: left;
	font-weight: bold;
	padding-left: 16px;
}

.screen[data-screen='tasks'] .log-details .wrapper .header > .close {
	float: right;
	width: 48px;
	text-align: center;
	cursor: pointer;
}

.screen[data-screen='tasks'] .log-details .wrapper .header > .close i {
	line-height: 48px;
}*/

.create-fighter-jet {
	position: absolute;
	top: 50%;
	font-size: 400px;
	transform: translateY(-45%) rotate(180deg) translateZ(0);
	left: 100%;
}

.create-fighter-jet.active {
	left: -450px;
	transition: left 0.5s linear;
}

.details-container .table-big {
	margin-bottom: 20px;
}

.details-container .table-big.hidden {
	display: none;
}

.details-container .table-big tr.warning {
	background-color: #FFE9A6;
}

.details-container .table-big tr.failure {
	background-color: #FFA6A6;
}

.details-container .table-big input,
.details-container .table-big th,
.details-container .table-big td {
	text-align: center !important;
	padding-left: 0px !important;
	padding-right: 0px !important;
	width: auto;
}

.details-container .table-big th:last-child {
	width: 128px;
}

.details-container .table-big input {
	width: 100% !important;
}

.details-container .logs .table-big tr th:first-child,
.details-container .logs .table-big tr td:first-child,
.details-container .logs .table-big tr th:nth-child(2),
.details-container .logs .table-big tr td:nth-child(2),
.details-container .logs .table-big tr th:nth-child(3),
.details-container .logs .table-big tr td:nth-child(3) {
	min-width: 96px;
	width: 128px;
	text-align: center;
}

.details-container .logs .table-big tr td {
	height: 82px;
	max-height: 82px;
}

.details-container .logs .table-big tr td:nth-child(4) {
	text-align: left !important;
}

body.observing .details-container .table-big th:last-child,
body.observing .details-container .table-big td:last-child {
	text-align: left !important;
}

.details-container div:not(.logs) > .table-big td:last-child {
	cursor: pointer;
}

body.observing .details-container div:not(.logs) > .table-big th:last-child,
body.observing .details-container div:not(.logs) > .table-big td:last-child {
	display: none;
}

.details-container .logs .table-big pre {
	width: calc(100% - 40px);
	padding-left: 20px;
	padding-right: 20px;
	margin: 0;
	white-space: pre-wrap;
	max-height: 58px;
	overflow: hidden;
}

.details-container .header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.details-container .header .buttons .button {
	position: relative;
}

.details-container .header .buttons .button + .button {
	margin-left: 16px;
}

.details-container .header .button[data-action='save'] {
	border: 1px solid #6DA300;
	color: #6DA300;
}

body.observing .details-container .header .buttons {
	display: none;
}

.details-container .header .button[data-action='save']:hover,
.details-container .header .button[data-action='save'].busy {
	background-color: #6DA300;
}

.details-container .header .button[data-action='restore'] {
	border: 1px solid #EB9100;
	color: #EB9100;
}

.details-container .header .button[data-action='restore']:hover,
.details-container .header .button[data-action='restore'].busy {
	background-color: #EB9100;
}

.details-container .header .button[data-action='delete'] {
	border: 1px solid red;
	color: red;
}

.details-container .header .button.hidden {
	display: none;
}

.details-container .header .button[data-action='delete']:hover,
.details-container .header .button[data-action='delete'].busy {
	background-color: red;
}

.details-container .header .button.busy {
	color: white;
}

.details-container .header .button[data-action='delete'] .text {
	position: relative;
	z-index: 2;
}

.details-container .header .button[data-action='delete'] .hard-delete {
	position: absolute;
	left: 0;
	width: 0%;
	bottom: 0;
	height: 100%;
	background-color: white;
	z-index: 1;
	height: 4px;
	border-radius: 0px 0px 2px 2px;
}

.details-container .header .button[data-action='delete'].hard-deleting .hard-delete {
	-webkit-animation: hard-delete-animation 2s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
	-moz-animation:    hard-delete-animation 2s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
	-o-animation:      hard-delete-animation 2s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
	animation:         hard-delete-animation 2s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes hard-delete-animation {
	0% {
		width: 0%;
	}

	100% {
		width: 100%;
	}
}

.schedules-header.hidden,
.parameters-header.hidden,
.headers-header.hidden,
.logs-header.hidden {
	display: none;
}

body.observing .details-container div:not(.logs) > .table-big tr:not(:first-child):not(.no-data):not(.dataTables_empty) {
	cursor: default;
}

body.observing .tab .wrapper > div:not(.logs) > .table-big tr:not(:first-child):not(.no-data):not(.dataTables_empty) {
	cursor: default;
}

body .tab .wrapper > .logs {
	padding-bottom: 16px;
}

.screen[data-screen='tasks'] .chain-mode {
	position: fixed;
	bottom: 0;
	width: calc(100% - 80px);
	left: 80px;
	height: 96px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;

	background-color: #009ee1;
	color: white;

	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.3s, visibility 0.3s;
}

.screen[data-screen='tasks'] .chain-mode div:first-child {
	font-size: 18px;
}

.screen[data-screen='tasks'].chaining .chain-mode {
	transform: translateY(0%);
	visibility: visible;
}

.screen[data-screen='tasks'].chaining .table-creation-buttons {
	display: none;
}
