.modal {
  top: 28% !important;
}

.modal_top {
  top: 10% !important;
}

.modal_top_zero {
  top: 0 !important;
}

.modal_top_five {
  top: 5% !important;
}

.navbar_button_input {
  /* Aggiunto !important così da sovrascrivere anche il colore nel caso di input disabilitato */
  background-color: var(--modal-background-color-admin) !important;
  color: var(--main-text-color-admin);
}

/* OLA - Generato per averlo anche in bootstrap 3.4.1 attuale */
.modal-xl {
  width: 90%;
  max-width: none;
}

.selectNavbarButtonAction > option {
  background-color: var(--modal-background-color-admin);
  color: var(--main-text-color-admin);
}

/* HIDE RADIO */
.radioIcon {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* IMAGE STYLES */
.radioIcon + img {
  cursor: pointer;
}

/* CHECKED STYLES */
.radioIcon:checked + img {
  outline: 2px solid #f00;
}

.modal_input_round {
  margin-bottom: 10px;
  border-radius: 25px;
}

.modal_input_round_only_left {
  margin-bottom: 10px;
  border-bottom-left-radius: 25px !important;
  border-top-left-radius: 25px !important;
}

.modal_input_round_only_right {
  margin-bottom: 10px;
  border-bottom-right-radius: 25px !important;
  border-top-right-radius: 25px !important;
}

.modal_input_square {
  margin-bottom: 10px;
  border-radius: 0;
}

.modal_input {
  margin-bottom: 10px;
}

.modal_header_no_border {
  border: 0 !important;
}

.modal_header_no_padding_bottom {
  padding-bottom: 0 !important;
}

.modal_body_no_padding {
  padding: 0 !important;
}

.modal_content_radious_15 {
  border-radius: 15px !important;
}

.modal_preview_vod_content {
  background-color: var(--modal-preview-vod-background, black) !important;
  border-radius: 10px !important;
  border: 5px solid #084163 !important;
}

.modal_pin_width {
  width: 150px;
}

.uploadlaber {
  font-size: large;
  cursor: pointer;
}

#fileForUpload {
  max-height: 100px;
  overflow-y: auto;
  overflow-x: hidden;
}

.file_in_uploader_modal {
  float: left;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#openModalOpen {
  top: 10% !important;
}

#modalDialogOpenFile {
  position: relative;
  display: table;
  overflow-y: auto;
  overflow-x: auto;
  width: initial;
  min-width: 300px;
}

#openModalDialog {
  max-width: 700px;
  width: auto;
  max-height: 450px;
  height: auto;
}

.captions_button {
  border: 0;
  background-color: unset;
}

.captions_button img {
  width: 35px;
}

.align-item {
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  flex-direction: row;
  align-items: center;
  margin-bottom: 15px;
}

#captionsObjectInput {
  margin-bottom: 15px;
  margin-top: 20px;
}

#inputCaptionRow {
  margin-bottom: 25px;
}

.captions_modal_element {
  border: 2px solid var(--complementary-background-primary-color-admin, black);
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  text-align: center;
}

.captions_modal_element option {
  text-align: center;
}

#openFileContainer {
  display: inline-block;
  margin-left: 40px;
  margin-bottom: 20px;
  margin-right: 40px;
}

#openModalLeftArrow {
  display: inline-block;
  font-size: 27px;
  left: 0;
  margin-right: 8px;
  margin-left: 10px;
}

#openModalRightArrow {
  font-size: 27px;
  display: inline-block;
  margin-left: 10px;
  margin-right: 8px;
  right: 0;
}

.arrow_open_file {
  cursor: pointer;
  position: absolute;
  width: 32px;
  border-radius: 43px;
  height: 32px;
  line-height: 33px;
  top: 37%;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#openModalTitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 284px;
}

.link_protected_check_text {
  float: left;
  margin-right: 12px;
  line-height: 34px;
  font-size: large;
}

.switch_link_checkbox {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch_link_checkbox input {
  display: none;
}

.link_protected_checkbox_span {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.link_protected_checkbox_span:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.link_protected_checkbox:checked + .link_protected_checkbox_span:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.link_protected_checkbox_span.round {
  border-radius: 34px;
}

.link_protected_checkbox_span.round:before {
  border-radius: 50%;
}

.link_bucket_modal_content {
  list-style: none;
  padding-left: 0;
  max-height: 140px;
  overflow-y: auto;
}

#link_bucket_expiredate {
  display: inline-block;
  position: absolute;
  margin-left: 10%;
  font-size: large;
  margin-top: 4px;
}

#data_time_link {
  display: inline-block;
  font-size: medium;
}

