/* Table of Content
==================================================

	#Typography over rides
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face 

================================================== */
/* # Site Specific Typography 
================================================== */
p {
	margin: 0 0 28px 0;
}

/* Profiles */
.profile {
	margin: 0 0 0 0;
}

p.caption {
	margin: -20px 0 20px 0;
	padding: 0;
	font-size: 80%;
	line-height: 140%;
	color: grey;
}

/*	Styled Block-quotes  */
blockquote {
	background: #f1f1f1;
	border-left: 5px solid #ccdcec;
}

hr {
	border: 0 #dfdfdf solid;
	border-top-width: 1px;
	clear: both;
	height: 0;
	margin: 14px 0 28px;
	box-shadow: 0 0 1px white;
}

.small {
	font-size: 90%;
	color: #888;
}

/* #Site Styles
================================================== */
/* Smalltext default Colours */
.sub .masthead {
	background: rgba(177, 160, 196, 0.87);
}

.sub .topnav li a:hover,
.sub .topnav .on {
	color: #b1a0c4;
}

.sub h1,
h2,
h3,
h4,
h5 {
	color: #b1a0c4;
}

.sub .subNav li .current,
.our-work .subNav li .activeparent,
.our-work .subNav li a:hover {
	background: #b1a0c4;
}

/* Home */
.home .masthead {
	background: rgba(28, 160, 192, 0.87);
}

.home .topnav li a:hover,
.home .topnav .on {
	color: #20a0c6;
}

.home h1,
h2,
h3,
h4,
h5 {
	color: #20a0c6;
}

/* Panel */
.panel {
	background-color: rgb(252, 252, 252);
	border: 1px rgb(236, 236, 236) solid;
	padding: 40px 40px 10px 40px;
	margin: 20px 10px;
	border-radius: 3px;
}

.panel .hide_panel {
	background: rgb(255, 255, 255);
	color: rgb(32, 161, 198);
	border: 1px rgb(236, 236, 236) solid;
	cursor: pointer;
	border-radius: 100px;
	font-weight: bold;
	text-decoration: none;
	line-height: 40px;
	width: 40px;
	height: 40px;
	margin: -20px -20px 0 0;
	text-align: center;
	position: relative;
	z-index: 1;
	float: right;
}

.tweets {
	padding: 20px;
	background-color: rgb(252, 252, 252);
	border: 1px rgb(236, 236, 236) solid;
	height: 540px;
	overflow-y: auto;
}

.tweets:hover {
	background-color: rgb(255, 255, 255);
}

.google-map-wrap {
	position: relative;
}

.google-map {
	height: 76vh;
	margin: 0 -50px 20px -50px;
}

.map-custom-infowindow {
	position: absolute;
	background: #fff;
	display: block;
	bottom: 20px;
	left: 0;
	margin-left: 15%;
	margin-right: 15%;
	width: auto;
	height: auto;
	border: 1px solid #bcb8ac;
	color: #fff;
	color: #333;
	z-index: 10;
	padding: 0px;
	border-radius: 10px;
	font-size: 80%;
	box-shadow: 0px 10px 24px 1px rgba(0, 0, 0, 0.32);
}

.map-custom-infowindow h3,
.map-custom-infowindow p {
	margin: 0;
	padding: 0 0 10px 0;
}

.map-custom-infowindow .close {
	float: right;
	width: 40px;
	height: 40px;
	background: #20a2c6;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	font-weight: bold;
	border-radius: 50px;
	line-height: 33%;
	display: inline-block;
	border: 0;
	padding: 0;
	margin: 10px;
	outline: none;
}

.mwrapper div img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	margin: 0;
}

.mwrapper {
	display: grid;
	grid-template-columns: auto 1fr;
}

.mwrapper>div {
	padding: 1em;
}

.gm-fullscreen-control {
	display: none;
}

