/* global */
* {
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: normal;
    -moz-osx-font-smoothing: grayscale;
}
.clearfix:after,
.box:after {
    clear: both;
    content: "";
    display: table;
}

.image span.rounded {
	display: block;
	border-radius: 50%;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	overflow: hidden;
    position: relative;
}
.image span.rounded img {
    width: 100%;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.img-header img {
    margin: auto;
    display: block;
}

.iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}
.iframe-wrap iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* set color */
a,
h1.page-title,
.header-with-bg .head-background .wrap-for-hgroup .circle-network-first .fa,
#property .contact-agent .agent .overview a,
#property .contact-agent .agent .overview p a,
body#team div#agent p.link-back a {
    color: #1B355F;
}

/* set background */
.outer-featured-list,
div#search_results .sort.right.s-cf div#search-icon2,
input[type="submit"],
input[type="button"],
a.button,
button,
a.btn,
div.link-back a {
    background-color: #1B355F;
}

/* header */
.header-with-bg .head-background .wrap-for-hgroup {
    background: #1B355F;
}
.search-colapse #quick-search #realty_widget_quick_search .qs-rp img {
    width: 100%;
}
/* .wrap-for-hgroup .utils {
    position: relative;
} */

.header-with-bg .head-background .homepage-text a.rp-data-widget {
    background: #fcfcfc;
    border: 1px solid #bbb;
    color: #9a9a9a;
    display: block;
    font-weight: normal;
    margin: 0;
    width: 100%; margin:0 0 10px
}

#home #header hgroup h1.logo img,
#header hgroup h1.logo img {
    width: auto !important;
    max-width: 250px !important;
    padding-right: 10px;
}

.socials a {
    display: block;
    text-align: center;
    width:  30px;
    float: left;
    margin-right: 5px !important;
    line-height: 30px;
}
/* content */
#wrapper {
    margin: 30px auto 0;
    min-height: calc(100% - 90px);
    overflow-x: hidden;
}

/* homepage - slide */
#home .feature_photo .feature_image a {
    height: 0;
    padding-bottom: 50%;
    background-position: center bottom;
}

#home .outer-featured-list {
    max-width: 100%;
    background: #efefef;
}

/* homepage - featured listing */
.featured-list ul li {
    margin-top: 20px;
    margin-bottom: 0;
}

.outer-homepage-text {
    text-align: center;
    padding: 40px 0;
}

.outer-homepage-text h1 {
    font-size: 37px;
}

.outer-homepage-text p {
    font-size: 20px;
    line-height: 34px;
    font-weight: 300;
}

.hoome-social-part .social-feed #text-4 .textwidget,
.hoome-social-part .social-feed #text-5 .textwidget {
    max-height: 538px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.hoome-social-part .social-feed #text-5 .textwidget .object-wrap {
    margin: 0 0 5px;
}



/* homepage - suburb */
#home .suburb .slides li .suburb_name {
    font-weight: 300;
    display: block;
    font-size: 18px;
    padding-top: 10px;
}

#home .suburb .slides li .suburbs_name {
    color: #fff;
    font-weight: 600;
    display: block;
    text-align: center;
}

#home .featured-list {
    max-width: 960px;
    margin: 0 auto;
    font-size: 0;
}

.featured-list ul li div.featured-text h2 {
    font-weight: 400;
    font-size: 22px;
}

.featured-list ul li div.featured-text .featured-link a {
    font-weight: 300;
    color: #14172A;
    display: block;
    font-size: 16px;
    margin-top: 0;
}

.cycle-slideshow .direction {
    position: absolute;
    z-index: 102;
    top: 50%;
    width: 63px;
    height: 85px;
    line-height: 85px;
    margin: -42.5px 0 0;
    font-size: 6em;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.home-socialmedia ul {
    text-align: center
}

.home-socialmedia ul li {
    display: inline-block;
    padding: 0 50px;
    margin-bottom: 15px;
}

.home-socialmedia ul li .fa {
    border: 10px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    height: 100px;
    line-height: 80px;
    text-align: center;
    transition: all 0.2s ease-in-out 0s;
    width: 100px;
    font-size: 55px;
    background: #14172A;
    color: #fff;
}

/* property listing */
.thumbview .listing .overview p.price,
.thumbview .listing .overview p.address {
    color: #1B2244;
}

/* property detail */
.property .section.header h1.address,
body#property ul.rooms li,
body#property .realty_widget_property_description > h3.title,
body#property #side_realty_widget_property_table_2 .text-price,
body#property #side_realty_widget_property_table_2 .property-table h3.title,
body#property #side_realty_widget_property_opentimes h3.title {
    color: #1B2244;
}

/* property detail sidebar */
.section.overview.group .block.right.s-cf .wrap div#side_realty_widget_map h3.section-title,
.property .section.overview h3.title {
    background-color: #1b2244;
}

/* suburb profile */
.page-template-template_suburb_snapshots .location-image .image {
    height: 0;
    /* padding-bottom: 56.25%; */
    padding-bottom: 40%;
    overflow: hidden;
    position: relative;
}
.page-template-template_suburb_snapshots .location-image .image a {
    position: absolute;
    display: block;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
}
.page-template-template_suburb_snapshots .location-image img {
    position: absolute;
    margin: auto;
    display: block;
    width: 50%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

body#croydon-hills .location-image img,
body#doncaster-east .location-image img {
    bottom: -25%;
}

.location-page #tabbed_listings div#suburb-profile div#description h1.suburb-title {
    text-align: center;
}
.page-template-template_suburb_snapshots .object-wrap {
    margin-bottom: 0;
}
.page-template-template_suburb_snapshots .section.overview .short-info {
    text-align: justify;
}
.page-template-template_suburb_snapshots .section.overview .short-info ul:after, .page-template-template_suburb_snapshots .bottom-thumbnail ul:after {
    content: '';
    display: table;
    clear: both;
}
.page-template-template_suburb_snapshots .section.overview .short-info ul li {
    float: left;
    width: 33.3333%;
}
.page-template-template_suburb_snapshots .property-worth {
    background: rgba(20, 23, 42, 0.95);
    padding: 2% 10%;
    text-align: center;
    margin: 40px 0;
}
.page-template-template_suburb_snapshots .property-worth h2 {
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff !important;
}
.page-template-template_suburb_snapshots .property-worth h3 {
    font-size: 18px;
    font-weight: 400;
    margin-top: 15px;
    color: #fff !important;
}
.page-template-template_suburb_snapshots .property-worth input {
    width: 100%;
    height: 45px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}
