/***
    DEFAULT STUFF
***/

/* #004F8A - OLD BLUE */
/* #F03D2F - OLD RED  */

body {
    font-family: 'Poppins', sans-serif;
    background: #FFF;
    overflow-x: hidden;
}
body.sandbanks,
body.bournemouth {
    background-image: url(../img/sandbanks-full-bg.jpg);
    background-size: cover;
    background-color: transparent;
    background-attachment: fixed;
    background-position: center center;
}
body.bournemouth {
    background-image: url(../img/bournemouth-full-bg.jpg);
}
.container-fluid {
    max-width: 1400px;
    margin: 0px auto;
}

a:active,
a:hover {
    outline: none;
    text-decoration: none;
}

img {
    max-width: 100%;
}
img.alignright {float:right; margin: 20px 0 20px 20px;}
img.alignleft {float:left;  margin: 20px 20px 20px 0;}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

a,
a:hover,
a:active {
    text-decoration: none;
}

@-webkit-keyframes bigLogoOut {
    from {
        transform: translateY(-75%) scale(1);
    }
    50% {
        transform: translateY(-75%) scale(1.5);
    }
    85% {
        opacity: 1;
    }
    to   {
        transform: translateY(-75%) scale(.1);
    }
}

@keyframes bigLogoOut {
    from {
        transform: translateY(-75%) scale(1);
    }
    50% {
        transform: translateY(-75%) scale(1.5);
    }
    85% {
        opacity: 1;
    }
    to   {
        transform: translateY(-75%) scale(.1);
        opacity: 1;
    }
}

#loader {
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
}
#loader .logo {
    position: absolute;
    left: 0%;
    right: 0%;
    z-index: 50;
    top: 50%;

    margin: 0px auto;
}
#loader .logo .text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
}
#loader .logo .text strong {
    display: block;
    text-align: center;
    font-size: 27px;
    color: #fff;
}
#loader .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000A86;
}
#loader .logo {
    position: absolute;
    top: 50%;
    transform: translateY(-75%);
    left: 0%;
    right: 0%;
    margin: 0px auto;
    width: 600px;
    height: 313px;
    background: #fff;
}
#loader .logo .img {
    position: absolute;
    top: 0;
    left: 0%;
    right: 0%;
    bottom: 0;
    width: 600px;
    height: 315px;
    margin: 0px auto;
    z-index: 10;
    background: url(../img/crown-trans-blu.png);
    background-repeat: no-repeat;
    background-size: 600px auto;
}

#loader .logo .bar {
    position: absolute;
    left: 0%;
    right: 0%;
    bottom: 0;
    width: 600px;
    margin: 0px auto;
    z-index: -10;
    background: #da291c;
    max-height: 313px;

    -webkit-transition: all 6s ease;
    -moz-transition: all 6s ease;
    -o-transition: all 6s ease;
    -ms-transition: all 6s ease;
    transition: all 6s ease;

    height: 0;
}
#loader.active {
    opacity: 1;
    visibility: visible;
}
#loader.active .logo .bar {
    height: 315px;
}
#loader.active.bigOut .logo {
    -webkit-animation: bigLogoOut 1s ease-in-out;
    animation: bigLogoOut 1s ease-in-out;
}

.small-gaps .col-md-6:first-child {
    padding-right: 5px;
}
.small-gaps .col-md-6:last-child {
    padding-left: 5px;
}
.small-gaps .col-md-4:first-child {
    padding-right: 5px;
}
.small-gaps .col-md-4:nth-child(2) {
    padding: 0 5px;
}
.small-gaps .col-md-4:last-child {
    padding-left: 5px;
}

/***
    FORMS
***/

.input-row {
    margin-bottom: 15px;
}
.input-row label {
    display: block;
    text-align: right;
    color: #000A86;
    font-size: 16px;
}
.input-row label span {
    color: #da291c;
}
.input-row .form-control {
    font-size: 13px;
}
.input-row .form-control:focus {
    box-shadow: none;
    border-color: #000A86;
}
.input-row textarea {
    height: 100px;
    resize: vertical;   
}
.input-row .wpcf7-not-valid-tip {
    /*position: absolute;
    top: 0;
    right: 0;
    width: 100%;*/
}

/***
    CONTACT FORM 7 OVERRIDES
***/

.wpcf7-response-output {
    text-align: center;
}
div.wpcf7-validation-errors {
    border-color: #da291c !important;
    margin: 0 0 20px 0!important;
}
.wpcf7-not-valid + .wpcf7-not-valid-tip {
    font-size: 0;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 10px;
    right: 25px;
}
.wpcf7-not-valid + .wpcf7-not-valid-tip:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f071";
    color: #da291c;
    font-size: 24px;
}
.wpcf7-form-control-wrap {
    display: block;
}

