html{
    height:90% !important;
}

.transformer_app{
    overflow-x: hidden;
}

.transformer_app .gridrow{
    display: grid;
    grid-auto-flow: column;
    gap: 0%;
    grid-template-columns: 30% auto;
}

.transformer_app label{
    white-space: normal;
}

.transformer_app h3{
    margin-top: 1.5rem; /*  add whitespace to element above */
    color:white;
    display:block;
    width: 100%;
    border-bottom: 1px solid;
}

.design_mode_select{
    background-color: white;
    padding: 4px;
    height: 100%;
}

.design_mode_select label{
    color: white;
}

.transformer_app .block_content{
    margin: 0.5em;
    border: 1px solid #b0cbdd;
    padding: 10px;
}


.core_data{
    background-color: white;
    padding: 4px;
    justify-content:space-between;
}

.transformer_app .columns{
    padding:0;
}

/* .core_data input,
.outputs input{
    margin-left: 2px;
    margin-right: 10px;
} */

/* .core_data span,
.outputs span{
    margin-right: 20px;
    white-space:nowrap
} */


.core_data .output_fieldset {
    display: inline-block;
    width: auto;
}

.core_data span label{
    display: inline-block;
    width: auto;
}

.core_data .output_fieldset input{
    display: inline-block;
    background-color: white;
    color: #0a0a0a;
    width: auto;
    max-width: 80px;
    border: 2px solid #ADACA8;
}

.core_data .output_fieldset,
.outputs .output_fieldset{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

/* .outputs span{
    width: 45%;
} */

.outputs .output_fieldset input{
    display: inline-block;
    background-color: #8f9292;
    color: white;
    vertical-align: middle;/*  center within input container */
    width: 150px; /* fixed width for all screen sizes */
    border: 1px solid white;
    margin-bottom: 0; /* otherwise vertical alignment will be off */
}

.outputs .output_fieldset label{
    display: inline;
    word-break: normal;
    vertical-align: baseline; /* align items centered to font */
    color: white;
    line-height: 1;  /* smaller distance when text breaks */
}


.transformer_app .button{
    width: auto;
}
.transformer_app .button .arrow-right{
    margin-left: 5px;
}
.transformer_app .button .arrow-left{
    margin-right: 5px;
}
.transformer_app .button.brown {
    color: #b7ab98;
    border: 2px solid #b7ab98;

}

.transformer_app .button.blue {
    color: #b0cbdd;
    border: 2px solid #b0cbdd;

}
.transformer_app .button.blue:hover {
    background-color: white;
}
.transformer_app .button_wrapper{
    height: auto;
}
.transformer_app .button_wrapper .button{
    display: block;
    margin-left: auto;
    margin-right: 0px;
}
.transformer_app .button_wrapper label{
    display: block;
    margin-left: auto;
    margin-right: 0px;
    text-align: right;
}


.transformer_app .inputs .button.brown:hover {
    background-color: #8f9292;

}

.calc_button_wrapper{
    width:100%;
}

.transformer_app .calc_button_wrapper input{
    margin: 0 auto;
    display: block;
}

.transformer_app .white{
    color: white;
}

.transformer_app .button_wrapper .white:hover{
    background-color: #8f9292;
}

.transformer_app .arrow{
    width: .5rem;
    fill: #b0cbdd;
}



.transformer_app input, .transformer_app select{
    border: 2px solid #ADACA8;
}

.inputs{
    background-color: white;
    padding: 4px;
    position: relative;
}

.core_data .block_content .top_label,
.design_mode_select .block_content .top_label,
.inputs .block_content .top_label{
    background-color: #b0cbdd;
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px;
    padding: 5px;
    margin-bottom: 15px;
}
.core_data .block_content .top_label h2,
.design_mode_select .block_content .top_label h2,
.inputs .block_content .top_label h2{
    color: white;
}

.left_menu{
    z-index: 5;
    background-color: white;
}

.outputs{
    background-color: #4B4B4B;
    color: white;
    padding: 4px;
    width:200%;
    display:flex;
    z-index: 1;
    
}


.transformer_app tbody {
    display: block;
    height: 700px;
    overflow: auto;
}
.transformer_app thead, tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;/* even columns width , fix width of table too*/
}


