/*
Theme Name: S&D
Theme URI: http://nicksteinbauer.com
Author: NickSteinbauer
Author URI: http://nicksteinbauer.com
Description: S&D Industrial Supply
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: NickSteinbauer
*/
/* Grid Settings */
#main {
  min-height: auto; }

picture img {
  display: inline-block;
  height: auto; }

.ob-main-padding {
  padding: 40px 0; }

.padding-10 {
  padding: 10px;
  box-sizing: border-box; }

.padding-20 {
  padding: 20px;
  box-sizing: border-box; }

.section {
  padding-top: 100px;
  padding-bottom: 100px; }

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

.ob-title {
  padding: 30px 0; }
  .ob-title div {
    max-width: 250px;
    margin: 0 auto 10px;
    height: 4px;
    background: #0276b2; }

.inside-xxs {
  max-width: 480px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.inside-xs {
  max-width: 600px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.inside-sm {
  max-width: 768px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.inside-md {
  max-width: 992px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.inside-lg {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.inside-xl {
  max-width: 1440px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.inside-xxl {
  max-width: 1660px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.inside-xxxl {
  max-width: 1800px;
  box-sizing: border-box;
  margin: 0 auto; }

.always-flex {
  display: flex; }

.flex-vertical {
  display: flex;
  flex-direction: column;
  justify-content: center; }

.align-vertical {
  display: flex;
  align-items: center; }

.flex-xxs {
  display: block; }
  @media screen and (min-width: 480px) {
    .flex-xxs {
      display: flex;
      flex-wrap: wrap; } }

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

.flex-sm {
  display: block; }
  @media screen and (min-width: 768px) {
    .flex-sm {
      display: flex;
      flex-wrap: wrap; } }

.flex-md {
  display: block; }
  @media screen and (min-width: 992px) {
    .flex-md {
      display: flex; } }

.flex-lg {
  display: block; }
  @media screen and (min-width: 1200px) {
    .flex-lg {
      display: flex; } }

.flex-xl {
  display: block; }
  @media screen and (min-width: 1440px) {
    .flex-xl {
      display: flex; } }

.twenty {
  box-sizing: border-box;
  flex: 0 0 20%; }

.twenty-five {
  box-sizing: border-box;
  flex: 0 0 25%; }

.thirty {
  box-sizing: border-box;
  flex: 0 0 30%; }

@media screen and (min-width: 1440px) {
  .thirty-fix {
    max-width: 30%; } }

.thirty3 {
  box-sizing: border-box;
  flex: 0 0 33.33%; }

@media screen and (min-width: 1440px) {
  .thirty3-fix {
    max-width: 33.33%; } }

.forty {
  box-sizing: border-box;
  flex: 0 0 40%; }

@media screen and (min-width: 1440px) {
  .forty-fix {
    max-width: 40%; } }

.forty-five {
  box-sizing: border-box;
  flex: 0 0 45%; }

.fifty {
  box-sizing: border-box;
  flex: 0 0 50%; }

@media screen and (min-width: 1440px) {
  .fifty-fix {
    max-width: 50%; } }

.sixty {
  box-sizing: border-box;
  flex: 0 0 60%; }

@media screen and (min-width: 1440px) {
  .sixty-fix {
    max-width: 60%; } }

.seventy {
  box-sizing: border-box;
  flex: 0 0 70%; }

@media screen and (min-width: 1440px) {
  .seventy-fix {
    max-width: 70%; } }

@media screen and (min-width: 1440px) {
  .half {
    width: 50%; } }

.justify {
  justify-content: space-between; }

.center-vertically {
  display: flex;
  flex-direction: column;
  justify-content: center; }

footer .ms-footer__item {
  padding: 0; }

.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  grid-gap: 14px; }
  @media screen and (min-width: 992px) {
    .auto-grid {
      grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); } }

.auto-grid-mod {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 14px; }
  .auto-grid-mod img {
    width: 100%; }

/* original styles */
.preload * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important; }

a {
  outline: 0; }

img {
  max-width: 100%;
  height: auto; }

html {
  width: 100%; }

body {
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 1.1em; }

h1, h2, h3, h4 {
  font-weight: 400; }

h1 {
  color: #fff; }

/* Centering horizontal and vertical */
.parent {
  display: flex;
  justify-content: center;
  align-items: center; }

/* Centering Vertical only */
.parent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center; }

/* Basic Flexbox */
.flexbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between; }

.sdlogo {
  fill: #fff; }

#site_header {
  transition: top 0.5s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0 20px;
  box-sizing: border-box; }
  #site_header .logo {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 110px;
    flex: 0 0 110px;
    box-sizing: border-box;
    padding: 10px;
    position: relative;
    margin-right: 20px; }
    #site_header .logo svg {
      position: absolute; }
  #site_header .site_nav {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1; }
    #site_header .site_nav ul {
      list-style: none;
      margin: 0 4px 0 0;
      padding: 0;
      text-align: right; }
      #site_header .site_nav ul li {
        display: inline-block;
        margin-right: -4px; }
        #site_header .site_nav ul li a {
          text-decoration: none;
          display: block;
          transition: background 0.4s ease; }
        #site_header .site_nav ul li a:link, #site_header .site_nav ul li a:active, #site_header .site_nav ul li a:visited {
          color: #fff;
          background: rgba(255, 255, 255, 0); }
        #site_header .site_nav ul li a:hover {
          background: rgba(255, 255, 255, 0.5); }

#post_thumb {
  background: #000;
  overflow: hidden; }
  #post_thumb img {
    opacity: .7; }

#main_content {
  position: relative;
  z-index: 10; }
  #main_content .the_content {
    background: #fff; }
    #main_content .the_content section {
      padding-bottom: 80px; }

