/*
 Theme Name:   Gwent Mechanical Handling
 Description:  Gwent Mechanical Handling
 Template:     twentyseventeen
 Text Domain:  gwent-mechanical-handling
*/

/* Global */
html {
  overflow-x: hidden;
}

body {
  font-family: 'Lato';
  color: #242424;
  overflow-x: hidden;
}

iframe {
    margin-bottom: 0;
}

.btn {
  background: #a9a5a2;
  color: white;
  display: inline-block;
  border-radius: 1em;
  padding: .3em 1.4em;
  font-size: 1.3em;
}

.btn.btn-orange {
  background: #C70000;
}

.btn:hover,
.entry-content a.btn:hover {
  color: white;
}

p {
  line-height: 1.6;
}

/* Global - Headers */
h2 {
  color: #C70000;
  border-bottom: 1px solid #C70000;
  font-size: 2.25em;
}

h3 {
  color: #242424;
}

/* Global - Headers - Logo */
.site-header .flex-container .flex-col.left a {
  margin: 2em 0 0 0;
}

.site-header .flex-container .flex-col.left a img {
  width: 100%;
}

/* Global - Headers - Menu */
.responsive-menu-button#responsive-menu-button {
  display: none;
}

.responsive-menu-button.responsive-menu-button-clone {
  display: none;
}

.site-header .menu-primary-menu-container {
  text-align: center;
}

.site-header .menu {
  display: inline-block;
  list-style: none;
  margin: 0;
  text-align: center;
  position: relative;
}

.site-header .menu > li {
  display: inline-block;
}

.site-header .menu > li > a {
  position: relative;
  color: white;
  display: inline-block;
  padding: 1em;
}

.site-header .menu > li.current-menu-item > a,
.site-header .menu > li.current_page_parent > a {
  color: #C70000;
}

header ul.menu > li.menu-item-has-children > a {
  padding: 1em 2em 1em 1em;
}

header ul.menu > li.menu-item-has-children:hover > a:after {
  background-image: url('images/arrow-down-orange.png');
}

header ul.menu > li.menu-item-has-children > a:after {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  content: '';
  background-image: url('images/arrow-down.png');
  background-repeat: no-repeat;
  background-position: center center;
  width: 9px;
  height: 6px;
}

/* Global - Ticks (Left) */
ul.ticks-left {
  list-style: none;
}

ul.ticks-left li {
  padding-left: 25px;
  position: relative;
}

ul.ticks-left li:before {
  background-image: url('images/tick-red.png');
  background-repeat: no-repeat;
  background-position: center center;
  width: 17px;
  height: 17px;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Global - Ticks (Left) - Orange */
ul.ticks-left.orange li:before {
  background-image: url('images/tick-orange.png');
}

/* Global - Contact Forms */
.wpcf7 input,
.wpcf7 textarea {
  font-family: 'Lato';
}

.wpcf7 ::-webkit-input-placeholder {
  color: #c6c1c1;
}

.wpcf7 :-moz-placeholder { /* Firefox 18- */
  color: #c6c1c1;
}

.wpcf7 ::-moz-placeholder {  /* Firefox 19+ */
  color: #c6c1c1;
}

.wpcf7 :-ms-input-placeholder {
  color: #c6c1c1;
}

.wpcf7 textarea {
  height: 8em;
}

.wpcf7 input:not([type='submit']),
.wpcf7 textarea {
  border-radius: 2px;
}

.wpcf7 input[type="submit"] {
  border-radius: 1.4em;
  font-weight: normal;
  font-size: 0.94em;
  padding: .65em 3em;
}

/* Global - Headers - Menu - Submenu - Wide, 2-Level (Default) */
header ul.menu > li > .sub-menu {
  display: none;
}

header ul.menu > li.menu-item-has-children:hover > a {
  color: #C70000;
  background: #f5f5f5;
}

header ul.menu > li.menu-item-has-children:hover > .sub-menu li {
  box-sizing: border-box;
}

header ul.menu > li.menu-item-has-children:hover > .sub-menu li a {
  display: block;
  padding: .75em 1em;
}

header ul.menu > li.menu-item-has-children:hover > .sub-menu {
  display: block;
  position: absolute;
  z-index: 999;
  background: rgba(34, 34, 34, 0.9);
  list-style: none;
  margin: 0;
  text-align: left;
}

header ul.menu > li.menu-item-has-children:hover > .sub-menu > li {

}

header ul.menu > li.menu-item-has-children:hover > .sub-menu > li > a {
  color: white;
}

header ul.menu > li.menu-item-has-children:hover > .sub-menu > li:hover {
  background: #C70000;
}

/* Global - Page Layout */
article {
  overflow: hidden;
}

.flex-container {
  display: flex;
}

.flex-container.flex-wrap {
  flex-wrap: wrap;
}

.flex-col {
  flex: 1 1 auto;
}

.page-width {
  width: 1250px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 25px;
}

.entry-content a.underline {
    text-decoration: underline;
}

.entry-content a,
.entry-content a:focus,
.entry-content a:hover {
  box-shadow: none;
}

.entry-content a img {
  box-shadow: none;
}

/* Global - YouTube Button */
.shortcode.for-youtube-video {
    border-top: 1px solid #C70000;
    display: flex;
    color: #000000;
    background: #ededed;
    padding: .75em;
    flex-wrap: wrap;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.45);
    margin: 2em auto 2.5em auto;
    align-items: center;
}

.shortcode.for-youtube-video > a.youtube-video {
    flex: 1 1 auto;
    position: relative;
    line-height: 1;
    border-radius: .3em;
    width: 250px;
    display: flex;
    align-items: center;
    padding: .75em;
}

.shortcode.for-youtube-video > a.youtube-video img {
    width: 100%;
}

.shortcode.for-youtube-video > a.youtube-video:after {
    font-family: 'FontAwesome';
    content: '\f04b';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: #f5f5dc;
    background: rgba(0, 0, 0, 0.34);
    padding: .5em 1.35em;
    border-radius: .25em;
    line-height: 1;
}

.shortcode.for-youtube-video > a.youtube-video:focus {
    outline: 0;
}

.shortcode.for-youtube-video > a.youtube-video:hover:after {
    background: rgba(255, 0, 0, 0.9);
}

.shortcode.for-youtube-video > .content {
    flex: 99999 1 auto;
    width: 250px;
    padding: .75em;
}

.shortcode.for-youtube-video > .content > h3:first-child {
    margin-bottom: .85em;
}

.shortcode.for-youtube-video > .content > .description > *:last-child {
    margin-bottom: 0;
}

/* Global - Sidebar */
.btn-responsive-sidebar-menu {
  display: none;
}

.sidebar {
  width: 280px;
  float: left;
  list-style: none;
  clear: left;
}

@media screen and (min-width: 1151px) {
  .sidebar.menu {
    display: block!important;
  }
}

.sidebar ul {
  list-style: none;
  margin: 0;
}

.sidebar a {
  display: block;
  color: white;
  padding: .5em .75em;
  position: relative;
}

.sidebar a .expander {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  background-image: url('images/arrow-down-orange.png');
  background-repeat: no-repeat;
  background-position: right .75em center;
  padding: 0 .75em 0 5em;
}

.sidebar a .expander.expanded {
  background-image: url('images/arrow-up-orange.png');
}

.sidebar .sub-menu li.has-active > a,
.sidebar > li:not(:first-child) > a.active,
.sidebar > li:not(:first-child).active > a,
.sidebar .sub-menu li a.active {
  color: #C70000;
}

.sidebar > li:first-child > a {
  background: #C70000;
}

.sidebar > li:not(:first-child) > a {
  background: #242424;
}

.sidebar > li {
  margin: 0 0 .3em 0;
}

.sidebar li.has-children > a {
  position: relative;
  padding-right: 1.5em;
}

.sidebar .sub-menu {
  box-sizing: border-box;
  background: white;
}

.sidebar .sub-menu.product-listings a {
  padding: .5em .75em .5em 1.75em;
}

.sidebar .sub-menu.product-listings a.active {
  position: relative;
  padding-right: 1.5em;
}

.sidebar .sub-menu.product-listings a.active:after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: .75em;
  background-image: url('images/arrow-right-orange.png');
  background-repeat: no-repeat;
  background-position: center center;
  width: 7px;
  height: 10px;
}

.sidebar .sub-menu li a {
  color: #242424;
}

/* Global - Sidebar - Expand Functionality */
.sidebar .has-children:not(.has-active) > .sub-menu {
  display: none;
}

/* Global - Sidebar - Buttons */
.sidebar.buttons {
  margin: 0;
}

.sidebar.buttons li {
  margin: 0 0 .9em 0;
}

/* Global - Sidebar - Buttons - Need It Delivered? */
.sidebar.buttons .need-it-delivered a {
  background: #C70000;
  padding: .4em .75em .75em .75em;
}

.sidebar.buttons .need-it-delivered a .flex-container {
  display: flex;
  align-items: center;
}

.sidebar.buttons .need-it-delivered a .flex-container .flex-col.for-thumbnail {
  flex: 0 0 auto;
}

.sidebar.buttons .need-it-delivered a .flex-container .flex-col.for-thumbnail img {
  width: 131px;
}

.sidebar.buttons .need-it-delivered a .flex-container .flex-col.for-content {
  flex: 1 1 auto;
}

.sidebar.buttons .need-it-delivered a .flex-container .flex-col.for-content h2 {
  color: white;
  border-bottom: none;
  display: inline-block;
  font-size: 1.56em;
  padding: 0;
  margin: .25em 0 0 .4em;
}

.sidebar.buttons .need-it-delivered a p {
  clear: both;
  margin: 0;
  position: relative;
}

.sidebar.buttons .need-it-delivered a p:after {
  content: '';
  position: absolute;
  top: 50%;
  right: .1em;
  transform: translateY(-50%);
  background-image: url(images/arrow-right-medium.png);
  background-repeat: no-repeat;
  background-position: center center;
  width: 13px;
  height: 20px;
}

