/*
Theme Name: Scottish Conservatives
Theme URI: http://scottishconservatives.com
Description: 2012 Scottish Conservatives theme. Phwoar! (Based on Foundation framework by ZURB)
Version: 1.0
Author: Marc Jones @ IceBomb
Author URI: http://icebomb.co.uk
*/

/* --------------------------------------------------
   Table of Contents
-----------------------------------------------------
:: Shared Styles
:: Page Name 1
:: Page Name 2


:: red: //#e80033//; 232, 17, 45 #E8112D
:: blue: //#335a8e//; 0, 183, 235, #00B7EB
:: dark blue: //#001a57//;	0, 56, 107 #00386B
*/

/* -----------------------------------------
   Layout
----------------------------------------- */
body {
	background: #00aeef;
	overflow-x: hidden;
}

.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px);
}

.ie-notice {
	display: none;
}

.masthead {
	width: 100%;
	padding: 20px 0;
	background: rgb(255, 255, 255);
	/* The Fallback */
	background: rgba(255, 255, 255, 0.9);
}

.masthead .logo {
	float: right;
}

.masthead .link-list li {
	padding-top: 10px;
	line-height: 32px;
}

.masthead .link-list li.search {
	padding-top: 0;
}

.navbar {
	width: 100%;
	margin-bottom: 7px;
	border-top: solid 1px #d0d0d0;
	background-color: #fff;
	*background-color: #e7e7e7;
	background-image: linear-gradient(top, #ffffff, #e7e7e7);
	box-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.3);
}

/* -----------------------------------------
   TEMP: colours etc;
----------------------------------------- */
a {
	color: #00386B;
}

a:hover {
	color: #00B7EB;
}

.article a {
	color: #00aeef;
}

.article a:hover {
	color: #00B7EB;
}

.article h2 a {
	color: #00386B;
}

.article h2 a:hover {
	color: #00B7EB;
}

.toggle-topbar a {
	color: #00386B;
}

.toggle-topbar a:hover {
	color: #00B7EB;
}

/* -----------------------------------------
   Typography
----------------------------------------- */
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	src: local('Lato Light'), local('Lato-Light'), url(http://themes.googleusercontent.com/static/fonts/lato/v6/KT3KS9Aol4WfR6Vas8kNcg.woff) format('woff');
}

@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	src: local('Lato Regular'), local('Lato-Regular'), url(http://themes.googleusercontent.com/static/fonts/lato/v6/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff');
}

* {
	font-family: 'Lato', Arial, sans-serif;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 21px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 17px;
}

h6 {
	font-size: 14px;
}

/* main content/article typography */
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6,
.article p,
.article span.meta-prep,
.article form,
.article .alert-box,
pre {
	margin: 0 20px 12px 20px;
}

.article hr {
	margin-left: 20px;
	margin-right: 20px;
}

p.small {
	font-size: 12px;
}

pre {
	font-size: 12px;
	line-height: 16px;
	white-space: normal;
	padding: 10px;
	background: #f1f1f1;
}

.featured .caption h1 {
	font-size: 24px;
}

.article h1 {
	color: #416492;
	font-style: normal;
	padding-bottom: 10px;
	border-bottom: solid 1px #DDD;
}

.article ul,
.article ol {
	margin: 0 20px 12px 20px;
	padding-left: 25px;
}

.twicker li {
	font-size: 14px;
	line-height: 22px;
	padding: 0 20px;
	padding: 6px 0;
	margin-bottom: 6px;
	height: 52px;
}

.footer ul li,
.footer p {
	font-size: 12px;
	color: #416492;
}

.quicklinks ul li h5 {
	font-size: 16px;
	color: #416492;
}

.tabbed h2 {
	font-size: 18px;
	font-weight: bold;
}

.tabs dd a {
	font-size: 16px;
}

aside h5 {
	font-size: 24px;
	font-weight: bold;
}

aside p {
	font-size: 16px;
	line-height: 1.35;
	font-style: normal;
}

p.credit {
	margin-top: 19px;
	text-align: right;
}

.site-footer {
	color: #fff;
	background-color: #252525;
	padding: 40px 0;
}

.site-footer ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.site-footer ul li a {
	display: inline-block;
	color: #fff;
	font-weight: 600;
	font-size: 19.2px;
	margin-bottom: 5px;
	border-bottom: 1px solid transparent;
}

