/* SLIDER */
#mainslider .carousel-item {
    height: calc(100vh - 140px);
}


#mainslider .carousel-item.imagem img{
    object-fit: cover;
    height: 100%;
}



#mainslider .carousel-item.video {
    position: relative;
    background-color: black;
    /* height: 100%; */
    /* min-height: 25rem; */
    width: 100%;
    overflow: hidden;
  }

  #mainslider .carousel-item.video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }



  #mainslider .carousel-item.video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0;
    z-index: 1;
  }





/*  */
@media (min-width: 1200px) and (max-width: 1400px) {}

/* XL Extra large devices (large desktops, 1200px and up)*/
@media (max-width: 1200px)  {}

/* LG Large devices (desktops, 992px and up)*/
@media (max-width: 992px) {

  #mainslider .carousel-item.imagem {
      height: 100%;
  }
  #mainslider .carousel-item.imagem img{
      object-fit: contain;
      height: 100%;
  }




}



/* MD Medium devices (tablets, 768px and up)*/
@media (max-width: 768px) {

}


@media (max-width: 992px) {


  #mainslider .carousel-item.video {
    min-height: calc(100vw * 0.8);
    height: auto;
  }

  #mainslider .carousel-item.video video {
    position: absolute;

    /* min-width: 150%; */
    width: 200vw;
    /* object-fit: cover; */

  }


  /* #mainslider .carousel-item.video.notplaying {
      height: auto;
      min-height: calc(100vw * 0.5);
  }
  #mainslider .carousel-item.video.notplaying video{
    object-fit: cover;
    height: auto;
    width: 100%;
  } */




}



