body {
  font-family: "dinosaur", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: rgba(255,255,255, 1);
  color: #000;
  margin: 0 auto;
  padding: 0 25px;
  overflow-x: hidden;
  height: 100%;
}

.nob {
  border: none !important;
}

.cta {
  font-family: "dinosaur", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-color: black;
}

.cta-xl {
  font-size: 1em;
  line-height: 1.6em; 
  padding: 2px;
  width: 256px !important;
  margin: 5px 0;
}

.ql-toolbar, .ql-snow {
  font-family: "dinosaur", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  border-color: black !important;
  max-width: 720px; /* Set the maximum width */
}

.action {
  margin-top: 1em;
}

#text {
  font-family: "dinosaur", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-color: black;
  max-width: 720px; /* Set the maximum width */
  min-height: 320px;
}

#notes {
  height: 160px;
  width: 100%;
  max-width: 720px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#preferences {
  margin-bottom: 2em;
}

.descr,
label {
  font-family: "courier", serif;
  font-weight: 400;
  font-style: normal;
  color: dimgray;
  margin-top: 2em;
  font-size: 0.8em;
}

.filter-count {
  margin-left: 4px;
  display: inline-block;
}

.filter-link {
  display: inline-flex;
  align-items: center;
}

.epic-pill {
  border: 2px solid transparent;
  padding: 4px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
}