.site-footer ul li h5 {
	color: #fff;
}

.site-footer ul li a:hover {
	border-bottom: 1px solid #fff;
}

.site-footer-logo {
	max-width: 250px;
	display: block;
	margin: 40px auto;
}

.footer-credits {
	float: left;
	font-siuze: 12px;
}

.small-text {
	font-siuze: 12px;
	margin-bottom: 10px;
}

.site-footer .footer-privacy {
	list-style-type: none;
	margin: 0;
	padding: 0;
	float: right;
}

.site-footer .footer-privacy li {
	display: inline-block;
}

.site-footer .footer-privacy li a {
	font-size: 12px;
	margin-left: 10px;
}



/* -----------------------------------------
   Navigation
----------------------------------------- */
/* <nav> */
.top-bar {
	background-color: #fff;
	*background-color: #e7e7e7;
	background-image: linear-gradient(top, #ffffff, #e7e7e7);
	margin-bottom: 0;
	height: 58px;
	line-height: 58px;
}

.top-bar ul {
	height: 58px;
	line-height: 58px;
}

.top-bar ul>li.primary,
.top-bar ul>li.has-dropdown {
	border-left: solid 1px #fff;
	border-right: solid 1px #fff;
}

.top-bar ul>li a:not(.button) {
	height: 58px;
	line-height: 58px;
	border: none;
	border-bottom: solid 4px transparent;
	color: #00386B;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 1), 0 0 0 rgba(0, 0, 0, 1);
	font-size: 14px;
	padding: 0 30px;
}

.top-bar ul>li:not(.name):hover,
.top-bar ul>li:not(.name).active {
	background: transparent;
}

.top-bar ul>li:not(.name):hover a,
.top-bar ul>li:not(.name).active a {
	color: #E8112D;
	border-bottom: solid 4px #00aeef;
}

.top-bar ul>li.divider {
	background: #d0d0d0;
	box-shadow: 0 0 0 rgba(255, 255, 255, 0);
	height: 100%;
	margin-right: 1px;
	width: 1px;
}

.top-bar ul>li.has-dropdown a {
	padding-right: 28px;
}

.top-bar ul>li.has-dropdown a::after {
	display: none;
}

/* sub-nav */
.top-bar ul>li.has-dropdown ul.dropdown {
	background: #f1f1f1;
	height: auto;
	display: block;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.top-bar ul>li.has-dropdown .dropdown li {
	padding: 5px 10px;
	background: #f1f1f1;
}

.top-bar ul>li.has-dropdown .dropdown li a {
	color: #416492;
	padding: 0 50px 5px 0;
	display: block;
	border-bottom: solid 1px #e1e1e1;
}

.top-bar ul>li.has-dropdown .dropdown li:last-child a {
	border-bottom: none;
}

.top-bar ul>li.has-dropdown .dropdown li a:hover {
	color: #00aeef;
	background: #f1f1f1;
}

/* .breadcrumbs */
.article ul.breadcrumbs {
	border: 1px solid #F6F6F6;
	border-bottom-color: #E9E9E9;
	margin: 0 0 17px 0;
}

ul.breadcrumbs li span {
	padding-left: 0px;
}

ul.breadcrumbs li a,
ul.breadcrumbs li span.breadcrumb_last {
	padding-left: 10px;
}

/* .nav-below (posts) */
.article ul#nav-below,
.article ul#nav-above {
	list-style: none;
	overflow: hidden;
	border-top: 1px solid #E9E9E9;
	border-bottom: 1px solid #E9E9E9;
	margin: 17px 0;
	padding: 10px;
	background: #F6F6F6;
}

ul#nav-below li,
ul#nav-above li {
	float: left;
	height: 30px;
	line-height: 30px;
	margin: 0;
	padding: 0;
	width: 50%;
}

ul#nav-below li.nav-previous,
ul#nav-above li.nav-previous {
	padding-left: 10px;
}

ul#nav-below li.nav-next,
ul#nav-above li.nav-next {
	text-align: right;
	padding-right: 10px;
}

/* -----------------------------------------
   Homepage Elements
----------------------------------------- */
/* featured image */
.featured {
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	position: relative;
	margin: 0 0 7px 0;
	height: 406px;
	overflow: hidden;
}

