@charset "UTF-8";
/**************************************************
***************************************************
Theme Name: Scottish Government Blog
Description: 2016
Author: D8
Author URI: http://d8.co.uk
Version: 1.0
***************************************************
***************************************************/
/* ==========================================================================
   Imports
   ========================================================================== */
/* ==========================================================================
   SCSS Mixins
   ========================================================================== */
/* Responsive Detection */
/* Box Shadow */
/* Border Radius */
/* animation */
/*
@author 14islands.com
SASS mixins for future proof resolution media query
*/
/* Opacity mixin */
/* Smooth transition */
/* Smooth transition */
/* Rotate Mixin */
/* FONT SIZE */
/*@mixin font-size($sizeValue: 14) {
  font-size: $sizeValue + px;
  font-size: ($sizeValue / 10) + rem;
  line-height: ($sizeValue + 6) + px;
  line-height: ( ($sizeValue + 6) / 10) + rem;
}*/
/* For clearing floats like a boss */
.layout, .clearfix, .floated-list {
  *zoom: 1; }
  .layout:before, .clearfix:before, .floated-list:before, .layout:after, .clearfix:after, .floated-list:after {
    display: table;
    content: "";
    line-height: 0; }
  .layout:after, .clearfix:after, .floated-list:after {
    clear: both; }

/* ==========================================================================
   SCSS Variables
   ========================================================================== */
/* Fonts*/
h1.main-title, body, .searchform input[type=text], .comment-respond input[type=text], .comment-respond textarea, .custom-sidebar select, .email-signup input[type=text], .SGB-categories select, .main-content h3.search-message, h3, .author-details .author-text p strong, .hamburger p, .search-results h3 a, .comment-respond input[type=submit], .widget h3, .about-blog .email-signup input[type=submit], .topic h2, .author-post h2, footer .links a {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: grayscale; }

h1.main-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-style: normal; }

body, .searchform input[type=text], .comment-respond input[type=text], .comment-respond textarea, .custom-sidebar select, .email-signup input[type=text], .SGB-categories select {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal; }

.main-content h3.search-message {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-style: normal; }

h3, .author-details .author-text p strong, .hamburger p, .search-results h3 a, .comment-respond input[type=submit], .widget h3, .about-blog .email-signup input[type=submit], .topic h2, .author-post h2, footer .links a {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-style: normal; }

/* COLOURS */
/* hamburger animation */
/* VARIABLES */
/* -(gap height + 2x bar height) */
/* 2x gap height + bar height */
/* gap height + bar height */
/* webkit */
@-webkit-keyframes squishBottom {
  0% {
    margin-top: 19px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg); } }
@-webkit-keyframes squishTop {
  0% {
    margin-top: -14px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg); } }
@-webkit-keyframes dissappear {
  0% {
    opacity: 1; }
  50% {
    opacity: 1; }
  65% {
    opacity: 0; }
  100% {
    opacity: 0; } }
@-webkit-keyframes squishBottomRev {
  0% {
    margin-top: -3px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: 19px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); } }
@-webkit-keyframes squishTopRev {
  0% {
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: -14px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); } }
@-webkit-keyframes dissappearRev {
  0% {
    opacity: 0; }
  50% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/* FIREFOX */
@-moz-keyframes squishBottom {
  0% {
    margin-top: 19px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg); } }
@-moz-keyframes squishTop {
  0% {
    margin-top: -14px;
    -moz-transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -moz-transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -moz-transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -moz-transform: rotate(-45deg); } }
@-moz-keyframes dissappear {
  0% {
    opacity: 1; }
  50% {
    opacity: 1; }
  65% {
    opacity: 0; }
  100% {
    opacity: 0; } }
@-moz-keyframes squishBottomRev {
  0% {
    margin-top: -3px;
    -moz-transform: rotate(-135deg); }
  50% {
    margin-top: -3px;
    -moz-transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -moz-transform: rotate(0deg); }
  100% {
    margin-top: 19px;
    -moz-transform: rotate(0deg); } }
@-moz-keyframes squishTopRev {
  0% {
    margin-top: -3px;
    -moz-transform: rotate(-45deg); }
  50% {
    margin-top: -3px;
    -moz-transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -moz-transform: rotate(0deg); }
  100% {
    margin-top: -14px;
    -moz-transform: rotate(0deg); } }