/* Global - Sidebar - Buttons - Call Us Today */
.sidebar.buttons .call-us-today a {
  text-align: center;
  background: #242424;
  font-size: .98em;
  line-height: 1.8;
}

/* Global - Sidebar - Buttons - Call Us On */
.sidebar.buttons .call-us-on a {
  display: block;
  background: #242424;
  text-align: center;
  color: #C70000;
  padding: 1em .5em;
}

.sidebar.buttons .call-us-on a .telephone {
  color: white;
  font-size: 1.56em;
}

/* Global - Sidebar - Buttons - Image Text Link */
.sidebar.buttons .image-text-link a {
  position: relative;
  display: block;
  padding: 0;
}

.sidebar.buttons .image-text-link a img {
  display: block;
  width: 100%;
  height: auto;
}

.sidebar.buttons .image-text-link a .text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(36, 36, 36, .79);
  font-size: 1.56em;
  padding: .2em .5em;
}

.sidebar.buttons .image-text-link a .text span {
  position: relative;
  display: block;
}

.sidebar.buttons .image-text-link a .text span:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-image: url(images/arrow-right-small.png);
  background-repeat: no-repeat;
  background-position: center center;
  width: 8px;
  height: 12px;
}

/* Global - Thumbnail/Title/Description Listing */
.thumbnail-title-description-listing {
  list-style: none;
  margin: 0 -.5em;
  display: flex;
  flex-wrap: wrap;
}

.thumbnail-title-description-listing li {
  display: flex;
  flex-direction: column;
  flex: 1 1 275px;
  text-align: center;
  border-bottom: 1px solid #C70000;
  margin: 0 .5em 2em .5em;
  max-width: 285px;
}

.thumbnail-title-description-listing li a {
  display: block;
}

.thumbnail-title-description-listing li .thumbnail {
  flex: 0 0 auto;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 190px;
}

.thumbnail-title-description-listing li h2 {
  color: #242424;
  border: none;
  font-size: 1.31em;
  flex: 0 0 auto;
}

.thumbnail-title-description-listing li .description {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}

.thumbnail-title-description-listing li .description {
  flex: 1 0 auto;
  max-width: 100%;
  margin: 0 0 .8em 0;
}

.thumbnail-title-description-listing li .description :last-child {
  margin-bottom: 0;
  max-width: 100%;
}

.thumbnail-title-description-listing li a:hover h2 {
  color: #C70000;
}

/* Global - Gallery Slider */
.gallery-slider {
  width: 280px;
}

.gallery-slider .slider-for {
  text-align: center;
  margin: 0 0 1em 0;
}

.gallery-slider .slider-for > div:not(:first-child) {
  display: none;
}

.gallery-slider .slider-for img {
  display: inline-block;
  cursor: pointer;
}

.gallery-slider .slider-for .slick-slide a {
  display: inline-block;
  position: relative;
  max-width: 100%;
}

.gallery-slider .slider-for .slick-slide a:after {
  position: absolute;
  top: .4em;
  right: .4em;
  font-family: 'FontAwesome';
  content: '\f00e';
  line-height: 1;
  font-size: 1.5em;
  color: #fff;
  text-shadow: 0px 0px 5px rgba(150, 150, 150, 1);
}

.gallery-slider .slider-nav {
  display: none;
  width: calc(100% - 40px);
  margin-left: 20px;
}

.gallery-slider .slider-nav .slick-slide {
  cursor: pointer;
  width: 100px;
}

.gallery-slider .slider-nav .slick-slide img {
  margin: 0 auto;
  padding: 0 .25em;
  box-sizing: border-box;
}

