/*
Theme Name: Custom Building Products Theme
Text Domain: Custom Building Products Theme
Version: 1.0.0
Description: Custom CBP Theme
Author: The QUIKRETE Companies
Author URI: https://www.custombuildingproducts.com
*/

body {
  /*padding-top: 56px;*/
  padding-top: 0px;
}

@media (min-width: 576px) {
  .container {
    max-width: 90%;
    /* overwrites grid.scss */
  }
}

a,
a:hover {
  color: #1d6fac;
}

/* Fixes WP's image alignment not working */
.alignleft {
  float: left;
  margin-right: 15px;
}

.alignright {
  float: right;
  margin-left: 15px;
}

/* //Fixes WP's image alignment not working */

.content-body {
  margin-top: 50px;
}

.btn-black {
  margin: 0px 0px 15px 0px;
  text-align: center;
  text-transform: uppercase;
  background-color: #000;
  color: #fff;
}

.cta-container {
  margin: 0px 0px 15px 0px;
  text-align: center;
  text-transform: uppercase;
}

.cta-button {
  width: 150px;
  font-size: 14px;
  padding: 0px 10px;
  padding: 5px 20px;
  background-color: #000;
  color: #fff;
}

.cta-button:hover {
  color: #fff;
}

.mk-header .mk-header-inner {
  padding-top: 3%;
  padding-bottom: 3%;
}

.carousel-item {
  height: 70vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* Consider Removing 7/22/2020
.breadcrumb {
  background-color: transparent !important;
}*/

#breadcrumbs {
  padding: 10px 0px;
  border-bottom: dotted 1px #ccc;
  font-size: small;
}

.portfolio-item {
  margin-bottom: 30px;
}

/* Inspected code in order to define how to style WP menu */
.nav-item>a {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  color: #fff;
}

.nav-item>ul.sub-menu>li {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

/* CUSTOM STYLES */

.logo {
  max-height: 75px;
  margin: 10px 0px;
}

@media (max-width: 767px) {
  .logo {
    max-height: 50px;
  }
}

.tagline {
  max-height: 75px;
}

@media (max-width: 1200px) {
  .tagline {
    display: none;
  }
}

.secondary-nav {
  text-align: right;
}

@media (max-width: 575px) {
  .secondary-nav {
    margin-bottom: 10px;
    margin-top: -60px !important;
  }

  .alignright {
    float: none !important;
    /* Fixes WP's image alignment not working */
  }
}

@media (min-width: 768px) {
  .fixed-top {
    position: relative;
    margin: 0 auto;
    max-width: 86%;
    padding: 0px;
    /* Removes Spacing around nav items */
  }

  .navbar>.container {
    max-width: 100% !important;
    padding: 0px;
    /* Removes Spacing around nav items */
  }
}

@media (max-width: 767px) {
  .fixed-top {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
  }
}

@media (min-width: 1800px) {
  .fixed-top {
    max-width: 1600px;
  }
}

/*.mega-menu-wrap {
  -webkit-box-shadow: 0px 5px 10px 0px rgba(51, 51, 51, 0.8) !important;
  box-shadow: 0px 5px 10px 0px rgba(51, 51, 51, 0.8) !important;
}*/

.nav-item {
  padding: 10px;
}

.nav-item-products {
  background-color: #e17500;
  color: #fff;
}

@media (min-width: 1200px) {
  .container {
    max-width: 85%;
  }
}

@media (min-width: 1800px) {
  .container {
    max-width: 1600px;
  }
}

.carousel-inner {
  top: -20px;
}

.n2-section-smartslider {
  top: -20px;
}

div#n2-ss-2 .nextend-arrow img,
div#n2-ss-6 .nextend-arrow img {
  width: 75px !important;
}

.ml-auto,
.mx-auto {
  margin-left: 0 !important;
  /* Removes right align from nav menu items */
}

/* Bootstrap to Wordpress CSS for Sub Menus*/
.sub-menu {
  list-style: none !important;
  position: absolute;
  display: none;
}

.nav li:hover>ul.sub-menu {
  display: block;
  margin: 0;
}

.sub-menu li {
  width: 100px;
  margin-left: -33px;
  background-color: #f8f8f8;
  border-color: #e7e7e7;
  padding: 8px;
}

/* Search Format */
.screen-reader-text {
  display: none;
}

.search-menu-item {
  background-color: #e17500;
}

.mega-menu-link {
  text-transform: uppercase !important;
}

.expand-to-left>input {
  margin-right: 5px !important;
}

.bullet-plus {
  color: #e17500 !important;
  font-size: larger !important;
}

/****************** Tabbed Mega Menu sub-categories Image and Text ******************/
.sub-categories {
  text-align: center;
  height: 175px;
}

@media (max-width: 1024px) {
  .sub-categories {
    height: 125px;
  }
}

