/* <BOOTSTRAP-DEFAULT-MODS> */
hr {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.btn {
    border: none;
    border-bottom: 3px solid black;
}

.btn-primary {
    background-color: #30cb00;
    border-color: #3a9c1b;
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):active {
    background-color: #00a300;
    border-color: #097109;
}

.btn-secondary {
    background: rgb(247, 144, 77); /* Old browsers */
    background: -moz-linear-gradient(top, rgb(240, 113, 43) 0%, rgba(242, 129, 63, 1) 31%, rgba(247, 144, 77, 1) 98%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgb(240, 113, 43) 0%, rgba(242, 129, 63, 1) 31%, rgba(247, 144, 77, 1) 98%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgb(240, 113, 43) 0%, rgba(242, 129, 63, 1) 31%, rgba(247, 144, 77, 1) 98%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7904d', endColorstr='#f7904d', GradientType=0); /* IE6-9 */
    box-shadow: inset 0px -5px 19px 0 rgba(255, 255, 255, 0.2);
    border-color: #c76830;
}

.btn-secondary:hover, .btn-secondary:not(:disabled):not(.disabled):active {
    background: rgb(247, 144, 77); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(247, 144, 77, 1) 0%, rgb(249, 148, 90) 31%, rgba(247, 144, 77, 1) 98%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(247, 144, 77, 1) 0%, rgb(249, 148, 90) 31%, rgba(247, 144, 77, 1) 98%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(247, 144, 77, 1) 0%, rgb(249, 148, 90) 31%, rgba(247, 144, 77, 1) 98%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7904d', endColorstr='#f7904d', GradientType=0); /* IE6-9 */
    border-color: #c76830;
}

.btn-sm {
    padding: .3rem .5rem;
    font-size: .76rem;
}

.navbar {
    padding: .7rem 1.5rem .5rem 1.5rem;
}

.navbar-brand {
    padding-top: .6125rem;
    padding-bottom: .7125rem;
    width: 250px;
}

.text-danger {
    color: #e61610 !important
}

.text-dark {
    color: #212529 !important;
}

.form-group {
    margin-bottom: 1.2rem;
}

/* </BOOTSTRAP-DEFAULT-MODS> */

body {
    font-family: 'Cabin', sans-serif;
    text-align: left;
    color: #212529;
}

img {
    max-width: 100%;
}

h1 {
    color: #ff8f2b !important;
    font-size: 2.5rem !important;
    font-weight: 600 !important;
}

h2 {
    font-size: 2.3rem !important;
    color: #212529 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: #212529 !important;
}

h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    margin-top: 1.5rem !important;
    font-weight: 700 !important;
}

p {
    font-size: 1rem;
    font-weight: 400;
}

label {
    margin-bottom: .3rem;
    font-size: 1.1rem;
}

.page-wrapper {
    overflow: hidden;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.navbar-nav .btn {
    min-width: 7.5rem;
}

.navbar-nav .nav-item .btn {
    text-transform: uppercase;
}

.headline {
    font-style: italic;
    font-weight: 500;
    font-size: 0.9rem;
    padding-top: 0.5rem;
}

.navbar-expand-md .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row;
}

.bg-orange {
    background: rgb(255, 148, 43);
}

.bg-orange-gradient {
    background: rgb(255, 148, 43); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255, 148, 43, 1) 0%, rgba(255, 164, 43, 1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255, 148, 43, 1) 0%, rgba(255, 164, 43, 1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255, 148, 43, 1) 0%, rgba(255, 164, 43, 1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff942b', endColorstr='#ffa42b', GradientType=0); /* IE6-9 */
}

.bg-orange h2 {
    color: #ffffff !important;
}

.bg-green {
    background-color: rgba(0, 198, 0, 0.6);
}

.bg-dark-green {
    background-color: #81c14a;
}

.bg-light-transparent {
    background-color: rgba(255, 255, 255, 0.7);
}

.section-footer {
    font-weight: 500;
    font-size: 1.27rem;
}

.main-section {
    overflow: hidden;
}

.main-section p {
    margin: auto;
}

.row-title p {
    max-width: 47rem;
}

.icon-finnish {
    margin-left: -62px;
    width: 150px;
    max-width: 150px;
    margin-top: 30px;
}

.row-card-list .card {
    height: 92.5%;
    background: #66b212;
    color: white;
    border: 1px solid #53930d;
    margin-bottom: 2.3rem !important;
}

.row-card-list .card-body {
    border-top: 1px solid #53930e;
    padding: 1rem 1.25rem;
}

.row-card-list .card-body p {
    font-size: 0.95rem
}

.row-card-list .card-img-wrapper {
    position: relative;
}

.row-card-list .card-img-wrapper h3 {
    padding: 10px 15px;
    margin: 0;
    color: white !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.1px !important;
    font-weight: 700 !important;
    z-index: 10;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.55), 0 0 15px rgba(0, 0, 0, 0.15);
}

