
/*body.page-template-referral{
    padding-top: 110px;
}*/
.refferal-header {
    border-bottom: 8px solid #CCFF00;
}
.bg-blue{
    background: #253a60;
}

.referral-heading {
    font-size: 45px;
    font-family: "owners-wide", sans-serif;
    font-weight: 500;
}
.section-subheading {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}
.refferal-header-wraper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.refferal-header-logo {
    width: 120px;
}
.refferal-header-contact {
    width: calc(100% - 120px);
    text-align: right;
}
.refferal-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}
.referral-footer {
    padding: 40px 0;
    background: #253A60;
}
.referral-footer-logo {
    max-width: 130px;
}
.referral-footer-copyright {
    text-align: center;
    color: #fff;
    font-size: 16px;
}
.referral-footer-contact{
	text-align: right;
}
.referral-footer-contact a {
    font-size: 25px;
    color: #CCFF00;
    font-weight: 600;
}
.referral-footer-contact a:hover {
    color: #fff;
}
.referral-banner {
    background-size: cover;
    background-position: right top;
    position: relative;
    padding: 100px 0 0;
    color: #fff;
    height: 800px;
    background-repeat: no-repeat;
}
.referral-banner::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, #000000 55%, rgba(0, 0, 0, 0) 100%);
    left: 0;
    top: 0;
}
.referral-banner-title {
    font-size: 73px;
    line-height: 95px;
    font-family: "owners-wide", sans-serif;
    font-weight: 500;
}
.referral-banner-description {
    font-size: 24px;
    margin-top: 20px;
}
.referral-banner-subheading {
    background-image: url(../img/referral-banner-accent.png);
    font-size: 16px;
    display: inline-block;
    color: #000;
    padding: 12px 25px 12px 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 20px;
    line-height: 16px;
}
.referral-banner-btns {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

a.btn.referral-white-btn {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
a.btn.referral-white-btn svg path{
    fill: #fff;
}
a.btn.referral-white-btn:hover {
    color: #000;
}
a.btn.referral-white-btn:hover svg path{
    fill: #000;
}
a.btn.referral-fill-btn {
    background: #C7DA2C;
}
a.btn.referral-fill-btn::before {
    background: #fff;
}
.referral-banner-content {
    padding-right: 80px;
}
.referral-cta-title {
    font-size: 40px;
    color: #CCFF00;
    font-weight: 500;
    letter-spacing: 5%;
    font-family: "owners", sans-serif;
}
.referral-cta-content {
    font-size: 16px;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-top: 10px;
    line-height: 34px;
}
.referral-cta-list::before {
    position: absolute;
    height: 100%;
    width: 1px;
    background: rgb(255 255 255 / 20%);
    right: 0;
    top: 0;
    content: "";
}
.referral-cta-list {
    position: relative;
}
.referral-cta-list:last-child::before {
    display: none;
}
.referral-cta-section {
    padding: 35px 0;
    color: #fff;
    text-align: center;
}
.referral-case-title {
    background: #CCFF00;
    position: absolute;
    padding: 15px;
    border-radius: 10px;
    font-size: 20px;
    line-height: 30px;
    top: 25px;
    left: 25px;
    z-index: 9;
    font-family: "owners-wide", sans-serif;
    font-weight: 500;
}
.referral-cases-box-wraper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;

}
.referral-case-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    transition: all 0.5s ease;
    flex-wrap: wrap;
}
.referral-case-content {
    color: #fff;
    padding: 20px;
    font-size: 16px;
}
.referral-cases-box-wraper:hover .referral-case-hover-content {
    height: calc(100% - 25px);
}
.referral-case-content h2,
.referral-case-content h3,
.referral-case-content h4,
.referral-case-content h5,
.referral-case-content h6 {
    color: #fff;
     font-family: "owners-wide", sans-serif;
    font-weight: 500;
}
.referral-cases-box-wraper img {
    width: 100%;
    object-fit: cover;
    object-position: top center;
    height: 100%;
}
.referral-built-trust-section{
    position: relative;
}
.referral-built-trust-section::before {
    content: "";
    width: 50%;
    height: 100%;
    left: 0;
    top: 0;
    background: #CCFF00;
    position: absolute;
}
.referral-trust-right {
    color: #fff;
    padding-left: 40px;
}
.referral-trust-left {
    padding-right: 40px;
}
.referral-trust-description {
    font-size: 16px;
}
.referral-trust-title {
    font-size: 24px;
    font-weight: 500;
}
.referral-trust-list {
    margin-bottom: 20px;
}
.referral-trust-list:last-child {
    margin-bottom: 0px;
}
.referral-steps-box-count {
    background-image: url(../img/steps.png);
    width: 150px;
    height: 160px;
    background-size: contain;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background-repeat: no-repeat;
    font-size: 40px;
    font-family: "owners-wide", sans-serif;
    font-weight: 500;
    flex-direction: column;
}
.referral-steps-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}
.referral-steps-content {
    font-size: 16px;
    line-height: 28px;
}
.referral-steps-box-content {
    text-align: center;
    position: relative;
    padding: 40px 15px 0;
    margin-top: 40px;
}
.referral-steps-box-content::after {
    content: "";
    width: 14px;
    height: 14px;
    background: #CCFF00;
    position: absolute;
    top: -7px;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
}
.referral-steps-box-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   border: 1px dotted rgb(0 0 0 / 20%);
}
.referral-steps-box-count span {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.form-left-image {
    position: relative;
    padding-bottom: 25px;
}
.form-pattern-content {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    left: 50%;
    text-align: center;
    width: 100%;
}
.form-pattern-wraper {
    background-image: url(../img/form-contact-accent.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 10px;
}
.form-pattern-description {
    font-size: 16px;
}
.form-pattern-phone a{
    font-size: 30px;
    font-weight: 700;
    color: #000;
}
.referral-form-box .submit-btn input[type="submit"] {
    width: 200px !important;
}
.referral-reviews-name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    text-transform: uppercase;
}
.referral-reviews-box {
    box-shadow: 0px 10px 10px -10px #00000040;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    height: 100%;
}
.referral-reviews-quote {
    margin-bottom: 20px;
}
.referral-reviews-slider {
    position: relative;
    margin-bottom: 80px;
}
.referral-reviews-slider::before {
    content: "";
    background: linear-gradient(270deg, #253A60 21.47%, rgba(37, 58, 96, 0) 100%);
    left: 0;
    height: 100%;
    width: 32%;
    position: absolute;
    z-index: 9;
    transform: rotate(180deg);
}
.referral-reviews-slider::after {
    content: "";
    background: linear-gradient(270deg, #253A60 21.47%, rgba(37, 58, 96, 0) 100%);
    right: 0;
    height: 100%;
    width: 32%;
    position: absolute;
    top: 0;
}
.referral-reviews-slider .slick-track {
    display: flex;
}
.referral-reviews-slider .slick-slide {
    height: auto;
    margin: 0 20px;
}
.referral-reviews-slider .slick-slide > div {
    height: 100%;
}   
.referral-reviews-slide {
    height: 100%;
}
.referral-reviews-slider .slick-arrow {
    left: calc(50% - 65px) !important;
    transform: translateX(-50%);
    bottom: -80px;
}
.referral-reviews-slider .slick-next {
    left: auto !important;
    right: calc(50% - 65px) !important;
}
.referral-reviews-slider .slick-prev:before {
    background-image: url('../img/arrow_circle_prev.png');
}
.referral-reviews-slider .slick-next:before {
    background-image: url('../img/arrow_circle_right.png');
}
.referral-reviews-slider .slick-arrow:hover, .referral-reviews-slider .slick-arrow:focus {
   transform: translateX(-50%);
}
.mobile-referral-banner {
    text-align: center;
    padding: 0 0 50px;
    background: #000;
    color: #fff;
}
.mobile-referral-banner .referral-banner-content {
    padding-right: 0;
    padding-top: 50px;
}
@media screen and (min-width: 1600px) {
body.page-template-referral .container {
    max-width: 1500px;
}
}
@media screen and (max-width: 1400px) {
.referral-banner {
    padding: 70px 0 0;
    height: 650px;
}
.referral-banner-title {
    font-size: 60px;
    line-height: 75px;
}
.referral-banner-description {
    font-size: 20px;
}
}
@media screen and (max-width: 1199px) {
.referral-banner-title {
    font-size: 50px;
    line-height: 65px;
}
.referral-banner-subheading {
   margin-bottom: 15px;
}
.referral-banner-description {
    font-size: 18px;
    margin-top: 10px;
}
.referral-cta-title {
    font-size: 30px;
}
.referral-reviews-slider .slick-slide {
    margin: 0 10px;
}
.referral-banner {
    padding: 50px 0 0;
    height: 530px;
}
}
@media screen and (max-width: 991px) {
.referral-banner::before {
    width: 30%;
}
.referral-cta-content {
    line-height: 25px;
}
.referral-case-hover-content {
    height: calc(100% - 25px);
}
.referral-trust-left h2.heading.referral-heading br {
    display: none;
}
.referral-trust-left {
    padding-right: 20px;
}
.referral-trust-right {
    padding-left: 20px;
}
.referral-steps-list {
    margin-bottom: 30px;
}
.referral-reviews-slider::before,
.referral-reviews-slider::after{
    display: none;
}
.footer-copyright-col{
    order: 3;
}
.referral-banner-content {
    padding-right: 0;
}
}
@media screen and (max-width: 767px) {
  body.page-template-referral{
    padding-top: 118px;
}  
.refferal-contact {
    gap: 0px;
    flex-direction: column;
    align-items: end;
}
.refferal-header-logo {
    width: 90px;
}
.refferal-header-contact {
    width: calc(100% - 90px);
}
.refferal-header-contact a.btn {
   padding: 15px 45px 15px 12px;
}
.refferal-header-contact .btn .icon {
    width: 40px;
}
.referral-built-trust-section::before {
    background: transparent;
}
.referral-trust-left {
    color: #fff;
    padding-right: 0;
    margin-bottom: 25px;
}
.referral-trust-left h2.heading.referral-heading {
    color: #fff;
}
.referral-trust-right {
    padding-left: 0;
}
.form-pattern-top {
    font-size: 15px;
    line-height: 20px;
}
.form-pattern-phone a {
    font-size: 20px;
    line-height: 30px;
}
.form-pattern-description {
    font-size: 13px;
    line-height: 15px;
}
.form-pattern-phone {
    line-height: normal;
}
.referral-footer-logo {
    max-width: 100px;
    margin: auto;
}
.referral-footer-contact {
    text-align: center;
    margin-top: 15px;
}
.referral-footer-copyright {
    font-size: 14px;
}

.referral-banner-title {
    font-size: 36px;
    line-height: 45px;
}
.referral-footer {
    padding: 40px 0 20px;
}
.referral-cta-box {
    padding-bottom: 20px;
    padding-top: 20px;
}
.referral-cta-list::before {
    width: 100%;
    height: 1px;
    bottom: 0;
    top: initial;
}
.referral-reviews-slider .slick-arrow {
   transform: initial !important;
}
}