/**
 * GLOBALS
 */
.orange {
  color: #ff5000; /* f05a28 */
}

.blue {
  color: #001970; /* 262262 */
}

@font-face {
  font-family: 'slick';
  font-weight: normal;
  font-style: normal;
  src: url('../javascript/lib/slick/fonts/slick.eot');
  src: url('../javascript/lib/slick/fonts/slick.eot?#iefix') format('embedded-opentype'), url('../javascript/lib/slick/fonts/slick.woff') format('woff'), url('../javascript/lib/slick/fonts/slick.ttf') format('truetype'), url('../javascript/lib/slick/fonts/slick.svg#slick') format('svg');
}

/**
 * SEMANTICS
 */
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  background: #fff;
  color: #333;
  font-family: Montserrat, 'Open Sans', 'Source Sans Pro', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

h1, .h1 {
  font-size: 3.14285714285714em; /* 44 */
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 .5em;
}

h2, .h2 {
  font-size: 1.71428571428571em; /* 24 */
  font-weight: bold;
  line-height: 1.25;
  margin: 1em 0;
}

h3, .h3 {
  font-size: 1.28571428571429em; /* 18 */
  font-weight: bold;
  line-height: 1.33333333333333; /* 24 */
  margin: 1.2em 0 .5em;
}

h4, h5, h6, .h4, .h5, .h6 {
  font-size: 1em;
  font-weight: bold;
  margin: 1.5em 0 0;
}

p {
  font-size: 1em;
  margin: 1em 0;
}

div.intro p.small, p.small {
  font-size: 0.750em;
}

p.intro, div.intro p {
  font-size: 1.42857142857143em; /* 20px */
  line-height: 1.6;
  margin-bottom: 1.25em;
}

a {
  color: #f05a28;
  text-decoration: none;
  cursor: pointer;
}

a:hover, a:active {
  text-decoration: underline;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

.resourceItem form button,
a.button {
  display: inline-block;
  background: #fff;
  color: #171c24;
  padding: 15px 30px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #171c24;
  transition: .3s;
}

.edit-resource {
  margin-top: -25px;
}

a.button--black {
  background: #171c24;
  color: #fff;
}

.resourceItem form button:hover, .resourceItem form button:focus, .resourceItem form button:active,
a.button:hover, a.button:active, a.button:focus {
  background: #ff5000;
  border: 1px solid #ff5000;
  color: #fff;
}

blockquote {
  color: #ff5000;
  font: bold italic 1.42857142857143em/1.6 Georgia, serif;
}

a.more, a.back {
  font-family: 'PT Serif', serif;
  font-size: 1.42857142857143em;
  font-style: italic;
  text-decoration: none;
  white-space: nowrap;
}

a.more:after {
  display: inline-block;
  font: .75em FontAwesome;
  margin-left: 10px;
  content: "\f054";
}

a.back:before {
  display: inline-block;
  font: .75em FontAwesome;
  margin-right: 10px;
  content: "\f053";
}

a.more:hover, a.back:hover {
  text-decoration: underline;
}

strong, b {
  font-weight: bold;
}

em {
  font-style: italic;
}

iframe {
  max-width: 100%;
}

/* apply common styling after reset.css */
ul, ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ul li, ol li {
  margin: .5em 0;
}

li ul, li ol {
  margin: 0;
}

li p {
  margin: 0;
}

dl {
  margin: 0 0 1.5em 0;
}

dl dt {
  font-weight: bold;
}

dd {
  margin-left: 1.5em;
}

hr {
  background: #d4d4d4;
  border: none;
  clear: both;
  float: none;
  height: 1px;
  margin: 0 0 1.4375em;
  width: 100%;
}

/* generic table styles */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.92857142857143em; /* 13 */
}

th, tr, td {
  vertical-align: middle;
}

thead th {
  background: #204b6e;
  color: #fff;
  padding: 5px 10px;
  text-transform: uppercase;
  text-align: left;
  vertical-align: bottom;
}

