body {
	background: #fff;
	color: #707070;
	padding:0;
	margin:0;
	font-family: "Helvetica","Verdana", sans-serif;
	font-size:16px;
	height:100%;
}

.clearFix {
	clear:both;
}

#threecolumn-outer {
	padding:16px;
}

/* home page */

#home-container {
	clear:both;
}

#home-container a {
	color:#0099cc;
}

#home-container-content {
	overflow:auto;
	padding:0;
	margin-top:16px;
	margin-bottom:16px;
}

.featurebox img {
	float:right;
	width:80px;
	height:auto;
	padding-left:16px;
}

.featurebox ul.spark-document-list {
	list-style-type:none;
	margin-left:0px;
	padding-left:0px;
}

.featurebox h3 {
	display:none;
}

.share-inner {
	display:none;
}

#morenewslist ul.spark-document-list a {
	line-height:40px;
	position:relative;
}

#happyToTranslate {
	display:none;
}

#mobile-intro {
	margin:16px;
	font-size:14px;
}

.ftable { display: table;width:100%; }
.frow { display: table-row;width:100%; }
.fcell { display: table-cell;width:33%;height:180px; background:#f2f6f3; }
.fcell.middle {border-left:16px solid #fff;border-right:16px solid #fff}

.htable { display: table;width:100%; }
.hrow { display: table-row;width:100%; }
.hcell { display: table-cell; }

.featxurebox h2, .featurebox a, #home-container a {
    color:#2e69b2;
}

#home-container img {
    display:none;
}

.featurebox h2 {
    font-size:140%;
    margin-top:0;
    color:#2e69b2;
    font-weight:400;
}

#home-container .featurebox {
    padding:24px;
}

#map_of_scotland {
    border:1px solid #ccc;
    padding-left:0;
    margin-left:16px;
}

/* ---- */

#footer {
	background:#2e69b2;
	background-image: linear-gradient(#6486bd, #2e69b2);
	padding: 16px;
	color:#fff;
	margin-top: 32px;

}

.contactDetails {
	padding-left:32px;
}

.goog-te-gadget, goog-logo-link, .goog-logo-link:link, .goog-logo-link:visited, .goog-logo-link:hover, .goog-logo-link:active  {
	color:#fff !important;
}

#happy_to_translate {
	margin-bottom:20px;
}

#credits {
	margin: 16px 0;
	padding-top:16px;
	text-align:center;
	font-size:14px;
}

/* videos */

.videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* forms */

.w-form-element {
	padding:10px;
	border-top:1px solid #fff;
}

.w-label-left {
	width:200px !important;
}

.spark-form .spark-text {
	width:96%;
	font-size:18px;
	padding: 6px;
}

.spark-form .spark-textarea {
	height:180px;
	width:96%;
}

.w-form-element #spark-5 {
	background: green;
	color:#fff;
	border:0px;
	font-size:18px;
	padding:8px;
	margin-right:50px;
}

.spark-warning-message{
	display:block;
	color:#c00;
}

/* links */

.links-container {
	width:100%;
}

.links-container .column {
	padding:20px;
	text-align:center;
}

.links-container .column a {
	display:block;
	margin-top:20px;
	font-size:14px;
}

/* videos */