.page-template-template_suburb_snapshots .bottom-thumbnail {
    margin: 0 -20px;
    margin-bottom: 50px;
}
.page-template-template_suburb_snapshots .bottom-thumbnail ul li {
    float: left;
    padding: 10px 20px;
}
.page-template-template_suburb_snapshots .bottom-thumbnail ul li .sub-title {
    display: inline-block;
    margin-top: 5px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    width: 100%;
}
.page-template-template_suburb_snapshots .bottom-thumbnail ul li:nth-of-type(1), .page-template-template_suburb_snapshots .bottom-thumbnail ul li:nth-of-type(3) {
    width: 25%;
}
.page-template-template_suburb_snapshots .bottom-thumbnail ul li:nth-of-type(1) a, .page-template-template_suburb_snapshots .bottom-thumbnail ul li:nth-of-type(3) a {
    display: block;
    position: relative;
    padding-bottom: 137%;
    overflow: hidden;
}
.page-template-template_suburb_snapshots .bottom-thumbnail ul li:nth-of-type(1) a img,
.page-template-template_suburb_snapshots .bottom-thumbnail ul li:nth-of-type(3) a img {
    position: absolute;
    height: 100%;
    width: auto;
    max-width: none;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.page-template-template_suburb_snapshots .bottom-thumbnail ul li:nth-of-type(2) {
    width: 50%;
}

/* gform */
.gform_wrapper {
    max-width: 100%;
}

.gform_wrapper textarea.medium {
    width: 100%;
}

.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background: none;
    border: 0;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-top: 0;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required fieldset legend.gfield_label,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-left: 0;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    margin: 0 !important;
}

.gform_wrapper div.validation_error,
.gform_wrapper .top_label .gfield_error {
    width: 100%;
}

#gform_confirmation_wrapper_2 {
    min-height: 342px;
}

.gform_confirmation_message {
    margin: 15px 0;
    font-weight: 700;
    position: relative;
    padding-left: 45px;
}
.gform_confirmation_message:before {
    content: "\f00c";
    display: block;
    width: 30px;
    height: 30px;
    float: left;
    font-family: FontAwesome;
    line-height: 30px;
    text-align: center;
    border-radius: 2px;
    color: #fff;
    background: #009eff;
    margin: 6px;
    position: absolute;
    left: 0;
    top: -10px;
}

#realty_widget_map2 {
    margin-bottom: 30px;
}

/* -page: location info */
#location_info #suburb-profile .section.overview .block.left {
    width: 60%;
}

#location_info #suburb-profile .section.overview .block.right {
    width: 40%;
}

#location_info #suburb-profile .title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 10px;
}

#location_info #suburb-profile .block.right li a {
    text-decoration: underline;
}

#location_info #suburb-profile li a:hover {
    color: #1897d8;
}

@media (min-width:768px) {
    #location_info .section.overview .block.left > .wrap {
        padding-right: 20px;
    }

}

/* -page - testimonial */
body#testimonials #wrapper{
    max-width: 100%;
    padding-top: 0;
}
body#testimonials .inner{
    max-width: 980px;
    margin: auto;
}
body#testimonials div[role="main"].group{
    padding: 0;
}
body#testimonials .title{
    padding: 0 15px;
}

.youtube-video-container{}
.youtube-video-container .youtube-video{
    float: left;
    padding: 0 15px;
    width: 20%;
    margin-bottom: 30px;
    position: relative;
}
.youtube-video .yt-video-thumbs{
    position: relative;
}
.youtube-video .yt-video-thumbs img{
    max-width: 100%;
}

.yt-video-thumbs i.fa.fa-play{
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #282828;
    box-shadow: 0 0px 1px #1a1a1a;
    font-size: 15px;
    color: #ff0000;
    bottom: 10px;
}
#home h1, #home h2, #home h3 {
    color: #14172A;
}
.testimonials{
    overflow: hidden;
    padding-bottom: 30px;
    margin: 30px -15px;
}
.view-more {
    padding-bottom: 40px;
}
#home .outer-happy-clients .pagination a,
.view-more a {
    border: 1px solid rgba(20, 23, 42, 0.95);
    color: rgba(20, 23, 42, 0.95);
    padding: 12px 25px;
    font-size: 16px;
    -webkit-border-radius: 30px;
    -ms-border-radius: 30px;
    border-radius: 30px;
}
.testimonials .with-flex{
    flex-wrap: wrap;
}
.testimonials .box{
    padding: 0 15px;
    float: left;
    width: 50%;
}
.testimonials .box .left,
.testimonials .box .right {
    /*padding: 0 15px;*/
    padding-bottom: 15px;
}
.testimonials .box .left{
    width: 30%;
}
.testimonials .box .right{
    width: 70%;
}
.testimonials .box .right .title{
    padding: 10px 0 0!important;
    border-top: 1px solid #ddd;
}

.testimonials span.rounded{
    display: block;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    margin: auto;
}
.testimonials .rounded img{
    max-width: 100%;
}
.testimonials span.rounded.post-thumb img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 105%;
    height: auto;
    max-width: inherit;
}
.testimonials .pagination{
    clear: both;
    width: 100%;
    margin-top: 40px;
}
.rating i {
    color: #fda527;
}

.realty_widget_suburb_specialist_map .title{
    text-align: center;
}
#map_canvas{
    position: relative;
    padding-bottom: 30%;
    margin-bottom: 30px;
}
#map_canvas > div{
    position: absolute;
}

@media (max-width: 992px){
    body#testimonials #main-body{
        margin-bottom: 0;
    }
    .youtube-video-container .youtube-video{
        width: 50%;
    }
    .youtube-video-container .youtube-video:last-child{
        width: 100%;
    }

    .testimonials .box{
        border-top: 1px solid #ddd;
        padding-top: 30px;
    }
    .testimonials .box .left,
    .testimonials .box .right{
        width: 100%;
        margin-bottom: 15px;
    }
    .testimonials .box .title{
        text-align: center;
    }

    #map_canvas{
        padding-bottom: 56.25%;
    }
}
@media (max-width: 480px){
    .youtube-video-container .youtube-video{
        width: 100%;
    }
}

/* footer */
#footer * {
    color: #fff !important;
}

