@font-face {
  font-family: "Replica";
  src: url("/font/ReplicaLLWeb-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Replica";
  src: url("/font/ReplicaLLWeb-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
/* Base */
body,
html {
  font-family: Replica, sans-serif;
  font-weight: 300;
  font-style: normal;
  height: 100vh;
  color: #000;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  position: relative;
  background-image: url('../img/background.png'); 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
}
.container-grey {
  top: 0;
  left: 0;
  width: 100%;
  background-color: #F1F1F1;
  height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.tooltip {
  font-family: usual, sans-serif;
}

.bg-light {
  background-color: #f1f1f1 !important;
}

.bg-primary {
  background-color: #f4e38e !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
a.link,
.dropdown a.active-link,
.active-link,
strong {
  font-weight: 600;
}
h6 {
  font-size: 0.75rem;
  background-color: #D9D9D9;
  color:#676767;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  font-weight: normal;
  padding: 10px 20px;
}
.height-100 {
  height: 100%;
}

.dropdown-menu,
.card {
  border-radius: 0;
  border: none;
}

.boxview {
  max-width: 1000px;
}

.dropdown-menu {
  max-height: 700px;
  overflow: auto;
}

.height-fit-content {
  height: fit-content;
  height: -moz-fit-content;
}

.btn {
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  border: none;
  color: #ffffff;
  font-weight: 600;
}

.btn.rounded-circle {
  padding: 0.375rem 0.75rem;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn:focus {
  box-shadow: none;
}

.btn.btn-primary {
  background-color: #000000;
}

.btn-primary:hover,
.btn.btn-default:hover {
  background-color: #ffdd35;
  color: #000;
}

.btn-sm {
  font-size: inherit;
}

.btn-sm {
  padding: 0.4rem 1rem;
}

.btn.btn-default {
  background-color: #fff;
  color: #000;
}

.btn.btn-danger {
  background-color: #D9D9D9;
  color: #c45353;
  border-radius: 0;
}

.btn.btn-danger:hover {
  background-color: #ffd3d3;
}
.btn-check:focus + .btn-primary,
.btn-primary:focus {
  color: #000;
}
.btn.badge {
  padding: 0.35em 0.65em;
}

a.link,
.link,
.btn-link {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.btn-light {
  background-color: #ffffff;
  color: #000000;
  border-radius: 0;
}
.btn-primary {
  border-radius: 0;
}
.btn-secondary {
  background-color: #F1F1F1;
  color: black;
  border: 2px solid black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  white-space: nowrap;
}
a.link:hover,
.link:hover {
  color: #ffdd35;
}
form {
  margin-bottom: 0;
}
.form-control:focus,
.form-check-input:focus {
  box-shadow: none;
  border: 1px solid dimgray;
}

.form-control {
  border-radius: 0;
  border: 1px solid dimgray;
}

.form-check-input {
  border: 1px solid dimgray;
}

.form-check-input:checked {
  border: 1px solid #000;
  background-color: #ffdd35;
}

.bg-light .form-control {
  border: none;
}

.modal-content {
  border-radius: 0;
}

.modal-footer {
  border-top: none;
}

.modal-footer .btn + .btn {
  margin-left: 30px;
}
.content-wrapper {
  position: relative;
  z-index: 2; /* Gör att innehållet ligger ovanpå vågorna */
}
/* end base */

/* menu */
nav {
  min-height: 75px;
}
nav img {
  max-height: 30px;
}

.dropdown img {
  height: 15px;
}

.dropdown .btn-link {
  text-decoration: none;
}

.dropdown + .dropdown:not(.filter-card .dropdown) {
  margin-left: 12px;
}

.navbar .dropdown:not(.language) li {
  border-top: 1px solid #f4e38e;
  padding: 0.6rem 0;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #eee;
}

.navbar .dropdown li:first-of-type {
  border-top: none;
}

@media screen and (max-width: 991px) {
  .navbar-brand {
    top: 20px !important;
  }

  .navbar .dropdown {
    margin-top: 20px;
    display: inline-block;
  }

  .navbar-nav {
    flex-flow: row wrap;
  }

  .navbar-nav .dropdown-menu {
    position: absolute;
  }

  .sticky-top {
    position: unset !important;
  }
}

@media screen and (max-width: 500px) {
  .navbar-brand {
    right: 0;
  }

  nav img {
    height: 25px;
  }
}
/* end menu */

/* login */
.login-bg {
  background-size: cover;
  height: calc(100% - 75px);
  width: 100%;
}

/* end login */

/* content-table */
.table {
  color: #000 !important;
}
.table-sort th {
  position: relative;
}
.table-sort .position-icon {
  position: absolute;
  margin-left: 5px;
}
.text-dark {
  color: #000 !important;
}

.bg-light-inverted {
  background-color: #fff;
  color: #f4e38e;
}

a.badge {
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn.badge:hover,
a.badge:hover {
  color: #000;
  background-color: #ffdd35 !important;
}

/* end content table */

/* manage companies and users */
table .btn-link {
  color: #000;
}

table .btn-link.btn.rounded-circle {
  color: #000;
}

table p {
  margin-bottom: 0;
}

.margin-top-large {
  margin-top: 150px;
}
/* had to do custom style since the og border isnt showing */
.table-border td {
  border-bottom-width: 1px;
}

@media screen and (max-width: 600px) {
  table p {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 255px;
  }

  .g-5,
  .gx-5 {
    --bs-gutter-x: 0rem;
  }
}

@media screen and (max-width: 995px) {
  .margin-top-large {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .background-section {
    background-size: contain; /* På små skärmar ser vi hela bilden */
  }
}
.form-check-input:checked[type="radio"] {
  background-image: none;
}
.valid.modified:not([type="checkbox"]) {
  outline: none;
}
.invalid {
  outline: none;
  box-shadow: 0 0 1pt 1pt red;
}
/* end manage companies and users */
