.text_grid12 {
    width: 100%;
}

.text_grid12 .heading-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 750px;
    text-align: center;
    margin-bottom: 30px;
}

.text_grid12 .heading-wrapper .title h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
}

.text_grid12 .heading-wrapper .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.text_grid12.backgrounded-text{
    background: #f9f9f9;
    padding: 35px 60px;
    margin: 0px 0 70px;
}

.text_grid12.backgrounded-text .heading-wrapper{
    display: none;
}

.text_grid12.backgrounded-text .description .ckeditor-row strong{
    font-size: 27px;
    color: #000000;
}

.text_grid12.backgrounded-text .description p{
    margin-bottom: 10px;
}

.text_grid12.backgrounded-text .description .ckeditor-row .col {
    font-size: 16px;
    line-height: 29px;
    padding-right: 80px;
}

.text_grid12.without-heading .heading-wrapper{
    display: none;
}

.text_grid12.without-heading .description p{
    max-width: 80%;
    margin: auto;
    line-height: 29px;
    text-align: center;
}

.text_grid12.item-text-centar{
    margin: 15px auto;
    text-align: center;
}

.text_grid12.item-text-centar h1{
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 15px;
}

.text_grid12.black-item h1{
    color: #ffffff;
}

.text_grid12.white-item h1,
.text_grid12.black-item h1{
    margin-top: 50px;
}


.text_grid12.item-text-centar .description{
    font-size: 18px;
    line-height: 28px;
    max-width: 980px;
    margin: auto;
}

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

    .text_grid12 {
        padding: 15px;
    }

    .text_grid12 .heading-wrapper {
        max-width: 100%;
    }

    .text_grid12 .heading-wrapper .title h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .text_grid12 .heading-wrapper .description {
        font-size: 14px;
        line-height: 18px;
    }

    .text_grid12.backgrounded-text{
        padding: 10px 20px;
        margin: 0px 10px 0px;
    }

    .text_grid12.backgrounded-text .description .ckeditor-row strong{
        font-size: 24px;
    }

    .text_grid12.backgrounded-text .description .ckeditor-row .col {
        font-size: 14px;
        line-height: 29px;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .text_grid12.without-heading .description p{
        max-width: 100%;
        text-align: left;
    }

    .text_grid12.white-item .heading-wrapper,
    .text_grid12.black-item .heading-wrapper{
        margin-bottom: 0;
    }

    .text_grid12.white-item h1,
    .text_grid12.black-item h1 {
        margin-top: 20px;
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 0;
    }

}
