/*
  General settings
*/

@import url('https://fonts.googleapis.com/css?family=Work+Sans:300,600');

:root {
  --header-bg: rgba(83, 192, 243, 0.897);
  --table-header-bg: rgba(0, 66, 97, 0.897);
  --table-header-color: rgba(241, 251, 255, 0.897);
  --title-bg: rgba(83, 192, 243, 0.897);
  --title-color: rgb(255, 255, 255);
  --primary: rgba(0, 66, 97, 0.897);
  --primary-hover: rgba(5, 79, 114, 0.911);
  --secondary: rgba(83, 192, 243, 0.897);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

a, a:hover, a:visited, a:active {
  color: inherit;
  text-decoration: none;
}

/*
  LAYOUT
*/

body {
	margin: 0;
  background:rgb(238, 238, 238, 1);
	font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  display: grid;
  min-height: 100%;
  grid: auto / 1rem 1fr 1rem;
}

content {
  grid-column: 2 / 3;
  padding-top: 70px;
  margin-bottom: 50px;
  height: 100%;
}

header {
  background: var(--header-bg);
  text-align: center;
  position: fixed;
  z-index: 999;
  width: 100%;
}

footer {
  margin-top: auto;
  padding: 20px;
  color: #eee;
  background-color:rgba(19, 26, 24, 0.85);
  grid-column: 1 / -1;
}

/* NAVIGATION */

/*
  LOGO, NAVIGATION AND SEARCH BAR
*/
.nav-toggle {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.nav-toggle:focus ~ .nav-toggle-label {
  outline: 3px solid rgba(lightblue, .75);
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1em;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: white;
  height: 2px;
  width: 2em;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

nav.mynav {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  background: var(--header-bg);
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}

nav.mynav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.mynav li {
  margin-bottom: 0.75em;
  margin-left: 0.75em;
}

.logo {
  margin: 15px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  color: white;
}

.logo > .sublogo {
  font-size: 0.80em;
  line-height: 1;
  font-weight: normal;
}

.search {
  width: 140px;
  margin-left: 1rem;
}

.ui-autocomplete {
  z-index: 9999;
}

.search > * > input {
  border: 1px #000000 solid;
  border-radius: 3px;
  padding: 5px;
  font-size: 13px;
  font-weight: normal;
}
.search_text {
  margin-right: 0.5rem;
  display: inline-block;
}

.search_text input[type=text] {
  width: 130px;
}

nav.mynav a, nav.mynav a:visited {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}

nav.mynav a:hover, nav.mynav > li > active {
  color: #000;
}

.nav-toggle:checked ~ nav.mynav {
  transform: scale(1,1);
}

.nav-toggle:checked ~ nav.mynav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

@media screen and (min-width: 1300px) {
  .nav-toggle-label {
    display: none;
  }

  header {
    display: grid;
    grid-template-columns: 1fr auto minmax(1100px, 6fr) 1fr;
  }
  
  .logo {
    grid-column: 2 / 3;
  }

  .search {
    margin-left: 2.5em;
  }

  nav.mynav {
    
    /* the following lines are not from my video, but add Edge support */
    position: relative;
    text-align: left;
    transition: none;
    transform: scale(1,1);
    background: none;
    top: initial;
    left: initial;
    /* end Edge support stuff */
    
    grid-column: 3 / 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  nav.mynav ul {
    display: flex;
  }
  
  nav.mynav li {
    margin-left: 3em;
    margin-bottom: 0;
  }
  
  nav.mynav a {
    opacity: 1;
    position: relative;
  }
  
  nav.mynav a::before {
    content: '';
    display: block;
    height: 5px;
    background: black;
    position: absolute;
    top: -.75em;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transition: transform ease-in-out 250ms;
  }
  
  nav.mynav a:hover::before {
    transform: scale(1,1);
  }
}






.grid-crm {
  display: grid;
  grid-template-rows: 300px 300px 300px auto;
  grid-template-columns: 1fr;
  grid-template-areas:
    "crm-custname"
    "crm-custinfo-accounts"
    "crm-custinfo-contracts"
    "crm-custinfo-subscriptions"
    "crm-contactpersons"
    "crm-custinfo-billing"
    "crm-log";
  grid-gap: 0.2rem;
}

.tools_grid {
  display: grid;
  grid-template-rows: auto;
}

@media screen and (min-width: 1300px) {

  .tools_grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 2rem;
  }

}

.card_grid_15 {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(2, minmax(12rem, 18rem));
  grid-gap: 0.5rem;
}
.card_grid_3 {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(3, minmax(12rem, 18rem));
  grid-gap: 0.5rem;
}
.card_grid_4 {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(4, minmax(12rem, 18rem));
  grid-gap: 0.5rem;
}
.card_grid_6 {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(6, minmax(12rem, 18rem));
  grid-gap: 0.5rem;
}

.card {
  line-height: 1;
}

.add_subscription_grid {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-template-areas:
  "add_subscription_header"
  "add_subscription_details"
  "add_subscription_account_existing"
  "add_subscription_summary"
  ;
  grid-gap: 0.2rem;
}

.grid-crm-contracts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 0.2rem;
}

.grid-crm-front {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}

.grid-crm-112 {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}

.grid-crm-11 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}

.grid-crm-121 {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}

.grid-crm-21 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}

