html {
	margin: 0px;
	font-family:sans-serif;
	box-sizing:border-box;
}

body {
	box-sizing:border-box;
	display:flex;
	flex-direction:column;
	font-family:sans-serif;
	height: 100vh;
	margin: 0px;
	overflow:hidden;
	width: 100vw;
}

/* Header bar */
.headerdiv {
	background-color: #D1E8E2;
	flex: 0 0;
	padding: 1px;
}

.login-tab {
	position:fixed;
	top:0;
	right:5vw;
	padding:0.25em;
	color:#FFCBA9;
	background-color:#2C3531;
	border-bottom-left-radius:0.25em;
	border-bottom-right-radius:0.25em;
}
/* Content div */
.contentdiv {
	background-color: white;
	color: #2C3531;
	flex: 1 1;
	overflow: scroll;
}

/* Footer bar */
.footerdiv {
	background-color: #116466;
	color: white;
	flex: 0 0
}

.nowrap {
	white-space: nowrap;
}

.hidden {
	display: none;
}

.button {
	margin-left: -1em;
	width:1em;
	display:inline-block;
	user-select: none;
	-webkit-user-select:none;
	
}

.hide-button:before {
	content:"▼";
}

.show-button:before {
	content:"▶";
}

.element-container {
	margin-left: 2em;
}

.dropdown {
	position:relative;
	display:inline-block;    
}

.error .error-list {
	display:none;
	position:absolute;
	color:black;
	background-color:silver;
	min-width:25vw;
	z-index:1;
	white-space:normal;
}

.error:hover .error-list {
	display:inline;
}

.warning .error-list {
	display:none;
	position:absolute;
	color:black;
	background-color:silver;
	min-width:25vw;
	z-index:1;
	white-space:normal;
}

.warning:hover .error-list {
	display:inline;
}

.attribute {
	margin-left: 0.25em;
	white-space: nowrap;
}

.content {
	min-width:25vw;
	/* max-width:75vw; */
	width:75vw;
	height:100vh;
	overflow:scroll;
	/* display: table-cell; */
}

.base {
	color: rgb(136,18,128);
	font-family: monospace, sans-serif;
	float:none;
	padding-top:1em;
}

.element-name {
	color: rgb(136,18,128);
}

.attribute-name.omitted {
	color: rgb(153,69,0);
}

.attribute-name {
	color: rgb(153,69,0);
}

.attribute-value {
	color: rgb(26,26,166);
}

.element-value {
	word-wrap:break-word;
	color: rgb(26,26,166);
}

.error {
	border-bottom: 2pt solid red;
}

ul .info {
	border-bottom: 2pt solid blue;
}

ul .success {
	border-bottom: 2pt solid green;
}

.error-icon {
	background-color: red;
	color: white;
	user-select:none;
	-webkit-user-select:none;
}

.warning {
	border-bottom: 2pt solid yellow;
}

.warning-icon {
	background-color: yellow;
	color: black;
	user-select:none;
	-webkit-user-select:none;
}

.optional {
	font-style: italic;
}

.omitted {
	opacity: 0.2;
}

.removable {
	
}

.split-view {
	display: table;
	height: 90%;
}

.split-panel {
	display: table-cell;
}

.resize-x { 
	resize: horizontal;
	overflow: auto;
}

.message-menu {
	min-width:25vw;
	width:25vw;
	max-width:75vw;
	float:left;
	background-color:ghostwhite;
	overflow:scroll;
}

table.message-list-table {
	border-collapse:collapse;
	min-width: 25vw;
}

table.message-list-table thead th {
	position:sticky;
	background-color:#2C3531;
	color:#FFCBA9;
	top:0;
}

table.message-list-table tbody tr:nth-child(even) {
	background-color:#D1E8E2;
}

table.message-list-table td {
	white-space:nowrap;
}

table.message-list-table tbody .row-selected {
	background-color: aqua !important;
}

div.box {
	margin: 0.5em;
	min-height; 20em;
	display:flex;
	flex-direction: column;
}