td, tbody th {
  background: #fff;
  padding: 15px 10px;
  text-align: left;
  vertical-align: top;
}

tbody th {
  font-weight: bold;
}

tbody tr:nth-child(even) td,
tbody tr:nth-child(even) th {
  background: #efefef;
}

td ul {
  margin: 0;
}

td li, td p {
  margin-top: 0;
}

/* data table */
.data-table table {
  border-bottom: solid 7px #204b6e;
}

.data-table thead th {
  text-align: center;
  padding: 5px;
}

.data-table thead th:first-child {
  text-align: left;
  padding-left: 10px;
}

.data-table td,
.data-table tbody th {
  padding: 5px 10px;
  text-align: center;
  border-left: solid 2px #aec4d6;
}

.data-table td:first-child,
.data-table tbody th:first-child {
  text-align: left;
  border-left: 0;
}

/*.data-table tbody tr:nth-child(even) td,
.data-table tbody tr:nth-child(even) th {
  background: #efefef;
}*/

::-webkit-input-placeholder {
  color: #666;
}

:-moz-placeholder {
  color: #b8b8b8;
}

::-moz-placeholder {
  color: #b8b8b8;
}

:-ms-input-placeholder {
  color: #b8b8b8;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

.table-wrapper {
  overflow-x: auto;
}

/**
 * FONTS
 */
[class^="ft-"]:before, [class*=" ft-"]:before {
  margin: 0 !important;
  width: auto;
}

.fa, .ft,
.fa:hover, .ft:hover {
  text-decoration: none;
}

/**
 * LAYOUT
 */

.container {
  margin: 0 auto;
  padding: 0 15px;
  width: auto;
  max-width: 1220px;
}

#content {
  padding-bottom: 40px;
  z-index: 10;
}

#main {
  width: 100%;
  position: relative;
}

.border-box {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img.left {
  margin: 0 10px 5px 0;
  width: 50%;
  float: left;
}

img.right {
  margin: 0 0 5px 10px;
  width: 50%;
  float: right;
}

img.center {
  display: block;
  margin: 0 auto;
}

.img--scale-up {
  width: 100%; /* use this with img-responsive to force images to go to 100% if they're not wide enough */
}

.captionImage.left,
.captionImage.right,
.captionImage.center,
.captionImage.leftAlone {
  max-width: 100%;
}

.text-center {
  text-align: center;
}

p.caption {
  font-size: 13px;
  font-style: italic;
}

/**
 * HEADER
 */
#header {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 20;
}

#utility-strip {
  display: none;
  padding: 5px 0;
  background: #333;
  color: #b4b4b4;
  text-align: right;
}

#utility {
  display: inline-block;
  vertical-align: middle;
}

#utility ul, #utility li {
  list-style: none;
  padding: 0;
  margin: 0;
}

#utility li {
  float: left;
  margin-left: 15px;
}

#utility a {
  color: #b4b4b4;
  font-weight: bold;
  text-transform: uppercase;
}

#utility a:hover {
  color: #eee;
  text-decoration: none;
}

#utility .fa {
  margin-left: 6px;
}

#header .brand {
  position: relative;
  padding: 20px;
}

#logo {
  display: block;
  width: 272px;
  height: 141px;
  overflow: hidden;
  background: url(../images/logo-sml.png) no-repeat;
  background-size: 272px;
  text-indent: -999px;
  margin: 0 auto;
}

#logo span {
  text-indent: -999px;
}

#logo:hover {
  text-decoration: none;
}

#logo.custom-logo {
  display: block;
  background: none;
  width: 100%;
  height: auto;
  text-indent: 0 !important;
}

#logo.custom-logo span {
  display: block;
  text-indent: 0 !important;
  text-align: center;
  width: 100%;
}

#logo.custom-logo img {
  max-width: 600px;
  width: 100%;
  height: auto;
}

