.banner {
    background: url(https://www.royacdn.com/unsafe/smart/Site-7d3dc1d8-d3f6-4abc-a145-81e8a45f02e0/landingpage_assets/landingpage_banner01.jpg);
    padding: 0;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   
}

.form-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-container {
    max-width: 1200px;
    padding: 0;
}

.form-wrap {
    background: #fff;
    border-radius: 5px;
    padding: 2em 3em 3em;
    width: 45%;
    position: relative;
}

.form-wrap h2 {
    font-weight: bold;
    color: #9b8578;
    font-family: lato;
    font-style: normal;
    text-transform: capitalize;
    font-size: 45px;
}

.form-wrap h3 {
    font-family: lato;
    font-style: normal;
    color: #5b5b5b;
    text-transform: capitalize;
    font-size: 25px;
}

.form-control {
    height: 50px;
    border-bottom: 1px solid rgb(158 158 158 / 25%);
    border-radius: 0 !important;
    font-family: lato;
    font-style: normal;
    padding: 3em 15px 30px !important;
    border-top: 1px solid transparent;
    border-right: none;
    border-left: none;
}



div#first-name {
    padding-left: 0;
}

form#contactLead {
    margin-top: 1.5em;
}

input.ry-btn.ry-btn-primary.submit-btn {
    background: #aea39d;
    border: none !important;
    color: #fff;
    text-transform: uppercase;
    font-family: lato;
    font-style: normal;
    padding: 24px 50px;
    margin: 4em auto 0;
    display: flex;
    font-weight: bold;
    font-size: 18px;
}

.sections .ry-container {
    max-width: 80%;
}

.section .ry-container {
    max-width: 80%;
    margin: auto;
    float: none;
    clear: both;
}

div#first-section {
    padding: 5em 0;
    background: #fff;
}

div#first-section h1, div#second-section h2 {
    font-weight: bold;
    font-family: lato;
    color: #9b8578;
    font-size: 48px;
    margin-bottom: 25px;
    margin-top: 0;
}

.section a.btn.btn-primary {
    border-radius: 0;
    font-weight: bold;
    text-transform: uppercase;
    font-family: lato;
    font-style: normal;
    padding: 24px 50px;
    font-size: 18px;
}

.section p {
    font-family: lato;
    font-style: normal;
    font-size: 20px;
    line-height: 1.8em;
    color: #313232;
}

.right-content-bg {
    background: #d0ccc9;
    padding: 3em;
    margin-bottom: 2.5em;
}

.right-content-bg p {
    color: #313232;
    margin-bottom: 0;
    text-align: justify;
    font-weight: 400;
}

.left-content {
    width: 70%;
    padding: 4em 2em;
}

div#first-section .content-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-content {
    width: 59%;
}

div#first-section .content-block:before {
    background: #fcfcfc;
    width: 64%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
}


.form-wrap:before {
    height: 445px;
    background: url(https://www.royacdn.com/unsafe/smart/Site-7d3dc1d8-d3f6-4abc-a145-81e8a45f02e0/landingpage_assets/base_shadow1010.png);
    content: '';
    position: absolute;
    bottom: -101px;
    width: 100%;
    right: -47px;
    max-width: 550px;
    background-size: contain !important;
    background-repeat: no-repeat;
    opacity: 0.3;
}


.content-wrap {width: 23%;background: #d0ccc9;height: 320px !important;display: flex;align-items: center;justify-content: center;}

div#second-section .content-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1em 0 3em;
    flex-wrap: wrap;
}

div#second-section {
    padding-bottom: 5em;
    background: #fff;
}

.content-wrap p {
    color: #313232;
    line-height: 1.5em;
}

.content-wrap-bg {
    padding: 0 1.5em;
    position: absolute;
    top: 1em;
}

.title-block {
    border-bottom: 1px solid rgb(255 255 255 / 0.20);
    margin-bottom: 1em;
}

.title-block h3 {
    color: #9b8578;
    font-size: 23px;
    font-family: lato;
    font-weight: bold;
    font-style: normal;
    margin-bottom: 20px;
}

div#landingpage {
    width: 100%;
}

div.book-wrap {
    width: 45%;
}

div.book-wrap img {
    max-width: 520px;
    float: right;
}



@media (max-width:991px) {
    .form-block {
        flex-direction: column;
    }

    div.book-wrap {
        width: 100%;
    }

    .form-wrap {
        width: 100%;
        max-width: 600px;
    }

    .banner {
        height: auto;
        padding: 0em 0 2em;
    }

    .form-wrap:before {display: none;}

    div.book-wrap img {
        max-width: 300px;
        float: none;
        margin: 2em auto;
    }

    .banner-container {
        max-width: 90%;
    }

    .form-wrap h2 {
        font-size: 25px;
    }

    .form-wrap h3 {
        font-size: 20px;
    }

    div#first-section .content-block {
        flex-direction: column;
    }

    .left-content, .right-content {
        width: 100%;
    }

    div#first-section .content-block:before {
        display: none;
    }

    .left-content {
        background: #fcfcfc;
        margin-bottom: 2em;
    }

    .section .ry-container {
        max-width: 100%;
    }

    div#first-section {
        padding: 2em 0;
    }

    div#first-section h1, div#second-section h2 {
        font-size: 25px;
        text-align: center;
    }

    .section p {
        text-align: center;
    }

    div#second-section {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .content-wrap {
        width: 48%;
        margin-bottom: 1em;
    }
}

@media (max-width:500px) {
    .form-wrap {
        padding: 2em 1em;
    }

    input.ry-btn.ry-btn-primary.submit-btn {
        font-size: 16px;
        padding: 20px 25px;
    }

    .right-content-bg {
        padding: 3em 1em;
    }
}


@media (max-width:700px) {
    .content-wrap {
        width:100%;
        max-width:300px;
        margin:0 auto 1em;
        height: 400px !important;
    }
}

@media (max-width:1440px) and (min-width:992px) {
    
    .banner-container {
        transform: scale(.8);
    }

    div.book-wrap {
        width: 40%;
    }

    .form-wrap {
        width: 65%;
        transform: scale(.9);
        top: -5em;
        margin-left: 2em;
    }

    div.book-wrap img {
        position: relative;
        top: -3em;
        left: 2em;
    }

    .form-wrap:before {
        bottom: -92px;
    }

    .section .ry-container {
        max-width: 90%;
    }
}


@media (max-width:1299px) and (min-width:992px) {
    div.content-wrap {
        width: 48%;
        margin-bottom: 1em;
    }
	
	div#first-section h1, div#second-section h2 {
		font-size: 35px;
	}
}

@media (max-width:1600px) and (min-width:992px) {
    .content-wrap {
        width: 24%;
        height: 420px !important;
    }
 }


@media (max-width:991px) {
	
	div#last-name, div#first-name {
		padding: 0;
	}
	
	.landingpae.banner {
		border-bottom: 10px solid #9b8578;
	}
}

@media (min-width:992px) {
	.banner {
    border-bottom: 8px solid #9b8578;
}