.sub-categories>img {
  text-align: center;
  height: 160px;
}

.sub-categories-caption {
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  border-top: dotted 1px #cccc;
  margin-top: 10px !important;
  margin-bottom: 40px;
  padding-top: 10px;
  color: #333;
}

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

.wp-caption-text {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  border-top: solid 1px #cccc;
  margin-top: 10px !important;
  padding-top: 10px;
  color: #333;
}

.mega-block-title {
  display: none !important;
}

/****************** END: Tabbed Mega Menu Sub Menu Image and Text ******************/

#mega-menu-wrap-primary #mega-menu-primary a img {
  height: 175px !important;
}

@media (max-width: 1024px) {
  #mega-menu-wrap-primary #mega-menu-primary a img {
    height: 125px !important;
  }
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row {
  margin-bottom: -30px !important;
}

@media only screen and (min-width: 1271px){
#mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-79 .mega-search.expand-to-left {
    position: absolute;
    right: 0;
    top: 8px;
}
}

/*#mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-79 .mega-search .search-icon {
  top: 8px;
}*/

.section-header {
  font-weight: bold;
  padding-top: 20px;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  padding: 5px 10px 5px 40px;
  line-height: normal;
  margin-bottom: 5px;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3.mega-menu-accordion>li.mega-menu-flyout>ul.mega-sub-menu li.mega-menu-item.mega-current-menu-item>a.mega-menu-link {
  padding-top: 5px;
  padding-bottom: 5px;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
  padding-top: 5px;
  padding-bottom: 5px;
}

/****************** Header Lines ******************/

.decorated {
  overflow: hidden;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  margin: 40px 0px;
}

.decorated>span {
  position: relative;
  display: inline-block;
}

.decorated>span:before,
.decorated>span:after {
  content: "";
  position: absolute;
  top: 50%;
  border-bottom: 1px solid #ccc;
  width: 592px;
  /* half of limiter */
  margin: 0 20px;
}

.decorated>span:before {
  right: 100%;
}

.decorated>span:after {
  left: 100%;
}

/****************** END: Header Lines ******************/

ul {
  margin: 0px 0px 20px 0px;
}

ul.dashed {
  list-style-type: none;
}

ul.dashed>li {
  text-indent: -30px;
}

ul.dashed>li:before {
  content: "- ";
  text-indent: -20px;
}

/****************** Youtube Playlist ******************/
.vid-container {
  position: relative;
  padding-bottom: 52%;
  padding-top: 30px;
  height: 0;
}

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

.vid-list-container,
.vid-list-container2,
.vid-list-container3,
.vid-list-container4,
.vid-list-container5 {
  width: 92%;
  overflow: hidden;
  margin-top: 20px;
  margin-left: 4%;
  padding-bottom: 20px;
}

.vid-list {
  width: 1344px;
  position: relative;
  top: 0;
  left: 0;
}

.vid-item {
  display: block;
  width: 148px;
  height: auto;
  float: left;
  margin: 0;
  padding: 10px;
}

.archive-thumbs {
  padding: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-height: 225px;
  width: auto;
}

@media (max-width: 768px) {
  .archive-title {
    text-align: center;
  }
}

.thumb {
  overflow: hidden;
  height: 70px;
}

.thumb img {
  width: 100%;
  position: relative;
  top: -13px;
}

.vid-item .desc {
  color: #666;
  font-size: 12px;
  margin-top: 5px;
}

.vid-item:hover {
  background: #eee;
  cursor: pointer;
}

.arrows {
  position: relative;
  width: 100%;
}

.arrow-left,
.arrow-left2,
.arrow-left3,
.arrow-left4,
.arrow-left5 {
  color: #000;
  position: absolute;
  background: #e17500;
  padding: 15px;
  left: 0;
  top: -175px;
  z-index: 99;
  cursor: pointer;
}

.arrow-right,
.arrow-right2,
.arrow-right3,
.arrow-right4,
.arrow-right5 {
  color: #000;
  position: absolute;
  background: #e17500;
  padding: 15px;
  right: 0;
  top: -175px;
  /*z-index: 100;*/
  cursor: pointer;
}

.arrow-left:hover {
  background: #e17500;
}

.arrow-right:hover {
  background: #e17500;
}

.media-body strong {
  text-transform: uppercase;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

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

/****************** END: Youtube Playlist ******************/


/****************** Front Page Featured ******************/
@media (min-width: 992px) {
  .front-page-featured {
    padding: 0px 40px !important;
  }
}

/****************** Front Page Featured ******************/

.data-sheets-dropdown {
  background-color: #e17500 !important;
  border: #ccc 1px solid !important;
  color: #fff !important;
  font-size: 14px !important;
  width: 100%;
}

@media (max-width: 1690px) {
  .data-sheets-dropdown {
    font-size: 12px !important;
  }
}

@media (max-width: 1500px) {
  .data-sheets-dropdown {
    font-size: 10px !important;
  }
}

@media (max-width: 1100px) {
  .data-sheets-dropdown {
    font-size: 8px !important;
  }
}

@media (max-width: 768px) {
  .data-sheets-dropdown {
    font-size: 14px !important;
  }
}

.social-container {
  text-decoration: none;
}

a.social-nav {
  text-transform: none;
  padding: 0px 1px;
}

a.social-nav:hover {
  text-decoration: none;
}

.posts-data-table iframe,
.posts-data-table object,
.posts-data-table video {
  height: -webkit-fill-available !important;
}

.fluid-width-video-wrapper iframe,
.fluid-width-video-wrapper object,
.fluid-width-video-wrapper embed {
  height: -webkit-fill-available !important;
}

/****************** Left Nav Styles ******************/
.nav-item>a {
  color: #000;
  font-size: smaller;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  font-weight: bold;
}

.nav-item {
  padding: 0px;
}

/****************** End Left Nav Styles ******************/

/******************  Grout Color Selector Styles ******************/
.grout-panel {
  text-align: center;
  border: solid #ccc 1px;
  margin: 10px;
  padding: 0px;
  max-width: 100%;
}

.grout-html-color-code {
  width: 100%;
  height: 180px;
}

.sparkles {
  width: 100%;
  height: 180px;
}

.unavailable {
  margin-top: 0px;
  max-width: 100%;
  height: 180px;
  -webkit-filter: drop-shadow(1px 1px 2px #555; );
  filter: drop-shadow(1px 1px 2px #555);
}


@media (max-width: 767px) {}

.grout-icons {
  margin-bottom: 10px;
}

.grout-name {
  font-size: smaller;
  /*font-weight: bold;*/
}

/****************** END Grout Color Selector Styles ******************/


.coverage-chart {
  margin: 30px 0px 20px 0px;
  padding-right: 10px;
  font-size: smaller;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-color: light !important;
}


@media (max-width: 768px) {
  
  .coverage-chart {
  position: relative;
  overflow-y: scroll;
  max-height: 400px;
  -webkit-overflow-scrolling: touch;
  }
  /* Scroll indicator fade */
  .coverage-chart::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
  }
}

.wp-paginate.font-inherit {
  text-align: center;
}

/****************** Barn2 Document Library ******************/
.dlp-multiple-download-btn {
  color: #000;
  background-color: orange;
  border: none;
  font-weight: 500;
  padding: 10px;
  font-size: small !important;
}

.dlp-preview-modal-overlay {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.dlp-table-document-link-wrap input[type="checkbox"] {}

/*.posts-table-select-filters select {
  width: 300px !important;
}*/

.dlp-document-info-buttons>a.dlp-preview-button>.preview {
  display: none;
  /* Hides Preview button on single Document Library pages*/
}

.dlp-table-document-link-wrap>a>.dlp-file-icon {
  /* display: none; Hides Download button on Document Library List page*/
}

.col-title {
  width: 80% !important;
}

/****************** END Barn2 Document Library ******************/

.tools {
  margin: 0px -20px !important;
}

button.text-left {
  white-space: normal;
}

/**************Smart Slider**********************/
.smart-slider-bullets {
  color: #fff;
  text-align: left;
  list-style-type: disc;
  font-size: 20px !important;
  font-weight: 600;
}

.smart-slider-bullets>li {
  margin-bottom: 10px;
}

.mega-menu-item-577>a.mega-menu-link {
  line-height: 25px !important;
}

/* Resource Tools in Footer */
.card {
    /*position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125); */
    border-radius: 0rem;
    background-color: transparent;
}

.card > ul.tools > li {
  color: #fff !important;

}
.card > .tools > li > a {
  color: #e17500;;
}
/* Tools */

.card-archive-page {
  margin-top: -20px;
  border: 0px;
  margin-bottom: 20px;
}

.card-archive-page>ul>li>a {
  font-size: smaller;
}

@media (max-width: 1200px) {
  .corporate-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .n2-ss-slider .n2-ss-layer[data-sstype="slide"] {
    height: 100%;
    min-height: 100%;
  }

  div#n2-ss-2 .n2-font-9bd9c1bd182cd4d8e57abe1694883c02-hover {
    font-size: 200%;
  }

  div#n2-ss-2 .n2-font-ef98a8fa676345d4b152da8eea0f4c6f-paragraph {
    font-size: 100%;
  }
}

/****** 7 Columns ******/
/* Create 7 equal columns that floats next to each other */
.column-7 {
  float: left;
  width: 14.2%;
  padding: 20px 20px 0px 20px;
  text-align: center;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/****** 7 Columns ******/