html, body { height: 100% }

body{
	font-family: system-ui;
	background-color: #f5ffff;
	margin: 0;
	text-align: justify;
}

.head-menu a:link, .head-menu a:visited{
	color: #6fbfc3;
	text-decoration: none;
}

.head-menu a:hover {
	color: #6fbfc3;
	text-decoration: none;
	background: lightcyan;
}

.head-menu a:active {
	color: #6fbfc3;
	text-decoration: none;
}

.totalwrapper{
	height: 100%;	
}

.bodywrapper{
	height: 100%;	
}

.bodywrapper, footer, header { position: relative; }

header{
	color: #fefcfd;
	background: #6fbfc3;
	padding: 5px;
}

.header-element{
	display: inline-block;
}

.img-logo{
    max-width: 60px;
    background-color: whitesmoke;
    padding: 5px;
	margin: 0 5px;
    border-radius: 5px;
	vertical-align: middle;
}
.head-logo, .head-title, .head-lang{
	display: inline-block;
}
.head-logo { width: 10%; vertical-align: top; }
.head-title { width: 73%; text-align: center; }
.head-lang { width: 15%; text-align: right; vertical-align: bottom; }

.head-menu{
	text-align: center;
	background-color: #6fbfc3;
	border-top: 1px solid aliceblue;
}
.head-menu a{
	margin: 5px;
    padding: 6px 20px;
    border-radius: 3px;
    display: inline-block;
    background-color: white;
	font-weight: bold;
}


.concept-wrapper{
	margin: 10px;
	background-color: #e1efff;
    padding: 10px;
    border-radius: 5px;
	border: 1px solid #c3dbff;
}

.concept-body{
	margin: 10px;
}

.logout-sec{
	font-size: small;
	font-weight: bold;
	margin-top: -20px;
	text-align: right;
}

.logout-sec a:active, .logout-sec a:visited, .logout-sec a:link{
	text-decoration: none;
	color: white;
}

#left-loading-block, #right-loading-block, #ttip-loading-block{
	display: none;
	background: rgba(255,255,255,0.8);
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
}

#left-loading-block img, #right-loading-block img, #ttip-loading-block img{
	position: relative;
	top:50%;
}

#left-loading-block img{
	max-width: 80px;
	margin-top: 80px;
}

#right-loading-block img{
	max-width: 200px;
}

#ttip-loading-block img{
	max-width: 40px;
	margin-top: -20px;
}

.left-panel{
	width: 22em;
	position: absolute;
	height: 100%;
	background-color: #fefcfd;
    padding: 10px;
    border-radius: 2px;
    border-right: 7px solid #526767;
    overflow: auto;
}

.left-panel-search{
	padding: 5px;
}

.left-panel-top{
	text-align: center;
	padding: 10px;
}

.left-panel-list{
	height: 90%;
	/*overflow: auto;*/
	position: relative;
}

.right-panel{
	vertical-align: top;
	height: 100%;
    border-radius: 2px;
    overflow: auto;
}

#right-loading-block{ margin: -10px;} /* Para compensar el padding de .rightpanel */

.msg-error{
	color: #d60404;
	background-color: #ffbdbd;
	padding: 10px;
	margin: 5px;
	border-radius: 5px;
	border: 1px solid #b34b4b;
}

.initial-msg{
	padding-top: 25%;
    text-align: center;
    font-size: large;
}

.head-list-element{
	padding: 3px;
	position: relative;
    background-color: lightgray;
    border-radius: 10px;
    margin: 2px 5px;
    box-shadow: 0px 3px 0px #635e61;
}

.head-list-selected{
	box-shadow: 0px 1px 0px #635e61;
	top: 2px;
}

.list-element{
	color: #000505;
    padding: 5px 0;
}

.list-element:hover{
	text-shadow: 0 0 10px black;
}

.field-id{
	background-color: #fefcfd;
	border-radius: 5px;
	display: inline-block;
    padding: 5px;
    border: 1px solid;
	max-width: 100%;
	text-align: left;
	word-break: break-all;
}

.field-title{
	font-weight: bold;
}

.rdf-id, .rdf-label, .rdf-parent, .rdf-child, .rdf-property, .rdf-relation, .rdf-comment, .notiene{
	/*padding-left: 20px;*/
	margin-left: 20px;
}
/*.rdf-id::before, .rdf-label::before, .rdf-parent::before, .rdf-child::before, .rdf-property::before, .rdf-relation::before, .rdf-comment::before, .notiene::before {
	content: "\000009\000009";
}*/

/*.list-element a, .rdf-parent a, .rdf-child a, .rdf-property a, .rdf-relation a{
	text-decoration: underline;
	color: #3b3355;
}*/

.head-list-element a:hover, .list-element a:hover, .rdf-parent a:hover, .rdf-child a:hover, .rdf-property a:hover, .rdf-relation a:hover{
	cursor: pointer;
}

.relation-id{
	font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace;
}

.notiene{
	color: #8c8c8c;	
}

.btn {
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    cursor: pointer;
    padding: 5px 15px;
    display: inline-block;
    margin: 5px;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    
    background: #4eaecb;
    color: #fff;
    box-shadow: 0 6px #3c87ab;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
    
    border-radius: 40px;
}

.btn:hover {
	box-shadow: 0 4px #3c87ab;
	top: 2px;
}

.btn:active {
	box-shadow: 0 0 #3c87ab;
	top: 6px;
}

