
.tooltip-inner {
	max-width: 600px;
}

.content {
	position: relative;
	margin-bottom: 4rem;
}
.content * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.director {
	font-size: 1.35rem;
	font-weight: 600;
}

.h1 {
	border-top: 2px solid #aaa;
	position: absolute;
	right: 50%;
	width: 220px;
	top: 60px;
}

/* vertical line connecting dir office to divisions */
.v1 {
	border-left: 2px solid #aaa;
	height: 347px;
	position: absolute;
	left: 50%;
	top: 35px;
}

/* vertical line connecting obop to observatories */
.v2 {
	border-left: 2px solid #aaa;
	height: 185px;
	position: absolute;
	left: 88%;
	top: 400px;
}


.top {
	position: relative;
	left: 100%;
}

.diroffice {
	background-color: #eeeeee;
	border: 1px solid #aaa;
	margin-bottom: 1rem;
	padding: 1rem 5rem;
}

.title {
	position: absolute;
	top: 0.7rem;
	left: 1rem;
	color: #666;
	font-size: 1.5rem;
}

.org-chart {
	display: block;
	clear: both;
	margin-bottom: 30px;
}

.org-chart.cf:before, .org-chart.cf:after {
	content: " ";
	display: table;
}

.org-chart.cf:after {
	clear: both;
}

.org-chart.cf {
	*zoom: 1;
}

.org-chart ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.org-chart ul li {
	position: relative;
}

/* the div inside a division li */
.node {
	display: block;
	border: 1px solid #aaa;
	text-align: center;
	overflow: hidden;
	text-decoration: none;
	color: #444;
	box-shadow: 4px 4px 9px -4px rgba(0, 0, 0, 0.4);
	padding: 4px;
	background-color: #fff; 
	border-radius: 6px;
}

/* box containing observatory nodes */
.org-chart .zzz {
	width: 95%;
	margin: 0;
	display: block;
	position: relative;
	top: 30px;
}

.org-chart ul.columnOne {
	clear: both;
}

.org-chart ul.columnOne li {
	width: 30%;
	margin: 0px auto;
	top: 5px;
}

.org-chart ul.columnSingle {
	position: relative;
	width: 100%;
	display: block;
	clear: both;
}

.org-chart ul.columnSingle li {
	width: 28%;
	float: left;
}

.org-chart ul.columnSinglex:before {
	content: "";
	display: block;
	position: relative;
	width: 24%;
	height: 10px;
	border-top: 2px solid #aaa;
	margin: 0 auto;
	top: 40px;
	left: -112px;
}

.org-chart ul.columnTwo {
	position: relative;
	width: 100%;
	display: block;
	height: 90px;
	clear: both;
}

.org-chart ul.columnTwo li:first-child {
	width: 28%;
	float: left;
}

.org-chart ul.columnTwo li {
	width: 28%;
	float: right;
}

.org-chart ul.columnTwo:before {
	content: "";
	display: block;
	position: relative;
	width: 80%;
	height: 10px;
	border-top: 2px solid #aaa;
	margin: 0 auto;
	top: 27px;
}
.org-chart ul.columnThree {
	position: relative;
	width: 100%;
	display: block;
	clear: both;
}
.org-chart ul.columnThree li:first-child {
	width: 28%;
	float: left;
	margin-left: 0;
}

.org-chart ul.columnThree li {
	width: 30%;
	margin-left: 5%;
	float: left;
}

.org-chart ul.columnThree li:last-child {
	width: 28%;
	float: right;
	margin-left: 0;
}

.org-chart ul.columnThree:before {
	content: "";
	display: block;
	position: relative;
	width: 30%;
	height: 10px;
	border-top: 2px solid #aaa;
	margin: 0 auto;
	top: 40px;
	left: 70px;
}

.org-chart .divisions {
	width: 100%;
	display: block;
	clear: both;
}

.org-chart .divisions:before {
	content: "";
	display: block;
	width: 884px;
	height: 22px;
	border-top: 2px solid #aaa;
	margin: 0 auto;
	top: 0px;
	position: relative;
	left: -25px;
}

