﻿@media (max-width: 768px) {
  .wide-only {
    visibility: hidden;
  }
}
@media print {
  .no-print {
    visibility: hidden;
  }
  .wide-only {
    visibility: hidden;
  }
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.recipe-title {
  font-weight: bold;
  font-size: 20px;
}

.recipe-step-cell {
  background-color: azure;
  color: black;
  border-width: 1px;
  border-style: solid;
  border-color: darkgrey;
  padding: 3px;
  margin: 3px;
  border-radius: 5px;
}

.step-header-top {
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: darkgrey;
}

.step-header {
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
}

.editable-row-header {
  display: grid;
  background-color: #f0f0f0;
  grid-template-columns: repeat(2, 1fr 3fr);
  gap: 0px; /* Avstand mellom elementene */
}

.editable-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr 3fr);
  gap: 0px; /* Avstand mellom elementene */
}

.editable-col {
  padding: 10px;
  text-align: left;
}

.edit-modus {
  border: 1px dashed blue;
  background-color: white;
  color: black;
  padding: 4px;
}

#groupSelector {
  margin-bottom: 10px;
}

.edit-modus-title {
  font-size: 30px;
  min-width: 400px;
}

.edit-block {
  background-color: cadetblue;
  color: white;
  margin: 5px;
  padding: 5px;
}

.selected-menu-item {
  font-weight: bold;
  color: navy;
}

.sub-title {
  font-size: 14px;
  font-variant: small-caps;
}

.edit-panel {
  border-width: 1px;
  border-style: solid;
  border-color: darkgrey;
  border-radius: 5px;
  box-shadow: grey 1px 1px;
  background-color: azure;
  margin: 10px;
  padding: 10px;
}

.delete-panel {
  border-width: 1px;
  border-style: solid;
  border-color: darkgrey;
  border-radius: 5px;
  box-shadow: grey 1px 1px;
  background-color: yellow;
  margin: 10px;
  padding: 10px;
}

.modal-error {
  text-align: center;
  color: white;
  display: block;
  width: 100%;
  margin: 5px 0px 0px 0px;
  border-radius: 5px;
  padding: 5px;
}

.spinner-border {
  width: 1rem;
  height: 1rem;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

.selector-panels {
  width: 100%;
  background-color: cadetblue;
  border-color: darkgrey;
  border-width: 1px;
  border-style: solid;
  color: white;
  padding: 3px 1px 3px 3px;
  border-radius: 5px;
}

.title-row {
  margin-left: 1px;
  border-width: 1px 0px 0px 1px;
  font-weight: bold;
  border-style: solid;
  border-color: darkgrey;
}

.framed-row {
  margin-left: 1px;
  border-width: 0px 0px 0px 1px;
  border-style: solid;
  border-color: darkgrey;
}

.framed-cell {
  font-size: 0.9em;
  border-width: 0px 1px 1px 0px;
  border-style: solid;
  border-color: darkgrey;
  background-color: azure;
  padding: 5px;
}

@keyframes fadeOutMinus {
  0% {
    background-color: #d06969;
  }
  100% {
    background-color: transparent;
  }
}
@keyframes fadeInMinus {
  0% {
    background-color: transparent;
  }
  100% {
    background-color: #d06969;
  }
}
@keyframes fadeOutPlus {
  0% {
    background-color: #87b47e;
  }
  100% {
    background-color: transparent;
  }
}
@keyframes fadeInPlus {
  0% {
    background-color: transparent;
  }
  100% {
    background-color: #87b47e;
  }
}
.flash-green {
  border-radius: 2px;
  animation: fadeInPlus 2s ease forwards, fadeOutPlus 2s ease forwards;
}

.flash-red {
  border-radius: 2px;
  animation: fadeInMinus 2s ease forwards, fadOutMinus 2s ease forwards;
}
