@charset "utf-8";

.date-publication {
  color: white;
  font-stretch: condensed;
  margin-top: 20px;
  margin-bottom: 3px;
}

.photobox_for_a {
    height: inherit;
    display: block;
}

.photobox{
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  height: 65vh;
}

.photobox:hover + .newsTitle a{
  color: white;
}

.photobox:hover +.newsTitle h4:after{
  transform: translateX(0);
}

.photobox__fillFromCenter{
  position: relative;
  overflow: hidden;
  height: inherit;
}

.photobox__fillFromCenter:before{
  content: "";
  width: 0;
  height: 0;
  padding: 25%;
  background-color: rgba(174, 27, 27, 0.7);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;

  transition: -webkit-transform calc(.4s) ease;
  -webkit-transition: -webkit-transform calc(.4s) ease;

  transform: translate(-50%, -50%) scale(0);
  -webkit-transform: translate(-50%, -50%) scale(0);
}

.photobox__previewImg{
  display: block;
  max-width: 100%;
  height: auto;
}

.photobox__label{
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  opacity: 0;  
  z-index: 3;

  transform: translate(-50%, 200%);
  -webkit-transform: translate(-50%, 200%);
  transition: opacity calc(.2s) cubic-bezier(0.71, 0.05, 0.29, 0.9), 
  -webkit-transform calc(.2s) cubic-bezier(0.71, 0.05, 0.29, 0.9);  
  -webkit-transition: opacity calc(.2s) cubic-bezier(0.71, 0.05, 0.29, 0.9), 
  -webkit-transform calc(.2s) cubic-bezier(0.71, 0.05, 0.29, 0.9);  
}

.photobox:hover .photobox__fillFromCenter:before{
  -webkit-transform: translate(-50%, -50%) scale(4);
  transform: translate(-50%, -50%) scale(4);
  -webkit-transition-duration: .8s;
  transition-duration: .8s;
}

.photobox:hover .photobox__label{
  opacity: 1;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition-duration: calc(.2s);
  transition-duration: calc(.2s);
  -webkit-transition-delay: calc(.1s);
  transition-delay: calc(.1s);
}



.newsTitle{
  font-stretch: condensed;
  color: #a5a5a5;
  margin-bottom: 20px;
}

.newsTitle h4{
  position: relative;
  display: block;
  overflow: hidden;
  padding: 5px 0px;
}

.newsTitle h4::after{
  content: '';
  z-index: -1;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: #da251c;
  transition: 0.5s cubic-bezier(1, -0.27, 0.09, 1.54);
}

.newsTitle h4:hover:after{
  transform: translateX(0);
}

.newsTitle a:active,
.newsTitle a {
  text-decoration: none;
  color: #f3f3f3;
  cursor: default;
}

.newsTitle a:hover{
  color: white;
  cursor: pointer;
}

.separator_romb {
  width: 100%;
}

.separator_romb > span:first-child {
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 5.5px solid white;
  display: table;
  position: relative;
  margin: -0.5px auto;
  z-index: 5;
}

.separator_romb > span:nth-child(2) {
  width: 100%;
  border-bottom: 1px solid white;
  display: table;
  position: relative;
  z-index: 4;
  margin-top: 0.5px;
}

.separator_romb > span:last-child {
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 5.5px solid white;
  display: table;
  margin: -0.5px auto;
  position: relative;
  z-index: 5;
}

@media (max-width: 992px){
  .newsTitle  {
    bottom: 15px;
    transition: 1s;
  }
}

@media (max-width: 576px){
  h4{
    font-size: 0.95rem;
  }

  .newsTitle{
    bottom: 10px;
    transition: 1s;
  }

  span.photobox__label {
    font-size: 14px;
  }
}