#logo.custom-logo .desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  #logo.custom-logo .mobile {
    display: none;
  }

  #logo.custom-logo .desktop {
    display: block;
  }
}

/* header search */
#utility-strip #search {
  display: none;
  vertical-align: middle;
}

.search input[type="search"] {
  font-size: 16px; /* 16px */
  line-height: 1.25;
  width: 243px; /* 320 - 77 */
  padding: 8px 10px;
  border: solid 1px #b4b4b4;
  background: #fff;
  color: #5c5c5c;
  vertical-align: top;
  float: left;

  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#search input[type="search"] {
  padding: 8px 10px;
  border: 0;
  background: #fff;
  color: #5c5c5c;
  position: relative;
  z-index: 10;
}

.search input[type="submit"] {
  background: #000;
  color: #fff;
  border: solid 1px #000;
  /*width: 36px;*/
  padding: 8px 10px;
  font: normal 20px/1 FontAwesome;
  text-align: center;
  /*  position: relative;
    z-index: 12;*/
  vertical-align: top;
}

#search input[type="submit"] {
  background: #f05a28;
  color: #5c5c5c;
  border: 0;
  width: 36px;
  padding: 8px 0;
  font: normal 20px/1 FontAwesome;
  text-align: center;
  position: relative;
  z-index: 12;
}

.search input[type="submit"]:hover {
  cursor: pointer;
}

.search input[type="submit"]:focus {
  outline: none;
}

#breadcrumbs {
  padding: 15px 0;
  color: #ccc;
  font-size: 0.85714285714286em;
}

#breadcrumbs a {
  color: #262262;
  text-decoration: none;
}

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

#breadcrumbs span {
  color: #f05a28;
}

/**
 * NAVIGATION
 */
#navbar {
  background: #262262;
  min-height: 44px;
  position: relative;
  z-index: 23;
}

#toggle {
  display: inline-block;
  height: 44px;
  padding: 0 15px;
  background: #262262;
  color: #fff;
  font-size: 14px;
  line-height: 44px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 29;
}

#toggle .fa {
  margin-right: 6px;
}

#nav {

}

#nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#nav li {
  margin: 0;
}

#nav a {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-bottom: solid 1px rgba(255, 255, 255, .5);
}

#nav .level1 > .current > a, #nav .level1 > .section > a {
  color: #f05a28;
}

#nav li li a {
  background: #f05a28;
  color: #fff;
}

#nav li li a:hover {
  background: #262262;
}

#nav .level1 > li > a {
  font-size: 1.14285714285714em; /* 16 */
  line-height: 1.25;
  font-weight: bold;
  padding: 20px 15px;
}

#nav .level1 > li:hover > a {
  color: #f05a28;
}

.level1 > li {

}

.level1 > li.item1, .level1 > li.item2 {

}

.level1 > li > a {

}

.level1 > li > a > span {

}

.level2 > li > a {

}

.menu-links {
  float: right;
}

.menu-links ul, .menu-links li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-links li {
  float: left;
  margin-right: 10px;
}

.menu-links a {
  display: block;
  width: 30px;
  height: 44px;
  overflow: hidden;
}

.menu-links .fa {
  font-size: 20px;
  line-height: 44px;
  width: 30px;
  text-align: center;
  color: #fff;
}

/**
 * SIDEBAR
 */
#sidebar {
  margin-top: 30px;
}

#sidebar .section-title {
  font-size: 1.42857142857143em; /* 20 */
  color: #262262;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: solid 1px #262262;
}

/**
 * SECONDARY MENU
 */
#secondary {
  margin: 30px 0 45px;
  font-size: 13px;
}

#secondary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#secondary li {
  margin: 12px 0;
  padding: 0;
}

#secondary > ul > li > a {

}

#secondary a {
  color: #262262;
  display: block;
  text-decoration: none;
}

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

#secondary .current, #secondary .section {

}

#secondary .current > a, #secondary .section > a {
  font-weight: bold;
  /*  padding-left: 6px;
    border-left: solid 2px rgba(212, 2, 2, .35);*/
}