.btn:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.input-text {
  margin: 0;
  padding: 7px;
  font-family: inherit;
  border: 1px solid lightgray;
  border-radius: 0.4rem;
  transition: box-shadow 0.5s;
}

.input-text:focus {
  outline: none;
  box-shadow: 1px 1px 3px lightgray;
}

footer{
	text-align: center;	
	margin-top: 1.5em;
	background-color: #2b9da3;
	color: #fff;
}

/* Tooltip text */
.tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: #555;
    color: #fff;
    padding: 5px 0;
    border-radius: 6px;
	text-align: left;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 5%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip{
	position: relative;
	display: block;
}

/* Show the tooltip text when you mouse over the tooltip container */
/* Ahora se hace con JavaScript para no mostrarlo en caso de que no haya información en el tooltip */
/*.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}*/

/* scrollbar */
.totalwrapper ::-webkit-scrollbar { width: 10px; }
.totalwrapper ::-webkit-scrollbar-track { background: #f1f1f1; }
.totalwrapper ::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }
.totalwrapper ::-webkit-scrollbar-thumb:hover { background: #555; }


@media (max-width: 800px) {
	.totalwrapper{
		height: initial;	
	}
	
	.bodywrapper{
		height: initial;	
	}

	.left-panel{
		width: initial;
		position: relative;
		height: 300px;
	    border-right: 0;
	}
	
	.left-panel-list {
		height: 75%;	
	}
	
	.right-panel{
		margin-left: 0;
		vertical-align: initial;
		height: initial;
	}
	
	footer{
		margin-top: 0;
	}
  
}

.title-results{
	text-align: center;
	font-style: italic;
	font-size: larger;
	font-weight: bold;
	margin-bottom: 20px;
}

/** Form Style **/
.form-style-2{
	padding: 20px 12px 10px 20px;
	background-color: white;
	font: 13px Arial, Helvetica, sans-serif;
}
.form-style-2-heading{
	font-weight: bold;
	font-style: italic;
	border-bottom: 2px solid #ddd;
	margin-bottom: 20px;
	font-size: 15px;
	padding-bottom: 3px;
}
.form-style-2 label{
	display: block;
	margin: 0px 0px 15px 0px;
}
.form-style-2 label > span{
	width: 100px;
	text-align: right;
	font-weight: bold;
	float: left;
	padding-top: 8px;
	padding-right: 5px;
}
.form-style-2 span.required{
	color:red;
}
.form-style-2 .tel-number-field{
	width: 40px;
	text-align: center;
}
.form-style-2 input.input-field, .form-style-2 .select-field{
	width: 48%;	
}
.form-style-2 input.input-field, 
.form-style-2 .tel-number-field, 
.form-style-2 .textarea-field, 
 .form-style-2 .select-field{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 1px solid #C2C2C2;
	box-shadow: 1px 1px 4px #EBEBEB;
	-moz-box-shadow: 1px 1px 4px #EBEBEB;
	-webkit-box-shadow: 1px 1px 4px #EBEBEB;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	padding: 7px;
	outline: none;
}
.form-style-2 .input-field:focus, 
.form-style-2 .tel-number-field:focus, 
.form-style-2 .textarea-field:focus,  
.form-style-2 .select-field:focus{
	border: 1px solid #6fbfc3;
}
.form-style-2 .textarea-field{
	height:100px;
	width: 55%;
}
.form-style-2 input[type=submit],
.form-style-2 input[type=button]{
	border: none;
	padding: 8px 15px 8px 15px;
	margin: 0 5px;
	background: #6fbfc3;
	cursor: pointer;
	color: #fff;
	box-shadow: 1px 1px 4px #DADADA;
	-moz-box-shadow: 1px 1px 4px #DADADA;
	-webkit-box-shadow: 1px 1px 4px #DADADA;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
.form-style-2 input[type=submit]:hover,
.form-style-2 input[type=button]:hover{
	background: #107bce;;
	color: #fff;
}

#form-search, #form-fields{
	display: inline-block;
	margin: 1%;
	vertical-align: top;
}

#form-search{ width: 20%; }
#form-fields{ width: 75%; }

#left-block, #right-block{
	display: inline-block;
	width: 49%;
}

#print-mode, #search-mode{ display: none; }

#print-mode{
	border-radius: 3px;
	border: 1px dashed;
	padding: 10px;
	width: fit-content;
	margin-top: 20px;
}

#print-mode span{
	text-decoration: underline;
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
}

#print-mode label{
	display: inline;
	cursor: pointer;
	margin-left: 20px;
}

#print-mode input{
	vertical-align: bottom;
}

/** TreeView */
/* Remove default bullets */
ul, #myUL {
	list-style-type: none;
  }
  
  /* Remove margins and padding from the parent ul */
  #myUL {
	margin: 0;
	padding: 0;
  }
  
  /* Style the caret/arrow */
  .caret {
	cursor: pointer;
	user-select: none; /* Prevent text selection */
  }
  
  /* Create the caret/arrow with a unicode, and style it */
  .caret::before {
	content: "\25B6";
	color: black;
	display: inline-block;
	margin-right: 6px;
  }
  
  /* Rotate the caret/arrow icon when clicked on (using JavaScript) */
  .caret-down::before {
	transform: rotate(90deg);
  }
  
  /* Hide the nested list */
  .nested {
	display: none;
  }
  
  /* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
  .active {
	display: block;
  }