@import url("font-awesome-4.7.0/css/font-awesome.min.css");

:root {
	--border: 1px solid #dbdbdb;
	--shadow: 0px 0px 5px -2px #007dc3;
	--background: rgb(0, 125, 195, 0.1);
	--button-background: #007dc3;
	--border-focus: 1px solid #007dc3;
	--radius: 5px;
	/* --background: #007cc2; */
	--header-height: 70px;
	--link-color: #007dc3;
	--w-in-perc: 80%;
	--red-color: rgb(251, 83, 83, 0.7);
	--yellow-color: rgba(248, 232, 1, 0.7);
}

* {
	box-sizing: border-box;
	font-size: 18px;
	font-family: 'Gill Sans',  Calibri, sans-serif;
	
}

body{
	margin: 0;
	background: var(--background);
	cursor: default;
	
}

a {
	text-decoration: none;
	color: var(--link-color);
}

a:active, a:visited {
	color: var(--link-color);
}

label {
	position: relative;
}

input, select, button {
	padding: 10px 15px;
	border: var(--border);
	margin: 0 0 10px 0;
	/*font-family: inherit;*/
	border-radius: var(--radius);
	/* font-size: 100%; */
}

input:focus, select:focus, button:focus {
	outline: none;
	box-shadow: var(--shadow);
	border: var(--border-focus);
}


input[type="checkbox"] {
	margin: 0;
	position: relative;
	top: 1px;
}

input[type="submit"], button {
	/* all: unset; */
	border: var(--border-focus);
	background: var(--button-background);
	color: white;
}

button:active {
	background: #006199;
}

button.empty {
	color: var(--button-background);
	background: white;
}

form {
	margin: 0;
}

.clear {
	clear: both;
}

.hide {
	display: none;
}

.mr20 {
	margin-right: 20px;
}

.mb20 {
	margin-bottom: 20px;
}

.p-header {
	padding: 0 25px;
	box-shadow: var(--shadow);
	background: white;
	border-bottom: var(--border);
	/* background: #16a9ff; */
	height: var(--header-height);
	line-height: var(--header-height);
}

.p-panel {
	padding: 0 25px;
	overflow: hidden;
	width: var(--w-in-perc);
	margin: auto;
}

.p-panel-item {
	/* display: inline-block; */
	float: left;
	vertical-align: top;
	padding: 0 15px;
	height: 100%;
}

.p-logo {
	margin-top: 4px;
}

a .p-panel-item:not(.active):hover {
	background: var(--link-color);
	color: white;
}

.p-panel-item.right {
	float: right;
}

.p-panel-item.active {
	background: #e5f1f8;
    color: var(--link-color);
    border: var(--border);
    font-weight: bold;
    border-bottom: 0;
    border-top: 0;
}

.p-nav-wrap {
	padding: 0 25px;
}

.p-nav-panel {
	
	width: var(--w-in-perc);
    margin: auto;
    padding: 0 25px;
}