/***
    ANIMATIONS
***/

a, :after, :before, .slick-dots *, .btn, .staff {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition:    all 0.2s ease-in-out;
    -o-transition:      all 0.2s ease-in-out;
    -ms-transition:     all 0.2s ease-in-out;
    transition:         all 0.2s ease-in-out;
}
#map-column {
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition:    all 0.35s ease-in-out;
    -o-transition:      all 0.35s ease-in-out;
    -ms-transition:     all 0.35s ease-in-out;
    transition:         all 0.35s ease-in-out;
}

/***
    HEADER
***/

#logo {
    display: block;
    width: 90%;
    max-width: 500px;
    margin: 0px auto;
}
#logo img {
    max-width: 100%;
}
#meta-header {
    height: 40px;
    background: #000A86;
    color: #fff;
}
#meta-header a {
    color: #fff;
    line-height: 40px;
}
#main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999999;
    background: #000A86;
}
/*#main-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: rgba(15,15,15,.4);
}*/
#menu-header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.header-fix {
    height: 169px;
}
.header-fix + .container-fluid > #search-outer {
    margin-top: 30px;
}

/* Small Header */

.small-header #logo {
    max-width: 350px;
}
.small-header .header-fix {
    height: 216px;
}

/***
    MAIN MENU
***/
    #top-header {
        padding: 25px 0;
    }
    #menu-header {
        background: #fff;
        box-shadow: 0px 5px 12px rgba(0,0,0,0.15);
    }
    nav#menu ul {
        margin: 0;
    }
    nav#menu ul li:first-child {
        margin-left: 0;
    }
    nav#menu ul li {
        position: relative;
        margin: 0 8px;
    }
    nav#menu ul li a:link, nav#menu ul li a:visited, nav#menu ul li a {
        color: #000A86;
        font-weight: 100;
        font-size: 16px;
        line-height: 50px;
    }
    nav#menu ul li a:hover, nav#menu ul li a:active, nav#menu ul li a.active, #meta-header a:hover {
        color: #da291c;
        text-decoration: none;
    }
    nav#menu ul .sub-menu {
        position: absolute;
        top: 50px;
        left: 0;
        z-index: -100;
        opacity: 0;
        visibility: hidden;
        width: 220px;
        text-align: left;
        background: #222;
        transform: translateY(30px);

        -webkit-transition: all .4s ease-in-out;
        -moz-transition:    all .4s ease-in-out;
        -o-transition:      all .4s ease-in-out;
        -ms-transition:     all .4s ease-in-out;
        transition:         all .4s ease-in-out;
    }
    nav#menu ul .sub-menu li {
        margin: 0;
    }
    nav#menu ul .sub-menu li a {
        display: block;
        padding: 0 8px;
        color: #fff;
    }
    nav#menu ul .sub-menu li a:hover {
        z-index: 9999;
        background: #4047A4;
    }
    nav#menu ul li:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/***
    CONTENT
***/

/* Slick Slider */
.main-slider {
    position: relative;
    margin-bottom: 10px;
}
.slick-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.slick-dots li {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
    margin: 0 10px;
}
.slick-dots li button {
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    background: transparent;
    box-shadow: none;
    border-radius: 50%;
    font-size: 0;
}
.slick-dots li.slick-active button {
    width: 30px;
    height: 30px;
    background: #fff;
}

/* Home Page Slider */

@-webkit-keyframes panelmove {
    from {
        left: 20vw;
    }
    to {
        left: 10vw;
    }
}

@keyframes panelmove {
    from {
        left: 20vw;
    }
    to {
        left: 10vw;
    }
}