.outputs .drawer-right{
    width: 100%;
    position: relative;
    left: 0px;
    transition:left 1s;
    margin-left:10px;
    display: inline-block;

}

.outputs .drawer-left{
    width: 100%;
    position: relative;
    left: 0px;
    transition:left 1s;
    margin-left:10px;
    display:inline-block;

}



.block_content h2{
    color: #b0cbdd;
}
.block_content label{
    color: #4b4b4b;
}



  

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}



.switch {
    display: inline-block;
    height: 26px;
    position: relative;
    width: 50px;
  }
  
  .switch input {
    display:none;
  }
  
  .slider {
    background-color: #ADACA8; /* ausgeschaltet */
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border: 1px solid #b0cbdd;
  }
  
  .slider:before {
    background-color: white;
    bottom: 2px;
    content: "";
    height: 20px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 20px;
    border: 1px solid #b0cbdd;
  }
  
  input:checked + .slider {
    background-color: #b0cbdd; /*eingeschaltet*/
    border: 1px solid #b0cbdd;
  }
  
  input:checked + .slider:before {
    transform: translateX(20px);
    border: 1px solid #b0cbdd;
  }
  
  .slider.round {
    border-radius: 20px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  

    table tr.blue th{
    background-color: #b0cbdd;
    color: white;
  }
    table th{
        border-right: 1px solid #adaca8;
    }
    table th:last-child{
        border-bottom: 1px solid #adaca8;
    }

  .core_product_headline{
      margin-bottom: 10px;
  }

  .outputs_wrapper{
      padding-top: 12px;
  }





    /* The Modal (background) */
    .modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 10; /* Sit on top */
      padding-top: 100px; /* Location of the box */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgb(0,0,0); /* Fallback color */
      background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }

    /* Modal Content */
    .modal-content {
      background-color: #fefefe;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 60%;
    }

    /* The Close Button */
    .close {
      color: #aaaaaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }

    .close:hover,
    .close:focus {
      color: #000;
      text-decoration: none;
      cursor: pointer;
    }


    .open_info_box{

        cursor:pointer;
    }

    .open_info_box::after {
        content: '?';
        display: inline-block;
        font-family: sans-serif;
        font-weight: bold;
        text-align: center;
        font-size: 0.8em;
        line-height: 0.8em;
        border-radius: 50%;
        margin-left: 6px;
        padding: 0.13em 0.2em 0.09em 0.2em;
        color: inherit;
        border: 1px solid;
        text-decoration: none;

    }

    .label_wrapper label{
        display:inline;

    }

    .modal-content h3{
        color:black;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .modal-content img{
        display:block;
        margin-left:auto;
        margin-right:auto;
    }

    .icon-download-01::before {
        content: '\e802';
      }


/* NEW 16-08-2022 */


        .flex {
            display: flex;
            width: 100%;
            margin-top: .5rem;
            justify-content: space-between;
            flex-direction: row;
            
        }
        .p-right {
            padding-right: 1.5rem;
        }
        .p-left {
            padding-left: 1.5rem;
        }
        .flex-item1 {
            align-self: center;
            width: auto;
        }
        .flex-item2 {
            width: auto;
        }


@media  screen and (max-width: 980px ) {
    .flex {
        flex-wrap: wrap;
    }
    .p-right {
        padding-right: 0;
    }
    .p-left {
        padding-left: 0;
    }
    .outputs .output_fieldset input {
        width: 150px;
    }
}

@media  screen and (max-width: 620px ) {
    .flex-item1 {
        align-self: center;
        width: 100%;
    }
    .flex-item2 {
        width: 100%;
    }
    .outputs .output_fieldset input {
        width: 100%;
    }
}


.button, input[type="button"] {
    border: 2px solid #4a4a4a;
    color: #4a4a4a;
    margin: 0 1em 2em 0;
    padding: 0.6em 2.1em;
    font-weight: 600;
    background-color: transparent;
}

    .button:hover, .button:focus, input[type="button"]:hover, input[type="button"]:focus {
        color: #fff;
        background-color: #4a4a4a;
        }