.featured img {
	max-width: 680px;
	margin-left: -15px;
}

.featured .caption {
	min-width: 100%;
	display: block;
	overflow: hidden;
	padding: 2% 5%;
	position: absolute;
	bottom: 0px;
	z-index: 50;
	background: rgb(0, 56, 107);
	/* The Fallback */
	background: rgba(0, 56, 107, 0.7);
}

.featured .caption h1 {
	color: #fff;
	width: 70%;
	margin: 0 5% 0 0;
	float: left;
}

.featured .caption .imgbutton {
	margin: 11px 0 0 0;
	float: left;
}

/* tabbed news */
.panel.tabbed .tabs-content {
	margin: 0 20px;
}

.tabs {
	background: #dfdfdf;
}

.tabs dd.active,
.tabs li.active {
	color: #416492;
	background: #fff;
	border-top: 3px solid #fff;
}

.tabs dd.active a,
.tabs li.active a {
	color: #416492;
	font-weight: normal;
}

.tabbed h2 {
	color: #00aeef;
	margin-bottom: 7px;
}

.tabbed p {
	color: #416492;
	margin-bottom: 7px;
}

.tabbed h2 a {
	color: #00aeef;
}

.tabbed p a {
	color: #00aeef;
}

/* -----------------------------------------
   Page Elements
----------------------------------------- */
.post-list hr {
	margin: 0 20px 27px 20px;
}

.post-list img {
	float: right;
	margin: 0 20px 20px 20px;
	padding: 4px;
	border: solid 1px #e1e1e1;
}

.article span.meta-prep {}

.slickr-flickr-slideshow {
	margin: 10px 20px;
	border: solid 1px #f1f1f1;
}

.slickr-flickr-slideshow div img {
	margin: 10px 68px;
}

aside .panel.flickr .slickr-flickr-gallery {
	height: 97px;
	overflow: hidden;
	padding: 5px;
}

/* <img> */
.article img.alignright {
	float: right;
	margin: 0 20px 20px 10px;
	border: solid 1px #f1f1f1;
	box-sizing: content-box;
}

.article p img.alignright {
	margin: 0 0 20px 10px;
}

/* block list for downloads etc */
ul.block-list {
	list-style: none;
	margin-bottom: 20px;
	padding: 0;
}

ul.block-list li {
	background: #f1f1f1;
	overflow: hidden;
	padding: 10px;
	margin-bottom: 7px;
}

ul.block-list li h2,
ul.block-list li h3,
ul.block-list li p {
	margin: 0;
}

ul.block-list li img {
	float: left;
	margin-right: 10px;
}

/* profile list for people */
ul.profile-list {
	list-style: none;
	margin-bottom: 20px;
	padding: 0;
}

ul.profile-list li {
	background: #f1f1f1;
	padding: 10px;
	margin-bottom: 7px;
}

ul.profile-list li h2,
ul.profile-list li h3,
ul.profile-list li p {
	margin: 0;
}

