#print {display:none;}
#shadowapp {display:none;}
#screen {
  width: 88em;
  max-width: 90%;
  margin:0 auto;
}
#autocalculating,
#loading-app {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: var(--color-loading-bg);
  z-index: 999;
}
#autocalculating img.cog,
#loading-app img {
  position: absolute;
  top: 50%;
  left:50%;
  margin: -86px 0 0 -86px;
}
#autocalculatingmessage,
#loading-app #calculationfailed {
  width: 300px;
  position:absolute;
  top:50%;
  left:50%;
  margin: 100px 0 0 -150px;
  text-align: center;
}
#autocalculating #calculationmessage strong,
#loading-app #calculationfailed strong {
  font-size:16px;
  font-weight: bold;
  display:block;
  margin-bottom:8px;
}
#loading-app #cancelandreset {
  font-size:16px;
  font-weight: bold;
}
body{
  background-image: var(--background-image);
  background-position-y: bottom;

  background-repeat: no-repeat;
  background-color:var(--color-canvas) !important;
  font-family: var(--font-family-default) !important;
  color: var(--color-text) !important;
}

h1 {
  text-align: center;
  margin:1rem 0;
  color:var(--color-heading);
  letter-spacing:var(--letter-spacing-heading);
  font-family: var(--font-family-heading);
}

h2 {
  text-transform: uppercase;
  font-weight: 300;
  color:var(--color-subheading);
  padding:10px;
  font-size:22pt;
  padding-left:30px;
}

h3 {
  text-transform: uppercase;
}
strong.sublegend {
  display:block;
  color:var(--color-sublegend);
  font-weight: normal;
}

label,
select,
input,
textarea {
  color:var(--color-text) !important;
}

.row {
  max-width: 100% !important;
}

.hidden {
  display: none !important;
}
.disabled {
  color:var(--color-disabled);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
input[type='number'] {
    -moz-appearance:textfield;
}
table.data-table {
  font-size:13px;
}
table.data-table th.data,
table.data-table td.data {
  text-align: center;
}
table.data-table td {
  white-space: nowrap;
}
table.data-table td .buttonize {
  margin-left:.5rem;
  font-size:13px;
}

/* header */
header {
  padding:.5rem .9375rem;
  margin-bottom:1em;
}
.top-bar{
border-bottom: 1px solid var(--color-border-muted);
/* color:gray; */
background-color: var(--color-canvas);
/* font-family: arial black; */
padding:1em 0;
display:flex;
align-items: center;
justify-content: space-between;
}
.top-bar::before, .top-bar::after {
  display:none;
}
.top-bar-title {
  float:none;
  margin-right: 0;
}
.top-bar-right {
  float:none;
}

.top-bar-title img {
  height:var(--logo-height);
}
.top-bar-right  {

}

.top-bar-right-appname{
    display:none;
    margin-right:0px;
    text-align: right;
}

.top-menu
{
  list-style: none;
  width:100%;
  background-color:var(--color-canvas);
  text-align: right;
  display:flex;
  margin-bottom:0;
}

.top-bar ul{
  background-color:transparent;
  margin-left:0px;

}

.top-menu > li{
  display: flex;
  padding:0 2px;
  position:relative;
}

.top-menu > li > a {
  display:inline-flex;
}
.top-menu > li > a.selected {
  box-shadow: 0 3px 0 0 var(--color-primary-emphasis);
}
.top-menu > li > a:hover:not(.top-menu li a.selected) {
  box-shadow: 0 3px 0 0 var(--color-primary-muted);
}

.top-menu > li > a > svg {
  width: 32px;
  height: 32px;
}
.top-menu > li > a > svg path {
  fill: var(--color-nav-icon);
}

.top-menu .sub-menu {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:100px;
  z-index: 999;
  background: var(--color-canvas);
  list-style: none;
  border:solid 1px var(--color-border-muted);
  border-radius: 4px;
}
.top-menu .sub-menu::after {
  content: "";
  position: absolute;
  top: 0;
  right: 12px;
  margin-top: -6px;
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: var(--color-border-muted) transparent;
}
.top-menu .sub-menu.hidden {
  display:none;
}
.top-menu .sub-menu li {
  text-align:left;
}
.top-menu .sub-menu li a {
  font-size: 12px;
  padding: 4px 8px;
  display:inline-flex;
}
.top-menu .sub-menu li a.selected {
  font-weight: bold;
}
.top-menu .sub-menu li a:hover {
  text-decoration: underline;
}
#language-menu li a svg {
  width:12px;
  margin-right: 4px;
}

