
.home-cta-col {
    position: relative;
}

.home-cta-col .bg-pattern {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
}

section.home-ctas {
    margin-top: 15px;
}
.cta-btns {
    padding: 60px 50px;
}
.cta-btns a.cb-btn {
    width: 240px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
}
.cta-btns a.cb-btn:last-child {
    margin-bottom: 0;
}
section.gallery-ctas {
    padding: 100px 0;
    background-size: cover;
    background-position: center center;
}
section.gallery-ctas h2 {
    font-weight: 700;
    font-size: 51px;
    line-height: 1.3;
    width: 100%;
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}
section.gallery-ctas .cta-btns {
    padding: 0;
    margin-top: 50px;    
    text-align: center;
}
.cta-btns a.cb-btn {
    display: inline-block;
        margin-bottom: 0;
}
.page-template-page-gallery section.gallery-ctas {
    margin-top: 15px;
}



.multipurpose-boxes .flex-child {
    padding: 40px 25px;
    position: relative;
    overflow: hidden;
    height: 33vw;
    width: calc(33vw - 10px);
    margin-right: 15px;
}
.multipurpose-boxes .box-count-2 .flex-child {
    width: calc(50vw - 15px);
}
.multipurpose-boxes .box-count-1 .flex-child {
    width: 100%;
}
.multipurpose-boxes .flex-child:last-child {
    margin-right: 0;
}

.multipurpose-boxes h1 {
    text-align: center;
    margin: 15px 0 0;
}

.flex-box.box-count-1 .box-bg {
    position: relative;
    width: calc(50% - 8px);
    left: auto;
    top: auto;
    transform: none !important;
    order: 2;
    margin-left: 8px;
}

.multipurpose-boxes h1 {
    position: relative;
    z-index: 9;
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    display: inline-block;
}
.multipurpose-boxes .forminator-field h1 {
    display: none;
}
.multipurpose-boxes .box-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) scale(1.01);
    transition: all 0.4s ease 0s;
    background-size: cover;
    background-position: center center;
}
.multipurpose-boxes .cta-btns {
    display: none;
}
section.multipurpose-boxes {
    margin-bottom: 15px;
}
a.box-link-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}
.multipurpose-boxes .flex-child:hover .box-bg {
    transform: translateY(-50%) translateX(-50%) scale(1.15);
}
.multipurpose-boxes .box-overlay {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.multipurpose-boxes .forminator-custom-form {
    position: relative;
    z-index: 9;
}
.mp-box-content {
    position: relative;
    width: auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 999;
    left: 50%;
    display: inline-block;
}
.multipurpose-boxes h3 {
    font-size: 18px;
    opacity: 1;
    visibility: visible;
    display: inline-block;
        margin-top: 5px;
}

.mp-box-content h2:after {
    content: "\f054";
    font-family: fontawesome; 
    font-weight: 400;
    font-size: 30px;
    margin-left: 0;
    position: absolute;
    left: -25px;
    line-height: 1;
    top: 17px;
}

/*===== CTA BOXES SLIDER =====*/
li.single-cta-slide .cta-right-box {
    margin: 120px 0;
    position: relative;
    margin-left: 50%;
    width: 50%;
    max-width: 400px;
    overflow: hidden;
}
li.single-cta-slide .cta-right-box .box-bg {
    padding-bottom: 100%;
    background-size: cover;
    background-position: center center;
    transform: translateY(0) translateX(0) scale(1.01);
    transition: all 0.4s ease 0s;
        position: relative;
    left: auto;
}
li.single-cta-slide .cta-right-box:hover .box-bg {
    transform: translateY(0) translateX(0) scale(1.15);
}
#cta-box-slider .mp-box-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
}
#cta-box-slider .mp-box-content h2 {
    margin: 0;
    font-weight: 300;
    font-size: 30px;
    display: block;
}
#cta-box-slider .mp-box-content h2:after {
    display: none;
}
#cta-box-slider .mp-box-content h3 {
    margin: 15px 0 0;
}
#cta-box-slider .mp-box-content .cta-btns {
    display: none;
}
#cta-box-slider a.box-link-wrapper {
    position: absolute;
    width: calc(100% - 20px);
    left: 10px;
    height: calc(100% - 20px);
    top: 10px;
    border: 3px solid #fff;
}
#cta-box-slider .cta-left-img {
    width: calc(50% + 100px);
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center center;
}
#cta-box-slider ol.flex-control-nav {
    bottom: 50px;
    width: 50%;
    margin-left: 50%;    
    position: relative;
    z-index: 99;
}

/*========= CTA 3 Boxes =========*/
.cta-box-backgrounds {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    top: 0;
}
.cta-box-backgrounds .cta-box-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
        transition: all 0.5s ease 0s;
        opacity: 0;
}
.cta-box-backgrounds .cta-box-bg.active {
    opacity: 1;
}
.cta-box-details.container {
    position: relative;
    z-index: 9;
}
.single-cta-box {
    display: inline-block;
    padding: 20px;
    background: #fff;
    margin-right: 15px;
    vertical-align: top;
    margin-top: 25vw;
    margin-bottom: 50px;
    position: relative;    
    min-width: 240px;
    transition: all 0.5s ease 0s;
}
.single-cta-box h1 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}
.single-cta-box h3 {
    margin: 0;
    line-height: 2;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    position:relative;
}
.single-cta-box .cta-btns {
    padding: 0;
}
.single-cta-box .cta-btns a.cb-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    font-size: 0;
    background: transparent !important;
}
.single-cta-box h3:after {
    position: absolute;
    content: "";
    width: 60px;
    left: 0;
    bottom: -15px;
    height: 2px;
}










@media screen and (max-width: 1140px) {
    .multipurpose-boxes h1 {
    font-size: 40px;
}
    .home-ctas h2 {
    font-size: 27px;
    width: 100%;
}
    section.gallery-ctas h2 {
    font-size: 48px;
    max-width: 540px;
}
    
    
    
}



@media screen and (max-width: 992px) {
    section.gallery-ctas h2 {
    font-size: 36px;
    }    
}


@media screen and (max-width: 767px) {
    section.gallery-ctas h2 {
    font-size: 24px;
}   
    .home-cta-col a.cb-btn {
    margin-bottom: 15px;
}
    
    .multipurpose-boxes .flex-child {
    width: 100% !important;
    height: 100vw;
    margin: 0 0 15px;
    max-height: 450px;
}
}