#secondary .current > a {
  color: #f05a28;
}

#secondary ul ul {
  padding: 0 0 0 15px;
  border-left: solid 1px #f05a28;
}

#secondary li li {
  margin: 6px 0;
}

#secondary li.hasChildren.link > a {
  position: relative;
  padding-right: 20px;
}

#secondary li.hasChildren.link > a span {
  position: absolute;
  right: 0;
  margin-top: 4px;
}

/**
 * MAIN
 */
#main img {
  display: block;
  max-width: 100%;
  height: auto;
}

.table {
  display: table;
  width: 100%;
}

.tr {
  display: table-row;
}

.cell, .td {
  display: table-cell;
  vertical-align: middle;
}

/************************ HOMEPAGE SLIDESHOW ****************************/
.homepage-slideshow {
  background: #efefef;
  padding: 40px 0;
  margin-bottom: 40px;
}

.slideshow {
  background: #000;
  font-size: 10px;
}

.slick-slide {
  transition: opacity .3s;
  height: auto;
}

.slick-active.slick-slide {
  opacity: 1;
}

.slick-slide:not(.slick-center) {
  opacity: .3;
}

.slide__inner {
  background-size: cover;
  height: 290px;
  position: relative;
}

.slide__text {
  position: absolute;
  bottom: 0;
  padding: 25px;
  color: #fff;
  background: #262262;
  text-transform: uppercase;
  width: 100%;
}

.slide__text h2 {
  font-size: 1em;
  margin: 0;
}

.slide__text div {
  font-size: 1em;
}

.slick-prev, .slick-next {
  width: 30px;
  height: 30px;
  z-index: 19;
}

.slick-prev:before, .slick-next:before {
  font-size: 30px;
}

.slick-prev {
  left: 20px;
}

.slick-next {
  right: 20px;
}

.slick-dots {
  bottom: -35px;
}

.slick-dots li button:before {
  font-size: 20px;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #ff5000;
}

/************************ FOOTER ****************************/
#footer {
  background: #f05a28 url(img/bg-footer.png) 0 18px repeat-x;
  background-size: 23px 36px;
  padding: 80px 0 40px;
  font-size: 0.85714285714286em; /* 12 */
  position: relative;
  z-index: 11;
}

#footer a {
  color: #fff;
}

#footer ul,
#footer li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer li {
  float: left;
  margin-right: 10px;
}

#footer .footer-links li {
  padding-right: 10px;
  border-right: solid 1px #fff;
}

#footer .footer-links li:last-child {
  padding-right: 0;
  border-right: 0;
}

#footer .social {
  margin: 20px 0;
}

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

.social li {
  float: left;
  margin-right: 10px;
}

.social a {
  display: inline-block;
  width: 34px;
  height: 34px;
  text-align: center;
}

.social .fa {
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  width: 32px;
  height: 32px;
  padding: 7px;
  margin: 1px;
  background: #fff;
  color: #f05a28;
  border-radius: 16px;
  position: relative;
}

.social a:hover .fa {
  font-size: 20px;
  line-height: 22px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  margin: 0;
}

#header .social .fa {
  color: #333;
  background: rgba(255, 255, 255, .5);
}

#header .social {
  display: none;
  float: left;
}

#footer .omega li {
  margin: 0;
}

#govt {
  display: inline-block;
  width: 136px;
  height: 14px;
  background: url(img/new-zealand-government.png) no-repeat;
  background-size: 136px 14px;
  text-indent: 999px;
  overflow: hidden;
  vertical-align: middle;
}

#msd {
  display: inline-block;
  width: 124px;
  height: 30px;
  background: url(img/msd.png) no-repeat;
  background-size: 124px 30px;
  text-indent: 999px;
  overflow: hidden;
  vertical-align: middle;
  margin-left: 30px;
}

/************************ SEARCH ****************************/
.highlight {
  font-weight: 600;
}