.slick-slide {
    position: relative;
}
.slick-slide img {
    width: 100%;
}
.slide-panel {
    position: absolute;
    top: 50%;
    left: 10vw;
    transform: translateY(-50%);
    z-index: 999999;
    max-width: 600px;

    -webkit-animation: panelmove 1s cubic-bezier(0.17, 0.67, 0.46, 1.45);
    animation: panelmove 1s cubic-bezier(0.17, 0.67, 0.46, 1.45);
}

    /***
        PROPERTY FEATURES
    ***/
        
        .property-details                              {
            background: rgba(1,1,1,.8);
            padding: 30px;
            color: #fff;
        }
        .property-details .prop-purchase-type          {
            background-color: #da291c;
            text-transform: uppercase;
            font-weight: 600;
            display: inline-block;
            padding: 6px 10px;
            font-size: 18px;
            margin-bottom: 20px;
        }
        .property-details .prop-title                  {
            font-weight: bold;
            font-size: 22px;
        }
        .property-details .prop-price                  {
            color: #da291c;
            font-size: 24px;
            font-weight: 600;
            margin: 20px 0;
        }
        .property-details .prop-short-desc             {
            font-size: 15px;
            margin-bottom: 20px;
        }
        .property-details .prop-features               {
            margin-bottom: 0;
        }
        .property-details .prop-features .prop-feature {
            width: 33.33333%;
            text-align: center;
            float: left;
        }
        .property-details .prop-features .prop-feature .icon {
            font-size: 32px;
            width: 70px;
            height: 70px;
            line-height: 70px;
            border: 2px solid #fff;
            border-radius: 50%;
            margin: 0px auto;
            margin-bottom: 5px;
        }
        .property-details .property-link               {
            position: relative;
            color: #fff;
            display: inline-block;
            font-weight: 300;
            font-size: 21px;
            padding: 0 15px;
            border: 1px solid #fff;
            line-height: 45px;
            overflow: hidden;
        }
        .property-details .property-link:after               {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            bottom: 0;
            z-index: 10;
            background: #da291c;
            left: -10%;
            width: 120%;
            right: 0;
            z-index: -1;
            transform: translateX(-110%) skew(-30deg);

            -webkit-transition: all 0.4s ease-in-out;
            -moz-transition:    all 0.4s ease-in-out;
            -o-transition:      all 0.4s ease-in-out;
            -ms-transition:     all 0.4s ease-in-out;
            transition:         all 0.4s ease-in-out;
        }
        .property-details .property-link:hover:after {
            transform: translateX(0%) skew(-30deg);
        }

    /***
        PROPERTY SEARCH MAP
    ***/
    
    .properties-count {
        padding: 10px;
        color: #fff;
        background: #000A86;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    #search-outer {
        margin-bottom: 10px;
    }
    #search-outer #search {
        /*width: 50%;*/
        width: 100%;
    }
    #search-outer #search-map {
        width: 50%;
    }
    #search-outer #search,
    #search-outer #search-map {
        /*float: left;
        display: inline-block;
        margin: 0;*/
    }

    #search-form, #add-testimonial form {
        background: url(../img/crown-faded-wht.png) #000A86;
        background-repeat: no-repeat;
        background-size: 330px;
        background-position: 14px 50%;
        color: #fff;
        padding: 20px;
    }
    
    #search-form .form-row, #add-testimonial form .form-row {
        margin-bottom: 0;
    }
    #search-form .form-row:last-child, #add-testimonial form .form-row:last-child {
        margin-bottom: 0;
    }
    #search-form .form-row h3, #add-testimonial form .form-row h3 {
        font-size: 28px;
        font-weight: 600;
        display: block;
        margin: 0;
        text-align: right;
        margin-bottom: 10px;
    }
    #search-form .btn-dark, #what-our-clients-say .btn-dark, #add-testimonial form .btn-dark {
        background-color: #4047A4;
        line-height: 45px;
    }
    #search-form .btn-dark:hover, #what-our-clients-say .btn-dark:hover, #add-testimonial form .btn-dark:hover {
        background-color: #DA291C;
    }
    #add-testimonial form textarea[name="your-testimonial"] {
        height: 120px;
    }
    label {
        font-weight: 200;
        text-align: right;
        line-height: 40px;
        margin: 0;
    }
    .form-control {
        height: 40px;
        border-radius: 0;
    }
    .btn {
        border-radius: 0;
        line-height: 40px;
        height: 40px;
        padding: 0;
        text-align: center;
    }
    .btn-dark {
        position: relative;
        background: #222;
        color: #fff;
        font-weight: bold;
        font-size: 17px;
        z-index: 5;
    }

    .btn-dark:hover {
        background: #da291c;
        color: #fff;
    }

    .btn {
        color: #fff;
        padding: 0 20px;
        border-radius: 0;
        border: none;
        font-size: 15px;
    }
    .btn.btn-success {
        background: rgba(46, 204, 113,1.0);
    }
    .btn.btn-success:hover {
        background: rgba(39, 174, 96,1.0);
    }

    /***
        BADGES
    ***/

    .label {
        border-radius: 0;
        font-weight: lighter;
        font-size: 16px;
        padding: 0 8px;
        line-height: 30px;
        display: inline-block;
        margin-bottom: 2px;

    }
    .label.label-success { background: rgba(46, 204, 113,1.0); }
    .label.label-danger  { background: rgba(231, 76, 60,1.0); }
    .label.label-info    { background: rgba(52, 152, 219,1.0);}
    .label.label-warning { background: rgba(241, 196, 15,1.0); }

    /***
        FEATURED PROPERTIES
    ***/

    #featured-properties {
       margin-top: 10px;
    }
    #featured-properties .property-details {
        display: block;
        position: relative;
        cursor: pointer;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 220%;
        padding-top: 100px;
        padding-bottom: 100px;
        min-height: 235px;
        margin-bottom: 10px;
    }
    #featured-properties .property-details:hover {
        color: #fff;
        background-size: 200%;

    }
    #featured-properties .property-details * {
        position: relative;
        z-index: 10;
    }
    #featured-properties .property-details .prop-price,
    #featured-properties .property-details .prop-title,
    #featured-properties .property-details .prop-short-desc {
        background: rgba(15,15,15,.6);
        padding: 12px;
        margin: 0;
        max-width: 70%;
    }
    #featured-properties .sml-featured .property-details .prop-price,
    #featured-properties .sml-featured .property-details .prop-title,
    #featured-properties .sml-featured .property-details .prop-short-desc {
        max-width: 100%;
    }
    .property-details .prop-featured          {
        background-color: #000A86;
        text-transform: uppercase;
        font-weight: 600;
        display: inline-block;
        padding: 6px 10px;
        font-size: 18px;
        margin-bottom: 20px;
        position: absolute !important;
        top: 30px;
        right: 30px;
        z-index: 20;
    }

    /***
        ABOUT US
    ***/
    
    .heading {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .section {
        margin: 0 0 10px 0;
        padding: 50px;
        color: #fff;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }
    #about {
        background-image: url(../img/about-bg.jpg);
    }
    #what-we-do {
        background-image: url(../img/what-we-do-bg.jpg);
    }

    /***
        STAFF
    ***/
    
    #staff {
        margin-bottom: 10px;
    }
    #staff .col-sm-6:first-child {
        padding-right: 5px;
    }
    #staff .col-sm-6:last-child {
        padding-left: 5px;
    }
    #staff .staff {
        display: block;
        position: relative;
        background-position: center right;
    }
    #staff .staff.staff-1 {
        background-image: url(../img/nigel-website.jpg);
    }
    #staff .staff.staff-2 {
        background-image: url(../img/Nigel-and-Dudley-the-Office-Mascot.jpg);
    }
    #staff .staff {
        height: 200px;
        background-size: cover;

        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }
    #staff .staff:hover {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
        cursor: pointer;
    }
    #staff .staff img {
        width: 100%;
        
    }
    #staff .staff .name {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        color: #FFF;
        font-size: 17px;
        padding: 10px;
    }

    /***
        WHAT OUR CLIENTS SAY
    ***/

    #what-our-clients-say {
        background: #000A86;
        color: #fff;
        padding: 55px 20px 20px 20px;
        margin-bottom: 10px;
    }
    #what-our-clients-say h3 {
        font-weight: 800;
        font-size: 28px;
        color: #FFFFFF;
    }
    #what-our-clients-say .slick-list {
        margin: 0 -15px;
    }
    #what-our-clients-say .slick-slide {
        margin: 0 15px;
    }
    #
    .client-quote {
        
    }
    .client-quote blockquote {
        border: none;
        font-size: 15px;
        font-weight: 100;
        padding: 0;
    }
    .client-quote .row {
        max-width: 90%;
        margin: 0px auto;
    }
    .client-quote blockquote img {
        max-width: 100%;
        border-radius: 50%;
        border: 3px solid #FFFFFF;
    }
    .client-quote.dark blockquote img {
        border-color: #222;
    }
    .client-quote blockquote p {
        min-height: 43px;
        margin: 0;
    }
    .client-quote blockquote hr {
        border-color: #FFFFFF;
        position: relative;
        margin-bottom: 30px;
    }
    .client-quote.dark blockquote hr {
        border-color: #000A86;
    }
    .client-quote blockquote hr:after {
        content: '';
        position: absolute;
        top: 0;
        z-index: 50;
        left: 12.5%;
        width: 40px;
        height: 20px;
        background: url(../img/arrow.png);
        background-size: 40px auto;
        background-repeat: no-repeat;
        background-position: 0 0;
        transform: translateY(-1px);
        z-index: -1;
    }
    .client-quote blockquote cite {
        font-size: 20px;
        font-weight: 600;
        color: #FFFFFF;
    }
    .client-quote.dark blockquote cite {
        color: #222;
    }
    .client-quote blockquote cite small {
        font-size: 14px;
    }

    #what-our-clients-say .slick-dots {
        bottom: -20px;
    }
    #what-our-clients-say .slick-dots li {
        display: inline-block;
        width: 22px;
        height: 22px;
        text-align: center;
        margin: 0 5px;
    }
    #what-our-clients-say .slick-dots li button {
        width: 10px;
        height: 10px;
        border: 1px solid #000A86;
        background: transparent;
        box-shadow: none;
        border-radius: 50%;
        font-size: 0;
    }
    #what-our-clients-say .slick-dots li.slick-active button {
        width: 18px;
        height: 18px;
        background: #000A86;
    }

    #add-testimonial.active {
        opacity: 1;
        visibility: visible;
    }
    
    #add-testimonial {
        background: rgba(0,0,0,0.5);
        display: block;
        opacity: 0;
        visibility: hidden;
        z-index: 999999999;

        -webkit-transition: all 0.6s ease-in-out;
        -moz-transition:    all 0.6s ease-in-out;
        -o-transition:      all 0.6s ease-in-out;
        -ms-transition:     all 0.6s ease-in-out;
        transition:         all 0.6s ease-in-out;
    }
    #add-testimonial .modal-container {
        left: 50%;
        position: relative;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 50vw;
    }

    #add-testimonial .google-recaptcha-container {
        padding-top: 15px;
    }


    /***
        POP UP MODAL
    ***/

    .popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99999999999;
        background: rgba(15,15,15,.8);
        opacity: 0;
        visibility: hidden;

        -webkit-transition: all 0.6s ease-in-out;
        -moz-transition:    all 0.6s ease-in-out;
        -o-transition:      all 0.6s ease-in-out;
        -ms-transition:     all 0.6s ease-in-out;
        transition:         all 0.6s ease-in-out;
    }
    .popup.active {
        opacity: 1;
        visibility: visible;
    }
    .popup .popup-in {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        padding: 15px;
        width: 50%;
    }
    .popup-close {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999999999;
        background: #ED3023;
        width: 40px;
        height: 40px;
        cursor: pointer;
        text-align: center;
        line-height: 40px;
        font-size: 22px;
        color: #fff;
    }
    .popup-toggle {
        display: block;
    }

    /***
        PROPERTY LISTING
    ***/

    #property-list {
        /*padding: 30px 0;*/
    }
    .property-listing {
        background: #F9F8F8;
        box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
        padding: 10px;
        margin-bottom: 30px;
    }
    .property-listing .sml-col-pad:first-child {
        padding-right: 5px;
    }
    .property-listing .sml-col-pad:last-child {
        padding-left: 5px;
    }
    .property-title {
        margin: 0 0 0 0;
        font-size: 21px;
        font-weight: lighter;
    }
    .property-price {
        margin-bottom: 10px;
        color: #DA291C;
        font-size: 19px;
    }
    .property-title a {
        color: #000;
    }
    .property-title a:hover {
        color: #da291c;
    }
    .property-reference {}
    .property-stat {
        font-size: 14px;
    }
    .property-stat strong {
        font-weight: lighter;
        color: #da291c;
    }
    .property-type {
        margin-bottom: 10px;
    }
    .stat-tag {
        background: #000A86;
        color: #fff;
        text-align: center;
        padding: 5px 0;
    }
    .stat-tag strong {
        color: #fff;
        font-weight: 600;
    }
    .property-listing .property-img {
        display: block;
        width: 100%;
        height: 200px;
        background-size: cover;
        background-position: left center;
        background-repeat: no-repeat;

        -webkit-transition: all 0.6s ease-in-out;
        -moz-transition:    all 0.6s ease-in-out;
        -o-transition:      all 0.6s ease-in-out;
        -ms-transition:     all 0.6s ease-in-out;
        transition:         all 0.6s ease-in-out;
    }
    .property-listing .property-img:hover {
        background-position: right center;
    }
    .property-address-type {
        margin-top: 10px;
    }
    .property-address span {
        color: #da291c;
    }
    .property-excerpt {
        margin-top: 10px;
    }
    .request-property-details {
        padding: 20px;
        margin-top: 30px;
        background: #000A86;
        color: #fff;
        font-size: 18px;
    }
    .request-property-details a {
        margin-left: 40px;
    }
    .request-property-details ul {
        margin-bottom: 0;
    }

    /***
        PROPERTY VIEW
    ***/

    #property-view {
        margin: 30px 0;
    }
    #property-view .property-title {
        font-size: 26px;
    }
    #property-view .property-price {
        margin-top: 0;
        font-weight: lighter;
        font-size: 24px;
        color: #da291c;
    }
    #property-view .property-price small {
        font-size: 13px;
        text-transform: capitalize;
    }
    #property-view .property-images {
        position: relative;
    }
    .premium-listing {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999;
        background: #da291c;
        color: #fff;
        padding: 7px 20px;
    }
    .featured-listing {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 999;
        background: #000A86;
        color: #fff;
        padding: 7px 30px 7px 60px;
        transform: rotate(35deg) translate(36px, -2px);
    }
    .property-status {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 999;
        background: #da291c;
        color: #fff;
        padding: 7px 36px;
        transform: rotate(35deg) translate(-37px, 6px);
    }
    .property-status.sml {
        transform: none;
        left: 15px;
        width: calc(100% - 20px);
        text-align: center;
    }
    .property-status.small {
        transform: none;
        left: 0;
        width: 100%;
        text-align: right;
        position: relative;
        background: transparent;
        padding: 0;
        font-size: 15px;
        color: #DA291C;
        text-transform: uppercase;
    }
    #property-view .property-images .property-image-main {
        position: relative;
        height: 450px;
        padding: 20px;
        background: #f8f8f8;
        box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
    }
    #property-view .property-images .property-image-main img {
        max-height: 410px;
        max-width: 100%;
    }
    #property-view .property-images .property-thumbnails {}
    #property-view .property-images .property-thumbnails .property-thumbnail {
        display: block;
        margin-top: 30px;
        padding: 2px;
        background: #f8f8f8;
        box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
    }
    #property-view .property-images .property-thumbnails .property-thumbnail img {
        width: 100%;
    }
    #property-view .property-images .property-thumbnails .property-thumbnail:hover,
    #property-view .property-images .property-thumbnails .property-thumbnail:active,
    #property-view .property-images .property-thumbnails .property-thumbnail.active {
        background: #da291c;
        outline: none;
    }
    #property-view .property-description {
        margin-top: 20px;
    }
    #property-view .property-heading {
        font-size: 18px;
        color: #da291c;
    }
    #property-view .property-description p {
        line-height: 25px;
    }
    #property-view .property-features {}
    #property-view .property-features .features-list { margin-bottom: 0;  }
    #property-view .property-features .features-list li {
        position: relative;
        line-height: 25px;
        padding-left: 25px;
        font-size: 13px;
    }
    #property-view .property-features .features-list li::before {
        font: normal normal normal 14px/1 FontAwesome;
        content: "\f105";
        position: absolute;
        top: 3px;
        left: 14px;
        font-size: 16px;
        color: #da291c;
    }

    ul.tabs {
        margin: 30px 0 0 0;
        padding: 0px;
        list-style: none;
    }
    ul.tabs li {
        background: none;
        color: #222;
        display: inline-block;
        padding: 10px 15px;
        cursor: pointer;

        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition:    all 0.3s ease-in-out;
        -o-transition:      all 0.3s ease-in-out;
        -ms-transition:     all 0.3s ease-in-out;
        transition:         all 0.3s ease-in-out;
    }

    ul.tabs li.current {
        background: #000A86;
        color: #fff;
    }
    
    #tabs-content {
        position: relative;
        height: 162px;
    }
    .tab-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: #f8f8f8;
        padding: 15px;
        opacity: 0;
        visibility: hidden;
        border: 2px solid #000A86;

        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition:    all 0.3s ease-in-out;
        -o-transition:      all 0.3s ease-in-out;
        -ms-transition:     all 0.3s ease-in-out;
        transition:         all 0.3s ease-in-out;
    }
    .tab-content.current {
        opacity: 1;
        visibility: visible;
    }

    #floorplans .fancybox-placeholder {
        background: #fff !important;
    }

    .fplan {
        background: #fff;
        padding: 6px;
        display: block;
    }

    /* Lightbox */
    .scw-lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99999999;
        background: rgba(15,15,15,.8);

        display: flex;
        align-items: center;
        justify-content: center;

        opacity: 0;
        visibility: hidden;

        -webkit-transition: all .5s ease-in-out;
        -moz-transition:    all .5s ease-in-out;
        -o-transition:      all .5s ease-in-out;
        -ms-transition:     all .5s ease-in-out;
        transition:         all .5s ease-in-out;
    }
    .scw-lightbox.lightbox-active {
        opacity: 1;
        visibility: visible;
    }
    .scw-lightbox .lightbox-in {
        background: #fff;
        padding: 15px;
    }
    .scw-lightbox .lightbox-close {
        position: fixed;
        top: 30px;
        right: 30px;
        z-index: 999999999;
        width: 50px;
        height: 50px;
        background: #da291c;
        cursor: pointer;
    }
    .scw-lightbox .lightbox-close::before,
    .scw-lightbox .lightbox-close::after {
        content: '';
        display: block;
        height: 50px;
        width: 3px;
        background: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        cursor: pointer;
    }
    .scw-lightbox .lightbox-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .scw-lightbox .lightbox-close::after  {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    
    .scw-lightbox .lightbox-close:hover::before {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .scw-lightbox .lightbox-close:hover::after {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    /***
        INTERESTING PROPERTIES
    ***/

    .gallery-link {
        height: 400px;
        margin: 30px 0;
        text-align: center;

        display: flex;
        align-items: center;
        justify-content: center;

        background-position: center center;
        background-size: cover;
    }
    .gallery-link#bournemouth {
        background-image: url(../img/interesting-bournemouth-properties.jpg);
    }
    .gallery-link#sandbanks   {
        background-image: url(../img/interesting-sandbanks-properties.jpg);
    }
    .gallery-link .btn {
        height: auto;
    }

    .gallery-item {
        margin-bottom: 30px;
        display: block;
        background: #4047A4;
        color: #fff;
    }
    .gallery-item:active,
    .gallery-item:hover {
        background: #DA291C;
        color: #fff;
        outline: none;
        text-decoration: none; 
    }
    .gallery-item .gallery-img {
        width: 100%;
        height: 250px;
        
        background-size: cover;
        background-position: center center;
    }
    .gallery-item .gallery-cap {
        display: block;
        line-height: 25px;
        text-align: center;
        min-height: 80px;
        padding: 0 5px;
        display: flex;
  align-items: center;
  justify-content: center;
    }

    /***
        PAGINATION
    ***/

    .pagination {
        display: block;
        margin: 10px auto 0;
        float: right;
    }

    .pagination a {
        background: #000A86;
        border: none;
        color: #fff;
        line-height: 28px;
        padding: 5px;
    }

    .pagination span.current {
        background: #333;
        border: none;
        color: #fff;
        line-height: 28px;
        padding: 5px;
    }

    .pagination > li:first-child > a,
    .pagination > li:last-child > a {
        border-radius: 0;
    }
    .pagination > li > a, .pagination > li > span,
    .pagination > li.disabled > a, .pagination > li.disabled > span,
    .pagination > li.disabled > a:hover, .pagination > li.disabled > span:hover {
        background: #000A86;
        border: none;
        color: #fff;
        line-height: 28px;
    }
    .pagination > li > a:hover, .pagination > li > span:hover {
        background: #4047A4;
        color: #fff;
    }

    /***
        BLOG SECTION
    ***/
        
        .single-post {
            display: block;
            color: #111;
            margin-bottom: 20px;
        }
        .single-post:first-child {
            margin-top: 30px;
        }
        .single-post:not(:last-child) {
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 2px solid #da291c;
        }
        .post-img {
            display: block;
            padding: 6px;
            background: #000A86;
            margin-bottom: 15px;
        }
        .post-img:hover {
            background: #da291c;
        }
        .post-img .post-img-in {
            position: relative;
            overflow: hidden;
            height: 360px;
        }
        .post-img .post-img-in img {
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            transform: translateY(-50%);
        }
        .title {
            margin: 0 0 8px 0;
            font-size: 32px;
        }
        .title a {
            color: #111;
        }
        .title a:hover {
            color: #da291c;
        }
        .date {
            font-size: 13px;
            color: #da291c;
        }
        .excerpt,
        .post-content {
            margin-top: 10px;
            font-size: 14px;
            line-height: 30px;
        }
        .read-more {
            color: #da291c;
        }

        .post-content img.alignnone { display: block; }
    
    /***
        SIDEBAR
    ***/

    .sidebar {}
    .sidebar h2.title {
        margin-top: 30px;
    }
    .rpwe-block ul {
        list-style: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .rpwe-block li {
        margin-bottom: 10px;
        padding-bottom: 10px;
        list-style-type: none;
    }
    .rpwe-block li:not(:last-child) {
        border-bottom: 1px solid #DA291C;
    }

    .rpwe-block a {
        display: inline !important;
        text-decoration: none;
        color: #000A86;
    }

    .rpwe-block h3 {
        background: none !important;
        clear: none;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        font-weight: 400;
        font-size: 12px !important;
        line-height: 1.5em;
    }

    .rpwe-thumb {
        border: 1px solid #000A86 !important;
        box-shadow: none !important;
        margin: 2px 10px 2px 0;
        padding: 3px !important;
    }
    .rpwe-thumb:hover {
        border-color: #DA291C;
    }
    .rpwe-summary {
        font-size: 12px;
    }
    .rpwe-time {
        color: #bbb;
        font-size: 11px;
    }
    .rpwe-comment {
        color: #bbb;
        font-size: 11px;
        padding-left: 5px;
    }
    .rpwe-alignleft {
        display: inline;
        float: left;
    }

    .rpwe-alignright {
        display: inline;
        float: right;
    }

    .rpwe-aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .rpwe-clearfix:before,
    .rpwe-clearfix:after {
        content: "";
        display: table !important;
    }

    .rpwe-clearfix:after {
        clear: both;
    }

    .rpwe-clearfix {
        zoom: 1;
    }

    
    /***
        MEET THE TEAM
    ***/

    .team-list hr {
        margin: 0 0 30px 0;
        border-color: #da291c;
    }
    .team-member {
        margin-bottom: 30px;
    }
    .team-member .image {
        padding: 8px;
        background: #eee;
        text-align: center;
    }
    .team-member .name {
        margin: 10px 0;
    }
    .team-member .title {
        font-size: 16px;
        color: #da291c;
    }
    .team-member .about {
        font-size: 14px;
        line-height: 22px;
    }

    /***
        CONTACT PAGE
    ***/

    .contact-phone {
        margin-bottom: 30px;
        padding: 30px 0;
        background: #000A86;
        color: #fff;
        font-size: 22px;
        text-align: center;
    }
    .contact-img {
        margin: 25px 0 30px 0;
        padding: 4px;
        border: 3px solid #000A86;
    }
    
    #map_wrapper {
        height: 400px;
    }

    #map_canvas {
        width: 100%;
        height: 100%;
    }

    /***
        MAIN FOOTER
    ***/

    #main-footer {
        padding: 30px 0;
        background: #000A86;
        color: #fff;
    }
    #main-footer h6 {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 30px;
    }
    #main-footer p {
        font-size: 14px;
        text-align: justify;
    }
    #main-footer a {
        line-height: 30px;
        color: #fff;
    }
    #main-footer a:hover {
        color: #da291c;
    }
    #main-footer hr {
        margin: 30px 0;
        border-color: rgba(255,255,255,.5);
    }
    .recent-posts {}
    .recent-posts li {
        margin-bottom: 15px;
    }
    .recent-posts li .post-date {
        display: block;
        font-size: 13px;
    }
    
    .menu-box {
        display: none;
    }
    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1100px) {
        #main-header {
            position: relative;
        }
        .header-fix {
            display: none;
        }
        .menu-box {display: block;}
        .col-xs-6.col-md-offset-3.logo-box {
            width: 50%;
            margin: 0;
        }
        #logo {
            margin: 0;
        }
        #logo img {
            max-height: 90px;
        }
        #top-header {
            padding: 8px 0;
        }
        #menu-header {display: none;}
        nav#menu ul li {
            display: inline-block;
            float: left;
            width: 50%;
            text-align: left;
            margin: 0;
        }
        nav#menu ul li .sub-menu {
            display: none;
        }
        #menu-toggle {
            display: block;
            color: #fff;
            font-size: 20px;
            width: 50px;
            height: 50px;
            line-height: 53px;
            text-align: center;
            background: #4047A4;
            float: right;
            position: relative;
            top: 20px;
            cursor: pointer;

            -webkit-transition: all .3s ease;
            -moz-transition:    all .3s ease;
            -o-transition:      all .3s ease;
            -ms-transition:     all .3s ease;
            transition:         all .3s ease;
        }
        #menu-toggle:hover {
            background: #222;
        }
    }
    
    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
        #main-footer .text-left, 
        #main-footer .text-right {
            text-align: center;
        }
        .property-listing .sml-col-pad:first-child {
            padding-right: 15px;
        }
        .property-listing .sml-col-pad:last-child {
            padding-left: 15px;
        }
        .property-listing .property-img {
            margin-bottom: 20px;
        }
    }
    
    @media only screen and (max-width : 768px) {
        #staff .col-sm-6:first-child {
            padding-right: 15px;
            margin-bottom: 10px;
        }
        #staff .col-sm-6:last-child {
            padding-left: 15px;
        }
        .pagination {
            margin: 0 0 20px 0;
            width: 100%;
            text-align: center;
            background: #000A86;
        }
        .pagination > li {
            display: inline-block;
            margin-bottom: -6px;
        }
    }

    @media only screen and (max-width : 660px) {
       #menu-toggle {
            top: 10px;
        }
        #loader {
            display: none !important;
        }
    }
    
    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
        #menu-toggle {
            top: 0;
        }

    }
    
    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {

    }
