.org-chart ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.dir, .deputyDir {
	background: #3aa39c;
	height: 65px;
	font-size: 1.3rem;
	border: unset !important;
}

.pt .dir, .pt .deputyDir, .en .dir, .en .deputyDir {
	font-size: 1.1rem;
}
.dir span, .deputyDir span {
	color: white;
}
.dir {
	width: 13rem;
	margin: 0 auto 0px auto;
}
.deputyDir {
	width: 12.5rem;
	height: 64px;	
}

.content {
	width: 100%;
}

.administration a{
	font-weight: bolder;
	text-decoration: none;
	font-weight: bold;
	overflow: hidden;
	box-shadow: 4px 4px 9px -4px rgba(0, 0, 0, 0.4);
	-webkit-transition: all linear .1s;
	-moz-transition: all linear .1s;
	transition: all linear .1s;
	border: 2px solid #cdcdcd;
	line-height: 1;
}

.departments{
	justify-content: space-evenly;
}

.department a {
	height: 58px;
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.pt .department a, .en .department a {
	font-size: 1rem;
}
.department span {
	color:black;
	line-height: 1;
	text-align: center;
}

.department{
	width: 19.59894921190893%;
}

.departments:before {
	content: "";
	width: 72%;
	border: 2px solid #cdcdcd;
	margin-left: 14%;
	margin-right: 14%;
	height: 2.5rem;
	border-bottom: unset;
	border-right: unset;
}

.director>li:before {
	content: "";
	position:absolute;
	height: 9rem;
	border-left: 2px solid #cdcdcd;
	top: 65px;
	left: 50%;
}

ul.subdirector {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 21%;
    position: relative;
}

.subdirector:before{
	content: "";
	border-bottom: 2px solid #cdcdcd;
	border-right: 2px solid #cdcdcd;
	position:absolute;
	top: 0;
	width: 8%;
	left: 12.5rem;
	margin-left: 21%;
	height: 4.7rem;
}

.dep-a .section:before{
	content: "";
	border-left: 2px solid #cdcdcd;
	position:absolute;
	height:2rem;
	top: -2rem;
	left: 50%;
}

.dep-b .section:before{
	content: "";
    border-left: 2px solid #cdcdcd;
    position: absolute;
    height: 5.7rem;
    top: -3.8rem;
    left: -.5rem;
    width: .5rem;
    border-bottom: 2px solid #cdcdcd;
}

.dep-b .section:first-child:before {
    border-top: 2px solid #cdcdcd;
}

.dep-b, .dep-c, .dep-e, .section{
	position:relative;
}

.dep-b:before, .dep-c:before, .dep-e:before {
	content: "";
	border-left: 2px solid #cdcdcd;
	position:absolute;
	height:2.5rem;
	top: -2.5rem;
	left: 50%;
	
}

.director>li{
	position: relative;
}

.contentContainer {
    font-weight: bolder;
}

.contentContainer>p {
    margin-bottom: 0.5rem;
}

.deptTitle {
    background: #3aa39c;
    font-size: 1.3rem;
    font-weight: bolder;
    color: white;
    height: 4rem;
    padding: 0 1.3rem;
}

.pt .deptTitle, .en .deptTitle{
	font-size: 1.1rem;
}

.deptContact>.cell:first-child{
	font-size: 2rem;
	color: #3aa39c;
	font-weight: bolder;
}

.pt .deptContact>.cell:first-child , .en .deptContact>.cell:first-child{
	font-size: 1.5rem;
}

.deptContact>.cell:first-child, .deptFn>.cell:first-child {
    width: 33%;
    padding-right: 10px;
}

.deptContact, .deptFn {
    padding: 1.3rem;
    line-height: 1;
}

.deptContact {
    border-bottom: 1px solid #dfdfdf;
}

.deptContact a {
    color: black;
}

.deptFn>.cell:first-child {
    font-size: 1.2rem;
    line-height: 1.5rem;
}

/* .pt .deptFn>.cell:first-child, .en .deptFn>.cell:first-child {
    font-size: 1.3rem;
} */

.deptFn>.cell:nth-child(2) {
    font-weight: bolder;
}

.deptContact>.cell:nth-child(2) p:last-child, .deptFn>.cell:nth-child(2) p:last-child {
    margin: 0;
}


.deptDetails> div {
    background: white;
    margin-bottom: 1rem;
    -webkit-filter: drop-shadow(0 0 0.5rem #dfdfdf);
}

.deptTitle .fa-minus {
    color: white;
}

.deptTitle .fa-plus {
    color: #3aa39c
}

.closed .fa-minus, .fa-plus {
	display: none;
}

.closed .fa-plus {
	display: block;
}

.closed .deptTitle, .closed .deptTitle:hover, .closed .deptTitle:focus {
    background: white;
    color: black;
    -webkit-filter: unset;
}

.deptDetails > .closed {
    -webkit-filter: unset;
    border: 2px solid #eeeeee;
}

.deptTitle i{
	font-size: 1.5rem;
}

a.deptTitle, a.deptTitle:hover, a.deptTitle:focus{
	color: white;
}

.dir:hover, .deputyDir:hover {
    background: #1a847d;
}

.department a:hover {
    background: lightgoldenrodyellow;
}

#dirDetails .deptTitle span:nth-child(2), #deputyDirDetails .deptTitle span:nth-child(2), .closed .deptTitle span:nth-child(2) {
    display: none;
}

.deptContact>.cell:first-child, .deptFn>.cell:first-child{
	margin-bottom: 1rem;
}

.deptContent .contactIcon {
    margin-right: .5rem;
    margin-bottom: 1rem;
    font-size: inherit;
    line-height: 1.6;
}

.deptContent .contactIcon:before {
    color:#b39402;
    width: 1.5rem;
    margin-right: .5rem;
}

.contactIcon .cell {
    font-weight: bolder;
}
	
@media screen and (max-width: 39.9375em) {
	.department{
		width:70%;
	}
	.dir{
		width:70%;
		margin-bottom: 2rem;
	}
	.deputyDir{
		width:70%;
		margin-bottom: 2rem;
		margin-left:auto;
		margin-right:auto;
	}
	ul.subdirector{
		padding: 0;
	}
	.departments:before {
		content: unset;
	}

	.subdirector:before{
		border-bottom: 2px solid #cdcdcd;
		border-left: 2px solid #cdcdcd;
		border-right: unset;
		top: -4rem;
		width: 5%;
		left: 10%;
		margin-left: 0;
		height: 6.2rem;
	}
	.dep-a, .dep-b, .dep-c{
		position: relative;
	}
	.dep-a:before, .dep-b:before, .dep-c:before {
		content: "";
		border-left: unset;
		border-top: 2px solid #cdcdcd;
		position:absolute;
		width: 14%;
		top: 29px;
		left: -14%;
	}
	
	.dep-e:before {
		content: none;
	}

	.director>li:before {
        position: absolute;
        height: 45.7rem;
        border-left: 2px solid #cdcdcd;
        border-top: 2px solid #cdcdcd;
        border-bottom: 2px solid #cdcdcd;
        top: 33px;
        left: 5%;
        width: 10%;
	}
	.deptContent .deptContact>.cell, .deptContent .deptFn>.cell {
	    width: 100%;
	}
	
	.deptContent .deptContact>.cell.auto, .deptContent .deptFn>.cell.auto {
	    flex: 0 0 auto;
	}
	
	.dep-b .section:before{
		left: -7%;
		width: 7%;
	}
	.dep-b .section:first-child:before {
		top: -3rem;
    	height: 4.9rem;
    }
}
@media screen and (min-width: 40em) and (max-width: 50em) {
	.subdirector:before{
		position:absolute;
		top: 0;
		width: 4%;
		left: 12.5rem;
		margin-left: 10%;
		height: 4.7rem;
	}
	ul.subdirector{
		padding-left: 10%;
	}
}

@media screen and (min-width: 40em) {
	.department.dep-c a, .department.dep-e a {
	    margin-top: 5.63rem;
	}
	.dep-c:before, .dep-e:before {
	    height: 8.23rem;
	}
}

@media screen and (min-width: 50em) and (max-width: 62em) {
	.subdirector:before{
		margin-left: 14%;
	}
	
	ul.subdirector{
		padding-left: 14%;
	}
}

@media print {
    .department.dep-c a, .department.dep-e a {
	    margin-top: 6rem;
	}
	.dep-c:before, .dep-e:before {
	    height: 8.5rem;
	}
    .dep-b .section:nth-child(2):before{
        height: 6.5rem;
        top: -4.3rem;
    }
    .subdirector:before {
        width: 3%;
        left: 12.5rem;
        margin-left: 21%;
    }

    .dir, .deputyDir {
        border: 2px solid #cdcdcd !important;
    }
    .director>li:before {
        height: 9.5rem;
    }
}