@charset "utf-8";
/* CSS Document */
/*
Cards
------------------*/
.main-cont {
  padding: 0;
  margin: 0;
}
.news-row {
  margin: 0;
  margin-top: 50px;
  margin-bottom: 50px;
}
.news-block {
  margin: auto;
  padding: 0;
  background-color: transparent;
  max-width: 1400px;
  min-width: 100px;
  border: 0px solid transparent;
  /*  -o-border-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.75) 0%, rgba(245, 245, 245, 0.75) 0%, rgba(245, 245, 245, 0.75) 16.6%, rgb(245, 245, 245) 37.8%, rgb(245, 245, 245) 48.8%, rgb(254, 254, 254) 53.1%, rgba(245, 245, 245, 0.75) 79.4%, rgba(245, 245, 245, 0.75) 84.3%) !important;
  border-image: -webkit-gradient(linear, left top, right bottom, from(rgba(255, 255, 255, 0.75)), color-stop(0%, rgba(245, 245, 245, 0.75)), color-stop(16.6%, rgba(245, 245, 245, 0.75)), color-stop(37.8%, rgb(245, 245, 245)), color-stop(48.8%, rgb(245, 245, 245)), color-stop(53.1%, rgb(254, 254, 254)), color-stop(79.4%, rgba(245, 245, 245, 0.75)), color-stop(84.3%, rgba(245, 245, 245, 0.75))) !important;
  border-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.75) 0%, rgba(245, 245, 245, 0.75) 0%, rgba(245, 245, 245, 0.75) 16.6%, rgb(245, 245, 245) 37.8%, rgb(245, 245, 245) 48.8%, rgb(254, 254, 254) 53.1%, rgba(245, 245, 245, 0.75) 79.4%, rgba(245, 245, 245, 0.75) 84.3%) !important;
  border-image-slice: 1 !important;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  -webkit-animation: blockAppear .6s ease-in-out;
  animation: blockAppear .6s ease-in-out;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;*/
}
.underlay {
  /*display: none;*/
  margin: 0;
  padding: 0;
  max-height: 350px;
  max-width: 340px;
}
.card {
  margin: 0;
  width: 340px;
  max-height: 350px;
  max-width: 340px;
  background-color: transparent;
  border: 20px solid transparent !important;
  /*  -o-border-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.75) 0%, rgba(245, 245, 245, 0.75) 0%, rgba(245, 245, 245, 0.75) 16.6%, rgba(245, 245, 245, 0.75) 79.4%, rgba(245, 245, 245, 0.75) 84.3%) !important;
  border-image: -webkit-gradient(linear, left top, right bottom, from(rgba(255, 255, 255, 0.75)), color-stop(0%, rgba(245, 245, 245, 0.75)), color-stop(16.6%, rgba(245, 245, 245, 0.75)), color-stop(79.4%, rgba(245, 245, 245, 0.75)), color-stop(84.3%, rgba(245, 245, 245, 0.75))) !important;
  border-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.75) 0%, rgba(245, 245, 245, 0.75) 0%, rgba(245, 245, 245, 0.75) 16.6%, rgba(245, 245, 245, 0.75) 79.4%, rgba(245, 245, 245, 0.75) 84.3%) !important;
  border-image-slice: 1 !important;
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition: transform 0.6s ease, -webkit-transform 0.6s ease;
  -webkit-animation: blockAppear .6s ease-in-out;
  animation: blockAppear .6s ease-in-out;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;*/
}
@-webkit-keyframes blockAppear {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  ready.css:1 40% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-box-shadow: 0 10px 35px rgba(0, 0, 0, .15), 0 1px 0 rgba(0, 0, 0, .15);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .15), 0 1px 0 rgba(0, 0, 0, .15);
  }
  ready.css:1 80% {
    opacity: 1;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
  ready.css:1 100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}
@keyframes blockAppear {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  ready.css:1 40% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-box-shadow: 0 10px 35px rgba(0, 0, 0, .15), 0 1px 0 rgba(0, 0, 0, .15);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .15), 0 1px 0 rgba(0, 0, 0, .15);
  }
  ready.css:1 80% {
    opacity: 1;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
  ready.css:1 100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}
