/*iPad Landscape*/
@media screen and (max-width: 1024px), screen and (max-device-width: 1024px), screen and (max-width: 1200px)  {

	.the-wrapper{
		width: 960px;
	}

	.form-section textarea {
		width: 95%;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #img-holder{
		width: auto;
	}

}

/*iPad Portrait*/
@media handheld and (max-width: 767px), screen and (max-device-width: 750px), screen and (max-width: 960px)  {

	.the-wrapper{
		width: 650px;
	}

	p {
		padding-bottom: 10px;
	}

	h1, h2, h3, h4, h5, h6 {
		margin-bottom: 10px;
	}

	h1 {
    font-size: 22px;
    line-height: 24px;
	}

	h2 {
	    font-size: 18px;
	    line-height: 20px;
	}

	h3 {
	    font-size: 16px;
	    line-height: 18px;
	}

	#page-wrapper.stretched-layout {
		/* width: 305px; */
		box-shadow: none !important;
		border: none !important;
	}

	#mobile-menu, #select-icon {
		display: block !important;
		color: #fff;
	}

	.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
		float: none !important;
		margin: 0 !important;
		width: auto !important;
	}

	#topbar, ul#ep-main-navigation{
		display: none;
	}

	#mobile-menu select {
		background: rgba(0, 0, 0, 0.4);
		height: 40px;
		border: none;
		color: #fff;
		-webkit-appearance:none;
		padding-left:20px;
		margin-top: 20px; 
		border: 1px solid #3F3F3F
	}

	#select-icon {
		margin-top: -28px;
		margin-right: 10px;
	}

	#intro-text, .flex-caption {
		width: auto;
		margin-left: 0px;
	}

	#intro-text h1, .flex-caption h1 {
		width: auto;
		font-size: 16px;
	}

	#intro-text h2, .flex-caption h2, .flex-caption p {
		width: auto;
		font-size: 14px;
	}

	.custom-section, #footer-wrapper #top-footer {
		padding: 20px;
	}

	.custom-section .the-wrapper, #footer-wrapper .the-wrapper {
		
		width: 95%
	}
	
	.call-to-action-big h2, .call-to-action-small h2 {
		font-size: 18px !important;
		line-height: 1.6em !important;
	}

	.call-to-action-big p.excerpt, .call-to-action-small p.excerpt {
		font-size: 16px !important;
		line-height: 1.6em !important;
	}

	.custom-button.large, button.large {
		 padding: 12px 23px; 
		 font-size: 14px; 
		 line-height: 14px;
	}

	.call-to-action-big p {
	}

	.big-title h2 {
		font-size: 22px;
	}

	#page-content section {
		text-align: center;
	}

	.bar, .long-bar {
		display: none;
	}

	.testimonial-meta {
		margin-bottom: 20px;
		display: block;
	}

	.testimonial-content {
		padding: 20px;
		line-height: 1.6em;
	}

	.testimonial-content p {
		font-size: 14px !important;
	}

	.testimonial-person {
		text-align: left;
	}

	#top-footer .widget {
		margin-top: 20px;
		width: 95%;
	}

	#bottom-footer {
		height: auto;
		padding: 20px 20px;
		line-height: normal;
	}

	#bottom-footer .social-list {
		float: none;
		margin-top: 20px;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #img-holder{
		width: auto;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #intro-text h1, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption h1 {
		width: 90%;
		margin-left: 12px;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #intro-text h2, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption h2, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption p {
		display: none;
	}

	.slides li, .slides li img  {
		height: 400px;
	}

	.flex-control-nav, .flex-direction-nav {
		display: none;
	}

	.flex-caption {
		top:280px;
	}

	#page-wrapper.boxed-layout #search-fullwidth, #homepage-search #search-fullwidth, #page-wrapper.stretched-layout #search-mini, #homepage-search #search-mini {
		width: 100%;
		left: 19px;
		height: 485px;
		top: auto;
	}

	#homepage-search #advanced-search{
		height: 503px;
	}

	#homepage-search #search-fullwidth {
		-webkit-box-shadow:none;
		-moz-box-shadow:none;
		box-shadow: none;
	}

	#advanced-search input[type=submit] {
		width: 100%;
		margin-top: 30px;
	}

	#page-wrapper.stretched-layout #homepage-search.the-wrapper {
		width: 100% !important;
		margin-left: -20px;
	}

	#page-wrapper.stretched-layout #homepage-search.the-wrapper #search-fullwidth {
		width: 100% !important;
	}

	#page-wrapper.stretched-layout #homepage-search.the-wrapper #advanced-search {
		height: 505px;
	}

	.inner-page-title {
		margin-bottom: 20px;
	}

	#page-cont {
		border: none;
	}

	#inner-wrapper {
		padding: 25px;
	}

	.comment-list .children {
		margin: 0px;
	}

	.form-section textarea {
		width: 100%;
	}

	#submit {
		width: 100%;
	}

	#sidebar-wrapper {
		display: block;
		margin-top: 50px;
	}

	#crumbs {
		display: none;
	}

	#page-wrapper.page-container.the-wrapper .comment-content {
		padding: 0px;
	}

	.entry-meta {
		display: block !important;
		position: static;
	}

	.entry-meta ul li {
		display: block;
	}

	article.hentry.format-image .post-image {
		margin-bottom:50px; 
	}

	article.hentry .title {
		line-height: 1.3em;
	}

	.pagination {
		margin-bottom: 50px;
	}

	.page-container.stretched-layout .header-bt, .sold-wrapper {
		float: none;
		position: static;
		margin-top: 0px;
	}

	#header-inner {
		padding: 20px;
	}

	.header-bt ul li a {
		margin-left: 0px;
		margin-right: 10px;
	}

	.small-title, .inner-subtitle {
		margin-top: 20px;
	}

	.property-desc {display: none;}

	.property-list-details {
		margin-left: 0px;
		width: auto;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		-ms-border-radius: 0px;
		-o-border-radius: 0px;
		border-radius: 0px;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		background: transparent;
		border-left:none; 
		padding-top: 20px;
		border: none;
	}

	.property-box {
		width: 100%;
	}

	.property-list-details ul li {
		float: none !important;
		display: block !important;
		border-left: none;
		padding: 10px 0px;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin-right: 0px;
	}

	.property-list-details ul {
		height: auto !important;
		line-height: normal !important;
	}

	.property-list-details a.custom-button {
		margin-left: 0px;
	}

	.prop-top-details .icon-list-1 {
		display: none;
	}

	.prop-top-details li {
		display: block !important;
		margin-left: 0px !important;
		text-align: left !important;
	}

	.hide-map {
		display: none;
	}

	#properties-widgets .custom-widget .widget-content input[type=submit], #contact-form input[type=submit] {
		width: 100%;
	}

	.header-bt {
		position: static;
	}

	form#post {
		display: none;
	}
	.mobile {
		display: block;
	}
	.short-list-wrapper li.col4, .short-list-wrapper li.col3 {
		
		width: 40%;
	}

}