/* Map Buttons */
.mwrapper .button {
	cursor: pointer;
	border-radius: 3px;
	font-weight: 400;
	padding: 6px 20px;
	text-decoration: none;
	display: inline-block;
	color: #fff;
	font-size: 80%;
	background: rgb(32, 162, 198);
	transition: 0.6s;
	/* default colour */
}

.mwrapper .button:hover {
	background: rgb(69, 69, 69);
	color: #fff;
}

/* Link to the map */
.maplink p a {
	border-radius: 3px;
	color: rgb(255, 255, 255);
	font-size: 80%;
	padding: 10px;
	text-decoration: none;
	background: rgb(177, 160, 196);
	float: right;
}

.maplink p a:hover {
	background: rgb(69, 69, 69);
}

/* Owl v1 */
.masthead-rotate .textwrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 0 auto;
	position: relative;
	bottom: 99px;
}

.masthead-rotate {
	position: relative;
	top: -124px;
	margin-bottom: -225px;
}

#masthead-img .masthead-item img {
	display: block;
	width: 100%;
	z-index: 1;
	height: 377px;
	object-fit: cover;
	margin: 0 auto 0 auto;
}

.masthead-item .textwrapper {
	background: transparent url(../g/messagebox-bg.png) no-repeat;
}

.textwrapper div {
	width: 700px;
	padding: 20px 30px 20px 58px;
	font-size: 110%;
	color: #ffffff;
	line-height: normal;
	margin: 0;
	z-index: 500;
}

.masthead-item a,
.masthead-item a:visited {
	color: #fff;
	text-decoration: underline;
	/* background-color: #414141;
	text-decoration: none;
	padding: 10px 10px;
	margin-top: 10px; */
}

.masthead-item a:hover {
	text-decoration: none;
}

.masthead-item p {
	margin: 0;
	padding: 0;
}

/* .owl-next {
	bottom: 60px;
	position: absolute;
	right: 20px;
}
.owl-prev {
	bottom: 60px;
	position: absolute;
	right: 70px;
} */
.textwrapper div h2 {
	color: #fff;
	padding: 0;
	font-size: 160%;
	margin: 0;
}

/* How to apply */
.how-to-apply .masthead {
	background: rgba(148, 138, 84, 0.87);
}

.how-to-apply .topnav li a:hover,
.how-to-apply .topnav .on {
	color: #948a54;
}

.how-to-apply h1,
.how-to-apply h2,
.how-to-apply h3,
.how-to-apply h4,
.how-to-apply h5 {
	color: #948a54;
}

.how-to-apply .subNav li .current,
.how-to-apply .subNav li .activeparent,
.how-to-apply .subNav li a:hover {
	background: #948a54;
}

/* Our Work */
.our-work .masthead {
	background: rgba(177, 160, 196, 0.87);
}

.our-work .topnav li a:hover,
.our-work .topnav .on {
	color: #b1a0c4;
}

.our-work h1,
.our-work h2,
.our-work h3,
.our-work h4,
.our-work h5 {
	color: #b1a0c4;
}

.our-work .subNav li .current,
.our-work .subNav li .activeparent,
.our-work .subNav li a:hover {
	background: #b1a0c4;
}

/* Our Aims */
.our-aims .masthead {
	background: rgba(199, 73, 73, 0.87);
}

.our-aims .topnav li a:hover,
.our-aims .topnav .on {
	color: #de6666;
}

.our-aims h1,
.our-aims h2,
.our-aims h3,
.our-aims h4,
.our-aims h5 {
	color: #de6666;
}

.our-aims .subNav li .current,
.our-aims .subNav li .activeparent,
.our-aims .subNav li a:hover {
	background: #de6666;
}

/* Our Story */
.our-story .masthead {
	background: rgba(227, 108, 10, 0.87);
}

.our-story .topnav li a:hover,
.our-story .topnav .on {
	color: #e36c0a;
}

.our-story h1,
.our-story h2,
.our-story h3,
.our-story h4,
.our-story h5 {
	color: #e36c0a;
}