/* panel */
.panel {
	border: none;
	/*margin: 0 0 22px 0; padding: 20px; */
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	background-color: #fff;
	*background-color: #e7e7e7;
	background-image: linear-gradient(top, #ffffff, #e7e7e7);
}

.panel.tabbed,
.panel.article {
	background: #fff;
	padding: 0 0 20px 0;
}

.panel.article {
	overflow: hidden;
	padding-bottom: 40px;
}

.panel.twicker {
	height: 60px;
	overflow: hidden;
	padding: 0 20px;
	margin: 0 0 7px 0;
}

/* .sidebar */
aside ul.side-nav {
	padding: 0;
}

aside ul.side-nav li {
	margin: 0 0 7px 0;
}

aside .panel {
	margin: 0 0 7px 0;
}

aside .panel.reps {
	max-height: 200px;
}

aside .panel.reps {
	background: #fff url(images/css/panels_news-reps.png) top right;
}

aside .panel.news {
	background: #fff url(images/css/panels_news-reps.png) bottom right;
}

aside .panel.tweed {
	background: #fff;
}

aside .panel.tweed ul.tweet_list .tweet_text {
	display: block;
	overflow: hidden;
}

aside .panel.flickr {
	background: #fff;
}

aside .panel.members {
	background: #416492 url(images/css/panels_members.png) top right;
	padding: 0;
}

aside .panel.members span {
	border: dashed 3px #fff;
	display: block;
	padding: 20px;
}

aside .panel h5 {
	color: #416492;
	padding-bottom: 10px;
	background: url(images/css/divider-light_horiz.png) no-repeat bottom center;
}

aside .panel.members h5 {
	color: #fff;
	background: url(images/css/divider_horiz.png) no-repeat bottom center;
}

aside .panel.members p {
	color: #fff;
}


/* slickr-flickr (flickr gallery) */
.panel.flickr .slickr-flickr-gallery {
	padding: 0;
}

.panel.flickr .slickr-flickr-gallery li {
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	background-color: #fff;
	margin: 0 14px 14px 0;
	line-height: 1px;
}

.panel.flickr .slickr-flickr-gallery li a {
	display: block;
	background-color: #e1e1e1;
	border: solid 4px #fff;
}

.panel.flickr .slickr-flickr-gallery li a:hover {
	border: solid 4px #00b7eb;
}

.panel.flickr .slickr-flickr-gallery img {
	border: none;
	padding: 0;
}

/* twicker (twitter ticker) */
.twicker ul.tweet_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.twicker ul.tweet_list a {
	color: #00aeef;
}

.twicker ul.tweet_list .tweet_text {
	color: #416492;
}

/* tweed (twitter feed) */
.tweed ul.tweet_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tweed ul.tweet_list li {
	list-style: none;
	margin: 0 0 7px 0;
	padding: 7px 0;
	border-bottom: 1px solid #DDD;
}

.tweed ul.tweet_list a {
	color: #00aeef;
}

.tweed ul.tweet_list .tweet_text {
	color: #416492;
}

/* Buttons */
.imgbutton {
	font-size: 13px;
	font-weight: bold;
	line-height: 32px;
	text-align: left;
	text-indent: 20px;
	color: #fff;
	border: none;
	display: block;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 0 rgba(255, 255, 255, 0) inset;
	background-color: transparent;
	cursor: pointer;
	background-image: url(images/css/sprite.png);
	padding: 1px 0 3px 0;
}

.tabbed a.imgbutton,
.article a.imgbutton {
	color: #fff;
}

.article a.imgbutton {
	margin: 0 20px;
}

.imgbutton:hover {
	color: #fff;
}

.imgbutton.small {
	width: 127px;
	background-position: 0 -120px;
}

.imgbutton.small:hover {
	background-position: 0 -160px;
}

.imgbutton.login {
	width: 127px;
	background-position: -203px -120px;
	text-indent: 30px;
}

.imgbutton.login:hover {
	background-position: -203px -160px;
}

.imgbutton.medium {
	width: 203px;
	background-position: 0 -200px;
}

.imgbutton.medium:hover {
	background-position: 0 -240px;
}

.imgbutton.flickr.medium {
	color: #828282;
	text-shadow: none;
	background-position: 0 -280px;
	text-indent: 40px;
}

.imgbutton.flickr.medium:hover {
	color: #fff;
	background-position: 0 -320px;
}

.imgbutton.cta {
	border: solid 1px #00aeef;
	line-height: 35px;
	text-indent: 50px;
	background-color: #00aeef;
	background-position: 0 -361px;
	font-size: 22px;
	padding: 10px;
}

.imgbutton.cta:hover {
	background-color: #00b7eb;
	border: solid 1px #0485a9;
	background-position: 0 -473px;
}

span.social {
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	display: block;
	width: 55px;
	margin-right: 2px;
	height: 60px;
	float: left;
	background-color: #fff;
	*background-color: #e7e7e7;
	background-image: linear-gradient(top, #ffffff, #e7e7e7);
}

span.social.end {
	margin-right: 0;
}

span.social a {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	width: 40px;
	height: 40px;
	margin: 10px auto;
	background-image: url(images/css/sprite.png);
}

span.social a:hover {
	cursor: pointer;
}

a.facebook {
	background-position: 0 0;
}

a.facebook:hover {
	background-position: 0 -40px;
}

a.twitter {
	background-position: -40px 0;
}

a.twitter:hover {
	background-position: -40px -40px;
}

a.flickr {
	background-position: -80px 0;
}

a.flickr:hover {
	background-position: -80px -40px;
}

a.youtube {
	background-position: -120px 0;
}

a.youtube:hover {
	background-position: -120px -40px;
}

/* <table> */
table {
	margin: 0 20px;
	border: none;
}

table tbody tr td {
	color: #333;
	padding: 9px 10px;
	vertical-align: top;
	border: none;
}

table thead tr th,
table tfoot tr th,
table tbody tr td,
table tr td,
table tfoot tr td {
	display: table-cell;
	font-size: 14px;
	line-height: 18px;
	text-align: left;
}

table strong {
	color: #00aeef;
}

table tr td.consultation,
table tr td.summary,
table tbody tr td.consultation,
table tbody tr td.summary {
	text-align: center;
	color: #00aeef;
	background: #f1f1f1;
}

table tbody tr:nth-child(even) td.consultation,
table tbody tr:nth-child(even) td.summary,
table tr:nth-child(even) td.consultation,
table tr:nth-child(even) td.summary {
	background: #e1e1e1;
}

/* <form> */
form.simple label {
	display: none;
}

div.alert-box.success {
	background-color: #416492;
}

.article form p {
	margin-left: 0;
	margin-right: 0;
}

label {
	color: #222;
}

p.error {
	color: #C60F13;
}

.search form {
	padding-top: 10px;
}

input#s {
	background: #fff url(images/css/search.png) no-repeat 5px 6px;
	border-radius: 2px;
	font-size: 14px;
	line-height: 32px;
	height: 32px;
	padding: 4px 10px 4px 28px;
}

input#searchsubmit {
	display: none;
}

