@-ms-viewport {
  width: auto !important;
}

html {
  height: 100%;
  font-size: 100%;
}

body {
  background-color: #fff;
  /* font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; */
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.765;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.page-layout {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  height: 100%;
  width: 100%;
}

.main-content {
  overflow: auto;
  flex-grow: 1;
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto;
}
.main-content > .container {
  overflow-x: hidden;
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}
.fullwidth {
  margin-left: -10px;
  margin-right: -10px;
}

.container {
  padding: 0px;
}
.panel {
  background: #0b4d1f;
  color: #eee;
  border-radius: 0;
  width: 100%;
}
.alert {
  padding: 9px 16px;
  border-radius: 0;
  border: none;
}

.panel-heading {
  background-color: transparent !important;
  margin: 0px 10px;
  padding: 10px 0px 0px 0px;
  font-size: 18px;
  text-transform: uppercase;
}
.panel-default > .panel-heading {
  color: #404040;
}

.panel-body {
  padding: 0px;
}

h1,
h2 {
  text-align: center;
}
h4 {
  font-weight: bold;
}

.text {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: justify;
}

.text ol,
.text ul {
  white-space: normal;
}

.versalien {
  text-transform: uppercase;
}

hr {
  margin: 32px 0;
  border-bottom: 1px solid #38713f;
  opacity: 0.8;
}

#menu-btn i.fa {
  font-size: 26px;
}

.btn.next {
  margin-top: 32px;
  font-size: 17px;
  height: 42px;
  width: 240px;
}

.header {
  height: 20vh;
  overflow: hidden;
  max-height: 160px;
  min-height: 60px;
}
.header > .container {
  height: 100%;
  position: relative;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  top: 10px;
  height: calc(100% - 20px);
  position: absolute;
  width: 100%;
}

.sidebar-nav {
  background: #0b4d1f;
  box-shadow: 0 0 10px black;
}
.sidebar-nav,
.sidebar-nav li a {
  color: white;
}
.sidebar-nav > .sidebar-brand {
  font-weight: bold;
}
.sidebar-nav .toggle {
  margin-bottom: 8px;
}
.sidebar-nav .toggle > label {
  display: inline;
}

.menu {
  align-self: flex-end;
}
.menu .fa {
  color: black;
}

footer ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}
footer ul li {
  list-style: none;
  margin: 0 8px;
}

.tab-bar {
  font-size: 17px; /* define navbar icons */
  margin-bottom: 0px;
  overflow: hidden;
  max-height: 100%;
  justify-content: flex-end !important;
}
.tab-bar > li > a {
  padding: 12px 15px;
}

.category-block > h1 {
  font-size: 30px;
  text-align: left;
  text-transform: uppercase;
}
.info-block + .info-block {
  margin-top: 16px;
}
.info-block > h2 {
  font-size: 30px;
  margin: 32px 0;
  padding-top: 32px;
  text-align: left;
  border-top: 1px solid;
}
#result-tab .fa-info-circle,
.info-block > h2 .fa-info-circle {
  font-size: 24px;
  margin-left: 8px;
}

.question > h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 0;
}
.question .description {
  font-size: 14px;
  margin-top: 4px;
}
.question input[type="number"] {
  width: 200px;
}
.question input[type="number"]:invalid {
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
#living-tab h1,
#living-tab h2 {
  color: #286077;
  border-color: rgba(40, 96, 119, 204);
}
#food-tab h1,
#food-tab h2 {
  color: #2b7a5f;
  border-color: rgba(43, 122, 95, 204);
}
#mobility-tab h1,
#mobility-tab h2 {
  color: #832364;
  border-color: rgba(131, 35, 100, 204);
}
#consumption-tab h1,
#consumption-tab h2 {
  color: #f29d38;
  border-color: rgba(242, 157, 56, 204);
}