.li_link_modal_bucket {
  margin-bottom: 10px;
}

.li_link_modal_bucket_image {
  width: 22px;
  margin-right: 10px;
}

.new_share_user_text_input {
  float: left;
  margin-right: 12px;
  line-height: 34px;
}

#searchNewShareUserText {
  display: inline-block;
  width: 66% !important;
}

.search_user_newshare {
  margin-left: 18px;
  cursor: pointer;
}

.div_for_table_newshare {
  max-height: 130px;
  overflow-y: auto;
}

table#tableNewShare > tbody > tr {
  height: 35px;
}

.th_username_newshare {
  width: 250px;
}

.th_rw_newshare {
  width: 115px;
}

.th_ro_newshare {
  width: 100px;
}

.th_remove_newshare {
  opacity: 0;
  visibility: hidden;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}

.newshare_removeuser:hover {
  cursor: pointer;
}

.addadduser_toshare_button {
  margin-top: 20px;
}

.addnewsharebutton {
  margin-top: 20px;
}

#urlLinkInput {
  width: 100%;
  border: 0;
  font-size: medium;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}

.copyurlLinkUrlOpen {
  margin-top: 19px;
}

#versionOpen {
  top: 6% !important;
}

.version_div_table_container {
  max-height: 300px;
  overflow-y: auto;
}

#version_file_table {
  margin-bottom: 0 !important;
}

.version_button {
  cursor: pointer;
  display: inline-block;
  margin-right: 16px;
}

.tr_version_table {
  background-color: transparent;
  z-index: 21;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.tr_version_table > td {
  border: 0 !important;
}

#manageDeviceOpen {
  top: 7% !important;
}

.device_name {
  display: inline-block;
  float: left;
  min-width: 210px;
  max-width: 210px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.rename_device {
  display: inline-block;
  margin-left: 43px;
  cursor: pointer;
}

.rename_device:hover {
  cursor: pointer;
}

#deviceContent {
  max-height: 400px;
  overflow: auto;
}

.operation_on_device {
  display: inline-block;
  float: right;
  margin-right: 15px;
}

.disable_device {
  display: inline-block;
}

.disable_device:hover {
  cursor: pointer;
}

.enable_device {
  display: inline-block;
}

.enable_device:hover {
  cursor: pointer;
}

.remove_device {
  display: inline-block;
}

.remove_device:hover {
  cursor: pointer;
}

.submit_rename {
  display: inline-block;
  margin-left: 43px;
  cursor: pointer;
}

.copy_open_list_container {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
}

.move_open_list_container {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
}

.copyfilebutton {
  margin-top: 20px;
}

.movefilebutton {
  margin-top: 20px;
}

.folder_ul_copy_move {
  margin-bottom: 0;
  display: block;
  list-style-type: none;
}

.folder_li {
  font-size: large;
  background-color: transparent;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  z-index: 2;
  position: relative;
}

.folder_li.closed > ul {
  display: none;
}

.folder_li.opened > ul {
  display: block;
}

.bab_arrow_right_modal {
  width: 0;
  float: left;
  margin-left: 7px;
  height: 0;
  margin-top: 10px;
  padding-right: 8px;
  position: absolute;
  z-index: 20;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -ms-transform: rotate(0deg) scale(1, 1) !important;
  /* IE 9 */
  -webkit-transform: rotate(0deg) scale(1, 1) !important;
  /* Chrome, Safari, Opera */
  transform: rotate(0deg) scale(1, 1) !important;
  -moz-transform: rotate(0deg) scale(1, 1) !important;
}

.folder_li.closed > .bab_arrow_right_modal {
  -ms-transform: rotate(0deg) !important;
  /* IE 9 */
  -webkit-transform: rotate(0deg) !important;
  /* Chrome, Safari, Opera */
  transform: rotate(0deg) !important;
  -moz-transform: rotate(0deg) !important;
  margin-left: 7px;
  margin-right: 0;
  margin-top: 10px;
}