.grid-crm-31 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}



.grid-crm-113 {
  display: grid;
  grid-template-columns: 1fr 1fr 3fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}

.grid-crm-13 {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}
.grid-crm-12 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}
.grid-crm-122 {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}

.grid-crm-221 {
  display: grid;
  grid-template-columns: 2fr 2fr;
  grid-template-rows: auto;
  grid-gap: 1rem;
}

.crm-elva-col3 {
  grid-column: 2;
}


@media screen and (min-width: 2000px) {

  .grid-crm-221 {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    grid-template-rows: auto;
    grid-gap: 1rem;
  }  
    .crm-elva-col3 {
      grid-column: 3;
    }
  
}

@media screen and (min-width: 1300px) {


  .grid-crm-front {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 1rem;
  }

  .crm-front-col1 {
    grid-column: 1;
  }
  .crm-front-col2 {
    grid-column: 2;
  }
  .crm-front-col3 {
    grid-column: 3;
  }

  .grid-crm {
      grid-template-columns: 1fr minmax(400px, 0.5fr) minmax(400px, 0.5fr) minmax(400px, 0.5fr);
    grid-template-areas:
    "crm-custname crm-custname crm-custinfo-tasks crm-log"
    "crm-custinfo-subscriptions crm-custinfo-subscriptions crm-contactpersons crm-log"
    "crm-custinfo-billing crm-custinfo-accounts crm-custinfo-contracts crm-log"

    ;
    grid-gap: 1.5rem;
  }

  .grid-crm-contracts {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
   grid-gap: 1.5rem;
}


  .add_subscription_grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 3fr;
    grid-template-areas:
    "add_subscription_header"
    "add_subscription_details"
    "add_subscription_productrows";
    grid-gap: 1.5rem;
  }
  
}

.subscriptions_grid {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: minmax(50px, 70px) minmax(250px, 1fr) minmax(250px, 1fr) minmax(90px, 120px) minmax(90px, 120px) minmax(70px, 100px) minmax(70px, 100px) repeat(2, 140px) 1fr;
  grid-gap: 0.1rem;
}



.subscriptions_grid > * > input, .subscriptions_grid > * > select {
  width: 100%;
  padding: 0.3rem;
  line-height: 1;
  margin: 0;
  height: 2.2rem;
  font-size: 1rem;
  border-radius: 0;
  border: 0;
}

.subscriptions_grid_header {
  background: var(--table-header-bg);
  color: var(--table-header-color);
  padding: 0.3rem;
  font-size: 1rem;
}

.minilabel {
  padding: 0.2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  background-color: #e9e9e9;
  font-size: 0.8rem;
  margin-right: 1rem;
}

.accumulated_small_box {
  padding: 0.1rem;
  margin-right: 1.5rem;
}
.accumulated_small_box:hover {
  background-color: #ffe;
}
.accumulated_small_box > span {
  float: right;
  font-size: 0.9em;
}

.crm-contracts-col1 {
  grid-column: 1;
}
.crm-contracts-col2 {
  grid-column: 2;
}
.crm-contracts-col3 {
  grid-column: 3;
}
.crm-front-col0 {
  grid-column: 1 / 4;
}


.crm-13-col0 {
  grid-column: 1 / 3;
}
.crm-13-col1 {
  grid-column: 1;
}
.crm-13-col2 {
  grid-column: 2;
}


.crm-112-col0 {
  grid-column: 1 / 4;
}
.crm-112-col1 {
  grid-column: 1;
}
.crm-112-col2 {
  grid-column: 2;
}
.crm-112-col3 {
  grid-column: 3;
}

