/* New Homepage Style */

:root {

    --site-green : #00a884;
    --theme-green : #2ab3a3;
    --color-light-green : #b1ffc4;
    --theme-orange : #FA4214;
}

p {
    line-height: 1.4em;
}

.btn {
    padding: 8px 20px 10px;
    border-radius: 40px;
    border-width: 2px;
}

a.btn.btn-orange {
    background-color: var(--theme-orange);
    color: #fff;
}

a.btn.btn-outline {
    border: 2px solid var(--color-light-green);
    color: #fff;
}

a.btn.btn-outline img {
    max-width: 26px;
}

a.btn.btn-orange:hover {
    background-color: #fff;;
    border-color: var(--theme-orange);
    color: var(--theme-orange);
}

a.btn.btn-outline:hover {
    background-color: var(--theme-orange);
    color: #fff;
    border-color: var(--theme-orange);
}

section.homepage-banner {
    background-position: center !important;
    background-size: cover !important;
    padding: 2.5em 0;
    position: relative;
}

img.devonshires-winners-badge {
    position: absolute;
    max-width: 200px;
    right: 5%;
    bottom: 6%;
}

.homepage-banner .col-md-6:first-child {
    padding-right: 2em;
}

.homepage-banner p:first-child {
    margin-bottom: 10px;
    color: var(--color-light-green);
}

.homepage-banner h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

p.banner-desc {
    margin-bottom: 15px;
}

.banner-images {
    display: flex;
    align-items: center;
    margin-bottom: 2.5em;
}

.rating-image {
    max-width: 260px;
    margin-right: 4em;
}

.times-new-logo {
    max-width: 140px;
}

.rating-image span {
    color: #fff;
    font-size: 0.875rem;
}

.homepage-banner .btn-orange {
    margin-right: 30px;
}

section.search-info {
    padding: 25px 0;
}

.small-container {
    max-width: 1020px;
    margin: 0 auto;
}

section.search-info .small-container {
    padding: 1em 1.5em 2em;
    background-color: #f6f6f6;
    border-radius: 20px;
}

section.search-info h3 {
    color: var(--theme-green);
    font-weight: 600;
}

section.search-info h3 span {
    text-decoration: underline;
    color: #333;
}

section.search-info p {
    margin-bottom: 30px;
}

.search p {
    margin-bottom: 0 !important;
    color: var(--theme-green);
}

.popular-services h3 span {
    display: inline-block;
    height: 20px;
    width: 2px;
    background-color: var(--theme-green);
    position: relative;
    margin: 0 5px;
}

.popular-services h3 span:before {
    content: '';
    display: inline-block;
    height: 5px;
    position: absolute;
    top: -5px;
    left: 0;
    width: 2px;
    background-color: var(--theme-green);
}

.popular-services h3 span:after {
    content: '';
    display: inline-block;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 2px;
    background-color: var(--theme-green);
}

.popular-services h3 {
    color: var(--theme-green);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.675rem;
}

.service-box {
    margin-bottom: 30px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.service-image {
    position: relative;
    background-color: #f4f4f4;
}

.service-image, .service-image img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.service-box h4 {
    margin: 18px 0 6px;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--theme-green);
}

.service-image span {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--theme-green);
    font-size: 0.875rem;
    padding: 0 14px;
    color: #fff;
}

.service-box p {
    margin-bottom: 20px;
}

a.service-box-link {
    display: block;
    color: #000;
}

a.service-box-link:hover {
    text-decoration: none;
}

.visit-info-hub {
    margin-top: 2em;
}

.visit-info-hub h4 {
    margin-bottom: 15px;
    font-size: 1.375rem;
    font-weight: 600;
}

section.client-stories {
    padding: 3em 3em 2em;
    margin-top: 3em;
    background-position: center !important;
    background-size: cover !important;
}

section.client-stories .service-box {
    background-color: #fff;
    border-radius: 15px;
}

.client-stories .col-md-4:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.client-stories .service-content {
    padding: 0 25px;
    min-height: 330px;
}

.client-stories h3 {
    color: var(--theme-green);
    font-weight: 600;
    margin-bottom: 20px;
}

.dev-client-reviews {
    padding: 2em 2.5em;
}

