/**
 * @package Helix Framework
 * @template Shaper Empire
 * @author JoomShaper https://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2016 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/

/*==========  Responsive Media Query  ==========*/

//Ratina Display
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    #spproperty-slider.owl-carousel {
        .owl-nav {
            div.owl-next {
                right: 32%;
            }
            div.owl-prev {
                left: 32%;
            }
        }
    }
    // .sp-property-search.property-search .property-search-button button.sppb-btn,
    // .sp-property-search.property-search .property-search-button button.btn{
    //     padding-top: 2px !important;
    // }
}
@media only screen and (min-width:1701px) and (max-width : 2000px) {
    #spproperty-slider.owl-carousel {
        .owl-nav {
            div.owl-next {
                right: 32%;
            }
            div.owl-prev {
                left: 32%;
            }
        }
    }
}
@media only screen and (min-width:1400px) and (max-width : 1700px) {
    #spproperty-slider.owl-carousel {
        .owl-nav {
            div.owl-prev {
                left: 31.5%;
            }
            div.owl-next {
                right: 31.5%;
            }
        }
    }

}
/* Medium Device */
@media only screen and (min-width:992px) and (max-width : 1199px) {
    //Header
    .sp-contact-info::before{
        display: none;
    }
    .sp-megamenu-parent {
        > li {
            > a {
                letter-spacing: 2px;
                padding: 0 15px;
            }
        }
    }
    .sticky-wrapper.is-sticky{
        #sp-header {
            #sp-logo {
                .has-scroll-logo {
                    height: 65px;
                    img{
                        height: 100%;
                    }
                }
            }
        }
    }
    //Slider
    #slider{
        &.flexslider {
            .slides {
                h1 {
                    font-size: 50px !important;
                }
            }
        }
    }
    .slide_thumb_wrap{
        display: none;
    }
    .sppb-addon-thumb-gallery {
        #slider {
            .slides {
                > li {
                    .thumb-slider-bg {
                        height: 600px !important;
                    }
                }
            }
            .flex-direction-nav{
                display: block;
                a{
                    text-align: center;
                    padding-top: 6px;
                    &:focus{
                        color: @major_color;
                    }
                    &:before{
                        color: #fff;
                        box-shadow: none;
                    }
                }
            }
            &:hover {
                .flex-direction-nav {
                    a{
                        opacity: 1;
                    }
                }
            }
        }
    }
    //Search
    .sp-property-search {
        form{
            .col-lg-2{
                margin-bottom: 15px;
                .property-search-button{
                    text-align: right;
                }
            }
            .form-group{
                margin-bottom: 0;
            }
        }
    }
    .modal-dialog.modal-lg {
        width: 100%;
    }
    .sp-advance-search-wrap{
        form{
            .form-group{
                margin-bottom: 0;
            }
            .col-sm-4{
                margin-bottom: 20px;
            }
        }
    }
    .sp-advaced-search {
        .sp-advance-search-wrap {
            span.close {
                right: -5px;
            }
        }
    }
    //Testimonial
    .sppb-testimonial-pro {
        .sppb-testimonial-wrapper {
            padding: 35px 40px 77px 42px;
        }
    }
    .sppb-testimonial-pro {
        .sppb-testimonial-wrapper {
            .sppb-testimonial-message {
                font-size: 22px;
            }
        }
    }
    //Footer
    #sp-footer {
        ul.menu {
            li {
                a {
                    margin-right: 20px;
                }
            }
        }
    }
    //Coming Soon Page
    .sp-comingsoon-countdown{
        text-align: center;
    }
    .sp-comingsoon {
        .days,.minutes, .seconds, .hours{
            margin-right: 30px;
        }
    }
    //Contact Page
    #sp-page-builder {
        .empire-lets-talk {
            padding: 80px 0 !important;
            .sppb-addon-ajax-contact {
                .sppb-ajaxt-contact-form {
                    .sppb-form-group.sppb-input-group {
                        width: 31.2%;
                    }
                }
            }
        }
    }
    //Property Page
    .spproperty-view-properties.spproperty {
        padding: 30px 0 70px;
    }
    //Property details page
    .spproperty-view-agents.spproperty-agents .spproperty-agent-widget {
        ul.spproperty-agent-social {
            position: relative;
            right: 0;
            top: 20px;
        }
    }
    //Agent Page
    .spproperty.spproperty-view-agent {
        .agent-contact-from input[name="name"],
        .agent-contact-from input[name="email"],
        .agent-contact-from input[name="phone"] {
            width: 31.04%;
        }
        .agent-contact-from {
            padding: 40px 30px 50px;
        }
    }
    .com-spproperty.view-agent{
        #sp-main-body {
            padding: 40px 0 70px;
        }
    }
    //Blog Page
    .com-content.layout-blog {
        #sp-main-body {
            padding-bottom: 50px;
            padding-top: 80px;
        }
    }
    article.item{
        padding-bottom: 30px;
        .entry-link {
            padding: 45px 35px;
        }
        .entry-header {
            padding: 40px 20px 15px;
            h2{
                a{
                    font-size: 20px;
                }
            }
        }
        p {
            padding-left: 20px;
            padding-right: 20px;
        }
        .entry-quote {
            padding: 40px 20px;
        }
    }
    //Agent page
    .spproperty-agent-desc {
        word-break: break-all;
        word-wrap: break-word;
    }
    //404
    .error-page {
        .error-page-inner {
            .error-page-wrap{
                width: 100%;
            }
        }
    }

}
/* Extra Small Devices, Phones */
@media only screen and (min-width: 768px) and (max-width : 991px) {
    //Header
    #sp-top1 {
        display: none;
    }
    .sp-megamenu-parent {
        > li {
            > a {
                padding: 0 10px;
                letter-spacing: 2px;
                font-size: 13px;
            }
        }
        .sp-dropdown {
            li.sp-menu-item {
                > a {
                    padding: 8px 15px;
                }
            }
        }
    }
    //Slider
    #slider{
        &.flexslider {
            .slides {
                h1 {
                    font-size: 45px !important;
                }
            }
        }
    }
    .slide_thumb_wrap{
        display: none;
    }

    .sppb-addon-thumb-gallery {
        #slider {
            .slides {
                > li {
                    .thumb-slider-bg {
                        height: 600px !important;
                    }
                }
            }
            .flex-direction-nav{
                display: block;
                a{
                    text-align: center;
                    padding-top: 6px;
                    &:focus{
                        color: @major_color;
                    }
                    &:before{
                        color: #fff;
                        box-shadow: none;
                    }
                }
            }
            &:hover {
                .flex-direction-nav {
                    a{
                        opacity: 1;
                    }
                }
            }
        }
    }
    //Search
    .sp-property-search {
        form{
            .col-lg-2{
                margin-bottom: 15px;
            }
            .form-group{
                margin-bottom: 0;
            }
        }
    }
    .modal-dialog.modal-lg {
        width: 100%;
    }
    .sp-advance-search-wrap{
        form{
            .form-group{
                margin-bottom: 0;
            }
            .col-sm-4{
                margin-bottom: 20px;
            }
        }
    }
    .sp-advaced-search {
        .sp-advance-search-wrap {
            span.close {
                right: -5px;
            }
        }
    }
    // Properties
    .sppb-section.empire-featured-properties{
        padding: 70px 0 !important;
    }
    #sp-page-builder {
        .sppb-section-title {
            margin-bottom: 35px !important;
        }
    }
    #sp-page-builder .empire-feature {
      .sppb-addon-feature {
        margin-top: 45px;
      }
    }
    #sp-page-builder {
        .sppb-section-title {
            .sppb-title-heading {
                font-size: 30px;
            }
        }
    }
    .spproperty {
        .sp-properties-wrapper {
            .property-details {
                bottom: -160px;
            }
        }
    }
    //Feature
    .empire-feature{
        padding: 70px 0 !important;
    }
    #sp-page-builder {
        .sppb-section-title.sppb-text-center {
            .sppb-title-subheading {
                max-width: 100%;
            }
        }
    }
    #sp-page-builder {
        .empire-feature {
            .sppb-container {
                .sppb-section-title {
                    margin-bottom: 75px !important;
                }
            }
        }
    }
    .sppb-addon-feature {
        .sppb-addon-content {
            padding: 30px 15px 35px;
            h3{
                font-size: 22px;
                line-height: 1.1;
                span{
                    font-size: 14px;
                }
            }
        }
    }
    //Testimonial
    .sppb-section.empire-testimonials{
        padding: 70px 0 !important;
    }
    .sppb-testimonial-pro {
        .sppb-testimonial-wrapper {
            padding: 35px 40px 77px 42px;
            .sppb-testimonial-message {
                font-size: 22px;
                line-height: 1.2;
            }
        }
    }
    //Call to action
    .sppb-section.empire-call-us{
        padding: 70px 0 !important;
        .sppb-addon-text-block{
            .sppb-addon-content{
                span{
                    font-size: 50px !important;
                }
            }
        }
    }
    //Blog section
    .sppb-section.empire-blog-section{
        padding: 70px 0 40px!important;
    }
    #sp-page-builder {
        .empire-blog-section{
            .sppb-section-title {
                margin-bottom: 0 !important;
            }
        }
    }
    .sppb-addon-gallery {
        .sppb-addon-content {
            .sppb-gallery {
                li {
                    width: 25%;
                }
            }
        }
    }
    //Bottom
    #sp-bottom{
        padding: 55px 0 25px !important;
        .sp-column {
            margin-bottom: 30px;
            .sp-module {
                .sp-module-title{
                    margin-bottom: 20px;
                }
            }
        }
    }
    //Footer
    #sp-footer {
        ul.menu{
            li {
                a {
                    font-size: 13px;
                    margin-right: 25px;
                }
            }
        }
    }
    //About Page
    #sp-page-title{
        .sp-page-title{
            padding: 75px 0;
            h2{
                font-size: 40px;
            }
        }
    }
    .sppb-section.about-top-wrapper{
        padding-bottom: 65px !important;
        .sppb-empty-space.clearfix{
            margin-bottom: 35px !important;
        }
        .sppb-addon.sppb-addon-text-block{
            h3{
                margin-bottom: 20px !important;
            }
        }
    }
    .sppb-addon-animated-number{
        .sppb-animated-number{
            font-size: 80px !important;
        }
    }
    #sp-page-builder {
        .empire-team {
            .sppb-section-title {
                margin-bottom: 150px !important;
            }
        }
    }
    //Coming Soon Page
    .sp-comingsoon-countdown{
        text-align: center;
    }
    .sp-comingsoon {
        .days,.minutes, .seconds, .hours{
            margin-right: 30px;
            margin-bottom: 30px;
        }
    }
    .sp-comingsoon {
        .social-icons {
            margin: 0;
        }
    }
    .sp-comingsoon {
        .comingsoon-page-logo {
            margin-bottom: 60px;
        }
    }
    //Contact Page
    .sppb-section.empire-contact-feature{
        padding: 100px 0 70px !important;
    }
    .sppb-addon-gmap {
        .sppb-addon-content{
            .sppb-addon-gmap-canvas{
                height: 400px !important;
            }
        }
    }
    .sppb-section.empire-lets-talk{
        padding: 70px 0 !important;
    }
    #sp-page-builder {
        .empire-lets-talk {
            .sppb-addon-ajax-contact {
                .sppb-ajaxt-contact-form {
                    .sppb-form-group.sppb-input-group {
                        margin-right: 20px;
                        width: 31.4%;
                        margin-bottom: 20px;
                    }
                    .sppb-form-group {
                        margin-bottom: 20px;
                    }
                }
            }
        }
    }
    //Property Page
    .spproperty-view-properties.spproperty {
        padding: 15px 0 70px;
        .spproperty-listing-url {
            li {
                a {
                    margin: 0 15px;
                }
            }
        }
    }
    .sp-module-content{
        .empire-gallery{
            a {
                width: 25%;
            }
        }
    }
    //Property Details Page
    .com-spproperty.view-property{
        #sp-main-body {
            padding: 20px 0 60px;
            .spproperty-short-overview {
                padding: 35px 30px;
            }
            .spproperty-call-us-widget{
                padding: 30px 25px;
                h3{
                    font-size: 25px;
                }
                a.btn.btn-primary {
                    font-size: 20px;
                    padding: 0;
                }
            }
            .spproperty-map-widget {
                .spproperty-map-widget-content {
                    padding: 45px 30px 30px;
                    .spproperty-project-address-text {
                        font-size: 20px;
                        line-height: 24px;
                    }
                }
            }
        }
        #spproperty-slider.owl-carousel {
            .owl-nav {
                div.owl-prev {
                    left: 21.5%;
                }
                div.owl-next {
                    right: 21.5%;
                }
            }
        }
    }
    .spproperty-agent-widget {
        padding: 82px 20px 30px;
    }
    .spproperty-contact-us-widget {
        padding: 35px 20px 30px;
    }
    .spproperty-floor-plan {
        padding: 40px 25px 30px;
    }
    .spproperty-contact-us-widget {
        padding: 35px 30px 40px;
    }
    //Agent Page
    .spproperty.spproperty-view-agent {
        .agent-contact-from input[name="name"],
        .agent-contact-from input[name="email"],
        .agent-contact-from input[name="phone"] {
            width: 30.3%;
        }
        .agent-contact-from {
            padding: 40px 20px 50px;
        }
    }
    .com-spproperty.view-agent{
        #sp-main-body {
            padding: 40px 0 70px;
        }
    }
    .spproperty-view-agents.spproperty-agents .spproperty-agent-widget{
        margin-bottom: 30px;
        ul.spproperty-agent-social {
            position: relative;
            right: 0;
            top: 10px;
        }
    }
    //Blog Page
    .com-content.layout-blog {
        #sp-main-body {
            padding-bottom: 50px;
            padding-top: 80px;
        }
    }
    article.item{
        padding-bottom: 30px;
        .entry-link {
            padding: 45px 35px;
        }
        .entry-header {
            padding: 40px 20px 15px;
            h2{
                a{
                    font-size: 20px;
                }
            }
        }
        p {
            padding-left: 20px;
            padding-right: 20px;
        }
        .entry-quote {
            padding: 40px 20px;
        }
    }
    //Agent page
    .spproperty-agent-desc {
        word-break: break-all;
        word-wrap: break-word;
    }
    //Testimonial Page
    .sppb-section.testimonial-page-title{
        padding: 60px 0 !important;
    }
    .sppb-section.empire-testimonials.variation-two,
    .sppb-section.empire-testimonials.variation-three{
        padding: 0 !important;
    }
    .sppb-section.empire-testimonials.variation-four{
        padding: 0 0 70px !important;
    }
    .sppb-section.empire-testimonials.variation-four{
        margin-top: 0;
        .sppb-testimonial-pro .sppb-carousel-inner > .sppb-item{
            padding: 0;
        }
    }
    //404
    .error-page {
        .error-page-inner {
            .error-page-wrap{
                width: 100%;
            }
        }
    }
}
/* Custom, iPhone Retina */
@media screen and (min-width: 320px) and (max-width : 767px) {

    //Logo
    .sp-default-logo,
    .sp-retina-logo{
        display: none;
    }

    //Slider Section
    #slider{
        &.flexslider {
            .slides {
                h1 {
                    font-size: 30px !important;
                }
                p{
                    font-size: 28px;
                }
                li {
                    .thumb-slider-bg {
                        .slider-title-wrap{
                            top: -10px;
                        }
                    }
                }
            }
            .flex-direction-nav{
                display: block;
                a{
                    text-align: center;
                    padding-top: 6px;
                    &:focus{
                        color: @major_color;
                    }
                    &:before{
                        color: #fff;
                        box-shadow: none;
                    }
                }
            }
            &:hover {
                .flex-direction-nav {
                    a{
                        opacity: 1;
                    }
                }
            }
        }
    }
    .sppb-addon-thumb-gallery {
        #slider {
            .slides {
                > li {
                    .thumb-slider-bg {
                        height: 320px !important;
                    }
                }
            }
        }
    }
    .slide_thumb_wrap{
        .flexslider{
            .slides{
                li{
                    wid
                    .thumb-wrap{
                        .thumb-text{
                            display: none;
                        }
                    }
                }
            }
        }
    }
    .slide_thumb_wrap{
        display: none;
    }
    //Header
    #sp-top1{
        display: none;
    }
    #sp-header {
        #sp-logo {
            .logo {
                .sp-default-logo{
                    visibility: hidden;
                    opacity: 0;
                }
                .sp-scroll-logo{
                    visibility: visible;
                    opacity: 1;
                }
            }
        }
    }
    #offcanvas-toggler {
        margin-left: 0;
        margin-right: 5px;
    }
    //Search Section
    .sp-property-search {
        form{
            .col-lg-2{
                margin-bottom: 20px;
            }
        }
    }
    .modal-dialog.modal-lg {
        width: 100%;
    }
    .sp-advaced-search {
        .sp-advance-search-wrap {
            form{
                .row{
                    > div{
                        margin-bottom: 20px;
                    }
                }
            }
            .sp-advance-icon {
                position: relative;
                top: -10px;
            }
            span.close{
                top: 50px;
                right: 15px;
            }
        }
    }
    #sp-page-builder {
        .sppb-section-title {
            margin-bottom: 35px !important;
        }
    }
    //Property Search Section
    .sppb-section.empire-featured-properties{
        padding: 60px 0 30px !important;
    }
    .sp-properties-wrapper {
        margin-bottom: 30px;
    }
    .spproperty {
        .sp-properties-wrapper {
            .property-details {
                bottom: -160px;
            }
        }
    }
    .spproperty-video {
        height: 250px;
    }
    //Empire Feature
    .empire-feature{
        padding: 60px 0 !important;
        .sppb-addon-feature {
            .sppb-addon-content {
                margin-top: 75px;
            }
        }
    }
    #sp-page-builder {
        .empire-feature {
            .sppb-container {
                .sppb-section-title {
                    margin-bottom: 0 !important;
                }
            }
        }
    }
    //Testimonial Section
    .sppb-section.empire-testimonials{
        padding: 60px 0 30px!important;
    }
    .sppb-testimonial-pro {
        .sppb-testimonial-wrapper {
            margin-bottom: 60px;
            padding: 40px 35px 77px;
            .sppb-testimonial-message {
                font-size: 20px;
                line-height: 1.3;
            }
        }
    }
    //Call Us
    .sppb-section.empire-call-us{
        h3.sppb-addon-title{
            font-size: 28px !important;
        }
        padding: 60px 0 !important;
        .sppb-addon-text-block {
            .sppb-addon-content span {
                font-size: 35px !important;
            }
        }
    }
    //Blog Section
    .empire-blog-section{
        padding: 60px 0 !important;
    }
    .sppb-addon-articles {
        .sppb-addon-article {
            > a {
                img{
                    width: 100%;
                }
            }
        }
    }
    #sp-page-builder {
        .empire-blog-section{
            .sppb-section-title {
                margin-bottom: 0 !important;
            }
        }
    }
    //Subscribe Section
    #sp-page-builder {
        .sppb-section.empire-newsletter {
            .acymailing_module_form {
                .acymailing_form {
                    input.inputbox {
                        width: 100% !important;
                    }
                }
            }
        }
    }

    //Gallery Section
    .sppb-addon-gallery {
        .sppb-addon-content{
            .sppb-gallery {
                li {
                    width: 50%;
                }
            }
        }
    }
    //Footer Section
    #sp-bottom{
        padding: 23px 0 48px !important;
        .sp-module {
            margin-top: 35px;
            .sp-module-title {
                margin-bottom: 15px;
            }
        }
    }
    #sp-footer {
        .nav.menu{
            text-align: center;
            li{
                a{
                    margin-right: 20px;
                }
                &:last-child{
                    a{
                        margin-right: 0;
                    }
                }
            }
        }
        .sp-copyright {
            text-align: center;
            padding-top: 15px;
        }
    }
    //About Page
    #sp-title{
        .sp-page-title {
            padding: 60px 0 !important;
            h2{
                font-size: 30px;
            }
        }
    }
    .sppb-section.about-top-wrapper{
        padding-bottom: 65px !important;
        .sppb-empty-space.clearfix {
            margin-bottom: 30px !important;
        }
        .sppb-addon-container {
            .sppb-addon.sppb-addon-text-block {
                padding: 0 30px;
                h3{
                    margin-bottom: 20px !important;
                }
            }
            .sppb-section {
                .sppb-addon.sppb-addon-text-block.empire-fun-fact{
                    padding: 0;
                    .sppb-addon-title{
                        margin-bottom: 15px !important;
                    }
                }
                .sppb-container-inner{
                    .sppb-col-sm-9{
                        padding: 0;
                    }
                    .sppb-col-sm-3{
                        padding: 0;
                    }
                    .sppb-addon.sppb-addon-animated-number.sppb-text-right {
                        text-align: left;
                        .sppb-animated-number{
                            font-size: 80px !important;
                        }
                    }
                }
            }

        }
    }
    // About Team
    .sppb-section.empire-team{
        padding: 60px 0 !important;
        .sppb-addon-person{
            .sppb-addon-content {
                margin-top: 160px;
            }
        }
    }
    #sp-page-builder {
        .empire-team {
            .sppb-section-title{
                margin-bottom: 0 !important;
            }
        }
    }
    //Coming Soon Page
    .sp-comingsoon-countdown{
        text-align: center;
    }
    .sp-comingsoon {
        .days,.minutes, .seconds, .hours{
            margin-right: 0;
            margin-bottom: 30px;
        }
    }
    .sp-comingsoon {
        .social-icons {
            margin: 10px 0 0;
        }
    }
    .sp-comingsoon body {
        .sp-position-comingsoon {
            .acymailing_form {
                width: 100%;
            }
        }
    }
    //Contact Page
    .sppb-section.empire-contact-feature{
        padding: 100px 0 0 !important;
        .sppb-addon-container {
            margin-bottom: 80px;
        }
    }
    .sppb-addon-gmap {
        .sppb-addon-gmap-canvas{
            height: 320px !important;
        }
    }
    .sppb-section.empire-lets-talk{
        padding: 60px 0 !important;
    }
    #sp-page-builder {
        .empire-lets-talk {
            .sppb-addon-ajax-contact {
                .sppb-ajaxt-contact-form {
                    .sppb-form-group.sppb-input-group {
                        margin-bottom: 20px;
                        margin-right: 0;
                        width: 100%;
                    }
                    .sppb-form-group{
                        margin-bottom: 20px;
                    }
                }
            }
        }
    }
    //Property Page
    .spproperty-view-properties.spproperty{
        padding: 0 0 50px;
        .spproperty-listing-url {
            li{
                &:before{
                    display: none;
                }
            }
        }
        .spproperty-listing-url {
            margin: 0 auto 25px;
            padding: 0;
            li{
                a{
                    &:before{
                        display: none;
                    }
                    margin: 0 15px 10px;
                    display: inline-block;
                }
            }
        }
    }
    .sp-module-content{
        .empire-gallery{
            a{
                width: 50%;
            }
        }
    }

    //Property Details Page
    .com-spproperty.view-property{
        #sp-main-body {
            padding: 10px 0 60px;
            .spproperty-agent-widget {
                padding: 82px 30px 30px;
            }
            .spproperty-agent-widget {
                ul.spproperty-agent-social {
                    position: relative;
                    right: 0;
                    top: 10px;
                }
            }
            .spproperty-contact-us-widget {
                padding: 30px 30px 35px;
            }
            .spproperty-feature-overview {
                padding: 40px 30px 25px;
            }
            .spproperty-floor-plan {
                padding: 40px 30px 30px;
            }
            .spproperty-call-us-widget {
                a.btn.btn-primary{
                    display: inline-block;
                }
            }
        }
    }
    #spproperty-slider.owl-carousel {
        .owl-nav {
            div.owl-next {
                right: 15px;
            }
            div.owl-prev{
                left: 15px;
            }
        }
        .owl-item{
            &::before,
            &::after{
                display: none;
            }
        }
    }
    .spproperty-details-title {
        h2 {
            font-size: 30px;
            line-height: 1.1;
        }
    }
    .spproperty-details-title {
        padding: 70px 0 40px;
    }
    .spproperty-short-overview {
        padding: 40px 30px 35px;
    }
    .spproperty-call-us-widget{
        margin-top: 30px;
    }
    .spproperty-floor-plan {
        .spproperty-floor-plan-tab {
            .spproperty-floor-img {
                margin-top: 35px;
            }
        }
    }
    //Agent Page
    .offcanvas-menu {
        .offcanvas-inner {
            .sp-module {
                margin-bottom: 0;
            }
        }
    }
    .com-spproperty.view-agents{
        #sp-main-body {
            padding: 30px 0;
        }
    }
    .spproperty.spproperty-view-agent .spproperty-agent-widget,
    .spproperty-view-agents.spproperty-agents .spproperty-agent-widget{
        margin-bottom: 30px;
        ul.spproperty-agent-social {
            position: relative;
            right: 0;
            top: 20px;
        }
    }
    .spproperty.spproperty-view-agent {
        .agent-contact-from input[name="name"],
        .agent-contact-from input[name="email"],
        .agent-contact-from input[name="phone"] {
            float: left;
            margin-right: 0;
            margin-top: 15px;
            width: 100%;
        }
        .agent-contact-from {
            padding: 40px 0;
            .contact-from-title {
                margin-bottom: 25px;
            }
            .controls {
                input[name="subject"] {
                    margin: 15px 0;
                    width: 100%;
                }
                textarea{
                    width: 100%;
                }
            }
        }
    }
    .com-spproperty.view-agent{
        #sp-main-body {
            padding: 30px 0;
        }
    }
    //Blog Page
    .com-content.layout-blog {
        #sp-main-body {
            padding-bottom: 60px;
            padding-top: 60px;
        }
    }
    article.item{
        padding-bottom: 30px;
        .entry-link {
            padding: 55px 35px;
        }
        .entry-header {
            h2 a {
                font-size: 20px;
            }
        }
        .entry-quote {
            padding: 50px 20px;
        }
        p {
            padding-left: 25px;
            padding-right: 20px;
        }
    }
    //Blog Details Page
    article.item.item-page {
        padding-bottom: 80px;
        .entry-header {
            padding-left: 25px;
            padding-right: 25px;
            h2{
                font-size: 25px;
            }
        }
        div[itemprop="articleBody"] {
            padding: 0 30px;
        }
        .helix-social-share {
            left: 25px;
            ul{
                li{
                    a{
                        font-size: 14px;
                        height: 40px;
                        margin-right: 3px;
                        padding-top: 3px;
                        width: 40px;
                    }
                }
            }
        }
        .pager.pagenav {
            bottom: 35px;
            right: 25px;
        }
    }
    //Testimonial Page
    .sppb-section.testimonial-page-title{
        padding: 60px 0 !important;
    }
    .sppb-section.empire-testimonials.variation-two,
    .sppb-section.empire-testimonials.variation-four,
    .sppb-section.empire-testimonials.variation-three{
        padding: 0 !important;
        .sppb-testimonial-wrapper{
            margin-bottom: 50px;
        }
    }
    .sppb-section.empire-testimonials.variation-four{
        .sppb-testimonial-pro .sppb-carousel-inner > .sppb-item{
            padding: 0;
        }
    }

    .sppb-section.empire-testimonials.variation-one{
        padding: 0 !important;
    }
    .empire-testimonials.variation-four {
        .sppb-testimonial-pro {
            .sppb-testimonial-wrapper {
                padding: 40px 30px 80px;
                .sppb-client-wrap {
                    position: relative;
                    top: 0;
                    .sppb-testimonial-client{
                        position: relative;
                    }
                }
            }
        }
    }
    //404
    .error-page {
        .error-page-inner {
            .error-page-wrap{
                width: 100%;
            }
        }
    }


}
//Ebook Reader
@media screen and (min-width : 400px) and (max-width : 767px) {
    .spproperty {
        .sp-properties-wrapper {
            .property-details {
                bottom: -135px;
            }
        }
    }
}
@media screen and (min-width : 600px) and (max-width : 767px) {
    .sp-module-content{
        .empire-gallery{
            a{
                width: 33.32%;
            }
        }
    }

    .spproperty-view-properties.spproperty,.spproperty {
        .spproperty-col-sm-6{
            float: left;
            width: 50%;
        }
    }
    .spproperty {
        .sp-properties-wrapper {
            .property-details {
                bottom: -160px;
            }
        }
    }
    .spproperty-video {
        height: 320px;
    }
    //Property Page
    #spproperty-slider.owl-carousel {
        .owl-nav {
            div.owl-next {
                right: 21%;
            }
            div.owl-prev{
                left: 21%;
            }
        }
        .owl-item{
            &::before,
            &::after{
                display: block;
            }
        }
    }
    //Property Details Page
    .com-spproperty.view-property{
        #sp-main-body {
            .spproperty-agent-widget {
                ul.spproperty-agent-social {
                    display: block;
                }
            }
        }
    }
    .sppb-addon-gallery {
        .sppb-addon-content {
            .sppb-gallery li {
                width: 25%;
            }
        }
    }
}
@media screen and (min-width : 481px) and (max-width : 767px) {
    .sppb-addon-thumb-gallery {
        #slider {
            .slides {
                > li {
                    .thumb-slider-bg {
                        height: 480px !important;
                    }
                }
            }
        }
    }
    .sp-comingsoon {
        .days,.minutes, .seconds,.hours{
            margin-right: 50px;
            margin-bottom: 30px;
        }
    }
}

/* Coming Soon Page Fixed */
@media screen and (min-height:320px) and (max-height: 900px){
    .sp-comingsoon{
        body{
            .sp-comingsoon-wrap{
                position: relative;
                height: auto;
            }
        }
    }
}
