@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], .email-signup input[type=email], .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], .email-signup input[type=email], .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);
    transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg); } }
@-webkit-keyframes squishTop {
  0% {
    margin-top: -14px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -webkit-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);
    transform: rotate(-135deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: 19px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); } }
@-webkit-keyframes squishTopRev {
  0% {
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    margin-top: -14px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); } }
@-webkit-keyframes dissappearRev {
  0% {
    opacity: 0; }
  50% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/* FIREFOX */
/* opera */
/* no prefix */
@keyframes squishBottom {
  0% {
    margin-top: 19px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg); } }
@keyframes squishTop {
  0% {
    margin-top: -14px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg); } }
@keyframes dissappear {
  0% {
    opacity: 1; }
  50% {
    opacity: 1; }
  65% {
    opacity: 0; }
  100% {
    opacity: 0; } }
@keyframes squishBottomRev {
  0% {
    margin-top: -3px;
    -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    margin-top: 13px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); } }
@keyframes squishTopRev {
  0% {
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg); }
  50% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  75% {
    margin-top: -3px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    margin-top: -12px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); } }
@keyframes dissappearRev {
  0% {
    opacity: 0; }
  50% {
    opacity: 0; }
  100% {
    opacity: 1; } }
nav.mobile-menu {
  display: none;
  cursor: pointer;
  background: #0065bd;
  padding: 0;
  margin: 0 !important; }
  @media only screen and (max-width: 1210px) {
    .mobile-menu {
      display: block; } }

.ham-wrapper {
  display: inline-block;
  margin-top: 0; }

