/* Global blog app style */
.sidebar {
  background-color: #e0e0e0;
  float: right;
  margin-left: 2%;
  width: 25%;
}

.sidebar:before {
  clear: both;
}

.sidebar h2 {
  border-bottom: 5px double #343740;
  color: #343740;
  margin: 0 0 10px 0;
  padding: 10px 10px 0 10px;
  text-align: center;
}

div.blog-item {
  background-color: #e0e0e0;
  border: 1px solid #ccc;
  margin: 0 0 10px;
}

.blog-text {
  padding: 10px;
}

.related-news {
  margin-bottom: 10px;
}

div.blog-list {
  color: #343740;
  width: 100%;
}

div.blog-lead p {
  color: #63656e;
  font-size: 15px;
  margin-bottom: 0;
  padding: 0;
}

div.blog-list li:last-child .blog-lead p {
  border-bottom: none;
}

span.tag {
  background-color: #63656e;
  border-radius: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: lighter;
  margin-right: 5px;
  padding: 3px 5px;
}

/* Post list style */
ul.blog-items {
  padding: 0;
}

ul.blog-items li {
  list-style-type: none;
}

ul.blog-items h2 a {
  font-size: 20px;
  letter-spacing: 0.5px;
  text-decoration: none;
}

ul.blog-items h2 a:hover {
  color: #5da2bf;
  text-decoration: none;
}

p.blog-more, p.blog-meta {
  display: none;
}


/* Post detail style */

div.blog-content {
  color: #393740;
}

div.blog-content p, div.blog-content ul {
  font-size: 14px;
  line-height: 27px;
}

div.blog-content ul {
  list-style-position: inside;
}

.blog-end {
  clear: both;
  /* border-bottom: 1px solid #353740; */
  margin-bottom: 10px;
  padding: 20px 0;
}

.blog-hr {
  border-bottom: 1px solid #353740;
}

p.blog-back {
  clear: both;
  padding-right: 2rem;
  text-align: right;
  text-transform: uppercase;
  color: #afafaf;
  transition: color .3s ease-in-out;
}

p.blog-back a {
  color: #afafaf;
}

p.blog-back a:hover {
  color: #f14400;
}

div.legal-text {
  font-style: italic;
  font-size: 10px;
}

div.legal-text a {
  color: #5da2bf;
  text-decoration: underline;
}

div.legal-text a:hover {
  color: #63656e;
  text-decoration: underline;
}

