/*!
Theme Name: Building Supply
Theme URI: http://underscores.me/
Author: Excelify
Author URI: http://excelify.com
Description: Building Supply WordPress website theme
Version: 1.0.2
Text Domain: buildingsupply
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

-------------------------------------------------------------- */
/* 
// X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// X-Large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

// XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) { ... }
*/

body {
  font-family: Montserrat,sans-serif;
  font-weight: 300;
}
b, strong {
  font-weight: 600;
}
.w-10 {
  width: 10%!important;
}
.w-15 {
  width: 15%!important;
}
.w-20 {
  width: 20%!important;
}

/* WP images bs fluid
------------------------------------------------------- */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

/* CARD CHILD NO LEFT MARGIN
------------------------------------------------------- */
.card-link+.card-link {
  margin-left: 0 !important;
}

/* Theme customization starts here
#00461b
------------------------------------------------------- */
.bg-primary {
  background-color: #00461b !important;
}
.bg-secondary {
  background-color: #333333 !important;
}
.text-primary {
  color: #00461b !important;
}
.text-secondary {
  color: #333333 !important;
}
.btn-primary {
  color: #fff;
  background-color: #00461b;
  border-color: #00461b;
}
.btn-secondary {
  color: #fff;
  background-color: #333333;
  border-color: #333333;
}
a {
  color: #00461b;
}

/* a {
  color:#ec2626;
  text-decoration: none;
  background-color: transparent;
} */

.black {
  background-color: #000!important;
}
.grey {
  background-color: #9e9e9e!important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1.125rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: .95rem;
}

h6 {
  font-size: .85rem;
}

.container {
  max-width: 1400px;
}


/* banner styles
------------------------------------------------------- */
.banner,
.banner img {
  width: 100% !important;
}

/* gallery card-columns carousel styles
------------------------------------------------------- */
@media (min-width: 1200px) {
  .card-columns {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;

  }

}

@media (min-width: 576px) and (max-width: 1199px) {
  .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;

  }

}

@media (max-width: 575px) {
  .card-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;

  }

}

/* ----------------------------------- */
/* Card Hover Animation */

@media (min-width: 576px) {

  #cardfx .card {
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: 0.5s ease;
    height: 100%;
  }

  #cardfx .card:hover {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
  }

  #cardfx .card-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    overflow: hidden;
  }

  /* #cardfx .card-img-wrapper img {
    transition: .5s ease;
  }
  #cardfx.card:hover .card-img-wrapper img {
    transform: scale(1.15);
  } */
  #cardfx .card-body .card-title {
    margin-bottom: calc(50% + 10px);
    transition: 0.5s ease;
    color: #fff;
    text-align: center;
  }

  #cardfx .card:hover .card-body .card-title {
    margin-bottom: 0.5rem;
    color: #333;
  }

  #cardfx .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: 0.5s ease;
  }

  #cardfx .card:hover .card-body {
    height: calc(70% + 20px);
    background-color: rgba(255, 255, 255, 1);
  }

  #cardfx .card-content {
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
    transition: 0.5s ease;
  }

}


/* facetwp styles
------------------------------------------------------- */
.facetwp-facet {
  margin-bottom: 20px !important;
}

/* swiper hover styles
------------------------------------------------------- */
.swiper-container h2,
#blog h2 {
	font-size: 1.5rem;
}
.swiper-container h3,
#blog h3 {
	font-size: 1rem;
}


.swiper-slide .card-image .overlay,
.swiper-slide:hover .card-image .overlay {
  -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -ms-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.swiper-slide .card-image {
  position: relative;
  height: auto;
  width: 100%;
}
.swiper-slide .card-image .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
}
.swiper-slide:hover .card-image .overlay {
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 1;
}
.swiper-slide.card {
	min-height: 300px;
}

