#cams_custom_videos_gallery * {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: left;
}

#cams_custom_videos_gallery a {
  text-decoration: none;
  color: #000;
}

#cams_custom_videos_gallery input, #cams_custom_videos_gallery select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #ccc;
  padding: 5px;
}

#cams_custom_videos_gallery input::-webkit-input-placeholder, #cams_custom_videos_gallery select::-webkit-input-placeholder {
  color: #ccc;
}

#cams_custom_videos_gallery input:-ms-input-placeholder, #cams_custom_videos_gallery select:-ms-input-placeholder {
  color: #ccc;
}

#cams_custom_videos_gallery input::-ms-input-placeholder, #cams_custom_videos_gallery select::-ms-input-placeholder {
  color: #ccc;
}

#cams_custom_videos_gallery input::placeholder, #cams_custom_videos_gallery select::placeholder {
  color: #ccc;
}

#cams_custom_videos_gallery body {
  font-size: 16px;
  font-family: lato,Arial, Helvetica, sans-serif;
}

#cams_custom_videos_gallery h2 {
  font-size: 24px;
  font-weight: normal;
  color: #333;
}

#cams_custom_videos_gallery .d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#cams_custom_videos_gallery .d-block {
  display: block !important;
}

#cams_custom_videos_gallery .justify-between {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#cams_custom_videos_gallery .align-center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#cams_custom_videos_gallery .container {
  margin: auto;
  padding: 0 20px;
}

#cams_custom_videos_gallery .search_custom_video > * {
  display: inline-block;
  vertical-align: middle;
}

#cams_custom_videos_gallery .search_custom_video label {
  position: relative;
  margin-left: 20px;
}

#cams_custom_videos_gallery .search_custom_video input {
  width: 200px;
  height: 30px;
  padding-right: 30px;
}

#cams_custom_videos_gallery .search_custom_video .icon {
  position: absolute;
  top: 50%;
  right: 1px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 18px;
  color: #aaa;
  padding: 5px 6px;
  z-index: 1;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: #fff;
  cursor: pointer;
}

#cams_custom_videos_gallery .sort_custom_video {
  font-size: 14px;
  color: #666;
}

#cams_custom_videos_gallery .sort_custom_video > * {
  display: inline-block;
}

#cams_custom_videos_gallery .sort_custom_video label {
  position: relative;
}

#cams_custom_videos_gallery .sort_custom_video .sort_select {
  position: relative;
}

#cams_custom_videos_gallery .sort_custom_video .sort_value {
  display: inline-block;
  min-width: 135px;
  width: 100%;
  height: 30px;
  padding: 5px 25px 5px 5px;
  border: 1px solid #ccc;
  cursor: pointer;
}

#cams_custom_videos_gallery .sort_custom_video .icon {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 10px;
  pointer-events: none;
}

#cams_custom_videos_gallery .sort_custom_video .sort_dropdown {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  height: 0;
  width: 100%;
  top: calc(100%);
  right: 0;
  height: 0;
  z-index: 99;
  -webkit-transition: height .5s, opacity .7s, visibility .7s;
  transition: height .5s, opacity .7s, visibility .7s;
  padding-top: 10px;
  overflow: hidden;
}

#cams_custom_videos_gallery .sort_custom_video .sort_dropdown:before {
  position: absolute;
  top: 0px;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #CECECE;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

#cams_custom_videos_gallery .sort_custom_video .sort_dropdown:after {
  content: '';
  width: 100px;
  display: block;
  position: absolute;
  background: #f00;
  z-index: 1;
}

#cams_custom_videos_gallery .sort_custom_video .sort_dropdown > * {
  display: block;
  line-height: 40px;
}

#cams_custom_videos_gallery .sort_custom_video .sort_dropdown input[type="radio"] {
  display: none;
}

#cams_custom_videos_gallery .sort_custom_video .sort_dropdown label {
  background: #CECECE;
  padding: 0px 10px;
  cursor: pointer;
}

