/* general Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif !important;
}

body,
html {
  overflow-x: hidden !important;
}

:root {
  --prime_color: #52ad31;
}

.green {
  color: var(--prime_color) !important;
}

.greenb {
  background-color: var(--prime_color) !important;
}

.icon_wrap {
  background-color: var(--prime_color) !important;
}

.small {
  font-size: 0.6em;
}

h1 {
  font-size: 1.5em !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600 !important;
  margin-bottom: 0 !important;
}

h1::before {
  display: inline-block;
  content: "";
  border-top: 0.3rem solid var(--prime_color);
  width: 1.5em;
  margin: -10px 1rem;
  transform: translateY(-1rem);
}

.no_line::before {
  display: none !important;
}

h2 {
  font-size: 1.5em !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600 !important;
}

/* Videos */

.video_clip_slider {
  margin-left: 3rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.video_clip_wrap {
  width: 320px;
}

.thumbnail_stream {
  width: 100% !important;
  height: 180px !important;
  background-size: cover !important;
  transition: all 0.2s ease-in-out;
}

.thumbnail_stream:hover {
  background-blend-mode: darken;
}

.thumbnail_stream:hover > .play_button {
  opacity: 1;
  transform: translateY(-5px);
}

.play_button {
  width: 60px !important;
  height: 60px !important;
  opacity: 0;
  transition: all 0.1s ease-in-out;
  margin-top: 5px;
  background-color: var(--prime_color);
  cursor: pointer;
}

.play_button i {
  font-size: 2.5em !important;
  margin-left: 5px;
  color: #fff;
  transition: all 0.1s ease-in-out;
}

.play_button i:hover {
  transform: scale(110%);
}

.video_clip_wrap h3 {
  font-size: 1em !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600 !important;
}

.video_clip_wrap p {
  font-size: 0.8em !important;
  font-family: "Poppins", sans-serif;
  font-weight: 400 !important;
  margin-top: -7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 80%;
}

.video_clip_slider {
  display: flex;
  overflow-x: scroll;
  max-width: 80em;
}

.video_clip_slider .thumbnail_stream {
  width: 320px !important;
}

/* Info Cards */
.info_cards_wrap {
  margin-left: 50px;
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.infocard_wrap {
  min-width: 250px;
  width: 300px;
  height: 230px;
}

.infocard_wrap div {
  width: 70px;
  height: 70px;
  color: #fff;
}

.infocard_wrap i {
  font-size: 1.5em;
}

.infocard_wrap h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600 !important;
  font-size: 3em;
}

/* Suche */

.input {
  width: 500px;
  padding: 18px;
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 400 !important;
  height: 40px;
}

.input::placeholder {
  color: #919191 !important;
}

.input:focus {
  border-color: var(--prime_color);
  outline: 0;
}

.info_icon {
  width: 60px;
  height: 40px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  color: #fff;
  font-size: 1.3em;
}

/* Button */
.button {
  font-weight: 600 !important;
  padding: 5px 15px;
  background-color: var(--prime_color);

  color: #fff;
  border: 2px solid var(--prime_color);
  transition: all 0.3s ease-in-out;
}

.button:hover {
  background-color: #fff;
  border: 2px solid;
  color: var(--prime_color);
}

.button_red {
  background-color: #a8341a !important;
  color: #fff !important;
  border: 2px solid #a8341a;
  transition: all 0.3s ease-in-out;
}

.button_red {
  background-color: #fff;
  border: 2px solid;
  color: #a8341a;
}

/* Table */

.table_col_wrap {
  border-bottom: 0.4px solid #d1d1d1;
  display: flex;
}

.thumbnail_stream {
  width: 180px;
  height: 100px;
}

.table_col_wrap i {
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.table_col_wrap i:hover {
  transform: scale(110%) !important;
}

.stream_info {
  width: 80;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table_col_wrap .stream_info h2 {
  font-size: 1.5em;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table_col_wrap .stream_info p {
  font-size: 0.9em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table_clicks {
  margin-top: -15px !important;
}
.input-wrap p {
  margin-bottom: 2px;
  font-weight: 300;
  margin-left: 1px;
}

.input-text {
  background-color: rgba(0, 0, 0, 0.06);
  padding-right: 46px;
}

.input-small {
  width: 12em;
}

.input-medium {
  width: 20em;
}

.date-wrap {
  display: flex;
}

.date-wrap .info_icon {
  pointer-events: none;
  margin-left: -43px;
  margin-top: 26px;
  width: 43px;
  font-size: 15px;
}

input:is([type="button"], [type="submit"], [type="reset"]),
input[type="file"]::file-selector-button,
button {
  align-items: flex-start;
  text-align: center;
  cursor: pointer;
  color: var(--prime_color);
  padding-block-start: 2px;
  padding-block-end: 3px;
  padding-inline-start: 6px;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: outset;
  border-right-style: outset;
  border-bottom-style: outset;
  border-left-style: outset;
  border-top-color: buttonface;
  border-right-color: buttonface;
  border-bottom-color: buttonface;
  border-left-color: buttonface;
  background-color: #fff;
  padding: 8px 15px;
  box-sizing: border-box;
  border-radius: 5px;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.15);
  margin-right: 20px !important;
}

.file_input {
  height: 70px;
}

.select {
  background-color: rgba(0, 0, 0, 0.06) !important;
  width: 12em !important;
  border: none !important;
  border-radius: 2px !important;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  display: flex;
  padding-inline-start: 2px;
  padding-block-start: 4px;
  padding-block-end: 5px;
  box-sizing: border-box;
  width: 80%;
  height: 100%;
}

.form-check-input:focus,
.form-check-input:active {
  border-color: var(--prime_color) !important;
  outline: 0 !important;
}

.form-check-input:checked {
  background-color: var(--prime_color) !important;
  border-color: var(--prime_color) !important;
}

.modal-content {
  border: 0 !important;
  border-radius: 5px !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-content button {
  box-shadow: none;
}

.modal-dialog {
  width: 90% !important;
  max-width: none !important;
}

.modal-header {
  border-bottom: 0px !important;
  margin-top: 15px;
}

.accordion-button:not(.collapsed) {
  background-color: #fff !important;
}

.accordion-button::after {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.accordion {
  width: 40em;
  padding-bottom: 8em;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button {
  border: 0.5px solid rgb(222, 226, 230) !important;
}

.copy_icon {
  margin-top: -32px !important;
  display: block;
  text-align: end;
  margin-right: 18px;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

.copy_icon:hover {
  color: var(--prime_color) !important;
}

.accordion-button:not(.collapsed) {
  color: #000 !important;
}

.alertdiv {
  border-radius: 16px !important;
  border: 0px !important;
  display: none;
  position: fixed;
  bottom: 22px;
  right: 31px;
  width: 17em;
  margin-bottom: 20px;
  border-radius: 0 !important;
  z-index: 99999;
  background-color: #fff;
  padding: 12px;
  padding-left: 33px;
}

.alertdiv i {
  color: #fff;
  background-color: #279300;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.alert_error {
  color: #a8341a !important;
}

.alert_success {
  color: #279300 !important;
}

/* Home */
.home_wrap {
  margin-left: 5em;
}
.content_wrap {
  margin-left: 5em;
}
.welcome {
  margin-top: 2em;
  margin-bottom: 2em;
}
.welcome i {
  font-size: 4em;
}
.welcome section {
  margin-top: 18px;
  margin-left: 20px;
}
.welcome p {
  margin-top: -10px;
}

.headline_wrap {
  display: flex;
}

.search_wrap {
  margin-top: 1em;
}

.streams_wrap .thumbnail_stream {
  width: 230px !important;
  height: 130px !important;
}

.streams_wrap {
  margin-top: 5em;
  margin-right: 5em;
}

.search_wrap {
  width: 25% !important;
}

.modal_delete .modal-content {
  height: 15em !important;
  width: 30em !important;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.modal-header h1 {
  font-weight: 800;
  font-size: 1.5em !important;
  margin-left: -12px;
}

.addStream_wrap_left {
  margin-left: 3em;
  width: 36em !important;
}

.addStream_wrap_left .spacer {
  margin-left: 3em;
}

.addStream_wrap h1 {
  font-size: 1em !important;
  margin-bottom: 1em !important;
}

.addStream_wrap_left .thumbnail_stream {
  width: 200px !important;
  height: 120px !important;
}

.addStream_wrap_left .sec_head {
  margin-left: -3.2em;
}

.addStream_wrap_left input[type="text"],
.addStream_wrap_left textarea {
  width: 410px;
}

.addStream_wrap_middle .thumbnail_stream {
  width: 180px !important;
  height: 100px !important;
  margin-left: 3em;
  margin-bottom: 2em;
}

.addStream_wrap_middle input[type="text"] {
  width: 310px;
}

.addStream_wrap_middle .spacer {
  margin-left: 3em;
}

.addStream_wrap_middle .input-wrap {
  margin-top: 1em;
}

.addStream_wrap_middle .input-wrap input {
  width: 14em;
}

.addStream_wrap_right .spacer {
  margin-left: 3em;
  margin-bottom: 5em;
}

.date_time_wrap {
  display: flex;
}

.time-wrap {
  margin-left: 1rem;
}

.thumbnail_upload {
  display: flex;
}

.konto_wrap {
  margin-top: 5em !important;
  margin-left: 2em !important;
}

.konto_wrap_left .spacer {
  margin-left: 4em;
  margin-top: 1.5em;
}

.konto_wrap_left .sec_head {
  margin-left: -2.8em;
  margin-top: 2em;
}

.logo_upload {
  width: 200px;
}

.konto_wrap_right .spacer {
  margin-left: 4em;
  margin-top: 1.5em;
}

.konto_wrap_right .sec_head {
  margin-left: -2.8em;
  margin-top: 2em;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  height: 25px;
  border: 0px !important;
}

/* Streams page */
.stream_info_parent {
  width: 43%;
}
.mx-image-auto {
  margin-left: 25px !important;
  margin-right: 25px !important;
}

.api_wrap,
.api_wrap .input {
  width: 500px;
}

.unique_num {
  font-size: 17px;
}

.imageNames {
  color: black;
  text-decoration: none;
  margin-bottom: 0px;
}

.imagerows img {
  width: 100%;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 6px 6px 0px 0px;
}

.imagerows div {
  margin: 20px 7px;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px;
}

.imagerows a {
  text-decoration: none;
}
.imagerows div:hover {
  cursor: pointer;
  background-color: #ddd;
  transition: background-color 250ms linear;
}

.imageNames {
  width: 98%;
  overflow-wrap: anywhere;
}

.cut_wrap {
  margin-left: 4.5em;
  margin-right: 2em;
  margin-bottom: 3em;
}

.from_video {
  font-size: 13px;
  width: 250px !important;
  margin-top: 10px;
}

.input_time {
  width: 115px;
}

.time_single_wrap {
  width: 16em;
}

.video_cut_wrap video {
  width: 50% !important;
}

/* Responsive style */
@media screen and (max-width: 1470px) {
  .modal-dialog {
    width: 100% !important;
    height: 100vh !important;
    margin-top: 0 !important;
  }
  .modal-content {
    border-radius: 0px !important;
    height: 100vh !important;
  }

  .api_wrap,
  .api_wrap .input {
    width: 500px;
  }
}

@media screen and (max-width: 1323px) {
  .modal-dialog {
    height: 100% !important;
  }

  .modal-content {
    height: auto !important;
  }

  .addStream_wrap_right {
    margin-left: 3em;
    margin-bottom: 5em;
    margin-top: 2em !important;
  }

  .api_wrap,
  .api_wrap .input {
    width: 500px;
  }
}

@media screen and (max-width: 1300px) {
  .streams_wrap .thumbnail_stream {
    width: 180px !important;
    height: 100px !important;
  }

  .stream_info h2 {
    font-size: 1em !important;
  }

  .stream_info p {
    font-size: 0.8em !important;
  }
  .stream_info {
    width: 15em;
  }

  .api_wrap,
  .api_wrap .input {
    width: 500px;
  }
}

@media screen and (max-width: 1200px) {
  .content_wrap {
    margin-left: 0;
  }
  .home_wrap {
    margin-left: 2em;
  }
  body,
  html {
    overflow-y: auto;
  }

  .api_wrap,
  .api_wrap .input {
    width: 500px;
  }
}

@media screen and (max-width: 1000px) {
  .mx-image-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .stream_info_parent {
    width: 80%;
  }
  .table_col_wrap {
    display: block;
    text-align: center;
  }
  .table_col_wrap section {
    margin: 10px auto !important;
  }
  .info_icon {
    width: 60px;
    height: 40px;
    font-size: 1em;
  }
  .info_icon i {
    padding: 10px;
  }

  .api_wrap,
  .api_wrap .input {
    width: 500px;
  }
  .video_cut_wrap video {
    width: 80% !important;
  }
}

@media screen and (max-width: 987px) {
  .addStream_wrap_middle {
    margin-left: 3em !important;
    margin-bottom: 5em;
    margin-top: 2em !important;
  }
  .table_clicks {
    width: 100%;
    box-shadow: none !important;
    margin-left: -20px;
  }

  .api_wrap,
  .api_wrap .input {
    width: 500px;
  }
}

@media screen and (max-width: 850px) {
  .headline_wrap h1 {
    font-size: 1.5em !important;
  }
  .headline_wrap {
    margin-right: 1em;
  }
  .button {
    font-size: 1.2em;
  }
  .modal-header {
    display: block !important;
  }
  .btn-close {
    position: fixed;
    right: 0;
    top: 38px;
  }
  .addStream_wrap_left input[type="text"],
  .addStream_wrap_left textarea {
    width: 90% !important;
  }
  .api_wrap,
  .api_wrap .input {
    width: 500px;
  }

  .imagerows {
    width: 94%;
  }
  .from_video {
    font-size: 13px;
  }
  .input_time {
    height: 45px;
  }
}

@media screen and (max-width: 794px) {
  .addStream_wrap_right {
    margin-top: -3em !important;
  }
  .konto_wrap_right input,
  .konto_wrap_left input {
    width: 300px;
  }
  .modal-header .button {
    margin: 10px auto;
  }
  .api_wrap,
  .api_wrap .input {
    width: 350px;
  }
}

@media screen and (max-width: 700px) {
  .content_wrap {
    margin-left: 0;
  }
  .home_wrap {
    margin-left: 2em;
  }
  .thumbnail_upload {
    display: block;
  }

  .thumbnail_upload input {
    margin-left: -20px;
    font-size: 12px;
  }
  .modal-dialog {
    margin: 0 !important;
  }
  .modal-body {
    text-align: center;
  }
  .addStream_wrap_left {
    margin-left: 0;
  }
  .date_time_wrap,
  .date-wrap {
    justify-content: center;
  }
  .modal-body .d-flex {
    justify-content: center !important;
  }
  .modal-body .spacer {
    margin-left: 0 !important;
  }
  .modal-body .form-select {
    margin: 0 auto;
  }
  .select2-container {
    width: 80% !important;
  }
  .thumbnail_stream {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .api_wrap,
  .api_wrap .input {
    width: 350px;
  }
  .form-switch {
    padding-right: 0 !important;
  }
  .addStream_wrap_middle {
    margin-left: 3em !important;
    margin-bottom: 3em;
    margin-top: 1em !important;
  }
  .addStream_wrap_right .spacer {
    margin-left: 3em;
    margin-bottom: 2em;
  }
  .sec_head {
    padding-top: 20px !important;
  }

  .imagerows {
    width: 94%;
  }

  .video_cut_wrap video {
    width: 80% !important;
    margin-left: 0 !important;
  }

  .cut_wrap {
    text-align: left !important;
  }
}

@media screen and (max-width: 560px) {
  .addStream_wrap_left,
  .addStream_wrap_middle,
  .addStream_wrap_right {
    margin-left: 0 !important;
  }

  .addStream_wrap_left input[type="text"],
  .addStream_wrap_left textarea {
    width: 250px;
  }
  .date_time_wrap {
    display: block;
  }
  .time-wrap {
    margin-left: 0;
  }

  .konto_wrap_right input,
  .konto_wrap_left input {
    width: 350px;
  }

  .api_wrap {
    width: 350px;
  }

  .konto_wrap {
    margin-left: 0 !important;
  }

  .konto_wrap_left .spacer {
    margin-left: 1em;
    margin-top: 1.5em;
  }

  .konto_wrap_right .spacer {
    margin-left: 1em;
    margin-top: 1.5em;
  }

  .api_wrap,
  .api_wrap .input {
    width: 350px;
  }
  .statistic {
    margin-left: 2em !important;
    margin-right: 2em !important;
  }
  .table_col_wrap i {
    font-size: 29px;
  }

  @media screen and (max-width: 500px) {
    .welcome i {
      font-size: 3em;
    }
    .welcome section {
      margin-top: 12px;
      margin-left: 15px;
    }
    .welcome p {
      font-size: 0.8em;
    }
    .welcome h2 {
      font-size: 1em !important;
      width: 80%;
    }
    h1 {
      font-size: 1em !important;
    }

    h1::before {
      border-top: 0.2rem solid var(--prime_color);
      width: 1em;
      margin: -10px 0.5rem;
    }
    .content_wrap {
      margin-left: -1em;
    }
    .video_clip_slider {
      margin-left: 0 !important;
      margin-top: 1em;
    }
    .thumbnail_stream {
      width: 90% !important;
      height: 150px !important;
      background-size: cover !important;
      transition: all 0.2s ease-in-out;
    }
    .info_cards_wrap {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
    .headline_wrap {
      display: block !important;
      margin-top: 6em;
    }
    .channel_wrap .accordion {
      margin-top: 1em;
      margin-left: 0;
      padding-right: 1.7em;
    }
    .channel_wrap {
      margin-left: 0;
    }
    .button {
      margin-top: 15px;
    }
    .search_wrap {
      width: 93% !important;
    }
    .streams_wrap {
      margin-top: 5em;
      margin-right: 2em;
    }
    .table_clicks {
      width: 85%;
      margin: 0 auto;
    }
    .table_clicks .thumbnail_stream {
      width: 237px !important;
      height: 137px !important;
    }
    .konto_wrap_right input,
    .konto_wrap_left input {
      width: 300px;
    }
    .api_wrap {
      width: 300px;
    }
    .api_wrap,
    .api_wrap .input {
      width: 300px;
    }

    .time_single_wrap .button {
      margin-top: 0px !important;
    }
  }

  .unique_num {
    font-size: 0.3em;
  }

  .avgtime {
    text-align: center;
    width: 100%;
  }

  #imageContainer {
    overflow-x: hidden;
  }

  #imageSearch {
    width: 100%;
  }
  .outerimage {
    text-align: center;
    padding-top: 118px !important;
  }
  .innerimage {
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
  }
  .innerimage img {
    position: absolute;
    top: -118px;
    left: -12px;
  }

  .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: #52ad31;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }

  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  .channel_wrap .sublist {
    margin-top: 2em;
    margin-left: 2em;
    padding-right: 8em;
    width: 80%;
  }
  .w-10 {
    width: 10%;
  }

  /* General Table Styles */
  table.sublist {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
  }

  /* Header Styles */
  table.sublist thead th {
    text-align: left;
    padding: 15px;
    background-color: #f5f5f5;
    color: #333333;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid #e0e0e0;
  }

  /* Table Row Styles */
  table.sublist tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
  }

  table.sublist tbody tr:hover {
    background-color: #f9f9f9;
  }

  /* Cell Styles */
  table.sublist td {
    padding: 15px;
    font-size: 0.9rem;
    color: #666666;
  }

  table.sublist .w-20 {
    width: 20%;
  }

  /* Action Button Styles */
  .action-btn {
    background-color: #4caf50;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .action-btn:hover {
    background-color: #45a049;
  }

  .modal-body p {
    margin-top: 15px;
    margin-bottom: 0 !important;
  }

  .imagerows {
    width: 94%;
  }
}