.client-review-block h4 {
    margin-bottom: 0;
}

.client-reviews {
    display: flex;
    background-color: var(--theme-green);
    border: 4px solid var(--color-light-green);
    border-radius: 26px;
    padding: 20px 35px;
    align-items: center;
}

.client-reviews h4 {
    color: #fff;
    font-weight: 600;
    font-size: 1.375rem;
}

.dev-client-reviews .col-md-8 {
    display: flex;
}

.review-block {
    display: flex;
    flex-wrap: wrap;
}

.review-block .review {
    width: calc(50% - 20px);
    background-color: #fff;
    margin-right: 20px;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.review-block .review p {
    font-size: 0.875rem;
    margin: 10px 0 6px;
}

.review-block .review h5 {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0;
    margin-top: 4px;
}

.review-btn {
    width: calc(100% - 20px);
    text-align: center;
    padding-top: 20px;
}

.client-review-block {
    width: 70%;
}

.recommended-by {
    width: 30%;
    text-align: center;
    border-left: 1px solid #fff;
    width: 26%;
}

.client-review-block .rating-image {
    margin-bottom: 8px;
}

section.form-section {
    padding: 0 2.5em;
}

.form-section input[type=submit] {
    border-width: 2px;
}

.form-container {
    background-color: var(--greenish-blue-color);
    padding: 30px 70px;
    border-radius: 135px;
}

.check-img {
    width: 36px;
    position: relative;
}

.check-img-wrapper {
    position: relative;
}

.check-img-wrapper::before {
    content: "";
    background: var(--white);
    width: 35px;
    height: 35px;
    display: inline-block;
    position: absolute;
    bottom: -10px;
    left: -6px;
    border-radius: 100px;
}

.form-container .ninja-forms-field {
    border-radius: 40px;
    padding: 6px 30px;
}

.form-container .submit-wrap {
    margin-top: 35px;
}

.form-section .row {
    align-items: center;
}

.form-section h3 {
    color: var(--theme-green);
    font-weight: 600;
	margin-bottom: 0;
	margin-right: 10px;
	font-size: 1.95rem;
}

.form-section h3 span {
    display: block;
    font-size: 2.54rem;
}

section.form-section .award-title {
    display: flex;
    align-items: center;
	margin-bottom: 12px;
}

section.form-section .award-title img {
    max-width: 164px;
}

.form-section p span {
    color: #FA4214;
    font-weight: 600;
}

section.faqs {
    background-color: #f6f6f6;
    padding: 2em 0;
    margin-top: 3em;
}

section.faqs h3 {
    font-weight: 600;
    color: var(--theme-green);
    margin-bottom: 10px;
}

.faqs .card {
    border: 0;
}

.faqs .card-header {
    background-color: var(--site-green);
    padding: 0;
    border-width: 2px;
    border-color: #fff;
}

.faqs .card-header a.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
}

.faqs .card-header a.card-link i {
    font-size: 2rem;
    transform: rotate(180deg);
    transition: all 0.5s ease;
}

.faqs .card-header a.card-link.collapsed i {
    transform: rotate(0);
}

.faqs .card-body {
    padding: 16px 20px;
    line-height: 1.5em;
    font-size: 1rem;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.card-body ul {
    margin-bottom: 0;
}

section.news-articles {
    background-color: var(--theme-green);
    padding: 2em 0;
}

section.news-articles h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}

.dev-posts {
    display: flex;
    gap: 40px;
}

section.news-articles .dev-posts .post-item {
    flex: 1;
}

section.news-articles .dev-posts .post-item h5 {
    font-size: 1.125rem;
    min-height: 70px;
}

.dev-posts .post-image {
    min-height: 250px;
    background-position: center !important;
    background-size: cover !important;
    min-height: 170px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: relative;
}

.dev-posts .post-image span {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--theme-green);
    color: #fff;
    font-size: 0.875rem;
    padding: 0 20px;
}

.post-content {
    background-color: #fff;
    text-align: center;
    padding: 0 10px;
}

.post-content h5 {
    font-weight: 600;
    font-size: 1.25rem;
    padding-top: 25px;
    margin-bottom: 0;
}