.gallery-slider .slick-prev:before,
.gallery-slider .slick-next:before {
  content: '';
  background-repeat: no-repeat;
  background-position: center center;
  width: 7px;
  height: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.gallery-slider .slick-prev:before {
  background-image: url(images/arrow-left-orange.png);
}

.gallery-slider .slick-next:before {
  background-image: url(images/arrow-right-orange.png);
}

/* YouTube Videos */
ul.youtube-videos {
  float: right;
  clear: right;
  width: 280px;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.youtube-videos > li,
ul.youtube-videos > li > a {
    display: block;
}

ul.youtube-videos > li > a {
    position: relative;
}

ul.youtube-videos > li > a:after {
    font-family: 'FontAwesome';
    content: '\f04b';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: #f5f5dc;
    background: rgba(0, 0, 0, 0.34);
    padding: .5em 1.35em;
    border-radius: .25em;
    line-height: 1;
}

ul.youtube-videos > li > a:focus {
    outline: 0;
}

ul.youtube-videos > li > a:hover:after {
    background: rgba(255, 0, 0, 0.9);
}

ul.youtube-videos > li {
    margin-bottom: 1.5em;
}

/* Header */
.site-header {
  background: #222222;
}

/* Header - Right */
.site-header .flex-container .flex-col.right {
  color: #fff;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header .flex-container .flex-col.right .header-text {
  color: #C70000;
  font-size: 1.875em;
  margin: 0 1em 0 0;
  flex: 0 0 auto;
}

.site-header .flex-container .flex-col.right .header-text a {
  color: #fff;
}

/* Header - Right - Images */
.site-header .flex-container .flex-col.right .header-images {
  width: 100%;
}

.site-header .flex-container .flex-col.right .header-images .textwidget {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.site-header .flex-container .flex-col.right .header-images .textwidget > .flex-col > a {
  display: inline-block;
  padding: 1em;
}

.site-header .flex-container .flex-col.right .header-images .textwidget > .flex-col > a img {
  width: 100%;
}

/* Banners */
.banners {
  position: relative;
  margin: 0;
}

.banners li {
  position: relative;
  height: 500px;
  background-position: center center;
  background-size: cover;
}

.banners li:not(:first-child) {
  display: none;
}

.banners li a {
  display: inline-block;
  color: white;
}

.banners li > .content {
  display: none;
  position: absolute;
  width: 565px;
  bottom: 2.8em;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-size: 1.7em;
}

.banners li > .content .title {
  background: rgba(199, 0, 0, .84);
  font-size: 1.1em;
  padding: 1em;
  z-index: 1;
  position: relative;
}

.banners li > .content .text {
  background: rgba(36, 36, 36, .84);
  opacity: 0;
}

.banners li > .content .text .content {
  padding: .75em;
}

.banners li > .content .text .content :last-child {
  margin: 0;
}

.banners .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center center;
  font-size: 0;
  width: 44px;
  height: 57px;
  background-color: transparent;
}

.banners .slick-arrow:hover {
  background-repeat: no-repeat;
  background-position: center center;
}

.banners .slick-arrow.slick-prev,
.banners .slick-arrow.slick-prev:hover {
  left: 22px;
  background-image: url('images/arrow-left.png');
}

.banners .slick-arrow.slick-prev:before,
.banners .slick-arrow.slick-next:before {
  content: none;
}

.banners .slick-arrow.slick-next,
.banners .slick-arrow.slick-next:hover {
  right: 22px;
  background-image: url('images/arrow-right.png');
}

/* Banners - Text - Right Arrow */
.banners li.has-link:not(.has-text) .title {
  position: relative;
  padding: 1em calc(1.5em + 25px) 1em 1em;
}

.banners li.has-link:not(.has-text) .title:after {
  position: absolute;
  content: '';
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  background-image: url(images/arrow-right.png);
  width: 25px;
  height: 38px;
  background-repeat: no-repeat;
  background-position: center center;
}

.banners li.has-link.has-text .text .content {
  position: relative;
  padding: .75em calc(2em + 25px) .75em .75em;
}

.banners li.has-link.has-text .text .content:after {
  position: absolute;
  content: '';
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
  background-image: url(images/arrow-right.png);
  width: 25px;
  height: 38px;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Banners - Positions - Top Left */
.banners li.top-left > .content {
  top: 4rem;
  left: 4rem;
  bottom: auto;
  transform: none;
}

/* Banners - Positions - Center Left */
.banners li.center-left > .content {
  top: 50%;
  left: 4rem;
  bottom: auto;
  transform: translateY(-50%);
}

/* Banners - Positions - Bottom Left */
.banners li.bottom-left > .content {
  left: 4rem;
  bottom: 4rem;
  transform: none;
}

/* Banners - Positions - Top Right */
.banners li.top-right > .content {
  top: 4rem;
  right: 4rem;
  bottom: auto;
  left: auto;
  transform: none;
}

/* Banners - Positions - Center Right */
.banners li.center-right > .content {
  top: 50%;
  right: 4rem;
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
}

/* Banners - Positions - Bottom Right */
.banners li.bottom-right > .content {
  right: 4rem;
  bottom: 4rem;
  left: auto;
  transform: none;
}

/* Banners - Positions - Center Top */
.banners li.center-top > .content {
  top: 4rem;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
}

/* Banners - Positions - Center Center */
.banners li.center-center > .content {
  top: 50%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Banners - Positions - Center Bottom */
.banners li.center-bottom > .content {
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
}

/* Home Page - Subheader */
body.home .subheader {
  background: #f5f5f5;
  text-align: center;
  color: #242424;
  font-size: 1.2em;
  padding: 1.1em 0;
  line-height: 1.6;
}

body.home .subheader .page-width {
  padding: 0 1.6em;
}

/* Home Page - Quicklinks */
body.home .quicklinks {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 1em -1em 2em -1em;
  justify-content: center;
}

body.home .quicklinks li {
  flex: 0 0 auto;
  width: 375px;
  max-width: 100%;
  margin: 1.5em 1em;
}

body.home .quicklinks li a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

body.home .quicklinks li a .title {
  color: #242424;
  font-size: 1.56em;
  border-bottom: 2px solid #C70000;
  padding: .25em 0;
  flex: 1 0 auto;
  display: flex;
  align-items: flex-end;
}

body.home .quicklinks li a .title span {
  display: block;
  position: relative;
  flex: 1 1 auto;
  padding: 0 16px 0 0;
}

body.home .quicklinks li a .title span:after {
  content: '';
  background-image: url('images/arrow-right-dark.png');
  width: 12px;
  height: 19px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

body.home .quicklinks li a .thumb.background-image {
  height: 240px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* Home Page - Quicklinks - Primary */
body.home .quicklinks.quicklinks-primary li:last-child a .thumb {
  background-size: auto;
}

/* Home Page - Quicklinks - Secondary */
body.home .quicklinks.quicklinks-secondary li {
  display: flex;
}

body.home .quicklinks.quicklinks-secondary li a {
  flex: 1 1 auto;
  height: auto;
  width: 100%;
}

body.home .quicklinks.quicklinks-secondary li a .caption {
  color: #C70000;
  font-size: 1.56em;
}

body.home .quicklinks.quicklinks-secondary li a .thumb {
  margin: 0 0 .65em 0;
  flex: 0 0 auto;
}

/* Home Page - Icon Links */
body.home .icon-links {
  background-image: url('images/icon-links-background.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.home .icon-links .page-width ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-around;
  margin: 0 -.5em;
}

body.home .icon-links .page-width li {
  flex: 1 0 auto;
  text-align: center;
  margin: 2em 0;
  padding: 0 .5em;
  width: 400px;
  max-width: 100%;
}

body.home .icon-links .page-width li a {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

body.home .icon-links .page-width li a .flex-col.for-thumb {
  display: flex;
  align-items: center;
}

body.home .icon-links .page-width li a .flex-col.for-thumb .thumb {
  flex: 1 1 auto;
}

body.home .icon-links .page-width li a .flex-col.for-btn,
body.home .icon-links .page-width li a .flex-col.for-title {
  flex: 0 0 auto;
}

body.home .icon-links .page-width li a .title {
  font-weight: bold;
  line-height: 1.5;
  font-size: 1.87em;
  padding: .5em 0;
}

/* Home Page - Main Content Area */
body.home .site-main .page-width > .flex-container {
  margin: 0 -2em;
}

body.home .site-main .page-width > .flex-container > .flex-col {
  flex: 1 1 auto;
  width: 50%;
  padding: 2em;
}

/* Home Page - Main Content Area - Associates */
body.home .site-main > .page-width > .flex-container > .flex-col.for-associates .associates {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-associates .associates li {
  flex: 0 0 auto;
  width: 50%;
  text-align: center;
  padding: 2em 1em;
}

/* Home Page - Main Content Area - About Us */
body.home .site-main > .page-width > .flex-container > .flex-col.for-about-us {
  display: flex;
  flex-direction: column;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-about-us > h1 {
  color: #C70000;
  border-bottom: 1px solid #C70000;
  font-size: 2.25em;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-about-us .link-more {
  margin: 0;
}

/* Home Page - Main Content Area - Latest News */
body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news {
  display: flex;
  flex-direction: column;
  position: relative;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .read-more {
  color: #C70000;
  font-size: 1.3em;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container {
  margin: 0 0 3em 0;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-thumbnail {
  flex: 0 0 auto;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-thumbnail a {
  display: inline-block;
  margin: 0 1em 0 0;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-thumbnail a .thumbnail {
  width: 175px;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-content h3 {
  margin: 0 0 0.25em 0;
  font-size: 1.56em;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-content h3 a {
  display: inline-block;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-content .excerpt p:first-child {
  margin: 0 0 0.5em 0;
}

body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news > .for-btn-all-news {
  position: absolute;
  bottom: 3.5em;
}

/* Page - Default */
body:not(.home) #content.site-content {
  padding: 0;
  background: #f5f5f5;
}

body:not(.home) .site-content #primary {
  margin: 5.5em 0 0 0;
}

body:not(.home) .site-content #primary article {
  overflow: hidden;
}

body:not(.home) .site-content #primary article .entry-header {
  float: none;
  width: auto;
}

body:not(.home) .site-content #primary article .entry-header .entry-title {
  border-bottom: 1px solid #C70000;
  font-size: 1.56em;
  font-weight: normal;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 0 .25em 0;
}

body:not(.home) .site-content #primary article > .content {
  float: right;
  width: calc(100% - 315px);
}

body:not(.home) .site-content #primary article h2.subheading {
  border-bottom: none;
  margin: 0 0 1.2em 0;
  padding: 0;
  font-size: 1em;
  color: #C70000;
  line-height: 2;
}

body:not(.home) .site-content #primary article > .content .entry-content {
  float: none;
  width: auto;
  margin: 0 0 1.3em 0;
}

body:not(.home) .site-content #primary article > .content > .thumbnail {
  float: right;
  margin: 0 0 0 1em;
}

body:not(.home) .site-content #primary article > .content ul,
body:not(.home) .site-content #primary article > .content ol {
  list-style-position: inside;
}

body:not(.home) .site-content #primary article > .content .btn {
  font-size: .93rem;
  width: 11.75rem;
}

/* Page - Default - Headers */
body:not(.home) .site-content #primary article > .content .entry-content > h2,
body:not(.home) .site-content #primary article > .content .entry-content > h3 {
  border-bottom: none;
  font-size: 1.4em;
  margin: 1.75em 0 1.25em 0;
  padding: 0;
}

body:not(.home) .site-content #primary article > .content .entry-content > h3 {
  font-size: 1.2em;
}

/* Page - Default - Banner */
body:not(.home) .site-content .banners {
  margin: 0 0 2.7em 0;
}

body:not(.home) .site-content .banners li {
  height: 212px;
}

body:not(.home) .site-content.has-banners #primary {
  margin: 0;
}

/* Page - Default - Banner */
body:not(.home) .site-content #primary article > .content .entry-content .top-left-image {
  float: left;
  margin: .5em 2em 1.8em 0;
  max-width: 350px;
  height: auto;
  max-height: 230px;
}

/* Page - Default - Footer Images */
body:not(.home) .site-content #primary article > .content .entry-content .footer-images {
  display: flex;
  list-style: none;
  margin: 0 -1em 1.5em -1em;
  align-items: center;
}

body:not(.home) .site-content #primary article > .content .entry-content .footer-images li {
  flex: 1 1 auto;
  margin: 0 1em;
}

body:not(.home) .site-content #primary article > .content .entry-content .footer-images li img {
  width: 100%;
  max-width: 100%;
}

/* Page - Default - Content - Flex Container */
body:not(.home) .site-content #primary article > .content .flex-container .left {
  flex: 1 1 auto;
  margin: 0 1.5em 0 0;
}

body:not(.home) .site-content #primary article > .content .flex-container .right {
  flex: 0 0 auto;
  width: 280px;
}

/* Page - Default - Table-Like List */
.site-content #primary article > .content ul.table {
  list-style: none;
  margin: 0 0 2.5em 0;
}

body:not(.home) .site-content article > .content ul.table li {
  padding: .6em 1.3em;
  background: #e3e3e3;
  margin: 0 0 2px 0;
}

body:not(.home) .site-content #primary article > .content ul.table li:nth-child(odd) {
  background: #ebebeb;
}

/* Page - Default - Table-Like List - Ticks - Left */
body:not(.home) .site-content article>.content ul.table.ticks-left li {
  padding: .6em 1.3em .6em 3.5em;
}

body:not(.home) .site-content article>.content ul.table.ticks-left li:before {
  left: 1.3em;
}

/* Page - Default - Styled Table */
.site-content #primary article > .content table.table {
  border-collapse: separate;
  border-spacing: 0 2px;
}

.site-content #primary article > .content table.table thead th {
  background: #E3E3E3;
  border-bottom: none;
}

.site-content #primary article > .content table.table tr {
  border-bottom: none;
}

.site-content #primary article > .content table.table tbody tr {
  background: #EBEBEB;
}

.site-content #primary article > .content table.table tbody tr:nth-child(even) {
  background: #E3E3E3;
}

.site-content #primary article > .content table.table td,
.site-content #primary article > .content table.table th {
  padding: .6em 1.3em;
}


/* Page - Default - Table - Ticks */
.site-content #primary article > .content ul.table.ticks li {
  position: relative;
  padding: .6em calc(1.95em + 17px) .6em 1.3em;
}

.site-content #primary article > .content ul.table.ticks li:after {
  position: absolute;
  content: '';
  background-image: url('images/tick-green.png');
  background-repeat: no-repeat;
  background-position: center center;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  top: 50%;
  right: 1.3em;
}

/* Page - Default - Contact Box */
body:not(.home) .site-content #primary article .contact-box {
  float: right;
  background: white;
  padding: 1.5em;
  box-sizing: border-box;
  width: 284px;
}

body:not(.home) .site-content #primary article .contact-box h2 {
  color: #242424;
  border-bottom: none;
  font-size: 1.56em;
}

body:not(.home) .site-content #primary article .contact-box p {
  margin: 0;
}

body:not(.home) .site-content #primary article .contact-box .wpcf7 input:not([type='submit']),
body:not(.home) .site-content #primary article .contact-box .wpcf7 textarea {
  border: 1px solid #c3c3c3;
}

body:not(.home) .site-content #primary article .contact-box .wpcf7 .wpcf7-response-output {
  border: 2px solid #C70000;
  margin: 2em 0 0 0;
}

/* Page - Default - Footnote */
body:not(.home) .site-content #primary article > .content .entry-content .footnote {
  color: #C70000;
  font-size: 1.5em;
  font-weight: normal;
  text-align: center;
  line-height: 1.8;
  padding: 2em 0;
}

body:not(.home) .site-content #primary article > .content .entry-content .footnote a {
  color: #C70000;
  font-weight: bold;
  text-decoration: underline;
}

body:not(.home) .site-content #primary article > .content .entry-content .footnote a:hover {
  text-decoration: none;
}

