@charset "UTF-8";
:root {
  font-size: 62.5%;
}

body,
.btn,
input,
button,
select,
textarea,
p,
div,
a {
  font-size: 1.2rem;
  line-height: 1.4;
}

body {
  width: 100%;
  background-color: #f9fbf9;
  color: #131313;
  font-family: "Droid Serif";
}
body > .container-fluid {
  max-width: 1170px;
  position: relative;
  z-index: 100;
}
body.d {
  background-image: url("/images/dev/wrench.png");
  background-size: 125px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Droid Serif";
  color: #412f4d;
  margin-bottom: 0.5rem;
}

h1 {
  text-shadow: 1px 0 0.1rem #fafafa, 1px 1px 0.1rem #fafafa, 1px -1px 0.1rem #fafafa, -1px -1px 0.1rem #fafafa;
  font-size: 2.6rem;
  position: relative;
}
h1::before {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 2px;
  width: 3px;
  height: 100%;
  background-color: #a1c200;
  z-index: -1;
  content: "";
  transform: skew(22deg, 0deg);
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.6rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  font-family: "Droid Serif";
  margin: 0 auto;
  padding: 0.2rem 0 0;
}
p + p {
  margin-top: 0.6rem;
}

a:not(.btn):focus {
  text-decoration: underline;
}
@media (hover: hover) {
  a:not(.btn):hover {
    text-decoration: underline;
  }
}
a:not(.btn).d {
  color: #412f4d;
}

ul {
  padding: 0 15px;
  list-style: none;
}

li:not(:last-of-type) {
  margin-bottom: 0.2rem;
}

label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.25rem;
  padding: 0.3rem 0.5em 0.2rem;
  color: #131313;
  background-color: #f9fbf9;
  border: 0.1rem solid rgba(115, 195, 75, 0.6);
  border-bottom-width: 0.25rem;
  border-radius: 0.4rem;
}
label:not(.disabled).checked {
  border-bottom-color: #6cb946;
  background-color: #b4f096;
}
label input {
  margin-right: 0.6rem;
}
label span {
  padding-top: 0.1rem;
}

[type=checkbox],
[type=number],
[type=password],
[type=text],
select,
textarea {
  border: 0.1rem solid rgba(115, 195, 75, 0.6);
  border-left: 0.3rem solid rgba(115, 195, 75, 0.6);
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  background-color: #fafafa;
}

input[type=submit] {
  width: 100%;
  /* Som basvärde, sedan sätter man individuellt max-width där adekvat. */
  max-width: 300px;
  margin: 0 auto;
  padding: 0.5rem 0.8rem 0.4rem;
  border-radius: 0.3rem;
}
input[readonly] {
  opacity: 0.5;
  background-color: lightslategray;
}

a:focus,
[type=checkbox]:focus,
[type=number]:focus,
[type=password]:focus,
[type=text]:focus,
select:focus,
textarea:focus {
  outline: rgba(0, 150, 200, 0.6);
  box-shadow: 0 0 0.8rem 0.2rem rgba(0, 150, 200, 0.6);
}

.btn:focus,
button:focus {
  outline: rgba(0, 150, 200, 0.6);
  box-shadow: 0 0 0.6rem 0.4rem rgba(0, 150, 200, 0.6);
}

.focus {
  outline: rgba(0, 150, 200, 0.6);
  box-shadow: 0 0 0.8rem 0.2rem rgba(0, 150, 200, 0.6);
}

.noFocus {
  outline: none !important;
  box-shadow: none !important;
}

.disabled,
[disabled] {
  opacity: 0.4 !important;
  color: #c4c4c4 !important;
  border-color: #c4c4c4 !important;
  background-color: #484848 !important;
  cursor: not-allowed !important;
}

label,
select,
input[type=checkbox],
input[type=radio] {
  cursor: pointer;
}

.collapsing {
  transition: all 186ms ease-in-out;
}

.check-circle-16.filterSuccess {
  top: 3px;
  transform: scale(0.7);
}

.filterSuccess {
  filter: invert(23%) sepia(34%) saturate(1032%) hue-rotate(81deg) brightness(101%) contrast(91%);
}

.filterInfo,
.filterNotice {
  filter: invert(49%) sepia(32%) saturate(1073%) hue-rotate(140deg) brightness(100%) contrast(92%);
}

.filterDanger {
  filter: invert(12%) sepia(57%) saturate(2644%) hue-rotate(333deg) brightness(107%) contrast(95%);
}

.filterWarning {
  filter: invert(35%) sepia(13%) saturate(6977%) hue-rotate(28deg) brightness(95%) contrast(97%);
}

.filterWhite {
  filter: brightness(0) invert(1);
}

.filterInfoLight {
  filter: invert(100%) sepia(48%) saturate(960%) hue-rotate(177deg) brightness(102%) contrast(97%);
}

.filterPurple {
  filter: invert(28%) sepia(61%) saturate(1713%) hue-rotate(267deg) brightness(84%) contrast(94%);
}

.filterGreenSmooth {
  filter: invert(69%) sepia(18%) saturate(1353%) hue-rotate(56deg) brightness(97%) contrast(82%);
}

.opac-50 {
  opacity: 0.5;
}

section.dblog .time {
  opacity: 0.5;
}
section.dblog .command {
  color: red;
  font-size: 2rem;
  padding: 1rem;
}
section.dblog .prepare {
  opacity: 0.5;
}
section.dblog .prepare .time {
  opacity: 1;
}
section.dblog .execute .command {
  display: none;
}