.subheader{
  font-size:15pt;
  font-weight: 300;
  color:var(--color-subheading);
}

#login_info {
  font-weight: normal;
  font-family: var(--font-family-default);
  font-style: italic;
  display:inline-block;
  margin-right: 1em;
  position: relative;
  top: 4px;
}
/* heading */

.welcome-text{
  position: relative;
  padding-left:calc(25% + 20px);
  width:100%;
  margin-top:20px;
  font-size:24px;
  letter-spacing: 0;
  margin-bottom:2rem;
  text-align: right;
}
.welcome-text img {
  position:absolute;
  top:0;
  left:20px;
  width:20%;
  max-width: 270px;
}

/* Content panels */
.content_panel {
  margin-top:1em;
}
.content_panel h2 {
  padding-left:0.9375rem;
}

/* tab menu */

.tabs{
    margin:0.9375rem;
    border: 1px solid var(--color-border);
    border-radius: 3px;
}
.tabs--config {
  margin:0;
}
.tabs--sub li a {
  font-size:12px;
  padding:1rem;
}

.tabs-content.vertical {
  margin:0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 3px;
}

.tabs-panel {
  overflow:auto;
}

.tabs-panel > a {
  background-color:var(--color-primary);
  padding:10px;
  border-radius:4px;
  margin:10px;
  float:right;
  color:var(--color-primary-text);
  text-transform: uppercase;
  font-size:11pt;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}

.tabs-panel .next-page-link {
  background-color:var(--color-disabled);
  cursor: default;
}
.tabs-panel .next-page-link.active-tab {
  background-color:var(--color-primary);
  cursor: pointer;
}

.tabs-panel > a:hover {
  background-color: var(--color-primary-emphasis-2);
}

.tabs-panel .next-page-link:hover {
  background-color: var(--color-disabled);
}
.tabs-panel .next-page-link.active-tab:hover {
  background-color: var(--color-primary-emphasis-2);
}

.tabs-title > a:focus, .tabs-title > a[aria-selected='true'] {
  background:var(--color-canvas-emphasis) !important;
}
.tabs-title > a.active-tab:hover {
  background:var(--color-canvas-emphasis);
}


.tabs.vertical a:not(.active-tab) {
  cursor: default;
  color: var(--color-sublegend);
}

.shuntgroupselector {
  float:left !important;
  margin: .25rem 0;
}
.shuntgroupselector.selected label {
  font-weight: bold;
}
.shuntgroupselector.shuntomatic {
  background:var(--color-canvas-emphasis);
  border-radius: 3px;
  padding-top:.5rem;
}
.row.callout.shuntomatic-disclaimer {
  background: var(--color-canvas-emphasis);
  font-weight: bold;
  font-size: 13px;
}
body.magicad.legacy .shuntgroupselector.shuntomatic,
body.magicad.legacy .shuntomatic-disclaimer {
  display:none;
}
.tabs-panel a.produktinfo {
  float: none;
  display: inline-block;
  margin-left: 0;
  font-size: 10pt;
  margin-top: 3px;
  margin-bottom: 10px;
  padding: 0;
  font-weight: normal;
  color: var(--color-subheading);
  background: none;
  text-decoration: underline;
  text-transform: none;
  font-style: normal;
}

.tabs-title > a {
  text-transform: uppercase;
  font-size: 1rem;
  font-family: var(--font-family-heading);
  font-size:11pt;
}

.tabs-title > a
{
   color: var(--color-primary);
}

.tabs-selected-items{

  margin:-4px 5px 0px 10px;
  font-style: italic;

}

/* panels */

.callout {
  border-color: var(--color-border) !important;
  color:var(--color-text) !important;
}

.tabs-panel{
    position:relative;
}

.row.callout {
  margin-left:0;
  margin-right:0;
  background-color:var(--color-canvas-emphasis-2);
}

#button_calculate {
  margin:auto;
  width:80%;
  margin-bottom:15px;
  display:block;
  background-color:var(--color-tertiary);
  color:var(--color-tertiary-text);
}

#button_calculate:hover {
   background-color:var(--color-tertiary-emphasis);
}