.subscriptions_grid_col_1 {
  grid-column: 1 / 1;
}
.subscriptions_grid_col_2 {
  grid-column: 2 / 4;
}
.subscriptions_grid_col_4 {
  grid-column: 4;
}
.subscriptions_grid_col_5 {
  grid-column: 5;
}
.subscriptions_grid_col_6 {
  grid-column: 6;
}
.subscriptions_grid_col_7 {
  grid-column: 7;
}
.subscriptions_grid_col_8 {
  grid-column: 8;
}
.subscriptions_grid_col_9 {
  grid-column: 9;
}
.subscriptions_grid_col_10 {
  grid-column: 10;
}
.subscriptions_grid_col_11 {
  grid-column: 11;
}
.add_subscription_details_element {
  display: block;
  margin-bottom: 1rem;
}
.add_subscription_header {
  grid-area: add_subscription_header;
}
.add_subscription_details {
  grid-area: add_subscription_details;
}
.add_subscription_productrows {
  grid-area: add_subscription_productrows;
}
.add_subscription_account_existing {
  grid-area: add_subscription_account_existing;
}
.add_subscription_summary {
  grid-area: add_subscription_summary;
}
.crm-custinfo-name {
  grid-area: crm-custname;
}
.crm-custinfo-name > .content {
  height: 250px;
  overflow-y: auto;
}
.crm-custinfo-tools {
  grid-area: crm-tools;
}
.crm-tasks {
  grid-area: crm-custinfo-tasks;
}
.crm-tasks > .content {
  height: 250px;
  overflow-y: auto;
}
.crm-custinfo-billing {
  grid-area: crm-custinfo-billing;
}
.crm-custinfo-billing > .content {
  height: 250px;
  overflow-y: auto;
}
.crm-custinfo-log {
  grid-area: crm-log;
}
.crm-custinfo-log > .content {
  height: 900px;
  overflow-y: auto;
}
.crm-custinfo-subscriptions {
  grid-area: crm-custinfo-subscriptions;
}
.crm-custinfo-accounts {
  grid-area: crm-custinfo-accounts;
}
.crm-custinfo-accounts > .content {
  height: 250px;
  overflow-y: auto;
}
.crm-contactpersons {
  grid-area: crm-contactpersons;
}
.crm-contactpersons > .content {
  height: 250px;
  overflow-y: auto;
}
.crm-custinfo-contracts {
  grid-area: crm-custinfo-contracts;
}
.crm-custinfo-contracts > .content {
  height: 250px;
  overflow-y: auto;
}



/*
  TYPOGRAFY
*/

.smaller_text {
  font-size: 0.5em;
}
.small_text {
  font-size: 0.7em;
}
.medium_text {
  font-size: 0.85em;
}
.normal_text {
  font-size: 1em;
}
.big_text {
  font-size: 1.5em;
}

.bigger_text {
  font-size: 2em;
}

/*
  ICONS
*/

.icon {
  display: inline-block;
  position: relative;
  padding: 0;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  line-height: 0;
}

.inline-icon::before {
  padding-right: 0.25em;
}

.icon_dynamic::before {
  position: absolute;
  top: -5px;
  transition: transform 250ms;
}
.icon_dynamic:hover::before {
  transform: scale(2.1);
}

.icon_check::before, .icon_yes::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f058";
  color: #060;
}
.icon_no::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f00d";
  color: #f00;
}
.icon_edit::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f044";
  color: rgb(255, 72, 0);
}
.icon_excel::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f1c3";
  color: rgb(255, 72, 0);
}
.icon_map::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f279";
  color: rgb(255, 72, 0);
}
.icon_settings::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f085";
  color: rgb(255, 72, 0);
}
.icon_key::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f084";
  color: rgb(255, 72, 0);
}
.icon_spy::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f21b";
  color: rgb(65, 18, 0);
}
.icon_addorder::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f217";
  color: rgb(25, 105, 0);
}
.icon_flow::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f72e";
  color: rgb(42, 63, 253);
}
.icon_addperson::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f234";
  color: rgb(211, 112, 0);
}
.icon_envelope::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0e0";
  color: rgb(255, 255, 255);
}
.icon_mobile::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f3cd";
  color: rgb(255, 255, 255);
}
.icon_phone::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f095";
  color: rgb(255, 255, 255);
}
.icon_close::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f00d";
  color: rgb(141, 0, 0);
}
.icon_plan::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f073";
  color: rgb(25, 105, 0);
}
.icon_bell::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0f3";
  color: rgb(141, 0, 0);
}
.icon_blogg::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f143";
  color: rgb(211, 112, 0);
}
.icon_tasks::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0ae";
  color: rgb(25, 105, 0);
}
.icon_list::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f03a";
  color: rgb(25, 105, 0);
}
.icon_archive::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f01c";
  color: rgb(25, 105, 0);
}
.icon_sms::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f7cd";
  color: rgb(25, 105, 0);
}
.icon_document::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f1c1";
  color: rgb(34, 37, 34);
}
.icon_add::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0fe";
  color: rgb(25, 105, 0);
}
.icon_clone::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f24d";
  color: rgb(233, 85, 0);
}
.icon_copy::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0c5";
  color: rgb(233, 85, 0);
  cursor: pointer;
}
.icon_remove::before, .icon_delete::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f2ed";
  color: rgb(141, 0, 0);
}
.icon_newfile::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f477";
  color: rgb(25, 105, 0);
}
.icon_valid::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f14a";
  color: rgb(25, 105, 0);
}
.icon_invalid::before {
  font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f0c8";
  color: rgb(141, 0, 0);
}
.icon_account::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f571";
  color: rgb(25, 105, 0);
}
.icon_waiting::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f251";
  color: rgb(34, 37, 34);
}
.icon_warning::before, .icon_alert::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f071";
  color: rgb(34, 37, 34);
}