#footer {
    margin: 0;
    width: 100%;
    bottom: 0;
    background: #1B355F;
}

#home #footer .group.wrapper {
    margin: 0 auto;
}

#footer .group.wrapper {
    max-width: 1170px;
    margin: 0 auto;
    border-top: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .footer-content p,
#footer .footer-content p a {
    display: inline;
    font-weight: 200;
}

#footer .footer-content p a:before {
    content: "|";
    padding: 0 8px 0 5px;
}

#footer .group.wrapper {
    text-align: center;
}

.footer-content {
    display: inline-block;
}

.agent.left .details li.name.first a {
    font-weight: 400;
}

.page-id-124 .careers.direction {
    display: none;
}

.agent.left .details li.position {
    font-weight: 400;
}

#header .wrap-for-hgroup .logo img {
    max-height: 70px;
}

#header .wrap-for-hgroup,
#header hgroup {
    min-height: 76px;
}

/* media query*/
@media screen and (min-width:1200px) {
    #header .wrap-for-hgroup .right {
        position: absolute;
        top: 0;
        right: 0;
        padding: 23px 0;
    }

    .menu > div li:hover > ul.sub-menu {
		max-height: 1000px;
		overflow: inherit;
        border-top: 5px solid #d1d3d4;
        left: 0;
	}

}
@media screen and (min-width:1152px) {
    #header {
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }
}

@media screen and (min-width:1024px) {
    nav[role="navigation"] {
        margin: 0px;
    }

    nav[role="navigation"] ul.menu li#menu-item-79 {
        margin-left: 260px;
    }

    .wrap-for-hgroup .utils .logo {
        text-align: center;
        display: block;
        position: absolute;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    .wrap-for-hgroup .logo img {
        display: inline-block;
    }

    nav[role="navigation"] ul.menu li {
        position: relative;
        text-align: left;
    }

    nav[role="navigation"] ul.menu {
        width: 100%;
        margin-top: 0;
    }
}

#property #wrapper {
    margin: 0 auto 0 !important;
}

span.reload-captcha a {
    display: inline-block;
    line-height: 40px;
    padding: 0 20px !important;
}

#home .outer-suburb {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed;
}

.featured-list ul:before,
.featured-list ul:after {
    content: "";
    display: table;
}

.featured-list ul:after {
    clear: both;
}

.featured-list ul li {
    float: left;
}

#home .header-with-bg .head-background .f-img {
    display: block
}

#header hgroup {
    min-height: 76px;
}

.header-with-bg .head-background .f-img {
    height: auto;
    max-height: 523px;
    overflow: hidden;
}

.header-with-bg .head-background .f-img img {
    height: auto;
    width: 100%;
    position: relative;
}

#meet-the-team #content .agent-group .row .agent {
    margin: 0 1.5% 0 0
}

#meet-the-team #content .agent-group .agent .details {
    padding: 0
}

#meet-the-team #content .agent-group .agent .image {
    padding: 0
}

#meet-the-team #content .agent-group .agent .image img {
    border: medium none;
    box-shadow: none;
    image-rendering: auto
}

#meet-the-team #content .agent-group .details a {
    display: block;
    font-size: 18px;
    font-weight: bold
}

/* page: property details */
#property .media {
    overflow: hidden
}

@media screen and (min-width:1024px) {
    #property .media {
        height: 409px !important;
    }

}

@media screen and (min-width:768px) and (max-width:1023px) {
    #property .media {
        height: 409px !important;
    }

}

@media (max-width: 767px) {
    .property .section.overview .block.left > .wrap {
        padding-right: 0;
    }
    #property .section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

#property .media #main-image {
    position: relative
}

#property .media #main-image,
#property .media #thumbnails,
#property .media #thumbnails .wrap {
    height: 100%
}

#property .media #main-image ul {
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 0
}

#property .media #main-image li a img {
    display: block;
    /* height: auto */
}

.property .section.overview h3.title {
    color: #fff !important;
    padding: 5px 10px;
    font-size: 1.5em;
}
.property .section.overview .realty_widget_contact_agent h3.title {
    margin-bottom: 0;
}

.property .section.header {
    border-top: 0;
}

.cycle-slide,
.cycle-slide img {
    width: 100%;
    height: 100%;
}

.property_tools p {
  float: left;
  width: 50%;
}
.property_tools a {
  /* display: block; */
  margin: 0 5px 5px 0;
  line-height: 32px;
  color: #333 !important;
  background: transparent;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property_tools a i.fa {
  margin: 0 5px 0 0;
}
.property_tools a:hover {
  color: #1b2244;
}

div.light_square .pp_expand {
    display: none !important
}

#blog #wrapper {
    max-width: 965px;
    padding: 80px 20px;
    width: auto
}

#blog .entry {
    margin: 0;
    min-height: auto
}

.post {
    border-bottom: 1px dashed #eaeaea;
    margin: 0 0 20px;
    padding: 0 0 20px
}

.posts.single img {
    max-width: 200px
}

.posts.index .entry p {
    margin: 0 0 15px
}

#commentform p label {
    display: block
}

#meet-the-team .header-with-bg .head-background .f-img img {
    display: none
}

/* page: search results */
#search_results .sort.right {
    padding-right: 0;
}

#thumbnail-mode {
    margin-left: -10px;
    margin-right: -10px;
}

#thumbnail-mode .listing {
    padding-left: 10px;
    padding-right: 10px;
}

/* page: calculators */
.calc_results p strong {
    font-weight: bold;
}

/* page: favourite */
#search_results_container .link-back {
    float: right;
    padding: 0 10px 10px 0;
}

#search_results_container #sorter_pagination {
    display: none;
}

#search_results_container #thumbnail-mode {
    clear: both;
}

/* page: testimonials */
.content-testi .outer-testi {
    border-bottom: 1px solid #C2C2C2;
    padding-bottom: 30px;
}

.content-testi .outer-testi:last-child {
    border: 0;
}

/* lightbox: map */
h2.map-address {
    background: #14172A !important;
}

/* location info */
.page-id-70 #wrapper {
    min-height: calc(100vh - 520px);
}

.page-id-70 .location-image .image {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 400px;
}

.page-id-70 .location-image .image img {
    width: 100%;
}

.page-id-70 #wrapper {
    margin-top: -100px;
}

.page-id-70 h1.page-title {
    text-align: center;
}

.page-id-70 #content {
    background: #fff;
    padding: 25px;
}