.vtable { display: table;width:100%; }
.vrow { display: table-row;width:100%; }
.vcell { display: table-cell;width:50%; }
.vcell p.intro {height:60px;margin-bottom:16px}
.vcell.left {border-right:8px solid #fff}
.vcell.right {border-left:8px solid #fff}

/* For mobile phones: */

@media only screen and (max-width: 999px) {

	body {
		background: #fff;
		color: #707070;
		padding: 0;
		margin: 0;
		font-family: "Helvetica","Verdana", sans-serif;
		font-size:12px;
	}

	.displayNone, .hideMenu {
		display:none;
	}

	.noMobile {
		display:none!important;
	}

	.noMarginPadding {
		margin:0;
		padding:0;
	}

	#logo {
		padding:8px;
		width:150px;
	}

	#credits {
		font-size:12px;
		padding-left:24px;
		padding-right:24px;
	}

	.contactDetails {
		padding-left:0;
	}

	.navbar-toggle {
		display:block;
		position: absolute;
		right:16px;
		top:40px;
		font-size:22px;
		font-weight: 400;
		color:#666;
	}

	#twocolumn-right {
		margin-top:32px;
	}

	#footer {
		text-align:center;
		padding-top:16px;
		margin-top: 16px;
	}

	#mobileStrapline {
		background: #2e69b2;
		text-align:center;
		height:15px;
	}

	#mobileStrapline h3 {
		margin:0;
		padding: 16px 0 32px 0;
		font-weight:400;
		display:none;
	}

	#footer-content {
		padding: 0px 0px 0px 0px;
		margin: 0 0 16px 0;
	}

	.footerbox h3 {
		font-size:14px;
		margin:0px;
		font-weight:bold;
	}

	#happyToTranslate {
		float:left;
		margin-right:40px;
	}

	a {
		color:#39C;
	}

	a:hover{
		color: #2e69b2;
	}

	h1, .spark-article-headline {
		color:#2e69b2;
		font-size:22px;
		margin-top:0px;
		font-weight:normal;
	}

	h2,h3 {
		font-weight:bold;
	}

	h2 {
		font-size:16px;
	}

	.newspage #threecolumn-right h3 {
		color:#2e69b2;
		font-size:14px;
	}

	.newspage #threecolumn-right a {
		color:#0099cc;
	}

	/* news */

	#morenewslist ul  {list-style-type:none;margin:0;padding:0;}
	#morenewslist h3 {display:none}
	#morenewsheader h2 {font-size:16px;color:#2e69b2;}


	/* location map */


	.stylish-select ul.newList {left:-9999px;}
	ul.newList * {margin:0; padding:0;}
	ul.newList a {color: #000; text-decoration:none; display:block;}
	ul.newList {margin:0; padding:0; list-style:none; color:#000; width:330px; background:#fff; position:absolute; border:1px solid #ccc; top:24px !important; left:0; overflow:auto; z-index:9999;}
	.newListSelected {width:100%; color:#000; height:21px; padding:3px 0 0 6px; float:left; background:url("8fe9f2eb3ab9160965ccbb78.png") no-repeat;}
	.newListSelected span {width:284px; display:block;}
	ul.newList li a {padding:3px 8px; display: block;}
	ul.newList li a:focus {-moz-outline-style: none;}
	.selectedTxt {width:288px; overflow:hidden; height:18px; padding:2px 23px 0 0;}
	.hiLite {background:#2e69b2!important; color:#fff!important;}
	.hiLite a {background:#2e69b2!important; color:#fff!important;}
	.newListHover {background:#ccc!important; color:#000!important; cursor:default;}
	.newListSelHover, .newListSelFocus {background-position:0 -24px; cursor:default;}
	.newListOptionTitle {font-weight:bold;}
	.newListOptionTitle ul {margin:3px 0 0;}
	.newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}

	#map {border:1px solid #ededed;height: 700px}
	#map h2, #address h2 {color:#2e69b2;margin:0px 0px -5px 0;padding:0px;}
	#map a {color:#00f}
	#selectContainer {background:#fbfcfb;border:1px solid #ededed;padding:20px;height:20px;margin-bottom:20px;}
	#address {padding:0px 20px 20px 20px;}


	/* nav */

	#nav ul {
		margin: 0;
		padding: 0;
	}

	#nav  li {
		list-style: none;
		padding:12px;
		background:#2e69b2;
		border-bottom:1px solid #6486bd;
	}

	#nav  li:last-child {
		border-bottom:0;
	}

	#nav  li a {
		color: #fff;
		font-size:14px;
		text-decoration:none;
		display:block;
	}

	#social-footer {
		padding:16px 0;
	}

	.ftable, .vtable { display: block;margin:16px;width:auto!important}
	.frow, .vrow { display: block}
	.fcell, .vcell { display: block;width:100%;margin-bottom:16px; height:auto}
	.fcell.middle { display: block;border:0}
	.vcell p.intro {height:auto}

}

/* nav*/
@media only screen and (max-width: 1130px) and (min-width: 1000px)  {

	#nav {

		font-size:14px!important;
	}

}

@media only screen and (max-width: 999px) and (min-width: 768px)  {

	/* tablet only */

	#strapline {
		display:inline-block;
		padding-bottom:24px;
		padding-left:30px;
	}

	.forceTablet {
		display:block;
	}

	#home-banner {
		display:none;
	}

	#happy_to_translate {
		margin:0px;
	}

	#celebrating_30_years {
		width:85px;
		height:70px;
	}
}