.time_badge {
  text-align: center;
  max-width: 150px;
}
.time_badge_title::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 700; 
  content: "\f251";
  font-size: 1.2em;
  color: rgb(34, 37, 34);
  display: inline-block;
  position: relative;
  padding: 0;
  margin-right: 0.75rem;
  line-height: 0;
}
.icon_question::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f128";
  color: rgb(34, 37, 34);
}
.icon_repeat::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f079";
  color: rgb(25, 105, 0);
}
.icon_usage::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f662";
  color: rgb(25, 105, 0);
}
.icon_agreement::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f2b5";
  color: rgb(25, 105, 0);
}
.icon_discount::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f541";
  color: rgb(243, 89, 0);
}
.icon_upgrade::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f3bf";
  color: rgb(25, 105, 0);
}
.icon_downgrade::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f3be";
  color: rgb(105, 0, 0);
}
.icon_cancel::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f05e";
  color: rgb(105, 0, 0);
}
.icon_change::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f362";
  color: rgb(25, 105, 0);
}
.icon_next::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f105";
  color: rgb(15, 15, 15);
}
.icon_circle::before {
  font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f111";
  color: rgb(15, 15, 15);
}
.icon_person::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f406";
  color: rgb(15, 15, 15);
}
.icon_eye::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f06e";
  color: rgb(15, 15, 15);
}

.kr_positive {
  color: rgb(25, 105, 0);
}
.kr_negative {
  color: rgb(195, 0, 0);
}
.kr_positive::after {
  margin-left: 1rem;
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f3bf";

}
.kr_negative::after {
  margin-left: 1rem;
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f3be";

}


.icon_white::before {
  color: rgb(255, 255, 255);
}
.icon_black::before {
  color: rgb(14, 14, 14);
}
.icon_grey::before {
  color: rgb(95, 95, 95);
}
.icon_alphagrey::before {
  color: rgba(95, 95, 95, 0.5);
}
.icon_alphagrey_light::before {
  color: rgba(155, 155, 155, 0.3);
}
.icon_red::before {
  color: rgb(223, 0, 0);
}
.icon_green::before {
  color: rgb(25, 105, 0);
}

/*
  ELEMENTS
*/

.widget {
  padding: 1.5rem;
  background-color: #ffffff;
  box-shadow: #aaa 1px 2px;
  border: 1px #bbb solid;
}

.transparent {
  background-color: transparent;
  border: 0;
  box-shadow: 0;
}
.widget::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}

.widget::-webkit-scrollbar
{
  width: 6px;
  background-color: #F5F5F5;
}

.widget::-webkit-scrollbar-thumb
{
  background-color: #000000;
}

.form_schema {
  max-width: 60ch;
  width: 100%;
}
.form_schema > input, .form_schema > select, .form_schema > textarea, .form_schema > * > input[type=text], .form_schema > * > select, .form_schema > * > textarea {
  display: block;
  width: 100%;
  margin-bottom: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px #cccccc solid;
  border-radius: 4px;
}

.form_schema_fullwidth {
  max-width: 100%;
}


.add_sub_pris_wrapper {
  position: relative;

}
.add_sub_pris_net {
  position: absolute;
  right: 8px;
  top: 4px;
  z-index: 999999;
}
.add_sub_pris {
  width: 100%;
  border: 0;
}
.discounted {
  text-decoration: line-through;
  color: #777;
}

.contactperson {
  font-size: 0.8rem;
}

.contactperson-close {
  position: absolute;
  top: 10px;
  right: 5px;
  z-index: 9999;
}

.contactperson-delete {
  position: absolute;
  top: 10px;
  right: 23px;
  z-index: 9999;
}

.contactperson > * > h5 {
  font-size: 1.2em;
}
.contactperson > * > .btn {
  font-size: 1em;
  padding: 0.175em 0.5em;
  margin-right: 0.2em;
}

a.btn-primary, a.btn-primary:hover, a.btn-primary:visited, a.btn-primary:active,
a.btn-dark, a.btn-dark:hover, a.btn-dark:visited, a.btn-dark:active,
a.btn-success, a.btn-success:hover, a.btn-success:visited, a.btn-success:active,
a.btn-danger, a.btn-danger:hover, a.btn-danger:visited, a.btn-danger:active
 {
        color: #fff;
        text-decoration: none;
}


.profilepic {
  width: 40px;
  height: 40px;
  display: inline-block;
  border: 1px;
  border-color: var(--headerbg);
  border-radius: 50%;
  background-size: contain;
  position: relative;
}
.profilepic::after {
  display: inline-block;
  content: 'Profil';
  margin-left: 55px;
}


