html, body {width: 100%;}

/* some colors */
:root{
    --main-color:rgb(40, 40, 63);
    --main-color-filter: rgba(40, 40, 63, 0.664);
    --second-color: #ced7e0;
    --kommun-color: rgb(96, 62, 24);
    --kommun-color-filter: rgb(96, 62, 24, 0.664);
    --lokal-color: rgb(48, 72, 72);
    --lokal-color-filter: rgb(48, 72, 72, 0.664);
    --personal-color: rgb(72, 72, 112);
    --personal-color-filter: rgb(72, 72, 112, 0.664);
    --collab-color: rgb(46, 78, 50);
    --collab-color-filter: rgb(46, 78, 50, 0.664);
    --league-color: rgb(83, 36, 43);
    --league-color-filter: rgb(83, 36, 43, 0.664);
    --grey-line: #CED4DA;
    --color-1: #28283e;
    --color-2: #f2e9e4;
    --color-3: #4e6e81;
    --color-4: #e07a5f;
    --color-5: #ffb627;
  }

/* navbar styles */
.navbar {
    padding-left: 15px;
    padding-right: 15 px;
    background-color: var(--main-color);
    color: ghostwhite;
    transition: top 0.3s;
}
.nav-link.head {
    color:ghostwhite;
}
.nav-link.head.active {
    color: grey;
}
.navbar-text {
    margin-right: 15px;
}

/* large home page logo */


.logo.large{
    border-radius: 5px;
    justify-content: center;
    max-height: 250px;
    text-align: center;
    align-items: center;
    align-content: center;
    background-color: var(--second-color);
}
.logo.large .img{
    border-radius: 5%;
    max-width: 75%;
    max-height: 250px;
    margin: 0;
    padding:0;
    padding-right: 0;
}


/* main container */
.container.main{
    min-height: 85vh;
    background-color: white;
    margin-bottom: 0;
    padding-top: 30px;
    max-width: 900px;
    /* align-items: center;
    align-content: center; */
    /*padding-bottom: 150px;*/
    justify-content: center;
}

.fullwidth {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.fullheight {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
}

.btn-check-custom {
    color: rgb(105, 150, 105);
    background-color: white;
    border: 1px solid rgb(105, 150, 105);
    border-radius: 10%;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    padding: 0;
    margin: 0;
    display: flex;
}.checked {
    color: white;
  background-color: rgba(28, 112, 0, 0.536);
}.active.checked {
  background-color: rgb(28, 112, 0);
  border: 1px solid rgb(65, 147, 37);
}

/* form row stuff */
.form-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 50px;
    align-items: center;
}
.form-row-thin {
    height: 35px;
}
.form-row-grey {
    background-color: #E9ECEF;
    border:  #CED4DA solid 1px;
}
.row-bottom {
    border-top: 0;
}
.text-aligned-center{
    display: flex;
    align-content: center;
    align-items: center;
}
.text-aligned-right {
    justify-content: flex-end;
    margin-right: 15px;
}
.form-row-top{
    border-radius: 7px 7px 0 0;
}

.form-item {
    min-height: 100%;
    max-height: 100%;
}
.form-item-right {
    border-radius: 0 7px 7px 0;
    border-left: 0px;
}
.form-item-right-top {
    border-radius: 0 7px 0 0
}
.form-item-sm {
    width: fit-content;
}
.form-item-mid {
    border-radius: 0 0 0 0;
    border-top: 0;
    border-bottom: 0;
}

/* label for form rows */
.form-label {
    background-color: #E9ECEF;
    border: #CED4DA solid 1px;
    display: flex;
    justify-content: center;
    min-height: 100%;
    max-height: 100%;
    min-width: fit-content;
    align-items: center;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 0;
}


.form-label-left {
    border-radius: 7px 0 0 7px;
}
.form-label-left-top {
    border-radius: 7px 0 0 0;
}

.bi {
    margin-right: 7px
}

/* Species list stuff */