.folder_li.opened > .bab_arrow_right_modal {
  -ms-transform: rotate(90deg) !important;
  /* IE 9 */
  -webkit-transform: rotate(90deg) !important;
  /* Chrome, Safari, Opera */
  transform: rotate(90deg) !important;
  -moz-transform: rotate(90deg) !important;
  margin-left: 3px;
  margin-right: 4px;
  margin-top: 13px;
}

.folder_li.opened > .bab_arrow_right_modal:hover {
  cursor: pointer;
  -ms-transform: rotate(90deg) scale(1.2, 1.2) !important;
  /* IE 9 */
  -webkit-transform: rotate(90deg) scale(1.2, 1.2) !important;
  /* Chrome, Safari, Opera */
  transform: rotate(90deg) scale(1.2, 1.2) !important;
  -moz-transform: rotate(90deg) scale(1.2, 1.2) !important;
}

.folder_li.closed > .bab_arrow_right_modal:hover {
  cursor: pointer;
  -ms-transform: scale(1.2, 1.2) !important;
  /* IE 9 */
  -webkit-transform: scale(1.2, 1.2) !important;
  /* Chrome, Safari, Opera */
  transform: scale(1.2, 1.2) !important;
  -moz-transform: scale(1.2, 1.2) !important;
}

.hidden_foldertree_layout_modal {
  width: calc(100% - 19px);
  margin-left: 19px;
  height: 29px;
  position: absolute;
  z-index: 0;
  top: 0;
}

.hidden_foldertree_layout_modal:hover {
  cursor: pointer;
}

#deviceContent {
  overflow: auto;
  max-height: 400px;
}

.remove_button_modal {
  cursor: pointer;
  margin-top: 3px;
}

.radio_span_clusterize_by {
  border: 0 solid !important;
  padding: 0 !important;
  width: 65px !important;
  min-width: 9px !important;
  height: 34px !important;
  max-width: 36px !important;
  border-radius: 65px !important;
  background: transparent !important;
  -webkit-transition: 100ms ease-in-out;
  -moz-transition: 100ms ease-in-out;
  transition: 100ms ease-in-out;
}

.radio_span_clusterize_by:hover {
  border: 1px solid !important;
}

.radio_span_clusterize_by.selected {
  border: 1px solid !important;
}

.radio_span_clusterize_by:hover {
  cursor: pointer;
}

.radio_button_tab_bab {
  border: 1px solid !important;
  border-radius: 40px !important;
  min-width: 100px !important;
  height: 15px !important;
  padding: 0 !important;
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
}

.radio_button_tab_bab:hover {
  cursor: pointer;
}

.only_top_border_radious {
  border-radius: 10px 10px 0 0 !important;
}

.label_modal_admin {
  min-height: 100%;
  height: auto !important;
  line-height: 35px;
  width: 100%;
  margin-bottom: 0;
}

#radio_button_tab_bab > label :hover {
  cursor: pointer;
}

.favourite_cookie_div {
  height: 29px;
  line-height: 27px;
  padding-left: 13px;
  width: 95%;
  display: inline-block;
}

.favourite_cookie_div:hover {
  cursor: pointer;
}

.cancel_button_favorite_cluster {
  display: inline-block;
  float: right;
  position: relative;
  line-height: 27px;
}

.cancel_button_favorite_cluster:hover {
  cursor: pointer;
}

.modal_table_row_img {
  width: 35px;
  max-width: 35px;
  min-width: 35px;
  -webkit-transition: 200ms ease-in-out;
  -moz-transition: 200ms ease-in-out;
  transition: 200ms ease-in-out;
}

.modal_table_row_img:hover {
  cursor: pointer;
  transform: scale(1.3);
}

.warning_title_modal_body {
  font-size: x-large;
  font-weight: 900;
}

.close_button_video_info_modal {
  border-radius: 4px;
  background-color: #5ca1e1;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 20px;
  padding: 0px;
  /* width: 220px; */
  transition: all 0.5s;
  cursor: pointer;
  margin: 0px;
  box-shadow: 0 10px 20px -8px rgb(0 0 0 / 70%);
}

#midrollTypeVodSelect,
#midrollTypeLiveSelect {
  background-color: var(--background-primary-color-admin);
}

.close_show_all_button_modal {
  border-radius: 15px;
  width: 30px;
  height: 30px;
  right: 25px;
  top: 25px;
  border: 0px solid;
  font-weight: 800;
  -webkit-transition: 200ms ease-in-out;
  -moz-transition: 200ms ease-in-out;
  transition: 200ms ease-in-out;
}

