body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif
}

h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif !important }

* {
    letter-spacing: 0.004em;
    line-height: 1.19
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

p, h1, h2, h3, h4, h5, h6, span { margin: 0; padding: 0 }

li, a, .item, input, button {
    text-decoration: none;
    transition: all 0.2s ease-in-out !important
}

button, input {
    border: none;
    transition: all 0.5s ease-in-out;
    outline: none;
    cursor: pointer
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%
}

.padding-up-down {
    padding-top: 110px !important;
    padding-bottom: 110px !important
}

.header {
    z-index: 11111;
    position: static;
    top: 0;
    width: 100%;
    padding: 30px 0px;
    background: rgba(255, 255, 255, 0.9)
}

.header__scroll {
    background: #fff
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    width: 170px;
    display: block;
    margin-left: -10px
}

.header__menu {
    display: flex;
    justify-content: flex-end
}

.header__menu li {
    padding: 0 20px
}

.header__menu li a {
    text-transform: uppercase;
    color: grey;
    font-weight: 900;
    font-size: 12px
}

.header__burger {
    z-index: 1;
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 34px;
    cursor: pointer;
}

.header__burger svg {
    width: 20px;
    fill: #fff;
}

.menu-item-has-children>a {
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none
}

.menu-item-has-children {
    position: relative;
    display: inline-block
}

div#n2-ss-2 .n2-style-c0fe1c7a37b7b7c3cb83a8d1cde6e7ce-dot.n2-active,
div#n2-ss-2 .n2-style-c0fe1c7a37b7b7c3cb83a8d1cde6e7ce-dot:HOVER,
div#n2-ss-2 .n2-style-c0fe1c7a37b7b7c3cb83a8d1cde6e7ce-dot:FOCUS {
    background: #e8cb08 !important
}

.sub-menu {
    display: none;
    padding-left: 0;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1
}

.sub-menu .wpml-ls-menu-item .wpml-ls-flag {
    margin-right: 10px
}

.sub-menu li.wpml-ls-menu-item {
    padding-left: 0px;
    padding-right: 0px
}

.sub-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block
}

.sub-menu li {
    list-style: none
}

.sub-menu li:hover {
    background-color: #ddd
}

.menu-item-has-children:hover .sub-menu {
    display: block;
    z-index: 999999
}

.menu-item-has-children:hover .menu-item-has-children>a {
    background-color: #3e8e41
}

.single-post table {
    margin-top: 10px
}


.koneista__info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center
}

.koneista__info h2 {
    width: 46%;
    color: #0e0e0e;
    font-weight: 600;
    font-size: 50px;
    line-height: 1.2
}

#post-grid-39 {
    padding: unset !important
}

#post-grid-39 .element.title_link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

@media only screen and (min-width:1024px) {
    #post-grid-39 .grid-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap
    }
    #post-grid-39 .item {
        width: unset !important;
        text-align: center;
        flex: 0 0 23%
    }
}

#post-grid-39 .grid-items {
    text-align: unset !important;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
}

.koneista__info p {
    width: 46%;
    color: #0e0e0e;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.01em
}

#post-grid-39 .item {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px
}

#post-grid-39 .item:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scale(1.05)
}