#res_pumpkurva {
  width: 100%;
  max-width: 600px;
}
.calc_pump_info.row .row {
  margin-left: 0;
  margin-right: 0;
}
.calc_pump_info.row .row .column {
  padding-left: 0;
  padding-right: 0;
}

.switch-paddle {
  background-color: var(--color-accent-muted-2);
  color: var(--color-accent-text) !important;
}
input:checked ~.switch-paddle
{
    background-color: var(--color-primary);
    color: var(--color-primary-text) !important;
}

.inputwrapper
{
  position:relative;
  display:block;
}

.unitcontainer
{
    position:absolute;
    top:9px;
    right:20px;
    color:var(--color-accent-muted);
    cursor:pointer;
}
.unittoggler {
  position: absolute;
  top: 4px;
  right: -15px;
  font-size: 20px;
  cursor: pointer;
  background-color: var(--color-primary);
  padding: 6px;
  border-radius: 4px;
  color: var(--color-canvas);
}
span.inputwrapper .unitcontainer {
  right:9px;
}
.inputwrapper .interval-divider {
  position:absolute;
  top:9px;
  right:-5px;
}
input.error {
  background:var(--color-error) !important;
}

input:checked ~.shuntstyle
{
    opacity:1.0;
    border:2px solid var(--color-primary);
}

.shuntstyle
{
  opacity:0.2;
  width:200px;
  height:111px;
  border:2px dashed var(--color-border-emphasis);
}

.shuntstyle::after
{
  width:0px;
  height:0px;
}

input:checked ~.principleselection
{
    opacity:1.0;
    border:0px;
}

.principleselection
{
  cursor: pointer;
  opacity:0.1;
  width:150px;
  height:150px;
  border:0px;
  background-repeat: no-repeat;
  transition: all 0.25s ease-out;
}

.principleswitch
{
  text-align:center;
}

.principlelegend
{
  padding-top:40px;
  font-size:14pt;
  text-align: center;
}

.heatselection
{
  /* background-image: url('../images/icons/heat.png'); */
  background: var(--color-nav-heat);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='M11 28q0 3.15 1.425 5.925T16.4 38.55q-.2-.6-.3-1.225Q16 36.7 16 36.1q0-1.6.6-3t1.75-2.55L24 25l5.65 5.55q1.15 1.15 1.75 2.55.6 1.4.6 3 0 .6-.1 1.225-.1.625-.3 1.225 2.55-1.85 3.975-4.625Q37 31.15 37 28q0-2.7-1.15-5.275T32.55 18q-1.05.75-2.2 1.175-1.15.425-2.3.425-3.05 0-5.05-2.075T21 12.3v-1q-2.3 1.65-4.15 3.65-1.85 2-3.15 4.175-1.3 2.175-2 4.45Q11 25.85 11 28Zm13 1.2-3.55 3.5q-.7.7-1.075 1.55Q19 35.1 19 36.1q0 2.05 1.45 3.475Q21.9 41 24 41q2.1 0 3.55-1.425Q29 38.15 29 36.1q0-1-.375-1.85-.375-.85-1.075-1.55ZM24 6v6.6q0 1.7 1.175 2.85 1.175 1.15 2.875 1.15.9 0 1.675-.375T31.1 15.1L32 14q3.7 2.1 5.85 5.85Q40 23.6 40 28q0 6.7-4.65 11.35Q30.7 44 24 44q-6.7 0-11.35-4.65Q8 34.7 8 28q0-6.4 4.3-12.325Q16.6 9.75 24 6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='M11 28q0 3.15 1.425 5.925T16.4 38.55q-.2-.6-.3-1.225Q16 36.7 16 36.1q0-1.6.6-3t1.75-2.55L24 25l5.65 5.55q1.15 1.15 1.75 2.55.6 1.4.6 3 0 .6-.1 1.225-.1.625-.3 1.225 2.55-1.85 3.975-4.625Q37 31.15 37 28q0-2.7-1.15-5.275T32.55 18q-1.05.75-2.2 1.175-1.15.425-2.3.425-3.05 0-5.05-2.075T21 12.3v-1q-2.3 1.65-4.15 3.65-1.85 2-3.15 4.175-1.3 2.175-2 4.45Q11 25.85 11 28Zm13 1.2-3.55 3.5q-.7.7-1.075 1.55Q19 35.1 19 36.1q0 2.05 1.45 3.475Q21.9 41 24 41q2.1 0 3.55-1.425Q29 38.15 29 36.1q0-1-.375-1.85-.375-.85-1.075-1.55ZM24 6v6.6q0 1.7 1.175 2.85 1.175 1.15 2.875 1.15.9 0 1.675-.375T31.1 15.1L32 14q3.7 2.1 5.85 5.85Q40 23.6 40 28q0 6.7-4.65 11.35Q30.7 44 24 44q-6.7 0-11.35-4.65Q8 34.7 8 28q0-6.4 4.3-12.325Q16.6 9.75 24 6Z'/%3E%3C/svg%3E");
}