.card:hover {
  z-index: 999;
  max-height: 800px;
  width: 300px;
  max-width: 300px;
  border: none !important;
  border-right: 60px solid transparent !important;
  border-bottom: 20px solid transparent !important;
  margin-right: -20px;
  -webkit-transform: translate(-30px, -50px);
  transform: translate(-30px, -50px);
}
.card:before {
  -webkit-box-shadow: none;
  box-shadow: none;
  display: block;
  content: normal;
  position: absolute;
  width: 100%;
  max-width: 300px;
  height: 100%;
  -webkit-transition: -webkit-box-shadow 0.6s ease;
  transition: -webkit-box-shadow 0.6s ease;
  transition: box-shadow 0.6s ease;
  transition: box-shadow 0.6s ease, -webkit-box-shadow 0.6s ease;
}
.card:hover:before {
  max-width: 300px;
  -webkit-box-shadow: 60px 60px 20px RGBA(142, 142, 142, .6);
  box-shadow: 60px 60px 20px RGBA(142, 142, 142, .6);
}
.card:hover .card-img-top {
  height: 300px;
}
.card:hover .card-block {
  width: 300px;
  background-image: -webkit-gradient(linear, right bottom, left top, from(rgb(14, 151, 233, 0.52)), color-stop(50%, rgb(2, 210, 242, 0.59)), color-stop(51%, rgb(20, 156, 223, 0.46)), to(rgb(21, 217, 238, 0.75)));
  background-image: linear-gradient(to top left, rgba(14, 151, 233, 0.52) 0%, rgba(12, 210, 242, 0.59) 50%, rgba(20, 156, 223, 0.46) 51%, rgba(21, 217, 238, 0.75) 100%);
}
.card:hover .card-title {
  color: white;
}
.card:hover .card-text {
  display: block !important;
  color: white;
}
.card-block {
  padding-top: 10px;
  /*padding-left: 10px;*/
  background-color: transparent;
  background-image: -webkit-gradient(linear, left top, right bottom, from(rgba(19, 228, 228, 0)), color-stop(0%, rgba(16, 241, 220, 0)), color-stop(16.6%, rgba(15, 162, 220, 0.56)), color-stop(37.8%, rgb(245, 245, 245, 0)), color-stop(48.8%, rgb(9, 177, 243, 0)), color-stop(53.1%, rgb(13, 218, 228, 0.36)), color-stop(79.4%, rgba(245, 245, 245, 0)), color-stop(84.3%, rgba(15, 154, 237, 0.31)));
  background-image: linear-gradient(to bottom right, rgba(19, 228, 228, 0) 0%, rgba(16, 241, 220, 0) 0%, rgba(15, 162, 220, 0.56) 16.6%, rgba(245, 245, 245, 0) 37.8%, rgba(9, 177, 243, 0) 48.8%, rgba(13, 218, 228, 0.36) 53.1%, rgba(245, 245, 245, 0) 79.4%, rgba(15, 154, 237, 0.31) 84.3%);
  background-repeat: no-repeat;
}
.card-text {
  display: none;
  text-align: center;
}
.card-img-top {
  width: 300px;
  height: 250px;
  background-color: #fff;
  -webkit-transition: height 0.8s ease;
  transition: height 0.8s ease;
  background-size: cover;
}
@media (max-width: 1120px) {
  .bar-cont {
    width: 100%;
  }
  .news-block {
    max-width: 720px;
  }
  .card:hover {
    margin-right: -20px;
  }
  .card:hover .card-block {
    width: 300px;
  }
}
@media (max-width: 800px) {
  .news-block {
    min-width: 380px;
  }
  .card:hover {
    border-left: 20px solid transparent !important;
    margin-right: -40px;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
  }
  .card:hover:before {
    -webkit-box-shadow: 0px 60px 40px RGBA(142, 142, 142, .5);
    box-shadow: 0px 60px 40px RGBA(142, 142, 142, .5);
  }
  .card:hover .card-block {
    width: 300px;
  }
}
@media (max-width: 580px) {
  .news-block {
    max-width: 380px;
  }
}
