@charset "UTF-8";
/* Variables */
/* Imports */
.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-wrapper .logo {
  height: 180px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

.login-wrapper .title {
  font-size: 2rem;
  font-weight: 500;
  color: #f1f1f1;
}

/* 🔥 Mörk, proffsig loginruta */
.login-wrapper .login-box {
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  width: 400px;
  margin-top: 1rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  color: #e0e0e0;
  transition: all 0.3s ease;
}

.login-wrapper .login-box:hover {
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.9);
}

/* Inputs och labels */
.login-wrapper .login-box label {
  color: #ccc;
  font-weight: 500;
}

.login-wrapper .login-box .form-control {
  background-color: rgba(40, 40, 40, 0.9);
  border: 1px solid #555;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.login-wrapper .login-box .form-control:focus {
  background-color: rgba(55, 55, 55, 0.95);
  border-color: #00c853;
  box-shadow: 0 0 6px rgba(0, 200, 83, 0.5);
}

/* Inloggningsknappen */
.login-wrapper .login-box .btn-success {
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, #00c853, #009624);
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.login-wrapper .login-box .btn-success:hover {
  background: linear-gradient(135deg, #00e676, #00c853);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 255, 100, 0.3);
}

/* Knappanimation när man trycker */
.login-wrapper .login-box .btn-success:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 255, 100, 0.2);
}


.login-wrapper .jobs-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  text-align: center;
  width: 50%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 1rem;
}

.login-wrapper .jobs-wrapper .btn {
  margin-top: 0.4rem;
}

.chars-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 16rem;
}

.chars-wrapper .char-box {
  background-color: #fff;
  padding: 1rem;
  width: 20%;
  border-radius: 3px;
  margin: 0.5rem;
  word-break: break-all;
}

.chars-wrapper .char-box .title {
  font-size: 1.2rem;
  font-weight: 500;
}

.chars-wrapper .char-box .button-group {
  margin-top: 1rem;
}

.chars-wrapper a {
  text-decoration: none !important;
}

.chars-wrapper a .create-char-box {
  background-color: green;
  color: #fff;
  padding: 1rem;
  border-radius: 3px;
  margin: 0.5rem;
  text-align: center;
  line-height: 12rem;
  vertical-align: middle;
  font-weight: 500;
  font-size: 2rem;
}

.chars-wrapper a .create-char-box:hover {
  -webkit-transition: 0.2s;
  transition: 0.2s;
  background-color: #027202;
}

.change-char-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
}

.change-char-wrapper .form {
  width: 50%;
}

.civil-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin: 1rem;
}

.civil-wrapper .list-group-left {
  width: 20%;
}

.civil-wrapper .char-info-box {
  background-color: #fff;
  margin-left: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.5rem;
  width: 100%;
  border-radius: 3px;
}

.civil-wrapper .char-info-box .title {
  font-weight: 500;
  font-size: 1.5rem;
}

.civil-wrapper .char-info-box .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.civil-wrapper .char-info-box .info b {
  font-weight: 500 !important;
}

.civil-wrapper .char-info-box .info .licenses-wrapper, .civil-wrapper .char-info-box .info .markers-wrapper, .civil-wrapper .char-info-box .info .fordon-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-left: -0.2rem;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
}

.civil-wrapper .char-info-box .info .licenses-wrapper .license-box, .civil-wrapper .char-info-box .info .markers-wrapper .license-box, .civil-wrapper .char-info-box .info .fordon-wrapper .license-box, .civil-wrapper .char-info-box .info .markers-wrapper .license-box-red {
  background-color: green;
  padding: 1rem;
  border-radius: 5px;
  color: #fff;
  margin: 0.2rem;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  width: 12.025%;
}

.civil-wrapper .char-info-box .info .licenses-wrapper .license-box:hover, .civil-wrapper .char-info-box .info .markers-wrapper .license-box:hover, .civil-wrapper .char-info-box .info .fordon-wrapper .license-box:hover, .civil-wrapper .char-info-box .info .markers-wrapper .license-box-red:hover {
  background-color: #dc3545;
}

.civil-wrapper .char-info-box .info .licenses-wrapper .license-box-hidden, .civil-wrapper .char-info-box .info .markers-wrapper .license-box-hidden, .civil-wrapper .char-info-box .info .fordon-wrapper .license-box-hidden {
  display: none !important;
  background-color: green;
  padding: 1rem;
  border-radius: 5px;
  color: #fff;
  margin: 0.2rem;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.civil-wrapper .char-info-box .info .licenses-wrapper .license-box-hidden:hover, .civil-wrapper .char-info-box .info .markers-wrapper .license-box-hidden:hover, .civil-wrapper .char-info-box .info .fordon-wrapper .license-box-hidden:hover {
  background-color: #dc3545;
}

.civil-wrapper .char-info-box .info .licenses-wrapper .license-box-2, .civil-wrapper .char-info-box .info .markers-wrapper .license-box-2, .civil-wrapper .char-info-box .info .fordon-wrapper .license-box-2, .civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box-red, .civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box {
  background-color: green;
  padding: 1rem;
  border-radius: 5px;
  color: #fff;
  margin: 0.2rem;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.civil-wrapper .char-info-box .info .markers-wrapper {
  margin-top: 0.2rem;
}

.civil-wrapper .char-info-box .info .markers-wrapper .license-box-red {
  background-color: #dc3545 !important;
}

.civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box-red {
  background-color: #dc3545 !important;
}

.civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box {
  background-color: #686868;
  width: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}

.civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box .button-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  position: absolute;
  right: 0;
  margin-right: 1rem;
}

.civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box .button-group button.btn-warning {
  margin-right: 0.5rem;
}

.civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-left: -0.5rem;
}

.civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box .info .box-green, .civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box .info .box-red {
  background-color: green;
  padding: 1rem;
  border-radius: 5px;
  margin-left: 0.5rem;
}

.civil-wrapper .char-info-box .info .fordon-wrapper .fordon-box .info .box-red {
  background-color: #dc3545;
}