#cams_custom_videos_gallery .sort_custom_video .sort_dropdown label:hover {
  background: #F2F5F7;
  -webkit-transition: background .3s;
  transition: background .3s;
}

#cams_custom_videos_gallery .sort_custom_video .sort_select:hover .sort_dropdown {
  visibility: visible;
  height: 90px;
  opacity: 1;
}

#cams_custom_videos_gallery .custom_videos_filter_result {
  display: block;
  margin-bottom: 30px;
  font-size: 14px;
}

#cams_custom_videos_gallery .custom_videos_filter_result span {
  font-weight: bold;
}
#cams_custom_videos_gallery .custom_videos_filter {
  position: absolute;
  z-index: 1;
  padding: 0 20px;
  width: 100%;
  background-color: white;  
}
#cams_custom_videos_gallery .custom_videos_list {
  padding: 72px 20px 0 20px;
  font-size: 0;
}

#cams_custom_videos_gallery .custom_videos_cell {
  display: inline-block;
  width: 100%;
  max-width: calc(20% - 28px / 5);
  margin-right: 7px;
  font-size: 16px;
  margin-bottom: 27px;
  opacity: 1;
  -webkit-transition: .5s;
  transition: .5s;
}

#cams_custom_videos_gallery .custom_videos_cell:nth-child(5n+1) {
  margin-right: 0;
}
.bio_top_left #cams_custom_videos_gallery .custom_videos_cell:nth-child(5n+1) {
  margin-right: 7px;
}
.bio_top_left #cams_custom_videos_gallery .custom_videos_cell:nth-child(5) {
  margin-right: 0;
}

@media screen and (min-width: 961px) and (max-width: 1200px) {
  #cams_custom_videos_gallery .custom_videos_cell {
    max-width: calc(100% / 4 - 21px / 4);
  }
  #cams_custom_videos_gallery .custom_videos_cell:nth-child(5n+1) {
    margin-right: 7px;
  }
  #cams_custom_videos_gallery .custom_videos_cell:nth-child(4n+1) {
    margin-right: 0px;
  }
}

@media screen and (min-width: 376px) and (max-width: 960px) {
  #cams_custom_videos_gallery .custom_videos_cell {
    max-width: calc(100% / 3 - 14px / 3);
  }
  #cams_custom_videos_gallery .custom_videos_cell:nth-child(5n+1) {
    margin-right: 7px;
  }
  #cams_custom_videos_gallery .custom_videos_cell:nth-child(3n+1) {
    margin-right: 0;
  }
}

@media screen and (max-width: 375px) {
  #cams_custom_videos_gallery .custom_videos_cell {
    max-width: calc(100% / 2 - 7px / 2);
  }
  #cams_custom_videos_gallery .custom_videos_cell:nth-child(5n+1) {
    margin-right: 7px;
  }
  #cams_custom_videos_gallery .custom_videos_cell:nth-child(2n+1) {
    margin-right: 0;
  }
}

#cams_custom_videos_gallery .custom_videos_cell .custom_videos_cell_vdo {
  display: block;
  width: 100%;
  padding-bottom: 75.3%;
  background-image: url("");
  background-color: #f1f1f1;
  background-size: cover;
  position: relative;
  opacity: 1;
}

#cams_custom_videos_gallery .custom_videos_cell .custom_videos_cell_vdo img {
  display: block;
}

#cams_custom_videos_gallery .custom_videos_cell .custom_videos_cell_vdo .hd {
  padding: 3px;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
}

#cams_custom_videos_gallery .custom_videos_cell .custom_videos_cell_vdo .hd .icon {
  color: #fff;
  font-size: 24px;
}

#cams_custom_videos_gallery .custom_videos_cell .custom_videos_cell_vdo .token {
  position: absolute;
  right: 0;
  bottom: 24px;
  padding: 3px;
}

#cams_custom_videos_gallery .custom_videos_cell .video_info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0 5px;
  height: 24px;
  font-size: 13px;
}