.our-story .subNav li .current,
.our-story .subNav li .activeparent,
.our-story .subNav li a:hover {
	background: #e36c0a;
}

/* Contact us */
.contact-us .masthead {
	background: rgba(255, 255, 255, 0.9);
}

.contact-us .topnav li a:hover,
.contact-us .topnav .on {
	color: #ffffff;
}

.contact-us h1,
h2,
h3,
h4,
h5 {
	color: #20a0c6;
}

.contact-us .masthead-links {
	color: #444;
}

.contact-us .masthead-links a,
.masthead-links a:visited {
	color: #444;
}

.contact-us .masthead-links a:hover,
.contact-us .masthead-links a:visited {
	color: #444;
}

.contact-us .search-form input.search-input {
	background-color: rgba(155, 155, 155, 0.28);
	color: #444;
}

/* End Section Colours */
/* Apply */
/* Contact */
.form-wrapper {
	background: transparent;
	padding: 0;
	margin: 10px 0 0 0;
	border: 0;
}

.form-wrapper legend {
	display: none;
}

.form-wrapper p {
	margin: 0 0 15px 0;
}

.formwrapper fieldset {
	padding: 0;
	margin: 0;
	background-color: transparent;
	border: 0;
	text-align: left;
}

/* Form fields */
.form-wrapper label {
	padding: 0;
	line-height: 100%;
}

.form-wrapper input {
	background: #ebf0f3;
	border: 1px #d3dede solid;
	color: #4e4e4e;
	padding: 8px;
	margin: 0 0 5px 0;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 95%;
	-webkit-appearance: none;
}

.form-wrapper input:focus {
	background: #ffffff;
	border: 1px #a8baba solid;
	color: #424242;
}

#Inputfield_what_is_2_1 {
	width: 20%;
}

.form-wrapper textarea {
	background: #ebf0f3;
	border: 1px #b6c7c7 solid;
	color: #4e4e4e;
	padding: 8px;
	margin: 0 0 5px 0;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	-webkit-appearance: none;
	font-size: 95%;
}

.form-wrapper textarea:focus {
	background: #fafafa;
	border: 1px #a8baba solid;
	color: #424242;
}

.form-wrapper .ui-button {
	background-color: #c74949;
	border: 1px solid #c74949;
	padding: 12px;
	color: #f5f5f5;
	cursor: pointer;
	outline: none;
	margin: 10px 3px 1px 0;
	-webkit-transition: background-color 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out;
	display: block;
	width: auto;
	width: 60%;
	text-transform: uppercase;
	font-size: 95%;
}

.form-wrapper .ui-button:hover {
	background-color: #de5656;
}

/* Submit button */
.form-wrapper #contact_submit {
	background-color: #00a0d0;
	border: 1px solid #00774f;
	padding: 12px;
	color: #f5f5f5;
	cursor: pointer;
	outline: none;
	margin: 10px 3px 1px 0;
	-webkit-transition: background-color 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out;
	display: block;
	width: auto;
	width: 60%;
	font-weight: bold;
}

.form-wrapper #contact_submit:hover {
	background-color: #186395;
	color: #fff;
	border: 1px solid #175882;
}

/* Error and thanks feedback */
.FormBuilderErrors p {
	background: #cf3434;
	border: 6px solid #b62b2b;
	padding: 20px;
	margin: 10px 0 25px 0;
	color: #fff;
}

.ui-state-error span {
	padding: 5px;
	margin: 10px 0;
	background-color: rgba(207, 52, 52, 0.32);
}

.notes {
	padding: 5px;
	margin: 10px 0;
	background-color: #f0f0eb;
	font-size: 75%;
}

.notes:hover {
	background-color: #deded2;
}

.ui-state-highlight {
	background: #009966;
	border: 6px solid #00774f;
	padding: 20px;
	margin: 10px 0 25px 0;
	color: #fff;
}