.civil-wrapper .add-license-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
  width: 100%;
  margin: 1rem;
}

.civil-wrapper .add-license-wrapper .title {
  font-size: 2rem;
  font-weight: 500;
}

.civil-wrapper .add-license-wrapper .licenses {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-top: 1rem;
}

.civil-wrapper .add-license-wrapper .licenses .license-box-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.civil-wrapper .add-license-wrapper .licenses .license-box-wrapper .license-box, .civil-wrapper .add-license-wrapper .licenses .license-box-wrapper .char-info-box .info .markers-wrapper .license-box-red, .civil-wrapper .char-info-box .info .markers-wrapper .add-license-wrapper .licenses .license-box-wrapper .license-box-red {
  background-color: green;
  padding: 1rem;
  border-radius: 5px;
  color: #fff;
  width: 15rem;
  margin-top: 0.5rem;
}

.civil-wrapper .add-license-wrapper .licenses .license-box-wrapper a.add-license {
  background-color: green;
  border-radius: 5px;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
  padding: 1rem;
  color: #fff;
}

@media (max-width: 1024px) {
  .chars-wrapper {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
    margin-top: 0 !important;
    margin-right: 1rem !important;
  }
  .chars-wrapper .char-box {
    width: 100% !important;
  }
  .civil-wrapper {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
  }
  .civil-wrapper .list-group-left {
    width: 100% !important;
  }
  .civil-wrapper .char-info-box {
    margin-left: 0rem !important;
    margin-right: 0rem !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .civil-wrapper .char-info-box .licenses-wrapper .license-box, .civil-wrapper .char-info-box .info .markers-wrapper .license-box, .civil-wrapper .char-info-box .info .fordon-wrapper .license-box, .civil-wrapper .char-info-box .info .markers-wrapper .license-box-red {
    width: 23.97% !important;
  }
  .civil-wrapper .fordon-wrapper {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
  }
  .civil-wrapper .fordon-wrapper .fordon-box {
    width: 100% !important;
  }
}

.polisen-auth-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
}

.polisen-auth-wrapper .title {
  font-size: 2rem;
  font-weight: 500;
}

.polisen-auth-wrapper .form select.form-control {
  width: 30rem;
  margin-top: 1rem;
}

.polisen-auth-wrapper .form .btn-success {
  margin-top: 0.5rem;
}

.polisen-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background-image: url("../img/polisen.jpg");
  background-size: cover;
  position: relative;
  width: 55%;
  margin: auto;
  margin-top: 8rem;
  color: #fff;
}

.polisen-wrapper .home-mdt {
  margin: 2rem;
}

.polisen-wrapper .home-mdt .info .title {
  font-weight: 500;
  color: #d1d1d1;
  font-size: 0.9rem;
}

.polisen-wrapper .home-mdt .info .text {
  font-size: 1.6rem;
  font-weight: 500;
}

.polisen-wrapper .home-mdt .info-box-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.polisen-wrapper .home-mdt .info-box-wrapper .info-box, .polisen-wrapper .home-mdt .info-box-wrapper .info-box-2 {
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.452);
  border-radius: 5px;
  border: 1px solid #777;
  margin-top: 8rem;
  width: 12rem;
}

.polisen-wrapper .home-mdt .info-box-wrapper .info-box b, .polisen-wrapper .home-mdt .info-box-wrapper .info-box-2 b {
  font-weight: 500 !important;
}

.polisen-wrapper .home-mdt .info-box-wrapper .info-box-2 {
  margin-left: 0.5rem;
}

.polisen-wrapper .home-mdt .info-box-wrapper .info-box-2 img.walkietalkie {
  width: 30%;
}

.polisen-wrapper .status-mdt {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.polisen-wrapper .status-mdt .title {
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
}

.polisen-wrapper .status-mdt .title span.title-1 {
  color: #cccccc;
  font-size: 1.4rem;
}

.polisen-wrapper .status-mdt .status-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.polisen-wrapper .status-mdt .status-wrapper a {
  text-decoration: none !important;
}

.polisen-wrapper .status-mdt .status-wrapper .box-1, .polisen-wrapper .status-mdt .status-wrapper .box-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.polisen-wrapper .status-mdt .status-wrapper .status-box, .polisen-wrapper .status-mdt .status-wrapper .status-box-green, .polisen-wrapper .status-mdt .status-wrapper .status-box-yellow, .polisen-wrapper .status-mdt .status-wrapper .status-box-red, .polisen-wrapper .status-mdt .amb-wrapper #status-amb .status-wrapper .status-box-green, .amb-wrapper #status-amb .polisen-wrapper .status-mdt .status-wrapper .status-box-green, .polisen-wrapper .status-mdt .amb-wrapper #status-amb .status-wrapper .status-box-yellow, .amb-wrapper #status-amb .polisen-wrapper .status-mdt .status-wrapper .status-box-yellow, .polisen-wrapper .status-mdt .amb-wrapper #status-amb .status-wrapper .status-box-red, .amb-wrapper #status-amb .polisen-wrapper .status-mdt .status-wrapper .status-box-red, .polisen-wrapper .status-mdt .rtj-wrapper #status-rtj .status-wrapper .status-box-green, .rtj-wrapper #status-rtj .polisen-wrapper .status-mdt .status-wrapper .status-box-green, .polisen-wrapper .status-mdt .rtj-wrapper #status-rtj .status-wrapper .status-box-yellow, .rtj-wrapper #status-rtj .polisen-wrapper .status-mdt .status-wrapper .status-box-yellow, .polisen-wrapper .status-mdt .rtj-wrapper #status-rtj .status-wrapper .status-box-red, .rtj-wrapper #status-rtj .polisen-wrapper .status-mdt .status-wrapper .status-box-red {
  padding: 1rem;
  background-color: #2e2e35;
  border-radius: 5px;
  border: 1px solid #777;
  color: #fff !important;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-left: 1rem;
  width: 10rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
}

.polisen-wrapper .status-mdt .status-wrapper .status-box-green:hover {
  background-color: green !important;
}

