/* ========================================================== 
	Global
============================================================ */

.dark, .dark a, .dark h1, .dark h2, .dark h3, .dark p, .dark li{
	color: #fff;
}

/* ========================================================== 
	Sections
============================================================ */

.s-medium{
	padding: 40px 0px;
}

.c-medium{
	background: #f2f2f2;
}

/* ========================================================== 
	Header
============================================================ */

header{
	background: #fff;
	padding: 5px 0px;
}

header .container{
	position: relative;
}

#logo{
	text-align: center;
}

#logo img.print-only{
	display: none;
}

.contact-details{
	padding: 0px;
	margin-bottom: 0px;
}

.contact-details li{
	list-style: none;

	padding: 0px;
	text-transform: uppercase;
	font-size: 1.2rem;
	text-align: center;
}


.contact-details li.social-icons{
	margin: 0px 0px 10px 0px;

}

.contact-details li.location-text{
	font-size: 1.2rem;
	display: none;
}

.circle{
	display: inline-block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #32787B;
	padding: 3px;
	font-size: 20px;
	text-align: center;
	margin-right: 5px;
}

a.circle:hover{
	background: #32787B;
	color: #fff;
}

.contact-tel, .contact-tel a{
	display: block;
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.block-search{

}

.block-search form{
	position: relative;
	margin-bottom: 0px;
}

.block-search .screen-reader-text{
	display: none;
}

.block-search input{
	padding-right: 40px;
	border-radius: 500px;
	background: none;
	border: 1px solid #32787B;
	color: #32787B;
}

.block-search .button{
	position: absolute;
	top: 0px;
	right: 0px;
	border: none;
	color: #32787B;
}

@media (min-width: 768px) {
	header{
		padding: 5px 0px;
	}
	#logo{
		float: left;
	}
	.contact-details{
		margin: 0px;
		padding: 20px 0px 0px 0px;
		float: right;
	}
	.contact-details li{
		font-size: 1.6rem;
		text-align: left;
		color: #32787B;
	}
	.contact-details .circle{
		display: block;
		float: right;
	}
	.block-search{
		float: left;
	}
	.block-search label, .block-search input{
		margin-bottom: 0;
	}

}

@media (min-width: 992px) {
	.block-logo{
		width: 300px;
		float: none;
		position: absolute;
		left: 50%;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
		padding-top: 40px;
		margin-left: 20px;
		text-align: center;
	}

}

@media (min-width: 1200px) {
	.contact-details li.location-text{
		font-size: 1.2rem;
		display: block;
	}
}

/* ========================================================== 
	Navigation
============================================================ */

.main-menu{
	position: relative;
	background: #32787B;

}

.nav{	
	padding-left: 0px;
	padding-top: 0px;
	margin: 0px;
}


.nav > li{
	float: none;
	display: block;
	margin: 0px;
	padding-bottom: 0px;
	border-top: 1px solid #134960;
	line-height: 1;
}

.nav li li{
	list-style: none;
	margin: 0px;
}

.nav li > a{
	text-transform: uppercase;
	color: #fff;
	display: block;
	padding: 15px 0px;
}

.nav li > a:hover, .nav li.current-menu-item > a, .nav li.current-page-ancestor > a{
	color: #fff;
}

.mobile-menu{
	padding-top: 10px;
	margin-bottom: 10px;
	z-index: 2;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}

.mobile-menu.active{
	color: #32787B;
}

.mobile-menu a{
	margin-right: 10px;
	margin-top: 3px;
	float: left;
	display: block;
	position: relative;
	height: 18px;
	width: 19px;
	margin-bottom: 0px;
}
.mobile-menu span {
	/* this span is the central line of the menu icon */
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	width: 15px;
	height: 2px;
	background-color: #fff;
	-webkit-transition: background-color 0.3s;
	-moz-transition: background-color 0.3s;
	transition: background-color 0.3s;
	/* these are the upper and lower lines in the menu icon */
}
.mobile-menu span::before, .mobile-menu span:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #fff;
	right: 0;
	-webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
	-moz-transition: -moz-transform .3s, top .3s, background-color 0s;
	transition: transform .3s, top .3s, background-color 0s;
}
.mobile-menu span::before {
	top: -6px;
}
.mobile-menu span::after {
	top: 6px;
}
.mobile-menu span.is-clicked {
	background-color: rgba(255, 255, 255, 0);
}
.mobile-menu span.is-clicked::before, .mobile-menu span.is-clicked::after {
	background-color: #fff;
}
.mobile-menu span.is-clicked::before {
	top: 0;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);
}
.mobile-menu span.is-clicked::after {
	top: 0;
	-webkit-transform: rotate(225deg);
	-moz-transform: rotate(225deg);
	-ms-transform: rotate(225deg);
	-o-transform: rotate(225deg);
	transform: rotate(225deg);
}
	
	
	