.resultsHeader h2 {
  font-size: 1.14285714285714em; /* 16 */
  font-weight: 600;
  color: #f05a28;
  text-transform: uppercase;
}

#SearchResults ol {
  list-style: none;
  padding: 0;
}

#SearchResults li {
  padding: .5em 0 1em;
  border-bottom: solid 1px #b4b4b4;
}

#SearchResults h3 {
  font-size: 1.14285714285714em; /* 16 */
  margin: 0 0 .5em;
}

/************************ SERVIES ****************************/
#service-search h2 {
  font-size: 1em;
  margin: 0;
}

#service-search ol {
  list-style: none;
  padding: 0;
}

#service-search li {
  padding: .5em 0 1em;
  border-bottom: solid 1px #b4b4b4;
}

#service-search h3 {
  margin: 0
}

#service-search .meta {
  margin: .5em 0;
}

.meta a {
  margin-right: 15px;
}

.sidebar-widget {
  background: #262262;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin: 0 0 1em;
}

.sidebar-widget-inner {

}

.sidebar-widget h2 {
  margin: 0 0 .5em;
}

#sidebar .sidebar-widget h2, .grid_3 .sidebar-widget h2 {
  font-size: 1.28571428571429em; /* 18 */
}

.sidebar-widget input, .sidebar-widget select {
  color: #000;
}

.sidebar-widget input[type="submit"] {
  background: #fff;
  color: #000;
}

.sidebar-widget .Actions {
  text-align: left;
}

.content-widget .sidebar-widget {

}

/************************ USERFORM ****************************/
.userform {

}

.userform .userformsgroup {
  padding: 0;
  border: 0;
  margin: 0;
}

.userformsgroup > legend {
  display: none;
}

.userform .field {
  padding-right: .5em;
  margin-top: 0;
}

.userform .userformsgroup .field {
  float: left;
  width: 50%;
}

.userform .CompositeField {
  padding-right: 0;
}

/************************ RESOURCES ****************************/
.resourceItem {
  padding: 20px 0;
  border-bottom: 1px solid #4f4f4f;
}

.resourceItem__content {
  margin-bottom: 30px;
}

.resourceItem img {
  margin-bottom: 20px;
}

.resourceItem__title {
  margin-top: 0;
}

.resourceItem a.button {
  margin-bottom: 10px;
}

.resourceItem a.button .fa {
  font-size: 1.4em;
  margin-right: 5px;
  position: relative;
}

.resourceItem__order,
.resourceItem__ordered {
  display: none;
}

.resourceItem__order.active {
  display: block;
}

.resourceItem__order span {
  margin: 0 5px 10px;
}

.resourceItem__order form {
  background: #ddd;
  display: inline-block;
  padding: 10px 0 10px;
}

.resourceItem__ordered {
  line-height: 51px;
  background: #ddd;
  padding: 0 10px 0 20px;
  font-weight: 600;
}

.resourceItem__ordered.active {
  display: inline-block;
}

.resourceItem__ordered em {
  font-size: 1.6em;
  font-style: normal;
  font-weight: normal;
  margin-left: 5px;
  position: relative;
  top: 1px;
}

.resourceItem .actions {
  line-height: 1;
  margin-left: 30px;
  font-size: 2.5em;
  position: relative;
  top: 4px;
}

.resourceItem .actions a {
  margin-left: 10px;
  color: #333;
  text-decoration: none;
  transition: .3s;
}

.resourceItem .actions a:active,
.resourceItem .actions a:hover,
.resourceItem .actions a:focus {
  color: #000;
}

.resourceItem__ordered div {
  display: inline-block;
}

.resourceItem__order__form form {
  width: 100%;
}

.resourceItem__order form span:first-of-type {
  font-weight: 600;
}

.resourceItem__order form span:last-of-type {
  margin-right: 10px;
}

.resourceItem__quantity {
  font-size: 1.5em;
  width: 50px;
  margin: 0;
  padding-left: 5px
}