.polisen-wrapper .status-mdt .status-wrapper .status-box-yellow:hover {
  background-color: #e2ae1f !important;
}

.polisen-wrapper .status-mdt .status-wrapper .status-box-red:hover {
  background-color: red !important;
}

.polisen-wrapper .sds-mdt {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  margin: 2rem;
}

.polisen-wrapper .sds-mdt .mdt-larm-box {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
  border: 0.5px solid #dfdfdf;
  color: #000;
}

.polisen-wrapper .sds-mdt .mdt-larm-box .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.polisen-wrapper .sds-mdt .mdt-larm-box .top .badge {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
}

.polisen-wrapper .sds-mdt .mdt-larm-box .top .title {
  font-weight: 500 !important;
  font-size: 1.2rem;
}

.polisen-wrapper .sds-mdt .mdt-larm-box .top .btn-group {
  margin-left: auto;
}

.polisen-wrapper .sds-mdt .mdt-larm-box .top .btn-group .btn-warning {
  color: #fff;
  padding: .200rem .55rem;
}

.polisen-wrapper .sds-mdt .mdt-larm-box .info-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 1rem;
}

.polisen-wrapper .sds-mdt .mdt-larm-box .info-wrapper .info {
  margin: 0.5rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.polisen-wrapper .button, .polisen-wrapper .y-bar .button-y, .polisen-wrapper .y-bar .button-y--green, .polisen-wrapper .y-bar .button-y--red, .polisen-wrapper .y-bar .button-y--yellow, .polisen-wrapper .amb-wrapper .x-bar-2 .button--green, .amb-wrapper .x-bar-2 .polisen-wrapper .button--green, .polisen-wrapper .amb-wrapper .x-bar-2 .button--red, .amb-wrapper .x-bar-2 .polisen-wrapper .button--red, .polisen-wrapper .amb-wrapper .x-bar-2 .button--yellow, .amb-wrapper .x-bar-2 .polisen-wrapper .button--yellow, .polisen-wrapper .rtj-wrapper .x-bar-2 .button--green, .rtj-wrapper .x-bar-2 .polisen-wrapper .button--green, .polisen-wrapper .rtj-wrapper .x-bar-2 .button--red, .rtj-wrapper .x-bar-2 .polisen-wrapper .button--red, .polisen-wrapper .rtj-wrapper .x-bar-2 .button--yellow, .rtj-wrapper .x-bar-2 .polisen-wrapper .button--yellow {
  display: inline-block;
  width: 6.75rem;
  background-color: #2e2e35;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: 3px;
  text-align: center;
  font-weight: 600;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.polisen-wrapper .button:hover, .polisen-wrapper .y-bar .button-y:hover, .polisen-wrapper .y-bar .button-y--green:hover, .polisen-wrapper .y-bar .button-y--red:hover, .polisen-wrapper .y-bar .button-y--yellow:hover, .polisen-wrapper .amb-wrapper .x-bar-2 .button--green:hover, .amb-wrapper .x-bar-2 .polisen-wrapper .button--green:hover, .polisen-wrapper .amb-wrapper .x-bar-2 .button--red:hover, .amb-wrapper .x-bar-2 .polisen-wrapper .button--red:hover, .polisen-wrapper .amb-wrapper .x-bar-2 .button--yellow:hover, .amb-wrapper .x-bar-2 .polisen-wrapper .button--yellow:hover, .polisen-wrapper .rtj-wrapper .x-bar-2 .button--green:hover, .rtj-wrapper .x-bar-2 .polisen-wrapper .button--green:hover, .polisen-wrapper .rtj-wrapper .x-bar-2 .button--red:hover, .rtj-wrapper .x-bar-2 .polisen-wrapper .button--red:hover, .polisen-wrapper .rtj-wrapper .x-bar-2 .button--yellow:hover, .rtj-wrapper .x-bar-2 .polisen-wrapper .button--yellow:hover {
  cursor: pointer;
  background-color: #2a2a2e;
}

.polisen-wrapper .x-bar {
  background-color: #242424;
  width: 100%;
  color: #fff;
  padding: 0.7rem;
  position: absolute;
  bottom: 0;
}

.polisen-wrapper .y-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  background-color: #242424;
  height: 38.5rem;
  padding: 0.7rem;
  margin-left: auto;
  z-index: 1000;
}

.polisen-wrapper .y-bar .show {
  display: none !important;
}

.polisen-wrapper .y-bar .button-y, .polisen-wrapper .y-bar .button-y--green, .polisen-wrapper .y-bar .button-y--red, .polisen-wrapper .y-bar .button-y--yellow {
  margin-top: 0.5rem;
  color: #fff;
}

.polisen-wrapper .y-bar .button-y--green {
  background-color: green !important;
}

.polisen-wrapper .y-bar .button-y--red {
  background-color: red !important;
}

.polisen-wrapper .y-bar .button-y--yellow {
  background-color: #e2ae1f !important;
}

@media (max-width: 1500px) {
  .polisen-wrapper {
    height: 93vh !important;
    width: 93% !important;
    margin-top: 2rem !important;
  }
  .polisen-wrapper .info-box-wrapper {
    display: none !important;
  }
  .polisen-wrapper .info .title {
    font-size: 0.7rem !important;
  }
  .polisen-wrapper .info .text {
    font-size: 1.5rem !important;
  }
  .polisen-wrapper .x-bar {
    display: none !important;
  }
  .polisen-wrapper .y-bar {
    -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    width: 100% !important;
    height: auto !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: row !important;
            flex-direction: row !important;
    position: absolute !important;
    bottom: 0 !important;
    margin-left: 0 !important;
  }
  .polisen-wrapper .y-bar .hidden {
    display: none !important;
  }
  .polisen-wrapper .y-bar .show {
    display: block !important;
    margin-left: 0.5rem !important;
    margin-top: 0.5rem !important;
    -webkit-box-flex: 1 !important;
        -ms-flex-positive: 1 !important;
            flex-grow: 1 !important;
  }
  .polisen-wrapper .y-bar .button-y, .polisen-wrapper .y-bar .button-y--green, .polisen-wrapper .y-bar .button-y--red, .polisen-wrapper .y-bar .button-y--yellow {
    -webkit-box-flex: 1 !important;
        -ms-flex-positive: 1 !important;
            flex-grow: 1 !important;
    margin-top: 0.5rem !important;
    margin-left: 0.5rem;
    margin-top: 0.5 !important;
  }
  .polisen-wrapper .status-mdt {
    margin-top: -8rem !important;
  }
  .polisen-wrapper .status-mdt .status-wrapper .status-box, .polisen-wrapper .status-mdt .status-wrapper .status-box-green, .polisen-wrapper .status-mdt .status-wrapper .status-box-yellow, .polisen-wrapper .status-mdt .status-wrapper .status-box-red, .polisen-wrapper .status-mdt .amb-wrapper #status-amb .status-wrapper .status-box-green, .amb-wrapper #status-amb .polisen-wrapper .status-mdt .status-wrapper .status-box-green, .polisen-wrapper .status-mdt .amb-wrapper #status-amb .status-wrapper .status-box-yellow, .amb-wrapper #status-amb .polisen-wrapper .status-mdt .status-wrapper .status-box-yellow, .polisen-wrapper .status-mdt .amb-wrapper #status-amb .status-wrapper .status-box-red, .amb-wrapper #status-amb .polisen-wrapper .status-mdt .status-wrapper .status-box-red, .polisen-wrapper .status-mdt .rtj-wrapper #status-rtj .status-wrapper .status-box-green, .rtj-wrapper #status-rtj .polisen-wrapper .status-mdt .status-wrapper .status-box-green, .polisen-wrapper .status-mdt .rtj-wrapper #status-rtj .status-wrapper .status-box-yellow, .rtj-wrapper #status-rtj .polisen-wrapper .status-mdt .status-wrapper .status-box-yellow, .polisen-wrapper .status-mdt .rtj-wrapper #status-rtj .status-wrapper .status-box-red, .rtj-wrapper #status-rtj .polisen-wrapper .status-mdt .status-wrapper .status-box-red {
    padding: 1rem !important;
    text-align: left !important;
    width: auto !important;
  }
}

