.block-info-con {
  background: #2e2e2e;
}

.block_info {
  display: block;
}
.block_info:after {
  content: "";
  display: table;
  clear: both;
}
.block_info .image {
  position: relative;
  height: 175px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.block_info .content {
  position: relative;
  padding: 20px;
}
.block_info .content .title {
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  margin: 14px 0;
  text-align: left;
  color: #f38a00;
}
@media (min-width: 768px) {
  .block_info .content .title {
    font-size: 42px;
  }
}
@media (min-width: 768px) {
  .block_info {
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
  }
  .block_info .image {
    position: absolute;
    height: 400px;
    width: 50%;
  }
  .block_info .content {
    padding: 40px 20px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  .block_info .content .title,
.block_info .content .desc {
    display: block;
    max-width: 500px;
  }
  .block_info:nth-child(odd) .image {
    left: 0;
  }
  .block_info:nth-child(odd) .content {
    margin-left: 55%;
  }
  .block_info:nth-child(even) .image {
    right: 0;
  }
  .block_info:nth-child(even) .content {
    margin-right: 55%;
  }
}

/* block types */
.blocktype {
  margin-bottom: 2em;
}
.blocktype .block-image {
  position: relative;
  width: 100%;
  max-width: 325px;
  height: 250px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}
.blocktype .block-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;
  height: auto;
  transform: translate(-50%, -50%);
  transition: 0.45s ease;
}
.blocktype:hover .block-image img {
  width: 100%;
}
.blocktype:hover .block-image:after {
  content: "More Info";
  display: block;
  padding: 0.5em 1em;
  color: #fff;
  border-radius: 2px;
  background-color: #f38a00;
  box-shadow: 0 0 5px #000;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.blocktype .block-content .type,
.blocktype .block-content .measure {
  line-height: 1.75em;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.blocktype .block-content .type {
  color: #f38a00;
}
.blocktype .block-content .description p:first-child {
  margin-top: 0;
}
.blocktype .block-popup {
  /* adding a pop-up info window */
  display: none;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}
.blocktype .block-popup.shown {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  padding: 20px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
}
.blocktype .block-popup .block-popup-con {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  width: 100%;
  margin: 0 auto;
  max-height: 80vh;
  max-width: 768px;
  background-color: #fff;
}
.blocktype .block-popup .block-popup-con .block-popup-image,
.blocktype .block-popup .block-popup-con .block-popup-content {
  padding: 20px;
}
.blocktype .block-popup .block-popup-con .block-popup-image img {
  max-width: 100%;
  max-height: 100%;
}
.blocktype .block-popup .block-popup-con .block-popup-content {
  max-height: calc(40vh - 40px);
}
.blocktype .block-popup .block-popup-con .block-popup-content .type {
  color: #f38a00;
  font-size: 1.25rem;
}
.blocktype .block-popup .block-popup-con .block-popup-content table {
  width: 100%;
  margin: 1rem 0;
}
.blocktype .block-popup .block-popup-con .block-popup-content h6 {
  color: #f38a00;
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0;
}
.blocktype .block-popup .block-popup-con .block-popup-content .info {
  max-height: calc(100% - 3.5rem);
  overflow: auto;
}
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".pdf"],
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".zip"],
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".jpg"],
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".jpeg"] {
  display: block;
  color: #000;
}
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".pdf"]::before,
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".zip"]::before,
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".jpg"]::before,
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".jpeg"]::before {
  content: "PDF";
  display: inline-block;
  color: #fff;
  background-color: #f38a00;
  padding: 0 1ch;
  margin-right: 1ch;
}
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".zip"]::before {
  content: "ZIP";
}
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".jpg"]::before {
  content: "JPG";
}
.blocktype .block-popup .block-popup-con .block-popup-content .links a[href*=".jpeg"] {
  content: "JPEG";
}
.blocktype .block-popup .block-popup-con .close-button {
  display: block;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  background-color: #f38a00;
  position: absolute;
  top: -1rem;
  right: -1rem;
  cursor: pointer;
}
.blocktype .block-popup .block-popup-con .close-button .close-x {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}
.blocktype .block-popup .block-popup-con .close-button .close-x span {
  display: block;
  height: 70%;
  width: 3px;
  background-color: white;
}
.blocktype .block-popup .block-popup-con .close-button .close-x .close-x-one {
  position: absolute;
  top: 13%;
  left: 46%;
  transform: rotate(-45deg);
}
.blocktype .block-popup .block-popup-con .close-button .close-x .close-x-two {
  position: absolute;
  top: 13%;
  left: 46%;
  transform: rotate(45deg);
}
.blocktype .block-popup .block-popup-con .close-button .reader-only {
  display: block;
  height: 1px;
  width: 1px;
  overflow: hidden;
  font-size: 0;
  position: absolute;
}
@media (min-width: 768px) {
  .blocktype .block-popup .block-popup-con {
    flex-flow: row nowrap;
    max-width: 980px;
    justify-content: space-evenly;
    align-items: stretch;
  }
}
@media (min-width: 1024px) {
  .blocktype .block-popup .block-popup-con .block-popup-image,
.blocktype .block-popup .block-popup-con .block-popup-content {
    padding: 40px 0;
  }
  .blocktype .block-popup .block-popup-con .block-popup-image {
    flex: 0 0 calc(60% - 40px);
  }
  .blocktype .block-popup .block-popup-con .block-popup-content {
    flex: 0 0 calc(40% - 40px);
    display: flex;
    flex-flow: column;
    height: unset;
    max-height: 100%;
  }
  .blocktype .block-popup .block-popup-con .block-popup-content .type,
.blocktype .block-popup .block-popup-con .block-popup-content .measure {
    flex: 0 0 auto;
  }
  .blocktype .block-popup .block-popup-con .block-popup-content .type {
    font-size: 1.5rem;
  }
  .blocktype .block-popup .block-popup-con .block-popup-content .info {
    flex: 0 1 auto;
    max-height: unset;
  }
}

