html,
body {
    font-family: Arial !important;
    font-size: 16px;
    height: 100%;
}

a {
    color: #e67a24;
}

a:hover {
    color: #ff9c4c;
}

.container {
    max-width: 950px;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.43em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: regular;
}

.btn-secondary {
    color: #ffffff !important;
    background-color: #e67a24 !important;
    border-color: #e67a24 !important;
    height: 50px !important;
    padding: 10px 20px !important;
    border-radius: 2px !important;
    font-size: 16px;
}

.btn.btn-secondary:hover {
    color: #ffffff !important;
    background-color: #ff9c4c !important;
    border-color: #ff9c4c !important;
}

.btn-dark {
    color: #ffffff !important;
    background-color: #6f6f6f !important;
    border-color: #6f6f6f !important;
    height: 50px !important;
    padding: 10px 20px !important;
    border-radius: 2px !important;
    font-size: 16px;
}

.btn.btn-dark:hover {
    color: #ffffff !important;
    background-color: #23272b !important;
}

input.form-control {
    width: 100%;
    padding: 1em;
    border: 0px;
    border: 1px solid #CCC;
    background: #f6f6f7;
    box-shadow: 0px !important;
    border-radius: 2px;
    box-sizing: border-box;
}

select.form-control {
    width: 100%;
    padding: 1.4em 0.8em;
    border: 0px;
    border: 1px solid #CCC;
    background: #f6f6f7;
    box-shadow: 0px !important;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea.form-control {
    height: auto;
    border: 1px solid #CCC;
    border-radius: 2px;
}

.form-row {
    padding-bottom: 10px;
}

.form-control:focus {
    color: #495057;
    background-color: #f6f6f7;
    border-color: unset;
    outline: 0;
    box-shadow: none;
}

input:focus-visible {
    border-bottom: 1px solid #646464 !important;
    outline: 0px !important;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 1.4em 0.8em;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #f6f6f7;
    background-clip: padding-box;
    border: 0px;
    border-radius: 3px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    height: 53.5px;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #e67a24;
    background-color: #e67a24;
}

.row {
    margin-bottom: 23px !important;
}

.label {
    font-size: 16px;
    display: block;
    font-weight: normal;
    font-family: Arial;
    margin-bottom: 5px;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 16px;
    color: #dc3545;
}

.nav-pills .nav-link {
    border-radius: 0.25rem;
    background-color: #23272b;
    color: #ffffff;
    margin-right: 10px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #16417f;
}

.background-image {
    height: 100vh;
    /* background-image: url("https://crossmedia.fi/holvi/A-energiaratkaisut/liidilomake/img/background-image-001.jpg"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #96c11e;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #e3858e;
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

    .modal-xl {
        max-width: 95% !important;
    }

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {

    .modal-xl {
        max-width: 700px !important;
    }

    .modal {
        height: 900px !important;
    }
}