@media (min-width: 768px) {

	.nav{
		margin: 0px;
		padding: 0px;
	}
	.nav > li{
		float: left;
		margin: 0px;
		padding: 0px;
		border: none;
		font-size: 1.6rem;
		list-style: none;
		position: relative;
	}
	
	.nav > li:last-child{
		margin-right: 0px;
	}

	.nav li a{
		display: block;
		padding: 15px 4px;
		font-size: 1.2rem;
		color: #fff;
	}

	.nav li a:hover, .nav li.current-menu-item a, .nav li:hover a{
		background: #32787B;
		color: #fff;
	}

	.nav li ul{
		position: absolute;
		left: 0px;
		background: #32787B;
		z-index: 9999;
		margin: 0px;
		width: 230px;
		padding: 0px 0px;
	}

	.nav li ul li{
		list-style: none;
		margin: 0px;
		max-height: 0px;
		overflow: hidden;
		transition: 0.5s;
		opacity: 0;
	}

	.nav li:hover ul li{
		max-height: 150px;
		opacity: 1;
	}

	.nav li li a{
		padding: 10px 4px;
		font-size: 1.4rem;
	}
	.nav li li a:hover{
		background: #32787B !important;
	}
	
}

@media (min-width: 992px) {	

	.nav li a{
		padding: 15px 10px;
		font-size: 1.4rem;
	}

	.nav li li a{
		padding: 10px 10px;
	}
	
	
}

@media (min-width: 1200px) {

	.nav li a{
		padding: 15px 15px;
		font-size: 1.6rem;
	}

	.nav li li a{
		padding: 10px 15px;
	}
	
}


/* ==========================================================
	Page Content
============================================================ */

.page-header{
	background: #efefef ;
}

.page-header h1{
	margin-bottom: 0px;
}

.page-header p{
	font-size: 2rem;
	margin-bottom: 0px;
	margin-top: 2.5rem;
}

.sidebar h2{
	font-size: 1.5rem;
	text-transform: uppercase;
	color: #32787B;
	margin-bottom: 1rem;
}

.sidebar ul, .sidebar li{
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.sidebar ul{
	border-top: 1px solid #e6e6e6;
	margin-bottom: 2.5rem;
}

.sidebar li{
	border-bottom: 1px solid #e6e6e6;
}

.sidebar a{
	padding: 7px;
	display: block;
	color: #32787B;
}

.sidebar a:hover, .sidebar .current-menu-item > a{
	color: #32787B;
	background: #f2f2f2;
}

.sidebar li ul{
	display: none;
	border: none;
	padding-bottom: 10px;
	margin-bottom: 0px;
}

.sidebar li.current-menu-item ul{
	display: block;
}

.sidebar li li{
	border: none;
}

.sidebar li li a{
	padding-left: 25px;
}


/* ========================================================== 
	Content
============================================================ */

.home-content{
	position: relative;
	z-index: 1;
	background: #fff;
	padding: 30px;
}

.home-content h1{
	font-size: 2.2rem;
}

.block{
	position: relative;
	background: #fff;
	transition: 0.5s;
}

.block:hover{
	-webkit-transform: translateY(-5px);
	-moz-transform: translateY(-5px);
	-ms-transform: translateY(-5px);
	-o-transform: translateY(-5px);
	transform: translateY(-5px);
}

.block a{

	color: #333;
	display: block;
	/*border-bottom: 3px solid #32787B;*/
}

.block a:hover{

	color: #32787B;
	-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.3);
	
}

.page-content .block{
	-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.3);
}

.block a:hover h3, .block a:hover p{
	color: #32787B;
}