/* swiper carousel styles
------------------------------------------------------- */
.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  height: auto;
}
.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: 0;
	left: 0;
	width: 100%;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
	right: 0;
	left: auto;
}
.swiper-button-next, .swiper-button-prev {
	position: relative;
	top: 0;
	width: 0;
	height: 0;
	margin-top: 0;
	z-index: 10;
	cursor: pointer;
	display: inline;
	align-items: center;
	justify-content: center;
	color: inherit;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
	left: 0;
	right: auto;
}
.swiper-pagination {
	position: relative;
	text-align: left;
	transition: .3s opacity;
	transform: translate3d(0,0,0);
	z-index: 10;
	display: inline;
}
.swiper-pagination-bullet {
	margin-right: 10px;
}
/* hide default nav icons */
.swiper-button-next::after, .swiper-button-prev::after {
	display: none;
}



/* footer styles
------------------------------------------------------- */

#footer .list-group-item {
  position: relative;
  display: block;
  padding: .25rem 0rem;
  text-decoration: none;
  background-color: none;
  border: none;
}

#footer .list-group-item-action {
  width: 100%;
  color: #777;
  text-align: inherit;
}

#footer a {
  color: #ccc;
  text-decoration: none;
}

#footer a:hover {
  color: #999;
  text-decoration: none;
}


/* breadcrumbs styles
------------------------------------------------------- */
#breadcrumbs,
#breadcrumbs a {
  font-size: 12px;
}

/* #breadcrumbs .breadcrumb_last {
  display: none;
} */

/* .navbar-nav .current_page_item.active .dropdown-item {
	color: #ec2626;
} */

/* button styles
------------------------------------------------------- */

/* color styles
------------------------------------------------------- */

/* .text-primary{ 
    color: #ec2626 !important;
  }
  .border-primary {
    border-color: #ec2626 !important;
  }
  .bg-primary {
      background-color: #ec2626 !important;
  } */
/* .bg-dark {
      background-color: #334 !important;
  } */



/* Google Map styles
------------------------------------------------------- */
.map-responsive {
  overflow: hidden;
  padding-bottom: 50%;
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/* card styles
------------------------------------------------------- */

#cardfx .card-text {
  font-size: .75rem;
}

a.card-link .card,
.card-link.card {
  transition: 0.3s;
}

a.card-link .card:hover,
.card-link.card:hover {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
  background-color: #f8f9fa !important;
}

a.card-link .card-title,
.card-link .card-title {
  color: #212529;
  font-weight: 700 !important;
}

a.card-link .card-text,
.card-link .card-text {
  color: #212529;
  text-decoration: none;
}

/* gravity form styles
------------------------------------------------------- */

#gform_wrapper_2.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type="submit"],
#gform_wrapper_2.gform_wrapper .gform_page_footer input.button,
#gform_wrapper_2.gform_wrapper .gform_page_footer input[type="submit"] {
  width: auto;
}

#gform_wrapper_2.gform_wrapper .gform_footer {
  padding: 0;
  margin: 0;
  clear: both;
  width: 100%;
}

#gform_wrapper_2.gform_wrapper ul.gform_fields li.gfield {
  padding-right: 5px;
}

#gform_wrapper_2.gform_wrapper {
  margin-bottom: 0;
  margin-top: 0;
  max-width: 100%;
}

#gform_wrapper_2.gform_wrapper #field_2_13 .gfield_label {
  margin-top: 15px;
}

#gform_wrapper_2.gform_wrapper li.hidden_label input {
  margin-top: 0;
}

#gform_wrapper_2.gform_wrapper .top_label .gfield_label,
#gform_wrapper_2.gform_wrapper legend.gfield_label {
  line-height: .5;
}

#gform_wrapper_2.gform_wrapper ul.gfield_checkbox li label,
#gform_wrapper_2.gform_wrapper ul.gfield_radio li label {
  display: inline;
}

#gform_wrapper_2.gform_wrapper li.gf_list_inline ul.gfield_checkbox li,
#gform_wrapper_2.gform_wrapper li.gf_list_inline ul.gfield_radio li {
  margin: 0 8px 0px 0;
}