/* tablet and desktop-only styles require a composite component to hold all the blocks, otherwise the padding will not apply correctly. */
@media (min-width: 480px) {
  .blocktype {
    display: inline-block;
    vertical-align: top;
    width: 47.5%;
    margin-right: 5%;
  }
  .blocktype:nth-child(2n+2) {
    margin-right: 0;
  }
}
@media (min-width: 1024px) {
  .blocktype {
    width: 30%;
    margin-right: 5%;
  }
  .blocktype:nth-child(2n+2) {
    margin-right: 5%;
  }
  .blocktype:nth-child(3n+3) {
    margin-right: 0;
  }
}
/* static gallery */
.patternstain {
  display: block;
  background-color: #2e2e2e;
  color: #fff;
  width: 100%;
  position: relative;
}
.patternstain .title {
  padding: 5px 10px;
  background-color: #f38a00;
  color: #fff;
  font-weight: 700;
  font-size: 1.5em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.75;
}
.patternstain .desc {
  padding: 10px 20px;
  background-color: #2e2e2e;
}
.patternstain .image {
  line-height: 0;
  position: relative;
}
.patternstain .image img {
  width: 100%;
  height: auto;
}

@media (min-width: 480px) {
  .patternstain {
    display: inline-block;
    vertical-align: top;
    width: 50%;
  }
  .patternstain .content .image {
    position: relative;
  }
  .patternstain .content .title,
.patternstain .content .desc {
    display: none;
  }
  .patternstain .content .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .patternstain .content .desc {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    right: 10%;
    padding: 0;
    background: transparent;
  }
  .patternstain .content:hover .image:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(46, 46, 46, 0.75);
  }
  .patternstain .content:hover .title,