.species-list-container {
    width: 100%;
    padding: 0;
    border: 1px solid var(--grey-line);
    flex-flow: row wrap;
}

.species-list {
    max-height: 90vh;
    overflow: scroll;
}

.species-list-item {
    cursor: pointer;
}

/* Text stuff */

.italics {
    font-style: italic;
}
.thin {
    font-weight:lighter;
}
.bold {
    font-weight: bold;
}

.faded-text {
    color: var(--grey-line)
}

/* col/row stuff */

.no-padding {
    padding: 0;
}
.no-padding-left {
    padding-left: 0;
}
.no-padding-right {
    padding-right: 0;
}
.no-padding-top {
    padding-top: 0;
}
.no-padding-bottom {
    padding-bottom: 0;
}

.no-radius { border-radius: 0;}
.no-radius-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.no-radius-bottom {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.no-radius-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.no-radius-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


.no-margin {
    margin: 0;
}
.no-margin-bottom {
    margin-bottom: 0;
}

.fit-content {
    width: fit-content;
}

.height-50 {
    height: 50%;
}
.height-100 {
    height: 100%;
    min-height: 100%;
}
.margin-auto {
    margin: auto;
}
.grey-background {
    background-image: linear-gradient(to right, #E9ECEF, white);
}

.lightgrey {
    background-color:  #E9ECEF;
}

.upper-border-gray {
    border-top: 1px solid var(--grey-line)
}

/* icon column specmodal */

.icon-col{
    justify-content: center;
    align-items: center;
    display: flex;
}

.checklist-container {
    border-top: 0 px;
    height: 60vh;
    overflow-y: scroll;
    border: 1px solid var(--grey-line);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    flex-flow: row wrap;
    margin-top: 0;
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
}

.container {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
}
.container::-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}

.choice-active {
    background-color: #0d6efd;
    color: white;
}

.italics {
    font-style: italic;
}
.bold {
    font-weight: bold;
}
.smalltext {
    font-size: 0.8em;
}
.topline {
    border-top: 1px solid var(--grey-line);
}
.smallrow {
    height: 20px;
}
.padding-top-5 {
    padding-top: 5px;
}
.margin-top-5 {
    margin-top: 5px;
}

.floating-icon {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.padding-right-5 {
    padding-right: 5px;
}
.padding-left-5 {
    padding-left: 5px;
}

.margin-5 {
    margin-right: 5px;
    margin-left: 5px;
}

.species-list-group-item {
    padding-top: 2.5px;
    padding-bottom: 2.5px;
    padding-right: 2.5px;
    background-color: rgb(237, 237, 237);
}.ticked {
    background-color: rgb(255, 255, 255);
  }

html, body, .container-parent {
    height: 100%;
}

.status-0 {
    stroke: rgb(172, 3, 3);
    color: rgb(172, 3, 3)
  }
  .status-1 {
    stroke: rgb(172, 71, 3);
    color: rgb(172, 71, 3);
  }
  .status-2 {
    stroke: rgb(172, 93, 3);
    color: rgb(172, 93, 3);
  }
  .status-3 {
    stroke: rgb(163, 113, 4);
    color: rgb(163, 113, 4);
  }
  .status-4 {
    stroke:rgb(163, 147, 4);
    color: rgb(163, 147, 4);
  }
  .status-5 {
    stroke:  rgb(100, 128, 0);
    color: rgb(100, 128, 0);
  }
  .status-6 {
      stroke:  green;
        color: green;
  }
  .status-7 {
    stroke:  green;
    color: green;
  }
  .status-8 {
    stroke:  green;
    color: green;
  }
  .status-9 {
    stroke:  green;
    color: green;
  }
  .status-10 {
    stroke:  green;
    color: green;
  }

  .tinytext {
    font-size: 0.6em;
  }

  .small-input {
    font-size: 0.7em;
  }
  .ui-datepicker {
     z-index: 99999 !important;
    position: absolute !important;
  }
  
  .input-success:disabled {
    padding: 5px;
    background-color: rgba(136, 192, 136, 0.156);
  }
  .clear-btn {
    color: rgb(126, 0, 0);
    background-color: #f8f9fa
  }:disabled {
    color: gray;
    background-color: #f8f9fa;
    opacity: 1.0;
  }

  .left-aligned {
    text-align: left;
  }

  .row-border {
    border: 1px solid #dee2e6;
    border-radius: 5px;
  }

  .border {
    border: 1px solid #dee2e6;
  }

  .title-col {
    background-color: rgb(244, 244, 244);
    color: black;
    border-radius: 5px;
    border: 1px solid black;
    padding: 0;
  }
  .heading {
    /* font-family: 'Candara'; */
    font-family:  'Nunito Sans', sans-serif;
  }
  .bt-n {
    border-top: 0;
  }
  .bl-n {
    border-left: 0;
  }
  .br-n {
    border-right: 0;
  }
    .bb-n {
        border-bottom: 0;
    }
  .rad-n {
    border-radius: 0;
  }

  .filter-col {
    background-color: #f8f9fa;
    color: black;
  }

  .btn-light-border {
    border: 1px solid #ced4da;
    color: black;
  }

  .of-el {
    text-overflow: "ellipsis";
  }

  .smaller {
    font-size: 0.75em;
  }

  .light-border {
    border: 1px solid #ced4da;
  }

  .back-btn-left {
    border-right: 1px solid #ced4da;
    text-decoration: none;
    width: 60px;
    color: black;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  .custom-btn {
    background-color: #ebebeb9f;
  }.lightblue {
    background-color: #dfe9f3;
  }
  .custom-btn:hover {
    background-color: #e2e6ea;
    color: black;
  }

  .custom-btn-right {
    border-left: 1px solid #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 50px;
    color: black;
    min-height: 100%;
    height: 100%;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .custom-badge {
    background-color: #e9ecef;
    border-radius: 5px;
    padding: 5px;
    font-size: 0.8em;
    padding: 4px;
    display: inline-block;
    margin-top: 5px;
  }

.bg-green {
    background-color: #198753;
    color: white;
  }
.bg-red {
    background-color: #dc3444;
    color: white;
  }
.bg-yellow {
    background-color: #ffc007;
    color: white;
  }
.bg-blue {
    background-color: #0c6dfd;
    color: white;
}

.bg-light {
  background-color: #e9ecef;
}

.fake-btn {
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  color: black;
  border-radius: 0;
}


.line-title {
    position: relative;
    display: flex;
    margin-bottom: 35px;
    border-bottom: 1px solid #ced4da;
    width: 100%;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 20px;
}
.line-title-text {
  background-color: white;
  position: absolute;
  top: -15px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 40px;
}

/* Clear btn styles */
.clear-selection {
  color: darkred;
} :disabled {
  color: gray;
  background-color: #f8f9fa;
  opacity: 1.0;
}

.multi-select-choice.disabled {
  pointer-events: none;
  opacity: 0.6;
  background-color: #e9ecef;
}

.choice-dropdown {
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
}

.halfwidth {
  width: 49% !important;
  min-width: 49% !important;
  max-width: 49% !important;
}

/* input[type="file"] {
  display: none;
} */

/* Swipe to archive functionality */
.swipe-container {
    position: relative;
    overflow: hidden;
}

.swipe-content {
    position: relative;
    transition: transform 0.3s ease-out;
    background: white;
    z-index: 2;
}

.swipe-actions {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

.archive-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    min-width: 100px;
}

.archive-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.archive-btn small {
    font-size: 11px;
}

.archive-btn:hover {
    background-color: #c82333;
}

.unarchive-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    min-width: 100px;
}

.unarchive-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.unarchive-btn small {
    font-size: 11px;
}

.unarchive-btn:hover {
    background-color: #218838;
}

input.small-text {
    font-size: 0.8rem;
}

.tickcount-badge {
  background-color: rgb(28, 112, 0);
}