﻿@font-face {
  font-family: "Gilroy-Bold";

  src: url("../fonts/gilroy-bold.eot"); /* IE 9 Compatibility Mode */
  src: url("../fonts/gilroy-bold.eot?#iefix") format("embedded-opentype"),
  /* IE < 9 */ url("../fonts/gilroy-bold.woff2") format("woff2"),
  /* Super Modern Browsers */ url("../fonts/gilroy-bold.woff") format("woff"),
  /* Firefox >= 3.6, any other modern browser */ url("../fonts/gilroy-bold.ttf") format("truetype"),
  /* Safari, Android, iOS */ url("../fonts/gilroy-bold.svg#gilroy-bold") format("svg"); /* Chrome < 4, Legacy iOS */
}

button {
  background-color: inherit;
  border: 0 solid #000000;
}

.link-button {
  position: absolute;
  z-index: 4;

  display: inline-block;
  width: 199px;
  height: 78px;
  margin-top: 10px;
  overflow: hidden;

  font-weight: 900;
  font-size: 22px;
  line-height: 78px;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);

  background-image: -webkit-linear-gradient(90deg, #f64156 0%, #f4102b 100%);
  background-image:     -ms-linear-gradient(90deg, #f64156 0%, #f4102b 100%);
  border-radius: 7px;
  outline: none;
  -webkit-box-shadow: 0 4px 0 0 #b60116;
          box-shadow: 0 4px 0 0 #b60116;

  -webkit-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

.link-button::before {
  content: "Забрать выигрыш";
  position: absolute;
  top: 0;
  right: 0;

  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0;

  background: -webkit-gradient(linear, left bottom, left top, from(#f4102b), to(#f64156));
  background: -webkit-linear-gradient(bottom, #f4102b 0%, #f64156 100%);
  background:      -o-linear-gradient(bottom, #f4102b 0%, #f64156 100%);
  background:         linear-gradient(0deg, #f4102b 0%, #f64156 100%);
  border-radius: 5px;
  opacity: 0;

  -webkit-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

.link-button:hover::before {
  opacity: 1;
  /*-webkit-box-shadow: 0px 4px 0px 0px #f1cb46;
      box-shadow: 0px 4px 0px 0px #f1cb46;*/
}

.link-button:hover {
  -webkit-box-shadow: 0 4px 0 0 #b60116;
          box-shadow: 0 4px 0 0 #b60116;
}

.link-button::after {
  content: "";
  position: absolute;
  top: -110px;
  left: -140px;
  z-index: 7;

  display: block;
  width: 35px;
  height: 300px;
  margin-left: 60px;

  background: rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: 0 0 75px rgba(255, 255, 255, 0.4);
          box-shadow: 0 0 75px rgba(255, 255, 255, 0.4);
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  /*transition: all 0.5s ease;*/

  -webkit-animation-name: shine;
          animation-name: shine;
  -webkit-animation-duration: 2.5s;
          animation-duration: 2.5s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  /*animation: shine 1.2s ease;*/
}

@-webkit-keyframes shine {
  0% {
    left: -140px;
  }
  100% {
    left: 760px;
  }
}

@keyframes shine {
  0% {
    left: -140px;
  }
  100% {
    left: 760px;
  }
}

#main-link-5 {
  top: 310px;
  left: 50%;

  width: calc(100% - 60px);

  font-size: 20px;
  font-size: 20px;
  font-family: "Gilroy Bold", arial;

  background-image: -webkit-linear-gradient(90deg, #f64156 0%, #f4102b 100%);
  background-image: -webkit-linear-gradient(90deg, #f64156 0%, #f4102b 100%);
  transform: translateX(-50%);
  cursor: pointer;
}

#main-link-5:before {
  content: "Забрать выигрыш";

  background-image: -webkit-linear-gradient(90deg, #f4102b 0%, #f64156 100%);
  background-image:     -ms-linear-gradient(90deg, #f4102b 0%, #f64156 100%);
}

.icons {
  position: absolute;
  top: 20px;
  right: 225px;
  z-index: 99;
}

@media screen and (max-width: 1023px) {
  .icons {
    right: 0;
  }
}

@media screen and (max-width: 780px) {
  .icons {
    display: none;
  }
}

.comm-item {
  position: relative;

  margin-bottom: 30px;
  padding-left: 60px;
}

.comm-ava {
  position: absolute;
  top: 0;
  left: 0;

  width: 50px;
}

.comm-name {
  margin-bottom: 20px;

  font-weight: bold;
}

.pic {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.zen-banner-place .widget {
  width: auto;
}

.zen-banner-place .widget__title,
.zen-banner-place .widget_need-edges .widget__title {
  margin-right: 17px;
  margin-left: 17px;
}

.zen-banner-place .widget__cards-scroller {
  padding: 12px 0 46px 17px;
}

.zen-banner-place .widget-card {
  margin: 0 16px 0 0;
}

.zen-banner-place .widget__edge {
  top: 70px;
}

@media screen and (min-width: 64em) {
  .zen-banner-place .widget {
    margin-left: 17px;
  }

  .zen-banner-place .widget__title,
  .zen-banner-place .widget_need-edges .widget__title {
    margin-right: 0;
    margin-left: 0;
  }

  .zen-banner-place .widget__cards-scroller {
    padding: 12px 0 46px 0;
  }
}

@media only screen and (max-width: 600px) {
  #main-link-5 {
    top: 265px;

    width: calc(100% - 50px);
  }
}
@media only screen and (max-width: 500px) {
  #main-link-5 {
    top: 265px;

    width: calc(100% - 40px);
  }
}
@media only screen and (max-width: 365px) {
  #main-link-5 {
    top: 285px;

    width: calc(100% - 35px);
  }
}


img.otz {
  display: block;
  width: 100%;
  max-width: 250px;
  margin-right: auto;
  margin-left: 0;
}

.rub-ramka {
  display: block;
  max-width: 880px;
  margin: 20px auto !important;
  padding: 12px 15px !important;

  font-weight: bold;
  font-size: 18px;
  line-height: 25px;
  font-family: roboto condensed, arial;
  text-align: left;
  color: rgb(8, 8, 8);
  text-indent: 0 !important;

  background: rgba(189, 61, 77, 0.04);
  border: 2px solid;
  border-color: #bd3d4d;
  border-radius: 4px;
}
.rub-ramka p {
  font-size: 1.1em;
  line-height: 1.2em;
  text-align: center;
}
.comment_date {
  font-size: 12px;
}

@media (max-width: 991px) {
  .comm-item:not(:nth-last-child(-n + 5)) {
    display: none;
  }
}