.page-id-180 li.field_description_below {
    margin-bottom: 20px;
}

/* fix the bugs*/
.header-with-bg .head-background .wrap-for-hgroup .search-home-header {
    padding-right: 30px;
}

#home .header-with-bg .head-background .f-img {
    position: static;
}

#home .header-with-bg,
#home .cycle-slideshow {
    height: auto !important;
}

#home .control {
    top: 40%;
}

#home .owl-carousel {
    display: block !important;
}

#home #current_sale .control {
    top: 30%;
}

#home #current_sale .control.prev {
    left: -8%;
}

#home #current_sale .control.next {
    right: -8%;
}

.page-id-11 .section.header .group {
    padding-left: 0;
    padding-right: 0;
}

.page-id-11 .property-table span.value {
    overflow: hidden;
    display: block;
}

.page-id-11  .property-table span.field {
    width: 125px;
    float: left;
    display: block;
}
.header-with-bg .head-background .homepage-text .property-worth {
    background: rgba(0,0,0,0.8);
    padding: 2% 10%;
    text-align: center;
    margin: 5px 5px 50px 5px;
}
.header-with-bg .head-background .homepage-text .property-worth h2 {
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff !important;
}
.header-with-bg .head-background .homepage-text .property-worth h3 {
    font-size: 18px;
    margin-top: 15px;
    color: #fff !important;
}
.header-with-bg .head-background .homepage-text .property-worth input {
	display:none;
    width: 100%;
    height: 45px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.rp-data {}
.rp-data iframe {
    width: 100%; height:1900px
}

#home .outer-happy-clients, .outer-homepage-text {
    max-width: 960px;
    margin: 0 auto;
}
#home .outer-happy-clients h1 {
    text-align: center;
    margin-bottom: 20px;
}
#home .hoome-social-part {
    padding: 20px 0 40px;
}

/* .mfp-content {
    background: #fff;
    padding: 20px;
    width: 95% !important;
    max-width: 600px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
} */

/* -magnific:popup- */
.mf-popup { position:relative; max-width:484px; margin:0 auto; padding:28px; }
.mfp-close-btn-in .mfp-close { color: #eee; }
.mf-popup.white { background:#fff; }
.mf-popup.flip {
    opacity:0;
    -webkit-transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -o-transition:all 0.2s ease-out;
    transition:all 0.2s ease-out;
    -webkit-transform:translateY(-20px) perspective(600px) rotateX(10deg);
    -moz-transform:translateY(-20px) perspective(600px) rotateX(10deg);
    -ms-transform:translateY(-20px) perspective(600px) rotateX(10deg);
    -o-transform:translateY(-20px) perspective(600px) rotateX(10deg);
    transform:translateY(-20px) perspective(600px) rotateX(10deg);
}
.mfp-ready .mf-popup.flip {
    opacity:1;
    -webkit-transform:translateY(0) perspective(600px) rotateX(0);
    -moz-transform:translateY(0) perspective(600px) rotateX(0);
    -ms-transform:translateY(0) perspective(600px) rotateX(0);
    -o-transform:translateY(0) perspective(600px) rotateX(0);
    transform:translateY(0) perspective(600px) rotateX(0);
}
.mfp-removing .mf-popup.flip {
    opacity:0;
    -webkit-transform:translateY(-10px) perspective(600px) rotateX(10deg);
    -moz-transform:translateY(-10px) perspective(600px) rotateX(10deg);
    -ms-transform:translateY(-10px) perspective(600px) rotateX(10deg);
    -o-transform:translateY(-10px) perspective(600px) rotateX(10deg);
    transform:translateY(-10px) perspective(600px) rotateX(10deg);
}

.mf-popup.with-iframe {
    padding-top: 45%;
    max-width: 800px;
}
.mf-popup.with-iframe iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 0;
}
.mf-popup.with-iframe button.mfp-close {
    top: -44px;
    color: #eee;
}

/* lightbox mfpopup */
.mfp-content .lightbox-wrap{
  padding: 20px;
  margin: 30px auto;
  background: #fff;
  max-width: 560px;
  position: relative;
}
.mfp-content .lightbox-wrap .mfp-close{
  top: 0;
  right: 0;
  position: absolute;
  color: #333;
}
.mfp-content .lightbox-wrap .mfp-close:hover{
  background: none;
}

.lightbox-wrap #return {
	padding: 0;
}

.lightbox-wrap h2,
.lightbox-wrap h5 { margin: 0 0 20px; text-align: center; }
.lightbox-wrap ol.cf-ol li { padding: 0 0 10px; }
.lightbox-wrap ol.cf-ol li.last { padding: 0; }
.lightbox-wrap ol.cf-ol li label { width: 200px; margin: 5px 0 0; }
.lightbox-wrap ol.cf-ol li input[type="text"] { width: 300px; }
.lightbox-wrap ol.cf-ol li input[type="button"],
.lightbox-wrap ol.cf-ol li input[type="submit"] { }
.lightbox-wrap ol.cf-ol li textarea { width: 300px; height: 75px; }
.lightbox-wrap ol.cf-ol li a.btn { float: left; }
.lightbox-wrap ol.cf-ol li a.reload-captcha { position: relative; top: -15px; left: 5px; }


/*
 * Media Query
 ----------------------------------------------------------------------------------------------------- */
@media screen and (max-width:1024px) {
    #header hgroup h1.logo {
        padding-left: 0;
        margin-left: 20px;
    }

    body.page-id-70 {
        padding-top: 112px;
    }

    /* footer */
    #footer {
        padding: 30px 0;
    }

    #footer .footer-content p,
    #footer .footer-content p a {
        display: block;
        text-align: center;
    }

    #footer .footer-content p a:before {
        display: none;
    }

}

@media screen and (min-width:1025px) {
    #header .toggle-menu {
        display: none;
        z-index: 9999;
    }

    #home .header-with-bg .head-background .f-img {
        margin-top: 76px;
    }

    /* area profiles */
    #home .slides {
        min-height: 300px;
    }

    #home .slides ul li {
        height: 234px;
        overflow: visible;
    }

    #home .suburb .slides li .suburb_image {
        height: 95%;
        border: none;
    }

}

@media screen and (min-width:769px) and (max-width:1024px) {
    .toggle-menu .fa {
        display: none;
    }

}

