p {
    font-size: 19px;
}

#header .header-nav-main nav > ul > li > a {
    text-transform: none;
    font-size: 19px;
}

/* Näytteiden analysointi m */
@media (min-width: 1400px) {

    .custom-text-1 {
        font-size: 140px;
    }

}

.border-radius {
    border-radius: 5px !important;
}

.over-hero {
    box-shadow: 0px 3px 12px #555;
    opacity: 0.85 !important;
}

.hero-el-2 {
    display: none;
}

.img-palvelu,
#myyntivaltit img {
    border-radius: 20px 0 20px 0;
    box-shadow: 5px 5px 12px #444;
}

.container-palvelu {
    max-width: 1450px;
    margin: 0 auto !important;
    float: none !important;
    padding: 30px 0px 60px 0px !important;
}

.text-color-light-custom p,
.text-color-light-custom h3,
.text-color-light-custom a {
    color: #ddd !important;
}

.color-white,
i.color-white,
h4.color-white,
#pylvaat .vr {
    color: #fff !important;
}

section#rakenteet {
    background: #fff !important;
}

footer a.footer-phone {
    margin-bottom: 7px !important;
}

div.d-block.pt-2 {
    padding-top: 0;
    margin-top: -18px;
}

#myyntivaltit img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.card {
    border-radius: 20px 0 20px 0 !important;
}

section#rakenteet {
    padding: 0 0 50px 0;
}

#palvelut .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 3rem !important;
}

#footer a:hover {
    color: #0b9647 !important;
}

/* Pienemmät resoluutiot */

@media screen and (max-width: 1399px) {

    .custom-text-1 {
        font-size: 120px;
    }

}

@media screen and (max-width: 1199px) {

    #header .header-nav-main nav > ul > li {
        margin: 0 10px;
    }

    #header .header-nav-main nav > ul > li > a {
        font-size: 17px;
    }

}

/* Tabletti */

@media screen and (max-width: 991px) {

    .container, .container-sm {
        max-width: 100%;
    }

    #header .header-nav-main nav > ul > li > a {
        padding: 12px 0;
    }

    .hero .bg-color-tertiary,
    .hero .bg-tertiary {
        display: none;
    }

    #esittely .text-center {
        padding: 0 30px;
    }

    .custom-text-1 {
        font-size: 140px;
    }

    section.section {
        padding: 50px 30px;
    }

    section#rakenteet {
        padding: 0px 30px;
    }

    section.section-with-shape-divider {
        padding: 50px 0px;
    }

    #footer {
        margin-top: 30px;
        padding: 0 30px;
    }

    #footer .pb-5,
    #footer .mb-4 {
        padding: 0;
        margin-bottom: 0 !important;
    }

    #footer .col-md-6 { 
        padding-bottom: 20px;   
    }

}

/* Puhelin */

@media screen and (max-width: 640px) {

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .img-palvelu {
        max-width: 100%;
    }

    .container-palvelu {
        padding: 58px 0px 60px 0px !important;
    }

}

@media screen and (max-width: 620px) {

    #header .header-top.header-top-small-minheight {
        display: none;
    }

    .custom-text-1 {
        font-size: 120px;
        top: 50px;
    }

}

@media screen and (max-width: 500px) {

    .text-14 {
        font-size: 3.5em !important;
    }

    .custom-text-1 {
        font-size: 100px;
        top: 40px;
    }

    .card-body {
        padding: 5px;
    }

}

@media screen and (max-width: 480px) {

    .text-14 {
        font-size: 3.5em !important;
    }

    .custom-text-1 {
        font-size: 80px;
        top: 40px;
    }

    .card-body {
        padding: 5px;
    }

    .palvelut-puhelin,
    .vr {
        display: none !important;
    }

    section#pylvaat {
        padding: 0 30px;
    }

}

@media screen and (max-width: 450px) {

    .custom-text-1 {
        font-size: 80px;
        top: 40px;
    }

    section.section {
        padding: 50px 20px;
    }

    section.section-with-shape-divider {
        padding: 50px 0px;
    }

    section#rakenteet {
        padding: 0px 20px;
    }

}

@media screen and (max-width: 400px) {

    .text-14 {
        font-size: 3em !important;
    }

    .custom-text-1 {
        font-size: 70px;
        top: 30px;
    }

    section.section {
        padding: 50px 10px;
    }

    section.section-with-shape-divider {
        padding: 50px 0px;
    }

    section#rakenteet,
    section#pylvaat {
        padding: 0px 10px;
    }

}