@font-face {
    font-family: "icomoon";
    src: url("fonts/icomoon.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

body {
    font-size: 20px;
}

header {
    display: flow-root;
}

header .logo {
    height: auto;
    width: 150px;
}

#view .noUi-handle {
    margin-top: -18px;
}

.noUi-base {
    margin-left: 10px;
    width: 96%;
}

.slider_value {
    border: 0;
    box-shadow: none;
    font-size: 20px;
    width: 50%;
}

.oilinfo .container > div {
    margin-bottom: 20px;
}

.oilinfo .slider_value {
    text-align: right !important;
}

.oilinfo .slider {
    float: left;
    margin: 20px 0;
    width: 50% !important;
}

.oilinfo .value {
    color: #888;
    margin: 20px 0;
    width: 40% !important;
}

.bioenergy .value {
    float: left;
}

.bioenergy .slider {
    margin: 20px 0;
}

.bioenergy .percentage {
    font-size: 20px;
    padding: 10px;
    text-align: center;
}

.bioenergy .percentage input {
    text-align: right;
}

.bioenergy .value input {
    font-size: 18px;
    text-align: right;
    width: 40%;
}

.bioenergy .total {
    background-color: #ededed;
    margin-bottom: 20px !important;
    margin-top: 20px !important;
    padding: 20px;
    width: 85% !important;
}

.yearlysaving input {
    border: 0;
    font-size: 20px;
    text-align: right;
    width: 40%;
}

.yearlysaving .value {
    color: #888;
}

.device .slider {
    margin: 30px 0;
}

.device .value {
    font-size: 20px;
}

section.device .hankintahinta .equipment-gross-price {
    margin: -20px 0 6px;
    text-align: left;
}

.device .equipment-net-price {
    color: #888;
    font-size: 18px;
    margin: 0 0 28px;
}

.device .container {
    position: relative;
}

.device .kukkaro {
    border: 2px solid #ddd;
    height: 283px;
    position: absolute;
    right: 0;
    top: 0;
    width: 283px;
}

.device .kukkaro img,
.device .kukkaro .palkki img {
    display: block;
    position: absolute;
}

.device .kukkaro .palkki img {
    bottom: 19px;
}

.device .kukkaro_per {
    display: block;
    margin: 24px auto;
    padding: 2px 0 0 7px;
    position: absolute;
    text-align: center;
    width: 283px;
}

.percentage_icon {
    display: none;
    margin-left: 20px;
}

section.preliminarywaste .container {
    display: none;
}

[class^="icon-"],
[class*=" icon-"] {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: "icomoon";
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
}

.icon-close::before {
    content: "\e601";
}

.icon-close {
    color: #f00;
}

.icon-checkmark::before {
    content: "\e600";
}

.icon-checkmark {
    color: #53a828;
}

.errortext {
    display: none;
    font-size: 14px;
}

.emailfield {
    border: 2px solid #c5d2dc;
    border-radius: 5px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    display: inline-block;
    font-size: 16px;
    height: 54px;
    max-width: 425px;
    padding: 2%;
    width: 75%;
}

.inline {
    display: inline-block;
}

.center {
    text-align: center;
}

.clear-both {
    clear: both;
}

.site-footer-link {
    text-align: center;
}

.print-button {
    background-color: #fff;
    border: 2px solid #c5d2dc;
    border-radius: 5px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 20px;
    max-width: 200px !important;
    padding: 2%;
}

.print-button:hover {
    border-color: #606060;
}

.emailform {
    margin-bottom: 0;
}

button.restore-button {
    appearance: none;
    background: #fff;
    border: 2px solid #c5d2dc;
    border-radius: 5px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    color: #222;
    cursor: pointer;
    font: inherit;
    margin: 0 0 20px;
    padding: 16px;
}

button.restore-button:hover,
button.restore-button:focus-visible {
    border-color: #606060;
}

button.togglewaste {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.input-error {
    outline: 2px solid #b42318;
    outline-offset: 2px;
}

.calculation-disabled {
    opacity: .25;
}

.print-button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

@media (max-width: 640px) {
    #view {
        box-sizing: border-box;
        overflow-x: hidden;
        padding: 0 16px 24px;
        width: 100%;
    }

    h1 {
        font-size: 28px;
        overflow-wrap: anywhere;
    }

    header .logo {
        float: none;
        max-width: 150px;
    }

    section.oilinfo .container > div .slider,
    section.oilinfo .container > div .value,
    section.bioenergy .container > div,
    section.preliminarywaste .container > div,
    section.yearlysaving .container > div h3,
    section.yearlysaving .container > div div {
        box-sizing: border-box;
        display: block;
        margin: 12px 0;
        width: 100% !important;
    }

    .device .kukkaro {
        display: none;
    }

    .emailfield {
        box-sizing: border-box;
        margin-bottom: 12px;
        width: 100%;
    }
}

@media print {
    .restore-button,
    .emailform,
    .togglewaste {
        display: none !important;
    }

    header.no-print {
        display: block !important;
    }

    .slider,
    .kukkaro,
    section.bioenergy img {
        display: none !important;
    }

    section.preliminarywaste .container {
        display: block;
    }

    body,
    #view {
        background: #fff;
        box-shadow: none;
    }

    #view {
        box-sizing: border-box;
        padding: 0;
    }

    section {
        break-inside: avoid;
        box-shadow: none;
        margin-bottom: 8px;
        padding: 1%;
    }

    h1 {
        font-size: 24px;
    }

    section.bioenergy .container > div .value,
    section.bioenergy .percentage {
        font-size: 14px;
        padding: 2px 0;
    }
}