@media screen and (min-width:768px) and (max-width:1024px) {
    #header hgroup h1.logo {
        /* margin-left: 0; */
        padding-top: 10px;
        display: inline-block;
    }

    #home #header hgroup h1.logo img,
    #header hgroup h1.logo img {
        padding-right: 0;
        padding-left: 0;
        padding-top: 5px;
        margin: 0 !important;
    }

    #header .wrap-for-hgroup .right {
        right: 20px;
        top: 14px;
        padding: 5px;
    }

    /* nav[role="navigation"] {
        padding-top: 76px;
    } */

    nav[role="navigation"] ul.menu li#menu-item-79 {
        margin-left: 0;
    }

    .toggle-main-menu {
        top: 18px;
        right: 15px;
    }

    #home .header-with-bg .head-background .f-img {
        max-height: none;
    }

    #header hgroup {
        position: relative
    }

    #header hgroup img {
        margin: 15px 0 5px
    }

    #header .wrap-for-hgroup .right.s-cf {
        padding: 10px
    }

    #header .wrap-for-hgroup .in-scf {
        height: auto;
        padding: 0
    }

    #home .suburb .control {
        top: 25%;
    }

    #home .cycle-slideshow {
        height: 100%;
    }

    html,
    body #home {
        height: 88%;
    }

    #home .control.next {
        right: 0% !important;
    }

    #home #team_member .control.next {
        right: 8px;
    }

    #home #team_member .control.prev {
        right: 8px;
    }

    #home .control.prev {
        left: 0% !important;
    }

    #home .suburb {
        position: relative;
        top: 20px;
    }

    .suburb .slides ul li .suburb_image {
        height: 170px;
        overflow: hidden;
    }

    .suburb .slides li .suburb_image img {
        width: 150%;
        height: 150%;
    }

    #home .suburb.control {
        top: 27% !important;
    }

    body#home {
        padding-top: 76.5px !important;
    }

}

@media screen and (min-width:768px) and (max-width:930px) {
    nav[role="navigation"] ul.menu > li > a {
        font-size: 12px !important;
    }

}
@media screen and (max-width: 992px) {
    .testimonials {
        margin: 30px 0;
    }
}
@media screen and (max-width:768px) {
    .page-template-template_suburb_snapshots .bottom-thumbnail ul li {
        float: none;
        width: 100% !important;
    }
    .page-template-template_suburb_snapshots .section.overview .short-info ul li {
        float: none;
        text-align: center;
        width: 100%;
    }
    #testimonials .move-c h1.page-title,
    #contact h1.page-title {
        margin: 10px !important
    }

    #header hgroup img {
        padding-right: 0 !important;
        padding-left: 0;
        padding-top: 0 !important;
        margin: 0;
    }

    #header .wrap-for-hgroup .right {
        top: 15px;
    }

    .wrap-for-hgroup .utils .logo {
        position: static;
        text-align: center;
    }

    .wrap-for-hgroup .utils .logo > a {
        display: inline-block;
    }

    nav[role="navigation"] {
        padding-top: 0;
    }

}

@media screen and (max-width:767px) {
	/*#home .mf-popup.with-iframe {
	    padding-top: 100%;
	    overflow-y: auto;
	    -webkit-overflow-scrolling: touch;
	}*/

	.rp-data {
    overflow: auto;
    padding-bottom: 175%;
	}

	body#home.data-open {height: 100%;overflow: hidden; position:fixed}
	#home .mfp-content {height: 100%;left: 0;position: fixed;top: 0}
	#home .mf-popup.with-iframe {height: 100%;overflow-y: auto;padding: 0;-webkit-overflow-scrolling: touch}
	#home .mf-popup.with-iframe button.mfp-close {color: #000;right: 0;top: 0}
	#home .mf-popup.with-iframe button.mfp-close::after {
    content: "";
    height: 40px;
    left: 0;
    position: absolute;
    top: 0;
    width: 40px;
}

    .suburb_select div#suburb_list {
        padding-right: 0;
    }
    .search-colapse #search_quick .search_quick-wrap .button.quick_search_btn {
        width: 100%;
        margin-bottom: 15px;
    }
    .header-with-bg .head-background .homepage-text .property-worth input {
        height: 35px;
    }
    .header-with-bg .head-background .homepage-text .property-worth {
        padding: 2% 3%;
        margin: 5px 5px 10px 5px;
    }
    .header-with-bg .head-background .homepage-text .property-worth h2 {
        font-size: 18px;
    }
    .header-with-bg .head-background .homepage-text .property-worth h3 {
        font-size: 16px;
    }
    #header .hgroup {
        background: #14172A;
    }

    #header hgroup h1.logo {
        float: none !important;
        width: auto !important;
    }

    .ap-menu-theme {
        margin-top: 0 !important;
    }

    /* .toggle-main-menu {
        top: 20px;
        right: 20px;
    } */

    #header .wrap-for-hgroup .right {
        position: relative;
        top: auto;
        right: 0;
        bottom: 10px;
    }

    body {
        padding: 0
    }

    .header-with-bg .head-background .wrap-for-hgroup {
        position: relative
    }

    #home #header hgroup h1.logo img,
    #header hgroup h1.logo img {
        height: auto !important;
        max-width: 200px !important;
        padding: 10px 0 0;
    }

    hgroup h1.logo {
        margin-left: 0 !important;
    }

    #header .toggle-menu {
        right: 15px;
        top: 10px;
        z-index: 999999;
    }

    .header-with-bg .head-background {
        max-height: 100%
    }

    .search-results #thumbnail-mode .listing.left .image.notsold {
        height: 100%;
    }

    /* homepage */
    #home .hoome-social-part {
        padding: 40px 0;
    }

    /* page: property details */
    #property .media #main-image {
        width: 100%
    }

    #property .media #thumbnails {
        display: none
    }

    #property .media #main-image a.control {
        color: #fff;
        display: block;
        font-size: 4em;
        margin: 0 15px;
        opacity: 0.5;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 99;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
}

    #property .media #main-image a.control:hover {
        opacity: 1
    }

    #property .media #main-image a.prev {
        left: 0
    }

    #property .media #main-image a.next {
        right: 0
    }

    #property_tools {
        padding: 20px 0;
    }

    div.pp_pic_holder.light_square {
        left: 0 !important;
        margin: 0 !important;
        width: 100% !important
    }

    body#e-magazine .emag-thumb {
        width: 100%;
    }

    /* Homepage */
    #home .featured-list ul {
        width: 60%;
        margin: auto;
    }

    /* page: Search Results */
    .thumbview .listing .image {
        height: 300px !important;
    }

    div#thumbnail-mode .listing.left .image a {

        /*padding-bottom: 74.93333%;*/
    }

    /* page: Calculators */
    #calculators td {
        display: block;
        width: 100% !important;
    }

    #calculators .calc_table tr {
        display: block;
    }

    #calculators td:before,
    #calculators td:after {
        content: "";
        display: table;
    }

    #calculators td:after {
        clear: both;
    }

    #calculators #stamp_duty_calculator {
        margin-bottom: 30px;
        border-bottom: 1px solid #C2C2C2;
    }

    /* page: subscribe form */
    #user_management_page #manage_profile ol.cf-ol.right ul.prop_alerts_ul fieldset {
        width: 100%;
    }

    div#manage_profile li.site_alerts .site-alerts-wrap p {
        font-family: 'HelveticaNeueLTStd-Md', Arial, Helvetica, sans-serif;
        margin-bottom: 0;
    }

    /* gform */
    .gform_wrapper .top_label .gfield_label,
    .gform_wrapper label.gfield_label+div.ginput_container,
    .gform_wrapper .gform_footer,
    .gform_wrapper input[type="submit"] {
        width: 100%;
    }

    .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
    .gform_wrapper li.gfield_html {
        max-width: 100%;
    }

    body .gform_wrapper.gf_browser_chrome select {
        width: 100% !important;
    }

    .gform_wrapper .gform_footer {
        margin: 0;
    }

    /* header */
    .search-colapse #quick-search {
        /* top: 144px !important; */
        top: 76px !important;
    }
    #quick-search .btn-icon {
        color: #fff;
        margin: 1em 0;
    }

    /* page contact */
    .header-with-bg .head-background .wrap-for-hgroup .search-home-header {
        float: none;
        display: inline-block;
    }

    .gform_wrapper .left_label .gfield_label,
    .gform_wrapper .left_label input.medium,
    .gform_wrapper .left_label select.medium,
    .gform_wrapper .right_label input.medium,
    .gform_wrapper .right_label select.medium,
    .gform_wrapper .left_label textarea.medium,
    .gform_wrapper .left_label .gfield_error textarea.textarea {
        width: 100%;
    }

    .gform_wrapper .left_label .gfield_description,
    .gform_wrapper .gform_footer.left_label {
        margin-left: 0;
    }

}