.form-wrapper .radio {
	padding: 10px 0;
}

.form-wrapper .radio label {
	padding: 0;
}

.required-message {
	font-size: 85%;
	color: #878d91;
}

/* Fixed Header
================================================== */
.head {
	background: #454545;
	position: fixed;
	z-index: 40;
	width: 100%;
}

.headwrapper {
	max-width: 1150px;
	margin: 0 auto 0 auto;
	padding: 0;
}

.pos {
	top: 0px;
}

/* Masthead
================================================== */
/* Masthead BG Desktop */
.masthead {
	margin-top: 45px;
	height: 125px;
	position: relative;
	z-index: 30;
}

/* Home wide  */
#home {
	padding: 12% 0;
	margin: -120px 0 0 0;
	border-bottom: 1px solid #d1dfed;
}

/* Home small  */
@media (max-width: 1366px) {
	#home {
		padding: 18% 0;
	}
}

/*UPDATED ABOVE TO 18% 8 3 17*/
/* Sub mastheads  */
#our-aims,
#our-work,
#our-story,
#how-to-apply,
#contact-us {
	padding: 16% 0;
	margin: -120px 0 0 0;
}

/*UPDATED ABOVE TO 16% 8 3 17*/
/* Sub small  */
@media (min-width: 1023px) {

	#our-aims,
	#our-work,
	#our-story,
	#how-to-apply,
	#contact-us {
		padding: 13% 0;
	}
}

/* Our Aims */
#our-aims {
	border-bottom: 8px solid #c74949;
}

/* Our Work */
#our-work {
	border-bottom: 8px solid #b1a0c4;
}

/* Our Story */
#our-story {
	border-bottom: 8px solid #e36c0a;
}

/* How to Apply */
#how-to-apply {
	border-bottom: 8px solid #948a54;
}

/* Contact us*/
#contact-us {
	border-bottom: 8px solid #4c4d4d;
}

/* Page wrapper */
.page {
	background-color: #fff;
	padding: 29px 40px 30px 40px;
}

.home .page {
	border: 0;
}

.our-aims .page,
.our-work .page,
.our-story .page,
.contact-us .page,
.how-to-apply .page {
	margin-top: 10px;
	border: 1px solid #ebebeb;
}

/* Home Message Box */
.messagebox {
	background: transparent url(../g/messagebox-bg.png) no-repeat;
	width: 100%;
	max-width: 1200px;
	margin: -100px auto 0 auto;
	height: 100px;
}

/*Masthead-tel is now being used for email address*/
.masthead-tel {
	float: left;
	color: #fff;
	padding: 0px;
	font-size: 80%;
	margin: 10px 0 0 30px;
}

.masthead-tel a,
a:visited {
	color: #c6c6c6;
	text-decoration: none;
}

.masthead-tel a:hover {
	color: #fff;
}

.logo {
	margin: 35px 0 0 60px;
}

#animate_text h2 {
	color: #fff;
	padding: 20px 0 0 30px;
	font-size: 180%;
	margin: 0 0 0 30px;
}

#animate_text span {
	color: #fff;
	padding: 0 0 0 30px;
	font-weight: 600;
	font-size: 90%;
	margin: 0 0 0 30px;
}

* Responsive Table */ .responsive-table {
	overflow-x: auto;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	border: 1px solid rgb(230, 230, 230);
	font-size: 80%;
}

thead tr th {
	color: #fff;
	padding: 10px;
	font-size: 110%;
}

th,
td {
	border: none;
	text-align: left;
	padding: 15px;
}

tr:nth-of-type(2n + 1) {
	background: rgba(177, 160, 196, 0.4) none repeat scroll 0 0;
	color: #414141;
}

tr:nth-of-type(2n) {
	background: rgb(235, 240, 243) none repeat scroll 0 0;
	color: #414141;
}

