@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500&display=swap');

@media print {
	div, button {
		display: none;
	}
	div#logo {
		display: block;
	}
	div#logo img {
		display: block;
	}
}

#printImage {
	width: 210mm;
}

* {
	box-sizing: border-box;
}

a {
	color: #30757a;
	cursor: pointer;
}

a.small-right {
	font-size: 10px;
	float: right;
}

.toggle-sibling {
	cursor: pointer;
}

.button {
	background-color: #102125;
	border: 2px solid #30757a;
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	padding: 12px 56px;
	cursor: pointer;
}
.button:hover {
	background-color: #30757a;
}

/* 
	The style of the the application
*/
html, body { 
	background: url(../assets/white_dots.png) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
  }

body {
	background-color: #93b9b9;
	font-family: 'Open Sans', sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 0;
	padding: 0;
    overflow: hidden;
}

#informativeBox {
	min-height: 50px;
	margin-top: 30px;
}

#interface-btn {
	position: absolute;
	top: 20px;
	right: 20px;
}
#logo {
	position:fixed;
	top:0px;
	left:0px;
	pointer-events: none;
}

#interface {
	display: none;

	width: 20vw;
	min-width: 300px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;

	position: fixed;
	top: 20px;
	right: 20px;
	padding-bottom: 40px;

	background-color: #102125;
	color: white;
	border-radius: 4px;

	text-align: center;
	z-index: 10;
}
#interface::-webkit-scrollbar {
  display: none;
}

#interface > header, .pane > header {
	position: relative;
}

#interface > header > h2, .pane > header > h2 {
	display: inline-block;
	width: calc(100% - 100px);
	color: #fff;
}
#interface > header > button, .pane > header > button {
	width: 65px;
	height: auto;
	padding: 0;

	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 4%;
}

#interface button {
	width: 80%;
	padding: 10px;
	display: inline-block;
}

#loadsave {
	margin: 40px 0px;
}
#interface #load-save-table {
	display: none;

	width: 90%;
	margin: -40px 5% 40px;
	text-align: left;
}
#interface #load-save-table td * {
	font-size: 12px;
}
#interface #load-save-table td button {
	width: auto;
	padding: 3px;
}
#interface #load-save-table td input[type="text"] {
	width: 150px;
}
#interface #load-save-table td input[type="file"] {
	width: 200px;
}

#connection-adder {
	display: none;
	pointer-events: none;

	position: fixed;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom: 10px;

	background: transparent;
	border: 4px dashed #e74c3c99;
	color: black;
}
#connection-adder p {
	text-align: center;
	opacity: 1;
	transition: opacity 0.8s ease;
}

#property-manager {
	display: none;
	overflow: auto !important;

	width: 800px;
	max-width: 80vw;
	max-height: 90vh;
	padding-bottom: 20px;
	border-radius: 4px;
	overflow: hidden;

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	background: white;
	color: black;
	border: 1px solid #eee;
	z-index: 20;
}
#property-manager > header {
	padding: 0px 40px;

	background-color: #f7f7f7;
	color: inherit;
	border-bottom: 1px solid #f0f0f0;
}
#property-manager > header > h2 {
	color: inherit;
}
#property-manager .content {
	padding: 20px 20px 40px;
	min-height: 200px;
	max-height: 80vh;
	overflow: auto;
	z-index: 20;
}
#property-manager h4 > a {
	font-size: 10px;
}
#roles-container, #edge-props-container {
	float: left;
	width: 100%;
}
#roles-container.editing, #edge-props-container.editing {
	width: calc(80% - 20px);
}
#roles-container .info-role-name {
	display: block;
}
#property-manager #property-options .property-add {
	text-align: center;
	width: calc(20% + 20px);
	padding-left: 20px;
}
#property-manager ul {
	padding: 0;
}
#property-manager #property-options .property-add input[type="text"],
#property-manager #property-options .property-add input[type="range"],
#property-manager #property-options .property-add button,
#property-manager #property-options .property-add select {
	width: 120px;
	max-width: 100%;
}
#property-manager input[type="text"] {
	font-size: 10px;
	width: 60px;
}
#property-manager input[type="range"] {
	width: 60px;
}
#property-manager input[type="number"] {
	width: 60px;
}
#property-manager li {
	width: 80px;
	margin: 5px 10px;
	float: left;
	font-size: 11px;
	text-align: center;
	list-style: none;
}
#property-manager #property-commit {
	margin-top: -20px;
	width: 100%;
	text-align: center;
	clear: both;
}
#property-manager .edit-edge-name, #property-manager .edit-role-name {
	margin-top: 8px;
}
#property-manager .edit-edge-delete, #property-manager .edit-role-delete {
	width: 60px;
	font-size: 10px;
	padding: 0;
	margin-top: 5px;
}