.close_show_all_button_modal:hover {
  transform: scale(1.2);
}

.close_button_modal {
  border-radius: 15px;
  width: 26px;
  right: 8px;
  top: 7px;
  border: 0px solid;
  font-weight: 800;
  -webkit-transition: 200ms ease-in-out;
  -moz-transition: 200ms ease-in-out;
  transition: 200ms ease-in-out;
}

.close_button_modal:hover {
  transform: scale(1.2);
}

.info_metadati_logo_custom_img_div {
  border: 1px solid #ccc;
  height: 135px;
  padding: 0 !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.overlay_logo_custom_section {
  position: relative;
  opacity: 0;
  width: 100%;
  height: 100%;
  color: white;
  background-image: linear-gradient(39deg, rgba(1, 20, 37, 1) 0%, 59%, transparent);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.overlay_logo_custom_section_button {
  top: 37%;
  height: 30px !important;
  line-height: 30px;
  left: 35%;
  position: absolute;
  opacity: 0;
  z-index: 100;
}

.overlay_logo_custom_section_button.upper {
  top: 20%;
}

.overlay_logo_custom_section_button.bottom {
  top: 50%;
}

.overlay_logo_custom_section:hover {
  opacity: 1;
}

.overlay_logo_custom_section:hover > .overlay_logo_custom_section_button {
  cursor: pointer;
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .info_metadati_logo_customnail_img_div {
    height: 160px;
    width: 55%;
    left: 0;
    min-width: 24em;
  }
}

.glightbox_video {
  /*position: absolute;*/
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.outer_circle {
  stroke-width: 3;
  stroke-dasharray: 410;
  stroke-dashoffset: 0;
  stroke-linecap: square;
  transition: all 0.4s ease-out;
}

.glightbox_video:hover .outer_circle {
  stroke-dashoffset: 410;
  transition:
    stroke 0.7s 0.4s ease-out,
    stroke-dashoffset 0.4s ease-out;
}

.glightbox_video:hover .inner-circle {
  fill: #bf2428;
  transition: fill 0.4s 0.3s ease-out;
}

.glightbox_video:hover .play {
  fill: white;
  transition: fill 0.4s 0.3s ease-out;
}

@media screen and (max-width: 450px) {
  .p_preview_video {
    font-size: larger !important;
  }

  .info_video_element_list_value {
    margin-top: 2vw !important;
  }

  .svg_play_preview {
    width: 25vw !important;
  }
}

@media only screen and (max-width: 660px) {
  .p_preview_video {
    font-size: small !important;
  }

  .svg_play_preview {
    width: 20vw !important;
  }
}

@media screen and (min-width: 451px) and (max-width: 767px) {
  .svg_play_preview {
    width: 12vw !important;
  }
}

@media screen and (min-width: 768px) {
  .p_preview_video {
    color: var(--main-text-color-video, white) !important;
    font-size: larger !important;
  }

  .svg_play_preview {
    width: 4vw !important;
  }
}

.toggle_modal {
  cursor: pointer;
  display: inline-block;
}

.toggle-switch {
  display: inline-block;
  background: #ccc;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
}

.toggle-switch:before,
.toggle-switch:after {
  content: "";
}

.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}

.toggle:hover .toggle-switch:before {
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked + .toggle-switch {
  background: #4bc2f0;
}

.toggle-checkbox:checked + .toggle-switch:before {
  left: 30px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 5px;
  position: relative;
  top: 2px;
}

.container_radio_modal {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container_radio_modal input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  display: none;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.container_radio_modal:hover input ~ .checkmark {
  background-color: #ccc;
}

.container_radio_modal input:checked ~ .checkmark {
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container_radio_modal input:checked ~ .checkmark:after {
  display: block;
}

.container_radio_modal .checkmark:after {
  top: 5px;
  left: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #4bc2f0;
}

.label_customization {
  font-size: large;
  text-align: left;
}

.label_desc_customization {
  text-align: left;
  /* color: #808080; */
  color: var(--complementary-background-primary-color-video-light, #808080);
}

#tagInsertTextbox,
.tag-insert-input {
  background: #fff;
  width: 100%;
  border-radius: 5px;
  position: relative;
  /*box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.12);*/
}

#tagInsertTextbox.active,
.tag-insert-input.active {
  border-radius: 5px 5px 0 0;
}

#tagInsertTextbox input,
.tag-insert-input input {
  height: 45px;
  width: 100%;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0 60px 0 20px;
  font-size: 18px;
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
  /* margin-bottom: 10px; */
}

#tagInsertTextbox input:focus,
.tag-insert-input input:focus {
  box-shadow: 0px 1px 5px var(--babylon-light-blue);
}

#tagInsertTextbox #autocom-box,
.tag-insert-input {
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  text-align: initial;
}

#autocom-box li {
  list-style: none;
  padding: 8px 12px;
  width: 100%;
  cursor: default;
  border-radius: 3px;
  color: black;
  height: 45px;
  align-items: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tagInsertTextbox input:focus + #autocom-box,
.tag-insert-input input:focus {
  display: block;
}

#autocom-box ul {
  padding-left: 0;
  margin-bottom: 0;
  border: 1px solid var(--babylon-light-blue);
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
}

#autocom-box ul li:hover {
  background: #d6d6d6;
}

#tagInsertTextbox #autocom-box-news,
.tag-insert-input {
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  text-align: initial;
}

#autocom-box-news li {
  list-style: none;
  padding: 8px 12px;
  width: 100%;
  cursor: default;
  border-radius: 3px;
  color: black;
  height: 45px;
  align-items: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tagInsertTextbox input:focus + #autocom-box-news,
.tag-insert-input input:focus {
  display: block;
}

#autocom-box-news ul {
  padding-left: 0;
  margin-bottom: 0;
  border: 1px solid var(--babylon-light-blue);
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
}

#autocom-box-news ul li:hover {
  background: #d6d6d6;
}

#tagCloudContainer,
#tagEvidenceCloudContainer,
#tagMetadataListCloudContainer {
  border: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  padding: 5px 10px;
}

#tagMetadataListCloudContainer {
  max-height: 15vw;
  overflow-y: auto;
  padding-bottom: 50px;
}