.epic-pill:hover {
  border-color: var(--epic-color-solid, #000);
  background-color: var(--epic-color, #000) !important;
  color: #fff;
}

.epic-pill.active {
  background-color: var(--epic-color, #000) !important;
  border-color: var(--epic-color-solid, #000);
  color: #fff;
}

/* Specific styles for highlighted filter */
#highlightedFilter:hover,
#highlightedFilter.active {
  color: #fff;
  background-color: #000 !important;
  border-color: #000;
}

.pill {
  display: inline-block;
  padding: 4px 8px; /* Adjust the padding as needed */
  background-color: #fff; /* Set the background color */
  color: dimgray; /* Set the text color */
  border: 1px solid dimgray;
  border-radius: 20px; /* Adjust the border radius for a rounded appearance */
  font-size: 14px; 
  margin: 0px !important;
}

.ribbon {
  margin: 0 auto;
  width: 100%;
  height: 125px;
  position: fixed;
}

.callout-info {
  max-width: 830px;
  margin: 20px 0;
  padding: 20px;
  background-color: #d1ecf1;
  border-left: 5px solid #0c5460;
  color: #0c5460;
  font-family: Arial, sans-serif;
}

.callout-info a {
  color: #0c5460 !important;
}


.alert-info {
  max-width: 830px;
  margin: 20px 0;
  padding: 20px;
  background-color: #f8d7da;
  border-left: 5px solid #721c24; 
  color: #721c24; 
  font-family: Arial, sans-serif;
}

.callout-info, .alert-info {
  border-radius: 5px;
}

.hidden {
  display: none !important;
}
.visible {
  display: block;
}

.modal, .modal > ul {
  margin: 0 auto;
  padding: 0 2em;
  background-color: white;
}

.modal {
  position: fixed;
  background-color: white;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 997;
  transition: all 0.3s;
  overflow: auto;
  padding: 0 50px;
}

.right-column {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.left-column {
  flex: 1;
  width: 75%;
  height: 100vh;
  overflow: hidden;
}

  .right-column button {
    margin-bottom: 10px;
  }

  .left-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


.close a {
  color: black;
  text-decoration: none;
}

.back a {
  color: black;
  text-decoration: none;
}

.nodeco a {
  color: black;
  text-decoration: none;
}

a {
  color: black;
  cursor: pointer;
}

a:visited {
  color: black;
}

#loginform {
  margin-top: 4em;
  max-width: 262px;
}

.action > .buttonxs {
  text-decoration: none;
  border: 1px solid #fff;
  border-radius: 5px;
  background-color: #fff;
  color: black;
  padding: 2px 15px;
  font-size: .8em;
  text-align: center;
  cursor: pointer;
}

.action > .button {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 15px; 
  text-decoration: none; 
  background-color: #f0f0f0;
  color: #333; 
  border-radius: 5px; 
  font-size: 1em;
  line-height: 1.4em;
}

.button,
.buttonxs {
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #000;
  color: white;
  padding: 15px;
  font-size: 1em;
  line-height: 1.4em;
  cursor: pointer;
}

.button-primary,
.button-xs-primary {
  border: 1px solid black !important;
  background-color: black !important;
  color: white !important;
}

.button-wide {
  width: 100% !important;
  /* max-width: 720px; */
}

.linkxs {
  text-decoration: none;
  border: none;
  background-color: #fff;
  color: black;
  padding: 15px;
  font-size: 1em;
  line-height: 1.4em;
  cursor: pointer;
}

input[type=button], .button {
  border: 1px solid #000;
  border-radius: 5px;
  background-color: transparent;
  text-decoration: none;
  color: #000;
  padding: 15px;
  font-size: 1em;
  cursor: pointer;
  line-height: 1.4em;
}

input:disabled[type=button] {
  border: 1px solid grey;
  border-radius: 5px;
  background-color: transparent;
  color: grey;
  padding: 15px;
  cursor: pointer;
}

input[type=buttonxs], .buttonxs {
  border: 1px solid #000;
  border-radius: 5px;
  background-color: transparent;
  color: #000;
  padding: 2px 15px;
  font-size: .8em;
  text-align: center;
  cursor: pointer;
}

input[type=submit], .submit {
  border: 1px solid #000;
  background-color: transparent;
  text-decoration: none;
  color: #000;
  padding: 15px;
  font-size: 1em;
  cursor: pointer;
  text-align: center;
}

input[type=logout], .logout {
  border: 1px solid #000;
  background-color: transparent;
  text-decoration: none;
  color: #000;
  padding: 15px;
  font-size: 1em;
  cursor: pointer;
  text-align: center;
}

input:disabled[type=buttonxs] {
  border: 1px solid grey;
  border-radius: 5px;
  background-color: transparent;
  color: grey;
  padding: 2px 15px;
  font-size: .8em;
  text-align: center;
  cursor: pointer;
}

input[type=link] {
  text-decoration: underline;
  border: none;
  background-color: transparent;
  color: black;
  font-size: 1em;
  cursor: pointer;
}

input:disabled[type=link] {
  text-decoration: underline;
  border: none;
  background-color: transparent;
  color: grey;
  font-size: 1em;
  cursor: pointer;
}

input[type=linkxs] {
  text-decoration: underline;
  border: none;
  background-color: transparent;
  color: black;
  font-size: .8em;
  cursor: pointer;
}

input:disabled[type=linkxs] {
  text-decoration: underline;
  border: none;
  background-color: transparent;
  color: grey;
  font-size: .8em;
  cursor: pointer;
}

.italic {
    font-style: none;
}

h1 {
    font-family: "zeitung", sans-serif;
    font-size: 2.2em;
    font-weight: 900;
    margin-bottom: 1em;
}

h2 {
  font-size: 1.6em;
  font-weight: 900;
  margin-bottom: 1em;
}

.copy {
  margin-bottom: 2em;
  font-size: 1.1em;
  max-width: 720px;
}

.copy_empty {
  font-family: "zeitung", sans-serif;
  font-weight: 900;
  font-size: 3em;
  text-align: center;
  margin-top: 40%;
  margin-bottom: 3em;

}

p {
  margin: 0em;
}

ul {
    padding: 0px;
    margin: 0px;
}

li {
    list-style-type: none;
    margin: 1em 0;
}

li[data-list="bullet"] {
  list-style-type: disc; 
}

li[data-list="ordered"] {
  list-style-type: decimal; 
}

input, select {
    border: 1px solid;
    border-radius: 5px;
    background-color: #fff;
}

.hidden {
    display: none;
}


#channelForm {
    display: none;
}

#epicForm {
    display: none;
}

#dropForm {
    display: none;
}

  #channelForm:target {
    display: block;
    animation: fadein 0.5s;
  }

  #epicForm:target {
    display: block;
    animation: fadein 0.5s;
  }

  #dropForm:target {
    display: block;
    animation: fadein 0.5s;
  }
  
  #epic_detail {
    display: none;
  }

  #epicDropsTable, #dropsTable {
    margin-top: 2em !important;
  }

  .menulogo {
  }

  .logo {
    font-family: "zeitung", sans-serif;
    font-style: normal;
    font-size: 1.5em;
    float: left;
  }

  .logo > img {
    width: 96px;
    vertical-align: middle;
  }

  .centerlogo {
    /* float: none; */
    display: flex;
    justify-content: center;
    align-items: center;

  }

  .centerlogo >.logo {
    width: 148px;
  }


  .add {
    float: right !important;
  }

  .header {
    position: fixed;
    z-index: 999;
    padding: 10px 20px 0px 20px;
    background-color: white;
    width: 100%;
  }

  .header:after {
    content: "";
    display: table;
    clear: both;
  }


  .menu {
    float: left;
    /* margin-top: 16px; */
  }

  .menuitem {
    float: left;
  }

  #slidericon {
    width: 36px; 
    height: 40px; 
    color: black;
    border: none;
    background-color: transparent;    
    cursor: pointer;
  }

  .searchbar {
    margin: 55px 55px 10px 0px;
    height: 2.5em;
    display: flex;
    justify-content: center;
  }

  .clear-search {
    cursor: pointer;
    margin-left: -120px; 
    margin-top: 9px;
    color: black; 
  }

  #eventSearch {
    padding: 0 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    font-size: 1em;
  }

  #searchButton {
    margin-left: -1px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
  }

  .filter-panel {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    transition: margin-left 0.3s ease;
  }

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.epic-pill {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s, color 0.3s;
}