#start-tab .btn.start {
  background-color: #38713f;
  border-color: #38713f;
  color: #fff;
  margin: 8px;
}
#living-tab .btn.next {
  background-color: #286077;
  border-color: #286077;
  color: #fff;
}
#food-tab .btn.next {
  background-color: #2b7a5f;
  border-color: #2b7a5f;
  color: #fff;
}
#mobility-tab .btn.next {
  background-color: #832364;
  border-color: #832364;
  color: #fff;
}
#consumption-tab .btn.next {
  background-color: #f29d38;
  border-color: #f29d38;
  color: #fff;
}

.navbar-brand {
  height: calc(100% - 30px);
  align-self: center;
  padding: unset;
}
.navbar-brand img {
  height: 100%;
  padding: unset;
}
.tab-bar > li {
  display: block;
  float: left;
  text-align: center;
}

.tab-bar > li > a {
  color: white;
  background-color: transparent !important;
  position: relative;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}

.tab-bar > li.start > a {
  margin-left: -9px;
}

.tab-bar > li > a > div {
  border-bottom: 2px solid transparent;
}
.tab-bar > li > a:hover > div {
  border-bottom: 2px dotted white;
}
.tab-bar > li.active > a > div {
  border-bottom: 2px solid white;
}

.tab-content {
  min-height: 250px;
  margin: 5px 0 20px 0;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(
    .input-group-btn
  ) {
  width: 100%;
}

.alert.smiley > img {
  width: 50px;
}

#result-tab td {
  vertical-align: baseline;
}
#result-tab table {
  float: left;
}
.charts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  column-gap: 2px;
  background: #38713f;
}
.chart-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  flex: 1;
  align-items: flex-start;
  background: white;
}
.chart-block th,
.chart-block td {
  padding-left: 3px;
  padding-right: 3px;
}
.chart-container-div {
  width: 180px;
  height: 180px;
  padding: 10px;
}
#pie-chart-container,
#pie-chart-container-co2 {
  display: inline-block;
}

#result-tab hr {
  border-color: rgba(51, 51, 51, 204); /* #333 */
}
#result-tab h1 {
  font-size: 30px;
  text-align: left;
}
#result-tab h4 {
  font-size: 20px;
  margin-bottom: 16px;
}
#result-tab table h2 {
  margin: 0;
}
#result-tab div.status > div > img {
  /* smiley */
  float: left;
  width: 75px;
  margin: 0 6px;
}
#result-tab #all_tips .accordion ul {
  padding-left: 22px;
}

#result-tab #all_tips .accordion ul li {
  line-height: 1.5;
  margin-bottom: 10px;
}
.sub-pie-charts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.sub-pie-charts > div {
  width: 140px;
}
#relative_sum.positive,
#relative_sum_co2.positive {
  color: #e64646;
}
#relative_sum.negative,
#relative_sum_co2.negative {
  color: #50b150;
}

.dropdown-menu > li > a {
  white-space: normal;
}

.question .btn {
  white-space: normal;
}

.answers-block {
  margin-top: 22px;
  margin-bottom: 10px;
}
.answers-block .slider-horizontal {
  width: calc(100% - 20px);
  max-width: 400px;
  margin: 23px 10px 10px 10px;
}

.dropdown-menu.inner li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.tab-bar .c100:hover {
  cursor: initial;
}

#breadcrumb-wrapper {
  background: #38713f;
  color: white;
}

#barometer {
  position: fixed;
  top: -100vh;
  visibility: hidden;
  opacity: 0;
  flex-grow: 1;
  align-self: stretch;
  margin: 0 32px;
  max-width: 280px;
}
.barometer {
  display: flex;
  align-items: flex-end;
  transition: all 1s ease;
}
/* .nav.tab-bar .food,
.nav.tab-bar .living,
.nav.tab-bar .mobility,
.nav.tab-bar .consumption,
.nav.tab-bar .result,
.sidebar-nav .sidebar-result { */
.nav.tab-bar {
  display: none;
}
/* .started .nav.tab-bar .food,
.started .nav.tab-bar .living,
.started .nav.tab-bar .mobility,
.started .nav.tab-bar .consumption,
.started .nav.tab-bar .result,
.started .sidebar-nav .sidebar-result { */
.started .nav.tab-bar {
  display: block;
}