.sos-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin: 2rem;
}

.sos-wrapper .units-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #fff;
  border-radius: 5px;
  padding: 1rem;
  border: 0.5px solid #dfdfdf;
  width: 20%;
  height: 100%;
}

.sos-wrapper .units-box .title {
  font-size: 1.2rem;
  font-weight: 500;
}

.sos-wrapper .units-box .unit-box, .sos-wrapper .units-box .unit-box-yellow, .sos-wrapper .units-box .larm-wrapper .units .unit-box-yellow, .sos-wrapper .larm-wrapper .units .units-box .unit-box-yellow {
  margin-top: 0.5rem;
  background-color: #28a745;
  color: #fff;
  border-radius: 6px;
  padding: 0.5rem;
  width: 100%;
  position: relative;
}

.sos-wrapper .units-box .unit-box .badge-warning, .sos-wrapper .units-box .unit-box-yellow .badge-warning, .sos-wrapper .units-box .unit-box .badge-danger, .sos-wrapper .units-box .unit-box-yellow .badge-danger {
  padding: 0.5rem;
  position: absolute;
  right: 0;
  margin-right: 0.5rem;
  margin-top: -1.3rem;
  -webkit-animation-name: example;
          animation-name: example;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  color: #fff !important;
}

@-webkit-keyframes example {
  50% {
    background-color: #242424;
  }
}

@keyframes example {
  50% {
    background-color: #242424;
  }
}

.sos-wrapper .units-box .unit-box .rakel, .sos-wrapper .units-box .unit-box-yellow .rakel {
  font-weight: 500;
}

.sos-wrapper .units-box .unit-box-yellow {
  background-color: #e2ae1f !important;
}

.sos-wrapper .larm-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-left: 1rem;
  width: 60%;
}

.sos-wrapper .larm-wrapper .larm-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
  border: 0.5px solid #dfdfdf;
  margin-bottom: 1rem;
}

.sos-wrapper .larm-wrapper .larm-box .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sos-wrapper .larm-wrapper .larm-box .top .button-group {
  margin-left: auto;
}

.sos-wrapper .larm-wrapper .larm-box .top .button-group .btn-warning {
  color: #fff;
}

.sos-wrapper .larm-wrapper .larm-box .top .button-group .btn {
  padding: .200rem .55rem;
}

.sos-wrapper .larm-wrapper .larm-box .top .badge-danger, .sos-wrapper .larm-wrapper .larm-box .top .badge-warning {
  padding: 0.6rem;
}

.sos-wrapper .larm-wrapper .larm-box .top .title {
  margin-left: 0.5rem;
  font-weight: 500;
  font-size: 1.1rem;
}

.sos-wrapper .larm-wrapper .larm-box textarea.info {
  margin-top: 1rem;
}

.sos-wrapper .larm-wrapper .larm-box .info-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 1rem;
}

.sos-wrapper .larm-wrapper .larm-box .info-wrapper .info {
  margin: 1.8rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.sos-wrapper .larm-wrapper .units {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-top: 1rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
}

.sos-wrapper .larm-wrapper .units .unit-box, .sos-wrapper .larm-wrapper .units .unit-box-yellow {
  background-color: #28a745;
  color: #fff;
  border-radius: 6px;
  padding: 0.5rem;
  width: 32.462%;
  margin-right: 0.5rem;
  margin-left: -0rem;
  margin-top: 0.5rem;
}

.sos-wrapper .larm-wrapper .units .unit-box i.fa-user-times, .sos-wrapper .larm-wrapper .units .unit-box-yellow i.fa-user-times {
  float: right;
  margin-top: 0.2rem;
  color: #dc3545;
}

.sos-wrapper .larm-wrapper .units .unit-box i.fa-user-times:hover, .sos-wrapper .larm-wrapper .units .unit-box-yellow i.fa-user-times:hover {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: #f06875 !important;
}

.sos-wrapper .larm-wrapper .units .unit-box .title, .sos-wrapper .larm-wrapper .units .unit-box-yellow .title {
  font-weight: 500;
}

.sos-wrapper .larm-wrapper .units .unit-box-yellow {
  background-color: #e2ae1f !important;
}

.sos-wrapper .list-group {
  margin-left: 1rem;
  width: 20%;
}

.sos-wrapper .create-call-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 2rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
  width: 100%;
}

