/* Base  *//*Слайдер научные направления*/
 
.owl-carousel {
  position: relative; }
.owl-carousel .owl-item {
    opacity: .4; }
.owl-carousel .owl-item.active {
      opacity: 1; }
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%; }
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
      position: absolute;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      margin-top: -10px;
      color: #afa939 !important;
      -moz-transition: all 0.7s ease;
      -o-transition: all 0.7s ease;
      -webkit-transition: all 0.7s ease;
      -ms-transition: all 0.7s ease;
      transition: all 0.7s ease;
      opacity: 0; }
.owl-carousel .owl-nav .owl-prev span:before,
.owl-carousel .owl-nav .owl-next span:before {
        font-size: 30px; }
.owl-carousel .owl-nav .owl-prev {
      left: 0; }
.owl-carousel .owl-nav .owl-next {
      right: 0; }
.owl-carousel .owl-dots {
    text-align: center; }
.owl-carousel .owl-dots .owl-dot {
      width: 10px;
      height: 10px;
      margin: 5px;
      border-radius: 50%;
      background: #e6e6e6;
      position: relative; }
      .owl-carousel .owl-dots .owl-dot:after {
        position: absolute;
        top: -2px;
        left: -2px;
        right: 0;
        bottom: 0;
        width: 14px;
        height: 14px;
        content: '';
        border: 1px solid #e6e6e6;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        border-radius: 50%; }
.owl-carousel .owl-dots .owl-dot.active {
        background: #b3b3b3; }
.owl-carousel:hover .owl-nav .owl-prev,
.owl-carousel:hover .owl-nav .owl-next {
    opacity: 1; }
.owl-carousel:hover .owl-nav .owl-prev {
    left: -25px; }
.owl-carousel:hover .owl-nav .owl-next {
    right: -25px; }

.owl-custom-nav {
  float: right;
  position: relative;
  z-index: 10;
  border: 1px solid red; }
.owl-custom-nav .owl-custom-prev,
.owl-custom-nav .owl-custom-next {
    padding: 10px;
    font-size: 30px;
    background: #ccc;
    line-height: 0;
    width: 60px;
    text-align: center;
    display: inline-block; }
/*.owl-carousel {
    margin: 0;
    padding: 1em 0 2em 0;
    position: relative; }*/



/***/

.case {
  height: 350px;
  margin-bottom: 30px;
  z-index: 0;
  position: relative;
  -webkit-box-shadow: 0px 5px 21px -14px rgba(0, 0, 0, 0.14);
  -moz-box-shadow: 0px 5px 21px -14px rgba(0, 0, 0, 0.14);
  box-shadow: 0px 5px 21px -14px rgba(0, 0, 0, 0.14); }
  
.case:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: #000;
    opacity: 0;
    z-index: -1;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease; }
 
.case .text {
    z-index: 1;
    width: 100%;
     opacity: 1; 
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease; }
  
.case .text h3 {
      color: #fff;
      font-size: 28px; 
      font-weight: bold;
      width: 90%;
      margin: auto;}
@media (max-width:768px) {
    .case .text h3 {
      font-size: 22px; 
    }
  }    
/*.case .text span {
      color: rgba(255, 255, 255, 0.9); }*/
.case:after {
    opacity: .3;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px; }