#tagEvidenceCloudContainer {
  max-height: 10vw;
  overflow-y: auto;
  padding-bottom: 50px;
}

#TagMetadataEvidenzeManualFormContainer h5 {
  margin-top: 15px;
}

#TagMetadataEvidenzeManualFormContainer {
  margin: 0;
}

#addTagInUsernameUserDialog {
  height: auto !important;
}

#addTagInUsernameUserDialog select {
  width: 100%;
  height: 33px;
  border: 1px solid #ccc;
}

#addTagInUsernameUserDialog {
  height: auto !important;
}

.dialog_mail_change .ui-dialog-buttonset {
  margin-right: 20%;
}

.table_sheet input {
  /* color: var(--main-text-color-admin, black) !important; */
  background-color: var(--modal-background-color-admin);
  color: var(--main-text-color-admin) !important;
}

.thead_sheet,
.tbody_sheet,
.tr_sheet {
  display: contents;
}

.th_sheet,
.td_sheet {
  padding: 10px 0 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.th_sheet {
  position: sticky;
  top: 0;
  background: #008000;
  text-align: center;
  font-size: 1.5rem;
  color: white;
  font-weight: 500;
  letter-spacing: 0.25px;
  cursor: pointer;
  user-select: none;
  border: thin solid #d3d3d3 !important;
}

.th_sheet:last-child {
  border: 0;
}

.td_index_sheet,
.td_sheet {
  padding: 0;
  /* color: #808080; */
  color: var(--main-text-color-admin, black);
  border: thin solid #d3d3d3;
}

.tr_sheet:nth-child() .td_sheet {
  background: #f8f6ff;
}

.td_sheet.selected_field_sheet {
  border: 2px solid blue;
  padding: 0;
}

.button_sheet_vis_style {
  background-color: #188038;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  cursor: pointer;
  letter-spacing: 0.25px;
  line-height: 16px;
  padding: 9px 16px 10px 12px;
  text-transform: capitalize;
  border: 1px solid transparent;
  margin-right: 15px;
  width: 200px;
}

.button_sheet_vis_style:hover {
  background-color: #146433;
  border: 1px solid #146433;
  color: #fff;
}

.value_sheet {
  padding-top: 5px;
  padding-bottom: 5px;
  height: 30px;
  margin-left: 5px;
  text-align: left;
}

.td_index_sheet,
.index_sheet {
  background: #008000;
  color: #fff;
  padding-top: 2px;
  height: 30px;
  margin: 0;
  text-align: center;
}

.input_sheet input {
  border: 1px solid green;
  height: 30px;
  width: 100%;
}

.circle-button-container {
  position: relative;
}

.circle-button svg {
  fill: #fff;
}

.circle-button {
  border-radius: 50%;
  background-color: #188038;
  width: 40px;
  height: 40px;
  text-align: center;
  cursor: pointer;
  margin-right: 1vw;
  z-index: 2;
  border-color: transparent;
}

.circle-button:hover {
  background-color: #157032;
}

.circle-button.selected,
.circle-button:active {
  background-color: #126029;
}

.circle-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #126029;
  border: 1px solid #fff;
}