.post-content h5 a, 
.post-content h5 a:hover {
    color: var(--theme-green);
    text-decoration: none;
}

.post-content p {
    margin: 12px 0 0;
    padding-bottom: 18px;
    font-size: 0.875rem;
}

.view-all-posts-btn {
    text-align: center;
    margin-top: 30px;
}

#full-width-page-wrapper {
    padding-bottom: 10px;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
}

.search-box .asp_m.ajaxsearchpro {
    margin-top: 12px !important;
    border-color: #fa4214 !important;
    border-width: 2px !important;
    border-radius: 40px !important;
}

.probox {
    height: auto !important;
}

div.asp_m.asp_m_1 .probox .proinput input.orig {
    font-size: 1rem;
    height: 100%;
}

.proinput {
    height: 100% !important;
}

div.asp_m.asp_m_1 .probox {
    padding: 5px 10px;
    margin: 0 !important;
}

input.orig::placeholder {
    font-size: 1rem !important;
}

.search-info .asp_res_text {
    display: none;
}

.search-info .results .item div.etc {
    margin-bottom: 0 !important;
}

#ajaxsearchprores1_3 {
    background-color: #eee !important;
    padding: 10px 20px 10px !important;
    border-radius: 10px !important;
}

.asp_w.asp_r .results {
    height: auto !important;
}

.results .item .asp_content {
    padding: 6px 0px !important;
}

.results .item .asp_content h3 a {
    font-size: 1rem !important;
}

.results .asp_group_header {
	padding-left: 0 !important;
}


/* Common Styles */

.service-box a.view-more-link:hover, 
.post-item a.view-more-btn:hover {
    background-color: var(--site-green);
}