.started #barometer {
  position: static;
  visibility: visible;
  opacity: 1;
  transition: all 1s ease;
}
.header .barometer .barometer-category,
#sub-barometer-container {
  cursor: pointer;
}
.barometer .barometer-category {
  height: 100%;
  flex-grow: 1;
  position: relative;
  transition: flex-grow 0.3s ease, opacity 0.3s ease;
}

body.living #barometer .barometer-category,
body.food #barometer .barometer-category,
body.mobility #barometer .barometer-category,
body.consumption #barometer .barometer-category {
  opacity: 0.4;
}

body.living #barometer .barometer-living,
body.food #barometer .barometer-food,
body.mobility #barometer .barometer-mobility,
body.consumption #barometer .barometer-consumption,
#barometer-grey-aktiv-gha .barometer-grey,
#barometer-grey-aktiv-co2 .barometer-grey {
  flex: 1.8;
  opacity: 1;
}

.barometer .bar {
  width: 100%;
  position: absolute;
  bottom: 0;
}
#barometer .units {
  font-weight: bold;
  margin: 4px;
}

.barometer-living .my-value {
  background: #286077;
}
.barometer-living .base-value {
  background: repeating-linear-gradient(
    145deg,
    #ffffff22,
    #ffffff22 5px,
    #28607799 5px,
    #28607799 10px
  );
}
.barometer-food .my-value {
  background: #2b7a5f;
}
.barometer-food .base-value {
  background: repeating-linear-gradient(
    145deg,
    #ffffff22,
    #ffffff22 5px,
    #2b7a5f99 5px,
    #2b7a5f99 10px
  );
}
.barometer-mobility .my-value {
  background: #832364;
}
.barometer-mobility .base-value {
  background: repeating-linear-gradient(
    145deg,
    #ffffff22,
    #ffffff22 5px,
    #83236499 5px,
    #83236499 10px
  );
}
.barometer-consumption .my-value {
  background: #f29d38;
}
.barometer-consumption .base-value {
  background: repeating-linear-gradient(
    145deg,
    #ffffff22,
    #ffffff22 5px,
    #f29d3899 5px,
    #f29d3899 10px
  );
}
.barometer-grey .my-value {
  background: #eaeaea;
}
.barometer-grey .base-value {
  background: repeating-linear-gradient(
    145deg,
    #ffffff22,
    #ffffff22 5px,
    #eaeaea99 5px,
    #eaeaea99 10px
  );
}

#sub-barometer-container .progress {
  display: none;
  border-radius: 0;
  width: 100vw;
}

body.living #sub-barometer-container .progress.living,
body.food #sub-barometer-container .progress.food,
body.mobility #sub-barometer-container .progress.mobility,
body.consumption #sub-barometer-container .progress.consumption {
  display: flex;
}

#sub-barometer-container .progress {
  margin: 0px;
  justify-content: space-between;
  height: 30px;
}

#sub-barometer-container .progress-bar {
  background: transparent;
  line-height: 30px;
  font-size: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
}

#sub-barometer-container .progress.living .progress-bar {
  background: #286077;
}
#sub-barometer-container .progress.food .progress-bar {
  background: #2b7a5f;
}
#sub-barometer-container .progress.mobility .progress-bar {
  background: #832364;
}
#sub-barometer-container .progress.consumption .progress-bar {
  background: #f29d38;
}

#tourModal {
  color: white;
}
#tourModal > div {
  position: absolute;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 80vw;
    margin: 30px auto;
  }
}

li.sidebar-result {
  display: none;
}