/* Full Width Template */
body.page-template-template-full_width:not(.home) .site-content #primary article > .content {
  width: 100%;
}

/* Gallery Page */
body.page-template-template-gallery .site-content #primary article > .content {
  float: none;
  width: auto;
}

body.page-template-template-gallery .site-content #primary article > .content .entry-content .gallery {
  margin: 0 -5px;
}

body.page-template-template-gallery .site-content #primary article > .content .entry-content .gallery .item {
  width: 387px;
  max-width: 100%;
  margin: 8px;
  font-size: 0;
}

body.page-template-template-gallery .site-content #primary article > .content .entry-content .gallery .item a {
  padding: 9px;
  background: white;
  box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.4);
  width: 100%;
  box-sizing: border-box;
  display: block;
}

body.page-template-template-gallery .site-content #primary article > .content .entry-content .gallery .item a img {
  width: 100%;
  transition: .5s all ease;
  backface-visibility: hidden;
}

body.page-template-template-gallery .site-content #primary article > .content .entry-content .gallery .item a:hover img {
  opacity: .6;
}

/* Videos Page */
.page-template-template-videos .content .videos {
    list-style: none;
}

.page-template-template-videos .content .videos .video {
    display: flex;
    flex-wrap: wrap;
    padding: .5em;
    justify-content: center;
}

.page-template-template-videos .content .videos .video:nth-child(even) {
    background: #ededed;
}

.page-template-template-videos .content .videos .video:not(:last-child) {
    margin-bottom: 2em;
}

.page-template-template-videos .content .videos .video iframe {
    width: 450px;
    height: 250px;
    flex: 0 1 auto;
    border: .5em solid white;
    margin: .5em;
    box-sizing: content-box;
}

.page-template-template-videos .content .videos .video h2 {
    color: #222;
    border-bottom: none;
    font-size: 1.5em;
}

.page-template-template-videos .content .videos .video .content {
    flex: 1 1 auto;
    width: 300px;
    margin: .5em;
}

.page-template-template-videos .content .videos .video .content .description p:last-child {
    margin-bottom: 0;
}

/* Parent Page */
.page-template-template-parent_page .content .entry-content {
  margin: 0 0 3em 0;
}

.page-template-template-parent_page .content .thumbnail-title-description-listing.child-page-links li {
  flex: 1 1 268px;
  margin: 0 1em 5em 1em;
  max-width: 268px;
}

.page-template-template-parent_page .content .thumbnail-title-description-listing.child-page-links li a {
  display: flex;
  flex-direction: column;
  align-content: space-between;
}

.page-template-template-parent_page .content .thumbnail-title-description-listing.child-page-links li a h2 {
  color: #242424;
  border: none;
  font-size: 1.31em;
  flex: 0 0 auto;
  padding: 0;
  margin: .5em 0 .75em 0;
}

.page-template-template-parent_page .content .thumbnail-title-description-listing.child-page-links li a:hover h2 {
  color: #C70000;
}

.page-template-template-parent_page .content .thumbnail-title-description-listing.child-page-links li a .thumbnail {
  background-size: contain;
}

/* Product - Listing */
.page-template-template-brand_listing_product_listing .content .introductory-text {
  margin: 0 0 2em 0;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions {
  list-style: none;
  margin: 0 -.5em;
  display: flex;
  flex-wrap: wrap;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions li {
  flex: 1 1 270px;
  text-align: center;
  background: white;
  display: flex;
  flex-direction: column;
  margin: 0 .5em 2em .5em;
  max-width: 285px;
  position: relative;
  padding-bottom: 7.35rem;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions li .thumbnail {
  flex: 0 0 auto;
  border-bottom: 1px solid #C70000;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  height: 190px;
  padding: 0 0 1em 0;
  margin: 0 0 1em 0;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions li h2 {
  flex: 0 0 auto;
  color: #242424;
  font-weight: bold;
  font-size: 1em;
  border-bottom: none;
  margin: 0 0 .5em 0;
  padding: 0;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions li .description {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 .5rem;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions li .btn-container {
  flex: 0 0 auto;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0 .75rem;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions li .btn-container .btn.find-out-more {
  font-size: .93em;
  margin: 1.1em 0;
  padding: .3em 2em;
}

.page-template-template-brand_listing_product_listing .content .product-descriptions li .btn-container .btn.download-brochure {
    margin-bottom: 1.55em;
}

/* Product - Single */

/* title */
body.page-template-template-brand_listing_product_single #content #primary .entry-header {
    float: right;
    width: calc(100% - 315px);
}



body.page-template-template-brand_listing_product_single .site-content #primary article .gallery-slider {
  float: right;
  width: 280px;
}

body.page-template-template-brand_listing_product_single #content #primary .subheading {
  float: right;
  width: calc(100% - 315px - 280px - 1.5em);
  margin: 0 1.5em 0 0;
  clear: right;
}

body.page-template-template-brand_listing_product_single #content #primary article > .content {
  float: left;
  width: calc(100% - 315px - 280px - 1.5em);
  margin: 0 1.5em 0 35px;
}

body.page-template-template-brand_listing_product_single #content #primary .sidebar-container {
  float: left;
}

body.page-template-template-brand_listing_product_single .site-content #primary article .download-brochure {
  margin: 0 0 2.5em 0;
}

body.page-template-template-brand_listing_product_single .site-content #primary article .contact-box {
  float: none;
  width: 100%;
  margin: 0 0 4em 0;
}

/* Brand - Description Only Page */
body.page-template-template-brand_description_only .site-content #primary article > .content > .flex-container > .left > .contact-box {
    float: none;
    width: 100%;
    margin: 0 0 4em 0;
}

body.page-template-template-brand_description_only .site-content #primary article > .content > .flex-container > .right > .side-images li {
  margin: 0 0 1em 0;
}

body.page-template-template-brand_description_only .site-content #primary article > .content > .flex-container > .right > .side-images li a img {
  width: 100%;
  height: auto;
}

body.page-template-template-brand_description_only .site-content #primary article > .content > .flex-container > .right > .side-images {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.page-template-template-brand_description_only .site-content #primary article > .content > .flex-container > .right > .side-images li {

}

body.page-template-template-brand_description_only .site-content #primary article > .content > .flex-container > .right > .side-images li a {

}

/* Hire */
.page-template-template_hire:not(.home) #content {
  padding-bottom: 0;
}

.page-template-template_hire:not(.home) #content #primary {
  margin: 5.5em 0 3em 0;
}

.page-template-template_hire:not(.home) #content #primary .entry-content {
  float: right;
  width: calc(100% - 315px - 280px - 1.5em);
  margin: calc(-230px - 2em) 1.5em 0 0;
}

.page-template-template_hire:not(.home) #content #primary .entry-content:before,
.page-template-template_hire:not(.home) #content #primary .entry-content:after {
  content: none;
}

.page-template-template_hire:not(.home) #content #primary .contact-box {
  float: right;
  width: 280px;
  clear: right;
}

/* Hire - Header */
.page-template-template_hire:not(.home) #content #primary .entry-header {
  float: right;
  width: calc(100% - 315px);
}

/* Hire - Rental Types */
.page-template-template_hire .rental-types {
  list-style: none;
  margin: 0 2em 0 0;
  width: calc(100% - 315px - 280px - 1.5em);
  float: right;
  clear: none;
}

.page-template-template_hire .rental-types li {
  background: white;
  padding: 1em 1em 2em 1em;
  box-sizing: border-box;
  margin: 0 0 1em 0;
  overflow: hidden;
}

.page-template-template_hire .rental-types .thumbnail {
  width: 150px;
  height: auto;
  float: left;
  margin: 0 1em 0 0;
}

.page-template-template_hire .rental-types .content {
  float: right;
  width: calc(100% - 150px - 1em);
}

.page-template-template_hire .rental-types .content :last-child {
  margin: 0;
}

.page-template-template_hire .rental-types h2 {
  border-bottom: none;
  font-size: 1.31em;
  font-weight: bold;
  float: left;
  clear: none;
  padding: 0;
  width: calc(100% - 150px - 1em);
}

/* Hire - Side Slider */
.page-template-template_hire .side-slider {
  list-style: none;
  margin: 0 0 2em 0;
  float: right;
  width: 280px;
}

.page-template-template_hire .side-slider li {
  display: flex;
  flex-direction: column;
  height: 230px;
}

.page-template-template_hire .side-slider li:not(:first-child) {
  display: none;
}

.page-template-template_hire .side-slider li .image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  flex: 1 1 auto;
}

.page-template-template_hire .side-slider li .text {
  text-align: center;
  background: #C70000;
  color: white;
  font-size: 1.56em;
  padding: .1em .4em;
  flex: 0 0 auto;
}

/* Hire - Sidebar Content */
.page-template-template_hire article .sidebar.buttons.for-important-considerations.for-call-us-on {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.page-template-template_hire article .sidebar.buttons.for-important-considerations.for-call-us-on .important-considerations {
  order: 2;
}

.page-template-template_hire article .sidebar.buttons.for-important-considerations.for-call-us-on .call-us-on {
  order: 1;
}

.page-template-template_hire article .sidebar.buttons.for-site-survey {
  float: none;
  clear: none;
}

.page-template-template_hire .sidebar .sidebar-content {
  padding: 1.1em 1.4em;
  background-image: url(images/hire-sidebar-content-background.png);
  color: white;
  box-sizing: border-box;
}

.page-template-template_hire .sidebar .sidebar-content ul {

}

.page-template-template_hire .sidebar .sidebar-content ul li {
  position: relative;
  padding: 0 0 0 1.5em;
  margin: .25em 0;
}

.page-template-template_hire .sidebar .sidebar-content ul li:before {
  content: '';
  position: absolute;
  top: .4em;
  left: 0;
  background-image: url(images/tick.png);
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
}

.page-template-template_hire .sidebar .sidebar-content p {
  margin: 0 0 .5em 0;
}

.page-template-template_hire .sidebar .sidebar-content h2 {
  border-bottom: none;
  font-size: 1.56em;
  padding: 0;
}

/* Testimonials */
body.page-template-template-testimonials .site-content #primary article .testimonials {
  list-style: none;
  margin: 0;
}