.resourceItem button {
  margin: 5px 5px 5px 0;
}

.resourceItem__inCart {
  margin-top: 10px;
  font-size: 1.2em;
}

.resourceItem__inCart span {
  font-weight: 600;
}

/************************ CART ****************************/
.cart {
  margin-bottom: 30px;
}

.recipient h3,
.cart_header {
  background: #ff5000;
  color: #fff;
  padding: 10px 0;
  font-size: 1.3em;
  font-weight: 600;
}

.recipient h3 {
  background: #333;
  margin: 0;
  padding-left: 10px;
}

.resourceItem__image {
  display: none;
}

.resourceItem__remove {
  display: block;
  margin: 5px 0;
  padding: 0;
  line-height: 1;
  font-size: 2em;
}

#cart-empty {
  display: none;
}

#cart-empty.active {
  display: block;
}

#cart .resourceItem .actions a {
  position: relative;
  top: -5px;
}

.recipient {
  background: #e2e2e2;
}

.recipient fieldset {
  padding: 10px;
}

.recipient label {
  font-weight: 500;
}

.recipient input {
  margin-bottom: 10px;
}

.recipient input[type=text],
.recipient input[type=email] {
  width: 100%;
}

span.req {
  color: #ff5000;
  font-size: 1.2em;
}

#utility .cart {
  position: relative;
}

#cart__badge {
  font-family: Montserrat, 'Open Sans', 'Source Sans Pro', sans-serif;
  background: #f05a28;
  color: #fff;
  width: 20px;
  height: 20px;
  font-size: 10px;
  line-height: 20px;
  border-radius: 10px;
  position: absolute;
  top: -10px;
  right: -10px;
  text-align: center;
  display: none;
}

#cart__badge.active {
  display: block;
}

/************************ GENERAL FORM STYLES ****************************/
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input[type="text"], input[type="email"], input[type="password"], select, textarea {
  width: 100%;
  padding: 4px 10px;
  border: solid 1px #b8b8b8;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input[type="submit"] {
  background: #000;
  color: #fff;
  border: 0;
  padding: 5px 20px;
  line-height: inherit;
  font-weight: bold;
}

div.field, .form-field, .filter .Actions {
  margin: .5em 0;
}

#MemberLoginForm_LoginForm input {
  max-width: 320px;
}

span.error {
  display: block;
  color: #f05a28;
}

/* https://coderwall.com/p/w7npmq/fully-custom-select-box-simple-css-only */
.dropdown .middleColumn {
  border: solid 1px #b8b8b8;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.dropdown .middleColumn:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  margin-top: -1.5px;
  right: 7px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: #b8b8b8;
}

