/*
 Theme Name:     David Millar Real Estate Responsive Theme
 Theme URI:      http://www.davidmillarrealestate.com.au
 Description:    Divi Child Theme
 Author:         Huia Hikaiti
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url(../Divi/style.css);
 
/* =Theme customization starts here
------------------------------------------------------- */
@media all and (min-width: 768px) {
.et_pb_posts img, .archive .post img, .category .post img, .search .post img {
float: left; margin-right: 1em;
}
.et_pb_posts article:after, .archive article:after, .category article:after, .search article:after { /* Clear floated image */
content: ""; display: table; clear: both;
}
}
#footer-widgets {
  padding-top: 30px;
  margin-bottom: 30px;
}
.et_pb_image_container img, .et_pb_post a img {
  vertical-align: bottom;
  float: left;
  padding: 4px;
}
#top-menu li a { font-size: 18px; }

#logo { float: left; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; margin-bottom: 18px; }
		.et_fixed_nav #logo { max-height: 143px; margin-bottom: 0; }
		.et-fixed-header #logo { max-height: 50px; 
}
#top-header #et-info-phone, 
#top-header #et-info-email, 

#top-header #et-info-phone a:hover, 
#top-header #et-info a:hover span#et-info-email, 
#top-header .et-social-icon a:hover { 
	color: white !important; 
}
@media only screen and ( min-width: 981px ) { 

	/* Vertically center the top navigation */
	#et-top-navigation { display:table-cell; vertical-align: middle; float:none !important;}
	.container { display:table; }

	/* Right align the contents of the top navigation area */
	#et-top-navigation { text-align:right; }
	#et-top-navigation > * { text-align:left; }
	#top-menu-nav, #et_top_search { float:none !important; display:inline-block !important}
	#et_top_search { vertical-align: top !important; margin-top:3px }

}
#taxonomy-description {padding-top:15px; }
.et_pb_post a img {
    vertical-align: top;
    float: none;
    padding-top: 4px;
	padding-bottom: 10px;
}
	/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
/*** Take out the divider line between content and sidebar ***/
.single-for_sale #main-content .container:before,
.single-rental #main-content .container:before,
.single-holiday_rental #main-content .container:before,
.single-sold #main-content .container:before,
.single-under-contract #main-content .container:before {
	background: none;
}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
	.single-for_sale #left-area,
	.single-rental #left-area,
	.single-holiday_rental #left-area,
	.single-sold #left-area,
	.single-under-contract #left-area {
		width: 100%;
		padding: 23px 0px 0px !important;
		float: none !important;
}
	/*** Hide Sidebar (not needed if sidebar removed in single-listing.php )***/
.single-for_sale #sidebar,
.single-rental #sidebar,
.single-holiday_rental #sidebar,
.single-sold #sidebar,
.single-under-contract #sidebar {
	display:none;
}
	  /**add make body content full width for masonary layout to work fullwidth****/
		body #page-container #left-area {
width: 100% !important;
}
	/*** Take out the divider line between content and sidebar ***/
.post-type-archive-for_sale #main-content .container:before,
.post-type-archive-rental #main-content .container:before,
.post-type-archive-holiday_rental #main-content .container:before,
.post-type-archive-sold #main-content .container:before,
.post-type-archive-under-contract #main-content .container:before,
.post-type-archive-commercial_land #main-content .container:before,
.post-type-archive-rural #main-content .container:before {
	background: none;
}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
	.post-type-archive-for_sale #left-area,
	.post-type-archive-rental #left-area,
	.post-type-archive-holiday_rental #left-area,
	.post-type-archive-sold #left-area,
	.post-type-archive-under-contract #left-area,
	.post-type-archive-commercial_land #left-area,
	.post-type-archive-rural #left-area {
		width: 100%;
		padding: 23px 0px 0px !important;
		float: none !important;
	}
	}
	/*** Take out the divider line between content and sidebar ***/
.post-type-archive-for_sale #main-content .container:before,
.post-type-archive-rental #main-content .container:before,
.post-type-archive-holiday_rental #main-content .container:before,
.post-type-archive-sold #main-content .container:before,
.post-type-archive-under-contract #main-content .container:before {
	background: none;
}
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
	.post-type-archive-for_sale #left-area,
	.post-type-archive-rental #left-area,
	.post-type-archive-holiday_rental #left-area,
	.post-type-archive-sold #left-area,
	.post-type-archive-under-contract #left-area {
		width: 100%;
		padding: 23px 0px 0px !important;
		float: none !important; }
}
	/* Create Mansonory styles for archive pages */