body.page-template-template-testimonials .site-content #primary article .testimonials li {
  background: white;
  padding: 2em 3em;
  margin: 0 0 1.5em 0;
}

body.page-template-template-testimonials .site-content #primary article .testimonials li .flex-container {

}

body.page-template-template-testimonials .site-content #primary article .testimonials li .flex-container .flex-col.for-image {
  flex: 0 0 auto;
  margin: .8em 3em 0 0;
}

body.page-template-template-testimonials .site-content #primary article .testimonials li .flex-container .flex-col.for-content {
  flex: 1 1 auto;
}

body.page-template-template-testimonials .site-content #primary article .testimonials li .flex-container .flex-col.for-content .content {
  margin: 0 0 1em 0;
}

/* Used/Refurbished Forklifts */
.page-template-template-used .thumbnail-title-description-listing.used-forklifts li .thumbnail,
.page-template-template-refurbished .thumbnail-title-description-listing.used-forklifts li .thumbnail {
  margin: 0 0 1em 0;
}

.page-template-template-used .thumbnail-title-description-listing.used-forklifts li h2,
.page-template-template-refurbished .thumbnail-title-description-listing.used-forklifts li h2 {
  flex: 1 1 auto;
  color: #242424;
  padding: 0;
  margin: 0 0 .35em 0;
}

.page-template-template-used .thumbnail-title-description-listing.used-forklifts li .costing,
.page-template-template-refurbished .thumbnail-title-description-listing.used-forklifts li .costing {
  margin: 0 0 1em 0;
  flex: 0 0 auto;
}

.page-template-template-used .thumbnail-title-description-listing.used-forklifts li .costing .total-price,
.page-template-template-refurbished .thumbnail-title-description-listing.used-forklifts li .costing .total-price {
  color: #C70000;
  font-size: 1.31em;
}

.page-template-template-used .thumbnail-title-description-listing.used-forklifts li .btn-container,
.page-template-template-refurbished .thumbnail-title-description-listing.used-forklifts li .btn-container {
  flex: 0 0 auto;
}

.page-template-template-used .thumbnail-title-description-listing.used-forklifts li .btn-container a,
.page-template-template-refurbished .thumbnail-title-description-listing.used-forklifts li .btn-container a {
  display: inline-block;
  margin: 0 0 1.5em 0;
}

/* Used/Refurbished Forklifts - Single */
body.page-template-template-used_single .site-content #primary article > .content h2.subheading,
body.page-template-template-refurbished_single .site-content #primary article > .content h2.subheading {
  font-size: 1.56em;
}

body.page-template-template-used_single .site-content #primary article > .content .contact-us-now,
body.page-template-template-refurbished_single .site-content #primary article > .content .contact-us-now {
  color: #C70000;
}

body.page-template-template-used_single .site-content #primary article > .content ol,
body.page-template-template-refurbished_single .site-content #primary article > .content ol {
  list-style: none;
  counter-reset: my-counter;
}

body.page-template-template-used_single .site-content #primary article > .content ol li,
body.page-template-template-refurbished_single .site-content #primary article > .content ol li {
  margin: 0 0 .25em 0;
}

body.page-template-template-used_single .site-content #primary article > .content ol li:before,
body.page-template-template-refurbished_single .site-content #primary article > .content ol li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  margin: 0 1.7em 0 0;
}

/* Our Awards & Accreditations - Award Images */
.page-template-template-awards .site-content #primary article .award-images {
  background: #242424;
  text-align: center;
  margin: 0 0 2em 0;
}

.page-template-template-awards .site-content #primary article .award-images .flex-container {
  display: inline-flex;
  align-items: center;
  padding: 3.5em 5em;
  box-sizing: border-box;
}

.page-template-template-awards .site-content #primary article .award-images .flex-container .flex-col:first-child {
  margin: 0 3em 0 .5em;
}

.page-template-template-awards .site-content #primary article .award-images .flex-container .flex-col {
  flex: 0 0 auto;
  margin: 0 .5em;
}

/* Our Awards & Accreditations - Awards - Image & Description */
.page-template-template-awards .site-content #primary article .awards {
  display: block;
  list-style: none;
  margin: 0 0 3em 0;
}

.page-template-template-awards .site-content #primary article .awards li {
  margin: 0 0 1em 0;
}

.page-template-template-awards .site-content #primary article .awards li .flex-container {
  align-items: center;
}

.page-template-template-awards .site-content #primary article .awards li .flex-container .flex-col.for-thumbnail {
  flex: 0 0 auto;
  margin: 0 2em 0 0;
}

.page-template-template-awards .site-content #primary article .awards li .flex-container .flex-col.for-thumbnail {
  width: 88px;
}

.page-template-template-awards .site-content #primary article .awards li .flex-container .flex-col.for-thumbnail img {
  width: 100%;
}

.page-template-template-awards .site-content #primary article .awards li.iso .flex-container .flex-col.for-thumbnail img {
  border: 2px solid black;
}

.page-template-template-awards .site-content #primary article .awards li .flex-container .flex-col.for-content {
  flex: 1 1 auto;
  max-width: 100%;
}

.page-template-template-awards .site-content #primary article .awards li .flex-container .flex-col.for-content :last-child {
  margin-bottom: 0;
}

/* Quality Assurance Page */
/* Quality Assurance Page - Table */
.page-quality-assurance .site-content #primary article > .content .tables {
  clear: left;
  overflow: hidden;
}

.page-quality-assurance .site-content #primary article > .content .tables .table {
  float: left;
  width: 50%;
}

.page-quality-assurance .site-content #primary article > .content .tables .table:nth-child(2) {
  padding: 0 0 0 1.5em;
}

/* Contact Page */
body.page-template-template-contact_us .site-content #primary article {
  margin: 0 0 3em 0;
}

body.page-template-template-contact_us .site-content #primary article > .content {
  overflow: hidden;
}

body.page-template-template-contact_us .site-content #primary article > .content > .entry-content {
  margin: 0;
}

body.page-template-template-contact_us .site-content #primary article > .content > .flex-container {
  margin: 0 0 2em 0;
}

body.page-template-template-contact_us .site-content #primary article > .content h2 {
  border-bottom: none;
  color: black;
  font-size: 1em;
  font-weight: bold;
  margin: 0 0 .25em 0;
}

body.page-template-template-contact_us .site-content #primary article > .content > .flex-container > .left {
  flex: 1 1 auto;
  margin: 0;
}

body.page-template-template-contact_us .site-content #primary article > .content > .flex-container > .right {
  flex: 1 1 auto;
}

body.page-template-template-contact_us .site-content #primary article > .content > .flex-container > .right > .telephone {
  margin: 0 0 .5em 0;
}

body.page-template-template-contact_us .site-content #primary article > .content > .flex-container > .right > .email > a {
  color: #C70000;
  text-decoration: underline;
  font-weight: bold;
}

body.page-template-template-contact_us .site-content #primary article > .content > #map {
  height: 400px;
  margin: 0 0 1.5em 0;
}

body.page-template-template-contact_us .site-content #primary article > .sidebar-container {
  float: left;
}

body.page-template-template-contact_us .site-content #primary article > .sidebar-container > img {
  width: 280px;
  margin: 0 0 1em 0;
}

body.page-template-template-contact_us .site-content #primary article > .sidebar-container  > .sidebar {
  float: none;
  width: 280px;
}

body.page-template-template-contact_us .site-content #primary article > .sidebar-container  > .contact-box {
  float: none;
  width: 280px;
}

/* Blog / Case Studies */
.blog:not(.has-sidebar) #primary article,
.page-template-template-case_studies:not(.has-sidebar) #primary article,
.page-template-template-vacancies:not(.has-sidebar) #primary article {
  float: none;
  width: auto;
}

.blog #primary article .entry-content .posts,
.page-template-template-case_studies #primary article .entry-content .posts,
.page-template-template-vacancies #primary article .entry-content .posts {
  list-style: none;
}

.blog #primary article .entry-content .posts li,
.page-template-template-case_studies #primary article .entry-content .posts li,
.page-template-template-vacancies #primary article .entry-content .posts li {
  background: white;
  margin: 0 0 1em 0;
  padding: 1em;
  box-sizing: border-box;
}

.blog #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail,
.page-template-template-case_studies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail,
.page-template-template-vacancies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail {
  flex: 0 0 auto;
  width: 225px;
  margin: 0 1.2em 1em 0;
}

.blog #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail a,
.page-template-template-case_studies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail a,
.page-template-template-vacancies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail a {
  display: block;
}

.blog #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail a img,
.page-template-template-case_studies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail a img,
.page-template-template-vacancies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail a img {
  display: block;
  width: 100%;
  height: auto;
}

.blog #primary article .entry-content .posts li .flex-container .flex-col.for-content,
.page-template-template-case_studies #primary article .entry-content .posts li .flex-container .flex-col.for-content,
.page-template-template-vacancies #primary article .entry-content .posts li .flex-container .flex-col.for-content {
  flex: 1 1 auto;
}

.blog #primary article .entry-content .posts li .flex-container .flex-col.for-content h2,
.page-template-template-case_studies #primary article .entry-content .posts li .flex-container .flex-col.for-content h2,
.page-template-template-vacancies #primary article .entry-content .posts li .flex-container .flex-col.for-content h2 {
  font-weight: bold;
  font-size: 1.31em;
  border-bottom: none;
}