.yrityksesta {
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.yrityksesta__wrap {
    width: 50%
}

.yrityksesta__wrap:first-child {
    padding-left: 5%;
    padding-right: 5%
}

.yrityksesta__wrap:last-child {
    height: 100vh;
    max-height: 576px
}

.yrityksesta__wrap h2 {
    color: #000;
    font-weight: 600;
    font-size: 60px;
    line-height: 1.2
}

.yrityksesta__elements {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.yrityksesta__element {
    width: 46%
}

.yrityksesta__element:nth-child(n+3) {
    margin-top: 20px
}

.yrityksesta__elements h3 {
    color: #000;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px
}

.yrityksesta__elements h3 span {
    font-size: 28px;
    margin-right: 5px
}

.yrityksesta__elements p {
    color: #000;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4
}

.icon-flag {
    position: absolute;
    right: 30px;
    bottom: 30px
}

.icon-flag img {
    display: block;
    width: 70px
}

.yrit__info {
    margin: 60px 0
}

.yrit__info_elements {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.yrit__info_elements>div:first-child {
    width: 40%
}

.yrit__info_elements>div:last-child {
    width: 60%
}

.yrit__info_elements input,
.yrit__info_elements form textarea {
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 10px 15px;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box
}

.yrit__info_elements form textarea {
    resize: none
}

.yrit__info_elements form>p {
    margin-bottom: 15px
}

.yhteystiedot {
    position: relative;
    background: url("http://grinders.fi/wp-content/uploads/2020/04/Floorman-500_2.jpg") no-repeat center top / cover
}

.yhteystiedot:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: block
}

.form__wrap {
    max-width: 600px;
    width: 100%;
    margin: 0 auto
}

.form__wrap>h2 {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 50px;
    line-height: 1.2
}

.form__wrap>p {
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    padding: 20px 30px 30px;
    text-align: center
}

.form__wrap input,
.form__wrap textarea {
    padding: 12px 30px;
    color: #707070;
    background: #fff;
    border-radius: 4px;
    width: 100%;
    font-size: 14px
}

.wpcf7-form-control-wrap {
    display: block
}

.form__wrap input[type="submit"] {
    border-radius: 30px;
    color: #fff;
    font-weight: 500;
    background: #e8cb08;
    text-align: center;
    width: auto;
    display: block;
    margin: 0 auto;
    cursor: pointer
}

.footer {
    background: #2f2f2f
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.footer__element {
    text-align: center
}

.footer__element i {
    color: #808080;
    font-size: 35px
}

.footer__element h4 {
    color: #fff;
    font-size: 14px;
    margin: 10px 0
}

.footer__element span,
.footer__element a,
.footer__copy p {
    color: #808080;
    font-size: 14px
}

.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center
}

.footer__copy {
    padding: 20px 0;
    border-top: 1px solid #808080;
    text-align: right;
}

@media screen and (min-width:1333px) {
    .icon-flag {
        bottom: 0px
    }
}

@media screen and (max-width:1191px) {
    .yrityksesta__element {
        width: 100%
    }
    .yrityksesta__element:nth-child(n+2) {
        margin-top: 20px
    }
    .yrityksesta__wrap:last-child {
        max-height: 730px
    }
    .yrityksesta__wrap h2 {
        font-size: 50px
    }
    .footer__element {
        width: 50%
    }
    .footer__element:nth-child(n+3) {
        margin-top: 30px
    }
}

@media screen and (max-width:992px) {
    .container {
        max-width: 100%;
        padding: 0 30px
    }
    .header {
        padding: 30px 0
    }
    .header__menu {
        position: fixed;
        left: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        top: 0;
        width: 100%;
        padding: 135px 0 185px;
        /* z-index: 9; */
        height: 100%;
        z-index: 1;
        justify-content: start;
    }
    .header__menu li {
        padding: 25px 20px;
        position: relative
    }
    .header__menu li a {
        padding-left: 0
    }
    .header__burger {
        display: flex
    }

    .header__burger .frstbar, .header__burger .scndbar, .header__burger .thrdbar {
        transition: all 0.2s linear;
        transform: rotate(0deg);
        transform-origin: 77% 50%;
    }
    .header__menu-active .header__burger .frstbar {
        transform: rotate(45deg);
    }
    .header__menu-active .header__burger .thrdbar {
        transform: rotate(-45deg);
    }
    .header__menu-active .header__burger .scndbar {
        width: 0;
        opacity: 0;
    }

    .d-l-none {
        display: none !important
    }
    .padding-up-down {
        padding-top: 60px !important;
        padding-bottom: 60px !important
    }
    .yrityksesta__wrap h2,
    .form__wrap>h2 {
        font-size: 45px
    }
}

@media screen and (max-width:768px) {
    .padding-up-down {
        padding-top: 40px !important;
        padding-bottom: 40px !important
    }
    .koneista__info h2 {
        font-size: 35px;
        margin-bottom: 30px
    }
    .koneista__info h2,
    .koneista__info p {
        width: 100%
    }
    .yrityksesta__wrap h2,
    .form__wrap>h2 {
        font-size: 32px
    }
    .yrityksesta__wrap {
        width: 100%
    }
    .yrityksesta__wrap:last-child {
        max-height: 450px
    }
    .icon-flag img {
        width: 40px
    }
    .form__wrap>p {
        padding: 15px
    }
    .container {
        padding: 0 15px
    }
    .footer__element {
        width: 100%
    }
    .footer__element:nth-child(n+2) {
        margin-top: 30px
    }
}

@media screen and (max-width:1200px) {
    .slider__title h1 {
        font-size: 60px !important
    }
}

@media screen and (max-width:992px) {
    .slider__title h1 {
        font-size: 50px !important
    }
    .sub-menu li.wpml-ls-menu-item {
        padding: 10px 20px;
    }
}

@media screen and (max-width:768px) {
    .slider__title h1 {
        font-size: 40px !important
    }
    .slider__text p {
        font-size: 16px !important
    }

}

@media screen and (max-width:576px) {
    .slider__title h1 {
        font-size: 30px !important
    }
    .yrit__info_elements {
        flex-direction: column
    }
    .yrit__info_elements>div {
        width: 100% !important;
        margin-bottom: 30px
    }

    .product-grid .item {
        flex: 0 0 100%;
    }
}

.product-grid {
    margin-top: 50px;
    margin-bottom: 50px;
}
.product-grid .layer-content {
    padding: 20px 10px !important;
    background: #181818
}
.product-grid .layer-content a {
    color: #fff;
    font-size: 19px;
    letter-spacing: 0.045em;
    font-weight: 600;
    line-height: 1.25
}

.product-grid .grid-items {
    text-align: unset !important;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.product-grid .item {

    height: auto;
    margin: 0 0 20px;
    padding: 0px;
    background: #fff;
    text-align: center;

    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.product-grid .item:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: scale(1.05);
}
@media only screen and ( min-width:570px ) {
    .product-grid .item {
        margin: 10px;
        width: 250px;
        flex: 0 0 45%;
    }
}

@media only screen and ( min-width:768px ) {
    .product-grid .grid-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap
    }
    .product-grid .item {
        width: 280px;
        flex: 0 0 23%;
    }
}
@media only screen and ( min-width:1024px ) {
    .product-grid .grid-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap
    }
    .product-grid .item {
        width: unset !important;
        text-align: center;
        flex: 0 0 23%;

    }
}



.post-grid {
    margin-top: 50px;
}

.post-grid .layer-content {
    padding: 20px 10px !important;
    background: #181818
}



.post-grid .layer-content a {
    color: #fff;
    font-size: 19px;
    letter-spacing: 0.045em;
    font-weight: 600;
    line-height: 1.25
}

.post__single {
    padding: 150px 0 80px;
    background: #fff;
    position: relative;
    z-index: 0
}

.post__single .entry-title {
    color: #1A2234;
    font-weight: 700;
    font-size: 48px;
    margin: 0
}

.layer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center
}