div.box div.box_title {
	background-color: #2C3531;
	color: #FFCBA9;
	border-top-right-radius: 0.5em;
	border-top-left-radius: 0.5em;
	padding:0.5em;
	border: 0.1em solid #2C3531;
}

div.box div.box_content {
	flex-grow:1;
	border-bottom-right-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	padding:0.5em;
	border: 0.1em solid #2C3531;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	display:flex;
	flex-direction:column;
}

div.box div.box_title a {
	color: #FFCBA9;
	text-decoration: none;
}

.segmented-control {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	list-style: none; 
	overflow: hidden;
	user-select:none;
	/* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

#segmented {
	position:relative;
}

#segmented:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  border-top: 1px solid #2C3531;
  background: #2C3531;
  width: 100%;
  transform: translateY(-50%);
}

.segmented-control li {
	float: left;
	padding: 0.5em;
	background-color:white;
	border-left: 1pt solid #2C3531;
	border-top: 1pt solid #2C3531;
	border-bottom: 1pt solid #2C3531;
	user-select:none;
	-webkit-user-select:none;
}

.segmented-control li:first-child {
	border-top-left-radius: 0.25em;
	border-bottom-left-radius: 0.25em;
}

.segmented-control li:last-child {
	border-right: 1pt solid #2C3531;
	border-top-right-radius: 0.25em;
	border-bottom-right-radius: 0.25em;
}

.segmented-control li.selected {
	color: #FFCB9A;
	background-color: #2C3531;
}



/* Headings */
.colourh2 {
	color: #116466;
	border-bottom: 2pt solid #116466;
}

.breadcrumb { 
	list-style: none; 
	overflow: hidden; 
	font: 18px Sans-Serif;
  }
.breadcrumb li { 
	float: left; 
}
.breadcrumb li a {
	color: white;
	text-decoration: none; 
	padding: 10px 0 10px 55px;
	background: brown; /* fallback color */
	background: hsla(34,85%,35%,1); 
	position: relative; 
	display: block;
	float: left;
}

.breadcrumb li a::after { 
	content: " "; 
	display: block; 
	width: 0; 
	height: 0;
	border-top: 50px solid transparent; /* Go big on the size, and let overflow hide */
	border-bottom: 50px solid transparent;
	border-left: 30px solid hsla(34,85%,35%,1);
	position: absolute;
	top: 50%;
	margin-top: -50px; 
	left: 100%;
	z-index: 2; 
}

.breadcrumb li a::before { 
	content: " "; 
	display: block; 
	width: 0; 
	height: 0;
	border-top: 50px solid transparent;       
	border-bottom: 50px solid transparent;
	border-left: 30px solid white;
	position: absolute;
	top: 50%;
	margin-top: -50px; 
	margin-left: 1px;
	left: 100%;
	z-index: 1; 
  }

  .breadcrumb li:first-child a {
	padding-left: 10px;
  }

.breadcrumb li:nth-child(2) a       { background:        hsla(34,85%,45%,1); }
.breadcrumb li:nth-child(2) a:after { border-left-color: hsla(34,85%,45%,1); }
.breadcrumb li:nth-child(3) a       { background:        hsla(34,85%,55%,1); }
.breadcrumb li:nth-child(3) a:after { border-left-color: hsla(34,85%,55%,1); }
.breadcrumb li:nth-child(4) a       { background:        hsla(34,85%,65%,1); }
.breadcrumb li:nth-child(4) a:after { border-left-color: hsla(34,85%,65%,1); }
.breadcrumb li:nth-child(5) a       { background:        hsla(34,85%,75%,1); }
.breadcrumb li:nth-child(5) a:after { border-left-color: hsla(34,85%,75%,1); }

.breadcrumb li:last-child a {
  background: transparent !important;
  color: #116466;
  font-weight: bold;
  pointer-events: none;
  cursor: default;
}
.breadcrumb li:last-child a::before { 
  border: 0;
}
.breadcrumb li:last-child a::after { 
  border: 0;
}

.breadcrumb li a:hover { 
	background: hsla(34, 85%, 25%, 1); 
}

.breadcrumb li a:hover:after { 
	border-left-color: hsla(34, 85%, 25%, 1) !important; 
  }