@import "/undersokelser.css";


#bg1 {
  position: relative;
  padding: 20px;
}

.scrollable-container {
  max-height: 70vh;       /* Maximum height of 70% of the viewport height */
  overflow-y: auto;       /* Enables vertical scrolling if content overflows */
}


.top_pic {
  width: calc(100% + 40px);
  margin: -20px;
  object-fit: cover;
  object-position: center;
  height: 300px;
  border-radius: 15px 15px 0 0;
  margin-bottom: 0px;
  position: relative;
}

.arr_main {
  display: grid;
  grid-template-columns: auto 300px;
  position: relative;
}

#pmelding_stenger {
  padding-bottom: 4px;
  margin-bottom: 4px;
  margin-top: 4px;
}

.text_date {
  margin-bottom: 4px;
}

.arrleft {
  flex-grow: 1;
  padding-left: 10px;
  position: relative;
}

.arrleft p{
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#grid-container {
  /*width:min(406px, 84vw);*/
  width: 100%;
  aspect-ratio: 1 / 1;
  font-size: 0;
}

.grid-cell {
  /*width: min(12px, 2.4489795918367347vw);
  height: min(12px, 2.4489795918367347vw);
  margin:min(1px, 0.21978021978021978vw);*/
  width: 2.955665024630542%;
  height: 2.955665024630542%;
  margin: 0.24630541871921183%;
  display: inline-block;
}

.grid-cell-black {
  /*width: min(12px, 2.4489795918367347vw);
  height: min(12px, 2.4489795918367347vw);
  margin:min(1px, 0.21978021978021978vw);*/
  width: 2.955665024630542%;
  height: 2.955665024630542%;
  margin: 0.24630541871921183%;
  background-color: #000;
  display: inline-block;
  border-radius: 25%;
}

.grid-cell-black-logo {
  width: 2.955665024630542%;
  height: 2.955665024630542%;
  margin: 0.24630541871921183%;
  background-color: #000;
  display: inline-block;
  border-radius: 25%;
}

.grid-cell-black-corners {
  /*width: min(12px, 2.4489795918367347vw);
  height: min(12px, 2.4489795918367347vw);
  margin:min(1px, 0.21978021978021978vw);*/
  width: 3.4482758620689653%;
  height: 3.4482758620689653%;
  background-color: #000;
  display: inline-block;
}
.arrright {
  width: 300px;
  margin: -20px;
  margin-top: 0px;

  margin-bottom: 0px;
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.arrright::after {
  content: "";
  position: absolute;
  top: 30px; /* Start 30px from the top */
  /*bottom: 30px; /* End 30px from the bottom */
  bottom: 0px;
  left: 0px;
  border-right: 2px solid; /* Adjust color as needed */
}

.oppmote {
  position: absolute;
  top: 30px;
  right: 10px;
}

@media (max-width: 650px) {
  .oppmote {
    top: auto;
    bottom: 20px;
    left: 5px;
  }

  .arr_main {
    grid-template-columns: 1fr; /* Make the grid a single column */
  }

  .arrright {
    margin: 0; /* Reset margins */
    margin-bottom: 125px;
    width: 100%; /* Make it full width */
  }

  .arrright::after {
    top: 0px; /* Move to the top */
    bottom: auto; /* Remove bottom positioning */
    left: 0px;
    right: 0px; /* Stretch across the top */
    border-right: none; /* Remove right border */
    border-bottom: 2px solid; /* Add bottom border */
  }
}

#host-div {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

#space_host-div {
  height: 120px;
}

.join_button {
  background-color: rgb(243, 243, 243);
  flex-direction: column;
  align-items: center;
  width: 200px;
  position: relative;
  top: 30px;
  border: 3px solid black;
  /*////////////////////*/
  background-image: radial-gradient(
    100% 100% at 100% 0,
    #f7f7f7 0,
    #dadada 100%
  );
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: not-allowed;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  font-size: 18px;
  height: 92px;
}

#join_button {
  top: 30px;
  width: 200px;
  flex-direction: column;
  align-items: center;
  appearance: none;
  background-image: radial-gradient(
    100% 100% at 100% 0,
    #75f17b 0,
    #43c538 100%
  );
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  height: 92px;
}

#join_button:focus {
  box-shadow: #43c538 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #43c538 0 -3px 0 inset;
}

#join_button:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #43c538 0 -3px 0 inset;
  transform: translateY(-2px);
}

#join_button:active {
  box-shadow: #43c538 0 3px 7px inset;
  transform: translateY(2px);
}

#join_buttonp {
  font-size: 38px;
  margin: 0px;
}

.jbb1 {
  font-size: 15px;
  margin: 2px;
  margin-top: 10px;
}

.jbb2 {
  font-size: 40px;
  margin: 0px;
  font-family: "JetBrains Mono", monospace;
}

.jbb3 {
  font-size: 15px;
  margin: 0px;
  color: red;
  margin-bottom: 10px;
}

#leave_button {
  top: 30px;
  width: 200px;
  flex-direction: column;
  align-items: center;
  appearance: none;
  background-image: radial-gradient(
    100% 100% at 100% 0,
    #f17575 0,
    #c53838 100%
  );
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  height: 92px;
}