.skin.flat .layer-content {
    bottom: 0;
    width: 100%;
    min-height: 87px;
    justify-content: center;
    vertical-align: middle;
    display: flex;
    align-items: center
}

.post__single .entry-header,
.post__single .entry-content {
    padding: 0 10%
}

.to__product {
    color: #1A2234;
    margin-top: 40px;
    display: block
}

.post__single .entry-meta {
    margin: 20px 0 70px;
    display: none;
    align-items: center;
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Montserrat'
}

.post-categories {
    list-style: none;
    margin: 0 0 0 5px
}

.post__single p {
    margin-bottom: 30px;
    font-family: 'Montserrat';
    color: #5c5c5c;
    font-size: 18px;
}

.page-content p {
    margin-bottom: 30px;
    font-family: 'Montserrat';
    color: #5c5c5c;
    font-size: 18px;
}

.post__single ul, .post__single ol {
    margin-bottom: 30px;
}

.post__single .entry-content h2,
.post__single .entry-content h3,
.post__single .entry-content h4,
.post__single .entry-content h5,
.post__single .entry-content h6 {
    color: #0b0b0b;
    font-weight: 700;
    margin-bottom: 30px
}

.post__single .entry-content h2 { font-size: 36px }
.post__single .entry-content h3 { font-size: 30px }
.post__single .entry-content h4 { font-size: 28px }
.post__single .entry-content h5 { font-size: 24px }
.post__single .entry-content h6 { font-size: 20px }

.post__single .entry-content figure {}

.nav__post_link {
    margin-top: 40px;
    display: flex
}

.nav__post_link a {
    width: 100%;
    text-transform: uppercase;
    color: #000;
    font-weight: 500;
    display: flex;
    align-items: center
}


.prev__post_link {
    justify-content: flex-start
}

.next__post_link {
    justify-content: flex-end
}

.prev__post_link .fas { margin-right: 5px; font-size: 20px; }
.next__post_link .fas { margin-left: 5px; font-size: 20px; }



.posts__list {
    padding: 0 10%;
    margin-top: 50px
}

.posts__list h3 {
    margin-bottom: 15px
}

.posts__list a {
    color: #1A2234
}

@media screen and (max-width:1200px) {
    .post__single .entry-header,
    .post__single .entry-content,
    .post__go-back,
    .posts__list {
        padding: 0 5%
    }
}

@media screen and (max-width:768px) {
    .post__single .entry-header,
    .post__single .entry-content,
    .post__go-back,
    .posts__list {
        padding: 0
    }
    .post__single .entry-title {
        font-size: 36px
    }
}

.form__wrap input[type="submit"]:hover,
.form__wrap input[type="submit"]:active,
div#n2-ss-2 .n2-font-7f79fc884397903ef78386bcaac9eb55-link a:hover,
div#n2-ss-2 .n2-font-7f79fc884397903ef78386bcaac9eb55-link a:active {
    background: #727883
}

#menu-item-268,
#menu-item-689,
#menu-item-698,
#menu-item-692,
#menu-item-954,
#menu-item-695 {
    display: none;
}