.org-chart .sections {
	width: 100%;
	display: block;
	clear: both;
}

.org-chart .sections:before {
	content: "";
	display: block;
	width: 63%;
	height: 22px;
	border-top: 2px solid #aaa;
	border-left: 2px solid #aaa;
	border-right: 2px solid #aaa;
	margin: 0 auto;
	top: 0px;
	position: relative;
	left: 96px;
}

.org-chart .divisionitem {
	border-left: 0px solid #aaa;
	width: 15.2%;
	float: left;
	margin: 0px 4px;
	background-color: #fff;
	z-index: 100;
}

/* vertical lines to division nodes for wide screen */
.org-chart .divisionitem:after {
	content: "";
	position: absolute;
	display: block;
	width: 10px;
	height: 22px;
	border-left: 2px solid #aaa;
	left: 50%;
	top: -22px;
}

.org-chart .section:first-child:after {
	display: none;
}

.org-chart .section:last-child:after {
	display: none;
}

.org-chart .section {
	border-left: 0px solid #aaa;
	width: 20%;
	float: right;
	margin: 0px 4px;
}

.org-chart .section:after {
	content: "";
	position: absolute;
	display: block;
	width: 10px;
	height: 22px;
	border-left: 2px solid #aaa;
	left: 50%;
	top: -22px;
}

.org-chart .divisionitem li {
	padding-left: 10px;
	border-bottom: 2px solid #aaa;
	height: 80px;
}
.ccgg {
	border: 4px solid seagreen;
}
.grad {
	border: 4px solid firebrick;
}
.logos {
	border: 4px solid goldenrod;
}
.ozwv {
	border: 4px solid cadetblue;
}
.ttea {
	border: 4px solid #448;
}
.obop {
	border: 4px solid #66a;
}

/* MEDIA QUERIES */
@media all and (max-width: 1198px) {
  .v2 {
	  height: 179px;
  }
  .org-chart .divisions:before {
	  width: 747px;
	  left: -16px;
  }
  .org-chart ul.columnSinglex:before {
	  left: -91px;
  }
}
@media all and (max-width: 990px) {
  .diroffice {
	  padding: 0 1rem;
  }
  .v2 {
	  height: 250px;
	  left: 89%;
  }
  .org-chart .divisions:before {
	  width: 564px;
	  left: -6px;
  }
  .org-chart ul.columnSinglex:before {
	  left: -78px;
  }
}

@media all and (max-width: 767px) {

.v1 {
	height: 96%;
}

.v2 {
	display: none;
}

.org-chart .section:after {
	display: none;
}

  .org-chart .divisions:before {
    border: none;
  }
  .org-chart .divisionitem {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
    z-index: 100;
    background-color: #fff;
  }
  .org-chart .divisionitem:before {
    content: "";
    display: none;
    position: absolute;
    width: 15px;
    height: 20px;
    border-left: 2px solid #aaa;
    z-index: 1;
    top: -19px;
    left: 49%;
    margin-left: -2px;
    z-index: 1;
  }
  .org-chart .divisionitem:after {
    display: none;
  }
  .org-chart .divisionitem:first-child:before {
    display: none;
  }
  .org-chart .zzz {
	  width: 100%;
  top: 0px;
  }

  .org-chart .section {
	  float: none;
	  width: 90%;
	  margin: 0 auto 20px;
  }

.org-chart .sections:before {
  content: "";
  border: 0;
}

.title {
	display: none;
}
  .org-chart ul.columnSinglex:before {
	  left: -56px;
  }
}
@media all and (max-width: 576px) {
  .org-chart ul.columnSinglex:before {
	  left: -37px;
  }
  .h1 {
	  width: 110px;
  }
  }
@media all and (max-width: 450px) {
.org-chart ul {
	margin-bottom: 10px;
}
  .org-chart ul.columnSinglex:before {
	  left: -37px;
  }
  .h1 {
	  width: 90px;
	  top: 56px;
  }
.org-chart ul.columnTwo li:first-child {
	width: 38%;
	font-size: 0.9rem;
}
.org-chart ul.columnTwo li {
	width: 38%;
	font-size: 0.9rem;
}
  }