@media screen and (max-width:600px) {

    /* page: subscribe form */
    #user_management_page #manage_profile ol.cf-ol.right ul.prop_alerts_ul {
        width: 100%;
    }

    #footer .footer-quick-links {
        padding: 10px 50px;
        width: 100%;
        font-size: 14px !important;
    }

    #footer h4 {
        font-size: 16px;
        text-align: center;
    }

    #footer ul li {
        text-align: center;
    }

    #agent .link-back a {
        margin-bottom: 15px;
    }

    .page-id-70 .location-image .image {
        height: 345px;
    }

}

@media screen and (max-width:480px) {

    /* Homepage */
    #home .featured-list ul {
        width: 100%;
    }

    #property div.pp_pic_holder.light_square .pp_details {
        margin: 0 auto;
        position: relative;
        width: 90% !important;
        z-index: 9
    }

    #property .pp_nav {
        /* margin: -20px 0 0 */
    }

    .thumbview .listing .image {
        height: 250px !important;
    }

    #realty_widget_contact_agent .contact-agent .image.left {
        width: auto;
    }

    .contact-agent .agent {
        display: flex;
        display: -webkit-flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-agent .agent .overview {
        text-align: center;
    }

    .contact-agent .agent .image a {text-align: center;}
    #realty_widget_contact_agent .contact-agent .image.left a {margin: auto;}
}

@media screen and (max-width:360px) {
    .posts.single img {
        margin: 0 0 20px;
        width: 100%;
        max-width: 100%
    }

}

/* detail property fix */
.pp_content_container {
    z-index: 10;
}
/* safari customize */
.safari .agent_name {
    margin-top: 10px !important;
}

.suburb-name {
    text-align: center;
}

.with-flex{
    display: flex;
}

/* page: testimonials  */
.youtube-video-container .inner {
    margin-left: -15px;
    margin-right: -15px;
}

.default .yt-box p {
    margin-bottom: 0;
}

.yt-box {
    float: left;
    width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}
@media (max-width: 767px) {
    .yt-box {
        width: 100%;
    }
}
.yt-box p {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.yt-box iframe {
    width:  100%;
    height: 100%!important;
    position: absolute;
    top: 0;
    left: 0;
}

/* page: team */
#agents .agent {
    margin-bottom: 30px;
}
.agent.center {
    margin-left: auto;
    margin-right: auto;
}
.agent .details li.name {
    font-size: 20px;
}
.agent li a,
.agent li a[href="tel:"],
.agent li.position,
.agent li.contacts {
    color: #0a073f;
}
.agent li.contacts a {
    color: #827C7C;
}
.agent li.contacts a:hover {
    color: #0a073f;
}

#agents .agent .image {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
    width: 75%;
    margin: auto;
}
.agent .image a.frame {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    height: 75%;
}
#agents .agent a.frame img {
    width: 100%;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

/* page: team detail */
.agent-contact .agent_contact_info {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #0a073f;
}
.agent_item .imageCont .image {
    position: relative;
    padding-bottom: 20%;
    overflow: hidden;
    border-radius: 50%;
}
.agent_item .imageCont .image img {
    position: absolute;
    width: 90%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

nav[role="navigation"] ul.menu > li:hover > a {
    box-shadow: 0 0 20px rgba(255,255,255,.2);
}

/* nav[role="navigation"] ul.menu > li:nth-of-type(3) {
    margin-right: 300px;
} */

.search-colapse .section_title,
div#realty_widget_quick_search div#quick_search .search_selection label,
p.instruction {
    color: #fff !important;
}

.search-colapse #search_quick .search_quick-wrap ul > li:last-child,
.search-colapse #search_quick .search_quick-wrap .button.quick_search_btn {
    padding-right: 10px;
}

.search-colapse #search_quick .search_quick-wrap .suburb_select {
    width: 33.333%;
    padding-right: 10px;
    margin-bottom: 5px;
    height: 80px;
    overflow: hidden;
}