.post-type-archive-for_sale #left-area,
.post-type-archive-rental #left-area,
.post-type-archive-holiday_rental #left-area,
.post-type-archive-sold #left-area,
.post-type-under-under-contract #left-area,
.search #left-area,
.archive #left-area {
    -moz-column-count: 3;
         column-count: 3;
    -moz-column-gap: 60px;
         column-gap: 60px;
}
.post-type-archive-for_sale .et_pb_post > a,
	.post-type-archive-rental .et_pb_post > a,
	.post-type-archive-holiday_rental .et_pb_post > a,
	.post-type-archive-sold .et_pb_post > a,
	.post-type-archive-under_contract .et_pb_post > a,
.archive .et_pb_post > a,
.search .et_pb_post > a {
    margin: -20px -20px 10px;
    display: block;
}
.post-type-archive-for_sale #left-area .et_pb_post,
	.post-type-archive-rental #left-area .et_pb_post,
	.post-type-archive-holiday_rental #left-area .et_pb_post,
	.post-type-archive-sold #left-area .et_pb_post,
	.post-type-archive-under_contract #left-area .et_pb_post,
.search #left-area .et_pb_post,
.archive #left-area .et_pb_post {
    overflow: hidden; /* fix for Firefox */
    page-break-inside: avoid;
    break-inside: avoid-column;
    width: 100%;
    padding: 19px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    word-wrap: break-word;
    display: inline-block;
}
.post-type-archive-for_sale #left-area .et_pb_post h2,
	.post-type-archive-rental #left-area .et_pb_post h2,
	.post-type-archive-sold #left-area .et_pb_post h2,
	.post-type-archive-under-contract #left-area .et_pb_post h2,
	.post-type-archive-holiday_rental #left-area .et_pb_post h2,
.search #left-area .et_pb_post h2,
.archive #left-area .et_pb_post h2 {
    font-size: 18px;
}
.post-type-archive-for_sale #left-area .et_pb_post.format-link,
.post-type-archive-for_sale #left-area .et_pb_post.format-quote,
.post-type-archive-for_sale #left-area .et_pb_post.format-audio {
    padding: 0;
}
.post-type-archive-rental #left-area .et_pb_post.format-link,
.post-type-archive-rental #left-area .et_pb_post.format-quote,
.post-type-archive-rental #left-area .et_pb_post.format-audio {
    padding: 0;
}
	.post-type-archive-holiday_rental #left-area .et_pb_post.format-link,
.post-type-archive-holiday_rental #left-area .et_pb_post.format-quote,
.post-type-archive-holiday_rental #left-area .et_pb_post.format-audio {
    padding: 0;
}
.post-type-archive-sold #left-area .et_pb_post.format-link,
.post-type-archive-sold #left-area .et_pb_post.format-quote,
.post-type-archive-sold #left-area .et_pb_post.format-audio {
    padding: 0;
}
.post-type-archive-under-contract #left-area .et_pb_post.format-link,
.post-type-archive-under-contract #left-area .et_pb_post.format-quote,
.post-type-archive-under-contract #left-area .et_pb_post.format-audio {
    padding: 0;
}
	}