.coldselection
{
  /* background-image: url('../images/icons/cold.png'); */
  background: var(--color-nav-cold);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='M22.5 44v-9.75l-7.45 7.45-2.15-2.1 9.6-9.6v-4.5H18l-9.4 9.4-2.2-2.05 7.35-7.35H4v-3h9.75L6.25 15l2.15-2.15L18 22.5h4.5v-4.55l-9.4-9.4 2.1-2.2 7.3 7.35V4h3v9.7L33 6.2l2.1 2.15-9.6 9.6v4.55h4.55l9.45-9.45 2.15 2.1-7.35 7.35H44v3h-9.7l7.4 7.45-2.05 2.15-9.6-9.6H25.5V30l9.6 9.65-2.05 2.15-7.55-7.55V44Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='M22.5 44v-9.75l-7.45 7.45-2.15-2.1 9.6-9.6v-4.5H18l-9.4 9.4-2.2-2.05 7.35-7.35H4v-3h9.75L6.25 15l2.15-2.15L18 22.5h4.5v-4.55l-9.4-9.4 2.1-2.2 7.3 7.35V4h3v9.7L33 6.2l2.1 2.15-9.6 9.6v4.55h4.55l9.45-9.45 2.15 2.1-7.35 7.35H44v3h-9.7l7.4 7.45-2.05 2.15-9.6-9.6H25.5V30l9.6 9.65-2.05 2.15-7.55-7.55V44Z'/%3E%3C/svg%3E");
}