.option-yellow {
	color: #282200;
	background-color: #efcc0d;
}
.option-red {
	color: #ffffff;
	background-color: #bb2222;
}
.option-green {
	color: #ffffff;
	background-color: #337733;
}
.option-blue {
	color: #ffffff;
	background-color: #1063df;
}
.option-grey {
	color: #282200;
	background-color: #77797c;
}

.status_icon {
  display: inline-block;
	padding: 3px 9px 3px 6px;
	margin: 2px;
	border-radius: 4px;
	font-style: italic;
  font-family: verdana;
}

.status_icon_yellow {
	color: #282200;
	background-color: #fad817;
}
.status_icon_orange {
	color: #282200;
	background-color: #fa9f17;
}
.status_icon_red {
	color: #ffffff;
	background-color: #bb2222;
}
.status_icon_green {
	color: #ffffff;
	background-color: #337733;
}
.status_icon_blue {
	color: #ffffff;
	background-color: #1063df;
}
.status_icon_grey {
	color: #ebebeb;
	background-color: #181616;
}

.supercenter {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.fileicon {
  display: inline-block;
  overflow: hidden;
  border-radius: 10px;
  border: 2px #000000 solid;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.fileicon > img {
  max-height: 150px;
}

img.grayscale_hover {
  filter: grayscale(100%);
}

img.grayscale_hover:hover {
  filter: grayscale(20%);
  cursor: wait;
}

.activity-log {
  display: flex;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  background-color: #fcfcff;
  border: 1px #ccd solid;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  align-items: center;
  justify-content: center;
}
.activity-log a:hover {
  text-decoration: underline;
}
.activity-log-content {
  flex: 1;
  align-items: center;
}
.activity-log-date {
  font-size: 1.1rem;
  margin-top: 1rem;
}
.activity-log-action {
  font-size: 0.8rem;
  font-weight: bold;
}
.activity-log-action-manual::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f075";
  margin-right: 0.5rem;
  color:rgb(255, 60, 0);
  text-shadow: 1px 1px rgb(0, 0, 0);;
}
.activity-log-who {
  width: 30px;
  font-size: 0.8rem;
  text-align: center;
  margin-right: 10px;
}
.activity-log-who > .acronym {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: bold;
  overflow: hidden;
  font-size: 15px;
}
.activity-log-who > .acronym_self {
  background: var(--secondary);
  color: #ffffff;
}
.activity-log-who > .acronym_system {
  background: #cccccc;
  color: #ffffff;
}
.activity-log-who > .profilepic {
  width: 30px;
  height: 30px;
}
.activity-log-yourself {
  background-color:rgba(4, 122, 201, 0.596);
  color: #ffffff;
}
.activity-files {
  display: block;
  padding: 0.5rem;
}
.activitiy-file {
  display: inline-block;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  border-radius: 10px;
  border: 1px #a6a8aa solid;
  background-color: #ffffff;
  overflow: hidden;
}
.activitiy-file > img {
  max-height: 70px;

}
.alert::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  margin-right: 6px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f06a";
  
}





@media screen and (min-width: 1300px) {
  .profilepic::after {
    display: none;
  }
  nav.mynav > .profilepic {
    width: 30px;
    height: 30px;
  }
}


.notification_icon {
  position: absolute;
  top: -8px;
  right: -8px;
  border-radius: 40%;
  background: red;
  color: white;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.70rem;
  font-weight: bold;
}



.stats_box {
  display: inline-block;
  padding: 0.5rem;
  margin-right: 1rem;
  box-shadow: 1px 1px 0px #999;
  background: white;
}

.stats_box_title {
  padding: 0.2rem;
  background-color: var(--title-bg);
  color: var(--title-color);
  font-weight: bold;
  font-size: 0.9rem;
  display: block;
  text-align: center;
}

.stats_box_content {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: #00cc00;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}
/* Rounded sliders */
.slider.round {
  border-radius: 30px;
}

.slider.round:before {
  border-radius: 50%;
}

.input-group-text.primary {
  color: rgb(255, 255, 255);
  background-color: rgb(50, 118, 177);
  border-color: rgb(40, 94, 142);
}

/*
 VISUAL EFFECTS
 */


.inactive {
  color: #ccc;
}

tr.inactive {
  text-decoration: line-through;
  color: #ddd;
}
tr.inactive:hover {
  text-decoration: none;
  color: #000;
}
tr.inactive:hover > td > .icon::before {
  color: rgb(25, 105, 0);
}

tr.clickable-row {
  cursor: pointer;
}
.editmode {
  border: 1px #444 solid;
  padding: 1rem;
}
.editable {
  cursor: pointer;
}
.hidden {
  display: none;
}
.editable-input{
  display: none;
 }
 .block {
   display: block !important;
   width: 100%;
 }
 .inline {
  display: inline-block;
}
.flex {
  display: flex;
}
#loading {
  display: none;
  position: absolute;
  z-index: 99999;
  left: 50%;
  top: 50%;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid var(--title-bg);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--title-bg) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

tfoot {
  font-weight: bold;
}