.container {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	width: 450px;
	max-width: 100%;
	position: absolute;
	top: 20px;
	right: 20px;
	display: none;
	z-index: 20;
}

.header {
	position: relative;
	border-bottom: 1px solid #f0f0f0;
	background-color: #f7f7f7;
	padding: 20px 30px;
}

.header h2 {
	margin: 0;
	width: calc(100% - 160px);
}

.top-button {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

div.person-in-team-button {
	position: absolute;
	/* padding: 10px; */
	top: 0px;
	left: 248px;
	display: flex;
  	justify-content: center;
 	align-items: center;
}

div.person-in-team-label {
	position: absolute;
	left: 0px;
}

tr.person-in-team-label {
	position: static;
}

tr.person-in-team-label td:first-of-type {
	text-align: left;
}
tr.person-in-team-label td {
	text-align: center;
}
tr.person-in-team-label td:last-of-type {
	padding-left: 20px;
	text-align: right;
}

#info-form {
	max-width: 100vw;
	max-height: 80vh;
	overflow: auto !important;
}

.form {
    padding: 30px 20px;
}

.form-control {
	margin-bottom: 10px;
	padding-bottom: 20px;
	position: relative;
}

.form-control label {
	display: inline-block;
	margin-bottom: 5px;
}

.form-control .form-input-text {
	border: 2px solid #f0f0f0;
	border-radius: 4px;
	display: block;
	font-family: inherit;
	font-size: 14px;
	padding: 10px;
	width: 100%;
}

.form-control.success input {
	border-color: #2ecc71;
}

.form-control.error input {
	border-color: #e74c3c;
}

.form-control select {
	width: 100%;
}

.form-control.success i.fa-check-circle {
	color: #2ecc71;
	visibility: visible;
}

.form-control.error i.fa-exclamation-circle {
	color: #e74c3c;
	visibility: visible;
}

.form-control small {
	color: #e74c3c;
	position: absolute;
	bottom: 0;
	left: 0;
	visibility: hidden;
}

.form-control.error small {
	visibility: visible;
}

.form .button {
	background-color: #102125;
	border: 2px solid #30757a;
	border-radius: 4px;
	color: #fff;
	display: block;
	font-family: inherit;
	font-size: 16px;
	padding: 10px;
	margin-top: 20px;
    width: 100%;
}

.node-text {
	margin-bottom: 10px;
	padding-bottom: 20px;
	position: relative;
	left: 20px;
	display: inline-block;
	margin-bottom: 5px;
}

.form-control .form-info-text {
	border: none;
	display: block;
	font-family: inherit;
	font-size: 14px;
	padding: 10px;
	width: 100%;
}

#node-info {
	align-items: center;
	justify-content: center;
	position: absolute;
	overflow: visible !important;
}

.edit-team-child {
	background: white;
	position: absolute;
	left: 25%;
	transform: translate(-50%,0);
	text-align: center;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 10px 20px 12px;
	z-index: 20;
}

#node-info #info-children span, #text-change-children td span {
	display: inline-block;
	min-width: 19px;
	height: 14px;
	padding: 0px 5px;
	margin-left: 20px;
	border-radius: 99999px;
	text-align: center;
	font-size: 9px;
	color: white;
	text-shadow: #0005 1px 1px;
	border: 1px solid #0002;
	box-sizing: content-box;
}
#text-change-children td span {
	margin: 0 5px;
	padding: 0;
}

.edge-label {
	color: white;
	border: 1px solid #0001;
	font-size: 9px;
	padding: 0px 3px;
	text-shadow: #0005 1px 1px;
}

.form-input-name {
	border: 2px solid #f0f0f0;
	border-radius: 4px;
	display: block;
	font-family: inherit;
	font-size: 14px;
	padding: 10px;
	width: calc(100% - 170px);
}

input[type="color"] {
	-webkit-appearance: none;
	border: none;
	display: inline-block;
	background-color: #fff;
}
input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type="color"]::-webkit-color-swatch {
	border-radius: 70%;
	height: 32px;
	width: 32px;
	border: 2px solid #30757a;
}

table.edge-table {
	font-size: 12px;
}
table.edge-table td {
	padding: 0 7px;
}