.recycleselection
{
  /* background-image: url('../images/icons/recycle.png'); */
  background: var(--color-nav-recycle);
  /* -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='m18.4 18.4 4.45-7.35-2.95-4.9q-.6-1-1.725-1t-1.725 1l-4.9 8.15ZM37.75 32l-4.45-7.4 6.95-4 3.2 5.35q.55.85.575 1.925.025 1.075-.425 1.925-.5 1-1.475 1.6-.975.6-2.125.6ZM32 46l-8-8 8-8v4h9.5l-2.9 5.8q-.55 1-1.5 1.6-.95.6-2.1.6h-3Zm-19.35-4q-1 0-1.825-.525T9.6 40.1q-.4-.8-.375-1.675.025-.875.475-1.625l1.7-2.8H20v8ZM7.7 36.3l-3.25-6.5q-.45-.9-.425-1.925.025-1.025.575-1.925l.8-1.35L2 22.55l10.95-2.75 2.75 11-3.45-2.1Zm27-17.1-10.95-2.75 3.45-2.05L20.95 4H28q1.05 0 1.975.525T31.45 5.95l2.6 4.35 3.4-2.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='m18.4 18.4 4.45-7.35-2.95-4.9q-.6-1-1.725-1t-1.725 1l-4.9 8.15ZM37.75 32l-4.45-7.4 6.95-4 3.2 5.35q.55.85.575 1.925.025 1.075-.425 1.925-.5 1-1.475 1.6-.975.6-2.125.6ZM32 46l-8-8 8-8v4h9.5l-2.9 5.8q-.55 1-1.5 1.6-.95.6-2.1.6h-3Zm-19.35-4q-1 0-1.825-.525T9.6 40.1q-.4-.8-.375-1.675.025-.875.475-1.625l1.7-2.8H20v8ZM7.7 36.3l-3.25-6.5q-.45-.9-.425-1.925.025-1.025.575-1.925l.8-1.35L2 22.55l10.95-2.75 2.75 11-3.45-2.1Zm27-17.1-10.95-2.75 3.45-2.05L20.95 4H28q1.05 0 1.975.525T31.45 5.95l2.6 4.35 3.4-2.1Z'/%3E%3C/svg%3E"); */

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='M17.6 39q-5.95-2-9.8-7.15Q3.95 26.7 3.95 20q0-1.6.25-3.2t.8-3.15L1.8 15.5.3 12.95l8.65-5 5 8.6-2.6 1.5-2.9-4.95q-.7 1.65-1.075 3.4T7 20.05q0 5.8 3.425 10.25t8.725 6.05ZM32 13v-3h5.75q-2.4-3.3-6.025-5.15Q28.1 3 24 3q-3.45 0-6.425 1.25Q14.6 5.5 12.3 7.7L10.75 5q2.7-2.35 6.05-3.675Q20.15 0 23.95 0q4.4 0 8.3 1.775Q36.15 3.55 39 6.8V3h3v10Zm-2.25 31-8.65-5 5-8.6 2.55 1.5-2.9 5.05q6.5-.65 10.875-5.475Q41 26.65 41 20.05 41 19 40.875 18q-.125-1-.375-2h3.1q.2 1 .3 2 .1 1 .1 2 0 7.15-4.475 12.65T28.1 39.6l3.15 1.85Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' height='100%' width='100%'%3E%3Cpath d='M17.6 39q-5.95-2-9.8-7.15Q3.95 26.7 3.95 20q0-1.6.25-3.2t.8-3.15L1.8 15.5.3 12.95l8.65-5 5 8.6-2.6 1.5-2.9-4.95q-.7 1.65-1.075 3.4T7 20.05q0 5.8 3.425 10.25t8.725 6.05ZM32 13v-3h5.75q-2.4-3.3-6.025-5.15Q28.1 3 24 3q-3.45 0-6.425 1.25Q14.6 5.5 12.3 7.7L10.75 5q2.7-2.35 6.05-3.675Q20.15 0 23.95 0q4.4 0 8.3 1.775Q36.15 3.55 39 6.8V3h3v10Zm-2.25 31-8.65-5 5-8.6 2.55 1.5-2.9 5.05q6.5-.65 10.875-5.475Q41 26.65 41 20.05 41 19 40.875 18q-.125-1-.375-2h3.1q.2 1 .3 2 .1 1 .1 2 0 7.15-4.475 12.65T28.1 39.6l3.15 1.85Z'/%3E%3C/svg%3E");
}

.rowtopmargin
{
  padding:20px 10px 10px 20px;

}
/*input:checked ~.shuntkoppelstyle
{
    opacity:1.0;
    border:1px solid #cd2924;
    background-color: white;
}*/
.shuntkoppelstyle.selected {
  opacity:1.0;
  border:1px solid var(--color-primary);
  background-color: var(--color-canvas);
}

.shuntkoppelstyle
{
  cursor:pointer;
  opacity:0.2;
  width:250px;
  background-size: 200px;
  background-repeat: no-repeat;
  background-position: center center;
  height:180px;
  border:1px dashed var(--color-border-emphasis);
  transition: all 0.25s ease-out;
  border-radius:3px;
  overflow:hidden;
}

.shuntkoppelstyle::after
{
  width:0px;
  height:0px;
}

.shuntkoppels.column, .shuntkoppels.columns {
  float:left !important;
}

.breadcrumbs {
  display:block;
  width: 100%;
  margin-top:1em;
}
.breadcrumbs li {
  display:inline-block;
  padding:1em;
  background:var(--color-primary);
  color:#fff;
  position:relative;
  height:100px;
  margin-right: 2em;
}
.breadcrumbs li:after {
      content: '';
      position: absolute;
      top: 0px;
      right: -70px;
      width: 0;
      height: 0;
      border: 50px solid transparent;
      border-left: 20px solid var(--color-primary);
    }
.breadcrumbs li strong {
  display:block;
}

select.manually {
  background:var(--color-highlight-muted);
}

/*result panel*/
.result_menu
{
  border:0px;
  position:absolute;
  top:60px;
  background: transparent;
  margin:20px;
  margin-left:-10px;
}

.result_menu .tabs-title a
{
  font-size:12pt;
  color: var(--color-accent-muted-2);
  background-color:transparent;
  padding:10px;
  border-radius:4px;
  margin:10px;
  float:right;
  text-transform: uppercase;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}

.result_menu .tabs-title a:hover
{
  color: var(--color-primary);
}