select#select_suburb,
.search-colapse #search_quick .search_quick-wrap .button.quick_search_btn {
    width: 100%;
}

input[type="submit"]:hover,
input[type="button"]:hover,
a.button:hover,
button:hover {
    background: #faa751;
    color: #1B355F;
}

@media (max-width: 1200px) {
    #header .wrap-for-hgroup .right {
		top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }

    .toggle-main-menu {
        display: none;
    }

    #main-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        max-height: initial;
    }

    #main-nav .menu {
        background-color: #1B355F;
        visibility: initial;
        max-height: initial;
        display: flex;
        display: -webkit-flex;
        justify-content: space-around;
        -webkit-justify-content: space-around;
        box-shadow: 0 2px 10px rgba(255,255,255,.2);
        opacity: .98;
    }

    nav[role="navigation"] ul.menu li:nth-child(4) {
        margin-right: unset;
    }

    .ap-menu-theme .menu a {
		color: #fff !important;
        border-bottom: none;
    }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    #header hgroup .utils {
        padding-left: 30px;
    }

    #footer {padding: 0 0 50px 0;}
}

/* @media screen and (min-width:768px) {
    #header hgroup {
        padding-top: 10px;
    }
} */

@media screen and (max-width:767px) {
    #header hgroup .utils {
        float: left !important;
        left: 50%;
    }

    #header .wrap-for-hgroup .right {
        float: right !important;
        right: 20px;
        bottom: 0;
    }

    #header hgroup .utils {
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .wrap-for-hgroup .utils .logo {
        text-align: left;
        font-size: unset;
    }

    #main-nav {
        min-height: 100%;
    }

    .header-with-bg .head-background .homepage-text a {
        width: 100% !important;
    }

    .toggle-main-menu {
        display: block;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 100;
    }

    #header .wrap-for-hgroup .right {
        position: absolute;
        top: 50%;
        width: auto !important;
    }
}

/* body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox {
    margin-left: 30%;
} */

@media only screen and (min-width:1024px) and (max-width:1200px) {
    #wrapper {
        min-height: calc(100vh - 240px);
        margin: 50px 0 !important;
    }

    #footer {
        bottom: 50px;
    }
}

.featured-list ul li div.featured-img a::after {
	content: '';
	width: 80px;
	height: 80px;
	display: block;
	background-size: cover;
	background-position: center;
}

.featured-list ul li div.featured-img img {
    display: none;
}

.featured-list ul li:nth-child(1) div.featured-img a::after {
    background-image: url('https://www.oceanwide.com.au/wp-content/themes/ap-oceanwide/images/Suburb-Profiles-Icon.png');
}

.featured-list ul li:nth-child(2) div.featured-img a::after {
    background-image: url('https://www.oceanwide.com.au/wp-content/themes/ap-oceanwide/images/Requrest-Appraisal-icon.png');
}

.featured-list ul li:nth-child(3) div.featured-img a::after {
    background-image: url('https://www.oceanwide.com.au/wp-content/themes/ap-oceanwide/images/Buyer-Registsration-Icon.png');
}

#content.homepage .outer-featured-list {
    padding-bottom: 60px;
}

@media only screen and (max-width: 767px) {
    .search-colapse #search_quick .search_quick-wrap ul > li:last-child,
    .search-colapse #search_quick .search_quick-wrap .button.quick_search_btn,
    .search-colapse #search_quick .search_quick-wrap .suburb_select {
        padding-right: 0;
    }

    .search-colapse #search_quick .search_quick-wrap .suburb_select {
        width: 100%;
    }

    p.instruction {
        text-align: right;
    }

    .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
        padding-left: 0 !important;
    }

    .gform_wrapper .gform_footer {
        margin-left: 0 !important;
    }

    .header-with-bg .head-background .wrap-for-hgroup .in-scf .socials.dt {display: none !important;}

    .contact_form div:nth-last-of-type(2) .field {
        flex-direction: column;
    }

    label.top + .options.col-2 {width: 100%;}
    .contact_form .button.email_btn {padding-left: 0;}
    nav[role="navigation"] ul.menu > div > li > a {
        padding: 0 10px;
        width: 100%;
    }
    .nav-left, .nav-right { position: static !important; transform:none !important ; -webkit-transform:none !important ; -moz-transform:none !important ; -ms-transform:none !important ; -o-transform:none !important ; flex-direction: column; width: 100% !important; height: unset !important; }
    nav[role="navigation"] ul.menu div > li {display: block !important;}
}

/* .property-listing > .content-block {
    overflow: hidden;
} */