.info-block .alert {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .navbar-brand {
    height: 100%;
  }
  .started .navbar-brand {
    display: none;
  }
  .menu {
    margin-right: 20px;
  }

  /* .tab-bar > li {
    width: 20%;
  } */

  /* .nav.tab-bar .result,
  .nav.tab-bar .result.active,
  .nav.tab-bar .start,
  .nav.tab-bar .start.active {
    display: none !important;
  } */
  li.sidebar-result {
    display: block;
  }
}

@media only screen and (max-width: 570px) {
  .tab-bar {
    font-size: 3.6vw;
    display: flex;
    width: 100%;
    justify-content: space-between !important;
  }
  .tab-bar .fa {
    font-size: 26px;
  }
  .tab-bar > li > a {
    padding: 2vw;
  }

  #barometer {
    margin: 0 8px;
  }

  .info-block > h2:first-child ~ * {
    margin-left: 8px;
    margin-right: 8px;
  }
}

@media only screen and (max-width: 440px) {
  .tab-bar .fa {
    font-size: 8vw;
  }
  .header {
    max-height: 33vw;
  }
}

@media only screen and (max-width: 320px) {
  body {
    font-size: 12px;
  }
  h1,
  h2,
  h3,
  h4 {
    margin: 10px 0;
  }
}
#result-tab .h3[data-target] {
  display: block;
  padding: 10px;
  border-radius: 5px;
  clear: both;
  cursor: pointer;
  background: #38713f;
  color: white;
}
#result-tab .h3[data-target="#tips_living"] {
  background: #286077;
}
#result-tab .h3[data-target="#tips_food"] {
  background: #2b7a5f;
}
#result-tab .h3[data-target="#tips_mobility"] {
  background: #832364;
}
#result-tab .h3[data-target="#tips_consumption"] {
  background: #f29d38;
}
#result-tab .h3[data-target="#tips_lifestyle"] {
  background: #c56b00;
}
#result-tab .h3[data-target="#tips_grey"] {
  background: #888888;
}
#result-tab .h3.collapsed[data-target] i.fa.fa-chevron-up:before {
  content: "\f078"; /* fa-chevron-down */
}

#start-tab .intro {
  display: flex;
  flex-direction: column;
  position: relative;
}
#start-tab .intro > * {
  position: relative;
}
#start-tab .intro::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000;
  opacity: 0;
}
#start-tab .intro .top-text {
  max-width: 400px;
  position: relative;
  top: 30px;
  height: 0;
}
#start-tab .intro img {
  max-width: 20vw;
  position: absolute;
  bottom: 10px;
  right: 10px;
}
#start-tab .intro .bottom-text {
  align-self: flex-end;
  max-width: 675px;
  position: relative;
  top: -70px;
  height: 0;
}

@media (max-width: 991px) {
  #start-tab .intro .top-text,
  #start-tab .intro .bottom-text {
    position: static;
    height: auto;
  }
}

.compact-text {
  font-size: 20px;
  white-space: pre-line;
  line-height: 1.1;
  text-align: justify;
}
.compact-text ol,
.compact-text ul {
  white-space: normal;
}

/**
 * Toggle button by Nitish tyagi (https://nikkk.me) adapted from https://codepen.io/nikkk-me/pen/abvPjeG
 */

.switch-button {
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.56);
  border-radius: 30px;
  overflow: hidden;
  width: 200px;
  font-size: 18px;
  color: black;
  position: relative;
  padding-right: 100px;
  position: relative;
  text-indent: 0;
  text-align: center;
}
.switch-button-label-alt {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
  font-weight: normal;
}

.switch-button-checkbox {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
}
.switch-button-checkbox:checked + .switch-button-label:before {
  transform: translateX(100px);
  transition: transform 200ms linear;
}
.switch-button-checkbox:focus + .switch-button-label:before {
  outline-style: auto;
  outline-offset: -3px;
}

.switch-button-checkbox + .switch-button-label {
  position: relative;
  margin: 0;
  display: block;
  user-select: none;
  pointer-events: none;
  font-weight: normal;
}

.switch-button-checkbox + .switch-button-label:before {
  content: "";
  background: #fff;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 30px;
  transform: translateX(0);
  transition: transform 200ms;
}