/*.search input.field {
	width: 80%;
	border: solid 1px #fff; box-shadow: none;
	float: left;
}
.search input.submit {
	width: 32px;
	height: 32px;
	border: solid 1px #e1e1e1; background: #e1e1e1;
	border-radius: 2px;
	float: left;
}*/

/* <footer>*/
.quicklinks ul {
	list-style: none;
}

hr.footer {
	border: solid #00B7EB;
	border-width: 1px 0 0;
	clear: both;
	margin: 22px 0 21px 0;
	height: 0;
}

hr.clear {
	border: solid transparent;
	border-width: 1px 0 0;
	clear: both;
	margin: 2px 0 1px 0;
	height: 0;
}

/* -----------------------------------------
   Cookie Notice
----------------------------------------- */
/* set the css for the container */
#cookie-notice {
	width: 100%;
	height: auto;
	overflow: hidden;
}

#cookienote-container {
	width: 960px;
	overflow: hidden;
	color: #fff;
	margin: 0 auto;
	position: relative;
}

/* set the css for the h2 header text */
#cookienote-container h2 {
	width: 120px;
	color: #fff;
	font: bold 18px/22px Arial, sans-serif;
	float: left;
	text-align: right;
}

/* set the paragraph text for your explaination */
#cookienote-container p {
	width: 680px;
	float: left;
	color: #BEBEBE;
	margin: 17px 20px;
	font: 12px/14px Arial, sans-serif;
}

/* set the css for the ul that contains the continue link */
#cookienote-container ul {
	position: absolute;
	left: 840px;
	font-weight: bold;
	list-style-type: none;
	margin: 17px 0;
}

#cookienote-container ul #cookienote-continue button {
	padding: 0 0 0 24px;
	background-position: 0 -251px;
	color: #00B7EB;
	font-size: 1.2em;
	border: 0;
	cursor: pointer;
	background-color: transparent;
}

#cookienote-container #cookienote-policy a {
	float: right;
	color: #00B7EB;
	font: 11px/14px Arial, sans-serif;
}

/* -----------------------------------------
   Browser fixes
----------------------------------------- */
.lt-ie9 .row#page {
	overflow: hidden;
	clear: both;
	margin: 0 auto;
}

/*.lt-ie9 .row.footer { width: 100% !important; min-width: 100%; max-width: auto; margin: 0; }*/
.lt-ie9 .navbar,
.lt-ie9 .top-bar,
.lt-ie9 .top-bar ul li a:hover,
.lt-ie9 .top-bar ul li a.active,
.lt-ie9 span.social,
.lt-ie9 .panel.twicker {
	background: #f1f1f1 url(images/css/ie_gradient.png) repeat-x;
}