.result_menu li.tabs-title.is-active > a
{
  color: var(--color-primary);
  border:1px solid var(--color-border-muted);
  border-bottom: 1px solid var(--color-canvas);

}

.tabs-content
{
  margin-top:50px;
  border:1px solid var(--color-border-muted);
  padding:10px;
}

.tabs-content--result .tabs-panel {
  border:none;
  background:transparent !important;
}

.tabs-content--config {
  margin-top:10px;
}
canvas {
  max-width: 100%;
}
.canvas-header {
  display:block;
  /* margin:10px 0; */
  position:relative;
  width:100%;
  max-width: 600px;
}
.calc-canvas {
  display:block;
  position:relative;
}
.canvas-download {
  position:absolute;
  right:-1px;
  top: 3px;
}
.canvas-header .canvas-download {
  right:-17px;
}

#result_media
{
    margin-left:50px;
}
#priceTable tbody th {
  text-align: left;
  font-weight: normal;
}
#priceTable tbody td {
  text-align: right;
}
#priceTable tbody tr.sum th,#priceTable tbody tr.sum td {
  border-top:solid 2px var(--color-primary);
  font-weight: bold;
}
#spec {
  font-size: 80%;
}
#spec table {
  text-align: left;
  width:auto;
  margin-bottom:5pt;
}
#spec table tbody {
  border:none;
}
#spec table caption {
  text-align: left;
  padding:0;
}
#spec h2 {
  padding-left:0;
  border-bottom:double 1px #ddd;
  font-size:14pt;
}
#spec h3 {
  font-size:12pt;
  margin:10pt 0 5pt;
}
#spec table th {
  font-weight: normal;
}
#spec table td.strong {
  font-weight: bold;
}
#spec table td img {
  width:100%;
  max-width: 600px;
  margin-top: 10pt;
}
#spec table th,
#spec table td {
  padding:0 10pt;
}
#spec table tbody tr:nth-child(even) {
  background-color: #fff;
}

.button.ttm {
  background-color:var(--color-primary);
  padding:10px;
  border-radius:4px;
  color:var(--color-canvas);
  text-transform: uppercase;
  font-size:11pt;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}
.button.ttm:hover {
  background-color:var(--color-primary-emphasis-2);
}
.button.ttm.success {
  background-color:var(--color-success);
}
.button.ttm.success:hover {
  background-color:var(--color-success-emphasis);
}

#save_section a {
    display:inline-block;
    margin-left:10px;
    margin-top:10px;
}
#save_info {
  display:inline-block;
  float:right;
  font-style: italic;
}
#save_info_filename {
  display: inline-block;
  width: auto;
  text-align: right;
  margin-bottom: 0;
  height: auto;
  padding: 10px;
  position: relative;
  top: -1px;
}

#send-to-magicad {
  position:absolute;
  top:28px;
  right:70px;
  cursor:pointer;
  display: none;
}

body.magicad #send-to-magicad{
  display: inline-block;
}
body.magicad .welcome-text {
  display:none;
}

#print-icon {
  position:absolute;
  top:32px;
  right:26px;
  cursor:pointer;

  width:32px;
  height:32px;
}
#print-icon path {
  fill: var(--color-nav-icon);
}

#download-icon {
  width:24px;
  height:24px;
}
#download-icon path {
  fill: var(--color-nav-icon);
}

/* Settings */

#settings_section a {
  background-color:var(--color-primary);
  padding:10px;
  border-radius:4px;
  margin:10px;
  float:right;
  color:var(--color-canvas);
  text-transform: uppercase;
  font-size:11pt;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}
#settings_section a:hover {
  background-color:var(--color-primary-emphasis-2);
}


#autocalculatinglogo {
  text-align: center;
  width: 400px;
  position: absolute;
  top:50%;
  left:50%;
  margin:-300px 0 0 -200px;
}
#autocalculatinglogo img {
  margin-top:2rem;
}
#autocalculatinglogo em {
  font-family: var(--font-family-heading);
  display:block;
  font-style: normal;
  margin-top:1rem;
}
.dialog {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: var(--color-loading-bg);
    z-index: 999;
}
.dialog__message {
    border: 1px solid var(--color-border);
    padding:40px;
    background:var(--color-canvas);
    width:400px;
    position: absolute;
    top: 50%;
    left:50%;
    margin: -15% 0 0 -240px;
}
.dialog__message.error {
    border-color: var(--color-border);
    border-width: 3px;
}
.dialog .button--cancel {
    background-color:var(--color-highlight);
}
.dialog .button--cancel:hover {
    background-color:var(--color-highlight-emphasis);
}