#gform_wrapper_2.gform_wrapper ul li.field_description_below div.ginput_container_checkbox,
#gform_wrapper_2.gform_wrapper ul li.field_description_below div.ginput_container_radio {
  margin-top: 0;
  margin-bottom: 0;
}

#gform_wrapper_2.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li {
  line-height: 1.3;
}

/* @media screen and (min-width: 1400px) {
  .interior-form {
    position: relative;
    top: -100px;
    margin-bottom: -100px;
  }
} */

/* iframe styles
------------------------------------------------------- */

iframe#inlineframe {
  width: 99%;
  height: 110%;
  overflow: hidden;
  *width: 100%;
  *height: 100% !important;
  *overflow: scroll;
}

/* footer styles
------------------------------------------------------- */
/* #footer .social-icons a {
	color: #fff;
}
#footer .social-icons {
	margin: 0 !important;
}
#footer .social-icons.float-right {
	float: none !important;
}
#footer .list-group-item {
  border: 0;
} */


/* store hours text in header to break */
/* @media (max-width: 840px) and (min-width: 768px) {
  .header a.logo img {
    height: 58px;
  }

  .header {
    height: 100px;
  }
} */

/* @media (max-width: 940px) and (min-width: 841px) {
  .header a.logo img {
    height: 80px;
  }
} */

/* @media (max-width: 940px) and (min-width: 768px) {
  #storeinfo .navbar-nav {
    font-size: .7rem;
  }

  .nav-link {
    font-size: .85rem;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: .65rem;
    padding-left: .65rem;
  }

  .dropdown-toggle::after {
    position: absolute;
    top: 8px;
    right: -1px;
  }
} */

/* topnav styles
  ------------------------------------------------------- */
  #topnav .menu-item a {
    color: #fff;
    margin: 0;
    text-decoration: none;
  }

  #menu-top-nav,
  #menu-bc-fast-top-nav {
    margin: 0;
  }

  #topnav.bg-primary .list-inline-item a {
    color:inherit;
  }

  #topnav.bg-primary #menu-top-nav,
  #topnav .social-icons {
    margin: 0;
  }