tr:hover {
	background: rgb(102, 102, 102) url(none) repeat scroll 0 0;
	color: rgb(255, 255, 255);
}

/* Footer */
.footerWrapper {
	max-width: 1200px;
	margin: 0 auto 0 auto;
	padding: 30px 60px 0 60px;
}

.footer {
	background: #2d2f2f;
	color: #fff;
	font-size: 75%;
}

/* Navigation */
.topnav ul {
	float: right;
	list-style: none;
	margin: 0 30px 0 0;
	padding: 10px 0 10px 0;
}

.topnav li {
	display: inline;
}

.topnav li a {
	color: #d6d6d6;
	font-size: 80%;
	font-weight: bold;
	margin: 0 5px;
	text-decoration: none;
	text-transform: uppercase;
}

/* Sub Navigation */
.subNav {
	margin: 0 0 30px 0;
	padding: 0;
}

/* Nav title */
.our-work .subNav .nav-title,
.how-to-apply .subNav .nav-title {
	color: #fff;
	padding: 15px 10px 15px 20px;
	margin: 0 0 15px 0;
	font-size: 100%;
	position: relative;
}

.our-work .subNav .nav-title:after,
.how-to-apply .subNav .nav-title:after {
	top: 100%;
	left: 10%;
	border: solid transparent;
	content: ' ';
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-width: 10px;
	margin-left: -10px;
}

/* Nav title 1 */
.our-work .subNav .nav-title {
	background: #b1a0c4;
}

.our-work .subNav .nav-title:after {
	border-color: rgba(177, 160, 196, 0);
	border-top-color: #b1a0c4;
}

/* Nav title 2 */
.how-to-apply .subNav .nav-title {
	background: #948a54;
}

.how-to-apply .subNav .nav-title:after {
	border-color: rgba(148, 138, 84, 0);
	border-top-color: #948a54;
}

.subNav ul {
	font-size: 90%;
	margin: 0;
	padding: 0;
}

.subNav ul li {
	line-height: 180%;
	list-style-type: none;
	margin: 0 0 1px 0;
	padding: 0;
}

.subNav ul li a {
	background: #eaeaea url('../g/subnav.png') no-repeat scroll 18px 1.5em;
	color: #676767;
	display: block;
	margin: 0;
	padding: 15px 10px 15px 35px;
	text-decoration: none;
}

.subNav ul li li a {
	background: #efefef url('../g/subnav.png') no-repeat scroll 18px 1.5em;
	padding: 15px 10px 15px 45px;
}

.subNav li a:hover {
	background: transparent url('../g/subnav-on.png') no-repeat scroll 18px 1.5em;
	color: #fff;
	text-decoration: none;
}

.subNav li .current,
.subNav li .activeparent {
	background: transparent url('../g/subnav-on.png') no-repeat scroll 18px 1.5em;
	color: #fff;
	margin: 0 0 1px 0;
}

/* /Sub Navigation */
/* Top Menu */
.masthead-links ul {
	list-style-type: none;
	margin: 0 0 10px 20px;
	padding: 0;
}

.masthead-links li {
	color: #fff;
	display: inline;
	font-size: 80%;
	padding: 1px;
}

.masthead-links li a {
	color: #fff;
	text-decoration: none;
}

.masthead-links li:after {
	content: ' | ';
	padding-left: 2px;
}

.masthead-links li:last-child::after {
	content: '';
}

/* BreadCrumbs */
.breadcrumbs ul {
	list-style-type: none;
	margin: 0 0 10px 20px;
	padding: 0;
}

.breadcrumbs li {
	color: #7a7a7a;
	display: inline;
	font-size: 80%;
	padding: 1px;
}

.breadcrumbs li a {
	color: #7a7a7a;
	text-decoration: none;
}

.breadcrumbs li+li::after {
	content: ' | ';
	padding-left: 2px;
}

.breadcrumbs li:last-child::after {
	content: '';
}