.p-nav-content {
	background: white;
    overflow: hidden;
    box-shadow: 0px 4px 4px -6px #007dc3;
    border: var(--border);
    border-top: 0;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.p-nav-content .p-panel-item {
	height: 35px;
	line-height: 35px;
}

.p-content {
	padding: 0px 25px;
	
}

.p-container {
	padding: 0 25px;
	width: var(--w-in-perc);
	margin: auto;
}

.p-row {
	border: var(--border);
    box-shadow: var(--shadow);
    margin: 15px 0;
    padding: 15px;
	background: white;
	border-radius: var(--radius);
}

.p-row.error {
	background: red;
	color: white;
	border: 1px solid red;
    box-shadow: 0px 0px 5px -2px red;
}

.p-row.success {
	background: green;
	color: white;
	border: 1px solid green;
    box-shadow: 0px 0px 5px -2px green;
}

.p-login {
	width: 350px;
	margin: 60px auto 0;
	text-align: center;
	padding: 50px 25px;
	border: var(--border);
	/* box-shadow: -1px 3px 5px -5px black; */
	box-shadow: var(--shadow);
	background: white;
	border-radius: var(--radius);
}

.p-login input {
	width: 100%;
}

.p-login-message, .p-login-title {
	margin: 0 0 10px 0;
	padding: 10px;
}

.p-error {
	color: white;
    background: red;
    border-radius: var(--radius);
}

.p-list-item {
	padding: 15px;
    border: 1px solid #d6d6d6;
    margin: 0 0 10px 0;
    box-shadow: 0px 3px 5px -5px black;
	cursor: default;
	position: relative;
}

.p-list-item:hover {
	 box-shadow: 0px 3px 10px -5px black;
}

.p-tiles {
	display: inline-block;
	margin: 0 10px 10px 0;
}

.p-tools-panel {
	margin: 0 0 10px 0;
	display: table;
	width: 100%;
}

.p-tools-cell {
	display: table-cell;
}

.p-tools-cell:last-child {
	width: 100px;
	text-align: right;
}

.p-tools-button {
	margin: 0 5px 5px 0;
    display: inline-block;
    cursor: pointer;
    padding: 3px 10px;
    background: #fbfbfb;
    border: 1px solid #d6d6d6;
}

.p-tools-button:hover {
	background: #ebebeb;
}

.p-active-button {
	background: #d6d6d6;
}

.state-run {
	color: #17cf17;;
}

.state-stop {
	color: red;
}

.state-off {
	color: gray;
}

.state-unknown {
	color: black;
}

.p-desktops {
	position: relative;
	margin: 0 5px;
	padding: 3px 5px;
}

.p-desktops i {
	background: white;
}

.p-desktops span {
	position: relative;
}

.p-desktops span:nth-child(1) {
	top: -2px;
}

.p-desktops span:nth-child(2) {
	right: -5px;
	top: -2px;
	
}

.p-desktops span:nth-child(3) {
	right: 30px;
	top: 5px;
	margin-right: -15px;
}

/* .p-counts {
	display: inline-block;
    border: 1px solid #d6d6d6;
    padding: 0px 8px;
    font-size: 14px;
    box-shadow: 0px 3px 5px -5px black;
} */

.p-item-info {
	/*cursor: pointer;
	display: table;*/
	width: 100%;
	min-width: 150px;
}

.p-item-info-block {
	/*display: table-cell;*/
	padding-right: 10px;
	position: relative;
}

.p-item-remove-host {
	position: absolute;
	position: absolute;
    right: -10px;
    top: -13px;
    cursor: pointer;
}

.p-item-info-comp-name {
	cursor: pointer;
}

.p-item-info-block:first-child {
	/*width: 100px;*/
}

.p-item-info-block:first-child > div {
	/*overflow: hidden;
    white-space: nowrap;
    width: 100px;
    text-overflow: ellipsis;*/
}

.p-item-process-name {
	padding: 0 5px;
}

/* .p-item-process-file {
	font-size: 10px;
    position: relative;
    top: -2px;
} */

.p-item-tools {
	text-align: right;
    border-top: 1px solid #d6d6d6;
    padding: 5px 0;
    margin: 10px 15px;
}

/* .p-small {
	font-size: 12px;
	margin: 0;
	line-height: 0;
} */

.p-item-details {
	position: absolute;
    background: white;
    width: 100%;
    left: -1px;
    z-index: 11;
    border: 1px solid #d6d6d6;
    border-top: 0;
    box-shadow: 0px 7px 5px -5px black;
}

.p-item-edit {
	margin: 0 15px;
	
}

.p-item-edit-block {
	
}

.p-item-edit input {
	width: 100%;
}

/* .p-item-info-last-update {
	font-size: 10px;
    position: relative;
    top: -2px;
    margin-left: 5px;
	letter-spacing: 1px;
} */

.p-item-process-toggle {
	cursor: pointer;
}

.p-on {
	color: #1476ff;
}

.p-plug {
	position: absolute;
	inset: 0;
	background: white;
	background-image: url('/assets/images/loading2-cut.gif');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px;
}

.p-p-r {
	position: relative;
}

.p-user-online {
	display: inline-block;
	text-align: center;
	min-width: 80px;
	border: var(--border);
    padding: 5px 10px;
	border-radius: var(--radius);
	/* box-shadow: var(--shadow); */
	position: relative;
	vertical-align: top;
}

.p-user-online:not(:last-child) {
	margin-right: 10px;
}

.p-profile {
    background: white;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: var(--border);
	background-image: url('/assets/images/user.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px;
	margin: auto;
	position: relative;
}

.p-online-indicator {
	position: absolute;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	outline: 2px solid white;
	bottom: 3px;
	right: -2px;
	background: var(--link-color);
}

.p-user-online-title {
	border-bottom: var(--border);
    margin-bottom: 10px;
    padding-bottom: 2px;
	/* font-size: 12px; */
}

.p-profile-name, .p-profile-ip {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-profile-name {
	font-weight: bold;
	font-size: 14px;
}

.p-profile-ip, .p-profile-last-time {
	font-size: 12px;
}

.p-user-online-wrap {
	position: relative;
}

.p-toggle {
	position: absolute;
	top: 2px;
	right: 0;
	display: inline-block;
	cursor: pointer;
}

.p-border-none {
	border: 0;
	margin: 0;
	padding: 0;
}

.p-cursor-pointer {
	cursor: pointer;
}

.p-form-wrap {
	margin-bottom: 30px;
}

.p-form {
	overflow: hidden;
}

.p-form-block {
	float: left;
    width: 170px;
	margin-right: 15px;
}

.p-form-block label {
	width: 100%;
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
	text-align: center;
}

.p-form-block input, .p-form-block select, .p-form-block button {
	width: 100%;
}

.p-pretty-table, .p-sub-table {
	width: 100%;
}

.p-pretty-table {
	border-spacing: 0 10px;
}

.p-sub-table {
	
}

.p-pretty-table tr:not(.warning, .error):hover .p-table-td {
	/* background: rgb(243, 243, 243); */
	background: var(--background);
}

.p-pretty-table .error .p-table-td {
	background: var(--red-color);
}

.p-pretty-table .warning .p-table-td {
	background: var(--yellow-color);
}

.p-pretty-table th, .p-sub-table-td{
	text-align: center;
	padding:  0 10px;
	width: 25%;
}

.p-table-td {
	padding: 5px;
}

.p-pretty-td {
	vertical-align: middle;
}

.p-table-td {
	background: #f9f9f9;
	border-top: var(--border);
	border-bottom: var(--border);
	box-shadow: 0px 0px 0px 0px black;
}

.p-sub-table-td-w50perc {
	width: 50%;
	vertical-align: top;
	text-align: center;
}

.p-sub-table-td {
	text-align: center;
}

.p-sub-table-td-title {
	text-align: center;
	font-weight: bold;
	margin-bottom: 5px;
}

/* .p-table-td::before {
	content: '\00a0';
	display: inline-block;
	font-size: 0;
} */

.p-table-td.beginning.end {
	border: var(--border);
	border-radius: var(--radius);
}

.p-table-td.beginning {
	/* border-bottom-left-radius: var(--radius);
    border-top-left-radius: var(--radius);
	border-left: var(--border); */
}

.p-table-td.end {
	/* border-bottom-right-radius: var(--radius);
    border-top-right-radius: var(--radius);
	border-right: var(--border); */
}

.p-nothing-found {
	text-align: center;
	padding: 15px;
	color: gray;
}

.p-call {
	border: var(--border);
    border-radius: 5px;
    padding: 5px;
    background: white;
	display: inline-block;
}

.p-call:not(:last-child) {
	margin-right: 5px;
	margin-bottom: 5px;
}

.p-call-date, .p-call-time, .p-call-duration, .p-call-text {
	font-size: 14px;
}

.p-call-time {
	font-weight: bold;
}

.p-call-duration {

}

.w-auto {
	width: auto;
}
.p-table-report {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 0;
}

.p-table-report-header-tr {
	background: var(--link-color);
	color: white;
}

.p-table-report td {
	border: var(--border);
	padding: 10px;
    border-radius: var(--radius);
}

.p-table-report-header-tr td {
	border: 1px solid #007dc3;
	padding-right: 20px;
	position: relative;
}

.p-table-report-header-tr .min-list {
	border: 1px solid white;
}

.p-table-report-sub-tr td {
	border-style: none none solid solid;
	border-radius: 0;
}

.p-table-report-sub-tr td:first-child {
	border-bottom-left-radius: var(--radius);
	border-top-left-radius: var(--radius);
}

.p-table-report-sub-tr td:last-child {
	border-right: var(--border);
	border-bottom-right-radius: var(--radius);
	border-top-right-radius: var(--radius);
}

.p-table-report-header-tr .p-toggle {
	right: 10px;
	top: 10px;
}

.p-sub-td {
	padding: 3px;
}

.p-data-table, .p-log-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 0;
}

.p-data-tr-header, .p-log-tr-header {
	background: var(--link-color);
	color: white;
}

.p-data-tr-header th, .p-log-tr-header th {
	padding: 10px;
	border-left: 1px solid white;
}

.p-data-tr-header th a, .p-log-tr-header th a {
	color: white;
	text-decoration: underline;
}

.p-data-tr-body td, .p-log-tr-body td {
	border: var(--border);
	border-style: none none solid solid;
	padding: 10px 15px;
	vertical-align: middle;
}

.p-data-tr-body td:first-child, .p-data-tr-header th:first-child, .p-log-tr-body td:first-child, .p-log-tr-header th:first-child {
	border-bottom-left-radius: var(--radius);
	border-top-left-radius: var(--radius);
}

.p-data-tr-body td:last-child, .p-data-tr-header th:last-child, .p-log-tr-body td:last-child, .p-log-tr-header th:last-child {
	border-right: var(--border);
	border-bottom-right-radius: var(--radius);
	border-top-right-radius: var(--radius);
}

.p-data-tr-body td:last-child, .p-log-tr-body td:last-child {
	text-align: center;
}

.p-data-tr-header th:first-child, .p-log-tr-header th:first-child {
	border-left: 0;
}

.p-data-tr-header th:last-child, .p-log-tr-header th:last-child {
	border-right: 0;
}

.p-data-tr-body button, .p-log-tr-body button {
	padding: 5px 10px;
	margin: 2px 5px 2px 0;
}

.p-data-info {
	margin: 10px 0;
}

.p-data-form {
	width: 30%;
	padding-top: 20px;
}

.p-data-form-block label {
	font-weight: bold;
	width: 100%;
	display: inline-block;
	margin-bottom: 5px;
}

.p-data-form-block input, .p-data-form-block select {
	width: 100%;
}

.p-data-form-block:last-child {
	text-align: right;
	margin-top: 10px;
}

.p-data-view {
	padding-top: 20px;
	margin-bottom: 20px;
}

.p-data-view-row {
	padding: 10px;
}

.p-data-view-title {
	font-weight: bold;
	margin-right: 10px;
}

.p-data-log-row * {
	font-size: 14px;
}

.p-data-log-header {
	font-weight: bold;
}

.p-data-log-header, .p-data-log-row {
	padding: 10px;
}

.p-log-table {
	width: 50%;
}

.p-log-tr-body td:last-child {
	max-width: 150px;
	word-break: break-word;
}

.p-log-info-details {
	border: var(--border);
    border-radius: var(--radius);
    padding: 5px;
    margin-top: 5px;
    background: #f1f1f1;
    font-size: 12px;
    color: #6e6e6e;
	text-align: left;
}

.p-current-date-time {
	margin: 10px 0;
	text-align: center;
}

.p-current-date-time span {
	display: inline-block;
	border: var(--border);
	border-radius: var(--radius);
	font-weight: bold;
	padding: 10px;
	background: var(--background);
}

.p-call-indicator {
	display: inline-block;
	padding: 5px 20px;
	border: var(--border);
	border-radius: var(--radius);
	cursor: pointer;
	font-weight: bold;
}

.p-call-indicator:not(:last-child) {
	margin: 0 5px 5px 0;
}

.yellow {
	background: var(--yellow-color);
}

.red {
	background: var(--red-color);
}

.p-call-indicator.default {
	background: #f9f9f9;
	cursor: default;
}

.p-call-indicator.all {
	background: #e5f1f8;
	cursor: default;
}

.p-statistic-block {
	position: relative;
	z-index: 10;
}

.p-trouble-rows {
	position: absolute;
    background: white;
    border: var(--border);
    padding: 10px 15px;
    width: 260px;
    max-height: 260px;
    border-radius: var(--radius);
    overflow-y: auto;
    box-shadow: 5px 5px 10px -5px black;
}

.p-trouble-row {
	display: inline-block;
	font-size: 14px;
	padding: 5px;
	border: var(--border);
	border-radius: var(--radius);
	margin: 2px;
}

.p-call-indicator.active {
	outline: none;
	box-shadow: var(--shadow);
	border: var(--border-focus);
}

.p-table-td.beginning.end.pulse {
	outline: 1px solid #007dc3;
	box-shadow: 0px 0px 5px 3px #007dc3;
}

.p-footer-wrap {
	position: fixed;
    right: 0px;
    bottom: 40px;
    padding: 20px 30px;
	cursor: pointer;
	border-radius: var(--radius);
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.p-footer-wrap:hover {
	background: rgb(0, 125, 195, 0.3);
}

.p-real-logo {
	display: inline-block;
	height: 16px;
	width: 16px;
	background: url('/assets/images/cropped-big-logo-32x32.png') no-repeat center;
	background-size: 16px;
}

.p-development {
	position: fixed;
    bottom: 0;
    right: 0;
    background: rgb(255, 255, 255, 0.5);
    border: var(--border);
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: var(--radius);
    padding: 5px 10px;
    text-align: right;	
}

.p-development * {
	display: inline-block;
	font-size: 12px;
	vertical-align: top;
}   

.p-call-loading {
	pointer-events: none;
	opacity: 0.5;
}

@media (max-width: 1200px) {
	:root {
		--w-in-perc: 100%;
	}
}