@media only screen and (min-width: 767px)  {

	/* tablet and bigger */

	#home-banner img {
		width:100% !important;
	}

	/*************** LINKS PAGE ***************/

	.links-container {
	  display: table;
	}
	.row {
	  display: table-row;
	}
	.column {
	  display: table-cell;
	}


}

@media only screen and (min-width: 1000px) {

	/* desktop */

	.mobile-only {
		display:none;
	}

	#social-footer {
	}

	.main-content {
		padding:0;
	}

	#border {
		padding: 0 10px 10px 10px;
		margin:0px auto;
		max-width:1600px;
	}

	/* Header */

	#header {
	}

	#strapline {
		margin-left:96px;
		margin-bottom:4px;
	}

	#mobileStrapline {
		display:none;
	}

	#social-media {
		width:240px;
		text-align:right;
		float:right;
		padding:32px 0;
	}

	#social-media img {
		padding-left:6px;
	}

	#searchbox-input {
		background:#ccc;
		width:240px;
		position:relative;
		left:734px;
		top:-61px;
		height:24px;
	}

	#search-btn {
		position:absolute;
		left:177px;
	}

	#searchmask {
		position:absolute;
		border-left:1px solid #999;
		border-top:1px solid #999;
		border-bottom:1px solid #999;
		border-right:0px solid #fff;
		width:173px;
		height:18px;
		padding:0px;
		top:2px;
		left:2px;
	}

	/* Navigation */

	#nav {
		height:44px;
		font-size:18px;
		margin-bottom:16px;
		margin-top:18px;
		border-bottom:16px solid #2e69b2;
	}

	.navbar-toggle {
		display:none;
	}

	#nav a {
		color:#000;
	}

	#nav a:hover{
		text-decoration:underline;
	}

	#nav span  {
		text-align:center;
		padding:12px 22px;
	}

	#nav li {
		//width:180px;

		border-left: 2px solid #fff;
		height:44px;
		background:#efefef;
	}

	#nav .current, #nav .parent {
		background:#2e69b2;
		background-image: linear-gradient(#6486bd, #2e69b2);
		margin-right:1px;
		height:44;
		color:#fff;
	}

	#nav .current a, #nav .parent a {
		color:#fff !important;
	}

	#nav .last {
		border-right: 2px solid #fff;
	}

	#nav .first {
		border-left: 0px;
	}

	/* Feature Boxes For Homepage */

	#home-container .featureboxxxx {
		width:283px;
		float:left ;
		clear:none;
		margin:0;
		padding:10px;
		margin: 0 8px;
		height:150px;
	}

	#home-container-content {
	}


	/* layout rules */

	#threecolumn-outer {
		overflow:auto; /* clearfix */
		margin-top:42px;
		padding:0;
	}

	.threecol {
		float:left;
		min-height:100px;
	}

	#threecolumn-left {
		width: 200px;
	}

	#threecolumn-center {
	}

	#threecolumn-right {
		padding-left:20px;
		width:48%;
	}

	#twocolumn-right {
		width: 755px;
  		padding-left: 20px;
	}

	.contactpage #threecolumn-left, .contactpage #twocolumn-right {
		width:48%;
	}

	.locationspage #threecolumn-center {
	}

	#credits {
		clear:both;
		text-align:center;
		padding-bottom:30px;
	}

	/* content rules */

	a {
		color:#39C;
	}

	a:hover{
		color: #2e69b2;
	}

	h1,.spark-article-headline {
		color:#2e69b2;
		font-size:22px;
		margin-top:0px;
		font-weight:normal;
	}

	h2,h3 {
		font-weight:bold;
	}

	h2 {
		font-size:16px;
	}

	#threecolumn-outer p {
		line-height:140%;
	}

	.newspage #threecolumn-right h3 {
		color:#2e69b2;
		font-size:14px;
	}

	.newspage #threecolumn-right a {
		color:#0099cc;
	}

	/* subnav */

	.spark-menu ul {
		list-style-type:none;
		padding-left:0px;
		font-size:13px;
		margin-top:0px;
	}

	.spark-menu ul li {
		background:#efefef;
		margin-bottom: 1px;
	}

	.spark-menu ul li a:hover {
		text-decoration:underline !important;
	}

	#threecolumn-left .current {
	   background: #2e69b2 !important;
	}

	.spark-menu ul li.current a {
		color:#fff;
	}

	.spark-menu ul a {
		text-decoration:none;
		color:#000;
	}

	.spark-menu ul li {
		width:144px;height:17px;
		padding: 10px;

	}

	/* search results */

	.spark-search-results .m {
		padding: 20px 0;
	}

	.spark-search-results form {
		padding: 20px 0;
	}

	.r h3 a {
		color:#39C;
		font-size:14px;
	}

	.u {
		font-weight:bold;
		padding:5px 5px 0 0;
	}

	.spark-pagination li.m {
		padding-right:6px;
		font-weight:bold;
	}

	.spark-pagination li a {
		text-decoration:none;
	}

	.spark-pagination {
		font-size:13px;
	}



	/* location map */


	.stylish-select ul.newList {left:-9999px;}
	ul.newList * {margin:0; padding:0;}
	ul.newList a {color: #000; text-decoration:none; display:block;}
	ul.newList {margin:0; padding:0; list-style:none; color:#000; width:330px; background:#fff; position:absolute; border:1px solid #ccc; top:24px !important; left:0; overflow:auto; z-index:9999;}
	.newListSelected {width:325px; color:#000; height:21px; padding:3px 0 0 6px; float:left; background:url("8fe9f2eb3ab9160965ccbb78.png") no-repeat;}
	.newListSelected span {width:284px; display:block;}
	ul.newList li a {padding:3px 8px; display: block;}
	ul.newList li a:focus {-moz-outline-style: none;}
	.selectedTxt {width:288px; overflow:hidden; height:18px; padding:2px 23px 0 0;}
	.hiLite {background:#2e69b2!important; color:#fff!important;}
	.hiLite a {background:#2e69b2!important; color:#fff!important;}
	.newListHover {background:#ccc!important; color:#000!important; cursor:default;}
	.newListSelHover, .newListSelFocus {background-position:0 -24px; cursor:default;}
	.newListOptionTitle {font-weight:bold;}
	.newListOptionTitle ul {margin:3px 0 0;}
	.newListOptionTitle li {font-weight:normal; border-left:1px solid #ccc;}

	#map {border:1px solid #ededed;width: 600px; height: 700px}
	#map h2, #address h2 {color:#2e69b2;margin:0px 0px -5px 0;padding:0px;}
	#map a {color:#00f}
	#selectContainer {background:#fbfcfb;border:1px solid #ededed;padding:20px;height:20px;margin-bottom:20px;width: 360px;}
	#address {padding:0px 20px 20px 20px;}

	/* news */

	#morenewslist ul  {list-style-type:none}
	#morenewslist h3 {display:none}
	#morenewsheader {padding-left:40px}
	#morenewsheader h2 {font-size:16px}


	.displayNone {
		display:none;
	}


	/*************** HOME PAGE NEWS ***************/

	.featurebox ul.spark-document-list {
		list-style-type:none;
		margin-left:0px;
		padding-left:0px;
	}

	.featurebox h3 {
		display:none;
	}

	#area-middle-featurebox .spark-document-list-moreinfo {;
	}

	#morenewslist ul.spark-document-list .spark-document-list-summary	{
		line-height:140%;
	}

	#morenewslist ul.spark-document-list a {
		line-height:40px;
		position:relative;
	}

	/*************** CONTACT PAGE ***************/

	.google-map-container {
		margin-top:60px;
	}

	/* FOOTER */

	#footer {
		text-align:left;
	}

	#footer-content {
		display:table;
		width:100%;
	}

	#footer-content .footerbox {
		display:table-cell;
		margin-bottom:15px;
		width:33%;
		vertical-align:top;
	}

	#footer-content .footerbox .padder {
		padding: 0 16px 16px 0;
	}

	.borderright {
	}

	.footerbox h3 {
		font-size:18px;
		font-weight:bold;
	}

	.footerbox h2 {
		font-weight:normal;
		color:#fea51f;
		font-size:14px;
		margin:0px 0px 10px 0px;
		padding:0px;
	}

	.footer-subleft {
		float:left;
		padding-right:20px;
	}

	.contactDetails {

	}

	.googleTranslate {
		 text-align: center;
	}

	.happyToTranslate {
		text-align:center;
	}

}