/* Search */
.search-form {
	background-color: transparent;
	float: right;
	margin: 30px 60px 0 0;
	padding: 0;
	white-space: nowrap;
}

.search-form input::placeholder {
	color: #fff;
}

.search-form input.search-input {
	background-color: rgba(241, 241, 241, 0.18);
	margin: 0;
	padding: 10px;
	vertical-align: 14px;
	width: 100%;
	border: 0;
}

.search-form .search-btn {
	border: 0 none;
	margin: 8px 0 0 -30px;
	vertical-align: top;
}

/* Masthead links */
.masthead-links {
	margin: 0 0 10px 0;
	padding: 0;
	text-align: right;
	color: #fff;
	font-size: 90%;
}

.masthead-links a,
.masthead-links a:visited {
	color: #ebebeb;
	text-decoration: none;
}

.masthead-links a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Hommepage sidebar adjustment */
.home .sidebar {
	margin: 5px 0 0 0;
}

.home .sidebar p img {
	margin: 0;
}

/* Images */
/* Make sure they fit in 2 cols! */
.hometeaser img {
	object-fit: cover;
	width: 100%;
	height: 14em;
}

.feature_caption {
	font-size: 80%;
	margin: -50px 0 25px 0;
	padding: 0;
	color: #aaa;
}

/* Updated Image Grid */
.img_listgrid ul {
	display: grid;
	grid-gap: 10px;
	padding: 0;
	margin: 0;
	position: relative;
}

