/*
 * PGR Vaperhelper darf privat und nichtgewerblich kostenlos genutzt werden. Jegliche kommerzielle
 * oder gewerbliche Nutzung des Programms oder Teilen davon, ist nur mit vorheriger, ausdrÃ¼cklicher
 * Zustimmung des Autors (eMail: patrick@grochowy.de) gestattet.
 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*@font-face {
    font-family: 'Metro';
    src: url('fonts/metro.eot?izvoei');
    src: url('fonts/metro.eot?#iefixizvoei') format('embedded-opentype'), url('fonts/metro.woff?izvoei') format('woff'), url('fonts/metro.ttf?izvoei') format('truetype'), url('fonts/metro.svg?izvoei#metro') format('svg');
    font-weight: normal;
    font-style: normal;
}*/

body {
    /*font-family: Metro, 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.7em;
    color: #693698;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #370053;
    background: -webkit-linear-gradient(left, #26002a, #d073ff);
    background: -moz-linear-gradient(left, #26002a, #d073ff);
    background: -ms-linear-gradient(left, #26002a, #d073ff);
    background: linear-gradient(left, #26002a, #d073ff);
}

h1.pagetitle {
    margin-left: .5em;
    color: #fff;
    font-weight: bolder;
    text-shadow: 3px 3px 3px #000;
}

fieldset {
    position: relative;
    display: block;
    background: #fff;
    margin: .5em;
    padding: 2.5em .7em 0 .7em;
    min-height: 2.6em;
    overflow: hidden;
    /*border: none;*/
    border: 3px solid #fb0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 3px 3px 3px 0 #000;
    -moz-box-shadow: 3px 3px 3px 0 #000;
    box-shadow: 3px 3px 3px 0 #000;
}

fieldset:not(.active) div {
    display: none;
}

fieldset legend {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: #e9dcff;
    color: #370053;
    font-size: 1.5em;
    min-height: 1.9em;
    width: 100%;
    padding: .3em .5em;
}

label {
    white-space: nowrap;
}

input[type='number'] {
    border: 1px solid #d2a6fe;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: .2em;
    width: 4.5em;
}

input.ingredient_percent.error,
input#liquidcalc_targetvolume.error {
    border-color: #f00;
    background-color: #fcc;
}

#liquidcalc_top {
    margin: 20px 0 10px 0;
}
#liquidcalc_errormessage {
    color: #f00;
    font-size: smaller;
}
#liquidcalc_recipe_display {
    display: inline-block;
    font-size: smaller;
    margin: 0;
}
.liquidcalc_hr {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e9dcff;
}

.ingredient_row {
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    margin: 0;
    padding: 5px;
}
.ingredient_row:nth-child(even) {
    background-color: #f2e2f7;
}
.ingredient_row:last-child {
    border-bottom: 1px solid #e9dcff;
}
.ingredient_row label {
    display: inline-block;
    margin-right: 12px;
}
.ingredient_row .remove_ingredient {
    margin-right: 10px;
}