@media screen and (max-width: 1300px) {
  .lowpri {
    display: none;
  }
}


/*
  BUTTONS
*/



.button, .small_button, .button:visited, .small_button:visited {
  display: block;
  padding-top: 0.3rem;
  padding-left: 0.5rem;
  padding-bottom: 0.3rem;
  padding-right: 0.5rem;
  background-color: #000;
  color: #ffffff;
  margin-bottom: 0.2rem;
  border: 1px #000000 solid;
  border-radius: 5px;
  text-decoration: none;
}

button.button {
  width: 100%;
}

@media screen and (min-width: 1300px) {
  .button, .small_button {
    display: inline-block;
    margin-bottom: 0;
  }
  button.button {
    width: auto;
  }
}

  .button:hover, .small_button:hover, .button:focus, .small_button:focus {
  cursor: pointer;
  background-color: var(--primary);
  color: #efefef;
  border: 1px var(--secondary) solid;
  border-radius: 5px;
  text-decoration: none;
}

.button::before, .small_button::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  margin-right: 6px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.small_button {
  padding-top: 0.1rem;
  padding-left: 0.2rem;
  padding-bottom: 0.1rem;
  padding-right: 0.2rem;
  font-size: 0.75rem;
}

table.dataTable tbody>tr.selected {
  background-color: #ff0000;
  color: #ffffff;
}

.button_save_excel {
  background-color: rgb(3, 94, 0);
  border: 1px  rgb(3, 94, 0) solid;
}

.button_save_excel:hover {
  background-color: rgb(4, 126, 0);
  border: 1px  rgb(4, 126, 0) solid;
}

.button_green,.button_green:visited {
  background-color: rgb(3, 94, 0);
  border: 1px  rgb(3, 94, 0) solid;
}
.button_green:hover {
  background-color: rgb(4, 126, 0);
  border: 1px  rgb(4, 126, 0) solid;
}
.button_red, .button_red:visited {
  background-color: rgb(94, 0, 0);
  border: 1px  rgb(59, 0, 0) solid;
}.button_red:hover {
  background-color: rgb(126, 0, 0);
  border: 1px  rgb(92, 0, 0) solid;
}

.button_grey, .button_grey:visited {
  background-color: rgb(99, 98, 102);
  border: 1px  rgb(53, 53, 53) solid;
}.button_grey:hover {
  background-color: rgb(79, 77, 83);
  border: 1px  rgb(34, 34, 34) solid;
}


.button_normal::before {
  font-family: "Font Awesome 5 Free"; font-weight: 400; content: "\f192";
}

.button_add::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0fe";
}

.button_addorder::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f217";
}

.button_external::after {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f360";
  margin-left: 1em;
}

.button_cancel::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f057";
}
.button_back::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0a8";
}
.button_next::before, .button_forward::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0a9";
}

.button_edit::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f7d9";
}

.button_trash::before,.button_delete::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f2ed";
}

.button_on::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f205";
  color: #0c0;
}
.button_off::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f204";
  color: #f55;
}

.button_save::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f0c7";
}


.button_save_excel::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f1c3";
}

.button_save_csv::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f6dd";
}

.nomargin {
  margin: 0;
}
.smallmargin {
  margin-right: 0.5rem;
}


.projectstatus_icon {
  font-family: "Font Awesome 5 Free";
  font-size: 22px;
  margin-right: 0.8rem;
  font-style: normal;
}
.projectstatus_icon_VURDERES::after {
  font-weight: 700;
  content: "\f0a8";
}
.projectstatus_icon_UKJENT::after {
  font-weight: 700;
  color: #ff0000;
  content: "\f059";
}
.projectstatus_icon_BYGGES::after {
  font-weight: 700;
  content: "\f6e3";
}
.projectstatus_icon_PLANLEGGES::after {
  font-weight: 700;
  content: "\f573";
}
.projectstatus_icon_VURDERES::after {
  font-weight: 700;
  content: "\f653";
}
.projectstatus_icon_SALG_PÅGÅR::after {
  font-weight: 700;
  content: "\f2b5";
}
.projectstatus_icon_SØKING_PÅGÅR::after {
  font-weight: 700;
  content: "\f0ae";
}
.projectstatus_icon_KLARGJØRES_OG_SKJØTES::after {
  font-weight: 700;
  content: "\f7d9";
}
.projectstatus_icon_KORRIGERING_PÅGÅR::after {
  font-weight: 700;
  content: "\f0fa";
}
.projectstatus_icon_KOBLES_OPP::after {
  font-weight: 700;
  content: "\f274";
}
.projectstatus_icon_MÅ_DOKUMENTERES::after {
  font-weight: 700;
  content: "\f568";
}
.projectstatus_icon_SLUTTKONTROLL_PÅGÅR::after {
  font-weight: 700;
  content: "\f002";
}
.projectstatus_icon_I_DRIFT::after {
  font-weight: 700;
  content: "\f11e";
}