/* desktop nav styles */
@media (min-width: 767px) {

    /* Main menu styles
    ------------------------------------------------------- */  
    .dropdown:hover .dropdown-menu {
      display: block;
    }
    .dropdown:hover>.dropdown-menu {
      display: block;
    }
    .dropdown-menu {
      margin: 0;
    }

    /* Interior menu lists */
    #Interior_Nav ul.sub-menu {
      padding: 0;
    }

    #Interior_Nav ul.sub-menu li {
      list-style: none;
    }

    #Interior_Nav ul.sub-menu li a {
      padding-left: 30px;
    }

    #Interior_Nav ul.sub-menu li a {
      padding-left: 30px;
      border-top: 0;
    }

    #Interior_Nav ul.sub-menu li:last-child a {
      border-bottom: 0;
    }

    #Interior_Nav li.current_page_item a,
    #Interior_Nav ul.sub-menu li.current_page_item a {
      z-index: 2;
      color: #fff;
      background-color: #00461b;
      border-color: #00461b;
    }

    /* NAV STYLES */
    /* ----------------------------------------- */

    /* hover parent open dropdown on desktop */
    .dropdown:hover>.dropdown-menu {
      display: block;
      border: none;
    }

    /* fixes hover dropdown gap */
    .dropdown-menu {
      margin: 0 !important;
    }


    /* font size of top nav parent link */
    .nav-link {
      font-size: 1rem;
      text-transform: uppercase;
    }



    /* current page highlight */
    .current-menu-item>.nav-link,
    .current-menu-item>.dropdown-item {
      font-weight: bold;
      color: rgba(0, 0, 0, 1) !important;
    }

    /* add toggle to parent with child dropdowns */
    .dropdown-menu>.menu-item-has-children>.dropdown-item:after {
      display: inline-block;
      margin-left: .255em;
      vertical-align: .255em;
      content: "";
      border-top: .3em solid;
      border-right: .3em solid transparent;
      border-bottom: 0;
      border-left: .3em solid transparent;
      position: absolute;
      right: 5px;
      top: 14px;
      -ms-transform: rotate(-90deg);
      /* IE 9 */
      -webkit-transform: rotate(-90deg);
      /* Chrome, Safari, Opera */
      transform: rotate(-90deg);
    }

    /* position child dropdown in sub menu */
    .dropdown-menu>.menu-item-has-children>.dropdown-menu {
      left: 99%;
      top: 0;
    }

    /* keep parent highlighted top nav */
    .navbar-nav>.dropdown:hover>.nav-link {
      background: #f8f9fa;
      color: rgba(0, 0, 0, 1);
    }

    /* keep parent highlighted sub nav */
    .dropdown-menu>.dropdown:hover>.dropdown-item {
      background: #fff;
    }

    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown .dropdown-item:hover {
      background: #fff;
    }

    /* dropdown hover effect */
    .navbar .nav-item .dropdown-menu {
      display: block;
      opacity: 0;
      visibility: hidden;
      transition: .3s;
      margin-top: 0;
      box-shadow: 0 6px 10px rgba(0, 0, 0, .08), 0 0 6px rgba(0, 0, 0, .05);
      background: #f8f9fa;
    }

    /* parent position to animate */
    .navbar .dropdown-menu {
      top: 150%;
    }

    .navbar .nav-item:hover>.dropdown-menu {
      transition: .3s;
      opacity: 1;
      visibility: visible;
      top: 100%;
      transform: rotateX(0deg);
    }

    /* child sub-menu position to animate */
    .navbar .dropdown-menu .menu-item-has-children>.dropdown-menu {
      top: 100%;
    }

    .navbar .menu-item-has-children .nav-item:hover>.dropdown-menu {
      transition: .3s;
      opacity: 1;
      visibility: visible;
      top: 10%;
      transform: rotateX(0deg);
    }

    /* navbar styles
    ------------------------------------------------------- */
    .navbar-nav li:hover>ul.dropdown-menu {
      display: block;
    }

    .navbar-brand {
      transition: all 0.3s ease;
      transform: translate(0, 0);
    }

}


/* MOBILE NAV STYLES */
@media (max-width: 766px) {

    .wp-block-group.container {
      padding: 0;
    }

    #navbar .navbar-nav .dropdown-menu {
      border: none;
    }

    #navbar .container {
      margin: 0;
      padding: 0;
    }
    #navbar .navbar-collapse {
      padding: 20px;
      background: #f5f5f5;
    }

    .navbar-nav .dropdown-menu {
      position: static;
      display: block;
    }

    /* current page highlight */
    /* .current-menu-item>.nav-link,
    .current-menu-item>.dropdown-item {
      font-weight: bold;
      color: rgba(255, 255, 255, 1) !important;
    } */

    .navbar-nav {
      width: 100%;
    }

    /* .dropdown-menu {
      background: #2a2a2a;
    }

    .dropdown-menu .dropdown-menu {
      background: #333;
    } */

    /* .dropdown-item {
      color: rgba(255, 255, 255, .75) !important;
    } */

    /* .dropdown-item:focus,
    .dropdown-item:hover {
      color: #16181b;
      text-decoration: none;
      background-color: transparent;
    } */

    .dropdown-menu>.dropdown-item {
      padding: .25rem 1.75rem;
    }

    .dropdown-menu .dropdown-menu .dropdown-item {
      padding: .25rem 2.5rem !important;
    }

    /* add toggle to parent with child dropdowns */
    .dropdown-toggle::after {
      display: none;
    }
    /* .dropdown-menu>.menu-item-has-children>.dropdown-item:after {
      display: inline-block;
      margin-left: .255em;
      vertical-align: .255em;
      content: "";
      border-top: .3em solid;
      border-right: .3em solid transparent;
      border-bottom: 0;
      border-left: .3em solid transparent;
      position: absolute;
      right: 5px;
      top: 14px;
    } */

}



/* HAMBURGER TOGGLER MENU STYLES */
/* ----------------------------------------- */