.patternstain .content:hover .desc {
    display: block;
  }
  .patternstain:nth-child(odd) .content {
    margin-right: 2px;
  }
  .patternstain:nth-child(even) .content {
    margin-left: 2px;
  }
}
@media (min-width: 768px) {
  .patternstain {
    width: 25%;
  }
  .patternstain:nth-child(odd) .content, .patternstain:nth-child(even) .content {
    margin: 0;
  }
}
/* big-block hero */
.l-hero {
  max-width: 1200px;
  margin: 0 auto;
  max-height: 425px;
}

.hero {
  margin: 5% auto -15%;
  text-align: center;
  max-width: 1014px;
}
.hero img {
  display: block;
  margin: 0 auto;
  max-width: 80%;
  max-height: 430px;
  width: auto;
  height: auto;
}
@media (min-width: 480px) {
  .hero {
    margin: 5% auto -8%;
  }
}

.l-column1 {
  background-color: #fff;
  color: #000;
}
.l-column1 .intro h2 {
  color: #f38a00;
}

/* blocks-specific intro styles */
.l-intro {
  padding: 20px 0;
}
.l-intro .intro {
  max-width: 925px;
}

/* specific spacing for the patterns & stains intro */
.box-wc.wide-col .intro {
  padding: 60px 20px;
}/* HORIZONTAL / HORIZ. PERSISTENT CSS --------------- */
ul.menubeanh,
ul.menubeanh-persistent {
  list-style: none;
  position: relative;
  overflow: visible;
}
ul.menubeanh,
ul.menubeanh ul,
ul.menubeanh-persistent,
ul.menubeanh-persistent ul {
  padding: 0;
  margin: 0;
  list-style: none;
  /* background-color: #fff;  IE Requires a background color. */
}
ul.menubeanh li,
ul.menubeanh-persistent li {
  float: left;
  position: relative;
  list-style: none;
  /*
  	width: 8em;
	overflow: visible;
	*/
}
ul.menubeanh li ul,
ul.menubeanh-persistent li ul {
  display: none;
  position: absolute;
  top: 1.2em; /* IE */
  left: 0; /* IE */ /* background-color: #fff;  IE Requires a background color. */
}
ul.menubeanh > li > ul,
ul.menubeanh-persistent > li > ul {
  top: auto; /* Non-IE */
  left: auto; /* Non-IE */
}
/* (sub-)submenus */
ul.menubeanh ul,
ul.menubeanh ul ul,
ul.menubeanh ul ul ul,
ul.menubeanh-persistent ul,
ul.menubeanh-persistent ul ul,
ul.menubeanh-persistent ul ul ul {
  position: absolute;
  top: 0;
  left: 95%;
}
/* Interactive lines: show/hide menus */
ul.menubeanh li.over ul ul,
ul.menubeanh li.over ul ul ul,
ul.menubeanh-persistent li.over ul ul,
ul.menubeanh-persistent li.over ul ul ul {
  display: none;
}
ul.menubeanh li.over ul,
ul.menubeanh ul li.over ul,
ul.menubeanh ul ul li.over ul,
ul.menubeanh-persistent li.over ul,
ul.menubeanh-persistent ul li.over ul,
ul.menubeanh-persistent ul ul li.over ul {
  display: block;
}

/* VERTICAL CSS --------------- */
ul.menubeanv,
ul.menubeanv-persistent,
ul.menubeanv ul,
ul.menubeanv-persistent, ul {
  /* background-color: #fff;  IE requires a background color. */
}
ul.menubeanv li,
ul.menubeanv-persistent li {
  position: relative;
  /* background-color: #fff;  IE requires a background color. */
}
ul.menubeanv li ul {
  display: none;
  position: absolute;
  top: 2px; /* IE */
  left: 6em; /* IE */ 
  /* background-color: #fff;  IE requires a background color. */
}
ul.menubeanv li:hover ul,
ul.menubeanv li.over ul {
  display: block;
}

ul.menubeanv-persistent li.mi-parent {
  cursor: pointer;
}
ul.menubeanv-persistent li ul {
  display: none;
}
ul.menubeanv-persistent li.over ul {
  display: block;
}