.menu {
  padding: 0px;
  margin-bottom: 1rem;
}
.menu > .menutitle {
  display: block;
  padding: 4px 10px;
  font-size: 1.10rem;
  font-weight: 600;
  border-bottom: 3px var(--primary) solid;
  border-radius: 4px;
  margin-bottom: 0.5em;
  background-color:rgb(235, 248, 253);
}



.menu > .menucontent_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 0.75rem;
}

@media screen and (min-width: 1500px) {
  .menu > .menucontent_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }
}

@media screen and (min-width: 2000px) {
  .menu > .menucontent_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }
}
.menu > .menucontent_grid > .button {
  margin-bottom: 1rem;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: 10px;
  font-size: 0.9rem;
  border: 1px  rgb(0, 0, 0) solid;
  background: var(--primary);
}
.menu > .menucontent_grid > .button:hover {
  background: var(--primary-hover);
  border: 1px  var(--primary) solid;
}



.menu > .menucontent_grid > .button_red,
.menu > .menucontent_grid > .button_red:visited
  {
  background-color: rgb(129, 5, 5);
  border: 1px  rgb(59, 0, 0) solid;
}
.menu > .menucontent_grid > .button_red:hover {
  background-color: rgb(146, 0, 0);
  border: 1px  rgb(92, 0, 0) solid;
}
.menu > .menucontent_grid > .button_green,
.menu > .menucontent_grid > .button_green:visited
  {
    background-color: rgb(3, 94, 0);
    border: 1px  rgb(3, 94, 0) solid;
  }
.menu > .menucontent_grid > .button_green:hover {
  background-color: rgb(4, 126, 0);
  border: 1px  rgb(4, 126, 0) solid;
}


.menu > .menucontent_grid > .button > .icon {
  margin-right: 0.40rem;
  font-size: 1.35rem;
}


.icon_draw::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f5ee";
}
.icon_clear::before {
  font-family: "Font Awesome 5 Free"; font-weight: 700; content: "\f2ed";
}
.map_icon {
    background-color: #ffffff;
    color: #ff0000;
    font-size: 50px;
    padding: 8px;
    border-radius: 4px;
}
.map_icon:hover {
    background-color: #ff0000;
    color: #ffffff;
    cursor: pointer;
}
#map {
    width: 100%;
    height: 100%;
}

#map_placeholder {
    width: 100%;
    height: 700px;
    position: relative;
}

#map_tools {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

table.dataTable.dt-checkboxes-select tbody tr,
table.dataTable thead th.dt-checkboxes-select-all,
table.dataTable tbody td.dt-checkboxes-cell {
  cursor: pointer;
}

table.dataTable thead th.dt-checkboxes-select-all,
table.dataTable tbody td.dt-checkboxes-cell {
  text-align: center;
}

div.dataTables_wrapper span.select-info,
div.dataTables_wrapper span.select-item {
  margin-left: 0.5em;
}

@media screen and (max-width: 640px) {
  div.dataTables_wrapper span.select-info,
  div.dataTables_wrapper span.select-item {
    margin-left: 0;
    display: block;
  }
}

div.dataTables_filter input {
  border: 1px #000000 solid;
}


.gauge-wrapper {
  position:relative;
  display:inline-block;
  width: 250px;
  height: 160px;
  text-align: center;
}

#activity-gauge {
  border-radius: 220px 220px 0 0;
  display: inline-block;
  height: 110px;
  overflow: hidden;
  position: relative;
  width: 210px;
  margin-top: 40px;
}
#activity-gauge .levels {
  background: #2dad4e;
  border-bottom: 2px solid #464646;
  height: 104px;
  position: relative;
  overflow:hidden;
}
#activity-gauge .levels .slice {
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  display: block;
  height: 0;
  margin-left: -42px;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}

#activity-gauge .levels .slice_diff {
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  display: block;
  height: 0;
  margin-left: -24px;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}

#activity-gauge .levels .slice.low {
  border-top: 114px solid #fc303b;
  -webkit-transform: rotate(-70deg);
  -moz-transform: rotate(-70deg);
  -ms-transform: rotate(-70deg);
  transform: rotate(-70deg);
}
#activity-gauge .levels .slice.bof {
  border-top: 114px solid #fb7f37;
  -webkit-transform: rotate(-41deg);
  -moz-transform: rotate(-41deg);
  -ms-transform: rotate(-41deg);
  transform: rotate(-41deg);
}
#activity-gauge .levels .slice.hmm {
  border-top: 114px solid #fcf137;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}
#activity-gauge .levels .slice.ok {
  border-top: 114px solid #80c84b;
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
}
#activity-gauge .levels .slice.high {
  border-top: 114px solid #2dad4e;
  -webkit-transform: rotate(76deg);
  -moz-transform: rotate(76deg);
  -ms-transform: rotate(76deg);
  transform: rotate(76deg);
}


