/* roboto-condensed-300 - latin */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('files/webdata/font/roboto-condensed-v25-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('files/webdata/font/roboto-condensed-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('files/webdata/font/roboto-condensed-v25-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('files/webdata/font/roboto-condensed-v25-latin-300.woff') format('woff'), /* Modern Browsers */
    url('files/webdata/font/roboto-condensed-v25-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('files/webdata/font/roboto-condensed-v25-latin-300.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}
/* roboto-condensed-regular - latin */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('files/webdata/font/roboto-condensed-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('files/webdata/font/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('files/webdata/font/roboto-condensed-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('files/webdata/font/roboto-condensed-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('files/webdata/font/roboto-condensed-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('files/webdata/font/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}
/* roboto-condensed-700 - latin */
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('files/webdata/font/roboto-condensed-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('files/webdata/font/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('files/webdata/font/roboto-condensed-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('files/webdata/font/roboto-condensed-v25-latin-700.woff') format('woff'), /* Modern Browsers */
    url('files/webdata/font/roboto-condensed-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('files/webdata/font/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}


:root {
    --yellow: #FFBF00;
    --black: #222221;
    --gray: #F4F4F4;
}

#wrapper {
    font-family: roboto-condensed, sans-serif;
    font-size: 1rem;
    width: calc(100% - 2rem);
    position:relative;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-gap: 2rem;
    padding: 1rem;
    background: #fff;
}

.calc_bild {
    max-width: 410px;
}

input.senden.mobile {display: none;} /* Berechnen Button mobile, mit Scrollfunktion */

label {
    float: left;
    width: 200px;
}

input, select {
    margin-bottom: 13px;
    width: 116px;
}

fieldset {
    margin-bottom: 15px;
    width:400px;
    border: 1px solid;
    border-radius: 30px;
}

fieldset.active {
    background:#efefef;
}

legend {
    font-weight: bold;
    margin-bottom: 10px;
    color:#222!important;
}

#tabs {
    font-size: 1rem;
    width: 100%;
    max-width: 630px;
    font-family: roboto-condensed, sans-serif;
    padding: 0.5rem;
    border-radius: 15px;
    border: 1px solid #aaa;
}

h2 {
    font-size: 1.25rem;
    margin:0;
    padding:0;
    text-transform:uppercase;
}

#tabs h3 {
    font-size:100%;
}

.tab-menu {
    display: flex;
    list-style-type: none;
    padding-left: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-menu li a {
    font-size: 14px;
    text-transform:uppercase;
    border-radius: 50px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease-in-out;
    background: var(--gray);
    display: block;
    text-decoration: none;
    color: var(--black);
}

.tab-menu li a:hover {
    background:#FFCC00;
}

.tab-menu li a.active {
    color:#FFF;
    background: var(--yellow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block !important;
}

#output {
    background: none repeat scroll 0 0 rgb(255, 255, 255);
    filter:alpha(opacity=90);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    -khtml-opacity: 0.9;
    opacity: 0.9;
    border: 1px solid #CCCCCC;
    display: none;
    font-size: 120%;
    left: 1px;
    line-height: 2;
    margin: 10px;
    padding: 100px 20px;
    position: absolute;
    top: 163px;
    visibility: hidden;
    width: 330px;
    z-index: 2;
}

#output.sichtbar{
    visibility: visible;
    display:block;
}

.result {
    color:green;
}

.error {
    color:red;
}

input.reset, input.senden{
    width:200px;
    -webkit-appearance: none;
    border-radius: 30px;
    background: #efefef;
    font-family:roboto-condensed, sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease-in-out;
    padding: 0.25rem;
}

input.senden {
    background: var(--yellow);
}

input.senden:hover {
    background: var(--black);
    color: var(--yellow);
}

/* Formulare  */
input,textarea,select {width:150px;border:1px solid #ccc; border-radius: 30px; background: #fff; padding: 0.25rem 0.5rem;font-family:roboto-condensed, sans-serif!important;}
textarea {height:200px;}
input:hover,textarea:hover,select:hover,input:focus,textarea:focus,select:focus {background:#efefef;}
input.captcha, input.radio, input.checkbox {width:auto;}
span.mandatory,p.error  {color:#FFCC00;}
input.error {background:#FFEDDD;}
input.submit {width:auto;padding:3px 10px;background:#808080;color:#FFF;}


@media only screen and (max-width: 940px) {
    #wrapper {
        display: grid;
        grid-template-columns: 1fr;
    }
    #output {
        width: 60%;
        padding: 1rem;
        margin: 0;
        height: 260px;
        text-align: center;
    }
    .result {
        display: inline-block;
        margin: 60px 0;
    }
    #wrapper .calc_bild img {width: 100%; height: auto;}
}
@media only screen and (max-width: 805px) {
    fieldset {width: 100%; padding: 8px;}
    input.reset, input.senden {width: 49%;}
    input.senden {margin-left: 1%;}
}

@media only screen and (max-width: 780px) {
    .calc_beschr {width: 49%; float: left;}
    #wrapper .calc_bild img {width: 49%; float: right;}
    #tabs {width: 100%; float: none; display: inline-block; margin-top: 10px;}
    #wrapper .calc_bild {width: 100%;}
    body {overflow-x: hidden;}
    #output {left: unset; right: 0; top: 80px; width: 50%;}
    input.senden.desktop {display: none;}
    input.senden.mobile {display: inline-block;}
}

@media only screen and (max-width: 700px) {
    #output {top: 50px;}
}

@media only screen and (max-width: 640px) {
    #output {height: 220px;}
}
@media only screen and (max-width: 570px) {
    .calc_beschr {width: 39%;}
    #wrapper .calc_bild img {width: 59%;}
    #output {margin: 0; padding: 0; width: 58%; height: 25%; text-align: center; top: 65px;}
    #output .result {display: inline-block; margin-top: 10%;}
}

@media only screen and (max-width: 480px) {
    .calc_beschr, #wrapper .calc_bild img {float: none; width: 100%; max-width: 402px;}
    label {width: 47%;}
    #output {width: 100%; top: 195px; height: 18%;}
    #output .result {margin-top: 20%;}
}
@media only screen and (max-width: 432px) {
    input.reset, input.senden {width: 100%;}
    input.senden {margin-left: 0;}
}

@media only screen and (max-width: 415px) {
    .ui-tabs .ui-tabs-panel {padding: 1rem;}
    label {width: 100%; float: none;}
    input, textarea, select {width: 85%;}
}

/* @media only screen and (max-width: 706px) {
    input.reset, input.senden {width: 48%;}
    input.senden {margin-left: 2%;}}
} */