.lt-ie9 .top-bar ul li a {
	color: #416492;
	display: block;
	font-weight: bold;
	font-size: 13px;
	height: 58px;
	line-height: 58px;
	padding: 0 20px;
}

.lt-ie9 .top-bar ul li a.button {
	height: auto;
	line-height: 30px;
	margin-top: 7px;
}

.lt-ie9 .top-bar ul li a img {
	margin-top: -5px;
	vertical-align: middle;
}

.lt-ie9 .top-bar ul li a:hover,
.lt-ie9 .top-bar ul li a.active {
	color: #00aeef;
	color: #00aeef;
	border-bottom: solid 4px #00aeef;
}

.lt-ie9 .top-bar ul li.has-dropdown {
	padding-right: 0;
}

.lt-ie9 .top-bar ul li.has-dropdown>ul li {
	padding: 5px 10px;
}

/* -----------------------------------------
   Media Queries : Responsive elements
----------------------------------------- */
@media only screen and (min-width: 1000px) {}

@media only screen and (max-width: 967px) {
	span.social {
		width: 25%;
		margin: 0;
	}

	/*.top-bar ul > li a:not(.button) { padding: 0 18px; }*/
	.featured .caption h1 {
		width: 60%;
		margin: 0 2% 0 0;
	}
}

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

	/*div.row {
  		clear:both!important;
  		display:block!important;
  		width:100%!important;
  		float:none!important;
  		margin:0!important;
  		padding:0!important;
	}*/
	/* cookie notice */
	#cookie-notice {
		width: 100%;
		height: auto;
		margin: 0;
	}

	#cookienote-container {
		width: 100%;
		overflow: hidden;
	}

	#cookienote-container h2,
	#cookienote-container p,
	#cookienote-container ul {
		width: 80%;
		margin: 0 10%;
		float: none;
		overflow: hidden;
	}

	#cookienote-container h2 {
		text-align: left;
		font-weight: bold;
		line-height: 2;
	}

	#cookienote-container p {
		line-height: 1.24;
	}

	#cookienote-container ul {
		position: relative;
		left: 0;
		display: block;
		padding: 0 0 10px 0;
	}

	#cookienote-container ul #cookienote-continue {
		float: left;
		width: 50%;
	}

	#cookienote-container ul #cookienote-continue button {
		padding: 0;
		background-position: 0 -251px;
		color: #00B7EB;
		border: 0;
		cursor: pointer;
		background-color: transparent;
		line-height: 25px;
		text-align: left;
	}

	#cookienote-container #cookienote-policy a {
		float: left;
		color: #00B7EB;
		font-size: 0.9em;
		width: 50%;
		line-height: 25px;
		text-align: right;
	}

	.masthead .logo {
		float: none;
		margin: 0 auto;
	}

	/* <nav> */
	.navbar {
		background: transparent none;
	}

	.top-bar ul>li.toggle-topbar {
		width: 100%;
	}

	.top-bar ul>li.toggle-topbar a:not(.button) {}

	.top-bar ul>li.toggle-topbar span {}

	.featured {
		height: auto;
		margin-top: 7px;
	}

	.featured img {
		max-width: 100%;
		margin-left: 0;
	}

	.featured .caption h1 {
		width: 100%;
		margin: 0;
		font-size: 18px;
	}

	.featured .caption .imgbutton {
		padding: 0;
		background: none;
		line-height: 26px;
		text-indent: 0;
		margin: 4px 0 0 0;
	}

	.top-bar {
		background: #f1f1f1;
		line-height: auto;
	}

	.top-bar ul {
		width: 100%;
		height: 100%;
		margin-bottom: 0;
		display: block;
	}

	.top-bar ul>li.name {
		background-color: #f1f1f1;
	}

	.top-bar ul>li.divider {
		width: 100%;
		border-bottom: solid 1px #fff;
		border-top: solid 1px #e1e1e1;
	}

	.top-bar ul>li.has-dropdown.moved .dropdown li a:hover {
		background: #f1f1f1;
	}

	/*.top-bar ul li.toggle-topbar a {
		border-color: #e12730;
	}
	.top-bar.expanded ul li.toggle-topbar a {
		border-color: #e12730;
	}*/
	.top-bar.expanded {
		padding-top: 58px;
	}

	.top-bar ul>li.toggle-topbar {
		height: 58px;
	}

	.top-bar ul>li.toggle-topbar a:not(.button) {
		width: 100%;
		text-indent: 30px;
		border-color: transparent;
		line-height: 58px;
		height: 58px;
		padding: 0;
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		margin: -4px;
		border: none
	}

	.top-bar ul>li.toggle-topbar a span {
		content: "";
		display: block;
		width: 0;
		height: 0;
		border: solid 8px;
		border-color: white transparent transparent transparent;
		padding: 0;
		position: absolute;
		top: 50%;
		right: 22.5px;
		margin-top: -4px;
		border: solid 8px;
		border-color: rgba(0, 183, 235, 1) transparent transparent transparent;
	}

	.top-bar.expanded ul li.toggle-topbar a span {
		border: solid 8px;
		border-color: transparent transparent rgba(0, 183, 235, 0.5) transparent;
	}

	.panel.twicker {
		height: 90px;
	}

	.twicker li {
		font-size: 14px;
		line-height: 22px;
		padding: 0 20px;
		padding: 6px 0;
		margin-bottom: 6px;
		height: 82px;
	}

	.tabs {
		height: auto;
		margin: 0;
	}

	.tabs dd {
		width: 100%;
		float: none;
	}

	.post-list img {
		display: none;
	}

	iframe {
		width: 100%;
	}

	.slickr-flickr-slideshow {
		margin: 10px 20px;
		border: none;
	}

	.slickr-flickr-slideshow div img {
		margin: 0 auto;
	}
}