.post-item .view-more-btn, .service-box a.view-more-link {
    background-color: #fa4214;
    display: flex;
    justify-content: flex-end;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.post-item .view-more-btn img, .service-box a.view-more-link img {
    max-width: 26px;
}



@media (min-width: 768px) {
    .homepage-banner .col-md-6:last-child {
        display: none;
    }

    .mobile {
        display: none;
    }

    .load-more-service {
        display: none;
    }

}

/* Mobile Style */
@media (max-width: 767px) {
    section.homepage-banner {
        padding-top: 34px;
        padding-bottom: 15px;
        background: none;
    }
    
    img.devonshires-winners-badge {
        display: none;
    }
    
    .homepage-banner .col-md-6:first-child {
        background-color: var(--theme-green);
        padding: 40px 30px;
    }

    .homepage-banner .col-md-6:first-child {
        order: 1;
        margin-top: -80px;
        padding-top: 5.5em;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 30px;
    }
    
    .homepage-banner .col-md-6:last-child {
        padding: 0 15px;
    }
    
    .mobile-banner-image {
        position: relative;
        z-index: 1;
    }
    
    .mobile-banner-image img:last-child {
        max-height: 90px;
        position: absolute;
        right: 14px;
        top: calc(50% - 45px);
    }

    .homepage-banner h2 {
        font-size: 1.58rem;
    }

    .homepage-banner h2 {
        font-size: 1.58rem;
    }

    .banner-images .times-new-logo {
        display: none;
    }
    
    .banner-images {
        margin-bottom: 20px;
    }
    
    .banner-actions a.btn.btn-orange {
        margin-right: 0;
        margin-bottom: 14px;
    }
    
    .banner-actions a.btn {
        width: 65%;
    }
    
    .rating-image {
        text-align: left;
        max-width: 85%;
        width: 100%;
        margin: 0 auto;
    }
    
    .rating-image a {
        display: block;
    }
    
    img.devionshires-rating {
        width: 100%;
    }
    
    p.banner-desc {
        margin-bottom: 10px;
    }
    
    .times-new-logo.mobile {
        text-align: center;
        max-width: 100%;
        padding-top: 20px;
    }

    section.search-info {
        background-color: #f6f6f6;
        padding-bottom: 35px;
    }
    
    section.search-info .small-container.text-center {
        padding: 0;
    }
    
    section.search-info h3 {
        font-size: 1.67rem;
        margin-bottom: 20px;
    }
    
    section.search-info p {
        margin-bottom: 20px;
    }
    
    section.popular-services {
        padding-top: 30px;
    }
    
    .popular-services .col-md-4 {
        padding: 0 15px;
    }

    .popular-services .col-md-4.hide-for-mobile {
        display: none;
    }
    
    .service-box p {
        display: none;
    }
    
    .service-box h4 {
        margin-bottom: 12px;
        padding: 0 10px;
        font-size: 1.25rem;
    }
    
    .popular-services .small-container .col-md-12 {
        padding: 0;
        margin: 0 15px;
    }
    
    .visit-info-hub {
        border-top: 2px solid #bbbbbb;
        margin-top: 20px;
        padding-top: 30px;
    }

    section.client-stories {
        padding: 25px 0;
        text-align: center;
    }
    
    .client-stories .col-md-4:first-child {
        padding: 0 15px;
    }
    
    .client-stories .service-content {
        min-height: auto;
        padding: 0 10px;
    }

    .client-stories-desc .btn {
        display: none;
    }

    section.dev-client-reviews {
        padding: 20px 0;
    }
    
    section.dev-client-reviews .container-fluid {
        padding: 0 5px;
    }
    
    .client-review-block {
        width: 100%;
        text-align: center;
        padding-top: 5px;
    }
    
    .client-review-block .rating-image {
        max-width: 100%;
    }
    
    .client-reviews h4 {
        margin-bottom: 5px;
    }
    
    .client-reviews {
        padding: 25px;
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .review-block {
        flex-direction: column;
    }
    
    .review-block .review {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .client-review-block img.devionshires-rating {
        margin-bottom: 10px;
    }
    
    .recommended-by {
        width: 100%;
        border: 0;
        display: flex;
        align-items: center;
    }
    
    .recommended-by img:last-child {
        max-width: 80px;
    }
    
    .recommended-by {
        margin-top: 30px;
        justify-content: space-between;
    }
    
    .review-block a.btn.btn-outline {
        max-width: 90%;
    }
    
    .dev-client-reviews .col-md-4 img {
        max-width: 88%;
        margin: 0 auto;
    }
    
    .dev-client-reviews .col-md-4 {
        text-align: center;
    }

    .form-section .col-md-6:first-child {
        order: 1;
    }
    
    section.form-section {
        text-align: center;
        padding: 0;
    }
    
    .form-section h3 {
        font-size: 1.375rem;
        margin: 10px 0 10px;
    }
	
	section.form-section .award-title {
		flex-direction: column;
	}

	section.form-section .award-title img {
		margin: 15px 0 5px;
	}
    
    .form-section h3 span {
        font-size: 1.85rem;
    }
    
    .form-section .col-md-6 p:last-child {
        display: none;
    }
    
    .form-container {
        border-radius: 12px;
        padding: 20px 20px;
    }
    
    .form-container h5 {
        font-size: 1.275rem;
    }
    
    .form-container .ninja-forms-field {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .form-section input[type=submit] {
        width: 60% !important;
    }
    
    .check-img {
        width: 30px;
        top: -6px;
    }
    
    .check-img-wrapper::before {
        width: 30px;
        height: 30px;
        bottom: -6px;
    }

    .for-desktop-screen {
        display: none;
    }

    .form-section p.mobile {
        display: block !important;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .faqs .card-header a.card-link {
        font-size: 1rem;
        line-height: 1.4em;
    }

    .faqs .col-md-12 {
        padding-left: 20px;
        padding-right: 20px;
    }

    section.faqs h3 {
        font-size: 1.75rem;
    }

    section.news-articles {
        text-align: center;
    }
    
    section.news-articles h3 {
        font-size: 1.75rem;
    }
    
    .dev-posts {
        display: block;
    }
    
    .dev-posts .post-item:not(:last-child) {
        margin-bottom: 25px;
    }

    .post-content p {
        display: none;
    }
    
    .post-content h5 {
        padding-bottom: 20px;
    }

    .load-more-service {
        width: 100%;
        margin: 0 15px;
    }
    
    .load-more-service p {
        margin-bottom: 2px;
        font-weight: 600;
        font-size: 1.25rem;
    }
    
    .load-more-service img {
        max-width: 50px;
        cursor: pointer;
    }
}