.sos-wrapper .create-call-form .form {
  width: 100% !important;
}

.sos-wrapper .create-call-form .form .form-group {
  width: 100% !important;
}

.sos-wrapper .create-call-form .form .form-group input.form-control {
  width: 100% !important;
}

.sos-wrapper .create-call-form .form .enheter {
  margin-top: 1rem;
}

.sos-wrapper .create-call-form .form .enheter select.form-control option {
  border-radius: 3px;
  padding: 0.3rem;
  margin-top: 0.3rem;
}

.sos-wrapper .create-call-form .form .enheter select.form-control option.Polisen {
  background-color: #007bff !important;
  color: #fff;
}

.sos-wrapper .create-call-form .form .enheter select.form-control option.Ambulansen {
  background-color: #e2ae1f !important;
  color: #fff;
}

.sos-wrapper .create-call-form .form .enheter select.form-control option.Räddningstjänsten {
  background-color: #e2361f !important;
  color: #fff;
}

.panic-wrapper {
  margin: 2rem;
}

.panic-wrapper .panic-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: red;
  color: #fff;
  border-radius: 5px;
  padding: 1rem;
  width: 19.5%;
  text-align: center;
  margin-bottom: 0.5rem;
}

.panic-wrapper .panic-box i.fa-exclamation-triangle {
  font-size: 2rem;
}

.panic-wrapper .panic-box .text {
  margin-top: 0.5rem;
  font-weight: 500;
}

.panic-wrapper .panic-box .text .de-activate {
  color: #fff;
}

.search-wrapper {
  margin: 2rem;
}

.search-wrapper .card {
  width: 100% !important;
}

.search-wrapper .card .card-title {
  font-size: 1.2rem;
  font-weight: 500;
}

.search-wrapper .card .search-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
}

.search-wrapper .card .search-form .form-group {
  width: 84.81%;
}

.search-wrapper .card .search-form .btn {
  height: 38px;
  margin-left: 0.5rem;
}

.search-wrapper .card .marker-box {
  padding: 1rem;
  width: 100%;
  background-color: #28a745;
  color: #fff;
  margin-top: 0.5rem;
  border-radius: 5px;
}

.search-wrapper .card .marker-box-red {
  padding: 1rem;
  width: 100%;
  background-color: #dc3545;
  color: #fff;
  margin-top: 0.5rem;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .sos-wrapper {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
  }
  .sos-wrapper .units-box {
    width: 100% !important;
  }
  .sos-wrapper .larm-wrapper {
    margin-top: 1rem;
    width: 100% !important;
    margin-left: 0;
  }
  .sos-wrapper .larm-wrapper .larm-box .info-wrapper .info {
    margin: 0.5rem !important;
  }
  .sos-wrapper .larm-wrapper .units {
    margin-left: 0.2rem;
  }
  .sos-wrapper .larm-wrapper .units .unit-box, .sos-wrapper .larm-wrapper .units .unit-box-yellow {
    width: 48.59% !important;
  }
  .sos-wrapper .list-group {
    width: 100% !important;
    margin: 0 !important;
  }
  .sos-wrapper .create-call-form {
    width: 100% !important;
    margin: 1rem !important;
    -webkit-box-align: start !important;
        -ms-flex-align: start !important;
            align-items: flex-start !important;
  }
}

.admin-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.admin-wrapper .navbar {
  background-color: #f0efef !important;
}

.admin-wrapper .create-account-wrapper {
  margin: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.admin-wrapper .create-account-wrapper .title {
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.admin-wrapper .search-wrapper {
  width: 100%;
}

.admin-wrapper .search-wrapper .form-control[type=search] {
  width: 92.7% !important;
}

.admin-wrapper .search-results-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 2rem;
  margin-top: 0rem !important;
}

.admin-wrapper .search-results-wrapper .title {
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.admin-wrapper .search-results-wrapper .result-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  vertical-align: middle;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1rem;
  border-radius: 5px;
  background-color: green;
  color: #fff;
}

.admin-wrapper .search-results-wrapper .result-box .button-group {
  margin-left: auto;
}

.stats-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 2rem;
}

.stats-wrapper .stats-box {
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  text-align: center;
  margin-left: 0.5rem;
}

.stats-wrapper .stats-box .title {
  font-weight: 500;
  font-size: 1.3rem;
}

@media (max-width: 1024px) {
  .stats-wrapper {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
  }
  .stats-wrapper .stats-box {
    margin-top: 0.5rem;
    width: 100% !important;
  }
}

.amb-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background-image: url("../img/ambulansen.jpg");
  background-size: cover;
  position: relative;
  width: 55%;
  margin: auto;
  margin-top: 8rem;
  color: #fff;
  height: 70vh;
}

.amb-wrapper #home-amb {
  margin: 2rem;
  margin-top: 5rem;
}

.amb-wrapper #home-amb .info .title {
  font-weight: 500;
  color: #d1d1d1;
  font-size: 0.9rem;
}

.amb-wrapper #home-amb .info .text {
  font-size: 1.6rem;
  font-weight: 500;
}

.amb-wrapper .x-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background-color: #242424;
  width: 100%;
  color: #fff;
  padding: 0.7rem;
  position: absolute;
  top: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.amb-wrapper .x-bar #clock {
  position: absolute;
  right: 0;
  vertical-align: middle;
  margin-right: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.amb-wrapper .x-bar span.cbr-status {
  margin-left: 20rem;
}

