* {
    font-family: 'Arial';
    font-size: 14px;
}

form {
    /*display: flex;*/
    /*flex-direction: column;*/
}
form button {
    /*width: 400px;*/
    /*margin: 0 auto;*/
}
.fields {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
}
.field {
    display: flex;
    padding: 0;
}
.field .name,
.field .value {
    padding: 7px 0;
    /*border-bottom: 1px solid #00000021;*/
}
.fields > .field:last-child .name,
.fields > .field:last-child .value
{
    border-bottom: 0;
}

.field .name {
    width: 195px;
    display: flex;
    padding-right: 5px;
}
.field .value {
    display: flex;
    width: 200px;
}

.field .value input[type=text],
.field .value input[type=number],
.field .value select
{
    width: 198px;
    box-sizing: border-box;
    height: 1.5em;
}

.field.pressure.as-col {
    flex-direction: column;
}
.field.pressure.as-col .name {
    border-bottom: 0;
    padding-bottom: 0;
}
.field.pressure.as-col .value {
    display: flex;
    flex-direction: column;
    width: 435px;
}
.field.pressure.as-col .value > div {
    margin: 3px 0;
}
.field.pressure.as-col .value label {
    width: 230px;
    display: inline-block;
}

.field.pressure.as-row {
    flex-direction: column;
}
.field.pressure.as-row .name {
    /*width: 140px;*/
    padding: 7px 0 2px 0;
}
.field.pressure.as-row .value {
    padding: 2px 0 7px 0;
    width: auto;
}
.field.pressure.as-row .value > div {
    margin: 0 10px 0 0;
    display: flex;
    align-items: center;
}
.field.pressure.as-row .value > div:last-child {
    margin: 0;
}
.field.pressure.as-row .value > div label {
    margin-right: 3px;
}
.field.pressure.as-row .value > div:first-child label {
    /*min-width: 88px;*/
    /*max-width: 90px;*/
}
.field.pressure.as-row .value > div:last-child label {
    /*max-width: 113px;*/
}

.field.pressure .value label input {
    display: none;
}

.heating-capacity-delta {
    display: flex;
    max-width: 100%;
}
.heating-capacity-delta .field {
    width: 250px;
    align-items: center;
}
.heating-capacity-delta .field .name {
    margin-right: 5px;
}
.heating-capacity-delta .field .name,
.heating-capacity-delta .field .value
{
    width: auto;
}

.length-width-height {
    display: flex;
    max-width: 100%;
}
.length-width-height .field {
    width: 168px;
    align-items: center;
}
.length-width-height .field .name {
    margin-right: 5px;
}
.length-width-height .field .name,
.length-width-height .field .value
{
    width: auto;
}

.field .value .slider-wrapper {
width: 100%;
}

section.form.result-show {
/*width: 400px;*/
    /*width: 208px;*/
}
.result-show .block-warning,
.result-show button,
.result-show .field.lattice-type,
.result-show .field.lattice-color,
.result-show .field.lattice-material,
.result-show .field.pressure {
    display: none;
}
.result-show .field .name{
    padding: 4px 0 2px;
}
.result-show .field .value {
    padding: 2px 0 4px;
}
/*.result-show .field {*/
/*    flex-direction: column;*/
/*}*/

.field .value input[name="pressureMm"],
.field .value input[name="pressurePa"],
.field .value input[name="pressureH"] {
    width: 60px;
}
.field .value input[name="heatingCapacity"] {
    width: 60px;
}
.field .value select[name="height"],
.field .value select[name="width"] {
    width: 50px;
}
.field .value select[name="length"] {
    width: 60px;
}
.field .value input[name="delta"],
.field .value input[name="temperatureRoom"],
.field .value input[name="temperatureIn"],
.field .value input[name="temperatureOut"] {
    width: 44px;
}

.range-bar {
    /*margin-top: 15px;*/
    /*margin-bottom: 10px;*/
    margin-top: 11px;
    margin-bottom: 7px;
}
.range-handle {
    /*width: 20px;*/
    /*height: 20px;*/
    /*top: -9px;*/
    width: 13px;
    height: 13px;
    top: -5px;
}
.range-quantity {
    background-color: #828282;
}
.range-min, .range-max {
    display: none;
}

section.result {
    flex-direction: column;
    text-align: center;
}
section.result .image {
    text-align: center;
    display: none;
}

#result table {
    width: 100%;
    /*border: 4px double black;*/
    border-collapse: collapse;
    border: 0;
}
#result table th {
    border: 1px solid #a9acb1;
    padding: 3px 5px;
    background-color: #9999994d;
}
#result table td {
    border: 1px solid #a9acb1;
    padding: 3px 5px;
}
#result table tr:nth-child(2n) td {
    background-color: #99999914;
}
#result table tr:hover td {
    background-color: #ec9b0621;
}
#result table td.length,
#result table td.width,
#result table td.height,
#result table td.lwh
{
    text-align: center;
}
#result table td.weight,
#result table td.heating-capacity,
#result table td.pressure-loss,
#result table td.consumption
{
    text-align: right;
}
#result table td.download button {
    border: 0;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}
#result table td.download img {
    height: 32px;
}
#result table th .rotate-v {
    transform: rotate(180deg);
    writing-mode: vertical-rl;
}

#result .errors {
    color: red;
    margin-top: 20px;
}

section.result .bar-btn {
    margin-bottom: 15px;
}

section.form {
    /*flex-direction: column;*/
    /*width: 575px;*/
    /*box-sizing: border-box;*/
    /*max-width: 100%;*/
}

.block-warning {
    margin-top: 10px;
    text-align: center;
    color: red;
    font-size: 0.75em;
}

/*@media all and (max-width: 900px) {*/
/*    .wrapper {*/
/*        flex-direction: column;*/
/*    }*/
/*}*/