.videos_page {
  background: #fff;
}

.videos_page .tabs.t_bar {
  padding: 11px 10px 0;
  border-bottom: 1px solid #597da3;
  background: #fff;
}

.videos_page a.create_group {
  float: right;
  margin: 0;
  padding: 4px 0 0;
  background: none;
  color: #2b587a;
  font-weight: normal;
  max-width: none;
}

.videos_page a.create_group:hover {
  background: none;
  text-decoration: underline;
}

.videos_page .summary_wrap {
  color: #45688e;
  padding: 13px 10px 0;
  background: #fff;
  border-bottom: 1px solid #dae1e8;
}

.videos_page .summary_wrap .summary {
  font-weight: bold;
  padding: 3px 0 4px;
}

.video_section_bar {
  position: relative;
  padding: 7px 17px 8px 13px;
  background: #fff;
}

.video_section_filters {
  padding: 1px 0;
}

.video_section_tab {
  float: left;
  display: block;
  margin: 8px 3px 7px;
  padding: 3px 8px 4px;
  border-radius: 2px;
  font-weight: bold;
  color: #45688e;
  text-decoration: none;
  line-height: 120%;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video_section_tab:hover {
  text-decoration: none;
  background: #e7ebf0;
}

.video_section_tab_active,
.video_section_tab_active:hover {
  background: #597da3;
  color: #fff;
}

.video_section_count {
  margin-left: 5px;
  color: #aab6c4;
  font-weight: bold;
}

.video_section_tab_active .video_section_count {
  color: #d0dae4;
}

.video_view_switch {
  position: absolute;
  top: 14px;
  right: 17px;
}

.video_view_btn {
  float: left;
  width: 30px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #dae2e9;
  opacity: 0.8;
  border-radius: 0;
}

.video_view_btn:first-child {
  margin-right: 10px;
  border-radius: 2px;
}

.video_view_btn:nth-child(2) {
  border-radius: 2px 0 0 2px;
}

.video_view_btn:last-child {
  border-radius: 0 2px 2px 0;
}

.video_view_btn_active {
  background: #6080ac;
  opacity: 1;
}

.video_view_ico {
  display: block;
  width: 12px;
  height: 14px;
  margin: 4px auto 0;
  background: url(/images/icons/videos_icons.png) no-repeat;
}

.video_view_ico_tiles {
  width: 10px;
  height: 14px;
  margin: 5px auto 0;
  background-position: 0 0;
}

.video_view_ico_list {
  width: 10px;
  height: 14px;
  margin: 5px auto 0;
  background-position: 0 -15px;
}

.video_view_ico_hot {
  width: 12px;
  height: 17px;
  margin: 4px auto 0;
  background-position: 0 -60px;
}

.video_view_btn_active .video_view_ico_tiles {
  background-position: 0 -30px;
}

.video_view_btn_active .video_view_ico_list {
  background-position: 0 -45px;
}

.video_view_btn_active .video_view_ico_hot {
  background-position: 0 -75px;
}

.videos_list {
  padding: 10px 10px 15px;
}

.videos_list_rows .video_row {
  float: none;
  width: auto;
  min-height: 0;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid #edf0f3;
  overflow: hidden;
}

.videos_list_rows .video_row .video {
  float: left;
  width: 130px;
  height: 92px;
}

.videos_list_rows .video_row .video img,
.videos_list_rows .video_row .video video {
  width: 130px;
  height: 92px;
}

.videos_list_rows .video_row .info {
  float: none;
  width: auto;
  margin: 0 0 0 142px;
}

.videos_page .video_row {
  min-height: 165px;
  margin: 0 8px 12px 0;
  overflow: hidden;
}

.videos_page .video_row .video {
  position: relative;
  display: block;
  float: none;
  width: 161px;
  height: 114px;
  overflow: hidden;
  background: #000 url(/images/video_preview.png) center/cover no-repeat;
}

.videos_page .video_row .video img,
.videos_page .video_row .video video {
  display: block;
  width: 161px;
  height: 114px;
  object-fit: cover;
  border: 0;
}

.videos_page .video_row .video video {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

.videos_page .video_row .video video.is_ready {
  z-index: 3;
}

.videos_page .video_row .video img.video_thumb_ph.is_hidden {
  display: none;
}

.videos_page .page_video_play_icon {
  position: absolute;
  z-index: 10;
  background: url(/images/inline_video_play.png) no-repeat;
  margin-left: -23px;
  margin-top: -23px;
  width: 46px;
  height: 46px;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

.videos_page .video_duration_profile {
  z-index: 11;
}

.videos_page .video_row .info {
  margin: 4px 0 0;
  width: 161px;
  float: none;
  clear: none;
}

.videos_page .video_row .info a {
  color: #2b587a;
}

.videos_page .video_row small {
  color: #777;
}

.videos_page .video_delete {
  display: inline-block;
  margin-top: 2px;
  color: #2b587a;
}

.videos_empty {
  padding: 60px 20px 80px;
  text-align: center;
  color: #777;
  font-size: 1.09em;
  line-height: 160%;
}

.videos_empty_icon {
  width: 67px;
  height: 60px;
  margin: 0 auto 20px;
  background: url(/images/icons/no_videos.png) no-repeat center;
}

.videos_empty a {
  color: #2b587a;
  text-decoration: none;
}

.videos_empty a:hover {
  text-decoration: underline;
}

.videos_empty_albums {
  padding: 130px 10px 90px;
}

.video_albums_wrap {
  min-height: 280px;
  background: #fff;
}


#videos_more {
  display: block;
  float: none;
  background: #eff1f3;
  margin: 0 10px 15px;
  padding: 10px;
  text-align: center;
  color: #738392;
}

#videos_more .progress {
  display: none;
  height: 13px;
  background: url(/images/upload.gif) no-repeat center;
}

#videos_more.loading .show_more {
  display: none;
}