.project-thumbnail{
	height: 150px;
}

.project-thumbnail img{
	max-height: 150px;
	max-width: 150px;
	width: auto;
	height: auto;
	margin: 0 auto;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.block img{
	display: block;
}

.block-content{
	padding: 20px;
	border-bottom: 4px solid #fff;
	transition: 0.5s;
}

.block a:hover{
	border-color: #32787B;
}

.block-content h3{
	font-size: 1.8rem;
	color: #333;
	-webkit-transition: color 0.5s;
	-moz-transition: color 0.5s;
	-ms-transition: color 0.5s;
	-o-transition: color 0.5s;
	transition: 0.5;
}

.block-content p{
	font-size: 1.4rem;
	margin-bottom: 0px;
	color: #333;
	-webkit-transition: color 0.5s;
	-moz-transition: color 0.5s;
	-ms-transition: color 0.5s;
	-o-transition: color 0.5s;
	transition: 0.5;
}

.block-overlay{

	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	background: rgba(130,84,157,0.8);
}

.block-overlay h3{
	color: #fff;
	font-weight: 700;
	font-size: 2.7rem;
	margin-bottom: 0px;
	line-height: 1;
}

.block-overlay p{
	color: #fff;
	margin-bottom: 0px;
}

.block a:hover .block-overlay h3, .block a:hover .block-overlay p{
	color: #fff;
}

.block-colour-1{
	background: rgba(236,28,36,0.9);
}

.block-colour-2{
	background: rgba(246,146,30,0.9);
}

.block-colour-3{
	background: rgba(55,179,75,0.9);
}

.block-colour-4{
	background: rgba(50,120,123,0.9);
}

.border-colour-1{
	border-color: rgba(236,28,36,1);
}

.border-colour-2{
	border-color: rgba(246,146,30,1);
}

.border-colour-3{
	border-color: rgba(55,179,75,1);
}

.border-colour-4{
	border-color: rgba(50,120,123,1);
}

.post{
	margin-bottom: 2.5rem;
}

#map-container{
	width: 100%;
}

.resource a{
	padding-top: 5px;
}

.resource-image{
	max-height: 300px;
	max-width: 300px;
	width: auto;
	height: auto;
	display: inline !important;
}

@media(min-width: 768px){
	.block-overlay {
		position: absolute;
		left: 0px;
		bottom: 0px;
	}

	.home-content{
		margin-top: -100px;
	}
}

/* ========================================================== 
	Footer
============================================================ */

footer{
	background: #32787B;
}

footer h2{
	font-weight: 400;
	line-height: 1.6;
}

footer h2 .circle{
	padding-top: 8px;
	margin-right: 10px;
	display: block;
	float: left;
	height: 24px;
	line-height: 1;

}

footer nav ul, footer nav li{
	margin: 0px;
	padding: 0px;
	list-style: none;
	font-size: 1.5rem;
}

footer nav > ul > li{
	margin-bottom: 20px;
}

footer nav > ul > li > a{
	text-transform: uppercase;
}

footer nav li{
	font-size: 1.4rem;
}

footer nav li ul{
	margin-top: 20px;
}

footer nav li li{
	font-size: 1.4rem;
	padding-left: 10px;
	position: relative;
}

footer nav li li:before{
	content: '\f105';
	font-family: 'fontello';
	position: absolute;
	left: 0px;
	top: 0px;
	color: #32787B;
}

footer nav a:hover{
	color: #32787B;
}

footer .menu-item-14{
	display: none;
}

footer .contact-details li{
	margin-bottom: 0px;
}

.lower-footer{
	padding: 10px 10px;
}

.lower-footer p, .lower-footer li{
	font-size: 1.2rem;
	color: #808080;
}

.lower-footer ul, .lower-footer li{
	margin: 0px;
	padding: 0px;
	list-style: none;
}



.lower-footer li{
	display: inline-block;
	margin-right: 10px;
}

@media(min-width: 768px){
	.lower-footer ul{
		text-align: right;
	}
	footer nav > ul > li{
		float: left;
		width: 32.667%;

	}
	footer .contact-details{
		float: right;
	}
}

@media(min-width: 992px){
	footer nav > ul > li{
		float: left;
		width: 16.667%;
		margin-bottom: 0px;
	}
}