.row-card-list .card-img-title-wrapper {
    position: absolute;
    top: 1px;
    margin-left: -2px;
    border: 1px solid #f9f9f9;
    box-shadow: 0 5px 26px rgba(0, 0, 0, 0.52), inset 0 0 57px 5px rgb(255, 255, 255);
    transform: rotate(-7deg);
    background: rgba(203, 203, 203, 0.88);
}

.triangle-corner::before,
.triangle-corner::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-color: transparent;
    border-style: solid;
}

.triangle-corner::before {
    border-width: 8px;
    border-right-color: #f2f2f2;
    border-bottom-color: #f2f2f2;
}

.triangle-corner::after {
    border-radius: 1px;
    border-width: 7px;
    border-right-color: rgba(102, 178, 18, 0.7);
    border-bottom-color: rgba(102, 178, 18, 0.7);
}

.row-card-list a {
    color: #212529
}

.row-card-list a:hover {
    text-decoration: none;
}

.main-form-section a {
    color: #343a40 !important;
    text-decoration: underline;
}

.bg-icon-finnish {
    background-image: url("/img/6/100-suomalainen-flag.png");
    background-repeat: no-repeat;
    background-position: top 30px right 50px;
    background-size: 150px
}

@media only screen and (max-width: 1300px) {
    .bg-icon-finnish {
        background-image: none;
    }
}

@media only screen and (max-width: 1200px) {
    .icon-finnish {
        margin-left: -30px;
    }
}

.youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.h2-lg {
    font-size: 3rem !important;
    font-weight: 400 !important;
}

.content-box {
    height: 100%;
    padding: 30px 30px 30px 30px;
}

.content-box h3 {
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.78);
    padding-bottom: 1.4rem;
}

.header-side-text {
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 0.8rem;
}

footer {
    position: relative;
}

footer .block {
    margin-right: 2.5rem;
}

footer h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

footer a {
    text-decoration: underline;
    color: white !important;
}

footer p {
    font-size: 0.85rem;
}

.pull-front {
    z-index: 10;
}

.form-side-information-wrapper {
    position: absolute;
    left: -200px;
    top: 15px;
    width: 150px;
    text-align: center;
}

.form-side-information-wrapper .block-header-icon {
    font-size: 3rem;
}

.form-side-information-wrapper .block-header-icon img {
    width: 3.5rem;
}

.block-title {
    font-size: 1.2rem;
    line-height: 1.3rem;
    font-weight: 500;
}

.block-content {
    font-size: 0.8rem;
    line-height: 1.2rem;
}

main .main-form-section .section-background {
    background-image: url('/img/6/omalaina-nainen-1-613p.png');
    background-size: 920px;
    background-repeat: no-repeat;
    background-position: bottom 62px right -50px;
}

.page-etusivu footer .footer-image {
    position: absolute;
    right: -12%;
    bottom: 0;
    width: 1200px;
}

footer .footer-image {
    display: none;
}

footer {
    background: #ff942b;
    color: white;
}

.page-etusivu footer a {
    color: #212529 !important;
}