.epic-pill.active {
    background-color: #000;
    color: white;
}


.clear-filters {
  display: block;
  text-align: right;
  margin-top: 10px;
  text-decoration: underline;
  display: none;
}

.clear-filters:hover {
  text-decoration: underline;
}

  .ql-toolbar {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 0px;
  }

  .ql-container {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 5px;
  }

  .fc-scrollgrid {
    border-radius: 10px;
    overflow: hidden;  
  }
  

  #username {
    margin-bottom: 2em;
  }

  .gallery-image {
    width: 100%;
    border-radius: 8px;

  }
  

  .descr > img, #imagePreview {
    width: 100%;
    max-width: 720px;
    margin: 5px 0;
  }


  .logincontainer {
    display: flex;
    flex: 1;
    margin: 0 auto;
    text-align: center;
  }

  .card {
    /* margin: 10px; */
    text-align: left;
    /* max-width: 830px; */
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.card a {
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

#imageUpload {
  margin-bottom: 1em;
}

  table {
    width: 100%;
  }

  td {
    padding: 0px 20px 0px 0px;
  }

  .thirty {
    width: 30%;
  }

  .twenty {
    width: 20%;
  }

  .ten {
    width: 10%;
  }

  table > #channels_ul,  table > #epics_ul, table > #drops_ul {
    line-height: 1.8em;
    margin-top: 2em;
  }

  #dropsHeader > tr > th, #epicDropsHeader > tr > th {
    font-weight: 400;
    text-align: left;
  }

  .back_close_header {
    height: 8em;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .back_close_header .close {
    margin-left: auto;
  }

  #calendar {
    /* clear: both; */
    height: 80vh;
    /* margin: 0 1.5em; */
  }

  .subcontentmetacontainer {
    display:none; 
    /* margin-top: 8em; */
  }

  #contentcollectioncontainer {
    clear: both;
    /* margin-left: 1.5em; */
  }

  #contentcontainer {
    clear: both;
    /* margin-left: 1.5em; */
  }

  .contentcontainer {
    clear: both;
    margin-top: 100px;
    margin-bottom: 3em;
    /* margin-left: 1.5em; */
  }

  .copycontainer {
    margin-top: 100px;
    margin-bottom: 3em;
    float: left;
    width: 45%;
  }

  .metacontainer {
    margin-top: 100px;
    margin-bottom: 3em;

    float: left;
    margin-left: 4em;
    max-width: 35%;
    word-wrap: break-word;
  }

  .editcontainer {
    margin-top: 2em;
  }

  .centercontainer {
    margin: 100px auto;
    text-align: center;
    }

  .centered {
    text-align: center;
  }

  .modal > ul, .modal > table {
    clear: both;
    padding: 0 25px 25px 25px;
  }

  .modal > .close {
    margin-top: 2em;
     padding: 0 25px;
  }

  .modal > .back {
    margin-top: 2em;
     padding: 0 25px;
  }

  #main {
    transition: margin-left 0.3s ease; 
  }

  #settings {
    position: fixed;
    width: 270px; 
    background: #333; 
    color: #fff; 
    left: -370px; 
    transition: left 0.3s ease; 
    height: 100%;
    overflow: hidden;
    z-index: 998;
    padding: 50px;
  }

  #settings::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    background-color: #333;
    z-index: 1;
  }

  #settings .content {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    /* width: 100%; */
    height: calc(100% - 58px);
    padding: 0 50px;
  }

  .menu_column > li {
    margin: 0.5em 0;
  }

  #settings a {
    color: white;
  }

  #settings .button {
    color: #000;
  }

  #profile {
    margin-bottom: 7em;
  }

  
  .menu_column {
    display: flex;
    flex-direction: column; 

  }
  

  .tooltip {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    cursor: pointer;
}