.dropdown .middleColumn input[type=date],
.dropdown .middleColumn select {
  width: 100%;
  padding: 4px 30px 4px 10px;
  border: none;
  box-shadow: none;
  background: transparent;
  background-image: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.dropdown select::-ms-expand {
  display: none;
}

/************************ PAGINATION ****************************/
.pagination {
  font-size: 1.14285714285714em; /* 16 */
  line-height: 1;
  font-weight: 800;
  margin: 1em 0;
  text-align: center;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 4px 8px;
}

.pagination a.active {
  color: #000;
  cursor: default;
  text-decoration: none !important;
}

.pagination span {
  background: #262262;
  color: #fff;
}

/************************ TAGS ****************************/
.sidebar__tags h2 {
  font-size: 1em;
  margin-top: 0;
}

.sidebar__tags__tag {
  display: inline-block;
  border: 1px solid #262262;
  padding: 5px 10px;
  margin-right: 10px;
  color: #262262;
  margin-bottom: 10px;
  transition: .3s;
}

.sidebar__tags__tag:hover {
  background: #262262;
  color: #fff;
}

.sidebar__tags__tag:hover,
.sidebar__tags__tag:active,
.sidebar__tags__tag:focus {
  text-decoration: none;
}

.tag-active h1 {
  margin-bottom: 5px;
}

.tag-active .fa {
  color: #999;
  margin-right: 5px;
}

.tag-active h2 {
  margin-top: 0;
  font-size: 1.1em;
  font-weight: 300;
  text-transform: uppercase;
}

.tag-active h2 span {
  display: inline-block;
  color: #333;
  background: #efefef;
  border-radius: 6px;
  padding: 5px 5px 5px 10px;
  text-transform: lowercase;
}

.tag-active h2 span a {
  color: #333;
  font-size: 1.1em;
  margin-left: 5px;
}

/************************ GRID-BOXES ****************************/

.gridBox {
  margin-bottom: 40px;
}

@media screen and (min-width: 600px) {
  .gridBox-row {
    display: flex;
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 600px) and (max-width: 991px) {

  .gridBox {
    width: 48%;
    flex-basis: 48%;
  }

  .gridBox:nth-child(even) {
    margin-left: 2%;
  }

  .gridBox:nth-child(odd) {
    margin-right: 2%;
  }
}

@media screen and (min-width: 992px) {
  .gridBox {
    width: 30%;
    flex-basis: 30%;
  }

  .gridBox:nth-child(3n+2) {
    margin-left: 5%;
    margin-right: 5%;
  }
}

.gridBox a {
  color: #444;
  display: block;
}

.gridBox a:hover,
.gridBox a:focus,
.gridBox a:active {
  text-decoration: none;
}

.gridBox h3 {
  margin: 10px 0;
}

.gridBox__date {
  color: #999;
}

.gridBox__image {
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  background: #eee;
  overflow: hidden;
  transition: .3s;
  position: relative;
}

.gridBox__image img {
  width: 100%;
}

.gridBox a span.more {
  color: #ff5000;
  font-weight: 700;
  text-transform: uppercase;
}

.gridBox__teaser {
  margin-bottom: 15px;
}

.gridBox__title,
.gridBox__readmore {
  position: absolute;
  display: table;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: .3s;
  background: rgba(0, 0, 0, .8);
  text-align: center;
  z-index: 1;
}

.gridBox__title {
  line-height: 1.5;
  background: transparent;
  opacity: 1;
}

.gridBox a:hover .gridBox__readmore {
  opacity: 1;
}

.gridBox a:hover .gridBox__title {
  opacity: 0;
}

.gridBox__title span,
.gridBox__readmore span {
  width: 90%;
  padding: 0 5%;
  display: table-cell;
  vertical-align: middle;
  color: #fff;
  font-size: 2em;
  text-transform: uppercase;
}

/************************ SUPER-LANDING PAGE ****************************/

/************************ LANDING PAGE ****************************/
.LandingPage #content {
  background: #eceded;
}

section.LandingPage__links {
  padding: 40px 0;
  background: #fff;
}

section.LandingPage__links .container {

}

.tiles {
  /* to take into account the margin surrounding each tile */
  margin-left: -.5%;
  margin-right: -.5%;
  margin-bottom: 20px;
}

.tile {
  position: relative;
  float: left;
  height: 0;
  margin: 0;
  padding-bottom: 80%;
  /*  background-color: #000;*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  text-align: center;
  font-size: 12px;
  width: 100%;
}

.tile--2x1 {
  padding-bottom: 40%;
}

.tile--2x1.tile--preset {
  padding-bottom: 80%;
}

.tile--Light-Orange {
  background: #f25929 url(img/bg-tile-light-orange.png) no-repeat 100% 0;
}

.tile--Blue {
  background: #29666e url(img/bg-tile-blue.png) no-repeat 100% 0;
}

.tile--Dark-Orange {
  background: #ba5700 url(img/bg-tile-dark-orange.png) no-repeat 100% 0;
}

.tile--Purple {
  background: #262262 url(img/bg-tile-purple.png) no-repeat 100% 0;
}

.tile--Red {
  background: #a30a00 url(img/bg-tile-red.png) no-repeat 100% 0;
}

.tile--Grey {
  background: #4f4f4d url(img/bg-tile-grey.png) no-repeat 100% 0;
}

.tile--video {
  background-color: #000;
  background-size: contain;
}

.tile img {
  width: 100%;
  height: auto;
}

.tile h3 {
  color: #fff;
  font-size: 2em;
  font-weight: 300;
  text-align: left;
  margin: 0 0 .2em;
}

.tile h3.no-titleText {
  font-size: 3em;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

.tile__text {
  color: #fff;
  text-align: left;
}

.tile a {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: .3s;
  display: table;
}

.gridBox .tile,
.tile__overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
}

.tile__inner {
  width: 100%;
  height: 100%;
  display: table;
  position: absolute;
}

.tile__inner__content {
  vertical-align: middle;
  display: table-cell;
  padding: 20px;
}

.tile__overlay {
  background: rgba(0, 0, 0, .6);
}

.tile .play-video {
  background: rgba(0, 0, 0, .5);
}

.tile .play-video:hover {
  background: rgba(0, 0, 0, .2);
}

.tile .play-video span {
  display: table-cell;
  vertical-align: middle;
}

.tile .play-video .fa {
  font-size: 6em;
  color: #fff;
}

.play-video h3 {
  position: absolute;
  bottom: 5%;
  color: #fff;
  text-align: center;
  left: 0;
  width: 90%;
  padding: 0 5%;
  font-size: 1.3em;
}

.tile a,
.tile a:hover,
.tile a:focus,
.tile a:active {
  text-decoration: none;
}

.landing-page-no-sidebar {
  margin: 0 auto;
  max-width: 960px;
}

/************************ VIDEO MODAL ****************************/
.video-player {
  background: #fff;
  display: none;
}

/************************ ADDTHIS ****************************/
.addthis_inline_share_toolbox {
  margin-top: 40px;
}

/************************ MISC ****************************/
.nonvisual-indicator {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

a.see-all {
  display: inline-block;
  padding: 5px 10px;
  font-weight: 700;
  border: 1px solid #161c23;
  color: #161c23;
  transition: .3s;
}

a.see-all .fa {
  position: relative;
  top: 1px;
  margin-left: 5px;
}

a.see-all:hover,
a.see-all:active,
a.see-all:focus {
  color: #fff;
  background: #ff5000;
  border-color: #ff5000;
  text-decoration: none;
}

/**
 * Accessibility Skiplinks for screen readers, allow users to bypass
 * content recurring on every page to access the menu
 * or the content directly additionally for regular users by using tab
 */
.skipLinks a {
  padding: 5px 10px;
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skipLinks a:focus, .skipLinks a:active {
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
}

a#edit-link {
  position: fixed;
  bottom: 10px;
  left: 10px;
  padding: 2px 15px;
  font-size: 12px;
  border: 1px solid #262262;
  border-radius: 5px;
  color: #000;
  font-weight: 600;
  background: #fff;
  z-index: 9999;
  transition: .3s;
  display: none;
}

a#edit-link:hover, a#edit-link:focus, a#edit-link:active {
  border: 1px solid #f05a28;
  background: #f05a28;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.shielded {
  margin-top: 15px;
  float: left;
  clear: left;
}

.service-result {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.service-result > div {

}

.service-result__image {
  flex-shrink: 0;
  flex-grow: 0;
  margin-right: 15px;
  width: 70px;
}

.service-result__image img {
  width: 100%;
  height: auto;
}

.service-result__text {
  margin-right: auto;
}

@media screen and (min-width: 560px) {
  .service-result__image {
    width: 150px;
    margin-right: 30px;
  }
}

.filter-form {
  background: #efefef;
  padding: 15px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.filter-form .btn-toolbar {
  margin: 0 0 8px;
}

.no-results {
  font-size: 20px;
}

@media screen and (min-width: 900px) {
  .filter-form {
    flex-direction: row;
    align-items: flex-end;
  }
}