#leave_button:focus {
  box-shadow: #c53838 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #c53838 0 -3px 0 inset;
}

#leave_button:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #c53838 0 -3px 0 inset;
  transform: translateY(-2px);
}

#leave_button:active {
  box-shadow: #c53838 0 3px 7px inset;
  transform: translateY(2px);
}

#itemr1 {
  padding-top: 30px;
}

#headt {
  font-size: 36px;
  margin-bottom: 1px;
}

#under_h {
  margin-top: 0px;
}

#map {
  position: relative;
  height: 230px;
  width: 230px;
  border: 2px solid black;
  border-radius: 10px;
}

/*/////////////////////////////////////////////////////////////*/

.club_div {
  width: calc(100%-50px);
  border-radius: 25px;
  border: 2px solid var(--main-color);
  margin: 20px;
  background-color: #f1f1f1;
  height: 140px;
  cursor: pointer;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.club_div:hover {
  filter: brightness(80%);
}

.bg_class {
  border-radius: 23px 0 23px 0;
  width: calc(100% - 160px);
  height: 100px;
  object-fit: cover;
  filter: brightness(70%);
}

.bg_icon {
  position: relative;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  float: right;
  top: -220px;
  right: 20px;
  background-color: var(--main-color);
  border: 6px solid var(--main-color);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.club_title {
  position: relative;
  color: var(--details-color);
  top: -80px;
  left: 10px;
  font-size: 40px;
}

.club_disc {
  position: relative;
  top: -83px;
  left: 10px;
}

.image-wrapper {
  width: calc(100% + 40px);
  margin: -20px;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  position: relative; /* Add this */
}

.image-wrapper:before {
  content: "";
  display: block;
  padding-top: 50%;
}

#big_bg_club {
  position: absolute; /* Add this */
  top: 0; /* Add this */
  left: 0; /* Add this */
  width: 100%;
  height: 100%; /* Modify this */
  object-fit: cover; /* Modify this */
}

#head_div {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0 25px 0 0;
  padding-left: 30px;
  padding-right: 60px;
  padding-top: 5px;
  color: var(--details-color);
  font-size: 24px;
}

.club_icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: var(--main-color);
  border-radius: 50%;
  color: var(--details-color);
  font-size: 24px;
  height: 100px;
  width: 100px;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.2);
}

.bar {
  height: 20px;
  position: relative;
}

#join_div {
  position: absolute;
  top: 50px;
  right: 2px;
  padding: 10px;
  border-left: 3px solid var(--main-color);
  width: 250px;
  height: 400px;
}

#left_side {
  width: calc(100% - 300px);
  min-height: 450px;
}

.button2 {
  height: 50px;
  position: relative;
  width: 140px;
  font-size: 20px;
  border-radius: 12px;
  cursor: pointer;
}

.button2 .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.button2:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#not_logged_in {
  background-color: #ccc;
  color: #999;
  border-color: #999;
  cursor: not-allowed;
}

.yu1 .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 95%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.yu1:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.yu1 {
  height: 54px;
  width: 54px;
  padding: 4px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.yu2 {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 1px solid black;
}

#users_div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 260px;
  /*width:248px;*/
}

#spot {
  margin-top: 5px;
  margin-bottom: 3px;
}
#leaders_div {
  display: flex;
  flex-wrap: wrap;
}

#yu4 {
  margin-bottom: 2px;
}

#yu5 {
  margin-bottom: 2px;
}

#yu3 {
  margin-top: 0px;
  color: var(--main-color);
  cursor: pointer;
}
#yu3:hover {
  text-decoration-line: underline;
}

#member_button {
  transition: opacity 2s;
  background-color: #aaa;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
#member_button:hover {
  background-color: #999;
}

#not_member_button {
  background-color: var(--main-color);
  color: var(--details-color);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

#not_member_button:hover {
  background-color: var(--main-color-hover);
}

#m_pop {
  width: 400px;
}

#filter_input {
  background-image: url("https://elektraio.ams3.digitaloceanspaces.com/images/icons/searchicon.png"); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 340px; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
}

#m_inner {
  overflow-x: hidden;
  overflow-y: auto;
  height: 500px;
  background-color: #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0 0 15px 15px;
}

.glow {
  text-shadow: 0px 0px 6px rgba(226, 24, 24, 0.575);
  color: red;
}

.where_container {
  max-width: 270px;
  display: flex;
  align-items: center;
}

.where_icon {
  width: 30px;
  height: 30px;
}

.where_text {
  flex-grow: 1;
  text-align: left;
  padding-left: 0px;
}

.host_container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.host_container:hover {
  transform: scale(1.01);
}

.host_icon {
  height: 60px;
  width: 60px;
  background-color: var(--main-color);
  border-radius: 50%;
  border: 5px solid var(--main-color);
}

.host_text {
  flex-grow: 1;
  text-align: left;
  padding-left: 10px;
}

iframe {
  border-radius: 10px;
}

.edit_button {
  position: absolute;
  right: 0px;
  top: 0px;
  height: 30px;
  width: 80px;
  z-index: 3;
  border-radius: 0 15px 0 0;
  background-color: #eee;
  cursor: pointer;
}

.edit_button:hover {
  background-color: #ccc;
}