a.linkedin {
	background-image: url("http://www.scottishconservatives.com/wordpress/wp-content/themes/scottishconservatives/images/css/sprite_linkedin.png") !important;
	background-repeat: no-repeat !important;
	background-position: 2px 5px !important;
}

a.linkedin:hover {
	background-position: 2px -35px !important;
}

.site-header {
	width: 100%;
	display: inline-block;
}

.site-header-logo {
	max-width: 250px;
}

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

	.site-header-logo {
		max-width: 190px;
	}
}

.site-header-content {
	position: relative;
	height: 120px;
	padding: 20px 0;
	background: #00aeef;
	z-index: 52;
}

.site-header input {
	display: none;
}

.mobile-nav {
	display: none;
	visibility: hidden;
}


@media only screen and (min-width: 968px) {
	.site-header nav {
		float: right;
		margin-top: 30px;
	}

	.site-header nav ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}

	.site-header nav ul li {
		display: inline-block;
		padding: 28px 10px 14px 10px;

	}

	.site-header nav ul li a {
		display: inline-block;
		font-size: 18px;
		font-weight: 400;
		border-bottom: 1px solid #00aeef;
		color: #fff;
	}

	.site-header nav ul li:hover a {
		border-color: #fff;
	}

	.site-header nav ul ul {
		display: none;
	}

	.site-header nav ul li:hover ul {
		display: block;
		position: absolute;
		top: calc(100% - 2px);
	}

	.site-header nav ul ul li {
		display: block;
		padding: 0;
	}

	.site-header nav ul ul li a {
		display: block;
		min-width: 200px;
		font-size: 16px;
		color: #416492;
		padding: 8px 10px;
		background: #fff;
		border: none;
	}

	.site-header nav ul ul li:hover a {
		color: #fff;
		background: #00aeef;
	}
}


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

	.desktop-nav {
		display: none;
		visibility: hidden;
	}

	.mobile-nav {
		display: block;
		visibility: visible;
	}

	.site-header input {
		position: fixed;
		top: 0;
	}

	.site-header input+label {
		position: absolute;
		top: 53px;
		right: 40px;
		height: 20px;
		width: 26px;
		z-index: 54;
	}

	.site-header input+label span {
		position: absolute;
		width: 100%;
		height: 3px;
		border-radius: 3px;
		top: 50%;
		margin-top: -1px;
		left: 0;
		display: block;
		background: #fff;
		transition: .5s;
		z-index: 52;
	}

	.site-header input+label span:first-child {
		top: 4px;
	}

	.site-header input+label span:last-child {
		top: 16px;
	}

	.site-header input:checked+label span {
		opacity: 0;
		top: 50%;
	}

	.site-header input:checked+label span:first-child {
		opacity: 1;
		transform: rotate(405deg);
	}

	.site-header input:checked+label span:last-child {
		opacity: 1;
		transform: rotate(-405deg);
	}

	@keyframes SlideIn {
		0% {
			transform: translate3d(40px, 0, 0);

			opacity: 0;
		}

		100% {
			transform: translate3d(0, 0, 0);

			opacity: 1;
		}
	}

	.site-header nav {
		position: absolute;
		top: -100%;
		left: 0;
		width: 100%;
		padding: 0 40px 40px 40px;
		background: #00aeef;
		transition: top 1s ease 0s;
		z-index: 51;
	}

	.site-header nav ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	.site-header nav ul li {
		width: 100%;
		display: inline-block;
		text-align: right;
		opacity: 0;
	}

	.site-header nav ul li a {
		display: block;
		color: #fff;
		font-size: 30px;
		line-height: 1.5;
	}

	.site-header nav ul ul {
		display: none;
	}

	.site-header nav ul ul li a {
		font-size: 20px;
	}

	.site-header input:checked~nav {
		top: 120px;
	}

	.site-header input:checked~nav ul li {
		transform: translate3d(10px, 0, 0);
		animation: SlideIn 200ms ease;
		animation-fill-mode: both;
		animation-delay: 1s;
	}

	.site-header input:checked~nav>ul.main-nav>li:nth-child(1) {
		animation-delay: 1.10s;
	}

	.site-header input:checked~nav>ul.main-nav>li:nth-child(2) {
		animation-delay: 1.20s;
	}

	.site-header input:checked~nav>ul.main-nav>li:nth-child(3) {
		animation-delay: 1.30s;
	}

	.site-header input:checked~nav>ul.main-nav>li:nth-child(4) {
		animation-delay: 1.40s;
	}

	.site-header input:checked~nav>ul.main-nav>li:nth-child(5) {
		animation-delay: 1.50s;
	}

	.site-header input:checked~nav>ul.main-nav>li:nth-child(6) {
		animation-delay: 1.60s;
	}

	.site-header input:checked~nav>ul.main-nav>li:nth-child(7) {
		animation-delay: 1.70s;
	}
}

