@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
}

:root {
  --color-sylatex-blau: #005caa;
  --color-background-light: #f4faff;
  --color-sylatex-blau-opacity: #005caa33;
}

.bg-sylatex {
  background-color: var(--color-sylatex-blau) !important;
}

.bg-opacity-sylatex {
  background-color: var(--color-sylatex-blau-opacity) !important;
}

.text-sylatex {
  color: var(--color-sylatex-blau) !important;
}

.border-sylatex {
  border-color: var(--color-sylatex-blau) !important;
  border-width: 2px !important;
}

.rotate {
  display: inline-block;
  transform: rotate(90deg);
}

.dropdown-item.active,
.btn.active {
  background-color: var(--color-sylatex-blau) !important;
}

.nav-item > .nav-link {
  color: var(--color-sylatex-blau) !important;
}

.error-div {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 30%;
  right: 30%;
  bottom: 10%;
  text-align: center;
}

.modal-no-padding {
  padding-right: 0 !important;
}

.zoom {
  transition: transform 0.4s;
}

.carousel-item img {
  width: auto;
  margin: auto;
  max-height: 500px;
}

.zoom:hover {
  transform: scale(1.03);
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-sylatex-blau-opacity) !important;
  color: var(--color-sylatex-blau) !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.btn-check:checked + .btn-outline-primary {
  background-color: var(--color-sylatex-blau);
  color: white !important;
}

html,
body {
  background-color: var(--color-background-light);
  max-width: 100%;
  overflow-x: hidden;
}

.page-link {
  color: var(--color-sylatex-blau);
}

.MyPagination {
  background-color: var(--color-sylatex-blau) !important;
  border-color: var(--color-sylatex-blau) !important;
}

.scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  height: 12.5em;
}

.bg-light {
  background-color: var(--color-background-light) !important;
}

nav {
  min-height: 75px;
  background-color: white;
}

.card-size {
  width: 22em;
  height: 10.5em;
}

.border {
  background-color: var(--color-white);
  margin-bottom: 0.5em;
  border-color: black;
}

a {
  color: var(--color-sylatex-blau);
  text-decoration: none;
}

.changelog .date {
  font-weight: bold;
  /* padding-right: 15px; */
  width: 10%;
  display: inline-block;
}

.changelog .badge {
  width: 40px;
  margin-right: 5px;
}

.changelog ul {
  list-style: none;
  padding-left: 0px;
}

.changelog li {
  margin-bottom: 10px;
}

.nav-link {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.card-header {
  padding: 0.25rem 0.5rem;
  background-color: var(--color-sylatex-blau);
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.card {
  border-width: 2px;
  -webkit-box-shadow: 0px 4px 20px 0px lightgrey;
  -moz-box-shadow: 0px 4px 20px 0px lightgrey;
  box-shadow: 0px 4px 20px 0px lightgrey;
  margin-bottom: 12px;
}

.card-title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 22px;
}

p.card-text {
  margin-bottom: 5px;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--color-sylatex-blau) !important;
  border-color: var(--color-sylatex-blau) !important;
}

.btn-outline-primary {
  color: var(--color-sylatex-blau) !important;
  border-color: var(--color-sylatex-blau) !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
  background-color: var(--color-sylatex-blau) !important;
  border-color: var(--color-sylatex-blau) !important;
}

.btn {
  width: 100%;
}

.navbar-toggler {
  height: 60px;
  width: 60px;
  padding: 0px 0px;
  background-color: #fff;
  border: none;
}

.navbar-toggler:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.nav-link {
  font-size: 18px;
  font-weight: 600;
}

.form-control-login {
  border-color: var(--color-sylatex-blau);
}

h1 {
  font-weight: 700;
  font-size: 32px;
}

.card-body {
  padding-bottom: 2px;
  padding-top: 10px;
}

.blink_me {
  animation: blinker 1s linear infinite;
}

.disabled-link {
  cursor: not-allowed !important;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.select-buttons button {
  margin-bottom: 12px;
}

.title {
  margin-bottom: 12px;
}

/* .time-entry {
-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 92, 170, 0.25);
-moz-box-shadow: 0px 0px 20px 0px rgba(0, 92, 170, 0.25);
box-shadow: 0px 0px 20px 0px rgba(0, 92, 170, 0.25);
} */

.time-entry {
  padding: 5px;
  margin-bottom: 2px;
}

.time-entry:nth-child(odd) {
  background: #ebebeb;
}

.time-entry:nth-child(even) {
  background: #f0f0f0;
}

.table-icon {
  margin-right: 10px;
}

.noaccess {
  display: none;
}

.dropdown-menu {
  min-width: 12rem !important;
  /* font-weight: 400!important; */
}

.card-body {
  padding-bottom: 10px;
}

.day {
  margin: 25px 0px;
}

@media only screen and (max-width: 500px) {
  .rowmargin {
    margin-bottom: 1em;
  }

  .flex-column-mobile {
    flex-direction: column;
  }

  .dont-display {
    display: none;
  }

  .filter-width-mobile {
    width: auto !important;
  }

  .navbar-nav button {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  .nav-item {
    border-bottom: 1px solid var(--color-sylatex-blau);
  }

  .changelog .date,
  .icons {
    display: block;
  }

  .width-navbar-button-div {
    width: 100% !important;
  }
}

@media only screen and (min-width: 800px) {
  .no-margin-mobile {
    margin-left: 1em;
  }

  .filter-width {
    width: 23em;
  }
}

@media only screen and (max-width: 1400px) {
  .navbar-nav > .nav-link:not(:first-of-type),
  .navbar-nav > .dropdown {
    margin-top: 0.5em;
  }

  .border-sylatex {
    border-style: solid;
    border-color: var(--color-sylatex-blau);
    border-width: 2px;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }
}

@media screen and (min-width: 992px) {
  .functionsNavItem {
    cursor: pointer;
    min-width: 65px;
    height: 80%;
  }

  .functionsNavItem:hover {
    background-color: #ededed;
    border-radius: 0.5em;
  }
}