.circle-button-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  z-index: 3;
  background-color: #f1f1f1;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-align: left;
}

@media only screen and (max-width: 768px) {
  .circle-button-menu {
    width: 30vw;
    max-height: none;
    overflow-y: visible;
  }
}

.circle-button-menu li {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  width: 10vw;
  text-align: left;
  display: flex;
  align-items: center;
}

.circle-button-menu li:hover {
  background-color: #e8eaed;
  color: #000;
  cursor: pointer;
  border-radius: inherit;
}

.sorted-td {
  border-left: solid 2px #008000;
  border-right: solid 2px #008000;
  background-color: #80808024;
}

.classErrorInputSheet {
  border: 2px solid #ff0000bf;
  margin: 0;
}

.footer-modal-row textarea {
  max-width: 100%;
  max-height: 350px;
  padding: 10px;
  width: 100%;
}

.footer-icon-modal img {
  width: 50px;
  margin-right: 15px;
}

div.social-link-row-admin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

div.social-link-row-admin {
  display: flex;
  padding: 5px;
}

.social-link-row-admin div {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.nice-inputbox {
  height: 45px;
  width: 100%;
  font-size: 18px;
  border-radius: 5px;
  box-shadow: 0px 1px 5px 3px rgb(0 0 0 / 12%);
  border: none;
  outline: none;
  padding-left: 5px;
}

.nice-inputbox:focus {
  box-shadow: 0px 1px 5px var(--babylon-light-blue);
}

.footer-modal-child-row {
  width: 80%;
  margin-bottom: 10px;
}

div.footer-page-link-row-admin {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#footer-page-list {
  display: flex;
  width: 20%;
  min-width: 20%;
  margin-right: 15px;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 10px;
}

.footer-page-list-line {
  display: flex;
  align-items: center;
  /* width: 100%; */
  padding: 3px;
  justify-content: space-between;
  /* border: 2px solid #d9d9d9;
    margin-bottom: 15px; */
  height: 36px;
}

#footer-page-forms input {
  max-width: 500px;
  margin-bottom: 20px;
}

#footer-page-forms textarea {
  max-width: 800px;
}

#add-new-footer-page {
  justify-content: center;
  border: 2px solid #d9d9d9;
  border-style: dotted;
}

.customFooterModal .modal-content {
  max-height: calc(100vh - 210px);
  overflow-y: scroll;
  overflow-x: hidden;
}

.footer-modal-row {
  display: none;
}

#footer-page-container {
  display: flex;
}

.page-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  border: 2px solid grey;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 15px;
}

.page-title-container:hover {
  cursor: pointer;
}

#new-footer-page {
  width: 100%;
}

/* .footer-page-forms{
    display: none;
} */

.footer-page-form-row-admin {
  width: 80%;
  max-height: 60vh;
  overflow-y: auto;
}

.footer-page-title {
  margin-bottom: 20px;
  width: 80%;
}

.footer-page-forms {
  display: none;
}

.footer-page-active {
  margin-top: 10px;
}

/* .footer-page-forms div:first-child{
    display: flex;
    justify-content: space-between;
    width: 100%;
} */

.preview-page {
  display: inline-block;
  width: 50px;
  margin-left: 20px;
  height: 50px;
  padding: 0;
  font-size: 20px;
  /* display: none !important; */
}

.footer-page-textarea {
  width: 100%;
  resize: vertical;
}

.page-title-container div:first-child {
  width: 80%;
  text-overflow: ellipsis;
  overflow: hidden;
}

#button-add-page {
  border: dashed;
}

#trumbowing-footer-page {
  text-align: left;
}

.modal_inactive_option {
  pointer-events: none;
  opacity: 0.5;
}