.o-promo {
	width: 100%;
	max-width: 100%;
	min-height: 600px;
	position: relative;
	object-fit: cover;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top left;
	margin-bottom: 30px;

	display: flex;
	flex-direction: column;
	justify-content: center;
	resize: vertical;
}

.o-promo-text {
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	background: linear-gradient(to right, rgba(9, 91, 145, 0.6) 40%, transparent 60%);
	z-index: 2;
}

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

	.o-promo-text {
		padding-left: 10px;
		padding-right: 10px;
	}
}

.o-promo-text__title {
	width: 45%;
	color: #fff;
	font-size: 80px;
	font-weight: 900;
	line-height: 1;
}

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

	.o-promo-text__title {
		width: 100%;
	}
}

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

	.o-promo {
		width: 100%;
		min-height: 376px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.o-promo-text {
		font-size: 60px;
	}
}

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

	.o-promo {
		min-height: 276px;
	}

	.o-promo-text {
		font-size: 40px;
		line-height: 1.2;
	}
}

.o-promo-highlight {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, #00aeef 18%, #00aeef 95%, rgba(0, 0, 0, 0) 85%);
}

.o-promo-overlay {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 45%;
}

.o-hero {
	position: relative;
	width: 100%;
	margin-bottom: 30px;
}

.o-hero__col {
	width: 100%;
	padding: 0 8px;
}

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

	.o-hero__col {
		width: 50%;
	}
}

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

	.o-hero__col {
		width: 43%;
	}
}

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

	.o-hero__col {
		width: 35%;
		padding: 0;
	}
}

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

	.o-hero__col {
		width: 45%;
		padding: 0;
	}
}

.o-hero__text {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 2;
}

.o-hero-text__title {
	color: #fff;
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
}

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

	.o-hero-text__title {
		font-size: 35px;
	}
}

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

	.o-hero-text__title {
		font-size: 60px;
	}
}

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

	.o-hero-text__title {
		font-size: 80px;
	}
}

.o-hero__overlay {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 1px;
	left: 0;
	height: calc(100% - 1px);
	width: 100%;
}

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

	.o-hero__overlay {
		width: 50%;
	}
}

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

	.o-hero__overlay {
		width: 45%;
	}
}

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

	.o-hero__overlay {
		width: 50%;
	}
}
