body {
  font-family: Calibri, Segoe, "Segoe UI", "Gill Sans", "Gill Sans MT", sans-serif;  
  margin-right: 10%;
  margin-left: 10%;
  
}

tbody:before {
    line-height:1em;
    content:"<div class="spinner-border text-primary" role="status" align="center"> </div>";
    color:red;
    display:block;
    align-content: center;
}

.error {
    color: red;
    font-style: italic;
}

/* .circle-container {
    position: relative;
    width: 90em;
    height: 48em;
    padding: 2.8em;
    2.8em = 2em*1.4 (2em = half the width of a link with img, 1.4 = sqrt(2))
    border: dashed 1px ;   
    border-color: rgba(0,128,0, .5);
    border-radius: 50%;
    margin: 1.75em auto 0;
}
.circle-container div {
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    width: 18em; height: 4em;
    margin: -6em;
}
.circle-container img { display: block; width: 100%; }

.deg0 { transform: translate(36em); } 12em = half the width of the wrapper
.deg45 { transform: rotate(45deg) translate(27em) rotate(-45deg); }
.deg90 { transform: rotate(90deg) translate(9em) rotate(-90deg); }
.deg135 { transform: rotate(135deg) translate(27em) rotate(-135deg); }
.deg150 { transform: rotate(150deg) translate(27em) rotate(-150deg); }
.deg180 { transform: translate(-40em); }
.deg225 { transform: rotate(225deg) translate(27em) rotate(-225deg); }
.deg200 { transform: rotate(200deg) translate(27em) rotate(-200deg); }
.deg270 { transform: rotate(270deg) translate(27em) rotate(-270deg); }
.deg315 { transform: rotate(315deg) translate(27em) rotate(-315deg); }
 */


/* https://codepen.io/ross-angus/pen/jwxMjL */
/* It's supposed to look like a tree diagram */
.tree, .tree ul, .tree li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    
}

.tree {
    margin: 0 0 1em;
    text-align: center;
    border: 5px solid red;
}

.tree, .tree ul {
    display: table;
    list-style: inside;
    text-align: center;
    border: 5px solid red;
}

.tree ul {
  width: 100%;
  border: 5px solid red;
}

.tree li {
	display: table-cell;
    padding: .5em 0;
    vertical-align: top;
    border: 1px solid green;
}


/* _________ */
.tree li:before {
/*     outline: solid 1px #666;
 */    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.tree li:first-child:before {left: 50%;}

.tree li:last-child:before {right: 50%;}

/* Orginally it was the span tag here but it interfered with select2 so we used em instead of span */
.tree code, .tree em {
    border: solid .1em blue;
    border-radius: 10em;
    display: inline-block;
    margin: 0 .2em .5em;
    padding: .2em .5em;
    position: relative;
    text-align: center;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    
}

/* If the tree represents DOM structure */
.tree code {
    font-family: monaco, Consolas, 'Lucida Console', monospace;
}

/* | */
.tree ul:before,
.tree code:before,
.tree em:before {
/*     outline: solid 1px #666;
 */    content: "";
    height: .5em;
    left: 50%;
    position: absolute;
/*     line-height: 1em;
 */}

.tree ul:before {
    top: -.5em;
}

.tree code:before,
.tree em:before {
    top: -.55em;
}

/* The root node doesn't connect upwards */
	.tree > li {margin-top: 0;}
    .tree > li:before,
    .tree > li:after,
    .tree > li > code:before,
    .tree > li > em:before {
      outline: none;
	}

li a, .dropbtn 
{
    display: inline-block;
    color: blue;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn 
{
    background-color: none;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content 
{
    display: none;
    position: absolute;
    background-color: #BDBDBD;
    min-width: 70px;
    box-shadow: 5px 5px 5px 5px ;
    z-index: 1;
}

.dropdown-content a 
{
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover 
{
background-color: #f1f1f1;

}

.dropdown:hover .dropdown-content {
    display: block;
}

hr {
width: 50%;
text-align: right;
margin-right: 0;
}





.treeEM {
    border: solid .1em blue;
    border-radius: 10em;
    display: inline-block;
    margin: 0 .2em .5em;
    padding: .2em .5em;
    position: relative;
    text-align: center;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    width: auto;
/*     background-color: #00F000;
 */}