#cams_custom_videos_gallery .custom_videos_cell .video_title {
  padding: 10px 5px;
  background-color: #ebebeb;
  font-weight: bold;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#cams_custom_videos_gallery .custom_videos_cell .model_info {
  padding: 5px;
  cursor: pointer;
  -webkit-transition: color .35s;
  transition: color .35s;
}

#cams_custom_videos_gallery .custom_videos_cell .model_info .model_admin > * {
  display: inline-block;
  vertical-align: middle;
}

#cams_custom_videos_gallery .custom_videos_cell .model_info img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 3px;
}

#cams_custom_videos_gallery .custom_videos_cell .model_info:hover {
  color: #0280d7 !important;
}

#cams_custom_videos_gallery .custom_videos_cell .video_view {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#cams_custom_videos_gallery .custom_videos_cell .video_view .icon {
  display: inline-block;
  font-size: 16px;
  margin-right: 5px;
}

#cams_custom_videos_gallery .thumbail {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: .5s;
  transition: .5s;
  -o-object-fit: cover;
     object-fit: cover;
}

@-webkit-keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#cams_custom_videos_gallery .lds-spinner {
  position: relative;
}

#cams_custom_videos_gallery .lds-spinner div {
  left: 94px;
  top: 48px;
  position: absolute;
  -webkit-animation: lds-spinner linear 1s infinite;
  animation: lds-spinner linear 1s infinite;
  background: #28292f;
  width: 12px;
  height: 24px;
  border-radius: 40%;
  -webkit-transform-origin: 6px 52px;
  transform-origin: 6px 52px;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(1) {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-animation-delay: -0.916666666666667s;
  animation-delay: -0.916666666666667s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(2) {
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
  -webkit-animation-delay: -0.833333333333333s;
  animation-delay: -0.833333333333333s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(3) {
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
  -webkit-animation-delay: -0.75s;
  animation-delay: -0.75s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(4) {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-animation-delay: -0.666666666666667s;
  animation-delay: -0.666666666666667s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(5) {
  -webkit-transform: rotate(120deg);
  transform: rotate(120deg);
  -webkit-animation-delay: -0.583333333333333s;
  animation-delay: -0.583333333333333s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(6) {
  -webkit-transform: rotate(150deg);
  transform: rotate(150deg);
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(7) {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  -webkit-animation-delay: -0.416666666666667s;
  animation-delay: -0.416666666666667s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(8) {
  -webkit-transform: rotate(210deg);
  transform: rotate(210deg);
  -webkit-animation-delay: -0.333333333333333s;
  animation-delay: -0.333333333333333s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(9) {
  -webkit-transform: rotate(240deg);
  transform: rotate(240deg);
  -webkit-animation-delay: -0.25s;
  animation-delay: -0.25s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(10) {
  -webkit-transform: rotate(270deg);
  transform: rotate(270deg);
  -webkit-animation-delay: -0.166666666666667s;
  animation-delay: -0.166666666666667s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(11) {
  -webkit-transform: rotate(300deg);
  transform: rotate(300deg);
  -webkit-animation-delay: -0.083333333333333s;
  animation-delay: -0.083333333333333s;
}

#cams_custom_videos_gallery .lds-spinner div:nth-child(12) {
  -webkit-transform: rotate(330deg);
  transform: rotate(330deg);
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

#cams_custom_videos_gallery .lds-spinner {
  width: 45px !important;
  height: 45px !important;
  -webkit-transform: translate(-22.5px, -22.5px) scale(0.225) translate(22.5px, 22.5px);
  transform: translate(-22.5px, -22.5px) scale(0.225) translate(22.5px, 22.5px);
  margin: auto;
}

#custom_video_reg {
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 50px;
  left: 0;
  height: calc(100vh - 50px);
  z-index: 99;
}

#custom_video_reg #lm_reg .row {
  display: block;
  margin: 12px auto;
}

#custom_video_reg #lm_reg .close {
  display: none;
}

#custom_video_reg #lm_reg.inactive {
  height: 140px;
  border-top: 4px solid #ff732c;
}