@-moz-keyframes dissappearRev {
  0% {
    opacity: 0; }
  50% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/* opera */
@-o-keyframes squishBottom {
  0% {
    margin-top: 19px;
    -o-transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -o-transform: rotate(-135deg); } }
@-o-keyframes squishTop {
  0% {
    margin-top: -14px;
    -o-transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -o-transform: rotate(-45deg); } }
@-o-keyframes dissappear {
  0% {
    opacity: 1; }
  50% {
    opacity: 1; }
  65% {
    opacity: 0; }
  100% {
    opacity: 0; } }
@-o-keyframes squishBottomRev {
  0% {
    margin-top: -3px;
    -o-transform: rotate(-135deg); }
  50% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  100% {
    margin-top: 19px;
    -o-transform: rotate(0deg); } }
@-o-keyframes squishTopRev {
  0% {
    margin-top: -3px;
    -o-transform: rotate(-45deg); }
  50% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -o-transform: rotate(0deg); }
  100% {
    margin-top: -14px;
    -o-transform: rotate(0deg); } }
@-o-keyframes dissappearRev {
  0% {
    opacity: 0; }
  50% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/* no prefix */
@keyframes squishBottom {
  0% {
    margin-top: 19px;
    transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    transform: rotate(-135deg); } }
@keyframes squishTop {
  0% {
    margin-top: -14px;
    transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    transform: rotate(-45deg); } }
@keyframes dissappear {
  0% {
    opacity: 1; }
  50% {
    opacity: 1; }
  65% {
    opacity: 0; }
  100% {
    opacity: 0; } }
@keyframes squishBottomRev {
  0% {
    margin-top: -3px;
    transform: rotate(-135deg); }
  50% {
    margin-top: -3px;
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    transform: rotate(0deg); }
  100% {
    margin-top: 19px;
    transform: rotate(0deg); } }
@keyframes squishTopRev {
  0% {
    margin-top: -3px;
    transform: rotate(-45deg); }
  50% {
    margin-top: -3px;
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    transform: rotate(0deg); }
  100% {
    margin-top: -14px;
    transform: rotate(0deg); } }
@keyframes dissappearRev {
  0% {
    opacity: 0; }
  50% {
    opacity: 0; }
  100% {
    opacity: 1; } }
.mobile-menu {
  display: none;
  cursor: pointer; }
  @media only screen and (max-width: 1210px) {
    .mobile-menu {
      display: block; } }

.ham-wrapper {
  display: inline-block;
  margin-top: 11px; }

.hamburger {
  width: 30px;
  height: 25px;
  display: block; }
  .hamburger .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #005eb7;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg); }
    .hamburger .bar:nth-of-type(2) {
      margin-top: -14px; }
    .hamburger .bar:nth-of-type(3) {
      margin-top: 19px; }
  .hamburger.active .bar:nth-of-type(1) {
    -webkit-animation: dissappear .3s ease;
    -moz-animation: dissappear .3s ease;
    -o-animation: dissappear .3s ease;
    animation: dissappear .3s ease;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.active .bar:nth-of-type(2) {
    -webkit-animation: squishTop .3s ease;
    -moz-animation: squishTop .3s ease;
    -o-animation: squishTop .3s ease;
    animation: squishTop .3s ease;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.active .bar:nth-of-type(3) {
    -webkit-animation: squishBottom .3s ease;
    -moz-animation: squishBottom .3s ease;
    -o-animation: squishBottom .3s ease;
    animation: squishBottom .3s ease;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.inactive .bar:nth-of-type(1) {
    -webkit-animation: dissappearRev .3s ease;
    -moz-animation: dissappearRev .3s ease;
    -o-animation: dissappearRev .3s ease;
    animation: dissappearRev .3s ease;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.inactive .bar:nth-of-type(2) {
    -webkit-animation: squishTopRev .3s ease;
    -moz-animation: squishTopRev .3s ease;
    -o-animation: squishTopRev .3s ease;
    animation: squishTopRev .3s ease;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.inactive .bar:nth-of-type(3) {
    -webkit-animation: squishBottomRev .3s ease;
    -moz-animation: squishBottomRev .3s ease;
    -o-animation: squishBottomRev .3s ease;
    animation: squishBottomRev .3s ease;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html,
button,
input,
select,
textarea {
  color: #222; }

html {
  font-size: 1em;
  line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }

::selection {
  background: #b3d4fc;
  text-shadow: none; }

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */
audio,
canvas,
img,
video {
  vertical-align: middle; }

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical; }

img {
  max-width: 100%; }

/*
 * No top margin on all elements
 */
* {
  margin-top: 0; }

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box; }

*, *:before, *:after {
  box-sizing: inherit; }

/* layout & grid overrides */
ul, ol {
	padding-left: 24px !important;}
  ul li, ol li {
    margin-bottom: 1em;
    list-style-position: outside;
	padding-left: 10px;}

dd {
  margin: 0; }

.layout {
  position: relative;
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0; }
  .layout > li {
    list-style-type: none;
    margin-bottom: 0; }
  .layout ul ul {
    list-style-type: disc; }

.top-layer {
  position: relative;
  z-index: 8000; }

.floated, .column {
  float: left; }

.floated-right {
  float: right; }

@media only screen and (max-width: 640px) {
  .m-no-float {
    float: none !important; } }

@media only screen and (max-width: 768px) {
  .t-no-float {
    float: none !important; } }

.floated-list li,
.floated-list dt,
.floated-list dd {
  float: left;
  list-style-type: none; }

.inline-list > li,
.inline-list > dt,
.inline-list > dd {
  display: inline-block; }
@media only screen and (max-width: 1279px) {
  .inline-list.m-block-100 > li,
  .inline-list.m-block-100 > dt,
  .inline-list.m-block-100 > dd {
    display: block; } }
.inline-list.centered {
  text-align: center; }

.comma-seperated-list li:after {
  content: ', '; }
.comma-seperated-list li:last-child:after {
  content: '';
  padding-right: 0; }

.pipe-separated-list li:after {
  content: ' | '; }
.pipe-separated-list li:last-child:after {
  content: ''; }

.bullet-separated-list {
  list-style: none; }
  .bullet-separated-list li:after {
    content: '\2022';
    margin-left: 10px; }
  .bullet-separated-list li:last-child:after {
    content: ''; }

.table-list {
  padding-left: 0;
  margin-left: 0;
  display: table;
  table-layout: fixed;
  width: 100%;
  text-align: center; }
  @media only screen and (max-width: 640px) {
    .table-list {
      display: block; } }
  .table-list li {
    display: table-cell; }
    @media only screen and (max-width: 640px) {
      .table-list li {
        display: block;
        margin: 0 0 1.25em 0; } }

nav ul {
  margin-left: 0;
  padding-left: 0; }
  nav ul li {
    list-style-type: none; }
    nav ul li a {
      text-decoration: none; }

.inline-block {
  display: inline-block; }

.vertical-center-parent {
  display: table;
  table-layout: fixed;
  width: 100%; }

.vertical-center {
  display: table-cell;
  vertical-align: middle; }

.align-bottom {
  position: absolute;
  bottom: 0;
  right: 0; }
  @media only screen and (max-width: 640px) {
    .align-bottom {
      position: relative;
      margin-top: 1em; } }
  .align-bottom li:last-child {
    padding-right: 0; }
    .align-bottom li:last-child:after {
      padding-left: 0; }

.centered-copy {
  text-align: center; }

@media only screen and (max-width: 640px) {
  .m-centered-copy {
    text-align: center; } }

@media only screen and (max-width: 768px) {
  .t-centered-copy {
    text-align: center; } }

a, a:active, a:focus {
  outline: none; }

/* ==========================================================================
   Eric Meyer's reset
   ========================================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th,
td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, footer, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  outline: 0; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, footer {
  display: block; }

body {
  line-height: 1; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

*:focus {
  outline: 0; }

/* removes extra extra margin at the bottom of module elements */
.module > *:last-child,
.module > *:last-child > *:last-child,
.module > *:last-child > *:last-child > *:last-child {
  margin-bottom: 0 !important; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.cookie-bar-bar .ctcc-inner{
	max-width: 1200px;
	margin: 0 auto;
	-webkit-justify-content: left !important;
	justify-content: left !important;
}
.cookie-bar-bar .ctcc-inner .ctcc-left-side{
	font-family: Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 18px;
	line-height: 28px;
}
#catapult-cookie-bar a{
	text-decoration: underline;
}
#catapult-cookie-bar a:hover{
	opacity: 0.75;
	transition: opacity 0.2 ease 1s;
}
.x_close{
	width: 40px !important;
	height: 30px !important;
}
.x_close span {
    background: #fff none repeat scroll 0 0 !important;
	height: 2px !important;
	width: 40px !important;
}
table.cookieTable{
	padding: 10px !important;
	border: solid 1px #000000;
	margin-bottom: 10px;
}
table.cookieTable tr td{
	padding: 10px;
	border: 1px solid #000000;
	line-height: 1.2em;
}
body, html {
  height: 100%;
  background: #005eb7; }

body {
  font-size: 0.945em;
  color: #222; }

h1, h2, h3, h4 {
  font-weight: normal;
  margin: 0;
  line-height: 130%; }

h1 {
  font-size: 4.284em; }

h2 {
  font-size: 1.197em; }

h3 {
  font-size: 1.26em; }

img {
  width: 100%;
  height: auto;
  vertical-align: bottom; }

button {
  -webkit-appearance: none;
  border: 0; }

a {
  color: #005eb7;
  text-decoration: none; }

p {
  line-height: 130%;
  margin-bottom: 20px; }

.container {
  width: 100%;
  position: relative;
  float: left;
  background: white;
  padding: 10px; }

header, section, footer {
  width: 1200px;
  margin: 0 auto;
  position: relative; }
  @media only screen and (max-width: 1240px) {
    header, section, footer {
      width: 100%;
      padding: 0 20px; } }

.header-container {
  position: relative;
  float: left;
  width: 100%;
  overflow: hidden;
  border-top: 10px solid #005eb7;
  border-bottom: 1px solid #ccc;
  background: white;
  padding: 10px; }

.content {
  overflow: hidden;
  padding-bottom: 150px; }

.alignleft {
  float: left;
  margin: 0 20px 20px 0; }

.alignright {
  float: right;
  margin: 0 0 20px 20px; }

.aligncenter {
  display: block;
  margin: 20px auto; }

img.attachment-featured.size-featured.wp-post-image {
    width: 100% !important;
}

blockquote, q {
  padding: 14px 10px 14px 15px;
  border-left: 4px solid #005eb7;
  margin: 35px 0 35px 0; }
h3#comments{
	display: none;
}
/*************************************************** HEADER ***************************************************/
header {
  padding: 15px 0;
  overflow: hidden; }
  header .logo {
    position: relative;
    float: left;
    width: auto; }
    header .logo img {
      width: auto;
      margin-top: 5px; }
  header nav {
    position: relative;
    float: right;
    text-align: right;
    z-index: 2;
    display: none; }
    header nav li {
      display: inline-block;
      margin: 0 0 0 20px; }
    header nav li a {
      display: block;
      font-size: 15px;
      color: #222;
      -moz-transition: color 0.3s ease-in-out;
      -webkit-transition: color 0.3s ease-in-out;
      -o-transition: color 0.3s ease-in-out;
      transition: color 0.3s ease-in-out;
      padding: 20px 0; }
      header nav li a:hover {
        color: #005eb7; }
      @media only screen and (max-width: 1024px) {
        header nav li a {
          font-size: 13px; } }
  @media only screen and (max-width: 1240px) {
    header {
      padding: 15px 20px; } }

nav.mobile-menu {
  width: 100%;
  text-align: left;
  margin: 20px 0 15px; }
  nav.mobile-menu li, nav.mobile-menu a {
    width: 100%; }
  nav.mobile-menu li {
    position: relative;
    float: left;
    margin: 0; }
  nav.mobile-menu a {
    font-size: 1.197em;
    background: #f2f2f2;
    border-bottom: 2px solid white;
    padding: 20px 30px;
    -moz-transition: background 0.1s ease-in-out;
    -webkit-transition: background 0.1s ease-in-out;
    -o-transition: background 0.1s ease-in-out;
    transition: background 0.1s ease-in-out; }
    nav.mobile-menu a:hover {
      color: white;
      background: #005eb7; }

.sub-header {
  overflow: hidden;
  padding-top: 25px; }

.breadcrumbs {
  width: auto;
  position: relative;
  float: left;
  margin: 0 0 75px; }
  .breadcrumbs img {
    width: auto;
    margin-top: -2px; }

.search-form {
  width: auto;
  height: 90px;
  position: relative;
  float: right; }
  .search-form label {
    display: none; }
  @media only screen and (max-width: 768px) {
    .search-form {
      display: none;
      width: 100%;
      height: 80px; } }

.searchform {
  position: relative;
  float: right;
  width: 278px; }
  .searchform input {
    position: relative;
    float: left;
    height: 55px; }
  .searchform input[type=text] {
    font-size: 1.134em;
    width: 223px;
    padding: 20px;
    color: #666;
    background: #f2f2f2;
    border: 1px solid #ccc; }
    .searchform input[type=text]:focus {
      border: 1px solid #005eb7; }
  .searchform input[type=submit] {
    font-size: 1.134em;
    padding: 20px;
    width: 55px;
    border: 0;
    background: #005eb7 url("img/icon-search-2.png") center center no-repeat;
    background-size: 25px; }
    .searchform input[type=submit]:hover {
      background-color: #0376d6; }
  @media only screen and (max-width: 768px) {
    .searchform {
      width: 100%; }
      .searchform input[type=text] {
        width: 80%; }
      .searchform input[type=submit] {
        width: 20%; } }

.author-details {
  clear: both;
  position: relative;
  float: left;
  margin: 0 0 35px 0;
  display: table; }
  .author-details img {
    width: 80px;
    margin-right: 25px; }
  .author-details .author-text {
    display: table-cell;
    vertical-align: bottom; }
    .author-details .author-text p {
      font-size: 15px;
      margin: 7px 7px 0;
      padding: 0 0 5px;
      border-bottom: 1px solid #ccc;
      min-width: 50%; }
      @media only screen and (max-width: 641px) {
        .author-details .author-text p {
          width: 100%; }
          .author-details .author-text p p:nth-last-child(1) {
            border-bottom: none; } }
    .author-details .author-text p:nth-last-child(1) {
      border-bottom: none; }

.home .breadcrumbs {
  margin: 0; }
.home .search-form {
  height: 0; }

.mobile-btns {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3; }

.search-toggle {
  display: none;
  height: 40px;
  width: 40px;
  background: url("img/icon-search-blue.png") center center no-repeat;
  background-size: 30px;
  margin-right: 10px; }
  @media only screen and (max-width: 768px) {
    .search-toggle {
      display: inline-block; } }

.hamburger {
  display: inline-block;
  height: 40px; }
  .hamburger p {
    font-size: 11px;
    margin-bottom: 0; }
  .hamburger.inactive p {
    margin-top: 5px; }
  .hamburger.active p {
    margin-top: 15px; }

h1.main-title {
  width: 100%;
  position: relative;
  float: left;
  margin: 0 0 35px 0; }
  @media only screen and (max-width: 768px) {
    h1.main-title {
      font-size: 3.15em; } }

/*************************************************** GENERAL ***************************************************/
.main-content {
  position: relative;
  float: left;
  width: 70%;
  padding-right: 5%; }
  .main-content.search {
    width: 65%;
    padding: 0;
    margin: 0 17.5%; }
    @media only screen and (max-width: 768px) {
      .main-content.search {
        width: 100%;
        margin: 0; } }
  .main-content h2 {
    font-size: 2.142em;
    margin-bottom: 25px; }
  .main-content h3.section-heading {
    padding-top: 35px; }
  .main-content h3.search-message {
    margin-bottom: 0.8em; }
  .main-content .date a, .main-content .more a {
    text-decoration: underline; }
  .main-content .date {
    margin-bottom: 30px; }
  .main-content .more {
    margin-top: 25px; }
  .main-content .banner-image {
    margin-bottom: 35px; }
    .main-content .banner-image img {
      width: 100%;
      display: block;
      margin: 0 auto;
      height: auto; }
  @media only screen and (max-width: 768px) {
    .main-content {
      width: 100%;
      padding: 0; }
      .main-content h2 {
        font-size: 1.575em; } }
  .main-content .blog-list li, .main-content .blog-list ul, .main-content .blog-list ol {
    list-style-type: none; }

  /* Containers for images with captions */
  .main-content > div{
    max-width: 100%;
  }

  .main-content p.wp-caption-text{
    font-size: 0.85em;
    font-style: italic;
    color: #5f5f5f;
    padding-top: 4px;
  }


/* MH Share widget and social sidebar widget */

.addthis_toolbox:before{
  content: 'Share this page' !important; 
  font-size: 1.26em;
  float: none !important; 
}


.share > ul{
    margin-top: 2em;
  margin-left: 40px;
}

.share > ul > li > a{
  position: relative;
  width: 8.5em !important;
  margin-bottom: 2em;
}

.share > ul > li > a > span{
  height: 36px !important;
  width: 36px !important;
  position: absolute;
  left: -40px;
  top: -10px;
}

.share > ul > li > a > span > svg{
  display: none;
}

.addthis_button_facebook > span{
    background: url('img/sg_socialicons_sprite.gif') no-repeat 0 0 !important; 
}
.addthis_button_twitter > span{
    background: url('img/sg_socialicons_sprite.gif') no-repeat 0 -46px !important; 

}
.addthis_button_linkedin > span{
    background: url('img/sg_socialicons_sprite.gif') no-repeat 0 -92px !important; 

}

.addthis_button_google_plusone_share > span{
    background: url('img/sg_socialicons_sprite.gif') no-repeat 0 -138px !important; 

}

.addthis_button_email > span{
    background: url('img/sg_socialicons_sprite.gif') no-repeat 0 -230px !important; 

}


.social-widget > ul{
  position: relative;
  margin: 22px;
}

.social-widget > ul > li, .share > ul > li{
  position: relative;
  list-style: none;
}

.social-widget > ul > li > a{
  display: inline-block;
  width: 100%;
  height: 36px;
  background: url('img/sg_socialicons_sprite.gif') no-repeat; 
  padding-left: 49px;
  padding-top: 0.8em;
}

.social-widget > ul > li > a:hover, .share > ul > li > a:hover{
  opacity: 0.75;
}

.social-widget > ul > li.facebook > a{
  background-position:  0 0;
}

.social-widget > ul > li.twitter > a{
  background-position:  0 -46px;
}

.social-widget > ul > li.flickr > a{
  background-position:  0 -322px;
}

.social-widget > ul > li.youtube > a{
  background-position:  0 -368px;
}

.social-widget > ul > li.audioboom > a{
  background-position:  0 -414px;
}

.social-widget > ul > li.instagram > a{
  background-position:  0 -460px;
}

.social-widget > ul > li.linkedin > a{
  background-position:  0 -92px;
}

/* Related posts */
.related{
  padding: 0.5em 0 ;
}

.related h2{
  margin-bottom: 15px;
}

.related-post{
  width: 30%;
  margin-right: 3%;
  padding-top: 15px;
  float: left;
}

.related-post:nth-of-type(3n){
  margin-right: 0;
}


.related-post h3{
  padding-bottom: 15px;
}

.related-post > a{
  text-decoration: underline;
}

@media only screen and (max-width: 460px) {
  .related-post{
    width: 100%;
  }
}

/* Blog listing force full width images */

.blog-list > li img{
  width: 100% !important;
}


.search-results li {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid #ccc; }

.search-results h3 {
  margin-bottom: 1em; }
  .search-results h3 a {
    text-decoration: underline; }
.search-results .date {
  margin: 0; }

h3#comments {
  border-bottom: 1px solid #ccc;
  clear: both; }
  
.comments-list {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  text-indent: 0; }
  .comments-list li.comment {
    padding: 22px; }
  .comments-list li .comment-body {
    margin-left: 45px; }
  .comments-list li .comment-author {
    font-size: 1.134em;
    margin-left: -45px; }
  .comments-list li img {
    width: auto;
    vertical-align: middle;
    margin-right: 0.5em; }
  .comments-list li cite.fn {
    font-style: normal; }
  .comments-list li .comment-meta {
    margin-bottom: 1em; }
    .comments-list li .comment-meta a {
      color: #888; }
  .comments-list li ul {
    list-style: square;
    margin: 0 0 1em 2em; }
  .comments-list li .children {
    list-style: none;
    margin: 1em 0 0;
    text-indent: 0; }
    .comments-list li .children li.depth-2 {
      border-left: 5px solid #555;
      margin: 0 0 .25em .25em; }
    .comments-list li .children li.depth-3 {
      border-left: 5px solid #999;
      margin: 0 0 .25em .25em; }
    .comments-list li .children li.depth-4 {
      border-left: 5px solid #bbb;
      margin: 0 0 .25em .25em; }
  .comments-list li.even {
    background: #fff; }
  .comments-list li.odd {
    background: #f2f2f2; }
  .comments-list li.parent {
    border-left: 5px solid #111; }
  .comments-list li.pingback {
    border-bottom: 1px dotted #666;
    padding: 1em; }

.comment-respond {
  padding-top: 35px; }
  .comment-respond .comment-notes {
    color: red; }
    .comment-respond .comment-notes #email-notes {
      color: #222; }
  .comment-respond p {
    margin-bottom: 3%; }
  .comment-respond label {
    display: none; }
  .comment-respond input {
    position: relative;
    float: left;
    height: 55px; }
  .comment-respond input[type=text], .comment-respond textarea {
    font-size: 1.134em;
    width: 223px;
    padding: 20px;
    color: #666;
    background: #f2f2f2;
    border: 1px solid #ccc; }
    .comment-respond input[type=text]:focus, .comment-respond textarea:focus {
      border: 1px solid #005eb7; }
  .comment-respond input[type=text] {
    width: 48.5%; }
    @media only screen and (max-width: 640px) {
      .comment-respond input[type=text] {
        width: 100%;
        margin: 0 0 3%; } }
  .comment-respond #author {
    margin: 0 3% 3% 0; }
  .comment-respond textarea {
    width: 100%; }
  .comment-respond input[type=submit] {
    position: relative;
    float: right;
    margin-top: 3%;
    height: auto;
    font-size: 1.134em;
    padding: 10px 20px;
    border: 0;
    color: white;
    background: #005eb7; }
    .comment-respond input[type=submit]:hover {
      background: #0376d6; }

.pagination {
  position: relative;
  float: left;
  width: 100%;
  clear: both;
  font-size: 1.26em;
  text-align: center;
  margin-top: 20px; }
  .pagination .prev {
    margin-right: 25px; }
  .pagination .next {
    margin-left: 25px; }

.screen-reader-text {
  display: none; }

.addthis_toolbox {
  padding: 1em 0; }
  .addthis_toolbox a {
    padding: 0 7px !important; }
  .addthis_toolbox:before {
    content: 'Share this article';
    float: left;
    padding: 10px 10px 0 0; }

/*************************************************** SIDEBAR ***************************************************/
.sidebar {
  position: relative;
  float: left;
  width: 30%;
  margin-top: 20px; }
  @media only screen and (max-width: 768px) {
    .sidebar {
      width: 100%; } }
  .sidebar .addthis_toolbox {
    display: none !important; }

.wrapper {
  padding: 22px; }

.widget {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 25px; }
  .widget h3 {
    padding: 10px 15px;
    background: #f2f2f2;
    font-size: 1.26em; }

.about-blog img {
  margin-bottom: 1em; }
.about-blog .subscribe {
  text-align: right; }
  .about-blog .subscribe p {
    vertical-align: middle;
    margin: 0; }
  .about-blog .subscribe a {
    margin-left: 10px;
    margin-right: 5px;
    display: inline-block; }
  .about-blog .subscribe img {
    width: 35px;
    height: 35px;
    margin: 0; 
    margin-right: 5px;}
.about-blog .email-signup {
  display: none; }
  .about-blog .email-signup .wrapper {
    text-align: right; }
  .about-blog .email-signup input[type=submit] {
    padding: 10px;
    font-size: 15px;
    background: #005eb7;
    border: 0;
    color: white; }
    .about-blog .email-signup input[type=submit]:hover {
      background: #0376d6; }

.post-date:before {
  content: '– '; }

.scotgovposts li, .scotgovposts ul, .scotgovposts ol {
  list-style-type: none; }
.scotgovposts li {
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 20px;
  margin-bottom: 20px;
  overflow: hidden; }
  .scotgovposts li:last-of-type {
    border: 0;
    padding: 0;
    margin: 0; }
.scotgovposts img {
  margin-bottom: 10px; }
.scotgovposts span {
  display: block;
  float: left;
  width: 50%;
  padding-bottom: 5px;
  font-size: 15px; }
.scotgovposts .left {
  text-align: left; }
.scotgovposts .right {
  text-align: right; }
.scotgovposts h3 {
  float: left;
  clear: both;
  background: transparent;
  padding: 0;
  font-size: 17px;
  font-weight: 400; }

iframe.twitter-timeline {
  width: 100% !important; }

iframe.twitter-follow-button {
  float: right;
  margin-top: 2px; }

.custom-sidebar select, .email-signup input[type=text], .SGB-categories select {
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
  padding: 10px;
  font-size: 15px;
  background: white;
  border: 1px solid #ccc; }
  .custom-sidebar select:focus, .email-signup input[type=text]:focus, .SGB-categories select:focus {
    border: 1px solid #005eb7; }

.custom-sidebar select, .SGB-categories select {
  background: url("img/select-arrows.png") 99% 3px no-repeat; }

/*************************************************** GRID ***************************************************/
.grid {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: bottom; }
  .grid > div {
    position: relative;
    display: inline-block; }

.four-col {
  width: 23.1707317073%;
  float: left;
  margin-right: 2.4390243902%;
  margin-bottom: 2.4390243902%; }
  @media only screen and (max-width: 960px) {
    .four-col {
      width: 48.7804878049%;
      float: left;
      margin-right: 2.4390243902%; } }
  @media only screen and (max-width: 640px) {
    .four-col {
      width: 100%;
      margin-right: 0 !important; }
      .four-col .small-link {
        display: none; } }

.three-col {
  width: 31.7073170732%;
  float: left;
  margin-right: 2.4390243902%;
  margin-bottom: 2.4390243902%; }
  @media only screen and (max-width: 960px) {
    .three-col {
      width: 48.7804878049%;
      float: left;
      margin-right: 2.4390243902%; } }
  @media only screen and (max-width: 640px) {
    .three-col {
      width: 100%;
      margin-right: 0 !important; }
      .three-col .small-link {
        display: none; } }

.topic {
  border: 1px solid #ccc;
  min-height: 150px; }
  .topic.fourth {
    margin-right: 0; }
  @media only screen and (max-width: 960px) {
    .topic.even {
      margin-right: 0; } }
  .topic h2 {
    padding: 10px 15px;
    background: #ccc; }
  .topic .sub-blogs {
    padding: 10px 15px 0; }
  .topic ol, .topic ul, .topic li {
    list-style: none; }
  .topic li {
    margin: 0 0 10px; }

.author-post {
  border-bottom: 1px solid #ccc; }
  .author-post h2 {
    margin-bottom: 0.5em; }
  .author-post.third {
    margin-right: 0; }
    @media only screen and (max-width: 960px) {
      .author-post.third {
        margin-right: 2.4390243902%; } }
  @media only screen and (max-width: 960px) {
    .author-post.even {
      margin-right: 0; } }

.footer-container {
  position: relative;
  float: left;
  width: 100%;
  background: #005eb7;
  padding: 10px; }

footer {
  padding: 3% 0;
  overflow: hidden; }
  @media only screen and (max-width: 1240px) {
    footer {
      padding: 3% 20px; } }
  @media only screen and (max-width: 768px) {
    footer {
      padding: 2em 20px; } }
  footer ul, footer li {
    list-style: none; }
  footer ul {
    position: relative;
    float: left; }
    @media only screen and (max-width: 678px) {
      footer ul {
        width: 100% !important; } }
  footer .links {
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    padding-left: 1em;
    font-size: 15px;
    width: 60%; }
    footer .links li:last-of-type {
      margin-bottom: 0; }
    footer .links a {
      color: rgba(255, 255, 255, 0.8); }
      footer .links a:hover {
        color: white;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out; }
    @media only screen and (max-width: 960px) {
      footer .links {
        width: 50%; } }
    @media only screen and (max-width: 640px) {
      footer .links {
        margin-bottom: 2em; } }
  footer .social {
    width: 40%;
    height: 135px;
    display: table; }
    footer .social li {
      margin: 0 16px 0 0;
      display: table-cell;
      vertical-align: middle;
      text-align: center; }
    footer .social a {
      background-size: 65% !important; }
      footer .social a.twitter {
        display: inline-block;
        width: 65px;
        height: 65px;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background: rgba(255, 255, 255, 0.8) url(img/twitter-blue.svg) no-repeat center center;
        /*.no-svg & {
        	@if($bg-size) {
        		@include no-transition;
        	    background: url(/public/20180403095037oe_/https://blogs.gov.scot/digital/wp-content/themes/img/twitter.png) left top;
        	    background-size: $bg-size;
        	    &.active, &:hover { background-position: right top; }
        	} @else {
        		background: transparent;
        		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/twitter.png', sizingMethod='scale');
        		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/twitter.png', sizingMethod='scale')";
        	}
        }*/ }
      footer .social a.facebook {
        display: inline-block;
        width: 65px;
        height: 65px;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background: rgba(255, 255, 255, 0.8) url(img/facebook-blue.svg) no-repeat center center;
        /*.no-svg & {
        	@if($bg-size) {
        		@include no-transition;
        	    background: url(/public/20180403095037oe_/https://blogs.gov.scot/digital/wp-content/themes/img/facebook.png) left top;
        	    background-size: $bg-size;
        	    &.active, &:hover { background-position: right top; }
        	} @else {
        		background: transparent;
        		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/facebook.png', sizingMethod='scale');
        		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/facebook.png', sizingMethod='scale')";
        	}
        }*/ }
      footer .social a.flickr {
        display: inline-block;
        width: 65px;
        height: 65px;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background: rgba(255, 255, 255, 0.8) url(img/flickr-blue.svg) no-repeat center center;
        /*.no-svg & {
        	@if($bg-size) {
        		@include no-transition;
        	    background: url(/public/20180403095037oe_/https://blogs.gov.scot/digital/wp-content/themes/img/flickr.png) left top;
        	    background-size: $bg-size;
        	    &.active, &:hover { background-position: right top; }
        	} @else {
        		background: transparent;
        		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/flickr.png', sizingMethod='scale');
        		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/flickr.png', sizingMethod='scale')";
        	}
        }*/ }
      footer .social a.youtube {
        display: inline-block;
        width: 65px;
        height: 65px;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background: rgba(255, 255, 255, 0.8) url(img/youtube-blue.svg) no-repeat center center;
        /*.no-svg & {
        	@if($bg-size) {
        		@include no-transition;
        	    background: url(/public/20180403095037oe_/https://blogs.gov.scot/digital/wp-content/themes/img/youtube.png) left top;
        	    background-size: $bg-size;
        	    &.active, &:hover { background-position: right top; }
        	} @else {
        		background: transparent;
        		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/youtube.png', sizingMethod='scale');
        		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/youtube.png', sizingMethod='scale')";
        	}
        }*/ }
      footer .social a.audioboom {
        display: inline-block;
        width: 65px;
        height: 65px;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background: rgba(255, 255, 255, 0.8) url(img/audioboom-blue.svg) no-repeat center center;
        /*.no-svg & {
        	@if($bg-size) {
        		@include no-transition;
        	    background: url(/public/20180403095037oe_/https://blogs.gov.scot/digital/wp-content/themes/img/audioboom.png) left top;
        	    background-size: $bg-size;
        	    &.active, &:hover { background-position: right top; }
        	} @else {
        		background: transparent;
        		filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/audioboom.png', sizingMethod='scale');
        		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/audioboom.png', sizingMethod='scale')";
        	}
        }*/ }
      footer .social a:hover {
        background-color: white !important; }
    @media only screen and (max-width: 960px) {
      footer .social {
        width: 50%; } }

/* ==================================================== MEDIA QUERIES ==================================================== */
.gt-ie8 {
  /**************** CLASSES ********************************/ }
  @media only screen and (min-width: 769px) {
    .gt-ie8 .t-only {
      display: none;
      visibility: hidden; } }
  @media only screen and (max-width: 640px) {
    .gt-ie8 .m-hidden {
      display: none !important;
      visibility: hidden; } }
  @media only screen and (min-width: 641px) {
    .gt-ie8 .m-only {
      display: none;
      visibility: hidden; } }

/* ==================================================== PRINT STYLES ==================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important; }

  a, a:visited {
    text-decoration: underline; }

  a[href]:after {
    content: " (" attr(href) ")"; }

  abbr[title]:after {
    content: " (" attr(title) ")"; }

  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
    content: ""; }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }

  thead {
    display: table-header-group; }

  tr, img {
    page-break-inside: avoid; }

  img {
    max-width: 100% !important; }

  @page {
    margin: .5cm; }
  p, h2, h3 {
    orphans: 3;
    widows: 3; }

  h2, h3 {
    page-break-after: avoid; } }