.chips li {
  cursor: pointer;
}

/*
 * Notification
 */
.alert-notice {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

#toasts {
  z-index: 9090;
  bottom: 0;
}
#toasts .wrap {
  bottom: 0;
  left: 0;
}

.toast {
  box-shadow: 0rem 0.1rem 0.5rem grey;
  border-radius: 0.5rem;
}
.toast .toast-header {
  background-color: #fafafa;
}
.toast button {
  font-size: 1.5rem;
  padding: 0.2rem 1rem 0;
}
.toast button [aria-hidden=true] {
  margin: 0.2rem 0 0 0.6rem;
  transform: scale(1.25);
}
.toast .toast-body {
  font-size: 1.2rem;
}
.toast .toast-body * {
  font-size: 1.2rem;
}

i {
  transition: all 186ms ease-in-out;
}

@keyframes animMagGlass {
  0% {
    background-position: 45% 100%;
  }
  50% {
    background-position: 50% 35%;
  }
  100% {
    background-position: 55% 100%;
  }
}
@keyframes shake {
  0% {
    transform: translateX(12px);
  }
  20% {
    transform: translateX(-12px);
  }
  40% {
    transform: translateX(12px);
  }
  60% {
    transform: translateX(-8px);
  }
  80% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(0px);
  }
}
.shake {
  animation: shake 450ms ease-out 0ms 1;
}

.animMagGlass {
  background-image: url("/css/octicons/search-16.svg");
  background-repeat: no-repeat;
  background-size: 16px;
  animation: animMagGlass 980ms linear 0ms infinite alternate;
}

.progressBar {
  position: relative;
}
.progressBar::after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 2.5%;
  height: 2px;
  background: linear-gradient(90deg, #2a7a76, #2a7c5a);
  animation: progressBar 1321ms linear 0ms infinite alternate;
}

@keyframes progressBar {
  0% {
    width: 0%;
  }
  100% {
    width: 97%;
  }
}
.w-5 {
  width: 5% !important;
}

.w-10 {
  width: 10% !important;
}

.w-15 {
  width: 15% !important;
}

.w-20 {
  width: 20% !important;
}

.w-30 {
  width: 30% !important;
}

.w-35 {
  width: 35% !important;
}

.w-40 {
  width: 40% !important;
}

.w-45 {
  width: 45% !important;
}

.w-55 {
  width: 55% !important;
}

.w-60 {
  width: 60% !important;
}

.w-65 {
  width: 65% !important;
}

.w-70 {
  width: 70% !important;
}

.w-80 {
  width: 80% !important;
}

.w-85 {
  width: 85% !important;
}

.w-90 {
  width: 90% !important;
}

.w-95 {
  width: 95% !important;
}

.mw-auto {
  max-width: auto !important;
}

.mw-5 {
  max-width: 5% !important;
}

.mw-10 {
  max-width: 10% !important;
}

.mw-15 {
  max-width: 15% !important;
}

.mw-20 {
  max-width: 20% !important;
}

.mw-25 {
  max-width: 25% !important;
}

.mw-30 {
  max-width: 30% !important;
}

.mw-35 {
  max-width: 35% !important;
}

.mw-40 {
  max-width: 40% !important;
}

.mw-45 {
  max-width: 45% !important;
}

.mw-50 {
  max-width: 50% !important;
}

.mw-55 {
  max-width: 55% !important;
}

.mw-60 {
  max-width: 60% !important;
}

.mw-65 {
  max-width: 65% !important;
}

.mw-70 {
  max-width: 70% !important;
}

.mw-75 {
  max-width: 75% !important;
}

.mw-80 {
  max-width: 80% !important;
}

.mw-85 {
  max-width: 85% !important;
}

.mw-90 {
  max-width: 90% !important;
}

.mw-95 {
  max-width: 95% !important;
}

.pointer {
  cursor: pointer;
}

.grey {
  color: grey;
}

[name=accessCode] {
  display: none;
}

.pwPush span {
  padding: 0.5rem 1.4rem 0.4rem 1.2rem;
  opacity: 0.7;
  touch-action: none;
}
.pwPush input {
  max-width: 80px;
  padding: 0.4rem 0 0.2rem;
}
.pwPush.gen .btn-primary i {
  top: -1px;
}
.pwPush.gen .btn-outline-info {
  max-width: 140px;
}
.pwPush.gen .btn-outline-info i {
  opacity: 0.9;
}
.pwPush.gen .btn-outline-info:hover i {
  filter: brightness(0) invert(1);
}

.blur:not(:focus) {
  filter: blur(0.5rem);
}

/*
 * Accordion
 */
.accordion-button {
  width: 100%;
  text-align: left;
  border: 1px solid #e5edf7;
  border-bottom: 0;
  border-radius: 0.4rem 0.4rem 0 0;
  background-color: #f2f6fb;
}
.accordion-button[aria-expanded=false] {
  border: 1px solid #e5edf7;
}
.accordion-button[aria-expanded=true]::before {
  transform: rotate(180deg);
}
.accordion-button::before {
  display: block;
  content: url("/css/octicons/chevron-up-24.svg");
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0.8rem;
  right: 2rem;
  transform: rotate(0deg);
  transition: all 277ms ease-in-out;
}

.accordion-collapse {
  border: 1px solid #e5edf7;
  border-top: 0;
  background-color: #f2f6fb;
}