.amb-wrapper .x-bar span.cbr-status .badge-warning, .amb-wrapper .x-bar span.cbr-status .badge-danger {
  -webkit-animation-name: example;
          animation-name: example;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}

@keyframes example {
  50% {
    background-color: #242424;
  }
}

.amb-wrapper .x-bar-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background-color: #242424;
  width: 100%;
  color: #fff;
  padding: 0.7rem;
  position: absolute;
  bottom: 0;
}

.amb-wrapper .x-bar-2 .button, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--green, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--green, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--red, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--red, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--yellow, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--yellow, .amb-wrapper .x-bar-2 .button--green, .amb-wrapper .x-bar-2 .button--red, .amb-wrapper .x-bar-2 .button--yellow {
  display: inline-block;
  width: 20rem;
  background-color: #2e2e35;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: 3px;
  text-align: center;
  font-weight: 600;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  color: #fff !important;
  margin-left: 0.3rem;
}

.amb-wrapper .x-bar-2 .button:hover, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y:hover, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y:hover, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--green:hover, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--green:hover, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--red:hover, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--red:hover, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--yellow:hover, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--yellow:hover, .amb-wrapper .x-bar-2 .button--green:hover, .amb-wrapper .x-bar-2 .button--red:hover, .amb-wrapper .x-bar-2 .button--yellow:hover {
  cursor: pointer;
  background-color: #2a2a2e;
}

.amb-wrapper .x-bar-2 .button--green {
  background-color: green !important;
}

.amb-wrapper .x-bar-2 .button--red {
  background-color: red !important;
}

.amb-wrapper .x-bar-2 .button--yellow {
  background-color: #e2ae1f !important;
}

.amb-wrapper .x-bar-2 .button-logout {
  display: inline-block;
  width: 6.5rem;
  background-color: #2e2e35;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: 3px;
  text-align: center;
  font-weight: 600;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  color: #fff !important;
  margin-left: 0.3rem;
}

.amb-wrapper .x-bar-2 #status-button {
  width: 100% !important;
  -webkit-box-flex: 1 !important;
      -ms-flex-positive: 1 !important;
          flex-grow: 1 !important;
  margin-right: 0.3rem;
}

.amb-wrapper #status-amb {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.amb-wrapper #status-amb .title {
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
}

.amb-wrapper #status-amb .title span.title-1 {
  color: #cccccc;
  font-size: 1.4rem;
}

.amb-wrapper #status-amb .status-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.amb-wrapper #status-amb .status-wrapper a {
  text-decoration: none !important;
}

.amb-wrapper #status-amb .status-wrapper .box-1, .amb-wrapper #status-amb .status-wrapper .box-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.amb-wrapper #status-amb .status-wrapper .status-box, .amb-wrapper #status-amb .status-wrapper .status-box-green, .amb-wrapper #status-amb .status-wrapper .status-box-yellow, .amb-wrapper #status-amb .status-wrapper .status-box-red {
  padding: 1rem;
  background-color: #2e2e35;
  border-radius: 5px;
  border: 1px solid #777;
  color: #fff !important;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-left: 1rem;
  width: 10rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
}

.amb-wrapper #status-amb .status-wrapper .status-box-green:hover {
  background-color: green !important;
}

.amb-wrapper #status-amb .status-wrapper .status-box-yellow:hover {
  background-color: #e2ae1f !important;
}

.amb-wrapper #status-amb .status-wrapper .status-box-red:hover {
  background-color: red !important;
}

.amb-wrapper #sds-amb {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  margin: 5rem;
}

.amb-wrapper #sds-amb .mdt-larm-box {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
  border: 0.5px solid #dfdfdf;
  color: #000;
}

.amb-wrapper #sds-amb .mdt-larm-box .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.amb-wrapper #sds-amb .mdt-larm-box .top .badge {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
}

.amb-wrapper #sds-amb .mdt-larm-box .top .title {
  font-weight: 500 !important;
  font-size: 1.2rem;
}

.amb-wrapper #sds-amb .mdt-larm-box .top .btn-group {
  margin-left: auto;
}

.amb-wrapper #sds-amb .mdt-larm-box .top .btn-group .btn-warning {
  color: #fff;
  padding: .200rem .55rem;
}

.amb-wrapper #sds-amb .mdt-larm-box .info-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 1rem;
}

.amb-wrapper #sds-amb .mdt-larm-box .info-wrapper .info {
  margin: 0.5rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1500px) {
  .amb-wrapper {
    height: 93vh !important;
    width: 93% !important;
    margin-top: 2rem !important;
  }
  .amb-wrapper .info .title {
    font-size: 0.7rem !important;
  }
  .amb-wrapper .info .text {
    font-size: 1.5rem !important;
  }
  .amb-wrapper .x-bar-2 {
    display: block !important;
  }
  .amb-wrapper .x-bar-2 .button, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--green, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--green, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--red, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--red, .amb-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--yellow, .polisen-wrapper .y-bar .amb-wrapper .x-bar-2 .button-y--yellow, .amb-wrapper .x-bar-2 .button--green, .amb-wrapper .x-bar-2 .button--red, .amb-wrapper .x-bar-2 .button--yellow {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    width: 6.75rem !important;
  }
  .amb-wrapper .x-bar-2 #status-button {
    width: 6.75rem !important;
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
  }
  .amb-wrapper .x-bar-2 .button-logout {
    width: 6.75rem !important;
    margin-top: 0.25rem !important;
    margin-left: -0.3rem !important;
  }
  .amb-wrapper .x-bar-2 .hidden {
    display: none !important;
  }
  .amb-wrapper #status-amb {
    margin-top: -8rem !important;
  }
  .amb-wrapper #status-amb .status-wrapper .status-box, .amb-wrapper #status-amb .status-wrapper .status-box-green, .amb-wrapper #status-amb .status-wrapper .status-box-yellow, .amb-wrapper #status-amb .status-wrapper .status-box-red {
    padding: 1rem !important;
    text-align: left !important;
    width: auto !important;
  }
}

