

*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}

.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/* Generic styling */

body{
	background: #F5EEC9;	
}

.content{
	width: 100%;
	max-width: 1242px;
	margin: 0 auto;
	padding: 0 20px;
}

a:focus{
	outline: 2px dashed rgb(171, 212, 210);
}

@media all and (max-width: 767px){
	.content{
		padding: 0 20px;
	}	
}

ul{
	padding: 0;
	margin: 0;
	list-style: none;		
}

ul a{
	display: block;
	background: rgb(122, 172, 248);
	border: 4px solid rgb(171, 212, 210);
	text-align: center;
	overflow: hidden;
	font-size: 11px;
	text-decoration: none;
	font-weight: bold;
	color: #333;
	height: 70px;
	margin-bottom: -26px;
	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;
}


@media all and (max-width: 767px){
	ul a{
		font-size: 11px;
	}
	ul a span{
	 
	margin-top: 15px;
	display: block;
}
}


ul a span{
	 
	margin-top: 5px;
	padding-top: 10px;
	display: block;
}

/*
 
 */

.administration > li > a{
	margin-bottom: 25px;
}

.director > li > a{
	width: 41%;
	margin: 0 auto 0px auto;
	height: 80px;
	 
}

.departments > li > a{
	 
	height: 75px;
	 
}
.subdirector:after{
	content: "";
	display: block;
	width: 0;
	height: 130px;
	 
	border-left: 4px solid rgb(171, 212, 210);
	left: 49.45%;
	position: relative;
}

.subdirector,
.departments{
	position: absolute;
	width: 100%;
}

.subdirector > li:first-child,
.departments > li:first-child{	
	width: 28.59894921190893%;
	height: 64px;
	margin: 0 auto 92px auto;		
	padding-top: 25px;
	border-bottom: 4px solid rgb(171, 212, 210);
	z-index: 1;	
}

.subdirector > li:first-child{
	float: right;
	right: 37.2%;
	border-left: 4px solid rgb(171, 212, 210);
}

.departments > li:first-child{	
	float: left;
	left: 21.2%;
	border-right: 4px solid rgb(171, 212, 210);	
}

.subdirector > li:first-child a,
.departments > li:first-child a{
	width: 100%;
}

.subdirector > li:first-child a{	
	left: 25px; 
	  
		 
	 
}

@media all and (max-width: 767px){
	.subdirector > li:first-child,
	.departments > li:first-child{
		width: 63.5%;	
	}

 
	.subdirector > li:first-child{
		right: 10%;
		margin-right: 4px;
	}

	.subdirector:after{
		left: 69.8%;

	}

	.departments > li:first-child{
		left: 7%;
		margin-left: 2px;
	}

	.director > li > a{
		width: 80.2%;
		left: 10%;
}


}
.departments > li:first-child a{
	right: 25px;
}

.department:first-child,
.departments li:nth-child(2){
	margin-left: 0;
	clear: left;	
}
ul a{
	font-size: 11px;
}

ul a span{
	 
	padding-top: 8px;
	 
	display: block;
}
.departments:after{
	content: "";
	display: block;
	position: absolute;
	width: 67.1%;
	height: 28px;	
	border-top: 4px solid rgb(171, 212, 210);
	border-right: 4px solid rgb(171, 212, 210);
	border-left: 4px solid rgb(171, 212, 210);
	margin: 0 auto;
	top: 130px;
	left: 16.1%
}

@media all and (max-width: 767px){
	.departments:after{
		border-right: none;
		left: 0;
		width: 71.1%;
	}  
}

@media all and (min-width: 768px){
	.department:first-child:before,
   .department:last-child:before{
    border:none;
  }

  ul a{
	font-size: 14px;
}

ul a span{
	 
	padding-top: 7px;
	 
	display: block;
}
}

.department:before{
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 22px;
	  
	z-index: 1;
	top: -22px;
	left: 50%;
	margin-left: 24px;
}

.department{
	border-left: 4px solid rgb(171, 212, 210);
	width: 28.59894921190891%;
	float: left;
	margin-left: 21.451313485113835%;
	margin-bottom: 60px;
}

 .department{
	width: 39.18%;
	 
}

@media all and (max-width: 767px){
	.department{
		float: none;
		width: 100%;
		margin-left: 0;
	}

	.department:before{
		content: "";
		display: block;
		position: absolute;
		width: 0;
		height: 60px;
		border-left: 4px solid rgb(171, 212, 210);
		z-index: 1;
		top: -60px;
		left: 0%;
		margin-left: -4px;
	}

	.department:nth-child(2):before{
		display: none;
	}

	.director { background: #e5e775; }
}

.department > a{
	margin: 0 0 -26px -4px;
	z-index: 1;
}

.department > a {	
	height: 75px;
}



.department > ul{
	margin-top: 0px;
	margin-bottom: 0px;
}

.department li{	
	padding-left: 25px;
	border-bottom: 4px solid rgb(171, 212, 210);
	height: 85px;	
}

.department li a{
	background: rgb(171, 212, 210);
	top: 48px;	
	position: absolute;
	z-index: 1;
	width: 90%;
	height: 70px;
	vertical-align: middle;
	right: -1px;
	background-image: url(../);
	background-image: -moz-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 100%) !important;
	background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,0.25)), color-stop(100%,rgba(0,0,0,0)))!important;
	background-image: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
	background-image: -o-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
	background-image: -ms-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
	background-image: linear-gradient(135deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#00000000',GradientType=1 );
}

.department li a:hover{
	box-shadow: 8px 8px 9px -4px rgba(0,0,0,0.1);
}

/* Department/ section colors */
.department.dep-a a{ background: #5ad3f8; }
.subdirector a{ background: #57fad7; }
.department.dep-c a{ background: #b0fdea; }

.department.dep-e a{ background: #81e2a9; }