#activity-gauge .levels .slice_diff.loww_diff {
  border-top: 114px solid #fc303b;
  -webkit-transform: rotate(-80deg);
  -moz-transform: rotate(-80deg);
  -ms-transform: rotate(-80deg);
  transform: rotate(-80deg);
}
#activity-gauge .levels .slice_diff.low_diff {
  border-top: 114px solid #fb7f37;
  -webkit-transform: rotate(-60deg);
  -moz-transform: rotate(-60deg);
  -ms-transform: rotate(-60deg);
  transform: rotate(-60deg);
}
#activity-gauge .levels .slice_diff.bof_diff {
  border-top: 114px solid #fcf137;
  -webkit-transform: rotate(-40deg);
  -moz-transform: rotate(-40deg);
  -ms-transform: rotate(-40deg);
  transform: rotate(-40deg);
}
#activity-gauge .levels .slice_diff.hmmm_diff {
  border-top: 114px solid #80c84b;
  -webkit-transform: rotate(-20deg);
  -moz-transform: rotate(-20deg);
  -ms-transform: rotate(-20deg);
  transform: rotate(-20deg);
}
#activity-gauge .levels .slice_diff.hmm_diff {
  border-top: 114px solid #2dad4e;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}
#activity-gauge .levels .slice_diff.hmmp_diff {
  border-top: 114px solid #80c84b;
  -webkit-transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  -ms-transform: rotate(20deg);
  transform: rotate(20deg);
}
#activity-gauge .levels .slice_diff.ok_diff {
  border-top: 114px solid #fcf137;
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
}
#activity-gauge .levels .slice_diff.high_diff {
  border-top: 114px solid #fb7f37;
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}
#activity-gauge .levels .slice_diff.highh_diff {
  border-top: 114px solid #fc303b;
  -webkit-transform: rotate(80deg);
  -moz-transform: rotate(80deg);
  -ms-transform: rotate(80deg);
  transform: rotate(80deg);
}




.gauge-needle {
  background: url("https://f.cl.ly/items/2d3Q26031W0O0R2o1j3V/gauge-needle.svg") 0 0 no-repeat;
  width: 17px;
  height: 94px;
  display: block;
  margin-left: -8px;
  margin-bottom: -3px;
  position: absolute;
  left: 50%;
  bottom: 2px;
  -webkit-transform-origin: 8px 84px;
  -moz-transform-origin: 8px 84px;
  -ms-transform-origin: 8px 84px;
  transform-origin: 8px 84px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.gauge-0 .gauge-needle {
  -webkit-transform: rotate(-78deg);
    -moz-transform: rotate(-78deg);
    -ms-transform: rotate(-78deg);
    transform: rotate(-78deg);
}
.gauge-1 .gauge-needle {
  -webkit-transform: rotate(-63deg);
   -moz-transform: rotate(-63deg);
   -ms-transform: rotate(-63deg);
   transform: rotate(-63deg); 
}
.gauge-2 .gauge-needle {
  -webkit-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   transform: rotate(-45deg); 
}
.gauge-3 .gauge-needle {
  -webkit-transform: rotate(-23deg);
   -moz-transform: rotate(-23deg);
   -ms-transform: rotate(-23deg);
   transform: rotate(-23deg); 
}
.gauge-4 .gauge-needle {
  -webkit-transform: rotate(0deg);
   -moz-transform: rotate(0deg);
   -ms-transform: rotate(0deg);
   transform: rotate(0deg); 
}
.gauge-5 .gauge-needle {
  -webkit-transform: rotate(19deg);
   -moz-transform: rotate(19deg);
   -ms-transform: rotate(19deg);
   transform: rotate(19deg); 
}
.gauge-6 .gauge-needle {
  -webkit-transform: rotate(40deg);
   -moz-transform: rotate(40deg);
   -ms-transform: rotate(40deg);
   transform: rotate(40deg); 
}
.gauge-7 .gauge-needle {
  -webkit-transform: rotate(56deg);
   -moz-transform: rotate(56deg);
   -ms-transform: rotate(56deg);
   transform: rotate(56deg); 
}
.gauge-8 .gauge-needle {
  -webkit-transform: rotate(75deg);
   -moz-transform: rotate(75deg);
   -ms-transform: rotate(75deg);
   transform: rotate(75deg); 
}

/* Hide google maps close button */
button.gm-ui-hover-effect {
  visibility: hidden;
}

@keyframes breathe{
  0%{transform:scale(0.8)}
  50%{transform:scale(0.9)}
  100%{transform:scale(0.8)}
}

.counter_button_alert {
  animation:breathe 3s infinite;
}

.altisms-radio-class:checked {
  position: relative;
}

.altisms-radio-class:checked::before {
  content: 'Dette er mobilnummeret';
  padding: 4px;
  font-size: 0.7rem;
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 3px;
  top: -5px;
  left: -160px;
  position: absolute;
}