.rtj-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background-image: url("../img/räddningstjänsten.jpg");
  background-size: cover;
  position: relative;
  width: 55%;
  margin: auto;
  margin-top: 8rem;
  color: #fff;
  height: 70vh;
}

.rtj-wrapper #home-rtj {
  margin: 2rem;
  margin-top: 5rem;
}

.rtj-wrapper #home-rtj .info .title {
  font-weight: 500;
  color: #d1d1d1;
  font-size: 0.9rem;
}

.rtj-wrapper #home-rtj .info .text {
  font-size: 1.6rem;
  font-weight: 500;
}

.rtj-wrapper .x-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background-color: #242424;
  width: 100%;
  color: #fff;
  padding: 0.7rem;
  position: absolute;
  top: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.rtj-wrapper .x-bar #clock {
  position: absolute;
  right: 0;
  vertical-align: middle;
  margin-right: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.rtj-wrapper .x-bar span.cbr-status {
  margin-left: 20rem;
}

.rtj-wrapper .x-bar span.cbr-status .badge-warning, .rtj-wrapper .x-bar span.cbr-status .badge-danger {
  -webkit-animation-name: example;
          animation-name: example;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}

@keyframes example {
  50% {
    background-color: #242424;
  }
}

.rtj-wrapper .x-bar-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background-color: #242424;
  width: 100%;
  color: #fff;
  padding: 0.7rem;
  position: absolute;
  bottom: 0;
}

.rtj-wrapper .x-bar-2 .button, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--green, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--green, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--red, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--red, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--yellow, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--yellow, .rtj-wrapper .x-bar-2 .button--green, .rtj-wrapper .x-bar-2 .button--red, .rtj-wrapper .x-bar-2 .button--yellow {
  display: inline-block;
  width: 20rem;
  background-color: #2e2e35;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: 3px;
  text-align: center;
  font-weight: 600;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  color: #fff !important;
  margin-left: 0.3rem;
}

.rtj-wrapper .x-bar-2 .button:hover, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y:hover, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y:hover, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--green:hover, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--green:hover, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--red:hover, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--red:hover, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--yellow:hover, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--yellow:hover, .rtj-wrapper .x-bar-2 .button--green:hover, .rtj-wrapper .x-bar-2 .button--red:hover, .rtj-wrapper .x-bar-2 .button--yellow:hover {
  cursor: pointer;
  background-color: #2a2a2e;
}

.rtj-wrapper .x-bar-2 .button--green {
  background-color: green !important;
}

.rtj-wrapper .x-bar-2 .button--red {
  background-color: red !important;
}

.rtj-wrapper .x-bar-2 .button--yellow {
  background-color: #e2ae1f !important;
}

.rtj-wrapper .x-bar-2 .button-logout {
  display: inline-block;
  width: 6.5rem;
  background-color: #2e2e35;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: 3px;
  text-align: center;
  font-weight: 600;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  color: #fff !important;
  margin-left: 0.3rem;
}

.rtj-wrapper .x-bar-2 #status-button {
  width: 100% !important;
  -webkit-box-flex: 1 !important;
      -ms-flex-positive: 1 !important;
          flex-grow: 1 !important;
  margin-right: 0.3rem;
}

.rtj-wrapper #status-rtj {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.rtj-wrapper #status-rtj .title {
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
}

.rtj-wrapper #status-rtj .title span.title-1 {
  color: #cccccc;
  font-size: 1.4rem;
}

.rtj-wrapper #status-rtj .status-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.rtj-wrapper #status-rtj .status-wrapper a {
  text-decoration: none !important;
}

.rtj-wrapper #status-rtj .status-wrapper .box-1, .rtj-wrapper #status-rtj .status-wrapper .box-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.rtj-wrapper #status-rtj .status-wrapper .status-box, .rtj-wrapper #status-rtj .status-wrapper .status-box-green, .rtj-wrapper #status-rtj .status-wrapper .status-box-yellow, .rtj-wrapper #status-rtj .status-wrapper .status-box-red {
  padding: 1rem;
  background-color: #2e2e35;
  border-radius: 5px;
  border: 1px solid #777;
  color: #fff !important;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-left: 1rem;
  width: 10rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
}

.rtj-wrapper #status-rtj .status-wrapper .status-box-green:hover {
  background-color: green !important;
}

.rtj-wrapper #status-rtj .status-wrapper .status-box-yellow:hover {
  background-color: #e2ae1f !important;
}

.rtj-wrapper #status-rtj .status-wrapper .status-box-red:hover {
  background-color: red !important;
}

.rtj-wrapper #sds-rtj {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  margin: 5rem;
}

.rtj-wrapper #sds-rtj .mdt-larm-box {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
  border: 0.5px solid #dfdfdf;
  color: #000;
}

.rtj-wrapper #sds-rtj .mdt-larm-box .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.rtj-wrapper #sds-rtj .mdt-larm-box .top .badge {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
}

.rtj-wrapper #sds-rtj .mdt-larm-box .top .title {
  font-weight: 500 !important;
  font-size: 1.2rem;
}

.rtj-wrapper #sds-rtj .mdt-larm-box .top .btn-group {
  margin-left: auto;
}

.rtj-wrapper #sds-rtj .mdt-larm-box .top .btn-group .btn-warning {
  color: #fff;
  padding: .200rem .55rem;
}

.rtj-wrapper #sds-rtj .mdt-larm-box .info-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 1rem;
}

