/*
Theme Name:         IFR Workwear
Theme URI:          ifrworkwear.ca
Description:        Custom Wordpress them for IFR. Created June, 2020
Version:            1.0
Author:             Omar Amini / Masini Creative
Author URI:         https://www.masini.ca
*/

/* -----------------------------------------------------
= Base
--------------------------------------------------------*/

/* --- Font Declaration --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,700&display=swap');


/* --- Global Styles --- */
body {
  background-color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
}


body, p, li {
  font-size: 15px;
  color: #535456;
  font-weight: 400;
  letter-spacing: 0.4px;
}

/* --- Typography --- */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', sans-serif;
  color: #47464b;
  font-weight: 500;
  line-height: 1.1;
}

h1 {font-size: 42px;margin-bottom: 25px;text-transform: uppercase;}
h2 {font-size: 32px;margin-bottom: 20px;text-transform: uppercase;}
h3 {font-size: 26px; margin-bottom: 20px;text-transform: uppercase;}
h4 {font-size: 20px;margin-bottom: 15px;}
h5 {font-size: 17px;}
h5, h6 {line-height: 1.4;}
h6 {margin-bottom: 10px;font-size: 14px;}

p {margin: 0 0 20px;}

p.large {font-size: 18px;}

/* Links */
a, a:link, a:visited, a:active {
  color: #212121;
  font-weight: 500;
  text-decoration: none;
}
  a:hover, a:focus, a:active {
    color: #bf312d;
    outline: none;
  }

sup {
  top: -12rem;
  font-size: 50%;
}

/* -- Lists -- */
ul, ol, ul ul, ol ol {margin: 20px 0;padding-left: 15px;}

ul {list-style-type: disc;}

  ul li {margin-bottom: 5px;}

.css-table {
    display: table;
    margin: 0;
    padding: 0;
    width: 100%;
    /*table-layout: fixed;  optional, for equal spacing */
}
  .css-table > li {
    display: table-cell;
    margin: 0;
    vertical-align: middle;
    list-style: none;
  }