/*iPhone Landscape*/
@media screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 580px)  {


	.the-wrapper{
		width: 420px;
	}

	p {
		padding-bottom: 10px;
	}

	h1, h2, h3, h4, h5, h6 {
		margin-bottom: 10px;
	}

	h1 {
    font-size: 22px;
    line-height: 24px;
	}

	h2 {
	    font-size: 18px;
	    line-height: 20px;
	}

	h3 {
	    font-size: 16px;
	    line-height: 18px;
	}

	#page-wrapper.stretched-layout {
		/* width: 305px; */
		box-shadow: none !important;
		border: none !important;
	}

	#mobile-menu, #select-icon {
		display: block !important;
		color: #fff;
	}

	.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
		float: none !important;
		margin: 0 !important;
		width: auto !important;
	}

	#topbar, ul#ep-main-navigation{
		display: none;
	}

	#mobile-menu select {
		background: rgba(0, 0, 0, 0.4);
		height: 40px;
		border: none;
		color: #fff;
		-webkit-appearance:none;
		padding-left:20px;
		margin-top: 20px; 
		border: 1px solid #3F3F3F
	}

	#select-icon {
		margin-top: -28px;
		margin-right: 10px;
	}

	#intro-text, .flex-caption {
		width: auto;
		margin-left: 0px;
	}

	#intro-text h1, .flex-caption h1 {
		width: auto;
		font-size: 16px;
	}

	#intro-text h2, .flex-caption h2, .flex-caption p {
		width: auto;
		font-size: 14px;
	}

	.custom-section, #footer-wrapper #top-footer {
		padding: 20px;
	}

	.custom-section .the-wrapper {
		/* margin-left: -7px; */
	}
	
	.call-to-action-big h2, .call-to-action-small h2 {
		font-size: 18px !important;
		line-height: 1.6em !important;
	}

	.call-to-action-big p.excerpt, .call-to-action-small p.excerpt {
		font-size: 16px !important;
		line-height: 1.6em !important;
	}

	.custom-button.large, button.large {
		 padding: 12px 23px; 
		 font-size: 14px; 
		 line-height: 14px;
	}

	.call-to-action-big p {
	}

	.big-title h2 {
		font-size: 22px;
	}

	#page-content section {
		text-align: center;
	}

	.bar, .long-bar {
		display: none;
	}

	.testimonial-meta {
		margin-bottom: 20px;
		display: block;
	}

	.testimonial-content {
		padding: 20px;
		line-height: 1.6em;
	}

	.testimonial-content p {
		font-size: 14px !important;
	}

	.testimonial-person {
		text-align: left;
	}

	#top-footer .widget {
		margin-top: 20px;
		width: 95%;
	}

	#bottom-footer {
		height: auto;
		padding: 20px 20px;
		line-height: normal;
	}

	#bottom-footer .social-list {
		float: none;
		margin-top: 20px;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #img-holder{
		width: auto;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #intro-text h1, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption h1 {
		width: 90%;
		margin-left: 12px;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #intro-text h2, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption h2, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption p {
		display: none;
	}

	.slides li, .slides li img  {
		height: 400px;
	}

	.flex-control-nav, .flex-direction-nav {
		display: none;
	}

	.flex-caption {
		top:280px;
	}

	#page-wrapper.boxed-layout #search-fullwidth, #homepage-search #search-fullwidth, #page-wrapper.stretched-layout #search-mini, #homepage-search #search-mini {
		width: 100%;
		left: 21px;
		top: auto;
	}

	#homepage-search #advanced-search{
		height: 485px;
	}

	#homepage-search #search-fullwidth {
		-webkit-box-shadow:none;
		-moz-box-shadow:none;
		box-shadow: none;
	}

	#advanced-search input[type=submit] {
		width: 100%;
		margin-top: 30px;
	}

	#page-wrapper.stretched-layout #homepage-search.the-wrapper {
		width: 478px !important;
		margin-left: -20px;
	}

	#page-wrapper.stretched-layout #homepage-search.the-wrapper #advanced-search {
		height: 505px;
	}

	.inner-page-title {
		margin-bottom: 20px;
	}

	#page-cont {
		border: none;
	}

	#inner-wrapper {
		padding: 25px;
	}

	.comment-list .children {
		margin: 0px;
	}

	.form-section textarea {
		width: 100%;
	}

	#submit {
		width: 100%;
	}

	#sidebar-wrapper {
		display: block;
		margin-top: 50px;
	}

	#crumbs {
		display: none;
	}

	#page-wrapper.page-container.the-wrapper .comment-content {
		padding: 0px;
	}

	.entry-meta {
		display: block !important;
		position: static;
	}

	.entry-meta ul li {
		display: block;
	}

	article.hentry.format-image .post-image {
		margin-bottom:50px; 
	}

	article.hentry .title {
		line-height: 1.3em;
	}

	.pagination {
		margin-bottom: 50px;
	}

	.page-container.stretched-layout .header-bt, .sold-wrapper {
		float: none;
		position: static;
		margin-top: 0px;
	}

	#header-inner {
		padding: 20px;
	}

	.header-bt ul li a {
		margin-left: 0px;
		margin-right: 10px;
	}

	.small-title, .inner-subtitle {
		margin-top: 20px;
	}

	.property-desc {display: none;}

	.property-list-details {
		margin-left: 0px;
		width: auto;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		-ms-border-radius: 0px;
		-o-border-radius: 0px;
		border-radius: 0px;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		background: transparent;
		border-left:none; 
		padding-top: 20px;
		border: none;
	}

	.property-box {
		width: 100%;
	}

	.property-list-details ul li {
		float: none !important;
		display: block !important;
		border-left: none;
		padding: 10px 0px;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin-right: 0px;
	}

	.property-list-details ul {
		height: auto !important;
		line-height: normal !important;
	}

	.property-list-details a.custom-button {
		margin-left: 0px;
	}

	.prop-top-details .icon-list-1 {
		display: none;
	}

	.prop-top-details li {
		display: block !important;
		margin-left: 0px !important;
		text-align: left !important;
	}

	.hide-map {
		display: none;
	}

	#properties-widgets .custom-widget .widget-content input[type=submit], #contact-form input[type=submit] {
		width: 100%;
	}

	.header-bt {
		position: static;
	}

	form#post {
		display: none;
	}
	.mobile {
		display: block;
	}

	.short-list-wrapper li.col4, .short-list-wrapper li.col3 {
		float: none !important;
		width: 100%;
		margin-bottom: 30px;
		margin-right: 0px;
	}

}