.blog #primary article .entry-content .posts li .flex-container .flex-col.for-content p.for-read-more,
.page-template-template-case_studies #primary article .entry-content .posts li .flex-container .flex-col.for-content p.for-read-more,
.page-template-template-vacancies #primary article .entry-content .posts li .flex-container .flex-col.for-content p.for-read-more {
  margin: 0;
}

/* Blog/Case Studies - Pagination */
.blog .navigation.pagination,
.page-template-template-case_studies .navigation.pagination,
.page-template-template-vacancies .navigation.pagination {
  float: none;
  width: auto;
}

.blog .navigation.pagination .next,
.blog .navigation.pagination .prev,
.page-template-template-case_studies .navigation.pagination .next,
.page-template-template-case_studies .navigation.pagination .prev,
.page-template-template-vacancies .navigation.pagination .next,
.page-template-template-vacancies .navigation.pagination .prev {
  background: #C70000;
  color: white;
}

.blog .navigation.pagination a:not(.prev):not(.next):hover,
.page-template-template-case_studies .navigation.pagination a:not(.prev):not(.next):hover,
.page-template-template-vacancies .navigation.pagination a:not(.prev):not(.next):hover {
  box-shadow: none;
  border-bottom: 2px solid #C70000;
}

/* Blog - Recent Posts */
.sidebar.recent-posts {
  width: 280px;
  float: left;
  clear: left;
  list-style: none;
  margin: 0 0 1.5em 0;
}

/* Blog - Recent Posts - Header */
.sidebar.recent-posts h2 {
  border-bottom: none;
  font-size: 1.56em;
  font-weight: normal;
  letter-spacing: 0;
  color: #242424;
}

.sidebar.recent-posts ul li a {
  color: #242424;
  border-top: 2px solid #C70000;
  padding: 1em 0;
}

.sidebar.recent-posts ul li:last-child a {
  border-bottom: 2px solid #C70000;
}

/* Blog/Case Studies - Single Post */
.blog.single-post:not(.has-sidebar) #primary,
.blog.single-case_studies:not(.has-sidebar) #primary,
.blog.single-vacancies:not(.has-sidebar) #primary  {
  max-width: 100%;
}

.blog.single-post:not(.has-sidebar) #primary .entry-content,
.blog.single-case_studies:not(.has-sidebar) #primary .entry-content,
.blog.single-vacancies:not(.has-sidebar) #primary .entry-content {
  background: white;
  padding: 1em;
}

.blog.single-post:not(.has-sidebar) #primary .entry-content h2,
.blog.single-case_studies:not(.has-sidebar) #primary .entry-content h2,
.blog.single-vacancies:not(.has-sidebar) #primary .entry-content h2  {
  border-bottom: none;
  font-size: 1.31em;
  font-weight: bold;
}

/* Blog - Single Post - Gallery */
.blog.single-post:not(.has-sidebar) #primary .entry-content .gallery,
.blog.single-case_studies:not(.has-sidebar) #primary .entry-content .gallery,
.blog.single-vacancies:not(.has-sidebar) #primary .entry-content .gallery {
  display: flex;
  margin: 0 -.5em 1.5em -.5em;
}

.blog.single-post:not(.has-sidebar) #primary .entry-content .gallery .item,
.blog.single-case_studies:not(.has-sidebar) #primary .entry-content .gallery .item,
.blog.single-vacancies:not(.has-sidebar) #primary .entry-content .gallery .item {
  flex: 1 1 auto;
  margin: 0 .5em;
  width: 100%;
  display: flex;
  align-items: center;
}

.blog.single-post:not(.has-sidebar) #primary .entry-content .gallery .item a,
.blog.single-case_studies:not(.has-sidebar) #primary .entry-content .gallery .item a,
.blog.single-vacancies:not(.has-sidebar) #primary .entry-content .gallery .item a {
  display: block;
  width: 100%;
}

.blog.single-post:not(.has-sidebar) #primary .entry-content .gallery .item a img,
.blog.single-case_studies:not(.has-sidebar) #primary .entry-content .gallery .item a img,
.blog.single-vacancies:not(.has-sidebar) #primary .entry-content .gallery .item a img {
  max-width: 100%;
}

/* Blog - Single Post - Navigation Buttons */
.blog.single-post:not(.has-sidebar) #primary .navigation-buttons,
.blog.single-case_studies:not(.has-sidebar) #primary .navigation-buttons,
.blog.single-vacancies:not(.has-sidebar) #primary .navigation-buttons {
  overflow: hidden;
  font-weight: bold;
}

.blog.single-post:not(.has-sidebar) #primary .navigation-buttons .back-to-parent-page,
.blog.single-case_studies:not(.has-sidebar) #primary .navigation-buttons .back-to-parent-page,
.blog.single-vacancies:not(.has-sidebar) #primary .navigation-buttons .back-to-parent-page {
  float: left;
}

.blog.single-post:not(.has-sidebar) #primary .navigation-buttons .back-to-parent-page a:before,
.blog.single-case_studies:not(.has-sidebar) #primary .navigation-buttons .back-to-parent-page a:before,
.blog.single-vacancies:not(.has-sidebar) #primary .navigation-buttons .back-to-parent-page a:before {
  content: '<';
  margin: 0 .2em 0 0;
}

.blog.single-post:not(.has-sidebar) #primary .navigation-buttons .next-post,
.blog.single-case_studies:not(.has-sidebar) #primary .navigation-buttons .next-post,
.blog.single-vacancies:not(.has-sidebar) #primary .navigation-buttons .next-post {
  float: right;
}

.blog.single-post:not(.has-sidebar) #primary .navigation-buttons .next-post a:after,
.blog.single-case_studies:not(.has-sidebar) #primary .navigation-buttons .next-post a:after,
.blog.single-vacancies:not(.has-sidebar) #primary .navigation-buttons .next-post a:after {
  content: '>';
  margin: 0 0 0 .2em;
}

/* Above Footer */
.sidebar-footer-above {
  background: #eaeaea;
  padding: 3em 0;
}

.sidebar-footer-above .flex-container {
  align-items: center;
}

.sidebar-footer-above .flex-container .flex-col.for-thumb {
  flex: 0 0 auto;
  width: 200px;
}

.sidebar-footer-above .flex-container .flex-col.for-content.for-author {
  position: relative;
  flex: 1 1 350px;
  padding: 17px 0 0 96px;
}

.sidebar-footer-above .flex-container .flex-col.for-content.for-author:after {
  content: '';
  background-image: url('images/quote.png');
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 45px;
  height: 28px;
  width: 30px;
}

.sidebar-footer-above .flex-container .flex-col.for-content.for-author .content {
  margin: 0 0 20px 0;
  font-style: italic;
  font-size: 1.25em;
}

.sidebar-footer-above .flex-container .flex-col.for-content.for-author .author {
  font-weight: bold;
}

/* Footer */
.site-footer {
  background: #242424;
  margin: 0;
  color: white;
  border-top: 6px solid #C70000;
  padding: 2.5em 0 1em 0;
  font-size: 1rem;
}

.site-footer h2 {
  border-bottom: none;
  font-size: 1.56em;
}

.site-footer a {
  color: white;
}

/* Footer - Col 1 */
.site-footer > .page-width > .flex-container > .flex-col.col-1 {
  width: 25%;
  padding: 0 1em;
  margin: 0 0 0 -1em;
}

.site-footer > .page-width > .flex-container > .flex-col.col-1 > .flex-container {
  flex-direction: column;
}

/* Footer - Col 1 - Contact Us */
.site-footer > .page-width > .flex-container > .flex-col.col-1 > .flex-container > .flex-col.for-contact-us {
  color: #C70000;
  margin: 0 0 2.5em 0;
}

/* Footer - Col 2 */
.site-footer > .page-width > .flex-container > .flex-col.col-2 {
  width: 20%;
  padding: 0 1em;
}

.site-footer > .page-width > .flex-container > .flex-col.col-2 .menu,
.site-footer > .page-width > .flex-container > .flex-col.col-2 .sub-menu {
  list-style: none;
  margin: 0;
}

.site-footer > .page-width > .flex-container > .flex-col.col-2 .menu > li > a {
  display: inline-block;
  color: #C70000;
  font-size: 1.56em;
  line-height: 1.4;
  margin: 0 0 .3em 0;
}

.site-footer > .page-width > .flex-container > .flex-col.col-2 .menu > li > .sub-menu > li > a {
  display: inline-block;
  margin: .1em 0 0 .2em;
}

.site-footer > .page-width > .flex-container > .flex-col.col-2 .menu > li > .sub-menu > li > a:before {
  content: '>';
  color: #C70000;
  padding: 0 .25em 0 0;
}

.site-footer > .page-width > .flex-container > .flex-col.col-2 .menu > li.our-service {
  margin: 0 0 1em 0;
}

/* Footer - Col 3 */
.site-footer > .page-width > .flex-container > .flex-col.col-3 {
  width: 55%;
  margin: 0 -1em 0 0;
}

/* Footer - Col 3 - Row 1 */
.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-1  {
  width: 100%;
}

.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-1 > .flex-container > .flex-col {
  width: 50%;
  padding: 0 1em;
}

/* Footer - Col 3 - Row 2 */
.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 {
  width: 100%;
}

.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col {
  width: 50%;
  padding: 0 1em;
}

/* Footer - Col 3 - Row 2 - Logo */
.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-logo {
  text-align: center;
}

.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-logo > .textwidget img {
  margin: 0.7em 0.5em;
}

/* Footer - Col 3 - Row 2 - Gallery */
.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-gallery .gallery-button {
  display: block;
}

.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-gallery .gallery-button ul {
  list-style: none;
  margin: 0;
  font-size: 0;
  margin: 0 -12px;
}

.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-gallery .gallery-button ul li {
  display: inline-block;
}

.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-gallery .gallery-button ul li .thumbnail {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 77px;
  width: 77px;
  margin: 12px;
}

.site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-gallery .gallery-button .view-gallery {
  color: #C70000;
}

