.overlay {
  width: 100%;
  background: rgba(0,0,0,.75);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.videoBox {
  position: fixed;
  width: 90%;
  left: 50%;
  top:50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 20px;
  background: #fff;
  text-align: center;
  border-radius: 5px;
}
.videoBox video {
  width: 100%;
}
.close {
  width: 36px;
  height: 36px;
  position: absolute;
  top: -18px;
  right: -18px;
  display: block;
  background: transparent url(../images/close.png) no-repeat center center;
  opacity: .8;
}
.close:hover {
  opacity: 1;
}
@media (min-width: 767px) {
  .videoBox {
    width: 80%;
  }
}



.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 260px;
    height: 200px;
    object-fit: cover;
  }
  .swiper-pagination{
    position: unset !important;
  }


  .lightbox {
    background-color: fade(black, 80%);  
    overflow: scroll;
    position: fixed;
    display: none;
    z-index: 1;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    
  }

  .lightbox-container {
    position: relative;
    max-width: 960px;
    margin: 7% auto;
    display: block;    
    padding: 0 3%;
    height: auto;
    z-index: 10;
    
    @media screen and (max-width: 768px) { margin-top: 10%; }
    @media screen and (max-width: 414px) { margin-top: 13%; }
  }
  

  .lightbox-content {
    box-shadow: 0 1px 6px fade(black, 70%);
  }
  
  .lightbox-close {
    text-transform: uppercase;    
    background: #ffffff;
    position: absolute; 
    font-weight: 300;      
    font-size: 12px;
    display: block;
    border: none;
    color: black;
    top: -22px;
    right: 4%;
  }


  .video-container {  
      padding-bottom: 56.25%;
      position: relative;  
      padding-top: 30px; 
      overflow: hidden;
      height: 0; 
      background-color: #555555 !important;
  }
  
  .video-container iframe,
  .video-container object,
  .video-container embed {
      position: absolute;
      height: 100%;  
      width: 100%;  
      left: 0;  
      top: 0;
  }
  
  /* IGNORE FORM THIS POINT ON */
  
  body {
    background: #efefef;
  }
  
  #container {
    border-radius: 4px;
    max-width: 300px;
    height: auto;
    padding: 50px;
    background: white;
    margin: 100px auto;
  }
  
  #playme {
    background: #007fed;
    text-transform: uppercase;
    font-weight: 300;
    border: none;
    color: white;
    padding: 10px 15px;
    display: inline-block;
    font-size: 14px;
    margin: 0;
  }


  .back{
    text-decoration: none;
    display: inline-block;
    padding: 8px 16px;
    background-color: #555555;
    color: black;
    margin-bottom: 5px;
    font-weight: 900;
    font-size: 18px;
  }
  
  .back:hover {
    background-color: #212529;
    color: white;
  }

  .card-img-top{
    height : auto !important;
  }
  .card{
    width: 100% !important;
  }

  
@media (min-width: 1200px){
.container, .container-lg, .container-md, .container-sm, .container-xl {
  max-width : 960px !important;
  }
}

#material-tabs{
  display: flex !important;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 0;
  cursor: pointer;
}

  @media screen and (max-width: 420px) {

  .video-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96%;
  }
}



.backbutton{
  text-decoration: none;
  display: inline-block;
  color: black;
  margin-bottom: 5px;
  font-weight: 900;
  font-size: 18px;
  width: 64px;
}

.backbutton > img{
  width: 64px;
}