#videos_more.loading .progress {
  display: block;
}

#videos_more:hover {
  background: #e9edf1;
  text-decoration: none;
}

#video_new_cont {
  padding: 0 2px;
}

.video_new {
  line-height: 140%;
}

.video_new .error {
  display: none;
  margin-bottom: 15px;
  color: #000;
  background: #ffe9e9;
  border: 1px solid #e2b6b6;
  padding: 8px 10px;
}

.video_new .error:not(.dn) {
  display: block;
}

.video_new .restrictions {
  color: #36638e;
  font-size: 1em;
  font-weight: bold;
  margin: 0 0 7px;
}

.video_new .listing {
  padding-left: 20px;
  margin: 0 0 15px;
}

#video_choose_upload {
  margin: 15px 0 0;
  text-align: center;
}

#video_external_wrap {
  margin: 18px 0 4px;
  padding-top: 14px;
  border-top: 1px solid #dae1e8;
}

.video_add_from {
  color: #36638e;
  font-weight: bold;
  margin: 0 0 8px;
}

#video_external_url {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
}

.video_external_btn {
  text-align: center;
}

.video_external_btn button {
  min-width: 160px;
}

#choose_video_dropbox {
  display: none;
}

[data-video-upload-box].video_upload_drag #choose_video_dropbox {
  display: block;
}

#box_progress0 {
  display: none;
  float: left;
  width: 32px;
  height: 13px;
  margin: 7px 10px 0;
  background: url(/images/upload.gif) no-repeat center;
}

#box_progress0.shown {
  display: block;
}

.videos_page .videos_list {
  padding: 0;
}

.videos_page .videos_list #search_table {
  width: 100%;
}

.videos_page #results.video_results {
  padding: 0 0 10px;
}

.videos_page #results.video_results .video_row,
.videos_page .videos_list_rows #results.video_results .video_row {
  float: none;
  width: auto;
  min-height: 0;
  margin: 0;
  overflow: visible;
  border-bottom: none;
}

.videos_page #results.video_results .video_row .info,
.videos_page #results.video_results .video_row_info {
  width: auto;
  margin: 0;
  float: none;
  clear: none;
}

.videos_page #results.video_results .video_row_info_actions {
  padding-top: 6px;
}

.videos_page #results.video_results .video_row_info_actions a {
  color: #2B587A;
  margin-right: 12px;
}

#video_search {
  position: relative;
  padding: 10px;
  background: #f7f7f7;
  border-bottom: 1px solid #dae1e8;
}

#video_search .video_search_input {
  width: 185px;
  background: #fff url(/images/magglass.png) no-repeat 5px 6px;
  padding: 5px 22px 6px 20px;
}

#video_reset_search {
  display: none;
  position: absolute;
  left: 178px;
  top: 16px;
  width: 14px;
  height: 14px;
  cursor: pointer;
  background: url(/images/input_clear.gif) no-repeat 0 0;
  opacity: 0.7;
}

#video_reset_search:hover {
  opacity: 1;
}


.video_add_new {
  width: 150px;
  height: 20px;
  display: block;
  padding: 5px 0px 0px 6px;
  background: #F7F7F7;
}
.video_add_new:hover {
  background-color: #DAE1E8;
  text-decoration: none !important;
}
.video_add_new span {
  width: 16px;
  height: 14px;
  display: block;
  float: left;
  margin-top: 1px;
  background: url(/images/profile_icons.gif?4) left -10px no-repeat;
}

#video_search .video_add_new:hover {
  text-decoration: underline;
}