/* Footer - Bottom */
.site-footer .footer-bottom {
  overflow: hidden;
}

.site-footer .footer-bottom .footer-line {
  font-size: 0;
  border-bottom: 2px solid #C70000;
  margin: 0 0 1rem 0;
}

.site-footer .footer-bottom .left {
  float: left;
}

.site-footer .footer-bottom .right {
  float: right;
}

.site-footer .footer-bottom .menu-footer-secondary-menu-container {
  clear: both;
}

.site-footer .footer-bottom .menu-footer-secondary-menu-container .menu li {
  display: inline-block;
}

.site-footer .footer-bottom .menu-footer-secondary-menu-container .menu li a {
  display: inline-block;
}

.site-footer .footer-bottom .menu-footer-secondary-menu-container .menu li:not(:last-child) a:after {
  content: '|';
  margin: 0 .4em;
}

/* Footer - Contact Forms */
.site-footer .wpcf7 input[type='text'],
.site-footer .wpcf7 input[type='tel'],
.site-footer .wpcf7 input[type='email'],
.site-footer .wpcf7 textarea
{
  background: #323232;
  color: #c6c1c1;
  border: 1px solid #414141;
  padding: .5em 1em;
}

.site-footer .wpcf7 span[role='alert'] {
  color: white;
}

.site-footer .wpcf7 .wpcf7-response-output {
  margin: 0 0 2em 0;
  border: 2px solid #C70000;
}

/* Responsive */
@media screen and (max-width: 1023px) {
  /* YouTube Videos */
  ul.youtube-videos {
    float: none;
    width: 100%;
    text-align: center;
  }
    
  /* Header */
  .site-header > .page-width {
    padding: 0;
  }

  .site-header .flex-container {
    flex-direction: column;
  }

  .site-header .flex-container .flex-col.right {
    order: 1;
    background: #1E1E1E;
    border-bottom: 1px solid #434343;
    padding: 0 40px;
  }

  .site-header .flex-container .flex-col.right .header-text {
    font-size: 3vw;
  }

  .site-header .flex-container .flex-col.right .header-images {
    flex: 1 1 1px;
    text-align: right;
  }

  .site-header .flex-container .flex-col.left {
    position: relative;
    order: 2;
    background: #242424;
    padding: 0 100px 1.5em 40px;
  }

  /* Header - Banners */
  .banners {

  }

  .banners li {
    height: 40vw;
  }

  /* Always display banner images as center-bottom for mobile */
  .banners li > .content {
    font-size: 2.7vw;
    width: calc(100% - 6rem);
    left: 3rem!important;
    right: 0!important;
    top: 50%!important;
    bottom: auto!important;
    transform: translateY(-50%)!important;
  }

  .banners li.has-link:not(.has-text) .title:after {
    width: 3vw;
    height: 3vw;
    background-size: contain;
  }

  .banners li.has-link.has-text .text .content:after {
    width: 3vw;
    height: 3vw;
    background-size: contain;
    background-position: center right;
  }

  .banners .slick-arrow {
    width: 30px;
  }

  .banners .slick-arrow.slick-prev {
    left: 0;
  }

  .banners .slick-arrow.slick-next {
    right: 0;
  }

  /* Home Page */
  body.home {

  }

  /* Home Page - Content */
  body.home .site-main .page-width > .flex-container > .flex-col {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Home Page - Thumbnail */
  body.home .site-main .page-width > .flex-container > .flex-col.for-thumbnail {
    order: 1;
    padding: 2em 2em 1em 2em;
  }

  body.home .site-main .page-width > .flex-container > .flex-col.for-thumbnail img {
    width: 100%;
  }

  /* Home Page - About Us */
  body.home .site-main .page-width > .flex-container > .flex-col.for-about-us {
    order: 2;
    padding: 0 2em 1em 2em;
  }

  /* Home Page - Associates */
  body.home .site-main .page-width > .flex-container > .flex-col.for-associates {
    order: 3;
    padding: 0 2em 1em 2em;
  }

  /* Home Page - Latest News */
  body.home .site-main .page-width > .flex-container > .flex-col.for-latest-news {
    order: 4;
  }

  body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news > .for-btn-all-news {
    bottom: 2em;
  }

  body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container {
    flex-direction: column;
  }

  body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-thumbnail {

  }

  body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-thumbnail a {
    display: block;
    margin: 0;
  }

  body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-thumbnail a .thumbnail {
    width: 100%;
    margin: 0 0 1em 0;
  }

  body.home .site-main > .page-width > .flex-container > .flex-col.for-latest-news .flex-container .flex-col.for-content {
    padding: 0 .25em;
  }

  /* Home Page - Quicklinks - Secondary */
  body.home .quicklinks.quicklinks-secondary {
    flex-direction: column;
    align-items: center;
  }

  body.home .quicklinks.quicklinks-secondary li {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    margin: 1em 0;
    padding: 1em;
  }

  body.home .quicklinks.quicklinks-secondary li a {
    display: block;
  }

  body.home .quicklinks.quicklinks-secondary li a .thumb {
    height: auto;
    width: 100%;
  }

  /* Global */
  /* Global - Sidebar Menu */
  .btn-responsive-sidebar-menu {
    position: relative;
    display: block;
    cursor: pointer;
    background: #323232;
    padding: .5em .75em .5em 5em;
    color: #c5c1c0;
    font-size: 1.5em;
    margin: 0 0 .3em 0;
    order: 3;
    flex: 0 0 auto;
  }

  .btn-responsive-sidebar-menu + .sidebar.menu ~ .sidebar.buttons {
    margin-top: 1.7em;
  }

  .btn-responsive-sidebar-menu:after {
    content: '';
    position: absolute;
    left: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('images/responsive-menu-hamburger.png');
    background-repeat: no-repeat;
    background-position: center center;
    width: 51px;
    height: 36px;
  }

  .btn-responsive-sidebar-menu.toggled:after {
    background-image: url('images/responsive-menu-cross.png');
    width: 39px;
    height: 38px;
  }

  .sidebar.menu {
    order: 4;
    flex: 0 0 auto;
  }

  /* Global - Sidebar Buttons */
  .sidebar.buttons {
    order: 5;
    flex: 0 0 auto;
  }

  /* Global - Thumbnail/Title/Description Listing */
  .thumbnail-title-description-listing {
    justify-content: center;
  }

  /* Global - Right - Gallery Slider */
  .flex-container > .right > .gallery-slider {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
  }

  .flex-container > .right > .gallery-slider .slider-for {
    margin: 0 0 1.5em 0;
  }

  .flex-container > .right > .gallery-slider > .slider-nav > .slick-dots {
    display: none!important;
  }

  /* Global - Above Footer */
  .sidebar-footer-above .flex-container .flex-col.for-thumb {
    width: 100%;
    text-align: center;
    margin: 0 0 1em 0;
  }

  .sidebar-footer-above .flex-container .flex-col.for-content.for-author:after {
    left: 0;
  }

  .sidebar-footer-above .flex-container .flex-col.for-content.for-author {
    padding: 17px 0 0 48px;
  }

  /* Default Page */
  /* Default Page - Layout */
  body:not(.home) #content #primary.content-area {
    margin: 1.75em 0 3em 0;
  }

  body:not(.home) #content #primary .entry-header {
    width: 100%;
    text-align: center;
  }

  body:not(.home) .site-content #primary article {
    display: flex;
    flex-direction: column;
  }

  body:not(.home) .site-content #primary article > .content {
    float: none;
    width: auto;
    order: 1;
    flex: 0 0 auto;
  }

  body:not(.home) .site-content #primary article > .content > .thumbnail {
    float: none;
    margin: 0 auto 2em auto;
    display: block;
  }

  body:not(.home) .site-content #primary article > .content h2.subheading {
    text-align: center;
  }

  body:not(.home) .site-content #primary article > .content .entry-content .top-left-image {
    width: 100%;
    float: none;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  /* Default Page - Left/Right Flex Layout */
  body:not(.home) .site-content #primary article > .content > .flex-container {
    flex-direction: column;
  }

  body:not(.home) .site-content #primary article > .content > .flex-container .left {
    order: 1;
  }

  body:not(.home) .site-content #primary article > .content > .flex-container .right {
    width: 100%;
    order: 2;
  }

  /* Default Page - Contact Box */
  body:not(.home) .site-content #primary article .contact-box {
    display: none;
  }

  /* Default Page - Sidebar */
  .sidebar {
    width: 100%;
  }

  /* Quality Assurance Page - Table */
  .page-quality-assurance #content.site-content #primary article > .content .tables .table {
    float: none;
    width: 100%;
    padding: 0;
  }

  .page-quality-assurance #content.site-content #primary article > .content .tables .table:first-child {
    margin: 0;
  }

  /* Product - Listing */
  .page-template-template-brand_listing_product_listing .content .product-descriptions {
    justify-content: center;
  }

  /* Used/Refurbished Forklifts - Single */
  body:not(.home).page-template-template-used_single .site-content #primary article > .content > .flex-container > .right,
  body:not(.home).page-template-template-refurbished_single .site-content #primary article > .content > .flex-container > .right {
    order: 1;
  }

  body:not(.home).page-template-template-used_single .site-content #primary article > .content > .flex-container > .left,
  body:not(.home).page-template-template-refurbished_single .site-content #primary article > .content > .flex-container > .left {
    order: 2;
  }

  /* Our Awards & Accreditations - Awards - Image & Description */
  body:not(.home).page-template-template-awards .site-content #primary article > .content .entry-content {
    margin: 0 0 3em 0;
    text-align: center;
  }

  .page-template-template-awards .site-content #primary article .awards li .flex-container {
    flex-direction: column;
    text-align: center;
  }

  .page-template-template-awards .site-content #primary article .awards li {
    margin: 0 0 5em 0;
  }

  .page-template-template-awards .site-content #primary article .awards li .flex-container .flex-col.for-thumbnail {
    margin: 0 0 2em 0;
  }


  /* Product - Single */
  body.page-template-template-brand_listing_product_single .site-content #primary .site-main article {
    display: flex;
    flex-direction: column;
  }

  body.page-template-template-brand_listing_product_single #content #primary .entry-header {
    order: 1;
    float: none;
    width: auto;
  }

  body.page-template-template-brand_listing_product_single .site-content #primary article .gallery-slider {
    order: 2;
    float: none;
    width: auto;
  }

  body.page-template-template-brand_listing_product_single #content #primary article > .content {
    order: 3;
    float: none;
    width: auto;
    margin: 0;
  }

  body.page-template-template-brand_listing_product_single .site-content #primary article ul.youtube-videos {
    order: 4;
    flex: 0 0 auto;
  }

  body.page-template-template-brand_listing_product_single #content #primary .sidebar-container {
    order: 5;
    float: none;
  }

  /* Our Awards & Accreditations - Award Images */
  .page-template-template-awards .site-content #primary article .award-images .flex-container {
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 0 -1em 0;
  }

  .page-template-template-awards .site-content #primary article .award-images .flex-container .flex-col:first-child {
    margin: 0 0 2em 0;
    flex: 1 1 auto;
    width: 100%;
  }

  .page-template-template-awards .site-content #primary article .award-images .flex-container .flex-col:not(:first-child) {
    flex: 1 1 auto;
  }

  .page-template-template-awards .site-content #primary article .award-images .flex-container .flex-col {
    margin: 0 1em 1em 1em;
  }

  /* Testimonials */
  body.page-template-template-testimonials .site-content #primary article .testimonials li .flex-container {
    flex-direction: column;
    text-align: center;
  }

  body.page-template-template-testimonials .site-content #primary article .testimonials li .flex-container .flex-col.for-image {
    margin: 0 0 1em 0;
  }

  /* Hire Page */
  .page-template-template_hire:not(.home) .site-content #primary .site-main article {
    display: flex;
    flex-direction: column;
  }

  .page-template-template_hire:not(.home) #content #primary .entry-header {
    width: 100%;
    float: none;
    order: 1;
  }

  .page-template-template_hire .side-slider {
    float: none;
    width: auto;
    order: 2;
  }

  .page-template-template_hire .side-slider li.slick-slide {
    height: 76.4vw;
  }

  .page-template-template_hire:not(.home) #content #primary .entry-content {
    float: none;
    width: auto;
    order: 3;
    margin: 0 0 1em 0;
  }

  .page-template-template_hire article .sidebar.buttons.for-important-considerations.for-call-us-on {
    float: none;
    order: 4;
    margin: 0 auto;
    width: 100%;
  }

  .page-template-template_hire article .sidebar.buttons.for-important-considerations.for-call-us-on .important-considerations {
    order: 1;
    margin: 0 0 2em 0;
  }

  .page-template-template_hire article .sidebar.buttons.for-important-considerations.for-call-us-on .call-us-on {
    order: 2;
    margin: 0 0 2em 0;
  }

  .page-template-template_hire .rental-types {
    float: none;
    width: auto;
    order: 5;
    margin: 0 0 1em 0;
  }

  .page-template-template_hire article .sidebar.buttons.for-site-survey {
    order: 6;
    margin: 0 auto 1em auto;
  }

  .page-template-template_hire:not(.home) #content #primary .contact-box {
    float: none;
    order: 7;
    width: 100%;
  }

  .page-template-template_hire .side-slider li {
    height: 450px;
  }

  /* Hire - Rental Types */
  .page-template-template_hire .rental-types li {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .page-template-template_hire .rental-types h2 {
    order: 1;
    float: none;
    width: 100%;
  }

  .page-template-template_hire .rental-types .thumbnail {
    order: 2;
    float: none;
    display: block;
    margin: 0 auto 1em auto;
  }

  .page-template-template_hire .rental-types .content {
    order: 3;
    float: none;
    width: 100%;
  }

  /* Contact Page */
  body.page-template-template-contact_us .site-content #primary article {
    text-align: center;
  }

  body.page-template-template-contact_us .site-content #primary article > .sidebar-container {
    order: 2;
    flex: 0 0 auto;
  }

  body.page-template-template-contact_us .site-content #primary article > .sidebar-container  > .sidebar {
    width: 100%;
  }

  body.page-template-template-contact_us .site-content #primary article > .sidebar-container > img {
    width: 100%;
  }

  /* Gallery Page */
  .page-template-template-gallery .site-content #primary .site-main article > .content .entry-content .gallery {
    position: static!important;
    height: auto!important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 2px;
  }

  .page-template-template-gallery .site-content #primary .site-main article > .content .entry-content .gallery .item {
    position: static!important;
    flex: 0 0 auto;
  }
  
  /* Videos */
  .page-template-template-videos .content .videos .video {
      position: relative;
  }
  
  .page-template-template-videos .content .videos .video:not(:last-child):after {
      content: '';
      position: absolute;
      bottom: -1em;
      left: 0;
      width: 100%;
      height: 1px;
      background: #C70000;
  }
  
  .page-template-template-videos .content .videos .video iframe {
      flex: 1 1 auto;
      width: 100%;
      height: 50vw;
  }
  
  .page-template-template-videos .content .videos .video,
  .page-template-template-videos .content .videos .video:nth-child(even){
      background: inherit;
  }

  /* Blog / Case Studies */
  .sidebar.recent-posts {
    width: 100%;
    order: 2;
    text-align: center;
    margin: 0 0 4em 0;
  }

  .blog #primary article .entry-content .posts li .flex-container,
  .page-template-template-case_studies #primary article .entry-content .posts li .flex-container,
	.page-template-template-vacancies #primary article .entry-content .posts li .flex-container {
    flex-direction: column;
  }

  .blog #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail,
  .page-template-template-case_studies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail,
  .page-template-template-vacancies #primary article .entry-content .posts li .flex-container .flex-col.for-thumbnail{
    margin: 0 auto 2em auto;
    width: 400px;
    max-width: 100%;
  }

  /* Blog - Single Post */
  .blog.single-post:not(.has-sidebar) #primary .navigation-buttons,
  .blog.single-case_studies:not(.has-sidebar) #primary .navigation-buttons,
	.blog.single-vacancies:not(.has-sidebar) #primary .navigation-buttons  {
    overflow: hidden;
    font-weight: bold;
    margin: 0 0 3em 0;
  }

  /* Footer */
  footer > .page-width > .flex-container {
    flex-direction: column;
  }

  /* Footer - Col 1 */
  .site-footer > .page-width > .flex-container > .flex-col.col-1 {
    width: auto;
    margin: 0 0 1.5em 0;
    padding: 0;
  }

  /* Footer - Col 2 - Menu */
  .site-footer > .page-width > .flex-container > .flex-col.col-2 {
    display: none;
  }

  /* Footer - Col 3 */
  .site-footer > .page-width > .flex-container > .flex-col.col-3 {
    width: auto;
    margin: 0;
  }

  .site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-1 > .flex-container {
    flex-direction: column;
  }

  .site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-1 > .flex-container > .flex-col {
    width: auto;
    padding: 0;
    margin: 0 0 2em 0;
  }

  .site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container {
    flex-direction: column;
  }

  .site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col {
    width: auto;
  }

  .site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-gallery {
    order: 1;
    padding: 0;
    margin: 0 0 2.5em 0;
  }

  /* Footer - Col 3 - Logos */
  .site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-logo {
    order: 2;
    padding: 0;
    margin: 0 0 2em 0;
  }

  .site-footer > .page-width > .flex-container > .flex-col.col-3 > .flex-container > .flex-col.row-2 > .flex-container > .flex-col.for-logo .textwidget {
    text-align: center;
    max-width: calc(252px + 3em);
    margin: 0 auto;
  }

  /* Footer - Credits */
  .site-footer .footer-bottom {
    display: flex;
    flex-direction: column;
  }

  .site-footer .footer-bottom .footer-line {
    order: 1;
  }

  .site-footer .footer-bottom .left {
    order: 2;
  }

  .site-footer .footer-bottom .menu-footer-secondary-menu-container {
    order: 3;
  }

  .site-footer .footer-bottom .right {
    order: 4;
  }
}