.page-etusivu footer {
    background: white;
    color: #212529;
}

.page-etusivu footer .footer-image {
    display: block;
}

@media only screen and (max-width: 1800px) {
    main .main-form-section .section-background {
        background-position: bottom 62px right -175px;
    }

    .page-etusivu footer .footer-image {
        right: -19%;
    }
}

@media only screen and (max-width: 1650px) {
    main .main-form-section .section-background {
        background-position: bottom 62px right -250px;
    }

    .page-etusivu footer .footer-image {
        right: -27%;
    }
}

@media only screen and (max-width: 1500px) {
    main .main-form-section .section-background {
        background-size: 800px;
        background-position: bottom 62px right -250px;
    }

    .page-etusivu footer .footer-image {
        right: -35%;
    }
}

@media only screen and (max-width: 1400px) {
    .form-side-information-wrapper {
        left: -160px;
    }
}

@media only screen and (max-width: 1300px) {
    .form-side-information-wrapper {
        display: none;
    }

    .page-etusivu footer .footer-image {
        display: none;
    }
}

@media only screen and (max-width: 1250px) {
    main .main-form-section .section-background {
        background-size: 600px;
        background-position: bottom 62px right -200px;
    }
}

@media only screen and (max-width: 1000px) {
    main .main-form-section .section-background {
        /*background-size: 600px;
        background-position: bottom right -250px;*/
        background-image: none
    }
}

@media only screen and (max-width: 900px) {
    main .main-form-section .section-background {
        background-image: none
    }
}