.switch-button-checkbox + .switch-button-label .switch-button-label-span {
  position: relative;
}

.start-config-option {
  text-align: center;
}
.start-config-option .labeled-switch-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  justify-items: center;
}
.start-config-option .labeled-switch-layout > span:first-child {
  justify-self: right;
}
.start-config-option .labeled-switch-layout > span:last-child {
  justify-self: left;
}
.start-config-option .switch-button,
#barometer .switch-button {
  background: #ddd;
  height: 32px;
}
.start-config-option .switch-button-label::before,
#barometer .switch-button-label::before {
  border: 1px solid #888;
}
.start-config-option {
  position: relative;
}

#barometer .switch-button {
  width: 60px;
  height: 64px;
  padding: 0;
  border-radius: 16px;
}
#barometer .switch-button-label-alt {
  top: 32px;
}
#barometer .switch-button-checkbox:checked + .switch-button-label::before {
  transform: translateY(32px);
}

@media (max-width: 768px) {
  .start-config-option .labeled-switch-layout {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
  }
  .start-config-option .labeled-switch-layout > span:first-child {
    justify-self: center;
  }
  .start-config-option .labeled-switch-layout > span:last-child {
    justify-self: center;
  }
  /* vertical toggle button */
  .start-config-option .switch-button {
    width: 100px;
    height: 64px;
    padding: 0;
    border-radius: 16px;
  }
  .start-config-option .switch-button-label-alt {
    top: 32px;
  }
  .start-config-option
    .switch-button-checkbox:checked
    + .switch-button-label::before {
    transform: translateY(32px);
  }
}

/* end Toggle button */

/* Slider styling */

.slider-horizontal .tooltip-main[style*="left: 0%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 0."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 1%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 1."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 2%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 2."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 3%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 3."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 4%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 4."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 5%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 5."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 6%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 6."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 7%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 7."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 8%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 8."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 9%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 9."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 10%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 10."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 11%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 11."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 12%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 12."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 13%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 13."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 14%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 14."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 15%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 15."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 16%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 16."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 17%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 17."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 18%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 18."] .tooltip-inner {
  position: relative;
  left: calc(50% - 10px);
}
.slider-horizontal .tooltip-main[style*="left: 82%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 82."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 83%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 83."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 84%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 84."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 85%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 85."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 86%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 86."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 87%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 87."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 88%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 88."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 89%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 89."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 90%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 90."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 91%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 91."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 92%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 92."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 93%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 93."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 94%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 94."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 95%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 95."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 96%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 96."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 97%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 97."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 98%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 98."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 99%"] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 99."] .tooltip-inner,
.slider-horizontal .tooltip-main[style*="left: 100%;"] .tooltip-inner {
  position: relative;
  right: calc(50% - 10px);
}
/* Ausnahme für: viele Zeitungen, Magazine, Büromaterial */
[data-block-name="Pa"]
  .slider-horizontal
  .tooltip-main[style*="left: 80%"]
  .tooltip-inner {
  position: relative;
  right: calc(50% - 50px);
}
/* Ausnahme für: auf keinem Fall eingeflogene Lebensmittel */
[data-block-name="Reg"]
  .slider-horizontal
  .tooltip-main[style*="left: 33."]
  .tooltip-inner {
  position: relative;
  left: calc(50% - 120px);
}
.slider-selection,
.tick-slider-selection {
  display: none;
}
.slider-tick.in-selection {
  background: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
}
.slider .tooltip {
  z-index: 0;
  font-size: 17px;
}
.slider .tooltip.top {
  margin-top: -42px;
}
.slider .slider-handle.round,
.slider .tooltip-inner {
  color: #fff;
  background-color: #286090;
}

.slider .tooltip.top .tooltip-arrow {
  border-top-color: #286090;
}
.slider .slider-handle.round {
  background-image: none;
}
.slider .tooltip-inner {
  padding: 3px 12px 4px 12px;
}

