html {
  background-color: #eaeaea;
  height: 100%;
}

body {
  background-color: #eaeaea;
  height: 100%;
}

/* General */
.content-wrapper {
  width: 100%;
  margin-left: 250px;
}

.heading {
  background: linear-gradient(
    114deg,
    rgba(77, 115, 75, 1) 0%,
    rgba(109, 145, 92, 1) 100%
  );
  padding: 7px 30px 7px 30px;
  color: white;
  box-shadow: 0px 1px 15px 1px grey;
}

.heading-document {
  background: white;
  color: black;
}

.content {
  padding: 20px 30px 0 30px;
}

.naslov{
  font-size: 40px;
}

.cover-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

textarea,
input {
  border-color: rgba(59, 88, 85, 0.25) !important;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 88, 85, 0.25) !important;
}

.link,
.link-green {
  text-decoration: none;
  color: black;
}

.top-link {
  background-color: #315724;
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 500;
  padding: 9px;
  float: right;
}

.top-link:hover {
  background-color: #28451e;
}

.hidden {
  display: none;
}

.pointer:hover {
  cursor: pointer;
}

.pb-5 {
  padding-bottom: 5px !important;
}

.mt-5 {
  margin-top: 5px !important;
}

.mb-5 {
  margin-bottom: 5px !important;
}

.ml-10 {
  margin-left: 10px !important;
}

.h-100 {
  height: 100%;
}

.btn-switch-dostopnost {
  --bs-btn-color: white;
  --bs-btn-bg: #53794e;
  --bs-btn-border-color: #53794e;
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: #496a45;
  --bs-btn-hover-border-color: #496a45;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: #496a45;
  --bs-btn-active-border-color: #496a45;
}

.btn-edit-lovisce,
.btn-edit-revir,
.btn-edit-prezo,
#btn_add_lovisce,
#btn_add_revir,
#btn_add_prezo {
  --bs-btn-bg: #315724;
  --bs-btn-border-color: #315724;
  --bs-btn-hover-bg: #28451e;
  --bs-btn-hover-border-color: #28451e;
  --bs-btn-active-bg: #28451e;
  --bs-btn-active-border-color: #28451e;
}

.space {
  padding-bottom: 36px;
}

/* 404 Page not found */
.area-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.box-404 {
  position: absolute;
  left: 100px;
  top: 160px;
}

.text-404 {
  color: #745e4d;
  font-size: 70px;
}

.link-404 {
  text-decoration: none;
  color: black;
  margin-top: 25px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  width: 250px;
  height: 100%;
  padding: 0.7rem 1rem 1rem;
}

.burger {
  visibility: hidden;
}

.btn-toggle {
  margin-right: 16px;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform 0.35s ease;
  transform-origin: 0.5em 50%;
}

.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.nav-link:focus {
  color: #689273;
}

/* Tabela */
.table {
  --bs-table-bg: none;
}

thead th {
  border: none;
}

.table-responsive {
  border-radius: 8px !important;
}

thead > tr {
  background-color: #73a168;
}

.uporabniki-table td {
  width: 25%;
  padding: 10px;
}

.dogodki-table td {
  width: 14%;
  padding: 10px;
}

td {
  background-color: white !important;
}

tr.uporabniki-table:nth-of-type(even) td {
  background-color: gainsboro !important;
}

.shot-row td {
  background-color: #eaeaea !important;
  padding: 0;
}

tr.shot-row:hover {
  --bs-table-hover-bg: rgba(0, 0, 0, 0);
}

.shot-toggle {
  display: inline-block;
  margin-left: 10px;
}

.rotated {
  transform: rotate(180deg);
}

.shots {
  display: flex;
  gap: 15px;
  background-color: white;
  margin-left: 15px;
  padding: 10px;
}

.shot {
  width: 25%;
}

.shot-icon {
  transform: rotate(90deg);
  margin-right: 10px;
  margin-left: 10px;
}

/* Filtration */
.filtration {
  margin-bottom: 25px;
}

.filtration div {
  display: inline-block;
  width: 19%;
  padding: 5px 1% 5px 1%;
}

#btn_pdf {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
  height: 71.6px;
  float: right;
}

.clear {
  clear: both;
  display: block !important;
}

/* Pagination */
.pagination {
  display: grid;
  grid-template-columns: 33% 34% 33%;
}

#previous {
  justify-self: start;
}

#page_number {
  justify-self: center;
}

#next {
  justify-self: end;
}

/* Home */
.home {
  padding: 0;
  margin: 0;
}