.event-tooltip {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  width: 320px;
  max-height: 620px;
  overflow-y: auto;
  z-index: 999 !important;
}

.event-tooltip .tooltip-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  margin: 10px 0;
}

.event-tooltip .tooltip-images img {
  object-fit: cover;
  border-radius: 5px;
  max-width: 310px;
  margin: 5px;
}

  i {
    float: left;
  }

  .pointer {
    cursor: pointer;
  }

  #epicPills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .highlighted-wrapper {
    display: flex;
    align-items: center;
    margin-right: 10px;
  }
  
  .epic-pill {
    /* existing styles */
    display: inline-flex;
    align-items: center;
    height: 36px; /* Adjust as needed */
    padding: 0 10px;
    margin: 2px;
    border-radius: 18px;
    background-color: #fff;
    cursor: pointer;
  }

  .filter-link {
    display: inline-flex; /* Use flexbox for better alignment */
    align-items: center; /* Center items vertically */
    margin-top: -20px;
  }
  
  .gg-sort-az {
    margin-left: 10px !important; /* Space between the button and the icon */
    margin-top: 18px;
  }
  
  .gg-math-plus {
    margin: 0 5px;
    transform: scale(0.8); /* Adjust size as needed */
  }

  a > i[class^="gg-close"] {
    --ggs:1.5;
    margin: 0;
  }
 
  a > i[class^="gg-chevron-left"] {
    --ggs:1.5;
    margin: 0;
  }
  
  a > i[class^="gg-menu-boxed"] {
    --ggs:1.3;
   margin: 8px 8px 0 0;
  }
  
  a > i[class^="gg-add"] {
    --ggs:1.1;
   margin: 5px 8px 0 0;
  }

  a > i[class^="gg-link"] {
    margin: 10px 16px 0px 7px;
  }
  
  a > i[class^="gg-math-plus"] {
    --ggs:0.6;
    margin-top: 2px;
  }

  .close {
    float: right;
    margin-bottom: 1em;
    padding: 10px !important;
  }
  
  .back {
    float: left;
    margin-bottom: 1em;
    padding: 10px !important;
  }

  #epicTitleHeader, #channelTitleHeader, #dateTimeHeader {
    text-decoration: none;
  }

  i[class^="gg-arrows-v"] {
    display: inline-block;
    vertical-align: bottom;
    margin-right: 10px;
  }

  i[class^="gg-copy"] {
    display: inline-block;
    vertical-align: bottom;
    margin-right: 10px;
    --ggs: 0.7;
  }

  /* fullcalendar*/

  .fc .fc-toolbar-title {
    font-family: "dinosaur", sans-serif;
    font-style: normal;
    font-size: 1em !important;
  }

  .fc-event-time {
    display: none !important;
  }

  .fc-timeline-event {
    height: 45px;
  }

  sup {
    color: grey;
  }

  td > sup {
    font-size: 0.6em;
  }
  
  .footnote {
    margin-top: 2em;
    font-size: 0.8em;
  }

  #dashboardcontainer {
    display: flex;  
    justify-content: space-between;  
    align-items: flex-start;  
    width: 100%;  
  }
  
  #dataList, #dataVisual {
    flex: 1;  
    margin-top: 4em;  
    padding: 1em;  
  }

  .circle-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;    /* Center vertically */
    height: 100%;           /* Ensure the container takes full height */
    width: 100%;            /* Ensure the container takes full width */
}

.circle {
    border-radius: 50%;     /* Ensure the element is circular */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 7px; 
    min-width: 7px;
}

  .fc-button-active {
    color: whitesmoke !important;
}

.fc-button:hover {
    color: whitesmoke !important;
}

a.fc-event {
  border-radius: 0.25em !important;
  border-left-width: 0.25em !important;
  font-weight: bold;
}

