.two-column-grid-with-bg {
    position: relative;
    padding: 180px 0;
    margin-top: -80px;
    margin-bottom: -80px;
    overflow: hidden;
}

.two-column-grid-with-bg .content-block {
    max-width: 912px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.two-column-grid-with-bg .two-column-grid {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
}

.two-column-grid-with-bg .content-block span.h6 {
    margin-bottom: 20px;
}

.two-column-grid-with-bg .content-block h2 {
    margin-bottom: 50px;
}

.two-column-grid-with-bg .content-block p {
    font-size: 23px;
    line-height: 31px;
}

.two-column-grid-with-bg .two-column-grid .two-column-grid-iner {
    width: 50%;
    padding: 0 30px;
    position: relative;
}

.two-column-grid-with-bg .two-column-grid .two-column-grid-iner .two-column-grid-box {
    padding: 65px 50px;
    border-bottom: 1px solid #BAC7B5;
    height: 100%;
    text-align: center;
}

.two-column-grid-with-bg .two-column-grid-iner:nth-child(1) .two-column-grid-box, 
.two-column-grid-iner:nth-child(2) .two-column-grid-box {
    border-top: 1px solid #BAC7B5;
}

.two-column-grid-with-bg.bg-brown .two-column-grid-iner:nth-child(1) .two-column-grid-box, 
.bg-brown .two-column-grid-iner:nth-child(2) .two-column-grid-box {
    border-top: 1px solid #E5BABA;
}
.two-column-grid-with-bg.bg-brown  .two-column-grid > div:nth-child(odd):before{
    background: #E5BABA;
}
.two-column-grid-with-bg.bg-brown .two-column-grid .two-column-grid-iner .two-column-grid-box{
    border-bottom: 1px solid #E5BABA;
}

.two-column-grid-with-bg .two-column-grid > div:nth-child(odd):before {
    content: "";
    content: "";
    display: block;
    background: #BAC7B5;
    height: calc(100% - 70px);
    width: 1px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.two-column-grid-with-bg .two-column-grid > div:last-child:nth-child(odd) {
    width: 100%;
    text-align: center;
}

.two-column-grid-with-bg .two-column-grid > div:last-child:nth-child(odd):before {
    display: none;
}
.two-column-grid-with-bg .two-column-grid > div:last-child:nth-child(odd) .two-column-grid-box {
    border-bottom: 0;
    padding-bottom: 0;
}
.two-column-grid-with-bg:before {
    content: "";
    display: block;
    background-image: url(../images/bg-shape-top-fulll.png);
    height: 80px;
    width: calc(100% + 40px);
    background-repeat: no-repeat;
    background-size: 100% 80px;
    top: -1px;
    position: absolute;
    left: -20px;
    right: 0;
}
.two-column-grid-with-bg:after{
     content: "";
        display: block;
        background-image: url(../images/bg-shape-bottom-full.png);
        height: 80px;
        width: calc(100% + 40px);
        background-repeat: no-repeat;
        background-size: 100% 80px;
        bottom:-1px;
        position: absolute;
        left: -20px;
        right: 0;
}
@media only screen and (max-width:1199px){
    .two-column-grid-with-bg .two-column-grid .two-column-grid-iner .two-column-grid-box {
        padding: 50px 30px;
        border-bottom: 1px solid #BAC7B5;
    }
}
@media only screen and (max-width:991px){
    .two-column-grid-with-bg .two-column-grid .two-column-grid-iner .two-column-grid-box {
        padding: 30px 15px;
    }
    .two-column-grid-with-bg .two-column-grid .two-column-grid-iner {
        padding: 0 15px;
    }
    .two-column-grid-with-bg {
        margin-top: -60px;
        margin-bottom: -60px;
        padding: 120px 0;
    }
    .two-column-grid-with-bg:before {
        height: 60px;
        background-size: 100% 60px;
    }
    .two-column-grid-with-bg:after {
        height: 60px;
        background-size: 100% 60px;
    }
}
@media only screen and (max-width:767px){
    .two-column-grid-with-bg .two-column-grid .two-column-grid-iner {
        width: 100%;
    }
    .two-column-grid-with-bg .two-column-grid > div:nth-child(odd):before{
        display: none;
    }
    .two-column-grid-with-bg .two-column-grid-iner:nth-child(2) .two-column-grid-box{
      border-top: 0;
    }
    .two-column-grid-with-bg {
        margin-top: -30px;
        margin-bottom: -30px;
        padding: 90px 0;
    }
    .two-column-grid-with-bg:before {
        height: 30px;
        background-size: 100% 30px;
    }
    .two-column-grid-with-bg:after {
        height: 30px;
        background-size: 100% 30px;
    }
    .two-column-grid-with-bg .two-column-grid .two-column-grid-iner {
        padding: 0;
    }
}