.search #left-area .et_pb_post.format-link,
.search #left-area .et_pb_post.format-quote,
.search #left-area .et_pb_post.format-audio,
.archive #left-area .et_pb_post.format-link,
.archive #left-area .et_pb_post.format-quote,
.archive #left-area .et_pb_post.format-audio{
    padding: 0;
}
.post-type-archive-for_sale .et_pb_post .et_pb_image_container,
.post-type-archive-for_sale .et_pb_post .et_main_video_container,
.post-type-archive-for_sale .et_pb_post .et_audio_content,
.post-type-archive-for_sale .et_pb_post .et_pb_slider, 
.post-type-archive-rental .et_pb_post .et_pb_image_container,
.post-type-archive-rental .et_pb_post .et_main_video_container,
.post-type-archive-rental .et_pb_post .et_audio_content,
.post-type-archive-rental .et_pb_post .et_pb_slider,
.post-type-archive-holiday_rental .et_pb_post .et_pb_image_container,
.post-type-archive-holiday_rental .et_pb_post .et_main_video_container,
.post-type-archive-holiday_rental .et_pb_post .et_audio_content,
.post-type-archive-holiday_rental .et_pb_post .et_pb_slider,
.post-type-archive-sold .et_pb_post .et_pb_image_container,
.post-type-archive-sold .et_pb_post .et_main_video_container,
.post-type-archive-sold .et_pb_post .et_audio_content,
.post-type-archive-sold .et_pb_post .et_pb_slider,
.post-type-archive-under-contract .et_pb_post .et_pb_image_container,
.post-type-archive-under-contract .et_pb_post .et_main_video_container,
.post-type-archive-under-contract .et_pb_post .et_audio_content,
.post-type-archive-under-contract .et_pb_post .et_pb_slider,
.archive .et_pb_post .et_pb_image_container,
.archive .et_pb_post .et_main_video_container,
.archive .et_pb_post .et_audio_content,
.archive .et_pb_post .et_pb_slider,
.search .et_pb_post .et_pb_image_container,
.search .et_pb_post .et_main_video_container,
.search .et_pb_post .et_audio_content,
.search .et_pb_post .et_pb_slider {
    margin: -20px -20px 10px;
}
.post-type-archive-holiday_rental .et_pb_post.format-audio .et_audio_content,
.post-type-archive-sold .et_pb_post.format-audio .et_audio_content,
.post-type-archive-under-contract .et_pb_post.format-audio .et_audio_content,
.post-type-archive-rental .et_pb_post.format-audio .et_audio_content,
.post-type-archive-for_sale .et_pb_post.format-audio .et_audio_content,
.archive .et_pb_post.format-audio .et_audio_content{
    margin: 0px -38px 0px;
}
.post-type-archive-for_sale .et_pb_slider .et_pb_slide,
.post-type-archive-rental .et_pb_slider .et_pb_slide,
.post-type-archive-holiday_rental .et_pb_slider .et_pb_slide,
.post-type-archive-sold .et_pb_slider .et_pb_slide,
.post-type-archive-under-contract .et_pb_slider .et_pb_slide,
.archive .et_pb_post .et_pb_slider .et_pb_slide,
.search .et_pb_post .et_pb_slider .et_pb_slide {
    min-height: 180px;
}
.post-type-archive-rental .pagination,
.post-type-archive-for_sale .pagination,
.post-type-archive-holiday_rental .pagination,
.post-type-archive-sold .pagination,
.post-type-archive-under-contract .pagination,
.archive .pagination,
.search .pagination {
    padding: 20px 0;
}

/* Media Queries */
@media screen and (max-width: 980px) {
    .post-type-archive-for_sale #left-area,
	.post-type-archive-rental #left-area,
	.post-type-archive-holiday_rental #left-area,
	.post-type-archive-sold #left-area,
	.post-type-archive-under-contract #left-area,
	.search #left-area,
    .archive #left-area {
        -moz-column-count: 2;
            column-count: 2;
        -moz-column-gap: 60px;
            column-gap: 60px;
    }
	}
@media screen and (max-width: 767px) {
	.post-type-archive-for_sale #left-area,
	.post-type-archive-rental #left-area,
	.post-type-archive-holiday_rental #left-area,
	.post-type-archive-sold #left-area,
	.post-type-archive-under-contract #left-area,
    .archive #left-area {
        -moz-column-count: 1;
            column-count: 1;
    }
	}
	.post-type-archive-for_sale .et_pb_post.format-audio .et_audio_content,
	.post-type-archive-rental .et_pb_post.format-audio .et_audio_content,
	.post-type-archive-holiday_rental .et_pb_post.format-audio .et_audio_content,
	.post-type-archive-under-contract .et_pb_post.format-audio .et_audio_content,
	.post-type-archive-sold .et_pb_post.format-audio .et_audio_content,
    .search .et_pb_post.format-audio .et_audio_content,
    .archive .et_pb_post.format-audio .et_audio_content{
        margin: 0;
    }
	.search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total{
      min-width: 300px!important;
		width: 300px!important;  
	}
	.post-type-archive-for_sale #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
	.post-type-archive-rental #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
	.post-type-archive-holiday_rental #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
	.post-type-archive-sold #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
	.post-type-archive-under-contract #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
	.post-type-archive-for_sale #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
	.post-type-archive-rental #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
	.post-type-archive-holiday_rental #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
	.post-type-archive-sold #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
	.post-type-archive-under-contract #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail {
		 min-width: 300px!important;
		width: 300px!important;
	}