#customAdsForVodDiv {
  margin-bottom: 15px !important;
}

#changeObjectPermissionAndMetadataModal .modal-content,
#changeObjectPermissionAndMetadataTagFileModal .modal-content {
  width: 1000px;
  margin-left: -170px;
}

#changeObjectPermissionAndMetadataModal .metadata_object_div_container {
  padding-left: 25px;
  padding-right: 25px;
}

#customMidrollTimesVodDiv {
  margin-top: 10px;
}

/* #viewerAgeMinimum {
    display: inline;
    padding: 0;
    width: auto;
    margin-left: 10px;
} */

#videoCloudContainer {
  border: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  padding: 5px 10px;
  max-height: 400px;
  overflow: auto;
  flex-wrap: nowrap;
  gap: 20px;
}

#video-search-result-box {
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  text-align: initial;
}

#video-search-result-box li {
  list-style: none;
  padding: 8px 12px;
  width: 100%;
  cursor: default;
  border-radius: 3px;
  color: black;
  height: 45px;
  align-items: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
}

#video-search-result-box ul {
  padding-left: 0;
  margin-bottom: 0;
  border: 1px solid var(--babylon-light-blue);
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
  border-radius: 5px;
}

.thumbnail-img-container {
  aspect-ratio: 16 / 9;
  width: 50px;
}

.thumbnail-img-container img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-search-list-result .title-container {
  margin-left: 20px;
}

#video-search-result-box li:hover {
  background-color: aliceblue;
  cursor: pointer;
}

.video-cloud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f9f9f9;
  width: 200px;
  flex: 0 0 23%;
}

.video-cloud-item span {
  color: var(--background-primary-color-admin, white);
}

.video-cloud-item:hover {
  cursor: pointer;
}

.video-cloud-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

#fastChannelVideoDiv {
  flex-direction: column;
}

#uploadFastChannelSchedulebutton img {
  width: 50px;
}

/* css per la tabella della programmazione dei fast channel */

#sheetBodyDiv .table_sheet {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: sans-serif;
  font-size: 14px;
  border: 1px solid #ddd;
}

#sheetBodyDiv .thead_sheet {
  background-color: #f9f9f9;
}

/* #sheetBodyDiv .tr_sheet:nth-child(even) {
  background-color: #f5f5f5;
} */

#sheetBodyDiv .td_sheet:hover {
  background-color: var(--main-text-color-video, white);
  color: var(--background-primary-color-video, black);
  cursor: pointer;
}

#sheetBodyDiv .th_sheet,
#sheetBodyDiv .td_sheet,
#sheetBodyDiv .td_index_sheet {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#sheetBodyDiv .th_sheet {
  font-weight: bold;
  cursor: pointer;
}

#sheetBodyDiv .value_sheet {
  display: block;
  width: 100%;
}

#sheetBodyDiv .input_sheet input {
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
  font-size: 14px;
}

#sheetBodyDiv .classErrorInputSheet {
  background-color: #ffdddd;
  color: #a00;
  font-weight: bold;
}

#sheetBodyDiv .index_sheet {
  text-align: center;
  font-weight: bold;
}

#sheetBodyDiv .sorted-td {
  background-color: #dceeff;
}

#sheetBodyDiv .sorted-ascending::after {
  content: " ▲";
  font-size: 10px;
}

#sheetBodyDiv .sorted-descending::after {
  content: " ▼";
  font-size: 10px;
}

#sheetBodyDiv .thead_sheet {
  display: table-header-group;
}

#sheetBodyDiv .tbody_sheet {
  display: table-row-group;
}

#sheetBodyDiv .tr_sheet {
  display: table-row;
}

#sheetBodyDiv .table_sheet {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

#sheetBodyDiv .table_sheet th:nth-child(1),
#sheetBodyDiv .table_sheet td:nth-child(1) {
  width: 40px;
  max-width: 40px;
}

.input_error {
  border: 2px solid red !important;
}

/* Inserire questa classe nel div in cui si vuole avere la linea separatrice sotto */
.bottom_line_separator {
  border-bottom: outset;
  border-width: thin;
  margin-bottom: 10px;
}

/* SEZIONE MODAL AGGREGATORE */

#aggregatorSection {
  margin-top: 10px;
}

.aggregator_modal_section {
  background-color: #d3d3d3;
  border: outset;
  margin-bottom: 10px;
}