/*iPhone Portrait*/
@media screen and (max-width: 320px), screen and (max-device-width: 320px), screen and (max-width: 450px) {

	.the-wrapper{
		width: 280px;
	}

	p {
		padding-bottom: 10px;
	}

	h1, h2, h3, h4, h5, h6 {
		margin-bottom: 10px;
	}

	h1 {
    font-size: 22px;
    line-height: 24px;
	}

	h2 {
	    font-size: 18px;
	    line-height: 20px;
	}

	h3 {
	    font-size: 16px;
	    line-height: 18px;
	}

	#page-wrapper.stretched-layout {
		/* width: 305px; */
		box-shadow: none !important;
		border: none !important;
	}

	#mobile-menu, #select-icon {
		display: block !important;
		color: #fff;
	}

	.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
		float: none !important;
		margin: 0 !important;
		width: auto !important;
	}

	#topbar, ul#ep-main-navigation{
		display: none;
	}

	#mobile-menu select {
		background: rgba(0, 0, 0, 0.4);
		height: 40px;
		border: none;
		color: #fff;
		-webkit-appearance:none;
		padding-left:20px;
		margin-top: 20px; 
		border: 1px solid #3F3F3F
	}

	#select-icon {
		margin-top: -28px;
		margin-right: 10px;
	}

	#intro-text, .flex-caption {
		width: auto;
		margin-left: 0px;
	}

	#intro-text h1, .flex-caption h1 {
		width: auto;
		font-size: 16px;
	}

	#intro-text h2, .flex-caption h2, .flex-caption p {
		width: auto;
		font-size: 14px;
	}

	.custom-section, #footer-wrapper #top-footer {
		padding: 20px;
	}

	.custom-section .the-wrapper {
		/* margin-left: -7px; */
	}
	
	.call-to-action-big h2, .call-to-action-small h2 {
		font-size: 18px !important;
		line-height: 1.6em !important;
	}

	.call-to-action-big p.excerpt, .call-to-action-small p.excerpt {
		font-size: 16px !important;
		line-height: 1.6em !important;
	}

	.custom-button.large, button.large {
		 padding: 12px 23px; 
		 font-size: 14px; 
		 line-height: 14px;
	}

	.call-to-action-big p {
	}

	.big-title h2 {
		font-size: 22px;
	}

	#page-content section {
		text-align: center;
	}

	.bar, .long-bar {
		display: none;
	}

	.testimonial-meta {
		margin-bottom: 20px;
		display: block;
	}

	.testimonial-content {
		padding: 20px;
		line-height: 1.6em;
	}

	.testimonial-content p {
		font-size: 14px !important;
	}

	.testimonial-person {
		text-align: left;
	}

	#top-footer .widget {
		margin-top: 20px;
		width: 95%;
	}

	#bottom-footer {
		height: auto;
		padding: 20px 20px;
		line-height: normal;
	}

	#bottom-footer .social-list {
		float: none;
		margin-top: 20px;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #img-holder{
		width: auto;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #intro-text h1, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption h1 {
		width: 90%;
		margin-left: 12px;
	}

	#page-wrapper.page-container.the-wrapper.boxed-layout #intro-text h2, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption h2, #page-wrapper.page-container.the-wrapper.boxed-layout .flex-caption p {
		display: none;
	}

	.slides li, .slides li img  {
		height: 400px;
	}

	.flex-control-nav, .flex-direction-nav {
		display: none;
	}

	.flex-caption {
		top:280px;
	}

	#page-wrapper.boxed-layout #search-fullwidth, #homepage-search #search-fullwidth, #page-wrapper.stretched-layout #search-mini, #homepage-search #search-mini {
		width: 100%;
		left: 20px;
		top: auto;
	}

	#homepage-search #advanced-search{
		height: 485px;
	}

	#homepage-search #search-fullwidth {
		-webkit-box-shadow:none;
		-moz-box-shadow:none;
		box-shadow: none;
	}

	#advanced-search input[type=submit] {
		width: 100%;
		margin-top: 30px;
	}

	#page-wrapper.stretched-layout #homepage-search.the-wrapper {
		width: 320px !important;
		margin-left: -20px;
	}

	#page-wrapper.stretched-layout #homepage-search.the-wrapper #advanced-search {
		height: 505px;
	}

	.inner-page-title {
		margin-bottom: 20px;
	}

	#page-cont {
		border: none;
	}

	#inner-wrapper {
		padding: 25px;
	}

	.comment-list .children {
		margin: 0px;
	}

	.form-section textarea {
		width: 100%;
	}

	#submit {
		width: 100%;
	}

	#sidebar-wrapper {
		display: block;
		margin-top: 50px;
	}

	#crumbs {
		display: none;
	}

	#page-wrapper.page-container.the-wrapper .comment-content {
		padding: 0px;
	}

	.entry-meta {
		display: block !important;
		position: static;
	}

	.entry-meta ul li {
		display: block;
	}

	article.hentry.format-image .post-image {
		margin-bottom:50px; 
	}

	article.hentry .title {
		line-height: 1.3em;
	}

	.pagination {
		margin-bottom: 50px;
	}

	.page-container.stretched-layout .header-bt, .sold-wrapper {
		float: none;
		position: static;
		margin-top: 0px;
	}

	#header-inner {
		padding: 20px;
	}

	.header-bt ul li a {
		margin-left: 0px;
		margin-right: 10px;
	}

	.small-title, .inner-subtitle {
		margin-top: 20px;
	}

	.property-desc {display: none;}

	.property-list-details {
		margin-left: 0px;
		width: auto;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		-ms-border-radius: 0px;
		-o-border-radius: 0px;
		border-radius: 0px;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		background: transparent;
		border-left:none; 
		padding-top: 20px;
		border: none;
	}

	.property-box {
		width: 100%;
	}

	.property-list-details ul li {
		float: none !important;
		display: block !important;
		border-left: none;
		padding: 10px 0px;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin-right: 0px;
	}

	.property-list-details ul {
		height: auto !important;
		line-height: normal !important;
	}

	.property-list-details a.custom-button {
		margin-left: 0px;
	}

	.prop-top-details .icon-list-1 {
		display: none;
	}

	.prop-top-details li {
		display: block !important;
		margin-left: 0px !important;
		text-align: left !important;
	}

	.hide-map {
		display: none;
	}

	#properties-widgets .custom-widget .widget-content input[type=submit], #contact-form input[type=submit] {
		width: 100%;
	}

	.header-bt {
		position: static;
	}

	form#post {
		display: none;
	}
	.mobile {
		display: block;
	}

	.short-list-wrapper li.col4, .short-list-wrapper li.col3 {
		float: none !important;
		width: 100%;
		margin-bottom: 30px;
		margin-right: 0px;
	}

}