/* end Slider styling */

/* Switch styling */

.btn-group[data-toggle="buttons"] .btn:not(.active) {
  background: white;
  color: #888888;
  border-style: dotted;
}

.btn-group[data-toggle="buttons"] .btn {
  height: 42px;
  width: 120px;
  border-radius: 0;
  text-transform: uppercase;
  font-size: 17px;
  line-height: 30px;
}

/* end Switch styling */

/* Dropdown styling */

.answers-block .bootstrap-select {
  width: 100%;
}

.bootstrap-select .dropdown-menu {
  font-size: 17px;
  border-radius: 0;
  border-color: #286090;
  padding: 0;
}
.bootstrap-select .dropdown-menu > li > a:focus,
.bootstrap-select .dropdown-menu > li > a:hover {
  background-color: #286090;
  color: #fff;
}
.bootstrap-select .btn {
  font-size: 17px;
  padding-top: 3.9px;
  padding-bottom: 3.9px;
}
.btn-default:hover,
.dropdown-toggle.btn-default.active.focus,
.dropdown-toggle.btn-default.active:focus,
.dropdown-toggle.btn-default.active:hover,
.dropdown-toggle.btn-default:active.focus,
.dropdown-toggle.btn-default:active:focus,
.dropdown-toggle.btn-default:active:hover,
.bootstrap-select.open > .dropdown-toggle.btn-default.focus,
.bootstrap-select.open > .dropdown-toggle.btn-default:focus,
.bootstrap-select.open > .dropdown-toggle.btn-default:hover {
  background-color: white;
  border-color: #286090;
}
.btn-default.active,
.btn-default:active,
.open > .dropdown-toggle.btn-default {
  background-color: white;
  border-color: #286090;
}
.btn-group.open .dropdown-toggle {
  box-shadow: none;
}

.answers-block .bootstrap-select .dropdown-toggle {
  width: auto;
}

.answers-block .bootstrap-select .dropdown-menu {
  min-width: auto;
}

@media only screen and (max-width: 570px), only screen and (max-height: 570px) {
  .dropdown-backdrop {
    background: #00000044;
  }
  .dropdown-menu .inner {
    max-height: calc(90vh - 12px - 100px) !important;
  }
  .dropdown-menu {
    max-height: calc(90vh - 100px) !important;
    font-size: 1.2em !important;
  }
  .dropdown-menu.open {
    position: fixed;
    top: 50% !important;
    left: 50%;
    bottom: auto !important;
    transform: translate(-50%, -50%);
    min-width: auto !important;
    width: 95vw;
  }
  .dropdown-menu li {
    padding: 10px;
  }
  .dropdown-menu li .check-mark {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* end Dropdown styling */

mark {
  background: #ecec11;
  border-radius: 4px;
  padding: 0.2em 0;
}
mark.focused {
  /*outline: 2px dotted #cecece;*/
  background: #f1c721;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important; /* Chrome, Safari 6 – 15.3, Edge */
    color-adjust: exact !important; /* Firefox 48 – 96 */
    print-color-adjust: exact !important; /* Firefox 97+, Safari 15.4+ */
  }

  html,
  body,
  .page-layout,
  .main-content {
    display: block;
    height: auto;
    overflow: visible;
  }
  .collapse {
    display: initial;
  }

  #print-btn,
  footer,
  #sidebar-wrapper,
  .header .menu,
  .tab-bar li:not(.active),
  .fa-info-circle,
  [data-toggle="collapse"] .fa-chevron-up,
  [data-toggle="collapse"] .fa-chevron-down,
  .dropdown-menu,
  .bootstrap-select .bs-caret,
  .modal-backdrop {
    display: none !important;
  }
  .open > .dropdown-toggle.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
  }
  body.modal-open .page-layout {
    height: 0px;
    overflow: hidden;
  }
  .modal-dialog {
    width: auto;
  }
  .modal-footer {
    display: none;
  }
  .modal-content {
    border: none;
  }
}