.form-footer {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.form-description-text {
    font-size: 0.7rem;
}

.form-description-steps ul {
    list-style-type: none;
    padding-left: 0;
    text-align: center;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-description-steps ul li {
    display: inline-block;
}

.form-description-steps ul i {
    padding: 0 0.5rem;
}

.form-header .text-lg {
    font-weight: 400;
    font-size: 1.6rem;
}

.form-header .text-lg b {
    font-weight: 600;
}

.form-header h2 {
    color: #212529 !important;
    font-size: 2.6rem !important;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
    margin-left: -0.3rem !important;
}

.form-control {
    border: none;
    border-radius: 0;
    height: calc(2.65rem + 2px);
    font-size: 1.2rem;
}

.text-lg {
    font-size: 3rem;
    font-size: 2.5rem;
    line-height: 2.5rem;
    font-weight: 700;
}

.main-form-section .submit-button {
    position: relative;
    padding: 0.5rem 3.5rem 0.5rem 0;
    text-transform: uppercase;
    font-size: 1.7rem;
}

.main-form-section .btn .submit-button-extend {
    font-size: 1.8rem;
    position: absolute;
    right: 0;
    line-height: 3.6rem;
    height: 3.66rem;
    padding: 0 1.2rem;
    border-bottom: 3px solid black;
    top: 0;
    background: rgb(35, 53, 53);
    background: -moz-linear-gradient(top, rgba(35, 53, 53, 1) 0%, rgba(38, 57, 63, 1) 51%, rgba(35, 53, 53, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(35, 53, 53, 1) 0%, rgba(38, 57, 63, 1) 51%, rgba(35, 53, 53, 1) 100%);
    background: linear-gradient(to bottom, rgba(35, 53, 53, 1) 0%, rgba(38, 57, 63, 1) 51%, rgba(35, 53, 53, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#233535', endColorstr='#233535', GradientType=0);
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    box-shadow: inset -5px -5px 19px 0 rgba(255, 255, 255, 0.1);
}

.page-content {
    margin-bottom: 4rem;
}

.page-content .omalaina_content {
    overflow: hidden;
}

.page-content h1 {
    margin: 3rem 0 2.5rem 0 !important;
}

.page-content h2 {
    font-size: 2rem !important;
    margin: 2.5rem 0 1.5rem 0 !important;
}

.page-content h3 {
    margin: 1.5rem 0 0.5rem 0;
}

.page-content > .bg_grey {
    background-color: #f5f5f5;
    margin: 50px 0 15px;
    padding: 15px 0 45px;
}

#cost {
    white-space: nowrap;
}

.content_women {
    display: none;
}

@media only screen and (min-width: 1001px) {
    .navbar-brand {
        margin-right: 1rem;
    }
}

@media only screen and (max-width: 1000px) {
    .block {
        min-width: 165px;
    }


    .form-side-information-wrapper {
        position: initial;
        display: block;
        width: 100%;
        float: left;
        padding: 0 0.5rem;
        margin-bottom: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .form-side-information-wrapper .form-side-information-block {
        float: left;
        width: 33.3%;
        padding: 1rem 0.5rem 1.2rem;
    }

    .form-side-information-wrapper .form-side-information-block .block-title {
        margin: 1rem 0;
    }

    .form-side-information-wrapper .form-side-information-block:first-child .block-title {
        margin: 1rem .5rem;
    }
}

@media only screen and (max-width: 767px) {
    .form-header h2 {
        font-size: 2rem !important;
        margin-left: 0 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }

    .h2-lg {
        text-align: center !important;
        float: none !important;
        padding: 0 !important;
    }

    .header-side-text {
        text-align: center;
        float: none !important;
    }


    .form-header .text-lg {
        font-size: 1.2rem;
        line-height: 1.2;
        text-align: center;
    }

    .pull-front .content-box {
        padding-top: 0 !important;
    }

    .form-content .cost-info .text-lg {
        font-size: 2rem;
        line-height: 2rem;
    }

    .navbar {
        padding: .7rem .8rem .5rem 1.5rem;
    }
    .navbar-collapse .nav-item {
        margin-bottom: .5rem !important;
    }
}

@media only screen and (max-width: 420px) {
    .form-header h2 {
        font-size: 1.5rem !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .h2-lg {
        font-size: 2.5rem !important;
    }

    .form-side-information-wrapper .form-side-information-block {
        width: 100%;
        padding: 1rem 0.5rem 0rem;
    }

    .form-side-information-wrapper .form-side-information-block:last-child {
        padding-bottom: 3rem;
    }


    .navbar-brand-link {
        width: 75%;
    }

    .navbar-brand-link {
        padding-right: 5px;
    }

    .navbar-expand-md .navbar-nav {
        display: block;
    }

    .navbar-collapse .nav-item {
        margin-right: .5rem !important;
    }

    .navbar-collapse .nav-item .btn {
        width: 100%;
    }
}


@media only screen and (max-width: 316px) {
    .cost-info label {
        min-height: 3.3rem;
    }

    .main-form-section .submit-button {
        padding: 0.5rem 2.5rem 0.5rem 0;
        font-size: 1.2rem;
    }

    .main-form-section .btn .submit-button-extend {
        font-size: 1.2rem;
        line-height: 2.8rem;
        height: 2.92rem;
        padding: 0 0.8rem;
    }

    .navbar {
        padding: .7rem .5rem .5rem 1rem;
    }
}

main > .omalaina_content h1 {
    margin-top: 0.83em !important;
}

main > .omalaina_content h2 {
    color: #80ac25 !important;
    font-size: 1.5em !important;
    margin-top: 0.83em !important;
    margin-bottom: 0.83em !important;
}

#loanapplicationform p {
    margin-top: 1em;
    margin-bottom: 1em;
}

#loanapplicationform h2 {
    color: #80ac25 !important;
    margin-top: 1.23em !important;
    margin-bottom: 0.43em !important;
}

.omalainatip {
    line-height: 1.2;
}

.page-omatili h2 {
    margin-top: 1em;
}

.page-omatili h3 {
    margin-top: 1em;
}

.page-omatili main {
    min-height: 60vh;
}

.page-omatili footer {
    padding-bottom: 200px !important;
}

.page-omatili main > .omalaina_content h2 {
    color: #212529 !important;
}

.omalaina_content p a {
    color: #007bff;
}

.omalaina_content.container {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.box_scale {
    margin-right: 30px;
}

.omalaina_content.container > p:first-child {
    padding-top: 2.7rem;
}