.navbar-toggler {
  padding: 0;
  margin: 0;
  height: 50px;
  width: 50px;
  border: none;
  background: #fff;
  border-radius: 5px;
  position: relative;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler .icon-bar {
  display: block;
  position: absolute;
  opacity: 1;
  width: 30px;
  height: 3px;
  right: 10px;
  background: #2D2D2D;
  transition: .2s ease-in-out;
}

.navbar-toggler.collapsed .icon-bar.icon-bar-one {
  top: 16px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .icon-bar.icon-bar-two {
  top: 24px;
  opacity: 1;
  width: 30px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .icon-bar.icon-bar-three {
  top: 32px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.navbar-toggler .icon-bar.icon-bar-one {
  top: 23px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.navbar-toggler .icon-bar.icon-bar-two {
  opacity: 0;
  /* 	width:0; */
}

.navbar-toggler .icon-bar.icon-bar-three {
  top: 23px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}


/* side navigation */
/* ----------------------------------------- */
#sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#sidenav ul.sub-menu {
  margin-left: 15px;
}
#sidenav li a {
  text-decoration: none;
  color: #212529;
  border-top: 1px solid #e9e9e9;
  display: block;
  padding: 5px 0;
}
#sidenav li a:hover {
  color: #0b5ed7;
}

#sidenav .current_page_item a,
#sidenav .current_page_item a:hover,
#sidenav .current_page_item a:focus {
  color: #00461b !important;
  font-weight: 400;
}
#sidenav .page-item a {
  color: inherit;
  display: block;
  padding: 6px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

#sidenav .page-item a:hover,
#sidenav .page-item a:focus {
  color: #00461b;
} 


/* Blog styles */
/* ----------------------------------------- */
.widget h2.widget-title {
  margin-bottom: 10px;
}
.widget ul {
  list-style: none;
  margin-bottom: 20px;
  margin-top: 0px;
  padding: 0;
}
.widget ul li a {
  display: block;
  border-top:1px solid #f1f1f1;
  text-decoration: none;
  margin-bottom: 5px;
  padding-top: 5px;
}
article h3 a {
  text-decoration: none;
}

/* financing
------------------------------------------------------- */
body.financing hr:not([size]) {
  height: 10px;
}

/* mobile app
------------------------------------------------------- */

#mobile-app-content .mobile-content-wrap {
	padding: 100px 150px;
	min-height: 300px;
}
#mobileapp .table th,
#mobileapp .table td {
	border-top: 1px solid #fff;
	line-height: 20px;
	padding: 8px;
	text-align: left;
	vertical-align: top;
	font-family: "Roboto",sans-serif;
}

#mobileapp .label, #mobileapp .badge {
	background-color: #fff;
	color: #000;
	display: inline-block;
	font-size: 20px;
	font-weight: normal;
	line-height: 20px;
	padding: 2px 4px;
	text-shadow: none;
	vertical-align: baseline;
	white-space: nowrap;
	font-family: "Roboto",sans-serif;
}

#mobileapp .badge {
	border-radius: 20px;
	padding-left: 6px;
	padding-right: 6px;
	border: 1px solid #000;
}
#mobile-app-content h1 {
		font-weight: 300;
		font-family: 'Roboto', sans-serif;
		/*color: #E8083E;*/
	/*line-height:75px;
	font-size:80px;*/
	line-height:60px;
	font-size:50px;
	margin:0px;
}
#mobile-app-content h2 {
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
	color: #000;
	/*line-height:50px;
	font-size:50px;*/
	line-height:45px;
	font-size:35px;
	margin:0px 0px 20px 0px;
}

/* responsive video */
.flex-video {
	position: relative;
	padding-top: 25px;
	padding-bottom: 67.5%;
	height: 0;
	margin-bottom: 16px;
	overflow: hidden;
}

.flex-video.widescreen { padding-bottom: 57.25%; }
.flex-video.vimeo { padding-top: 0; }

.flex-video iframe,
.flex-video object,
.flex-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
	.flex-video { padding-top: 0; }
}
