:root {
  --plyr-color-main: #f8c000;
}

#content, .site-content {
  z-index: initial;
}
.cookie-message {
  z-index: 99999 !important;
}
.dropdown-toggle::after {
  border-top: none !important;
}
.offcanvas-backdrop.show {
  z-index: 99999;
}
.offcanvas.show:not(.hiding), .offcanvas.showing {
  z-index: 999999;
}


#mtn_videos #left_sidebar {
  position: sticky;
  top: 0;
  width: 250px;
  height: 100vh;
  background-color: white;
}
#mtn_videos #right_ctn {
  width: calc(100% - 250px);
}

#mtn_videos * {
  box-sizing: border-box;
}

#mtn_videos .c-badge {
  border-radius: 200px;
  border: 1px solid #A3A5A6;
  padding: 9.5px 12px;
  background: #F3F3F1;
  color: black !important;
}
#mtn_videos .c-badge.active {
  color: white !important;
  background: black !important;
}

#mtn_videos .text-info2 {
  color: #00678F;
}
#mtn_videos .btn.btn-outline-dark {
  border: 1px solid black !important;
  border-radius: 30px;
}
#mtn_videos .btn.btn-outline-dark:hover {
  border: 1px solid black !important;
  border-radius: 30px;
}


/* Offcanvas */

#mtn_videos .offcanvas {
  padding: 0 !important;
}
#mtn_videos .offcanvas .offcanvas-header {
  background: #fc0;
}


.my-offcanvas .btn-close {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: block;
  padding: 0;
  opacity: 1;
  background-size: 14px;
}

.my-offcanvas.offcanvas-start .btn-close {
  right: -45px;
  top: 15px;
}

.my-offcanvas.offcanvas-end .btn-close {
  left: -45px;
  top: 15px;
}

.my-offcanvas.offcanvas-bottom .btn-close {
  right: 15px;
  top: -45px;
}

.my-offcanvas.offcanvas-top .btn-close {
  right: 15px;
  bottom: -45px;
}

.my-offcanvas {
  width: 50% !important;
}

.my-offcanvas .offcanvas-header {
  border-bottom: 1px solid #ccc;
}
.my-offcanvas .offcanvas-body {
  padding: 0;
}

.loading {
  position: absolute;
  left: calc(50% - 30px);
  top: calc(50% - 30px);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 4px solid transparent;
}
.loading .effect-1,
.loading .effect-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-left: 4px solid #fc0;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.loading .effect-1 {
  animation: rotate 1s ease infinite;
}
.loading .effect-2 {
  animation: rotateOpacity 1s ease infinite 0.1s;
}
.loading .effect-3 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-left: 4px solid #fc0;
  -webkit-animation: rotateOpacity 1s ease infinite 0.2s;
  animation: rotateOpacity 1s ease infinite 0.2s;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.loading .effects {
  transition: all 0.3s ease;
}
#mtn_videos .mdi-facebook {
  background: #3B5998;
  color: white;
  padding: 5px 8px;
  border-radius: 8px;
}

#mtn_videos .mdi-twitter {
  background: #55ACEE;
  color: white;
  padding: 5px 8px;
  border-radius: 8px;
}

#mtn_videos .mdi-linkedin {
  background: #007bb5;
  color: white;
  padding: 5px 8px;
  border-radius: 8px;
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}
@keyframes rotateOpacity {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    opacity: 0.1;
  }
  100% {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
    opacity: 1;
  }
}


#mtn_videos .side-category.active {
  border-right: 4px solid black;
  font-weight: bold;
  color: black !important;
}

#mtn_videos .mtn-videos-list {
  /* gap: 30px 5px; */
}
#mtn_videos .mtn-videos-list .mtn-video {
  /* width: 32%; */
  color: black;
  text-decoration: none;
}
#mtn_videos .mtn-videos-list .mtn-video img {
  display: block;
  border-radius: 12px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: lightgray 50% / cover no-repeat;
  border: 1px solid #E4E5E6;
}
#mtn_videos .mtn-videos-list .mtn-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #00000044; */
  background-image: linear-gradient(180deg,transparent,80%,rgba(0,0,0,.9));
  border-radius: 12px;
  overflow: hidden;
  color: white;
}
#mtn_videos .mtn-videos-list .mtn-video .overlay i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8c000;
  color: white;
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
#mtn_videos .mtn-videos-list .mtn-video .overlay i:hover {
  background-color: black;
}
#mtn_videos .mtn-videos-list .mtn-video h6 {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#mtn_videos .mtn-videos-list .mtn-video .time-div {
  bottom: 10px;
  right: 15px;
  background-color: #00000055;
  color: white;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
}
#mtn_videos .mtn-videos-list .mtn-video h6 {
  font-size: 18px;
}
#mtn_videos .mtn-videos-list.for-home {
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#mtn_videos .mtn-videos-list.for-home::-webkit-scrollbar {
  display: none;
}

/* .video-details .plyr--video {
  border-radius: 15px;
} */
#mtn_videos .video-details video {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  /* border-radius: 15px; */
}

#mtn_videos .mobile-filters {
  display: none !important;
}

#mtn_videos .cat-search-ctn {
  background-color: #F8F8F8;
}
#mtn_videos .cat-search-ctn .cat-search {
  border-radius: 24px;
  border: 2px solid #202020;
  background: #FFF;
  padding-left: 30px;
  box-sizing: border-box;
  height: 40px;
}
#mtn_videos .cat-search-ctn .cat-search-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}



@media screen and (max-width: 768px) {
  #mtn_videos #left_sidebar {
    display: none;
  }
  #mtn_videos #right_ctn, #mtn_videos .videos-ctn {
    width: 100%;
  }
  #mtn_videos .videos-ctn {
    padding: 20px 15px !important;
  }
  .my-offcanvas {
    width: 100% !important;
    max-height: 90% !important;
    height: fit-content !important;
  }
  .my-offcanvas.offcanvas-bottom .btn-close {
    right: 20px;
    top: -45px;
  }
  #mtn_videos .mtn-videos-list:not(.for-home) .mtn-video {
    max-width: 100%;
  }
  #mtn_videos .mtn-videos-list.for-home .mtn-video {
    max-width: 100%;
  }
  #mtn_videos .mtn-videos-list.for-home {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  #mtn_videos .mtn-videos-list.for-home::-webkit-scrollbar {
    display: none;
  }
  #mtn_videos .mtn-videos-list.for-home .mtn-video {
    max-width: 80%;
  }

  #mtn_videos .actions-ctn {
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  #mtn_videos .actions-ctn>div:nth-child(2) {
    width: 100%;
  }
  #mtn_videos .actions-ctn>div:nth-child(2)>* {
    width: 100%;
  }


  #mtn_videos .mobile-filters {
    display: flex !important;
  }
  #menu_filters_content {
    font-size: 18px;
  }
  #menu_filters_content .side-category.active {
    border-right: none;
  }

  #mtn_videos .cat-search-ctn {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px;
  }
}