.forum-btn {
  
  background-color: #68b1c4;
  border-color: #5da2bf;
  color: #fff;
  display: block;
  float: right;
  height: 45px;
  margin: 5px 10px;
  min-width: 208px;
  padding: 5px;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.forum-btn i {
  float: left;
  font-size: 45px;
  padding: 0 5px;
}

.forum-btn-txt {
  float: right;
  font-size: 16px;
  padding: 0 5px;
}

.fb-like-button {
  padding: 5px;
}

.bg-fade:before {
background: -moz-linear-gradient(left,  rgba(224,224,224,1) 0%, rgba(224,224,224,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(224,224,224,1)), color-stop(100%,rgba(224,224,224,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(224,224,224,1) 0%,rgba(224,224,224,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(224,224,224,1) 0%,rgba(224,224,224,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(224,224,224,1) 0%,rgba(224,224,224,0) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(224,224,224,1) 0%,rgba(224,224,224,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#00e0e0e0',GradientType=1 ); /* IE6-9 */
z-index: 2;
}

/** SOCIAL MEDIA STUFF
{% include 'ffg_marketing/social_media_icons.html' %}
**/



/* Overriding styles according to designs */

.app-blog {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media screen and (min-width: 1024px) {
  .app-blog {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.app-blog .section-heading {
  margin-top: 4rem;
}

@media screen and (min-width: 768px) {
  .app-blog .section-heading {
    margin-top: 0;
  }
}

.blog-box {
  background-color: white;
  padding: 2rem 5rem;
}

.blog-main,
.blog-sidebar {
  margin-bottom: 3rem;
}

@media screen and (max-width: 991px) {
  .app-blog {
    padding-top: 0;
  }

  .blog-main {
    padding: 0;
  }
}

.blog-detail {
  width: 100%;
  box-shadow: -2px 3px 32px 4px rgba(28, 24, 28, 0.08);
}

.blog-visual {
  height: 257px;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.blog-visual::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 22px 23px 22px;
  border-color: transparent transparent white transparent;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.blog-header {
  background: transparent;
  border: none;
  height: auto; 
  margin: 0;
  margin-bottom: 2.5rem;
}

.blog-meta {
  text-align: right;
  color: #afafaf;
  font-size: 1.2rem;
}

.meta-productline {
  float: left;
}

.meta-productline a {
  color: #f14400;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
  margin-bottom: 1rem;
}

.blog-titlelead h1 {
  margin-bottom: 0;
}

.text {
  padding: 0;
}

.text h2 {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.text p.flavortext {
  display: block;
  text-align: center;
  font-family: 'nunitosemibold', sans-serif;
  font-size: 1.3rem;
  padding: 2rem 1.4rem;
  margin: 0 2rem 6rem;
  border-top: 2px solid #E3E3E3;
  border-bottom: 2px solid #E3E3E3; 
}

div.blog-lead p {
  font-size: 2.2rem;
  font-style: italic;
  color: #686868;
  margin: 0;
}

div.blog-content p, 
div.blog-content ul {
  font-family: 'nunitolight', sans-serif;
  font-size: 1.6rem;
  line-height: 2.5rem;
}

@media screen and (max-width: 991px) {
  div.blog-content p, div.blog-content ul {
    font-size: 2rem;
  }

  div.blog-content p, div.blog-content ul {
    line-height: 2.8rem;
  }
}

div.blog-content p {
  margin-top: 0;
}

div.blog-content p a,
div.blog-content ul a {
  font-family: 'nunitoregular', sans-serif;
  color: #f25011;
}

div.blog-content p img {
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .blog-visual {
    height: 387px;
  }
}

.blog__share-options {
  margin: 0;
  padding: 3rem 0 2rem;
}

.blog__share-options--below-heading {
  padding-top: 0;
}

.blog__share-options--centered {
  text-align: center;
}

.blog__share-options li {
  display: inline-block;
}

.blog__share-options li:not(:last-child) {
  margin-right: 3rem;
}

@media screen and (min-width: 768px) {
  .blog__share-options li:not(:last-child) {
    margin-right: 2rem;
  }
}

.blog__share-options-wrapper .blog__share-options li a {
  font-size: 1.6rem;
  font-family: 'nunitolight', sans-serif;
  color: #afafaf;
  transition: color .3s ease-in-out;
}

.blog__share-options-wrapper .blog__share-options li a:hover {
  color: #f14400;
}

.blog-footer .container-featured {
  padding-left: 0;
  padding-right: 0;
}


/* TABLE WITH LITTLE IMAGES IN LINE WITH TEXT */

table, tbody,  tr, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'nunitolight', sans-serif;
  font-size: 1.6rem;
  line-height: 2.1rem;
  color: #686868;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 3rem;
  margin-bottom: 3rem;
  border: none;
  position: relative;
  table-layout: auto;
  /* important due to possible table width overriden via cms */
  width: 100% !important;
  overflow: scroll;
}

table:before,
table:after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #afafaf;
  position: absolute;
  left: 0;
  z-index: 3;
}

table:before {
  top: -1rem;
}

table:after {
  bottom: -1rem;
}

td {
  padding: .5rem 2rem;
  min-width: 12rem;
  height: 6.4rem;
}

td:first-child {
  text-align: center;
}

td img {
  max-height: 5rem;
}

td:last-child {
  padding-right: 0;
  width: 100%;
}

td:not(:last-child) {
  border-right: 1px #afafaf solid;
}


/* RIGHT/LEFT ALIGNED PULL QUOTE */

.blog__quote-floated {
  width: 100%;
  padding: 2rem;
  font-size: 2.4rem;
  line-height: 1.4;
  font-style: italic;
  color: #f25011;
}

@media screen and (min-width: 768px) {
  .blog__quote-floated {
    width: 30%;
  }
}

.blog__quote-floated--left {
  float: left;
}

.blog__quote-floated--right {
  float: right;
}


/* CENTERED ALIGNED PULL QUOTE */

div.blog__quote-centered {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 4.5rem;
  margin-bottom: 3rem;
}

div.blog__quote-centered p {
  font-style: italic;
  color: #686868;
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.4;
  margin-bottom: 0;
  padding: 2rem 3rem;
  border-top: 1px #afafaf solid;
  border-bottom: 1px #afafaf solid;
}

div.blog__quote-centered:after {
  display: block;
  content: '';
  background-image: url("/static/images/red-quote.3cebcb5349ba.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: -2.5rem;
  left: 50%;
  margin-left: -2rem;
  z-index: 3;
}


/* FULL CONTAINER WIDTH IMAGE */

div.blog-content p.blog__full-width-image-container {
  text-align: center;
  margin-left: -5rem;
  margin-right: -5rem;
}

div.blog-content p.blog__full-width-image-container img {
  width: 100%;
}


/* FULL CONTAINER WIDTH IMAGE */

.blog__floated-images-container {
  text-align: center;
}

.blog__floated-images-container::after {
    content: '';
    display: table;
    clear: both;
}

div.blog-content p.blog__floated-images-container img {
  padding: 1rem;
  width: auto;
  max-width: 50%;
}


@media screen and (min-width: 768px) {
  div.blog-content p.blog__floated-images-container img {
    max-width: 50%;
  }
}

@media screen and (min-width: 992px) {
  div.blog-content p.blog__floated-images-container img {
    max-width: 30%;
  }
}

@media (max-width: 768px) {
  .blog-titlelead h1 {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    line-height: 4rem;
  }

  .blog-header {
    margin-bottom: 1.5rem;
  }

  .blog-box {
    padding: 2rem 2.5rem;
  }
}