/* Large (main content) */
.img_listgrid ul {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Keep Gallery Image in Ratio */
.img_listgrid ul img {
	object-fit: cover;
	width: 100%;
	/* height: 100%; */
}

.img_listgrid li {
	position: relative;
	list-style: none;
}

.img_listgrid .desc {
	position: absolute;
	bottom: -2px;
	background: rgba(235, 240, 243, 0.84);
	padding: 10px;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.img_listgrid span {
	position: absolute;
	top: 0px;
	background: rgb(177, 160, 196);
	padding: 5px;
	width: 20%;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.img_listgrid span {
	color: rgb(255, 255, 255);
	font-size: 60%;
}

.img_listgrid .desc {
	color: rgb(0, 0, 0);
	font-size: 70%;
}

.img_listgrid ul li:hover>.desc {
	background: rgb(177, 160, 196);
	color: rgb(255, 255, 255);
}

/* Accordian */
.accordion {
	background: linear-gradient(to bottom right, white, #f8f8f8);
	max-width: auto;
	background: white;
	margin: 0 auto;
}

.accordion-header {
	color: rgb(42, 49, 58);
	cursor: pointer;
	padding: 1.5rem;
	background: rgb(239, 239, 239);
	margin: 1px 0;
}

.accordion-header:hover {
	background: rgb(246, 247, 249);
}

.accordion-content {
	display: none;
	/* border-bottom: 1px solid #dde0e7; */
	background: rgb(246, 247, 249);
	padding: 1.5rem;
	color: rgb(74, 86, 102);
}

.accordion-header::before {
	content: '';
	vertical-align: middle;
	display: inline-block;
	width: .75rem;
	height: .75rem;
	border-radius: 50%;
	background-color: rgb(177, 160, 196);
	margin-right: .75rem;
}

.active.accordion-header::before {
	background-color: rgb(68, 68, 68);
}

/* Project Video / Image Gallery */
.vid_listgrid ul,
.gallery_listgrid ul {
	display: grid;
	grid-gap: 10px;
	padding: 0;
	margin: 0;
	position: relative;
}

.vid_listgrid ul,
.gallery_listgrid ul {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

/* Keep Gallery Image in Ratio */
.vid_listgrid ul img,
.gallery_listgrid ul img {
	object-fit: cover;
	width: 100%;
	height: auto;
	margin: 0;
}

.gallery_listgrid img {
	margin-bottom: 0;
}

.vid_listgrid li,
.gallery_listgrid li {
	position: relative;
	list-style: none;
}

.vid_listgrid span,
.gallery_listgrid span {
	padding: 5px;
	font-size: 80%;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.gallery_listgrid span {
	width: 11em;
}

/* Old Image Grid */
ul.thumb-grid {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.thumb-grid li {
	float: left;
	width: 16%;
	margin: 0 5% 5% 0;
	list-style: none;
}

ul.thumb-grid li:nth-child(5n) {
	margin-right: 0;
}

ul.thumb-grid li a img {
	width: 100%;
}

/* Gallery */
.g {
	padding: 0.25em;
	overflow: hidden;
	margin: 0;
}

.g li {
	float: left;
	width: 50%;
	padding: 0.25em;
	list-style: none;
}

.g img {
	display: block;
}

.g li:nth-child(odd) {
	clear: left;
}

a.gallery-albumThumb {
	font-size: 70%;
	color: #444;
	text-decoration: none;
}

/* Gallery MQ */
@media screen and (min-width: 40em) {
	.g li {
		width: 33.3333333333333333%;
	}

	.g li:nth-child(3n + 1) {
		clear: left;
	}

	.g li:nth-child(odd) {
		clear: none;
	}
}

@media screen and (min-width: 55em) {
	.g li {
		width: 25%;
	}

	.g li:nth-child(4n + 1) {
		clear: left;
	}

	.g li:nth-child(3n + 1) {
		clear: none;
	}
}

@media screen and (min-width: 72em) {
	.g li {
		width: 20%;
	}

	.g li:nth-child(5n + 1) {
		clear: left;
	}

	.g li:nth-child(4n + 1) {
		clear: none;
	}
}

@media screen and (min-width: 90em) {
	.g li {
		width: 16.666666666%;
	}

	.g li:nth-child(6n + 1) {
		clear: left;
	}

	.g li:nth-child(5n + 1) {
		clear: none;
	}
}

/* Lists */
ul,
ol,
dd {
	margin-left: 30px;
}

/* Unordered */
ul li {
	background-color: transparent;
	list-style: disc;
}

/* Numbered */
ol li {
	background-color: transparent;
	list-style: decimal;
}

/* Pushy Menu */
.pushy {
	padding: 0;
	margin: 0;
}

.pushy ul {
	list-style: none;
	margin: 0 0 0 1px;
	padding: 0;
	border: none;
	line-height: 140%;
}

.pushy ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pushy ul li a {
	display: block;
	border-bottom: 1px solid rgba(57, 55, 55, 0.85);
	padding: 15px 10px 15px 20px;
	margin: 0;
	text-decoration: none;
	color: #fff;
	font-size: 120%;
}

/* 2nd level */
.pushy ul li li a {
	padding: 15px 10px 15px 30px;
	margin: 0px 0 0 0px;
	color: #fff;
	font-size: 80%;
}

/* 3rd level */
.pushy ul li li li a {
	padding: 15px 10px 15px 40px;
	margin: 0px 5px 0 0px;
	color: #fff;
	font-size: 70%;
}

/* Hover states */
.pushy ul li a:hover,
.pushy ul li a:focus {
	color: #fff;
	background: #0589b0;
}

/* Hover states 2nd level */
.pushy ul li li a:hover,
.pushy ul li li a:focus {
	color: #fff;
	background: #0589b0;
}

/* Hover states 3rd level */
.pushy ul li li li a:hover,
.pushy ul li li li a:focus {
	color: #fff;
	background: #0589b0;
}

/* On states */
.pushy ul li .currentpage {
	color: #0589b0;
}

.pushy ul li li .currentpage {
	color: #0589b0;
}

.pushy ul li li li .currentpage {
	color: #0589b0;
}

/* Fade in */
.fade-element {
	padding: 20px;
	border: 1px solid #d3c7aa;
}

/* Use with keyframes */
/*PDF Links - adds a small PDF icon to all PDF links*/
a[href$='.pdf'] {
	background: url(../g/page_pdf.png) no-repeat right top;
	padding-right: 18px;
	padding-bottom: 5px;
}

/*DOC Links - adds a small word doc icon to all word document links*/
a[href$='.doc'] {
	background: url(../g/page_word.png) no-repeat right top;
	padding-right: 18px;
	padding-bottom: 5px;
}

#content a[href^='http:'] {
	background: url(../g/extlink.png) no-repeat right top;
	padding-right: 12px;
}

/* Fade element */
.fade-element {
	background: #e7e3d7;
	animation: myfirst 5s;
	-moz-animation: myfirst 5s;
	/* Firefox */
	-webkit-animation: myfirst 5s;
	/* Safari and Chrome */
	-o-animation: myfirst 5s;
	/* Opera */
}

@keyframes myfirst {
	from {
		background: #ffe4b5;
	}

	to {
		background: #e7e3d7;
	}
}

@-moz-keyframes myfirst {
	from {
		background: #ffe4b5;
	}

	to {
		background: #e7e3d7;
	}
}

@-webkit-keyframes myfirst {
	from {
		background: #ffe4b5;
	}

	to {
		background: #e7e3d7;
	}
}

@-o-keyframes myfirst {
	from {
		background: #ffe4b5;
	}

	to {
		background: #e7e3d7;
	}
}

/* #Font face
================================================== */
@font-face {
	font-family: 'open_sansregular';
	src: url('../font/OpenSans-Regular-webfont.eot');
	src: url('../font/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../font/OpenSans-Regular-webfont.woff') format('woff'),
		url('../font/OpenSans-Regular-webfont.ttf') format('truetype'), url('../font/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* #Media Queries
================================================== */
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

	/* Pushy Nav - stop page scrolling on mobile (also stops the url bar sliding away) overflow-x: hidden;overflow-y:visible;  */
	html,
	body {
		height: 100%;
		font-size: 100%;
		line-height: 1.7em;
	}

	/* Mobile Button */
	.menu-btn {
		margin: -1px 0 0 0;
		position: relative;
		z-index: 20;
		padding: 20px;
		cursor: pointer;
		color: #fff;
		background-color: #36aac6;
	}

	.menu-btn span {
		float: right;
	}

	/* Masthead text removed for the time being, it could sit under the image instead? */
	.item p {
		display: none;
	}

	/* Centre a logo on mobile devices*/
	.logo {
		display: block;
		margin-left: auto;
		margin-right: auto;
		padding: 20px 0 0 0;
	}

	/* Fix the page */
	.page {
		padding: 20px 0;
		margin: 10px 0;
	}

	/* Masthead (and Nav) Tweaks for phone */
	#home {
		padding: 0;
		margin: 0;
		height: 190px;
	}

	.masthead {
		margin-top: -35px;
		height: 100px;
	}

	.textwrapper div {
		width: auto;
		padding: 20px;
		font-size: 80%;
		width: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#our-aims,
	#our-work,
	#our-story,
	#how-to-apply,
	#contact-us {
		padding: 0;
		margin: -100px 0 0 0;
		height: 290px;
		border-bottom: 0;
	}

	/* Other mobile menu colours   */
	.our-aims .menu-btn {
		background-color: #de6666;
	}

	.how-to-apply .menu-btn {
		background-color: #948a54;
	}

	.our-work .menu-btn {
		background-color: #b1a0c4;
	}

	.our-story .menu-btn {
		background-color: #e36c0a;
	}

	.contact-us .menu-btn {
		background-color: #36aac6;
	}

	/* Search */
	.search-form form {
		margin: 0;
	}

	.search-form input.search-input {
		background-color: #444;
		margin: 0;
		padding: 18px;
	}

	.search-form .search-btn {
		display: none;
	}

	.google-map {
		height: 560px;
		margin: 0px;
	}

	.mwrapper {
		display: block;
	}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {}