/* IN-POST WIDGET */

div.relatedproducts h3.rp-header {
	text-transform: uppercase;
	font-family: "Avenir LT W01 45 Book", sans-serif;
}

div.relatedproduct h4.rp-title {
	color: #58595b;
	font-family: "Avenir LT W01 45 Book", sans-serif;
	font-weight: normal;
	font-size: 1rem;
	letter-spacing: .5px;
	line-height: 1.1;
	margin: 0 0 10px;
	text-transform: capitalize;
	text-align: center;
}

div.relatedproduct p.rp-img {
    margin: 0;
	text-align: center
}

div.relatedproduct img {
    max-height: 139px;
}

body.full-width-content div.relatedproduct img {
    max-height: 160px;
}

/* FOOTER WIDGET */

.row.relatedproducts-footer {
    padding: 0 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.rp-footer {
    border-right: 1px solid #ccc;
	min-height: 175px;
}

.rp-footer:last-child {
    border-right: none;
}

.rp-footer p.rp-header {
    font-family: "Avenir LT W01 85 Heavy", sans-serif;
    margin: 20px 22px 15px 14px;
    font-size: 18px;
	line-height: 1em;
	letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
	color: #f05323;
}

.rp-footer p.rp-title {
    font-family: "Avenir LT W01 45 Book", sans-serif;
    font-size: 16px;
	max-width: 220px;
    margin: 0 auto;
	line-height: 1.25em;
}
.rp-footer img {max-height: 150px; width: auto; margin-bottom: 15px;}
.rp-footer div.relatedcategory {text-align:center;}

.relcontent-outer {
  position: fixed;
  width: 100%;
  bottom: 0;
  background: #fff;
  border-top: 2px solid #f05323;
}
.relcontent-inner {
  width: 70%;
  max-width: 850px;
  margin: 0 auto;
}

#relcontent-button {
  cursor: pointer;
  padding: 6px 15px;
  color: #fff;
  background: #f05323;
  text-align: center;
  text-transform: uppercase;
  height: auto;
  width: 85px;
  position: absolute;
  left: auto;
  right: 60px;
  bottom: auto;
  top: -41px;
  font-family: inherit;
  font-size: 14px;
  border: 0;
  border-radius: 5px 5px 0 0;
 }

#relcontent-container {
  display: none;
  background: #fff;
  width: 100%;
  height: 239px;
  text-align: left;
  padding: 15px 0;
  border: none;
  font-family: "Avenir LT W01 45 Book", sans-serif;
}

#relcontent-container a {
	color: #f05323;
}
#relcontent-container .arrow-left {
  position: absolute;
  width: 2em;
  height: 2rem;
  top: 70px;
  left: -10px;
  z-index: 1;
  font-size: 38px;
  cursor: pointer;
}

#relcontent-container .arrow-right {
  position: absolute;
  width: 0;
  height: 2rem;
  top: 70px;
  right:-10px;
  z-index: 1;
  font-size: 38px;
  cursor: pointer;
}

#relcontent-container p.rp-header {
    font-family: "Avenir LT W01 85 Heavy", sans-serif;
    margin: 50px 22px 15px 14px;
    font-size: 18px;
	line-height: 1em;
	letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center; 
	color: #f05323;
}

span.rp-heart {
	margin: 0 1px;
	font-size: .9em;
}

#relcontent-container p.rp-title {
  text-align: center;
}

.relatedproducts-footer {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.relatedproducts-footer::-webkit-scrollbar {
    display: none;
  }

.rp-footer {
  flex: none;
  width: 220px;
  padding: 0 10px 10px;
}

.rp-footer img.relcategory {
  max-width: 200px;
}

.row.relatedproducts-footer{
  padding: 0;
}

#relcontent-container {
  position: relative;
  max-width: 800px;
  padding: 0 10;
}

.relatedproducts-footer {
   /* snap mandatory on horizontal axis  */
  scroll-snap-type: x mandatory;
}

.relatedproducts-footer div.rp-footer {
  scroll-snap-align: center;
  position: relative;
}

@media screen and (max-width: 768px) {
	.rp-footer p.rp-title {
		font-size: 12px;
	}
	#relcontent-container {
    	position: relative;
    	max-width: 95%;
    	padding: 0 10;
	}
}