.home-naslov {
  display: flex;
  justify-content: center;
  color: #ffffff;
  font-size: 45px;
  font-weight: 500;
  margin-bottom: 30px;
}

.home-link {
  font-size: 25px;
  font-weight: 500;
}

.home-row {
  padding-top: 30px;
  padding-bottom: 65px;
}

.sms-text {
  font-size: 32px;
}

.contact-form {
  width: 100%;
  margin-left: 1.5%;
}

.split > div {
  display: flex;
  align-items: center;
  max-height: 350px;
}

.split-text {
  padding-left: 30px;
  color: white;
}

.split-text-b {
  padding-left: 60px;
}

.card {
  margin-bottom: 10px;
}

.card > img {
  object-fit: cover;
  height: 250px;
}

.card-text {
  font-size: 20px;
}

.tick {
  height: 48px;
  width: 40px;
  padding-right: 5px;
}

.advantages {
  padding-bottom: 20px;
  padding-top: 20px;
}

.advantage-s {
  margin-top: 10px;
}

.phone {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

.g-recaptcha {
  margin: 15px 0px 10px 0px;
}

.grecaptcha-badge {
  visibility: hidden;
}

.captcha-disclosure {
  color: #adacac;
}

/* Terms */
.document {
  margin-top: 20px;
  padding-bottom: 55px;
}

.document h3 {
  margin-bottom: 20px;
  margin-top: 40px;
}

.link-white {
  text-decoration: none;
  color: white;
}

.footer-link {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

/* Prijava */
.form-signin {
  background-color: white;
  max-width: 400px;
  padding: 30px;
  border-radius: 8px;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input {
  border-color: #8c8c8c !important;
}

.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signin form {
  width: 340px;
}

.prijava-text {
  text-align: center;
  font-size: 40px;
  padding-bottom: 20px;
}

.btn-prijava {
  background-color: #3b5855;
  border: 0;
  width: 100px;
  margin-top: 25px;
}

.btn-prijava:hover {
  background-color: #3b5855;
}

.btn-prijava:active,
.btn-prijava:focus,
.btn-prijava:focus-visible {
  background-color: #3b5855 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 88, 85, 0.25) !important;
}

.back-link {
  text-decoration: none;
  color: black;
  font-size: 25px;
  font-weight: 500;
  position: absolute;
  transform: translate(0px, -15px);
}

/* Izbira lovišča */
.seznam-lovisc input {
  display: none;
}

.seznam-lovisc label {
  background-color: #9ab594;
  box-shadow: 7px 7px 5px #a09e9e;
}

.seznam-lovisc label:hover {
  background-color: #6d915c;
  transform: scale(1.05);
  cursor: pointer;
}

.selection {
  width: 100%;
  text-align: center;
  border-radius: 8px;
  padding-top: 5px;
}

.seznam-lovisc-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 15px;
}

/* Razlog */
#reason {
  margin-top: 5px;
  margin-bottom: 5px;
}

.link-green:hover {
  color: #689273 !important;
}

.btn-razlog {
  margin: 25px 0px 10px 0px;
}

/* Lovišča */
.kocka {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 23%;
  height: 40px;
  margin: 10px 1% 10px 1%;
  background-color: #9ab594;
  box-shadow: 7px 7px 5px grey;
  border-radius: 8px;
}

#form_add_lovisce,
#form_add_revir,
#form_add_prezo {
  background-color: #23633038;
  max-width: 150px;
}

.wide {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
}

.lovisce-code {
  font-size: 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}

/* Lovišče */
.btn-users {
  display: flex;
  justify-content: end;
}

/* Preža */
.input-group {
  align-items: baseline;
}

.input-group-text {
  height: 36px;
  margin-top: 0.5px;
}

/* Statistika */
.filtration-statistics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.filtration-statistics div {
  display: flex;
  gap: 15px;
  align-items: center;
}

.filtration-statistics div button,
.filtration-statistics div select {
  width: 140px;
}

#graph {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  padding-bottom: 30px;
}

.stat-vrsta {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-size: x-large;
}

.stat-vrsta:nth-child(even) .stat-bar {
  background-color: #4d734b;
}

.stat-name {
  min-width: 70px;
  text-align: end;
  padding-right: 15px;
}

.stat-bar {
  background-color: #9ab594;
  width: 100%;
  height: 16px;
}

.stat-count {
  text-align: end;
  padding-left: 15px;
  min-width: 30px;
}

.active-button,
.active-button:focus {
  background-color: #73a168;
}

.stat-button:focus {
  box-shadow: none;
  border: none;
}

/* Uporabniki */
.user-controls {
  display: flex;
  margin-bottom: 25px;
}