.fc-event {
  border-left-width: 5px !important;
}

.finalized-event {
  border: none !important;
}

.draft-event {
  border-left-width: 5px !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.highlight-today {
    background-color: black;
    font-weight: bold;
}

.custom-event {
    background-color: transparent;
    background-image: none;
    color: #fff;
    border: none;
  }
  
  .custom-event.epic-low {
    background-color: rgba(255, 0, 0, 0.5); 
  }
  
  .custom-event.epic-high {
    background-color: rgba(0, 0, 255, 0.5);
  }

a.fc-event.context {
  background-color: #fff !important;
  border-width: 2px !important;
  color: rgba(130,150,150, 1) !important;
  border-color: rgba(130,150,150, 1) !important;
  border-radius: 50px !important;
}

a.fc-event.campaign {
  border-radius: 50px !important;
}

/* Override default resize styling */
.fc-event-resizing {
  opacity: 0.7;
  z-index: 100;
}

/* Keep date cells white during resize */
.fc .fc-highlight {
  background: #fff !important;
  opacity: 0.3;
}

/* Ensure date cells stay visible during resize */
.fc-timeline-slot.fc-timeline-slot-lane {
  /* background: #fff; */
}

:root {
    --fc-small-font-size: .85em;
    --fc-page-bg-color: #fff !important;
    --fc-neutral-bg-color: grey !important;
    --fc-neutral-text-color: grey !important;
    --fc-border-color: #ddd;
    --fc-button-text-color: #000 !important;
    --fc-button-bg-color: none !important;
    --fc-button-border-color: #000 !important;
    --fc-button-hover-bg-color: #000 !important;
    --fc-button-hover-border-color: #000 !important;
    --fc-button-active-bg-color: #000 !important;
    --fc-button-active-border-color: #000 !important;
    /* --fc-event-bg-color: black !important;
    --fc-event-border-color: black !important; */
    --fc-event-text-color: whitesmoke !important;
    --fc-event-selected-overlay-color: rgba(0,0,0,.25);
    --fc-more-link-bg-color: black;
    --fc-more-link-text-color: inherit;
    --fc-event-resizer-thickness: 8px;
    --fc-event-resizer-dot-total-width: 8px;
    --fc-event-resizer-dot-border-width: 1px;
    --fc-non-business-color: grey !important;
    --fc-bg-event-color: #8fdf82;
    --fc-bg-event-opacity: 0.3;
    --fc-highlight-color: black !important;
    --fc-today-bg-color: rgba(256, 256, 256, .2) !important;
    --fc-now-indicator-color: red;
}
  
  .circle-container-week, .circle-container-month {
    display: inline-block;
    margin: 10px;
    vertical-align: top;
  }
  

  .list-item {
    text-align: center;
  }

  .disabled-pill:hover {
    background-color: transparent !important; 
    color: initial !important; 
  }


/* For screens smaller than 1072px */
@media (max-width: 1072px) {

  .header {
  }

  .menu {
  }

  .copy {
    max-width: 1072px;
  }

  .copycontainer {
    margin-top: 100px;
    float: left;
    clear: both;
    width: 100%;
  }

  .metacontainer {
    float: left;
    clear: both;
    margin-top: 50px;
    margin-left: 0em;
    width: 100%;
    max-width: none;
    word-wrap: normal;
  }

  .copy_empty {
    margin-top: 10%;
    margin-bottom: 10%;
  }


}


/* For screens smaller than 768px */
@media (max-width: 767px) {

  .header {
  }


  .menu {
    float: left;
  }

  .logotype {
    display: none;
  }

  .searchbar  {
    margin: 65px 20px 20px -40px !important;
    width: 100%;
  }

  .copycontainer {
    margin-top: 100px;
    float: left;
    clear: both;
    width: 100%;
  }

  .metacontainer {
    float: left;
    clear: both;
    margin-top: 50px;
    margin-left: 0em;
    width: 100%;
    max-width: none;
    word-wrap: normal;
  }

  .copy_empty {
    margin-top: 10%;
    margin-bottom: 10%;
  }

  .logincontainer {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    height: auto;
    width: 100%;
  }

  #dashboardcontainer {
    flex-direction: column;  /* Stack lists vertically for mobile views */
    justify-content: center;  /* Center elements horizontally */
    align-items: center;  /* Center elements vertically */
  }

  #dataList, #dataVisual {
    width: 80%;  /* Reduce width for mobile view to enhance centering */
    margin-top: 1em;  /* Adjust spacing for stacked layout */
  }

}