/* Enact responsive menu at lower resolution, to ensure that the desktop menu
   gets displayed on iPad, even content is displayed responsively. */
@media screen and (max-width: 1023px) {
  /* Header */
  .site-header .menu-primary-menu-container {
    display: none;
  }

  /* Header - Responsive Menu Button */
  .site-header .flex-container .flex-col.left .responsive-menu-button.responsive-menu-button-clone {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
    background: #242424;
    outline: 0;
  }

  .site-header .flex-container .flex-col.left .responsive-menu-button.responsive-menu-button-clone:hover {
    background: #242424;
  }

  /* Footer - Menu Button */
  .site-footer .responsive-menu-button.responsive-menu-button-clone {
    width: 100%;
    background: #323232;
    border: 1px solid #3a3a3a;
    text-align: left;
    font-weight: normal;
    color: #c7c1c1;
    font-size: 1.5em;
    padding: .7em 2em;
    display: flex;
    align-items: center;
    margin: 0 0 2em 0;
  }

  .site-footer .responsive-menu-button-clone .responsive-menu-box {
    flex: 0 0 auto;
  }

  .site-footer .responsive-menu-button-clone .text {
    flex: 1 1 auto;
  }

  .site-footer .responsive-menu-button-clone .responsive-menu-box {
    margin: 0 1em 0 0;
  }
}
/* - edit by Jacob 04/05/2017 - */
#post-559 .content .product-descriptions li .description .model {
  display: none!important;
}

/* prevent text appearing under image on this specific post */
@media screen and (min-width: 1024px) {
	#post-186 .content .entry-content .top-left-image {
		margin-bottom: 3em!important;
	}
}