.btn-add-user {
  min-width: 170px;
  margin-left: 10px;
}

.btn-manage-user {
  margin-bottom: 20px;
}

#keep_password {
  margin-bottom: 0.5rem;
}

.edit-buttons {
  display: grid;
  grid-template-columns: 1fr max-content max-content;
  justify-content: end;
  gap: 15px;
}

/* Response message */
.error-message {
  text-align: left;
  color: #f62c2c;
  font-weight: 500;
}

.error-message-prijava {
  text-align: center;
}

.error-message-settings {
  margin-bottom: 15px;
}

.success {
  color: green;
}

@media only screen and (max-width: 1417px) and (min-width: 1250px) {
  .btn-switch-dostopnost,
  .btn-edit-prezo {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
  }
}

@media only screen and (max-width: 1400px) {
  /* Home */
  .advantage-s {
    margin-top: 0;
  }
}

@media only screen and (max-width: 1250px) {
  /* Home */
  .split-text-b {
    padding-left: 12px;
    margin-top: 25px;
  }

  .sms-text {
    font-size: calc(1.275rem + 0.3vw);
  }

  /* Lovišča */
  .kocka {
    width: 31%;
  }

  /* Filtration */
  .filtration div {
    width: 32%;
  }
}

@media only screen and (max-width: 1125px) and (min-width: 1000px) {
  .btn-switch-dostopnost,
  .btn-edit-prezo {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
  }
}

@media only screen and (max-width: 1000px) {
  /* Lovišča */
  .kocka {
    width: 48%;
  }

  /* Filtration */
  .filtration div {
    width: 49%;
  }
}

@media only screen and (max-width: 828px) and (min-width: 750px) {
  .btn-switch-dostopnost,
  .btn-edit-prezo {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
  }
}

@media only screen and (max-width: 770px) {
  /* Home */
  .contact-form {
    margin-top: 20px;
  }

  .split-text {
    margin-top: 20px;
    padding-left: 12px;
  }
}

@media only screen and (max-width: 750px) {
  /* 404 Page not found */
  .area-404 {
    text-align: center;
  }

  .box-404 {
    left: unset;
  }

  /* Lovišča */
  .kocka {
    width: 96%;
  }

  /* Filtration */
  .filtration div {
    width: 100%;
  }
}

@media only screen and (max-width: 650px) {
  /* Prijava */
  .form-signin {
    background-color: transparent;
    max-width: 400px;
    border-radius: 8px;
    padding: 30px;
  }

  .prijava-text {
    color: white;
    text-shadow:
      0 0 1px #000000,
      0 0 3px #000000;
  }

  .back-link {
    filter: invert(100%);
    top: 30px;
    left: 30px;
  }

  .back-link img {
    height: 30px;
    width: 30px;
    filter: drop-shadow(3px 4px 2px rgb(256 256 256 / 0.6));
  }

  /* Error message */
  .error-message-prijava {
    background-color: #00000036;
    border-radius: 5px;
    padding: 5px;
  }

  /* Uporabnik */
  .float-s-n {
    float: none !important;
  }

  .text-align-s-c {
    text-align: center;
  }
}

@media only screen and (max-width: 576px) {
  /* General */
  .naslov {
    text-align: center;
  }

  .top-link {
    margin: 16px 0px 20px 0px;
    width: 100%;
    text-align: center;
  }

  .heading {
    box-shadow: none;
  }

  .w-100-576 {
    width: 100% !important;
  }

  /* Lovišče */
  .btn-users {
    justify-content: center;
  }

  /* Uporabniki */
  .user-controls {
    flex-direction: column;
    align-items: center;
  }

  /* Sidebar */
  main {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: inherit;
    height: auto;
  }

  .burger {
    visibility: visible;
  }

  #navigation,
  #user-menu,
  hr {
    display: none;
  }

  .btn-razlog {
    width: 100%;
  }

  .content-wrapper {
    margin-left: 0;
  }

  /* 404 Page not found */
  .box-404 {
    top: 110px;
  }

  .text-404 {
    font-size: 40px;
  }

  /* Uporabniki */
  .btn-add-user {
    width: 100%;
  }

  /* Statistika */
  .filtration-statistics div {
    flex-wrap: wrap;
    width: 100%;
  }

  .filtration-statistics div button {
    width: 100%;
  }

  .filtration-statistics div select {
    width: 100%;
  }

  /* Filtration */
  #btn_pdf {
    margin-top: 15px;
  }

  /* Response message */
  .success {
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 400px) {
  .w-100-400 {
    width: 100% !important;
  }
}