@media screen and (max-width: 999px) {

  .medium-3, .medium-9 {
    width:100%;
  }

  .welcome-text
  {
    margin-top:0px;
    padding-left:0;
  }
  .welcome-text img {
    position:static;
    top:auto;
    left:auto;
    display:block;
    width:100%;
    max-width:270px;
    margin:2em auto 1em;
  }

  .principleselection
  {
    width:100px;
    height: 120px;
    background-size: 100px;
  }

  .result_menu .tabs-title a
  {
      font-size:11pt;
  }

  .result_menu
  {
    top:62px;
  }
}

footer {
  border: solid 1px var(--color-border-footer);
  margin:2em .9375rem;
  padding:1em 2em;
  background:var(--color-canvas-footer);
  position:relative;
}
footer img {
  position:absolute;
  right:2em;
  top:1em;
}

.greenline-container {
  border-top: solid 1px var(--color-border-muted);
}
.greenline  {
  display:flex;
  gap: 0 10px;
  align-items: center;
  justify-content: flex-start;
  background-image: url('/images/greenline.png');
  background-size: auto 32px;
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position-y: 1rem;
  background-position-x: 100%;
  padding-top: 1rem;
  width: fit-content;
}
.greenline .switch {
  margin-bottom:0;
  display:flex;
}
.greenline input:checked ~.switch-paddle {
  background-color: var(--color-success);
}
.greenline > span {
  font-weight: bold;
}

.greenline-bar {
  display:inline-flex;
  column-gap: 0.5rem;
  align-items: center;
  margin-right:1rem;
}
.greenline-bar > span {
  font-weight: normal;
}
.greenline-bar .greenline {
  display: inline-flex;
  background-image: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 640px) {
  .top-bar-title img {
    width:150px;
  }

  .welcome-text {
    text-align: center;
  }

  .tabs-panel a {
    font-size:9pt;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    position:relative;
    gap:10px;
  }

  .top-menu
  {

  }

  .top-bar-right
  {
    position: inherit;
  }
  #login_info {
    font-size: 13px;
    position:absolute;
    top:0;
    right: 0;
  }
  .welcome-text
  {
    font-size:18px;
  }

  .result_menu .tabs-title a
  {
    font-size:10pt;

  }

  .result_menu
  {
    top:63px;
  }

}
@media screen and (max-width: 420px) {
  .top-bar-right-appname {
    display:none !important;
  }
  #login_info {
    width:100%;
    text-align:center;
    display:block;
    margin:0;
  }
 .tabs-panel a {
    float: none;
    width: 100%;
    display: block;
    text-align: center;
    margin: 0;
  }
  h2 {
    padding-left:0;
    font-size:18pt;
  }
  .subheader {
    font-size:12pt;
  }
  .row.callout {
    margin:0 !important;
    padding:0 !important;
    border:none !important;
    background: transparent !important;
  }
  .column .row {
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .column .row .column {
    padding-left:0 !important;
    padding-right: 0 !important;
  }
  .principlelegend {
    padding-top:20px;
  }
  /* Shuntkoppels */
  .shuntkoppels [type='checkbox'] + label, [type='radio'] + label {
    margin-left:0;
  }
  .shuntkoppelstyle {
    width:100%;
    height: auto;
    margin-left:0;
    margin-right:0;
  }
  /* Indata */
  .rowtopmargin {
    padding:0 !important;
  }
  .unittoggler {
    right:-30px;
  }
  /* Result */
  .result_menu {
    position: static;
    top:auto;
    margin-left:0;
    border:1px solid var(--color-border-muted);
  }
  .tabs-title {
    float:none;
  }
  .result_menu .tabs-title a {
    text-align:left;
    border:none !important;
  }
  #panel7v .tabs-content {
    margin:0 !important;
    padding:0 !important;
    border:none !important;
  }
  #panel7v .tabs-content fieldset {
    margin-top:10pt !important;
  }
  #panel7v .tabs-content fieldset legend {
    font-weight: bold;
  }
  #resultat_textexport,
  #priceTable {
    font-size:80%;
  }
  #print-icon {
    display:none;
  }
}
