.front-image-sale:first-child {
}
.front-image-sale{
  height: 400px;
  overflow: hidden;
  display: none;
  position: relative;
  margin-bottom: 35px;
  /*background-color: #004f6d;*/
  background-color: #0d222b;
  border-radius: 5px;
}
.front-image-sale a{
  display: flex;
  text-decoration: none;
  font-weight: normal;
}
.front-image-sale a img {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.front-image-sale-inner {
  position: absolute;
  z-index: 5;
  width: 100%;
  text-align: center;
  margin-top: 150px;
  cursor: pointer;
}
.front-image-sale-inner h2 {
  font-size: 40px;
  margin-bottom: -15px !important;
  text-transform: uppercase;
}
.front-image-sale-inner p {
  font-size: 25px;
  margin-bottom: 45px;
  text-transform: uppercase;
  margin-top: 5px;
}
.front-image-sale-inner span {
  font-size: 16px;
  padding: 15px 55px;
  background: rgb(252, 241, 138);
  background: -moz-linear-gradient(
    top,
    rgba(252, 241, 138, 1) 0%,
    rgba(241, 218, 54, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(252, 241, 138, 1) 0%,
    rgba(241, 218, 54, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(252, 241, 138, 1) 0%,
    rgba(241, 218, 54, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#fcf18a", endColorstr="#f1da36", GradientType=0 );
  color: #000;
}
.front-image-sale-inner a {
  text-decoration: none;
  color: #000;
}
.front-image-sale-inner a:hover {
  color: #000;
}
.front-designselv .front-image-sale-inner > h2 > a {
  color: rgb(0, 133, 183);
  text-shadow: 2px 2px #000;
}
.front-designselv .front-image-sale-inner > h2 > a:hover {
  color: rgb(0, 133, 183);
}
.front-justwood .front-image-sale-inner > h2 > a {
  text-decoration: none;
  color: #fff;
}
.front-justwood .front-image-sale-inner > h2 > a:hover {
  color: #fff;
}
.front-justwood .front-image-sale-inner > p > a,
.front-justwood .front-image-sale-inner > span > a {
  text-decoration: none;
  color: #fff;
}
.front-justwood .front-image-sale-innerspan > p > a:hover,
.front-justwood .front-image-sale-innerspan > span > a:hover {
  color: #fff;
}
.front-justwood .front-image-sale-inner {
  margin-top: 90px;
}
.front-justwood .front-image-sale-inner p {
  margin-top: 40px;
}
.front-image-sale.front-sale-image p a,.front-image-sale.front-sale-image h2 a  {
  color:white;
}
.front-image-sale .ribbon {
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 1;
  overflow: hidden;
  width: 228px;
  height: 205px;
  text-align: right;
}
.front-image-sale .ribbon span {
  font-size: 25px;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 35px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 280px;
  display: block;
  background: #79a70a;
  background: linear-gradient(#fcf18a 0%, #f1da36 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 70px;
  right: -54px;
}
.front-image-sale .ribbon span a {
  text-decoration: none;
}
.front-image-sale .ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  /* border-left: 3px solid #f1da36; */
  /* border-right: 3px solid transparent; */
  /* border-bottom: 3px solid transparent; */
  /* border-top: 3px solid #f1da36; */
}
.front-image-sale .ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  /* border-left: 3px solid transparent; */
  /* border-right: 3px solid #f1da36; */
  /* border-bottom: 3px solid transparent; */
  /* border-top: 3px solid #f1da36; */
}
@media (max-width: 900px) {
  .front-image-sale {
    width: 100%;
    margin-bottom: 30px;
    height: 400px;
  }
  .front-image-sale-inner h2 {
    font-size: 20px;
  }
  .front-image-sale-inner p {
    font-size: 15px;
    margin-top: 12px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .front-image-sale-inner span {
    padding: 15px 30px;
  }
  .front-image-sale-inner {
    /* width: 90%; */
    margin-top: 90px;
  }
  .front-image-sale.front-marmorline a img {
    top: 0;
    width: 200%;
    left: -160px;
  }
  .front-image-sale.front-marmorline p a, .front-image-sale.front-sale-image p a,.front-image-sale.front-sale-image h2 a  {
      color:white;
  }
  .front-image-sale.front-marmorline .front-image-sale-inner {
    /* width: 90%; */
    margin-top: 90px;
  }
  .front-image-sale.front-justwood a img {
    width: inherit;
    left: 0px;
    height: 100%;
  }
  .front-image-sale .ribbon {
    transform: translate(23%, -22%) scale(0.5);
    top: -10px;
    right: -10px;
  }
  .front-image-sale .ribbon span {
    top: 78px;
  }
}

@media (max-width: 700px){
    .front-image-sale {
      margin-bottom: 12px;
      height: 350px;
    }
}

@media (max-width: 400px){
    .front-image-sale {
      margin-bottom: 12px;
      height: 280px;
    }
}