.toggle-switch-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  width: 100%;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 30px;  /* Reduced from 60px */
  height: 17px; /* Reduced from 34px */
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px; /* Reduced from 26px */
  width: 13px;  /* Reduced from 26px */
  left: 2px;    /* Adjusted from 4px */
  bottom: 2px;  /* Adjusted from 4px */
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  transform: translateX(13px); /* Adjusted from 26px */
}

.slider.round {
  border-radius: 17px; /* Adjusted to match new height */
}

.slider.round:before {
  border-radius: 50%;
}

.preference-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  width: 100%;
}

.menu-state-label {
  flex-grow: 1;
}

.preference-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  margin-left: auto;
  display: block;
}

.drops-filter-panel {
    display: flex;
    flex-direction: column;  /* Change to column layout */
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;  /* Make filter row full width */
}

.filter-item {
    display: flex;
    align-items: center;
}

.filter-item label {
    margin-top: 0;
    margin-right: 10px;
    white-space: nowrap;
}

.filter-item input[type="date"] {
    width: 130px; /* Adjust as needed */
}

#copyDropsButton {
    margin-left: auto;
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item {
        justify-content: space-between;
        margin-bottom: 10px;
    }

    #refreshDropsButton {
        width: 100%;
    }
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

#monthVisual {
  width: 100%;
}

@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

.dots {
    animation: blink 1.4s infinite both;
}

.suggestions-dropdown {
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 150px;
    overflow-y: auto;
    position: absolute; /* Position it below the input */
    background-color: white;
    z-index: 1000; /* Ensure it appears above other elements */
    display: none; /* Initially hidden */
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0; /* Highlight on hover */
}

.suggestion-item.highlighted {
    background-color: #f0f0f0; /* Change background color for highlighted item */
}

.tags_container {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background-color: #e0e0e0;
    border-radius: 3px;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Modal styles */
.modal-small {
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important; /* Ensure full width */
  height: 100% !important; /* Ensure full height */
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

.modal-small-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
}

canvas {
  display: block;
  margin: 20px auto;
  background-color: #fff;
  border: none;
}

canvas:active {
  cursor: grabbing;
}

/* Add this CSS to your stylesheet */
#networkCanvas {
  width: 100%; /* Make the canvas 100% wide */
  height: auto; /* Maintain aspect ratio */
}

.canvas-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  display: none;
  z-index: 10;
}

/* Responsive styles for mobile */
@media (max-width: 767px) {
  .modal-small {
    width: 100% !important; /* Force full width on mobile */
    height: 100% !important; /* Force full height on mobile */
  }

  .modal-small-content {
    width: 100% !important; /* Full width for content */
    height: 100% !important; /* Full height for content */
    border-radius: 0; /* Remove border radius for fullscreen */
    max-height: none; /* Remove max height restriction */
  }

  .menu {
    float: left;
  }

  .logotype {
    display: none;
  }

  .searchbar {
    margin: 65px 20px 20px -40px !important;
    width: 100%;
  }

  .copycontainer {
    margin-top: 100px;
    float: left;
    clear: both;
    width: 100%;
  }

  .metacontainer {
    float: left;
    clear: both;
    margin-top: 50px;
    margin-left: 0em;
    width: 100%;
    max-width: none;
    word-wrap: normal;
  }

  .copy_empty {
    margin-top: 10%;
    margin-bottom: 10%;
  }

  .logincontainer {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    height: auto;
    width: 100%;
  }

  #dashboardcontainer {
    flex-direction: column;  /* Stack lists vertically for mobile views */
    justify-content: center;  /* Center elements horizontally */
    align-items: center;  /* Center elements vertically */
  }

  #dataList, #dataVisual {
    width: 80%;  /* Reduce width for mobile view to enhance centering */
    margin-top: 1em;  /* Adjust spacing for stacked layout */
  }
}

/* [role="columnheader"][data-resource-id="0"] {
  display: none;
} */

.campaign {
  height: 24px;
  cursor: default;
}

.context {
  height: 24px;
  cursor: default;
}

.float-right {
  float: right;
}

.has-resource-zero [role="columnheader"] {
  display: none;
}