.latest_listings h3.section-title {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.tns-horizontal.tns-subpixel>.tns-item,
.photo.tns-item .photo-wrap {
    overflow: hidden;
}

.photo-wrap a {
    display: inline-block;
    width: 100%;
}

.latest_listings .tns-ovh,
.photo-wrap a img {
    height: 200px;
    width: 100%;
}

.latest_listings .tns-ovh .tns-inner {
    height: 100%;
}

.page_toolbar {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.page_prev, .page_next {margin: 0 10px;}
.leaflet-container {margin-bottom: 100px;}
.tns-outer { position: relative; left: 50%; transform:translateX(-50%) ; -webkit-transform:translateX(-50%) ; -moz-transform:translateX(-50%) ; -ms-transform:translateX(-50%) ; -o-transform:translateX(-50%) ; }
.tns-controls {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex !important;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    width: 120%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
button[aria-controls="tns1"],button[aria-controls="tns2"] {background-color: transparent;}
button[aria-controls="tns1"],button[aria-controls="tns2"] i.fa {color: #14172A; font-size: 5em; padding: 0;}
button[aria-controls="tns2"] {padding: 0;}

.gform_wrapper ul.gform_fields li.gfield {
    display: inline-flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

body .gform_wrapper .top_label div.ginput_container {margin-top: 0;}
.gform_wrapper .gform_footer {margin-left: calc(30% - 6px);}
.gform_wrapper.gform_validation_error .top_label input.medium,
.gform_wrapper.gform_validation_error .top_label select.medium {
    width: 100%;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    padding-left: 30%;
}

.thumbview .listing .overview p.address {
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    white-space: nowrap;
}

.popup-gallery {height: 100%;}
.media #thumbnails .wrap ul {height: unset !important;}
div.pp_default .pp_content_container .pp_right,
div.pp_default .pp_content_container .pp_left {background: unset !important; padding-right: unset !important; padding-left: unset !important;}
.pp_top {display: none;}
div.pp_default .pp_details {position: static !important;}
a.pp_close {top: 5% !important; right: 5% !important;}
#property ul.rooms {padding-top: 10px;}
body#property ul.rooms.right li {width: 50px !important;}
.search_results #search_results #thumbnail-mode .listing.left {height: 390px !important;}
.toggle-main-menu.shrink i.fa {
    transform: unset;
    -webkit-transform: unset;
    -moz-transform: unset;
    -ms-transform: unset;
    -o-transform: unset;
}

.wrap-for-hgroup > #main-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw !important;
    overflow: visible;
    /* z-index: 99; */
}

.wrap-for-hgroup > #main-nav .menu {
    display: none;
    margin-top: 0;
    height: 100%;
    padding: 65px 12px 0;
    position: fixed;
    border: none !important;
    top: 0;
    bottom: 0;
    overflow-y: scroll;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    justify-content: flex-start;
}

.wrap-for-hgroup > #main-nav .menu .menu-item a {
    color: #fff;
    border: 1px solid;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.wrap-for-hgroup > #main-nav .menu-item {
    margin: 10px 0;
}

.wrap-for-hgroup > #main-nav .sub-menu .menu-item {margin-left: 15px;}

.wrap-for-hgroup > #main-nav .menu a:hover,
#property .contact-agent .agent .overview p.button a:hover {
    background-color: #faa751;
    opacity: 1;
}

nav.shrink[role="navigation"] {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    nav[role="navigation"] ul.menu li {
        text-align: center;
        flex: 1;
        -webkit-flex: 1;
    }

    nav[role="navigation"] ul.menu > li > a:hover {
        box-shadow: 0 0 20px rgba(255,255,255,.2) !important;
    }
}

.field {
    display: flex;
    margin: 10px 0;
    align-items: center;
    flex-wrap: wrap;
}

.field label {
    flex-basis: 30%;
    padding-right: 10px;
}

.field label span {color: red;}

.field input {
    flex: 1;
}

label.top {
    align-self: baseline;
}

.button.email_btn {
    padding-left: 30%;
}

.options.col-2 div {
    margin: 10px 0;
}

.options.col-2 {width: 30%; min-width: 300px;}
.options.col-2 select {width: 100%;}
#thumbnail-mode .listing {height: 380px;}

@media screen and (max-width: 1100px) {
    .tns-outer {width: 90%}
}
@media screen and (max-width: 992px) {
    .tns-outer {width: 80%}
}

.listforms li {display: flex; margin: 10px 0;}
.listforms li label {flex-basis: 30%;}
.listforms li input, .listforms li textarea {flex: 1;}
.listforms li:nth-last-of-type(2), .listforms li.last {padding-left: 30%;}
a.reload::before {
    content: "\f021";
    font-family: fontAwesome;
    font-size: 22px;
}
.code img {vertical-align: bottom;}

#realty_widget_contact_agent .contact-agent .image.left {min-width: 170px;}

ul.menu > div.socials {
    display: flex !important;
    width: 100%;
    justify-content: center;
    position: relative;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    order: 1;
}

ul.menu > div.socials a {
    width: 50px;
    margin-right: 0;
}

ul.menu > div.socials a .circle-network-first {
    width: 100% !important;
    height: 100% !important;
    margin-right: 0;
    background: none;
}

.menu-item {white-space: nowrap;}

@media screen and (min-width: 768px) {
    ul.menu > div.socials {
        display: none !important;
    }

    .sub-menu .menu-item:hover a {
        background-color: #faa751;
    }
}

#home .suburb {min-height: 400px;}
.menu a.toggle-subnav i.fa {background: none !important;}
.sub-menu, .menu li.shrink > .sub-menu {background-color: #1B355F;}

@media (max-width: 1200px) and (min-width: 768px) {
    .sub-menu {
        position: absolute;
        bottom: 50px;
        z-index: -1;
    }

    .menu li.shrink > .sub-menu {
        position: absolute;
        bottom: 60px;
        overflow: unset;
        box-shadow: 0 0 20px rgba(255,255,255,.2) !important;
    }

    .ap-menu {overflow: unset;}

    .toggle-subnav .fa-angle-down::before {
        content: "\f106";
    }

    .sub-menu.ap-sub-menu::after {
        content: '\f0d7';
        font-family: fontAwesome;
        position: absolute;
        bottom: -28px;
        color: #1B355F;
        font-size: 2.2em;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        z-index: -1;
    }
}

body.overflow-hide {
    overflow: hidden;
}

.header-with-bg .head-background .wrap-for-hgroup .circle-network-first .fa {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

nav[role="navigation"] ul.menu a.icon-first {
    border-radius: 50%;
    border-bottom: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

p a, div.popup-floorplan > a {text-decoration: underline; font-weight: bold;}
p a:hover {color: #faa751;}
.sub-menu li {text-align: left !important;}
#menu-main-menu {justify-content: space-between; -webkit-justify-content: space-between;}
.nav-left, .nav-right {height: 100%; display: inline-flex; width: 20%; top: 50%; position: absolute; transform:translate(0, -50%) ; -webkit-transform:translate(0, -50%) ; -moz-transform:translate(0, -50%) ; -ms-transform:translate(0, -50%) ; -o-transform:translate(0, -50%) ; }
.nav-left {left: 25%; width: 15%;}
.nav-right {right: 20%;}

.featured-list > ul {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
}

nav[role="navigation"] ul.menu div > li {
    height: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    margin: 0 auto;
}

div[class*="nav"] > li:hover > a {opacity: .6;}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    #main-nav {height: 50px;}
    .nav-left, .nav-right { position: static; transform:unset ; -webkit-transform:unset ; -moz-transform:unset ; -ms-transform:unset ; -o-transform:unset ; width: 50%;}
    nav[role="navigation"] ul.menu div > li {display: inline-block;}
}

.field input ~ p {
    flex-basis: 100%;
    margin-left: 30%;
    color: #C93131;
}

.auction > h3, .opens > h3 {
    text-transform: capitalize;
}

body {
    overflow-x: hidden;
}

#property .section {
    padding-bottom: 3.5em;
}

/* #property .pp_content, .pp_content_container {height: 100% !important;} */
@media screen and (max-width: 767px) {
    div.pp_pic_holder.light_square .pp_details {bottom: 20px;}
}
