#boninstagramcarousel .instagram-carousel-container {
  background-color: #fff;
}
#boninstagramcarousel .boninstagram-title {
  position: relative;
  display: block;
  width: 100%;
  font-weight: 500;
  line-height: 110%;
  transition: all .3s ease;
  text-align: center;
}
#boninstagramcarousel .boninstagram-subtitle {
  position: relative;
  line-height: 110%;
  color: #7a7a7a;
  text-align: center;
  transition: all .3s ease;
  text-transform: none;
  font-weight: 300;
}
#boninstagramcarousel .boninstagram-container .instagram-home-title {
  position: relative;
  text-align: center;
}
#boninstagramcarousel .instagram-carousel-container.bonhidden {
  display: none;
}

#boninstagramcarousel .instagram-carousel-container ul {
  margin-bottom:0;
}

#boninstagramcarousel .instagram-carousel-container ul li a {
  display: flex;
  position: relative;
  max-height: 100%;
  min-height: 100%;
}
#boninstagramcarousel .boninstagram-video,
#boninstagramcarousel .instagram-carousel-container ul li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#boninstagramcarousel .instagram-carousel-container .instagram_cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: #fff;
  opacity: 0;
  text-align: center;
  transition: all .3s ease-out;
  background-color: rgba(0,0,0,0.7);
}
.instagram-menu-open {
  background: transparent;
  width: 45px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 45px;
  transition: all 0.3s linear;
  z-index: 998;
  border: none;
  cursor: pointer;
  opacity: 0;
  outline: none!important;
}
.instagram-menu-open  > div{
  width: 35px;
  height: 35px;
  border-radius: 10px;
  border: 2px #ffffff solid;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.instagram-menu-open * {
  display: inline-block;
}

.instagram-menu-open  > div > div:nth-child(1) {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px #ffffff solid;
}

.instagram-menu-open > div > div:nth-child(2) {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 50%;
  right: 4px;
  top: 3px;
}
.boninstagram-author {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 3px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  transition: all .3s ease;
  opacity: 0;
}
.boninstagram-author span {
  font-size: 12px;
  color: #fff;
  word-wrap: anywhere;
}
.boninstagram-date {
  text-align: center;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  transition: all .3s ease;
  opacity: 0;
  font-size: 12px;
  position: absolute;
  color: #fff;
  width: 100%;
  word-wrap: anywhere;
}
#boninstagramcarousel a:hover .instagram_cover,
#boninstagramcarousel a:hover .boninstagram-author,
#boninstagramcarousel a:hover .boninstagram-date,
#boninstagramcarousel a:hover .instagram-menu-open {
  opacity: 1;
  transition: all .5s ease-out;
}
#boninstagramcarousel .instagram-carousel-container ul li a:hover img{
  -webkit-filter: grayscale(50%);
}

#boninstagramcarousel .instagram-carousel-container ul li a:hover .instagram_cover:before{
  transform: scale(1);
}

#boninstagramcarousel .instagram-carousel-container .owl-nav {
  position: absolute;
  right: 10px;
}
#boninstagramcarousel .instagram-carousel-container .owl-theme .owl-nav [class*="owl-"] {
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
#boninstagramcarousel .instagram-carousel-container .owl-theme .owl-nav [class*="owl-"]:hover {
  background: #333;
}
#boninstagramcarousel .instagram-carousel-container .owl-theme .owl-dots .owl-dot.active span,
#boninstagramcarousel .instagram-carousel-container .owl-theme .owl-dots .owl-dot:hover span {
  background: #333;
}
#boninstagramcarousel.boninstagram-custom-page .boninstagram-title {
  text-transform: capitalize;
}
#boninstagramcarousel:not(.boninstagram-custom-page) .boninstagram-title {
  text-transform: uppercase;
}
#boninstagramcarousel .instagram-list:not(.owl-carousel-instagram) {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (min-width: 1881px){
  #boninstagramcarousel .boninstagram-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  #boninstagramcarousel .boninstagram-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  #boninstagramcarousel {
    margin: 30px 0 60px 0;
  }
}
@media (max-width: 1880px) {
  #boninstagramcarousel .boninstagram-title {
    font-size: calc(16px + (20 - 16) * ((100vw - 320px) / (1880 - 320)));
    margin-bottom: calc(5px + (10 - 5) * ((100vw - 320px) / (1880 - 320)));
  }
  #boninstagramcarousel .boninstagram-subtitle {
    font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (1880 - 320)));
    margin-bottom: calc(15px + (20 - 15) * ((100vw - 320px) / (1880 - 320)));
  }
  #boninstagramcarousel {
    margin: calc(15px + (30 - 15) * ((100vw - 320px) / (1880 - 320))) 0 60px 0;
  }
}
@media screen and (min-width: 577px) and (max-width: 991px){
  #boninstagramcarousel .instagram-list:not(.owl-carousel-instagram) li {
    flex: 33.3333333%;
  }
}

@media screen and (max-width: 576px){
  #boninstagramcarousel .instagram-list:not(.owl-carousel-instagram) li {
    flex: 50%;
  }
}