/* Startseite */

.start .main-content > .container {
  max-width: 100vw;
  width: 100vw;
}
.start .tab-content {
  margin: 0;
}
#start-tab {
  padding: 0;
}
#start-tab h1 {
  margin: 0;
}
#start-tab .btn {
  font-size: 24px;
  width: 240px;
}

#start-tab .intro {
  display: flex;
  background-image: url("../img/start/intro.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-left: 15px;
  padding-right: 15px;
}
#start-tab .intro .subtext {
  order: 2;
}
#start-tab .intro .call-to-action {
  order: 3;
}
#start-tab .intro h1 {
  order: 1;
  color: white;
  margin-top: 40px;
  margin-bottom: 72px;
  /* text-shadow: 2px 2px #0006; */
  font-size: 3em;
  font-weight: bold;
}
#start-tab .intro h1 span {
  display: inline-block;
}
#start-tab .intro h1 span:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-bottom: 0;
}
#start-tab .intro h1 span:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-top: 0;
}
#start-tab .intro .subtext {
  background: #fff;
  color: #38713f;
  max-width: 730px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 42px;
  padding: 16px;
}
#start-tab .intro .subtext h2 {
  margin-top: 0;
  font-size: 24px;
  text-align: left;
}
#start-tab .intro .subtext ul {
  margin: 0;
  padding-left: 12px;
  margin-bottom: 6px;
}
#start-tab .intro .subtext ul li {
  list-style: none;
  font-size: 20px;
  line-height: 1.4;
}
#start-tab .intro .call-to-action .btn {
  margin: 0 0 42px 0;
}

#start-tab .card {
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 18px;
}
#start-tab .card h3 {
  font-weight: bold;
}

#start-tab .cards-layout {
  display: grid;
  grid-gap: 32px;
}

#start-tab .about {
  padding-top: 32px;
}
#start-tab .about .cards-layout {
  grid-template-columns: 1fr 1fr;
}
#start-tab .unit-section .cards-layout {
  grid-template-columns: 1fr 1fr 1fr;
}

#start-tab .unit-section .unit-selection,
#start-tab .mode-section .mode-selection {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  grid-template-rows: auto auto;
}
#start-tab .unit-section .unit-selection .gha-mode,
#start-tab .mode-section .mode-selection .simple-mode {
  grid-area: 1 / 1 / 3 / 3;
}
#start-tab .unit-section .unit-selection .co2-mode,
#start-tab .mode-section .mode-selection .detailed-mode {
  grid-area: 1 / 3 / 3 / 5;
}
#start-tab .unit-section .unit-selection .title,
#start-tab .mode-section .mode-selection .title {
  grid-area: 1 / 2 / 2 / 4;
}
#start-tab .unit-section .unit-selection .btn,
#start-tab .mode-section .mode-selection .btn {
  grid-area: 2 / 2 / 3 / 4;
}

#start-tab .unit-section .unit-selection .gha-mode,
#start-tab .unit-section .unit-selection .co2-mode,
#start-tab .mode-section .mode-selection .simple-mode,
#start-tab .mode-section .mode-selection .detailed-mode {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 500px;
  transition: opacity 0.15s ease-in-out;
  cursor: pointer;
}
#start-tab .unit-section .unit-selection .gha-mode {
  background-image: url("../img/start/units_gha.jpg");
}
#start-tab .unit-section .unit-selection .co2-mode {
  background-image: url("../img/start/units_co2.jpg");
}
#start-tab .mode-section .mode-selection .simple-mode {
  background-image: url("../img/start/mode_simple.jpg");
}
#start-tab .mode-section .mode-selection .detailed-mode {
  background-image: url("../img/start/mode_detailed.jpg");
}

#start-tab .unit-section .unit-selection .text,
#start-tab .mode-section .mode-selection .text {
  background: #fff;
  max-width: 600px;
  width: 65%;
  overflow-wrap: break-word;
  margin: 100px auto;
  padding: 10px;
  text-align: center;
  min-width: 240px;
  max-width: 350px;
}
#start-tab .unit-section .unit-selection h3,
#start-tab .mode-section .mode-selection h3 {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