.hamburger {
  width: 35px;
  height: 25px;
  display: block; }
  .hamburger .bar {
    display: block;
    width: 35px;
    height: 4px;
    background-color: #005eb7;
    -webkit-transform: rotate(0deg);
    -ms-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;
    animation: dissappear .3s ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.active .bar:nth-of-type(2) {
    -webkit-animation: squishTop .3s ease;
    animation: squishTop .3s ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.active .bar:nth-of-type(3) {
    -webkit-animation: squishBottom .3s ease;
    animation: squishBottom .3s ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.inactive .bar:nth-of-type(1) {
    -webkit-animation: dissappearRev .3s ease;
    animation: dissappearRev .3s ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.inactive .bar:nth-of-type(2) {
    -webkit-animation: squishTopRev .3s ease;
    animation: squishTopRev .3s ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }
  .hamburger.inactive .bar:nth-of-type(3) {
    -webkit-animation: squishBottomRev .3s ease;
    animation: squishBottomRev .3s ease;
    -webkit-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 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; }

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit; }

/* layout & grid overrides */
ul, ol {
    margin: -7px 0 28px 20px;
    padding: 0;}
  ul li, ol li {
    margin: 0 0 14px 20px;
    list-style-position: outside;
  }

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 !important;
  margin: 0;
  padding: 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-box-pack: left !important;
      -ms-flex-pack: 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;
  -webkit-transition: opacity 0.2 ease 1s;
  -o-transition: opacity 0.2 ease 1s;
  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: #2D66BD; }

body {
  font-size: 18px;
  line-height: 28px;
  color: #333;
  font-weight:400; }

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: #0065bd;
  text-decoration: none;
  -webkit-transition: 0.2s ease-in-out color;
  -o-transition: 0.2s ease-in-out color;
  transition: 0.2s ease-in-out color; }

a:hover{
  color: #00437e;
}

p {
  margin-bottom: 28px; }

.container {
  width: 100%;
  position: relative;
  float: left;
  background: white;
  padding: 0; }

header, section, footer {
  width: 100%;
  max-width: 1100px;
  padding: 0 15px;
  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: 7px solid #005eb7;
  border-bottom: 1px solid #ebebeb;
  background: white; }

.content {
  overflow: hidden;
  padding-bottom: 70px; }

.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;
}

.main-content img.wp-post-image, .main-content img.alignleft, .main-content img.alignright, .main-content img.aligncenter, .main-content .banner-image img{
  margin-top: 40px !important;
}

/* blockquote, q {
  padding: 14px 10px 14px 15px;
  border-left: 4px solid #005eb7;
  margin: 35px 0 35px 0; } */
h3#comments{
  display: none;
}
/*************************************************** HEADER ***************************************************/
header {
  overflow: hidden;
  height: 90px;
  line-height: 90px; }
  header .logo {
    position: relative;
    float: left;
    width: 240px;
    height:90px;
    display: table-cell;
    vertical-align: middle;
    margin-top: -1px; }
    header .logo img {
      width: 240px;
      height:36px;
      vertical-align: middle; }
  header nav {
    position: relative;
    float: right;
    text-align: right;
    z-index: 2;
    display: none; }
    header nav li {
      display: inline-block;
      padding:0;
      margin:0;
       }
    header nav li a {
      position: relative;
      display: table-cell;
      font-size: 16px;
      padding: 0 20px;
      color: #333;
      -webkit-transition: color 0.3s ease-in-out;
      -o-transition: color 0.3s ease-in-out;
      transition: color 0.3s ease-in-out;
       }
       header nav li:last-child{
        background: #e5f0f8;
       }
       header nav li:last-child a:after{
        position: absolute;
        content:'';
        width:100%;
        height: 5px;
        background: #0065bd;
        left: 0;
        bottom: 0;
       }
      header nav li a:hover {
        background: #f8f8f8;
         }
  @media only screen and (max-width: 1240px) { }


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 {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 20px 30px;
    -webkit-transition: background 0.1s ease-in-out;
    -o-transition: background 0.1s ease-in-out;
    transition: background 0.1s ease-in-out;
    color: #fff; }
    nav.mobile-menu li:last-child{
      background: transparent;
    }
    nav.mobile-menu li:last-child a{
      color: #fff;
      background: transparent;
    }
    nav.mobile-menu a:hover {
      color: white;
      background: #005eb7; }

.sub-header {
  overflow: hidden;
  padding-top: 21px; }

  body.home .sub-header{
    padding-top: 0;
  }

.breadcrumbs {
  width: auto;
  position: relative;
  float: left;
  margin: 0 0 75px;
  font-size: 14px;}
  .breadcrumbs img {
    width: auto;
    margin-top: -2px; }
    .breadcrumbs a{
      text-decoration: underline;
      padding-right: 10px;
    }
    .breadcrumbs img{ display: none; }
    .breadcrumbs span{
      position: relative;
    }
    .breadcrumbs span:after{ color: #727272;
    content: '\203a';
    font-size: 19px;
    font-weight: 700;
    line-height: 14px;
    padding: 0 3px 0 3px;
    text-decoration: none !important;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);}

.search-form {
  /*width: 25%;*/
  width: 26.65%;
  height: 90px;
  padding-left: 23px;
  position: relative;
  float: right; }
  .search-form label {
    display: none; }
  @media only screen and (max-width: 767px) {
    .search-form {
      display: none;
      width: 100%;
      height: 80px; } }

.searchform {
  position: relative;
  float: right;
  width: 100%;
   }
  .searchform input {
    position: relative;
    float: left;
    height: 55px; }
  .searchform input[type=text] {
    position: absolute;
    right: 0;
    margin-right: 56px;
    height: 56px;
    padding-right: 0;
    width: calc(100% - 56px);
    padding: 0 20px;
    color: #333;
    background: #f8f8f8;
    border: 1px solid #b3b3b3;
    border-right: none;
    -webkit-transition: 0.2s ease-in-out all;
    -o-transition: 0.2s ease-in-out all;
    transition: 0.2s ease-in-out all;
    border-radius: 0 !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 17px; }
    .searchform input[type=text]:focus {
    background: #e5f0f8;
    border: none;
    outline: none;
    width: calc(100% + 101px - 56px);
    font-size: 22px;
    font-weight: 300;
     }
  .searchform input[type=submit] {
    position:absolute;
    right: 0;
    top: 0;
    width: 56px;
    height: 56px;
    border: 0;
    background: #0065bd url("img/icon-search-2.png") 15px 15px no-repeat;
    background-size: 24px;
    padding: 0;
    border-radius: 0 !important;
    transition: 0.2s ease-in-out all; }
    .searchform input[type=submit]:hover {
      background-color: #00437e; }
  @media only screen and (max-width: 768px) {
    .search-form{
      padding-left: 0;
    }
    .searchform {
      width: 100%;
      padding-left: 0;
    }
/*      .searchform input[type=text] {
        width: 80%; }
      .searchform input[type=submit] {
        width: 20%; }*/
    .searchform input[type=text]:focus {
    width: calc(100% - 56px);

     }
         }

  ul.search-results{ list-style: none;     margin: -7px 0 28px 0; }

.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: 12px;
  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;
  margin-top: 10px; }
  .hamburger p {
    font-size: 13px;
    margin-bottom: 0;
    font-weight: 500; }
  .hamburger.inactive p {
    margin-top: 3px;
    line-height: normal; }
  .hamburger.active p {
    margin-top: 15px; }

h1.main-title {
  width: 100%;
  position: relative;
  float: left;
  margin: 0 0 35px -3px;
        font-size: 56px;
      line-height: 63px;
      letter-spacing: -0.5px; }
  @media only screen and (max-width: 768px) {
    h1.main-title {
 } }

/*************************************************** GENERAL ***************************************************/
.useful-info-wrapper{position:relative; display:block; background-color:#e5f0f8; padding:20px 20px 20px 20px; color:#000; font-size:18px;}
.useful-info-body{line-height:28px; font-weight: 400; margin-top: 15px; display: inline-block;}
.useful-info-header{font-size:20px; line-height:22px; font-weight:700; padding-bottom:0px; padding-top:0px;}
.useful-info-header a{color:#000;}
/*.useful-info-header::before{position:absolute; top:20px; left:20px; content:"USEFUL INFO"; font-size:14px; color:#FFF; font-weight:400;}*/

.main-content {
  position: relative;
  float: left;
  width: 70%;
  padding-right: 5%; }
  .main-content.search {
    width: 65%;
    padding: 0;
    margin: 0 17.5%;
    margin: 0; }
    .main-content a{
      text-decoration: underline;
    }
    .main-content h3{
      font-size: 21px;
    line-height: 28px;
    margin: 42px 0 7px 0;
    position: relative;
    top: -2px;
    font-weight: 700;
    }
    .main-content h4{
      font-weight: 700;
    }
    @media only screen and (max-width: 768px) {
      .main-content.search {
        width: 100%;
        margin: 0; } }
  .main-content h2 {
font-size: 28px;
    line-height: 35px;
    margin: 0 0 14px 0;
    position: relative;
    top: -3px;; }
  .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.blog-post .date a.commentsLink{
      display: none;
    }
    .main-content.blog-post .date-div{
      margin: 0 5px;
    }
  .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; }
      .content .main-content ul.blog-list{ margin: -7px 0 28px 0;  }
.content .main-content.listingsSqueeze{ }
.wrapper{ padding: 0 0 20px 0; }
  @media only screen and (max-width: 768px) {
    .main-content {
      width: 100%;
      padding: 0; }
      .main-content h2 {
        font-size: 1.575em; }
        .content .main-content.listingsSqueeze {
    padding-right: 0;
} }
  .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;
  }

  .main-content .post-navigation{
    display: block;
    width: 100%;
    clear: both;
    font-size: 16px;
    margin: 50px 0;
  }
  .main-content .post-navigation:hover a{
    text-decoration: underline;
  }
  .main-content .post-navigation span{
    display: block;
    color: #002d54;
    content: attr(data-label);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 70px;
  }
  .main-content .post-navigation .next-post span{
    margin-right: 70px;
  }

  .main-content .post-navigation .previous-post, .main-content .post-navigation .next-post{
    float: left;
    width: 50%;
  }

  .main-content .post-navigation .previous-post{
    text-align: left;
  }

  .main-content .post-navigation .next-post{
    text-align: right;
  }

  .main-content .post-navigation .previous-post a, .main-content .post-navigation .next-post a{
    position: relative;
    text-decoration: none;
  }

  .main-content .post-navigation .previous-post a:hover, .main-content .post-navigation .next-post a:hover{
    text-decoration: underline;
  }

  .main-content .post-navigation .previous-post a{
    padding: 0 10px 10px 70px;
    display: block;
    text-align: left;
  }

  .main-content .post-navigation .next-post a{
    padding: 0 70px 10px 10px;
    display: block;
    text-align: right;
  }

  .main-content .post-navigation .previous-post a:before{
    content: '';
    height: 56px;
    width: 56px;
    position: absolute;
    top: -20px;
    left: 0;
    border-radius: 50%;
    display: block;
    background: #2D66BD;
    transition: 0.3s ease-in-out all;
  }

  .main-content .post-navigation .previous-post a:after{
    content: '';
    height: 56px;
    width: 56px;
    position: absolute;
    top: -20px;
    left: 0;
    background-image: url('./img/int_arrow_left_56px.png');
  }

  .main-content .post-navigation .next-post a:before{
    content: '';
    height: 56px;
    width: 56px;
    position: absolute;
    top: -20px;
    right: 0;
    border-radius: 50%;
    display: block;
    background: #2D66BD;
    transition: 0.3s ease-in-out all;
  }

  .main-content .post-navigation .next-post a:after{
    content: '';
    height: 56px;
    width: 56px;
    position: absolute;
    top: -20px;
    right: 0;
    background-image: url('./img/int_arrow_right_56px.png');
  }

  .main-content .post-navigation .previous-post a:hover:before, .main-content .post-navigation .next-post a:hover:before{
    background: #00437e;
  }

  @media only screen and (max-width: 600px) {
    .main-content .post-navigation .previous-post, .main-content .post-navigation .next-post{
      float: none;
      width: 100%;
      margin-top: 15px;
    }
  }

/* Blog listing styles */

  .blog-list{
    clear: both;
    padding: 0;
  }

  .blog-list li{
  border-top: 1px solid rgb(227, 227, 227);
  padding: 30px 0;
  margin: 0;
   }

  .blog-list h2{
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .blog-list h2 a{
    text-decoration:none;
  }
  .blog-list h2 a:hover{
    text-decoration: underline;
  }
  .main-content p.date{
    font-size: 14px;
    color: rgb(114, 114, 114);
    margin-bottom: 35px;
    line-height: 14px;
  }
  .main-content .blog-list p.date{
    font-size: 14px;
    color: rgb(114, 114, 114);
    margin-bottom: 7px;
    line-height: 14px;
  }
  .blog-list p.more{
    margin: 10px 0 0 0;
  }


/* 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: 0 !important;
}

.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{
  padding-left: 40px !important;
}

.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: 10px 0 0 0;
  padding: 0;
}

.social-widget > ul > li, .share > ul > li{
  position: relative;
  list-style: none;
  margin: 0 0 14px 0;
}

.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.2em;
}

.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;
  margin-top: 20px;
}


.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; }

  p.comments-text{ margin: 35px 0; }

.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 {
   }
  .comment-respond .comment-notes {
    color: #333;
    font-weight: 700;
     }
     .comment-notes span.required, .comment-notes #email-notes{ font-weight: 400; }
    .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 {
    width: 223px;
    padding: 20px;
    color: #333;
    background: #fff;
    border: 1px solid #b3b3b3;
    -webkit-transition: 0.3s ease-in-out all;
    -o-transition: 0.3s ease-in-out all;
    transition: 0.3s ease-in-out all; }
    .comment-respond input[type=text]:focus, .comment-respond textarea:focus {
    background: #e5f0f8;
    border-color: transparent;
    outline: none; }
  .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;
    background-color: rgb(0, 101, 189);
    color: rgb(255, 255, 255);
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    line-height: 21px;
    min-height: 56px;
    outline-width: 0px;
    position: relative;
    text-align: center;
    vertical-align: top;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    -webkit-border-image: initial;
         -o-border-image: initial;
            border-image: initial;
    border-radius: 0px;
    margin: 35px 0px;
    padding: 17px 25px;
    text-decoration: none;
    -webkit-transition: outline-color 1s ease 0s, background-color 1s ease 0s, color 1s ease 0s;
    -o-transition: outline-color 1s ease 0s, background-color 1s ease 0s, color 1s ease 0s;
    transition: outline-color 1s ease 0s, background-color 1s ease 0s, color 1s ease 0s; }
    .comment-respond input[type=submit]:hover{
          background-color: rgb(0, 67, 126);
    }
    .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; }

.nav-links .page-numbers{
  font-size: inherit;
    background: #f8f8f8;
    border: 0;
    cursor: pointer;
    display: inline-block;
    padding: 4px 12px;
    text-decoration: none;}

.nav-links .page-numbers.current{
  background: #0065bd;
    color: #fff;
    border-radius: 50%;
}

.screen-reader-text {
  display: none; }

.addthis_toolbox {
  padding: 1em 0 0 0; }
  .addthis_toolbox a {
    padding: 0 7px !important; }
  .addthis_toolbox:before {
    content: 'Share this article';
    float: left;
    padding: 10px 10px 0 0;
    font-size: 21px;
    line-height: 28px;
    position: relative;
    top: -2px;
    font-weight: 700; }

/************************************************** SLIDER PRO *************************************************/


.sp-image{ min-width: 100%; max-width: 100% !important; }

.sp-left-thumbnails .sp-thumbnail-container, .sp-right-thumbnails .sp-thumbnail-container{ margin-bottom: 5px !important; margin-top: 2 !important; }

.sp-right-thumbnails.sp-has-pointer .sp-thumbnail{ left: 17px !important; }

.sp-right-thumbnails.sp-has-pointer .sp-selected-thumbnail:before{ border-left: 7px solid #2863ab !important; margin-left: 0 !important; left: 10px !important; }
.sp-right-thumbnails.sp-has-pointer .sp-selected-thumbnail:after{ border-right: 10px solid #2863ab !important; }
.slider-pro{ padding-right: 102px !important; margin: 0 auto 30px auto !important; }

@media only screen and (max-width: 667px) {

  .sp-left-thumbnails .sp-thumbnail-container, .sp-right-thumbnails .sp-thumbnail-container{ width: 60px !important; height: 50px !important; }
  .sp-thumbnails{ width: 60px !important; }

  .slider-pro {
      padding-right: 50px !important;}
}

/************************************************** MODERATION *************************************************/

.content .moderation{ max-width: 655px; }

p.leader{
    font-size: 22px;
    line-height: 35px;
    font-weight: 300;
    margin: 0 0 35px 0; }

@media only screen and (max-width: 767px) {
  p.leader{
    font-size: 19px;
 }

}


/*************************************************** SIDEBAR ***************************************************/
.sidebar {
  position: relative;
  float: left;
  width: 30%;
  margin-top: 98px; }
  @media only screen and (max-width: 768px) {
    .sidebar {
      width: 100%; } }
  .sidebar .addthis_toolbox {
    display: none !important; }


.widget {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 20px;
  /*border-bottom: 1px solid #0065bd;*/
  margin-bottom: 20px; }
  .widget h3 {
    margin-bottom: 21px;
    font-size: 1.26em;
    display: inline-block;
    font-weight: 500;
    padding-top: 21px;
    position: relative; }
    .widget h3:before {
    background: #0065bd;
    border-radius: 8px;
    content: '';
    height: 8px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.widget .social-widget{
  display: block;
}
.widget .social-widget{
  display: inline-block;
}

.about-blog img {
  margin-bottom: 1em; }
.about-blog .subscribe {
  display: table;
  line-height: 30px;
   }
  .about-blog .subscribe p {
    margin: 0; }
  .about-blog .subscribe a {
    margin: 0 10px 0 15px;
    display: inline-block; }
  .about-blog .subscribe img {
    width: 35px;
    height: 35px;
    margin: 0;
    margin-right: 5px;
    border-radius: 50%;}
.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], .email-signup input[type=email], .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, .email-signup input[type=email]:focus, .SGB-categories select:focus {
    border: 1px solid #005eb7; }

.widget.SGB-categories{
  margin-bottom: 0;
  padding-bottom: 0;
}

.custom-sidebar select, .SGB-categories select {
  background: url("img/select-arrows.png") 99% 3px no-repeat; }

  .sidebar .recentPosts .recent-post{
    padding-top: 15px; margin-bottom: 15px; border-top: 2px #e3e3e3 solid;
  }

  .sidebar .recentPosts .recent-post h4{
    font-size: 18px; font-weight: 700; display: block; margin-bottom: 5px;
  }

  .sidebar .recentPosts .recent-post p.post_meta{
    font-size: 14px; display: block; margin-bottom: 15px;
  }
    .sidebar .recentPosts .recent-post p.theEXC{
    font-size: 16px; display: block; margin-bottom: 15px;
  }

/*************************************************** 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: 250px; }
  .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; } }

.az-list-wrapper .grid__item{
  vertical-align: top;
}
.az-list-wrapper .a-zList{
  width: 11.111%;
  max-width: 100px;
  padding-top: 30px;
}
.az-list-wrapper .a-zList h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 28px;
  text-align: left;
  white-space: nowrap;
}
@media(min-width: 768px){
  .az-list-wrapper .a-zList h2{
    font-size: 35px;
    text-align: center;
  }
}
.az-list-wrapper .a-zContent{
  width: 77.777%;
  max-width: 741px;
  padding-left: 60px;
}
.az-list-wrapper .a-zContent h2{
  font-weight: bold;
  margin-bottom:10px;
  margin-left: 30px;
}
@media(max-width: 767px){
  .az-list-wrapper .a-zContent{
    width: 85%;
    padding-left: 10px;
  }
}
.az-list-wrapper .a-zContent ul{
  list-style: none;
  margin:0 0 30px 30px;
  margin:0 0 30px 0;
}
.az-list-wrapper .a-zContent ul.sub-blogs,
.az-list-wrapper .a-zContent li{
  padding:0;
}
.az-list-wrapper .a-zContent li{
  margin:0;
}
.az-list-wrapper .a-zContent ul.sub-blogs li p img, .az-list-wrapper .a-zContent ul.sub-blogs li p br{
	display: none;
}
.az-list-wrapper .a-zContent ul.sub-blogs{
  margin-bottom: 0;
}
.az-list-wrapper .a-zContent ul.sub-blogs li{
    border-top: 1px solid rgb(227, 227, 227);
    padding: 30px 0;
    margin: 0;
}

.az-list-wrapper .a-zContent ul.sub-blogs li a{
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}
.az-list-wrapper .a-zContent ul.sub-blogs li p:last-child{
  margin-bottom: 0;
}
.az-list-wrapper .a-zContent ul.sub-blogs li a:hover{
  text-decoration: underline;
}

.footer-container {
  position: relative;
  float: left;
  width: 100%;
  background: #2D66BD; }

footer {
  padding: 2em 15px;
  overflow: hidden; }
  @media only screen and (max-width: 768px) {
    footer {
      padding: 2em 20px; } }
  footer ul, footer li {
    list-style: none; }
  footer ul {
    position: relative;
     }
    @media only screen and (max-width: 678px) {
      footer ul {
        width: 100% !important; } }
        footer .footer-links{
          width: 33.333%;
          float: left;
        }
  footer .links {
    border-left: 1px solid rgba(255,255,255,0.4);
    font-size: 14px;

    padding-left: 0;
    margin: 0; }
    footer .links li{
    margin: 0 0 14px 20px;
    padding: 0;
    line-height: 21px;
  }
    footer .links li:last-of-type {
      margin: 0 0 0 20px;
      padding-bottom: 0;}
    footer .links a {
      color: rgba(255, 255, 255, 1);
      font-weight: 500;
       }
      footer .links a:hover {
        color: white;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        text-decoration: underline; }
    @media only screen and (max-width: 640px) {
      footer .links {
        margin-bottom: 2em; } }
        footer .social-links-container{
          width: 58.333%;
          display: block;
          padding-left: 30px;
          text-align: right;
          float: left;
        }
  footer .social {
 }
    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;
        -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(/20221028210655oe_/https://blogs.gov.scot/statistics/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;
        -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(/20221028210655oe_/https://blogs.gov.scot/statistics/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;
        -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(/20221028210655oe_/https://blogs.gov.scot/statistics/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;
        -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(/20221028210655oe_/https://blogs.gov.scot/statistics/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;
        -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(/20221028210655oe_/https://blogs.gov.scot/statistics/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%; } }

    footer .social-links {
    float: right;
    list-style-type: none;
    display: table;
    }
    .social-links__link .fa {
    font-size: 26px;
    color: #2B5FB7;
}
    .social-links__item {
    display: inline-block;
    margin: 0;
    padding: 0;
}
@media (min-width: 768px){
.social-links__link {
    font-size: 28px;
}}
.social-links__link {
  border-radius: 50%;
    font-size: 26px;
    margin-left: 10px;
    background: #fff;
    color: #0065bd;
    display: block;
    height: 42px;
    line-height: 42px;
    opacity: 0.7;
    text-align: center;
    width: 42px;
    -webkit-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}
.social-links__link:hover{
  opacity: 1;
}
@media (min-width: 768px){

.social-links__link .fa {
    font-size: 26px;
}
}
.social-links__link .fa {
    line-height: 1.5em;
    font-size: 26px;
}
.fa-facebook-f:before, .fa-facebook:before {
    content: "\f09a";
}
.addthis_toolbox.addthis_32x32_style span{
  border-radius: 50%;
}
@media (max-width: 768px){
      .sidebar{
      margin-top: 20px; }
}

    @media only screen and (max-width: 768px) {
      footer .social{
        width: 100%;
        float: none;
      }
      footer .social-links-container{
        padding-left: 0;
        width: 100%;
      }
    }

/* ==================================================== 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; } }

@media only screen and (max-width: 1240px) {

  footer .social-links-container{ margin-right: 0; }

  .about-blog .subscribe a {
    margin: 14px 0 14px 0;
    display: block;
  }

  .wrapper{ padding:22px 0; }

}


@media only screen and (max-width: 1200px) {

  header, section, footer{ max-width: 970px; }

  .az-list-wrapper .a-zList h2{ font-size: 28px; }

  footer .social-links-container{ margin-right: 0; }

}

@media only screen and (max-width: 1024px) {

  .wrapper{ padding: 0; }

}

@media only screen and (max-width: 970px) {

  header, section, footer{ max-width: 750px; }
  header .logo img, header .logo { width: 195px; height: 33px; }
  header { height: 76px; line-height: 76px; padding: 0 15px;}
  header nav li a{ font-size: 15px; padding: 0 12px; }

  .search-form { width: 33.3333%; }
}

@media only screen and (max-width: 727px) {

  body{ font-size: 16px; }

  header{ overflow: visible; line-height: normal; height: auto; padding: 0; }
  header .logo img, header .logo { width: 185px; height: 32px;  }
  header .logo{ margin: 15px 0 15px 15px; }

  footer .links{ margin-bottom: 30px; }
  footer .social-links{ float: none; display: block; clear: both; margin: 30px 0 0 0; width: 100%; text-align: center; padding: 0 !important; }

  footer .social-links__link{ width: 35px; height: 35px; line-height: 35px; margin-left: 5px; }
  footer .social-links__link .fa {font-size: 21px;}

  h1.main-title{ font-size: 35px;line-height: 42px; font-weight: 100; margin: 0 0 28px -1px; }

  ul.blog-list{ padding-left: 0 !important; }

  .main-content .blog-list p.date, .breadcrumbs{ font-size: 12px; }
  .breadcrumbs{ margin: 0 0 30px 0; }

  .blog-list h2, { font-size: 18px; }

  footer .footer-links{ width: 100%; }

}

@media only screen and (max-width: 768px) {

.content .main-content ul.blog-list{ padding-left: 0; }

}

@media only screen and (max-width: 767px) {

  .search-form { width: 100%; }

}

/* ==================================================== PRINT STYLES ==================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    -webkit-box-shadow: none !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; } }