/* Lists */
.list-grid {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
  .list-grid > li {
    float: left;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
  }
  .list-grid.two > li {width: 50%;}
  .list-grid.three > li {width: 33.33333333%;}
  .list-grid.four > li {width: 25%;}
  .list-grid.five > li {width: 20%;}
  .list-grid.six > li {width: 16.666%;}
  
  .list-row-lgr > li {background-color: #f0f1f2;}
  .list-row-lgr > li:hover {background-color: #efefef;}
    .list-row-lgr > li > .css-table > li {padding: 5px 5px 5px 15px;font-size: 14px;}
    .list-row-lgr.bord-bot > li {
      padding: 10px 0;
      background-color: transparent;
      border-bottom: 1px solid #efefef;
    }
    .list-row-lgr.bord-bot > li > .css-table > li {line-height: 1.45;}

.list-img-farm {
  margin: 0 auto;
  width: fit-content;
}

.list-img-farm > li {float: left;}

.list-img-farm > li img {
  margin: 0 auto;
  padding: 10px 5px;
  max-height: 30px;
  width: auto;
  box-sizing: content-box;
}
/*  .nav-main .list-img-farm > li img {max-height: 40px;}*/

  .list-side-menu {margin-bottom: 0;}
   .list-side-menu > li {margin: 0 0 10px;}
    .list-side-menu > li:last-child {margin-bottom: 0;}
    .list-side-menu > li > a {
      display: block;
      text-transform: uppercase;

    }
      .list-side-menu.text-red > li > a {color: #007600;}
      .list-side-menu > li > a::after {content: ' >';}
      .list-side-menu > li > a:hover,
      .list-side-menu > li > a:active,
      .list-side-menu > li > a:focus {color: #008500;}

      .list-side-menu.text-red > li > a:hover,
      .list-side-menu.text-red > li > a:focus {color: #535456;}

.with-margin > li,
.list-grid.with-margin > li,
.with-margin > div {margin-bottom: 40px;}

.list-grid.with-margin.last-child > li:last-child,
.with-margin > div:last-child {margin-bottom: 0;}

.list-block-hover > li {
    background-color: #f6f6f6;
    border: 2px solid #ccc;
  }
    .list-block-hover.hover-red > li:hover, 
    .list-block-hover.hover-red > li:focus {border-color: #bf322b;}


/* Media items */

ul.equal-height .media {height: 100%;}
ul.equal-height .media.padded {padding: 50px;}

/* --- Tables --- */
.table>thead>tr>th, 
.table>tbody>tr>th, 
.table>tfoot>tr>th, 
.table>thead>tr>td, 
.table>tbody>tr>td, 
.table>tfoot>tr>td {line-height: 1.45;}

.table.align-middle > tbody > tr > td {vertical-align: middle;}

/* --- Dropdown --- */
.dropdown.minimal > .dropdown-toggle {
    display: block;
    padding: 0 15px;
    width: 100%;
    min-width: 150px;
    background-color: #fff;
    color: #535456;
    line-height: 48px;
    border: 2px solid #f0f1f2;
}
  .dropdown.minimal > .dropdown-toggle .caret {
    position: absolute;
    top: 50%;
    right: 15px;
  }
  .dropdown.minimal > .dropdown-menu {
    width: 277px;
    -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
  }
  .dropdown.minimal > .dropdown-menu > li > a {
    font-size: 14px;
    line-height: 32px;
    border-bottom: 1px solid #f0f1f2;
  }

/* --- Tabs --- */
.nav-tabs.clean {border: 0;}
  .nav-tabs.clean > li {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
  }
    .nav-tabs.clean > li > a:hover,
    .nav-tabs.clean > li > a:focus {margin:0;border:0;}

  .nav-tabs.clean > li > a {
    display: block;
    margin: 0 25px 0 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
  }

.IFR-tabs .nav-tabs.clean {
  display: block;
  width: 100%;
  margin: 20px 0;
  border-bottom: 2px solid #c5233e;
}
  .IFR-tabs .nav-tabs.clean > li {border-right: 1px solid #fff;}
    .IFR-tabs .nav-tabs > li:last-child {border-right: 0;}

    .IFR-tabs .nav-tabs > li > a {
      margin: 0;
      padding: 20px 5px;
      background-color: #f6f6f6;
      font-size: inherit;
      text-transform: uppercase;
      text-align: center;
    }

      .IFR-tabs .nav-tabs > li.active > a {
        margin: 0;
        color: #fff;
        background-color: #c5233e;
        border-bottom: 1px solid #c5233e;
      }
        .IFR-tabs .nav-tabs.clean > li.active > a:hover,
        .IFR-tabs .nav-tabs.clean > li.active > a:focus {
          margin: 0;
          color: #fff;
          border-left: 0;
        }

.IFR-tabs .nav-tabs.clean.health-tabs {border-bottom: 2px solid #0b60ae;}
      .IFR-tabs .nav-tabs.clean.health-tabs > li.active > a {background-color: #0b60ae;border-bottom-color: #0b60ae;}
      .IFR-tabs .nav-tabs.clean.health-tabs > li > a:hover {color: #0b60ae;}
      .IFR-tabs .nav-tabs.clean.health-tabs > li.active > a:hover,
        .IFR-tabs .nav-tabs.clean.health-tabs > li.active > a:focus {color: #fff;}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {background-color: #f6f6f6;color: #353535;}
  
.IFR-tabs .tab-content > .tab-pane {padding: 0 20px;min-height: 300px;}

/* Panels */
.panel-clean .panel+.panel {margin-top: 0;}
.panel-clean .panel, .panel-clean .panel .panel-heading  {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.panel-clean .panel {
  padding: 10px 0;
  border-bottom: 1px solid #efefef;
}
  
.panel-clean .panel > .panel-heading {
  padding: 0;
  background-color: transparent;
  border-color: transparent;
}
  .panel-clean .panel > .panel-heading a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
  }
    .panel-clean .panel > .panel-heading a h4 {margin-bottom: 0;}

    .panel-clean .panel > .panel-heading .icon {
      margin: 5px;
      float: right;
      color: #bf312d;
      font-weight: 600;
    }
.panel-clean .panel .panel-heading + .panel-collapse .panel-body {border: none;}
  .panel-clean .panel .panel-body {padding: 0 0 10px 0;}

/* --- Modal --- */
.modal {background-color: rgba(0,38,60,0.85);}
 .modal.fade.in {
    position: fixed;
    z-index: 5001;
  }

.modal-content {
  -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.modal-body {padding: 25px;}

.world-map {position: relative;overflow: visible;}
  .world-map .pin {
    position: absolute;
    margin:0;
    padding: 0;
    width: 10px;
    height: 10px;
    overflow: visible;
    background-color: #bf312d;
    border: 0.15em solid #fff;
  -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      border-radius: 50%;
    box-shadow: 0 0 14px rgba(0, 74, 151, 0.2);
    text-indent: -9000px;
    outline: none;
    z-index: 50;
  }

.world-map .pin:before {
  position: absolute;
  content: "";
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
  border-radius: 50%;
  box-shadow: 0 0 rgba(0, 74, 151, 0.3), 0 0 0 14px rgba(0, 74, 151, 0.3);/*,
    0 0 0 32px rgba(0, 55, 255, 0.2), 0 0 0 48px rgba(0, 55, 255, 0.2);*/
  z-index: -1;
  animation: ripples 1s linear 5s;
  animation-play-state: paused;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  transform: scale(0.5);
}

    .world-map .pin:hover:before {
      animation-play-state: running;
      opacity: 0.5;
      visibility: visible;
      transform: scale(1);
       animation-duration: infinite; 
        -webkit-animation-duration: infinite;
    }

    @keyframes ripples {
      to {
        box-shadow: 0 0 0 16px rgba(0, 74, 151, 0.3), 0 0 0 14px rgba(0, 74, 151, 0.3)/*,
          0 0 0 48px rgba(0, 55, 255, 0.2), 0 0 0 64px rgba(0, 55, 255, 0)*/;
      }
    }

    @keyframes bounce {
      0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
      }

      40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
      }

      80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
      }
    }

/* Bootstrap Popover override */
.tooltip.fade.in {
  display: block;
  top: 85.5px; 
  left: -71px; 
}

.popover-title {
  margin: 0;
  padding: 8px 10px 0;
  font-size: 14px;
  color: #bf312d;
  text-transform: uppercase;
  background-color: transparent;
  text-align: center;
  border: 0;
  border-radius: 0;
}
.popover-content {
  padding: 0 10px 8px;
  max-height: 200px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.75px;
  text-align: center;
}
  .popover-content a {color: #4f4f4f;}

/* Bootstrap Tooltip override */
.tooltip.sticky {    
  position: absolute;
  display: inline-block;
  }

.tooltip-inner {
    padding: 12px;
    background-color: #fff;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
}
  .tooltip.in:hover, .tooltip.in:focus {opacity: 1 !important;animation: bounce 1s;}

  .tooltip.top .tooltip-arrow {border-top-color: #fff;}
  .tooltip.left .tooltip-arrow {border-left-color: #fff;}
  .tooltip.right .tooltip-arrow {border-right-color: #fff;}
  .tooltip.bottom .tooltip-arrow {border-bottom-color: #fff;}

  .tooltip-inner .tooltip-title {
    display: inline-block;
    margin: 0 0 3px;
    font-size: 12px;
    color: #bf312d;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    font-weight: 600;
  }

/* --- Form Elements --- */
.form-control, label {font-size: 14px;}
  .form-control {
    height: 48px;
    background-color: #fff;
    font-size: 14px;
    border: 2px solid #c8ccd0;
    -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
  }
    .form-control,
    .form-control:active,
    .form-control:focus {
      -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0);
    box-shadow: inset 0 0 0 rgba(0,0,0,0);
    outline: none;
  }

  label {line-height: 34px;font-weight: 400;}

   .form-control,
   textarea {
    /* Remove iOS inner shadow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

/* Buttons */
.btn, a.btn {
  margin: 0;
  padding: 18px 28px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
  border: 0;
}

  .btn, a.btn,
  .btn:hover, a.btn:hover,
  .btn:focus, a.btn:focus {
    transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    outline: none;
    box-shadow: none;
  }

.btn-sm, a.btn-sm {
  padding: 8px 14px !important;
  font-size: 12px !important;
}

.btn-default {background-color: #212121;}
  .btn-default:hover, 
  .btn-default:focus, 
  .btn-default:active,
  .btn-default:active:focus {background: #000;}

.btn-secondary {
  background-color: rgb(83, 84, 86, 0.15);
  border: none;
  color: #c5233e !important;
}
  .btn-secondary:hover, .btn-secondary:focus {
    color: #535456;
    background-color: rgb(83, 84, 86, 0.3);
    border: none;
  }

.btn-primary {
  background-color: #c5233e;
  background-image: -moz-linear-gradient( -90deg, rgb(217,55,49) 0%, rgb(191,49,44) 100%);
  background-image: -webkit-linear-gradient( -90deg, rgb(217,55,49) 0%, rgb(191,49,44) 100%);
  background-image: -ms-linear-gradient( -90deg, rgb(217,55,49) 0%, rgb(191,49,44) 100%);
}

  .btn-primary:hover,
  .btn-primary:active,
  .btn-primary:focus  {background: #c5233e;}

.btn-bord,
a.btn-bord {
  color: #535456;
  background-color: transparent;
  border: 1px solid rgba(83, 84, 86, 0.8);
}
  .btn-bord:hover,
  a.btn-bord:focus {
    background-color: rgba(83, 84, 86, 0.1);
    color: #535456;
    border: 1px solid rgba(83, 84, 86, 1);
  }

.btn.disabled {
  color: #4f4f4f;
  font-weight: 600;
  border: 0;
}

.btn-block {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.btn-rm {margin: 30px 0 0;}
  .btn-rm .icon {font-size: 13px;font-weight: 700;}

.searchbox-wrapper {display: none;
    -webkit-transition: max-height 0.25s ease-in-out;
    -moz-transition: max-height 0.25s ease-in-out;
    -o-transition: max-height 0.25s ease-in-out;
    transition: max-height 0.25s ease-in-out;
  }

.searchbox {max-width: 1140px; margin: 0 auto;}
.searchbox .input-group {
  margin: 0;
  background-color: #fff;
  -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

  .searchbox .input-group .form-control {
    background-color: #fff;
    border: none;
    box-shadow: none;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 300;
}

  .searchbox .input-group .btn {
    padding: 0;
    margin: 0 16px 0 0;
    width: 24px;
    height: 24px;
    background-color: transparent;
    background-image: url('img/icons/search-close-gr.png');
    background-repeat: no-repeat;
    background-position: left top;
    text-indent: -8000px;
  }
 
.btn-search {
  position: absolute;
  right: 0;
  top:0;
  width: 54px;
  height: 54px;
  padding: 15px;
  background-color: #c5233e;
}

.btn-search > .icon.search {
  background-image: url('img/icons/icon-search-wht.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100%;
  width: 24px;
  height: 24px;
}
  .btn-search > .icon.search.close-search {background-position: center -24px;}

/* Close button */
.nav-mobile-close,
.modal .close {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 5002;
  opacity: 1;
} 
  .nav-mobile-close:hover,
  .nav-mobile-close:focus {color: #fff;} 

.icon {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.icon.med {font-size: 18px;}
.icon.lrg {font-size: 24px;}

.btn.disabled {
  background-color: rgba(79,79,79,0.1);
  border-color: rgba(79,79,79,0.1);
  color: #4f4f4f;
}


.radio label, .checkbox label {line-height: 1;}

/* Contact Form 7 overrides */
.wpcf7-not-valid, div.wpcf7-validation-errors {border-color: #d9483b;}
span.wpcf7-not-valid-tip,
.wpcf7 img.ajax-loader {display: none;}

/* Alerts */
.wpcf7-validation-errors, 
.wpcf7-mail-sent-ok,
div.wpcf7-response-output {
    margin: 10px 0;
    border: 0 !important;
    font-size: 14px;
    -webkit-border-radius:4px;
      -moz-border-radius:4px;
      border-radius:4px;
}
  .wpcf7-mail-sent-ok {background-color: #dff0d8;}
  .wpcf7-validation-errors {background-color: #f2dede;}

  .wpcf7-response-output {
    background-position: 10px center;
    background-repeat: no-repeat;
}



/* -----------------------------------------------------
= Layout
--------------------------------------------------------*/

.nav-wrapper {background-color: #47464b;}

/* Main Site Header */
.header-main {
  padding-top: 30px;
  width: 100%;
  top: 0;
  background-color: #c5233e;
  z-index: 5000;
}

/* Logo */
a.logo {
  display: block;
  float: left;
  margin-bottom: 10px;
  padding: 0;
  width: 190px;
  height: auto;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border: 0;
}

.top-menu > li > a {
  font-size: 16px;
  color: #efefef;
  font-weight: 400;
  text-transform: uppercase;
}

/* Navigation Menus */
.nav-primary {
  margin: 0 auto;
  padding: 0;
  max-width: 1170px;
  position: relative;
  border: 0;
}
  .nav-primary .navbar-nav > li {margin: 0;}
    .nav-primary .navbar-nav > li > a {
      display: block;
      margin: 0;
      padding: 0 20px;
      position: relative;
      font-family: 'Roboto', sans-serif;
      font-size: 14px;
      font-weight: 500;
      color: #fff;
      line-height: 54px;
      text-transform: uppercase;
      letter-spacing: 1px;
      text-decoration: none;
      border: 0;
    }
      .nav-primary .navbar-nav > li > a:hover,
      .nav-primary .navbar-nav > li > a:active,
      .nav-primary .navbar-nav > li > a:focus {color: #fff;background-color: #c5233e;}
      .nav-primary .navbar-nav > li.open > a, 
      .nav-primary .navbar-nav > li.open > a:hover, 
      .nav-primary .navbar-nav > li.open > a:focus {color: #fff;background-color: #c5233e;}

.nav-primary .navbar-collapse {padding: 0;}

.nav-primary .dropdown {position: static;}

.nav-primary .dropdown > .dropdown-menu {
  left: 0;
  right: 0;
  position: absolute;
  margin: 0;
  padding: 20px;
  width: auto;
  border: solid 1px #c5233e;
  border-top: 0;
  min-width: 0px !important;
  -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
    .nav-primary .dropdown > .dropdown-menu > li > a {white-space: normal;}
    .nav-primary .dropdown > .dropdown-menu > li > a {white-space: normal;}

.nav-sub-menu-wrapper > li > a {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.sub-menu {margin: 6px 0;}
  .sub-menu > li {margin: 8px 0 0;}
  .sub-menu > li > a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
  }

/* Mobile menu */
.navbar-toggle {
  margin-right: 10px;
  padding: 10px 0;
  margin-top: 10px;
  margin-bottom: 10px;
}
.navbar-toggle .icon-bar {background-color: #fff;}

/* Sections */
.section {overflow: hidden;}
.section.default {padding: 80px 0;}
.section.xlrg {padding: 200px 0;}
.section.sml {padding: 40px 0;}
.section.xsml {padding: 20px 0;}

.section.lbl {background-color: #f7f9ff;}
.section.bord-top {border-top: 1px solid #f0f1f2;}
.section.lgr {background-color: #f6f6f6;}

.section.default.pt-0 {padding-top: 0;}
.section.default.pb-0 {padding-bottom: 0;}

.section.parallax {
  position: relative;
  min-height: 600px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

.parallax-safari-fix {background-attachment: scroll !important;}

.overlap-bg-img > .container {
  background-size: auto;
  background-repeat: no-repeat;
  padding-top: 7%;
  background-position-x: 15px;
}

  .overlap-bg-img.right > .container {background-position: right top;}

.bord-pull-text {
  margin: 0;
  padding-left: 30px;
  border-left: 4px solid #bf312d;
}

header.default {margin-bottom: 20px;}
header.xlrg {margin-bottom: 125px;}
header.lrg {margin-bottom: 100px;}
header.med {margin-bottom: 50px;}
header.sml {margin-bottom: 25px;}
header.bord-bot {border-bottom: 2px solid #c8ccd0;}

.fill-bg.wht {background-color: #fff;}
.fill-bg.ifred {background-color: #bf312d;}
.fill-bg.gr {background-color: #252525;}
.fill-bg.lgr {background-color: #f6f6f6;}

.fill-bg.lrg {padding: 50px;}
.fill-bg.med {padding: 25px;}
.fill-bg.sml {padding: 15px;}
.fill-bg.short {padding: 50px 100px;}

.fill-bg.lbl h2 {line-height: 1.4;}
.fill-bg.lbl p {
  font-size: 18px;
  margin: 0 0 25px;
}

.fill-bg.opac {
  zoom: 1;
  filter: alpha(opacity=8);
  opacity: 0.9;
}

 .quoted-block {
    display: inline-block;
    padding-left: 40px;
    border-left: 6px solid #bf312d;
  }
    .quoted-block p {margin: 0 !important;}

    .quoted-block-author {
      margin: 25px 0 0 !important;
      padding-left: 46px;
      text-transform: uppercase;
      font-weight: 400;
    } 
      .quoted-block-author p {margin-bottom: 0 !important;} 

 blockquote {
    display: inline-block;
    margin: 50px 50px;
    padding: 0 0 0 40px;
    border-left: 6px solid #bf312d;
  }
   blockquote p {
    font-family: 'Roboto Condensed', sans-serif;
    color: #bf312d;
    font-size: 34px;
    line-height: 1.41;
    letter-spacing: -1.2px;
  }


/* Heros */
.hero {
  position: relative;
  padding: 0;
  min-height: 200px;
  background-color: #252525;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  z-index: 703;
}

  .hero .filter,
  .hero .filter > .scroll-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
  }
     .hero .filter {background-color: rgba(0,0,0,0.4);}

  .hero .cat-desc h1 {margin: 0 0 10px;}

  .hero .cat-desc p {
    font-size: 18px;
    color: #fff;
    font-weight: 300;
  }
    .hero .cat-desc a {color: #999;}

/* Slider - General Styles */
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  background: transparent;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide > img {
  width: 100%;
  height: auto;
}

/* Main Gallery Specific */
.gallery-top .swiper-slide {
  width: 100% !important;
  flex-shrink: 0 !important;
  margin-right: 10px !important; /* Maintain spacing between main gallery slides */
}

.gallery-top .swiper-wrapper {
  display: flex !important;
  transition-property: transform;
}

/* Thumbnail Gallery Specific */
.gallery-thumbs .swiper-slide {
  margin-bottom: 20px;
  margin-right: 5px !important;
  padding-right: 0 !important;
  width: 80px; 
  height: 160px;
  opacity: 0.4;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.gallery-thumbs .prod-part-no {
  padding: 6px 0;
  position: absolute; 
  bottom: -25px;
  left: 0;
  background-color: #fff;
  width: 100%;
  text-align: center;
  font-size: 11px;
}

/* Content Overlay Styles */
.swiper-slide .content {
  z-index: 6;
}

.swiper-slide .content,
.section .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 740px;
}

.swiper-slide .content h1,
.swiper-slide .content h2,
.swiper-slide .content p,
.hero h1,
.hero h2 {
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 600;
}

.swiper-slide .content h1,
.swiper-slide .content h2,
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero .cat-desc p {
  -webkit-text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
  -moz-text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
  text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

/* Hero Section Styles */
.hero.blog-main {
  background-image: url("img/swiper/blog.jpg");
  background-position: center top;
}

.hero.the-post {
  background-position: center top;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
  .gallery-top .swiper-slide {
    margin-right: 0 !important;
  }
}

@media (min-width: 769px) {
  .gallery-thumbs .swiper-wrapper {
    gap: 5px !important;
  }
  
  .gallery-thumbs .swiper-slide {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 80px !important;
  }
  
  /* Override any inline styles from Swiper */
  .gallery-thumbs .swiper-slide[style] {
    margin-right: 0 !important;
  }
  
  /* Add small gap between thumbnails using gap instead of margin */
  .gallery-thumbs {
    overflow: visible !important;
  }
}

/* -- Section specific styles -- */

/* Home */
  .scroll-down p {
    color: #007600;
    font-weight: 400;
    text-transform: uppercase;
  }
  .scroll-down .line {
    display: block;
    margin: 0 auto;
    width: 2px;
    border-top: 20px solid #007600;
  }

.view-invest-deck {
  position: absolute;
  bottom: 0;
  left: 40px;
}

/* Our Company */
 .list-timeline {
  overflow: hidden;
  height: 670px;
  transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
}

.list-timeline > li,
.list-timeline .media,
.list-timeline .media li,
.list-timeline .media-left {overflow: visible;}

.list-timeline .media li {position: relative;}
  .list-timeline .media li h3 {
    margin: 0 auto;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 20px;
  }
  .list-timeline .media p {font-size: 14px;}

  .list-timeline .media li > span {
    position: absolute;
    width: 2px;
    height: 130px;
    background-color: #007600;
    /*top: 50%;*/
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
    .list-timeline .media li > span::after {
      content: '';
      position: absolute;
      width: 10px;
      height: 10px;
      right: 50%;
      background-color: #007600;
      border: 0;
      bottom: 0;
      border-radius: 50%;
      z-index: 1;
      margin-right: -5px;
    }

    .list-timeline > li:last-child .media li > span,
    .list-timeline > li:last-child .media li > span::after {display: none;}


/* -- Product specific styles --*/
.list-cat-preview {position: relative; height: 100%;}
  .list-cat-preview > li.cat-img > a {
    display: block;
    position: absolute;
    left: 10px;
    bottom: 0;
  }

.preview.prod > div {margin: 20px 0; min-height: 425px;}

.preview.prod figure {
  background-color: #f6f6f6;
  margin-bottom: 20px;
  text-align: center;
}
  .preview.prod figure img {
    padding: 20px;
    margin: 0 auto;
  }

  .preview.prod article {margin-bottom: 40px;}
    .preview.prod article ul li {
      font-size: 18px;
      font-weight: 500;
    }

.preview.post .wp-post-preview {padding-left: 20px;}
  .preview.post .wp-post-preview p {margin: 0;}

.swatch-wrapper > li {padding: 10px 10px 0 0;}

.swatch-bg {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: 100%; 
  overflow-wrap: break-word;
}
  .s1, .s1b {background-image: url('img/swatches/s01.jpg');}
  .s2 {background-image: url('img/swatches/s02.jpg');}
  .s3, .s3b {background-image: url('img/swatches/s03.jpg');}
  .s4 {background-image: url('img/swatches/s04.jpg');}
  .s5, .s5b {background-image: url('img/swatches/s05.jpg');}
  .s6 {background-image: url('img/swatches/s06.jpg');}
  .s7 {background-image: url('img/swatches/s07.jpg');}
  .s8 {background-image: url('img/swatches/s08.jpg');}
  .s9 {background-image: url('img/swatches/s09.jpg');}
  .s10, .s10b {background-image: url('img/swatches/s10.jpg');}
  .s11 {background-image: url('img/swatches/s11.jpg');}
  .s12 {background-image: url('img/swatches/s12.jpg');}
  .s13 {background-image: url('img/swatches/s13.jpg');}
  .s14 {background-image: url('img/swatches/s14.jpg');}
  .s15 {background-image: url('img/swatches/s15.jpg');}
  .s16 {background-image: url('img/swatches/s16.jpg');}
  .s17 {background-image: url('img/swatches/s17.jpg');}
  .s18 {background-image: url('img/swatches/s18.jpg');}
  .s19 {background-image: url('img/swatches/s19.jpg');}
  .s20 {background-image: url('img/swatches/s20.jpg');}
  .s21 {background-image: url('img/swatches/s21.jpg');}
  .s22 {background-image: url('img/swatches/s22.jpg');}
  .s23 {background-image: url('img/swatches/s23.jpg');}
  .s24 {background-image: url('img/swatches/s24.jpg');}
  .s25 {background-image: url('img/swatches/s25.jpg');}
  .s26 {background-image: url('img/swatches/s26.jpg');}
  .s27 {background-image: url('img/swatches/s27.jpg');}
  .s28 {background-color: #fff;}
  .s29 {background-image: url('img/swatches/s13.jpg');}
  .s30 {background-image: url('img/swatches/s30.jpg');} 
  .s31 {background-image: url('img/swatches/s31.jpg');}
/* .s26 {background-color: #008000;} */

.swatch-name {
  padding: 10px 5px;
  border: 2px solid #f6f6f6;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

.prod-stnd-logo {
  display: inline-block;
  margin-top: 5px;
  width: auto;
  min-width: 120px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: contain;
}
  .prod-stnd-logo.ultrasoft {background-image: url('img/logos/logo-westex-ultrasoft.png');}
  .prod-stnd-logo.scotchlite {background-image: url('img/logos/logo-3m-scotchlite.png');}
  .prod-stnd-logo.nomex {background-image: url('img/logos/logo-dupoint-nomex.png');}
  .prod-stnd-logo.essential {background-image: url('img/logos/logo-dupont-nomex.png');}
  .prod-stnd-logo.kermel {background-image: url('img/logos/logo-kermel.png');}
  .prod-stnd-logo.weldarmor {background-image: url('img/logos/logo-weld-armor.png');}
  .prod-stnd-logo.ifr-basewear {background-image: url('img/logos/logo-ifr-basewear.png');}
  .prod-stnd-logo.ifr-rainwear {background-image: url('img/logos/logo-ifr-rainwear-new.png');}
  .prod-stnd-logo.antistat {background-image: url('img/logos/logo-antistat.png');}
  .prod-stnd-logo.westex-hd {background-image: url('img/logos/logo-westex-hd.png');}
  .prod-stnd-logo.frontline {background-image: url('img/logos/frontline.png');}
  .prod-stnd-logo.avenger {background-image: url('img/logos/logo-avenger.png');}
  .prod-stnd-logo.portwest {background-image: url('img/logos/logo-portwest.png');}
  .prod-stnd-logo.bizflameknit {background-image: url('img/logos/logo-bizflameknit.png');}


.list-prod-sizes > li {
  padding: 10px;
  width: auto;
  text-align: center;
  box-sizing: border-box;
}

/* -- Blog specific styles -- */

.wp-post-feat header h3 {
  margin: 0;
  font-size: 24px;
  color: #4f4f4f;
}

.wp-post-author {
  max-width: 42px;
  height: auto;
}

.wp-post-date,
.post-meta {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
}


.page-numbers {
  display: none;
  margin: 0 auto;
  list-style-type: none;
  overflow-y: hidden;
}

  .page-numbers > li {
    float: left;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
  }

.page-numbers>li>a, .page-numbers>li>span {
  padding: 5px;
  border: 0;
}
  .page-numbers>li>a {color: #007600;}

  .page-numbers>li>.next {padding-left: 20px;}
  .page-numbers>li>.prev {padding-right: 20px;}

  .page-numbers>li>a:hover,
  .page-numbers>li>span:hover {background-color: transparent;}

.post-tags {margin: 30px 0;}
  .post-tags,
  .post-tags a {
    font-size: 14px;
    color: #9f9f9f;
  }

.sidebar {padding: 30px;}
  .sidebar hr {border-top-color: #ccc;}

  .sidebar .widget {
    margin-bottom: 20px;
    padding: 30px;
    background-color: #EFF1F3;
  }
    .sidebar .widget:last-child {margin-bottom: 0;}
    .sidebar .widget.no-padding {padding-right: 0;padding-left: 0;}
    .sidebar .widget h5 {
      margin-top: 0;
      font-weight: 600;
    }
    .sidebar .widget.pop-posts > ul > li {margin-bottom: 15px;}
      .sidebar .widget.pop-posts > ul > li:last-child {margin-bottom: 0;}

.tag-cloud > ul > li {color: #bf312d;} 

/* The Post */
.the-post article img {max-width: 100%;}

.the-post article h2,
.the-post article h3,
.the-post article h4 {
  margin: 25px 0 10px;
  color: #4f4f4f;
}

.list-post-share {
  padding: 20px;
  background: #f7f7f7;
}

.post-nav {margin: 40px 0;}
.post-nav li a {
  display: block;
  padding-top: 55px;
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 40px 40px;
}
  .post-nav .prev a {
    padding-right: 30px;
    background-image: url(img/icons/arrow-bl-left@2x.png);
  }
  .post-nav .next a {
    padding-left: 30px;
    background-image: url(img/icons/arrow-bl-right@2x.png);
    background-position-x: right;
    text-align: right;
    border-left: 2px solid #eee;
  }
  .post-nav h4 {margin-top: 15px;}


/*  -- 404 -- */

/* -- Sign up/in landing page -- */
.newsletter-signup {margin: 20px 0 10px;}
.list-unstyled.list-sitemap {margin-bottom: 20px;}
  .list-unstyled.list-sitemap li {margin-bottom: 5px;}
    .list-unstyled.list-sitemap li h5 {
      margin-bottom: 10px;
      font-weight: 600;
    }

/*  -- Newsletter Sign up form -- */

/* -- Footer -- */
.footer {
  background-color: #252525;
  background-image: -moz-linear-gradient( -90deg, rgb(71,70,75) 0%, rgb(71,70,75) 100%);
  background-image: -webkit-linear-gradient( -90deg, rgb(71,70,75) 0%, rgb(71,70,75) 100%);
  background-image: -ms-linear-gradient( -90deg, rgb(71,70,75) 0%, rgb(71,70,75) 100%);
} 

.social-menu ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
    display: flex;
}
.social-menu ul li {
    list-style: none;
    margin: 0 10px;
}
.social-menu ul li .fa {
    color: #000000;
    font-size: 25px;
    line-height: 50px;
    transition: .5s;
}
.social-menu ul li .fa:hover {
    color: #c5233e;
}
.social-menu ul li a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    text-align: center;
    transition: 0.5s;
    transform: translate(0,0px);
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.5);
}
.social-menu ul li a:hover {
    transform: rotate(0deg) skew(0deg) translate(0, -10px);
}
.social-menu ul li:nth-child(1) a:hover {
    background-color: #3b5999;
}
.social-menu ul li:nth-child(2) a:hover {
    background-color: #55acee;
}
.social-menu ul li:nth-child(3) a:hover {
    background-color: #e4405f;
}
.social-menu ul li:nth-child(4) a:hover {
    background-color: #cd201f;
}
.social-menu ul li:nth-child(5) a:hover {
    background-color: #0077B5;
}
  .footer nav > ul {margin-bottom: 30px;}
    .footer nav > ul > li {
      padding: 0;
      margin-bottom: 10px;
    }
      .footer nav > ul > li,
      .footer nav > ul > li > a {
        font-family: 'Roboto', sans-serif;
        font-size: 12px;
        color: #ccc;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: 1px;
      }
        .footer nav > ul > li > a:hover,
        .footer nav > ul > li > a:focus {color: #fff;}

  .footer h5 {
    margin: 0;
    padding-bottom: 0;
    color: #fff;
    text-transform: uppercase;
  }

.legal,
.copyright,
.legal nav > ul > li > a {
  font-size: 12px;
  font-weight: 600;
}
.legal {
  padding: 15px;
  border-bottom: 4px solid #ccc;
  letter-spacing: 0;
}
  .legal,
  .legal nav > ul > li,
  .legal nav > ul > li a {
    color: #ffffff;
  }
    .footer .legal a:hover,
    .footer .legal a:active,
    .footer .legal a:focus {text-decoration: underline;}

  .legal .copyright {text-align: right;}

.list-social {margin: 0 0 15px auto;}
  .list-social li {padding: 0 10px 10px;}
    .list-social a {
      display: block;
      margin: 0;
    }
      .list-social a:hover,
        .list-social a:focus {
          opacity: 0.75;
          transition: opacity 0.5s;
          -webkit-transition: opacity 0.5s;
        }

.copyright {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-transform: none;
}

.footer .logo {
  margin: 0 auto;
  float: none;
  width: 250px;
}

.breadcrumb {
  margin: 0;
  padding: 8px 15px 8px 0;
  background-color: transparent;
}
  .breadcrumb li,
  .breadcrumb li a {font-size: 13px;text-transform: uppercase;}
    .breadcrumb li a:hover,
    .breadcrumb li a:focus,
    .breadcrumb li a:active {color: #fffff;}

.caret-reversed {
    border-top-width: 0;
    border-bottom: 4px solid #bf312d;
  }

/* Hide Google Captcha box */
.grecaptcha-badge {visibility: hidden;}

/* -----------------------------------------------------
= Media Queries
--------------------------------------------------------*/

@media (min-width: 768px) {

  /* -- Lists -- */
  .list-side-menu.bordered {border-right: 1px solid #f0f1f2;}

  .list-grid.padded > li {padding: 20px 20px 0;}

  /* -- Tabs -- */

  /* --- Tables --- */
  .table>thead>tr>th, 
  .table>tbody>tr>th, 
  .table>tfoot>tr>th, 
  .table>thead>tr>td, 
  .table>tbody>tr>td, 
  .table>tfoot>tr>td {padding: 10px;font-size: 14px;}


  /* -- Footer -- */
  .footer {padding: 60px 0;}

  .list-contact-form > li:first-of-type {padding-right: 15px;}
  .list-contact-form > li > .form-group textarea {min-height: 174px;} 

/* -----------------------------------------------------
= Layout
--------------------------------------------------------*/

  /* -- Section Specific Styles -- */

  /* Blog */
  .posts .media .media-left {padding-right: 20px;}
    .posts .media.border-bottom h4 {margin-top: 0;}
  
  .modal-dialog {width: 100%;max-width: 800px;}
  

}

/* --- Small devices (Tablets) --- */
@media (min-width: 768px) and (max-width: 1024px) {


} 

@media (min-width: 992px)  {

  /* --- Global Styles --- */

  .nav-primary {margin: 0 -15px;}
  /* -Lists - */
  .list-side-menu > li {
    display: block;
    width: 100%;
  }

  /* Tabs */
  .navbar-secondary .css-table > li > a {
    display: block;
    margin: 0;
    padding: 20px 25px;
    color: #fff;
    line-height: 1;
    text-align: center;
  }
    .navbar-secondary .css-table > li > a:hover,
    .navbar-secondary .css-table > li > a:active,
    .navbar-secondary .css-table > li.active > a:hover, 
    .navbar-secondary .css-table > li.active > a:active {
      background-color: #0050a6;
      color: #fff;
    }
    .navbar-secondary .css-table > li.active > a,
    .navbar-secondary .css-table > li.active > a:hover,
    .navbar-secondary .css-table > li.active > a:focus {
      background-color: #00263c;
      color: #fff;
      cursor: pointer;
    }
    
    .contact-main .navbar-secondary .css-table {background-color: #bf312d;}


  /* Main Site Header + Menus */

  .fill-bg.lgr.offset-top {background-image: linear-gradient(#fff 20%, #f0f1f2 10px);}
  .fill-bg.lgr.offset-top-lg {background-image: linear-gradient(#fff 20%, #f0f1f2 10px);}

  .has-offset-img > li,
  .has-offset-img > li > div {overflow: visible;}
    .has-offset-img > li {margin-top: 125px;}
  .has-offset-img > li > div > figure {margin-top: -50%;}
    .home .has-offset-img > li > div > figure {margin-top: -70%;}

  .swiper-slide .content h2 {font-size: 52px;}

    .header-main.small .logo {
      position: absolute;
      width: 150px;
      top: 50%;
      margin-top: -12px;
    }

  .nav-mobile,
  .nav-mobile-open {display: none;}

  /* Locations */
  .sec-block-list p {
    float: left;
    width: 33.33333333%;
  }

  .list-grid.profiles > li {
    margin: 0;
    padding-bottom: 0 !important;
    height: 700px;
  }

    .list-grid.profiles > li .bio {
      transition: all 5s ease-in;
      -webkit-transition: all 5s ease-in;
    }

  .btn-toggle-text a {
    display: block;
    margin: 40px 0 0 0;
    cursor: pointer;
  }

  .mailchimp-form {
    max-width: 500px;
    margin: 0 auto;
  }

  /* --- Misc/Utilities --- */
  .pull-right-desktop {float: right !important;}
  .pull-left-desktop {float: left !important;}
  .center-desktop {text-align: center;} 
  .center-block-desktop {
    margin-right: auto;
    margin-left: auto;
  }
}

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

  h1 {font-size: 36px;}
  h2 {font-size: 28px;}
  h3 {font-size: 24px;}

  .nav-jumbo-content {margin: 0;}

  .list-grid.padded-50 > li {padding: 0 25px 25px !important;}

  .contact-main .css-table > li > a {padding-right: 15px;padding-left: 15px;}


} 

@media (min-width: 768px) and (max-width: 1024px) {

  /* Helper Classes */
  .center-tablet {text-align: center;} 
  .center-tablet-block {
    margin-right: auto;
    margin-left: auto;
  } 
  .tablet-mb {margin-bottom: 50px;}

  .list-tablet-stacked > li {
    display: block;
    width: 100% !important;
  }

  .list-tablet-stacked-two > li {
    display: block;
    float: left;
    width: 50% !important;
  }

  .full-width-tablet {
    float: none;
    display: block;
    width: 100% !important;
  }

}

/* --- Large devices (Desktop)  --- */
@media (min-width: 1200px)  {

.list-grid.padded-50 > li {padding: 0 50px 50px;}
    .list-grid.padded-80.right > li {padding: 0 80px 0 0;}

.parallax-safari-fix {background-attachment: fixed !important;}

  .searchbox-open .searchbox-input {min-width: 300px;}

  /* --- Misc/Utilities --- */
  .pull-right-desktop {float: right !important;}
  .pull-left-desktop {float: left !important;}
  .center-desktop {text-align: center;} 
  .center-block-desktop {
    margin-right: auto;
    margin-left: auto;
  }

}

/* --- Large devices (Desktop)  --- */
@media (max-width: 1200px)  {

  a.logo {width: 170px;}

  .list-grid.padded-50 > li {padding: 0 25px 25px;}
    .list-grid.padded-80.right > li {padding: 0 50px 0 0;}

  .nav-primary .navbar-nav > li > a {padding: 0 14px;font-size: 13px;}

  .searchbox-open .searchbox-input {min-width: 230px;}

}

/* --- Small devices (Tablets) --- */
@media (max-width: 1024px) {

} 

/* --- Both extra small and small devices (Phones/Tablets) --- */
@media (max-width: 991px) {

  h1 {font-size: 36px;}
  h2 {font-size: 28px;}
  h3 {font-size: 24px;}

  .swiper-slide .content h2 {font-size: 28px;}

  .nav-primary .navbar-nav > li > a {
    padding: 0 15px;
    font-size: 13px;
  }

  /* Contact */
   .contact-main .navbar-secondary {margin: 25px 25px 0;}
    .contact-main .navbar-secondary .css-table > li > a {
      display: block;
      margin: 0 10px;
      padding: 8px 0;
      color: #bf312d;
    }
      .contact-main .navbar-secondary .css-table > li.active > a {color:#007600;}

   /* - Modal - */
  .modal-dialog {margin: 50px auto;}

  /* -Lists - */
  .list-grid.padded-75.right li {padding: 0 50px 0 0;}

  .list-grid.legal {
    margin-top: 0;
    padding: 15px 30px;
  }

  .legal nav > ul > li a {
    display: block;
    padding: 4px 0;
  }

  /* - Form Elements - */
  .btn-rm .icon {font-size: 13px;}

  /* Global Header */
  .nav-top {margin-bottom: 0;}

  .nav-mobile {overflow-y: scroll !important;}

    .nav-mobile > .container-fluid {
      padding: 30px;
      position: relative;
      height: 100%;
      overflow-y: scroll;
    }

  .sub-menu-mobile {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    width: auto;
  }

  .nav-mobile-open {
    position: absolute;
    top: -14px;
    right: 10px;
    padding: 10px;
    width: 50px;
    height: 50px;
    border: 0;
  }
    .nav-mobile-open > span {
      display: block;
      width: 30px;
      height: 4px;
      background-color: #bf312d;
      margin: 4px 0;
      /* border: 0px solid #fff; */
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      }

  .panel-nav-mobile {margin-top: 60px;}

  .panel-nav-mobile .menu {margin: 0;}
    .panel-nav-mobile .menu > li {margin: 0 0 5px !important;}
      .panel-nav-mobile ul.menu > li > a {
        padding: 0;
        font-size: 14px;
        line-height: 28px;
      }
      .panel-nav-mobile ul.menu > li > a:hover,
      .panel-nav-mobile ul.menu > li > a:focus,
      .panel-nav-mobile ul.menu > li > a:active {background-color: transparent;color: #bf312d;}
      .panel-nav-mobile ul.menu > li > ul > li > a {line-height: 24px;}

    .panel-nav-mobile.panel-clean .panel > .panel-heading { 
      padding: 10px 0;
      font-weight: 600;
      text-transform: uppercase;
    }
      .panel-nav-mobile.panel-clean .panel > .panel-heading a {
        display: inline-block;
        padding: 0;
      }

      .panel-nav-mobile.panel-clean .panel > .panel-heading .icon {padding: 4px 0 0;}

  /* -----------------------------------------------------
  = Layout
  --------------------------------------------------------*/

  .section.default {padding: 40px 0;}
  .section.sml {padding: 30px 0;}

  .fill-bg.lrg {padding: 40px;}
  .fill-bg.lgr.offset-top-lg {background-image: linear-gradient(#fff 15%, #f0f1f2 10px);}
  .fill-bg.wht.offset-top-lg {background-image: linear-gradient(transparent 15%, #fff 10px);}

  .overlap-bg-img > .container {
    background-size: 65%;
    padding-top: 15%;
  }

  /* Locations */
  .pin.celgar {top: 66px;left: 66px;}
  #tooltipCelgar {top: 75px;left: -14px;}

 .pin.cariboo {top: 55px;left: 74px;}
  #tooltipCB {top: -8px;left: -11px;}

  .pin.peace-river {top: 48px;left: 82px;}
  #tooltipPR {top: 26px;left: 90px;}

  .pin.rosenthal {top: 66px;left: 338px;}
  #tooltipRose {top: 45px;left: 347px;}

  .pin.stendal {top: 56px;left: 332px;}
  #tooltipStendal {top: 0px;left: 270px;}

  .pin.friesau {top: 72px;left: 330px;}
  #tooltipFriesau {top: 80px;left: 271px;}

  .pin.santanol {top: 276px;left: 568px;}
  #tooltipSant {top: 254px;left: 412px;}

}

/* --- Small Devices (Phones)  --- */
@media (max-width: 767px) {

  .single-product .swiper-default {max-width: 80%;margin-left: 0;}

  h1 {font-size: 32px;}
  h2 {font-size: 26px;}
  h3 {font-size: 22px;}

  /* -- Lists -- */ 
  .list-mobile-stacked > li {
    display: block;
    width: 100% !important;
  }
    .list-mobile-stacked.with-margin > li:last-of-type {
      margin-bottom: 0;
      padding-right: 0;
    }

  .list-grid.padded li:last-child {padding-bottom: 0;}

  .list-grid.padded-75.right li {padding: 0;}
  .equal-height .media.padded {padding: 25px;}
  .overlap-bg-img .media-body {opacity: 0.95;}

  .list-mobile-stacked .dropdown.minimal {
    margin: 10px 0;
    background-color: #fff;
  }
  
  .list-cat-preview > li.cat-img > a {
    position: relative;
    margin: 20px 0 5px;
  }
  
  .term-summerwear .IFR-tabs .nav-tabs.clean > li,
  .term-winterwear .IFR-tabs .nav-tabs.clean > li {width: 50%;border: 1px solid #fff !important;}

  .term-summerwear .IFR-tabs .nav-tabs.clean > li,
  .term-winterwear .IFR-tabs .nav-tabs.clean > li,
  .term-summerwear .IFR-tabs .nav-tabs.clean > li > a,
  .term-winterwear .IFR-tabs .nav-tabs.clean > li > a {font-size: 16px;font-weight: 400;white-space: nowrap;}

  .term-summerwear .IFR-tabs .nav-tabs.clean > li > a,
  .term-summerwear .IFR-tabs .nav-tabs.clean > li.active > a,
  .term-summerwear .IFR-tabs .nav-tabs.clean > li.active > a:hover,
  .term-summerwear .IFR-tabs .nav-tabs.clean > li.active > a:focus,
  .term-winterwear .IFR-tabs .nav-tabs.clean > li > a,
  .term-winterwear .IFR-tabs .nav-tabs.clean > li.active > a,
  .term-winterwear .IFR-tabs .nav-tabs.clean > li.active > a:hover,
      .term-winterwear .IFR-tabs .nav-tabs.clean > li.active > a:focus {border: 0;}

  .IFR-tabs .tab-content > .tab-pane {padding: 0;}

/* --- Table -- */
.table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }

/* Modal */
.modal-dialog {margin: 25px;}

/* -- Media Elements -- */
.media.stacked-mobile > div {
  display: block;
  padding: 0;
  width: 100% !important;
}
.stacked-mobile .icon {margin-bottom: 20px;}

.row-mobile-stacking-reverse {
    display: flex;
    flex-direction: column-reverse;
}

.single-product .magnify-image .swiper-slide-active {width: 50%;}

/* -----------------------------------------------------
= Layout
--------------------------------------------------------*/

.header-main {padding-top: 20px;}

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

.top-menu {float: none !important;}
  .top-menu > li > a {font-size: 14px;}

.container {padding: 0 30px;}

.nav-wrapper > .container {padding: 0;}

  .btn-search {
    left: 0;
    background-color: transparent;
  }

.nav-sub-menu-wrapper > li {margin-bottom: 20px; width: 100% !important;}

  .nav-primary .dropdown > .dropdown-menu {
    position: relative;
    padding: 30px;
    background-color: #efefef;
    border: 0;
    overflow: hidden;
  }

  .nav-primary .navbar-nav > li > a {
      background-color: #fff;
      color: #212121;
      border-bottom: 1px solid #efefef;
    }
        .nav-primary .navbar-nav > li > a:hover,
        .nav-primary .navbar-nav > li > a:active,
        .nav-primary .navbar-nav > li > a:focus,
        .nav-primary .navbar-nav > li.open > a, 
        .nav-primary .navbar-nav > li.open > a:hover, 
        .nav-primary .navbar-nav > li.open > a:focus {
          background-color: #efefef;
          color: #212121;
        }

        .nav-primary .navbar-nav > li.open > a, 
        .nav-primary .navbar-nav > li.open > a:hover, 
        .nav-primary .navbar-nav > li.open > a:focus {border-color: #ccc;}

    .nav-primary .navbar-nav > li > a > .caret {
      position: absolute;
    right: 15px;
    top: 25px;
    }

  .nav-primary .navbar-nav {margin: 0;}

  .nav-primary .navbar-collapse {
    padding: 0;
    background-color: #fff;
  }

  /* Sections */
  .hero .swiper-slide > img {
    width: 170%;
    height: auto;
  }
    .swiper-slide .content,
    .section .content {padding: 20px 30px;}

  .hero.sml {padding-top: 50px !important;padding-bottom: 40px !important;}

  .bord-pull-text {font-size: 20px;}

  /* Home */
  .list-img-farm > li img {padding: 5px 10px;max-height: 24px;}

  /*  -- Newsletter Sign up form -- */
  .newsletter-signup .css-table li .btn {margin-top: 15px;}

  /* -- Footer -- */ 
  .footer {padding: 40px 0;}
    .nav-footer > ul {margin-top: 15px;}
      .nav-footer > ul li a {display: block;}

  .footer .logo {
    margin-bottom: 25px;
    width: 100px;
  }

 

  .footer .legal {
    margin-top: 25px;
    padding: 25px 30px;
    border-top: solid 1px #979797;
    opacity: 0.4;
    transition: opacity 0.75s;
    -webkit-transition: opacity 0.4s;
  }

  .legal .copyright {margin:15px 0; text-align: center;}

  header.xlrg {margin-bottom: 60px;}
  header.lrg {margin-bottom: 50px;}
  header.med {margin-bottom: 25px;}

  .overlap-bg-img > .container {
    background-size: 100%;
    padding-top: 30%;
  }

  .preview.prod > div {min-height: 350px;}

  /* --- Form Elements --- */
  .btn, a.btn {
    padding: 12px 24px;
    font-size: 12px;
  }

  .btn-block-mobile {
    display: block;
    width: 100% !important;
  }

  .search_keywords, .search_location, .search_categories {
    float: none !important;
    width: 100% !important;
    padding: 0 0 10px !important;
  }

  /* Home */
  .home .main-heading h1 {font-size: 44px;}

  .scroll-down {margin: 50px auto;}

  /* Product Styles */
  .swatch-wrapper > li {
    width: auto !important;
    padding: 10px 5px 0;
  }

  .IFR-tabs {margin: 0;}

  .IFR-tabs .nav-tabs.clean {
    margin: 0 0 40px;
    border-bottom: 0;
}

  /* Locations */
  .pin,
  .tooltip-arrow {display: none !important;}

  .tooltip {
    position: relative !important;
    left: 0 !important;
    top: auto !important;
    padding: 0 !important;
    margin: 25px 0 0 0 !important;
    display: block !important;
  }
  .tooltip-inner {margin: 0 auto;}


  /* Blog */
  .post-meta li {
      text-align: center;
      margin-top: 15px;
    }
    .post-meta li .pipe {
      display: block;
      height: 15px;
      text-indent: -1000px;
      }
  
  .center-mobile, .center-mobile * {text-align: center;}
  .hidden-mobile {display: none;}
  .full-width-mobile {
    float: none;
    display: block;
    width: 100% !important;
  }

  .mobile-margin {margin-bottom: 40px;}
  .mobile-margin.sml {margin-bottom: 20px;}

  .embed-container.instagram {
    padding-bottom: 130%;
    min-height: 500px;
  }

  .gallery .gallery-item {width: 100% !important;}

}

/* --- Misc/utilities --- */
.small {font-size: 13px;}

.callout {
  margin-top:30px;
  padding: 30px;
}
  .callout.gr {background-color: #EFF1F3;}

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

.text-gr {color: #4f4f4f;}
  a.text-gr:visited, a.text-gr:hover {color: #4f4f4f;}

.text-lgr {color: #999;}
.text-red {color: #bf312d !important;}
  a.text-red:link, a.text-red:visited, a.text-red:active {color: #bf312d !important;}
  a.text-red:hover, a.text-red:focus, a.text-red:active {color: #212121 !important;}

.text-wt,
.text-wt * {color: #fff;}
.text-wt:visited, .text-wt:hover, .text-wt:active {color: #fff;}

  .text-gr-subtitle {
    margin-bottom: 20px;
    font-size: 13px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }

/* Font weight classes */
.text-lite {font-weight: 400;}
.text-b {font-weight: 600 !important;}

/* Font transform related classes */
.text-lc {text-transform: none;}
.text-uc {text-transform: uppercase;}
.text-ul {text-decoration: underline !important;}
  a.text-ul:visited, a.text-ul:hover {text-decoration: none !important;}

.pipe {
  display: inline-block;
  padding: 0 5px;
  color: #ccc;
}

.media-left {padding-bottom: 0;}

.zoom-in {
    position: relative;
    margin: auto;
    overflow: hidden;
}
.zoom-in img {
    max-width: 100%;
    transition: all 0.5s;
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1);
}

.zoom-in:hover img {transform: scale(1.2);}

/* -- Centering utilities -- */
.center, .center * {text-align: center;}
.center-block, .center-block * {
  margin-right: auto;
  margin-left: auto;
}

/* Expand text */
.text-hidden {overflow: hidden;}
.text-expanded {
  height: auto !important;
  height: 100%;
  overflow: visible;
}

/* Hide */
.is-hidden {display: none;}
.is-not-visible {visibility: hidden;}

/* No JS */
.no-js .is-hidden {display: block;}
.no-js .is-not-visible {visibility: visible;}

/* Responsive media player */
.embed-container {
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden; 
  max-width: 100%; 
  height: auto;
} 

  .embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
  }

.embed-container.instagram {padding-bottom: 117%;}
  .embed-container.instagram .thirdparty,
  .embed-container.instagram .Embed, 
  .embed-container.instagram .root {background-color: #fafafa !important;}

/* Input flags */
.iti-flag {background-image: url("img/flags.png");}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .iti-flag {background-image: url("img/flags@2x.png");}
}

.gallery .gallery-item {padding: 15px;}
  .gallery .gallery-item img {
      width: 100%;
      height: auto;
  }
  .gallery-caption {
      margin-top: 15px;
      text-align: left;
      line-height: 1.6;
  }

/* Margin Helpers */
.padded.sm {padding: 20px;}

.m-0 {margin: 0;}
.m-5 {margin: 5px;}
.m-10 {margin: 10px;}
.m-15 {margin: 15px;}
.m-20 {margin: 20px;}
.m-25 {margin: 25px;}
.m-30 {margin: 30px;}
.m-35 {margin: 35px;}
.m-40 {margin: 40px;}
.m-45 {margin: 45px;}
.m-50 {margin: 50px;}

.mt-0 {margin-top: 0;}
.mt-5 {margin-top: 5px;}
.mt-10 {margin-top: 10px;}
.mt-15 {margin-top: 15px;}
.mt-20 {margin-top: 20px;}
.mt-25 {margin-top: 25px;}
.mt-30 {margin-top: 30px;}
.mt-35 {margin-top: 35px;}
.mt-40 {margin-top: 40px;}
.mt-45 {margin-top: 45px;}
.mt-50 {margin-top: 50px;}
.mt-60 {margin-top: 60px;}

.mr-0 {margin-right: 0;}
.mr-5 {margin-right: 5px;}
.mr-10 {margin-right: 10px;}
.mr-15 {margin-right: 15px;}
.mr-20 {margin-right: 20px;}
.mr-25 {margin-right: 25px;}
.mr-30 {margin-right: 30px;}
.mr-35 {margin-right: 35px;}
.mr-40 {margin-right: 40px;}
.mr-45 {margin-right: 45px;}
.mr-50 {margin-right: 50px;}

.mb-0 {margin-bottom: 0;}
.mb-5 {margin-bottom: 5px;}
.mb-10 {margin-bottom: 10px;}
.mb-15 {margin-bottom: 15px;}
.mb-20 {margin-bottom: 20px;}
.mb-25 {margin-bottom: 25px;}
.mb-30 {margin-bottom: 30px;}
.mb-35 {margin-bottom: 35px;}
.mb-40 {margin-bottom: 40px;}
.mb-45 {margin-bottom: 45px;}
.mb-50 {margin-bottom: 50px;}
.mb-60 {margin-bottom: 60px;}

.ml-0 {margin-left: 0;}
.ml-5 {margin-left: 5px;}
.ml-10 {margin-left: 10px !important;}
.ml-15 {margin-left: 15px;}
.ml-20 {margin-left: 20px;}
.ml-25 {margin-left: 25px;}
.ml-30 {margin-left: 30px;}
.ml-35 {margin-left: 35px;}
.ml-40 {margin-left: 40px;}
.ml-45 {margin-left: 45px;}
.ml-50 {margin-left: 50px;}

/* Padding Helpers */
.p-0 {padding: 0;}
.p-5 {padding: 5px;}
.p-10 {padding: 10px;}
.p-15 {padding: 15px;}
.p-20 {padding: 20px;}
.p-25 {padding: 25px;}
.p-30 {padding: 30px;}
.p-35 {padding: 35px;}
.p-40 {padding: 40px;}
.p-45 {padding: 45px;}
.p-50 {padding: 50px;}

.pt-0 {padding-top: 0;}
.pt-5 {padding-top: 5px;}
.pt-10 {padding-top: 10px;}
.pt-15 {padding-top: 15px;}
.pt-20 {padding-top: 20px;}
.pt-25 {padding-top: 25px;}
.pt-30 {padding-top: 30px;}
.pt-35 {padding-top: 35px;}
.pt-40 {padding-top: 40px;}
.pt-45 {padding-top: 45px;}
.pt-50 {padding-top: 50px;}
.pt-60 {padding-top: 60px;}
.pt-100 {padding-top: 100px;}

.pr-0 {padding-right: 0;}
.pr-5 {padding-right: 5px;}
.pr-10 {padding-right: 10px;}
.pr-15 {padding-right: 15px;}
.pr-20 {padding-right: 20px;}
.pr-25 {padding-right: 25px;}
.pr-30 {padding-right: 30px;}
.pr-35 {padding-right: 35px;}
.pr-40 {padding-right: 40px;}
.pr-45 {padding-right: 45px;}
.pr-50 {padding-right: 50px;}

.pb-0 {padding-bottom: 0;}
.pb-5 {padding-bottom: 5px;}
.pb-10 {padding-bottom: 10px;}
.pb-15 {padding-bottom: 15px;}
.pb-20 {padding-bottom: 20px;}
.pb-25 {padding-bottom: 25px;}
.pb-30 {padding-bottom: 30px;}
.pb-35 {padding-bottom: 35px;}
.pb-40 {padding-bottom: 40px;}
.pb-45 {padding-bottom: 45px;}
.pb-50 {padding-bottom: 50px;}
.pb-60 {padding-bottom: 60px;}
.pb-100 {padding-bottom: 100px;}

.pl-0 {padding-left: 0;}
.pl-5 {padding-left: 5px;}
.pl-10 {padding-left: 10px;}
.pl-15 {padding-left: 15px;}
.pl-20 {padding-left: 20px;}
.pl-25 {padding-left: 25px;}
.pl-30 {padding-left: 30px;}
.pl-35 {padding-left: 35px;}
.pl-40 {padding-left: 40px;}
.pl-45 {padding-left: 45px;}
.pl-50 {padding-left: 50px;}

/* % Width Helpers */
.w-5 {width: 5%;}
.w-10 {width: 10%;}
.w-15 {width: 15%;}
.w-20 {width: 20%;}
.w-25 {width: 25%;}
.w-30 {width: 30%;}
.w-35 {width: 35%;}
.w-40 {width: 40%;}
.w-45 {width: 45%;}
.w-50 {width: 50%;}
.w-55 {width: 55%;}
.w-60 {width: 60%;}
.w-65 {width: 65%;}
.w-70 {width: 70%;}
.w-75 {width: 75%;}
.w-80 {width: 80%;}
.w-85 {width: 85%;}
.w-90 {width: 90%;}
.w-95 {width: 95%;}
.w-100 {width: 100%;}


@media (min-width: 992px)  {


  @-webkit-keyframes slideDown {
    0% {
      opacity: 0;
        -webkit-transform: translateY(-2000px);
    }

    100% {
      -webkit-transform: translateY(0);
    }
  }

  @-moz-keyframes slideDown {
    0% {
      opacity: 0;
      -moz-transform: translateY(-2000px);
    }

    100% {
      -moz-transform: translateY(0);
    }
  }

  @-o-keyframes slideDown {
    0% {
      opacity: 0;
      -o-transform: translateY(-2000px);
    }

    100% {
      -o-transform: translateY(0);
    }
  }

  @keyframes slideDown {
    0% {
      opacity: 0;
      transform: translateY(-2000px);
    }

    100% {
      transform: translateY(0);
    }
  }
  
  .slideDown {
    -webkit-animation-name: slideDown;
    -moz-animation-name: slideDown;
    -o-animation-name: slideDown;
    animation-name: slideDown;
    animation-duration: 1s; 
    -webkit-animation-duration: 1s;
    animation-timing-function: ease;  
    -webkit-animation-timing-function: ease; 
  }

	.single-product .swiper-slide {
		width: 100% !important;
		flex-shrink: 0 !important;
		margin-right: 0 !important; /* Remove automatic margins */
	}

	.single-product .swiper-wrapper {
		margin: 0 !important;
	}

	/* Ensure container width is exact */
	.single-product .swiper-container {
		overflow: hidden !important;
		width: 100%;
	}
}

/* Product Gallery Fixes - ONLY for single product pages */
.single-product .gallery-thumbs .swiper-slide,
body.single-product .gallery-thumbs .swiper-slide {
    width: calc(25% - 7.5px) !important;
    max-width: calc(25% - 7.5px) !important;
    flex: 0 0 calc(25% - 7.5px) !important;
    cursor: pointer !important;
    opacity: 0.6;
}

.single-product .gallery-thumbs .swiper-slide:hover {
    opacity: 0.9 !important;
}

.single-product .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1 !important;
    border: 3px solid #004a97 !important;
}

/*This is a test*/
