/* default */
html, body{
    font-family: 'Roboto Condensed', sans-serif;
    background-color: red;
    height: 100%;
    width: 100%;
	min-width: 350px;
    margin: 0;
    background-color: #ececec;
    font-size: 100%;
}
.child_container{
    background-color: #ffffff;
    border-radius: 3px;
    box-sizing: border-box;
    margin: 15px 15px 15px 15px;
    padding: 30px 20px 20px 20px;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.2);

}
.row{
    padding: 45px 0px 20px 0px;
    box-sizing: border-box;
}
header{
    display: block;
    position: fixed;
    background-color: rgba(17,114,198,0.9);
    margin: 0px;
    top: 0px;
    width: 100%;
    height: 45px;
    font-size: 100%;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    text-shadow: 1px 1px 1px black;
    z-index: 1;
}
footer{
    position: fixed;
    bottom: 0px;
    width: 100%;
    text-align: center;
    font-size: 80%;
    padding: 2px;
    color: white;
    -webkit-backdrop-filter: blur(5px);
    text-shadow: 1px 1px 1px black;
    background-color: rgba(17,114,198,0.9);
    margin: 0px;
}
p{
    color: #333333;
}
header .fieldset{
    display: block;
    position:absolute;
    padding: 0px;
    margin: 0px;
    top: 50%;
    transform: translateY(-50%);
    right: 13px;
    border: none;
}
header select{
    border-radius: 3px;
    border: none;
    font-family: inherit;
    font-size: 100%;
}
header label{
    font-weight: bold;
    color: #fff;
    margin-right: 3px;
}
header h1{
    position: absolute;
    display: block;
    top: 10%;
    left: 13px;
    transform: translateY(-50%);
    height: 20px;
    font-size: 130%;
    color: white;
}
header h1 img{
    display: inline-block;
    height: 22px;
    margin-right: 5px;
    transform: translateY(4px);
}
main h2{
    margin: 0px;
    font-size: 120%;
    text-shadow: 0px 1px 0px #ececec;
}
main .fieldset{
    font-size: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    border: 1px solid #cccccc;
    margin: 10px 0px 5px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 5px;
    padding: 20px;
}
main .fieldset .fieldset{
    grid-column: 1 / 3;
}
main .fieldset legend{
    color: #1172c6;
    font-weight: bold;
    font-size: 100%;
}
main .fieldset textarea{
    border: none;
    border-radius: 3px;
    padding: 3px;
    grid-column: 1 / 3;
    font-family: inherit;
    font-size: inherit;
    resize: none;
}
main .fieldset label{
    grid-column: 1 / 2;
    text-align: right;
    transform: translate(-5px, 5px);
    font-weight: bold;
    font-size: inherit;
    white-space: nowrap;
    position: relative;
}
main .fieldset input[type="number"]{
    border: none;
    border-radius: 3px;
    padding: 3px;
    grid-column: 2 / 3;
    font-size: inherit;
    font-family: inherit;
    position: relative;
    display: inline-block;
    width: 60px;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
    color: #1172c6;
    border: 1px solid #1172c6;
}
main .fieldset input[type="text"][disabled]{
    border: none;
    border-radius: 3px;
    padding: 3px;
    grid-column: 2 / 3;
    font-size: inherit;
    font-family: inherit;
    width: 60px;
    color: #000000 !important;
}
main .fieldset button{
    grid-column: 1/3;
    background-color: #1172c6;
    border-radius: 3px;
    padding: 7px;
    color: white;
    font-weight: bold;
    border: none;
    width: 200px;
    margin: 15px auto;
    display: block;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
main .fieldset button:hover{
    filter: brightness(1.3);
    transform: scale(1.05);
}
.temp_label{
    position: relative;
}
.standard::before{
    content: "\00b0 F";
    display: block;
    position: absolute;
    left: 76px;
    top:0px;
}
.metric::before{
    content: "\00b0 C";
    display: block;
    position: absolute;
    left: 76px;
    top:0px;
}
.mash_or_label{
    position: relative;
}
.mash_or_label::after{
    content: "-or-";
    color: #1172c6;;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    position: absolute;
    left: 78px;
    top:-16px;
}

/* Large screens use flex to layout columns */
@media only screen and (min-width: 1000px) {
    .row{
        display: flex;
        flex-wrap: wrap;
        padding: 45px 0px 20px 0px;
    }
    .column{
        flex: 33%;
        max-width: 33%;
    }
    .child_container{
        margin: 15px 0px 15px 15px;
    }
}