.mode-co2 #start-tab .unit-section .unit-selection .gha-mode,
.mode-gha #start-tab .unit-section .unit-selection .co2-mode,
.mode-detailed #start-tab .mode-section .mode-selection .simple-mode,
.mode-simple #start-tab .mode-section .mode-selection .detailed-mode {
  opacity: 0.3;
}

#start-tab .unit-section .unit-selection .btn,
#start-tab .mode-section .mode-selection .btn {
  background-color: #38713f;
  border-color: #38713f;
  color: #fff;
  align-self: center;
  justify-self: center;
  font-size: 1.5rem;
  z-index: 9;
}
#start-tab .unit-section .title,
#start-tab .mode-section .title {
  margin: 32px !important;
  text-shadow: 0px 0px 20px #fff, 0px 0px 20px #ccc;
}
#start-tab .about h2,
#start-tab .unit-section h2,
#start-tab .mode-section h2 {
  font-size: 30px;
  color: #38713f;
  margin: 0;
  margin-bottom: 15px;
}

@media only screen and (max-width: 767px), only screen and (max-height: 570px) {
  #start-tab .intro h1 {
    margin-left: 0;
  }
}

@media only screen and (max-width: 767px) {
  #start-tab .about .cards-layout {
    grid-template-columns: auto;
    grid-template-rows: auto auto;
  }
  #start-tab .unit-section .cards-layout {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
  }

  #start-tab .unit-section .unit-selection,
  #start-tab .mode-section .mode-selection {
    grid-template-columns: auto;
    grid-template-rows: auto auto 0 auto;
  }
  #start-tab .unit-section .unit-selection .gha-mode,
  #start-tab .mode-section .mode-selection .simple-mode {
    grid-area: 1 / 1 / 3 / 2;
  }
  #start-tab .unit-section .unit-selection .co2-mode,
  #start-tab .mode-section .mode-selection .detailed-mode {
    grid-area: 4 / 1 / 5 / 2;
  }
  #start-tab .unit-section .unit-selection .title,
  #start-tab .mode-section .mode-selection .title {
    grid-area: 1 / 1 / 2 / 2;
  }
  #start-tab .unit-section .unit-selection .btn,
  #start-tab .mode-section .mode-selection .btn {
    grid-area: 3 / 1 / 4 / 2;
  }

  #start-tab .unit-section .unit-selection .gha-mode,
  #start-tab .unit-section .unit-selection .co2-mode,
  #start-tab .mode-section .mode-selection .simple-mode,
  #start-tab .mode-section .mode-selection .detailed-mode {
    min-height: 200px;
  }
}

@media only screen and (max-width: 570px), only screen and (max-height: 570px) {
  #start-tab .intro .subtext {
    order: 3;
  }
  #start-tab .intro .call-to-action {
    order: 2;
  }
}

/* end: Startseite */

/* Boxen */

.alert.empfehlung a[href] {
  text-decoration: underline;
}

/* end: Boxen */

/* Icons Pixelschubserei*/

i.fa.fa-home {
  transform: scale(1.25);
}
i.fa.fa-bicycle {
  transform: scale(1.25);
}
i.fa.fa-shopping-cart {
  transform: scale(1.1);
}

@media only screen and (min-width: 571px) {
  .tab-bar li .icon {
    display: inline-block;
  }
  .tab-bar li.food .icon {
    transform: translateY(-3px);
  }
  .tab-bar li.living .icon,
  .tab-bar li.mobility .icon,
  .tab-bar li.consumption .icon {
    transform: translateY(-2px);
  }
  .tab-bar li.result .icon {
    transform: translateY(-1px);
  }
}

#result-tab .accordion a[data-toggle="collapse"] .fa:first-child {
  display: inline-block;
  text-align: center;
  width: 46px;
}

/* end: icons */