.rtj-wrapper #sds-rtj .mdt-larm-box .info-wrapper .info {
  margin: 0.5rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1500px) {
  .rtj-wrapper {
    height: 93vh !important;
    width: 93% !important;
    margin-top: 2rem !important;
  }
  .rtj-wrapper .info .title {
    font-size: 0.7rem !important;
  }
  .rtj-wrapper .info .text {
    font-size: 1.5rem !important;
  }
  .rtj-wrapper .x-bar-2 {
    display: block !important;
  }
  .rtj-wrapper .x-bar-2 .button, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--green, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--green, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--red, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--red, .rtj-wrapper .x-bar-2 .polisen-wrapper .y-bar .button-y--yellow, .polisen-wrapper .y-bar .rtj-wrapper .x-bar-2 .button-y--yellow, .rtj-wrapper .x-bar-2 .button--green, .rtj-wrapper .x-bar-2 .button--red, .rtj-wrapper .x-bar-2 .button--yellow {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    width: 6.75rem !important;
  }
  .rtj-wrapper .x-bar-2 #status-button {
    width: 6.75rem !important;
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
  }
  .rtj-wrapper .x-bar-2 .button-logout {
    width: 6.75rem !important;
    margin-top: 0.25rem !important;
    margin-left: -0.3rem !important;
  }
  .rtj-wrapper .x-bar-2 .hidden {
    display: none !important;
  }
  .rtj-wrapper #status-rtj {
    margin-top: -8rem !important;
  }
  .rtj-wrapper #status-rtj .status-wrapper .status-box, .rtj-wrapper #status-rtj .status-wrapper .status-box-green, .rtj-wrapper #status-rtj .status-wrapper .status-box-yellow, .rtj-wrapper #status-rtj .status-wrapper .status-box-red {
    padding: 1rem !important;
    text-align: left !important;
    width: auto !important;
  }
}

/* Webkit */
::-webkit-scrollbar {
  width: 0;
}

/* General */
body {
  background-color: #f7f7f7 !important;
}

body label {
  font-weight: 500 !important;
}

body b {
  font-weight: 500;
}

body span.bold {
  font-weight: 500;
}

/* === Bakgrunder för olika sektioner === */

/* Login */
body.login-page {
  background: url('../../assets/img/helibakgrund.png') no-repeat center center fixed;
  background-size: cover;
}

/* SOS */
body.sos-page {
  background: url('../../assets/img/sosbakgrund.png') no-repeat center center fixed;
  background-size: cover;
}

/* Polisen */
body.polisen-page {
  background: url('../../assets/img/polisbakgrund.png') no-repeat center center fixed;
  background-size: cover;
}

/* Ambulansen */
body.amb-page {
  background: url('../../assets/img/ambbakgrund.png') no-repeat center center fixed;
  background-size: cover;
}

/* Räddningstjänsten / Brandkåren */
body.rtj-page {
  background: url('../../assets/img/raddningbakgrund.png') no-repeat center center fixed;
  background-size: cover;
}

/* Civilperson */
body.civil-page {
  background: url('../../assets/img/stockholm.png') no-repeat center center fixed;
  background-size: cover;
}


/* === Gemensam bakgrundsblur-effekt === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: inherit;
  filter: blur(0px);
  z-index: -1;
}

/* === Wrapper z-index fix === */
.login-wrapper,
.polisen-wrapper,
.sos-wrapper,
.amb-wrapper,
.rtj-wrapper,
.civil-wrapper {
  position: relative;
  z-index: 1;
}

/* ===== CBR-knappar och text ===== */
.cbr-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 5px;
}

.cbr-btn {
  width: 120px;
  text-align: center;
  background-color: #1c1c1c;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 0;
  margin: 5px 0;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.35);
  transition: all 0.15s ease-in-out;
  border: 1px solid #2a2a2a;
}

.cbr-btn:hover {
  transform: translateY(-2px);
  background-color: #2a2a2a;
}

.cbr-text {
  color: #ccc;
  font-size: 12px;
  margin-left: 8px;
  margin-bottom: 4px;
}

/* Gul för vanlig CBR */
#cbr1 { background-color: #e6b800; color: #000; }
#cbr1:hover { background-color: #ffcc00; }

/* Röd för PRIO */
#cbr2 { background-color: #c62828; }
#cbr2:hover { background-color: #ff3b3b; }

/* Blå för RAPS */
#cbr3 { background-color: #1565c0; }
#cbr3:hover { background-color: #1e88e5; }

/* === CBR STATUS TEXT - ovanför högra panelen === */
.cbr-status-text {
  position: absolute;
  top: 25px;
  right: 120px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffcc00;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
  z-index: 9999;
}

/* === Standardbakgrund för alla sidor utan specifik === */
body {
  background: url('../img/helibakgrund.png') no-repeat center center fixed;
  background-size: cover;
}

/* Behåll blur/overlay om du vill — annars ta bort */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* lätt mörk overlay för kontrast */
  z-index: -1;
}

/* Undantag — dessa har redan egna bakgrunder */
body.login-page,
body.sos-page,
body.polisen-page,
body.amb-page,
body.rtj-page,
body.civil-page {
  background-size: cover;
  background-attachment: fixed;
}

.btn-warning {
  background: linear-gradient(135deg, #ffcc00, #ffb300);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #ffdb4d, #ffc107);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* ============================= */
/* Ta bort konto-knapp (röd) */
/* ============================= */

.btn-danger {
  background-color: #b30000 !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
  transition: all 0.2s ease-in-out;
}

.btn-danger:hover {
  background-color: #e60000 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
  transform: translateY(-2px);
}

/* ==== Mörk modern SweetAlert-design (för "Ditt jobb ändrades!") ==== */
.swal2-popup {
  background: #121212 !important; /* mörk mörk grå bakgrund */
  color: #ffffff !important;      /* vit text */
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.8) !important;
}

/* Gör titeln vit och tydlig */
.swal2-title {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Gör beskrivningstexten vit */
.swal2-html-container,
.swal2-content {
  color: #cccccc !important;
}

/* Justerar den gröna "checkmark"-ikonen */
.swal2-success-ring {
  border-color: #00c853 !important; /* samma gröna ton som knappar */
  opacity: 0.9 !important;
}

.swal2-success-line-tip,
.swal2-success-line-long {
  background-color: #00c853 !important;
}

/* Gör snurren (timerprogress) grön */
.swal2-timer-progress-bar {
  background: #00c853 !important;
}

/* Ändrar bakgrunden runt modalen så den inte blir för ljus */
.swal2-container {
  background-color: rgba(0, 0, 0, 0.7) !important;
}