.post_grid article {
  padding: 20px;
  background: #f3f3f3;
  position: relative;
  transition: box-shadow 0.4s ease; }
  .post_grid article h3 {
    margin-top: 0;
    margin-bottom: 5px; }
  .post_grid article .border {
    height: 2px;
    width: 100px;
    background: #fff; }

.post_grid article.glow {
  -webkit-box-shadow: 0 0 10px 0 rgba(255, 0, 0, 0.5);
  box-shadow: 0 0 10px 0 rgba(255, 0, 0, 0.5); }

#map {
  height: 600px;
  width: 100%; }

select {
  max-width: 80%; }

.nf-before-form-content {
  display: none; }

#ninja_forms_required_items, .nf-field-container {
  margin-bottom: 5px !important; }

#contact {
  background: rgba(243, 243, 243, 0.8);
  padding: 20px;
  box-sizing: border-box; }
  #contact h2 {
    margin-top: 0; }
  #contact input, #contact textarea {
    border: none;
    padding: 5px;
    box-sizing: border-box; }

@media only screen and (max-width: 767px) {
  #main_content {
    margin: -200px 20px 0; }
    #main_content h1 {
      padding: 0 20px;
      font-size: 1.4em; }
    #main_content .the_content {
      padding: 10px 20px; }
  .site_nav ul li a {
    padding: 10px; }
  #post_thumb {
    position: relative;
    height: 432px; }
    #post_thumb img {
      display: block;
      position: absolute;
      width: 768px;
      height: 432px;
      left: 50%;
      margin-left: -384px;
      max-width: none; }
  #second {
    position: relative;
    padding-top: 111px; }
  #ourproducts {
    position: absolute;
    top: 0;
    width: 100%;
    background: #fff; }
    #ourproducts .flex_fix {
      margin-top: -10px;
      padding-bottom: 10px; }
  #ourproducts.sticky {
    position: fixed;
    left: 0;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 101; } }

@media only screen and (min-width: 768px) {
  .site_nav ul li a {
    padding: 20px 30px; }
  #main_content {
    margin: -200px 20px 0; }
    #main_content h1 {
      padding: 0 40px; }
    #main_content .the_content {
      padding: 20px 40px; }
  #second {
    padding-top: 100px;
    position: relative; }
  #ourproducts {
    position: absolute;
    top: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: #fff;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; }
    #ourproducts .flex_fix {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center; }
  #ourproducts.sticky {
    position: fixed;
    left: 0;
    padding: 0 60px;
    box-sizing: border-box;
    z-index: 1000; } }

@media only screen and (max-width: 599px) {
  .post_grid {
    display: block; }
    .post_grid article {
      margin-bottom: 20px; }
  h2 span {
    display: none; }
  #site_header.sticky {
    top: -200px; }
  .post_grid article .linky {
    position: absolute;
    top: -120px;
    left: -9999em; } }

@media only screen and (min-width: 600px) {
  #site_header.sticky {
    top: -130px; } }

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .post_grid article {
    margin-bottom: 20px; } }

@media only screen and (min-width: 600px) and (max-width: 1023px) {
  .post_grid.single {
    margin-bottom: 20px; }
    .post_grid.single article {
      grid-column: 1 / span 2; }
  .post_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px; }
    .post_grid article .linky {
      position: absolute;
      top: -120px;
      left: -9999em; } }

@media only screen and (min-width: 1024px) {
  #site_footer {
    position: relative; }
    #site_footer #contact {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      z-index: 5;
      width: 40%;
      padding: 40px; }
  .post_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px; }
    .post_grid article .linky {
      position: absolute;
      top: -90px;
      left: -9999em; }
  .post_grid.single {
    margin-bottom: 20px; }
    .post_grid.single article {
      grid-column: 1 / span 4; }
      .post_grid.single article .article_body {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between; }
        .post_grid.single article .article_body aside {
          flex: 0 0 48%; } }

@media only screen and (min-width: 768px) and (max-width: 1300px) {
  #post_thumb {
    position: relative;
    height: 730px; }
    #post_thumb img {
      display: block;
      position: absolute;
      width: 1300px;
      height: 731px;
      left: 50%;
      margin-left: -650px;
      max-width: none; } }

@media only screen and (min-width: 1301px) and (max-width: 2000px) {
  #post_thumb {
    position: relative;
    height: 730px; }
    #post_thumb img {
      display: block;
      position: absolute;
      width: 2000px;
      height: 1125px;
      left: 50%;
      margin-left: -1000px;
      max-width: none; } }

@media only screen and (min-width: 2001px) {
  #post_thumb {
    position: relative;
    height: 730px; }
    #post_thumb img {
      display: block;
      position: absolute;
      width: 2600px;
      height: 1463px;
      left: 50%;
      margin-left: -1300px;
      max-width: none;
      top: -100px; } }

.sandd-negative {
  background: white;
  padding: 20px;
  margin-top: -100px;
  position: relative; }

#woo-front, #first {
  max-width: 1440px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  margin: 0 auto; }

.woocommerce ul.products::after, .woocommerce ul.products::before, .woocommerce-page ul.products::after, .woocommerce-page ul.products::before {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  grid-gap: 14px;
  content: none; }
  @media screen and (min-width: 992px) {
    .woocommerce ul.products::after, .woocommerce ul.products::before, .woocommerce-page ul.products::after, .woocommerce-page ul.products::before {
      grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); } }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  width: auto !important;
  float: none;
  margin: 0 !important;
  padding: 10px; }

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  grid-gap: 14px; }
  @media screen and (min-width: 992px) {
    .woocommerce ul.products {
      grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); } }

.woocommerce .related ul.products li {
  max-width: 400px; }
