/********************* MEDIUM START *******************/
@media (min-width: 641px) {

	h4 {
		font-size: 18px;
	}
	
	p, li {
		font-size: 14px;
	}

	.r-tabs-panel p,
	.r-tabs-panel li {
		font-size: 13px;
	}  

	.top-bar {
		height: 124px;
	}

	.small-phone {
    	position: absolute;
    	right: 16px;
    	top: 1px;
	}


	.home .header .contain-to-grid {
		margin-top: 25px;
	}


	.custom-content-left {
	    min-height: 202px;
	    position: relative;
	    padding-left: 230px;	    
	    margin-bottom: 45px;
	}

	.post-type-archive .custom-content-left {
		border-bottom: 1px solid rgba(45, 52, 51, 0.14);
	}

	.custom-content-left h2 {
		font-size: 28px;
	}

	.custom-content-left .featured-image {
		position: absolute;
		width: 200px;
		left: 0px;
		top: 10px;
	}

	.subpage .custom-content-left  .featured-image {
		height: 175px;
		background-size: contain;
		background-position: top center;
	}



	.header .arrow-wrap a {
    	max-width: 55px;
	}

	.search-show {
		display: none;
	}


	.the-content {
		margin-bottom: 50px;
	}

	.the-filter {
		margin-bottom: 50px;
	}


	/*SEARCH*/

	.search-wrap {
		position: absolute;
		top: 56px;
		right: 51px;
	}

	.search-wrap  input[type="text"] {
		width: 182px;
		box-shadow: none;
		border: 0px none;
		font-size: 12px;
		padding: 4px 7px;
		height: auto;
		border-radius: 2px;
		margin-bottom: 0px;
	}


	button.btn-transparent {
		background-color: transparent;
		margin: 0px;
		padding: 0px 8px;
	}

	.search-wrap .button .fa {
		position: relative;
		top: -3px;
	}


	.tab-bar .social-media {
		bottom: auto;
		top: 5px;
		right: 260px;
		font-size: 19px;
	}

	.right-small {
		top: 34px;
	}

	.left-small, .tab-bar, .tab-bar-section {
    	height: 96px;
	}

	a.phone{
		font-size: 27px;
		font-weight: 600;
	}

	.phone-number {
		display: inline-block;
		color: #FFF;
	}

	.subpage #content #inner-content {
    	padding: 70px 0px 70px;
	}

	#content .sub-filter-page#inner-content {
		padding-top: 20px;
	}

	.home #content #inner-content {
		padding: 20px 0 30px;
	}

	.logo {
    	width: 254px; 
    	margin-top: 22px;   
	}

	.entry-content, .entry-content li, .entry-content p {
		font-size: 14px
	}

	.featured-image {
    	height: 200px;
    }

    .article-header h1,
    .article-header h2 {
    	font-size: 28px;
    	padding-bottom: 10px;
    	font-style: italic;
    	font-weight: 700;
    	color: #333;
    }

	#menu-main {
		margin-right: -11px;
		margin-top: 2px;
	}

	#menu-main li > a {
		font-size: 14px;
		padding: 0px 10px;
		line-height: 1.5;
		font-weight: 400;
	}

	#menu-main li.active > a,
	#menu-main li:hover > a {
		background: transparent;
		color: #685f41;
	}

    /*mene*/
    .top-bar-section li:not(.has-form) a:not(.button),
    .top-bar-section li.active:not(.has-form) a:not(.button),
    .top-bar-section ul li, .top-bar.expanded .title-area,
    .top-bar-section li.active:not(.has-form) a:hover:not(.button) {
    	background: transparent;
    }

    .phone-wrap {
    	line-height: 1;
    	text-align: right;
    	padding-right: 10px;
    	font-size: 27px;
    	color: #21EFA9;
    	font-style: italic;
    }

	.top-bar-section {
		margin-top: 5px;
	}

	.phone img {
		position: relative;
		top: -4px;	
	}
	
	.home-form {
		max-width: 283px;
	}




	.hero-wrap {
		margin-top: 0px;
	}
	.hero .form-wrap {
		float: none;
		margin-top: 40px;
	}

	.hero-drop .gform_widget {
		border-radius: 5px;
		margin-left: 0px;
		margin-right: 0px;
		padding-top: 10px;
		padding-bottom: 15px;
	}

	.hero {
		position: relative;
		z-index: 99;
		min-height: 350px;
		margin-top: 100px;
	}	


	.hero-content h1 {
		font-size: 59px;
		line-height: 1.1;
	}

	.hero-content h1 .font-medium {
		
	}

	.hero-content h1 .light {
		font-size: 47px;
	}

	.home .header .book-form {
		max-width: 875px;		
		margin: 20px auto 0;
	}

	.home .caret-down {
		position: absolute;
		right: -75px;
		top: 13px;
	}

	.home .header .book-form .field-group {
		float: left;
	}

	.home .header .frm-header { 
		display: none;
	}


	.home .header .form-wrap {
		z-index: 400;
		position: absolute;
		width: 100%;
		bottom: 0px;
	}

	.home .header .book-form {
		padding: 11px 8px 2px
	}

	.home .header .book-form .field-group {
		padding: 0 4px;
	}

	.home .header .book-form .field-group.sr-location,
	.home .header .book-form .field-group.sr-type {
		width: 30%
	}

	.home .header .book-form .field-group.sr-room,
	.home .header .book-form .field-group.action-button-wrap {
		width: 20%
	}

	.hero-content ul li {
		font-size: 23px;
	}

	.subpage-banner-header {
		position: relative;
		min-height: 450px;
	}

	.subpage-banner-header.sub-header-title {
		font-size: 28px;
	}

	.home-form {
		max-width: 285px;
		position: absolute;
		bottom: 30px;
		right: 0px;
		width: 100%;
	}

	.home .entry-content h2 {
	    font-size: 20px;
	    margin: 10px 0 20px;
	}


	.blog .entry-content .more-link {
		font-size: 14px;
	}

	.featured-lists .title-wrap {
		font-size: 11px;
	}

	.featured-lists .img-section {
	    height: 106px;
	}

	.item-logo {
    	height: 22px;    
	}

	.featured-lists .button-wrap a.button {
		padding: 6px;
		font-size: 12px;
	}

	/*Featured blog*/

	.with-border-red-bottom-sm::after {
		
	margin: 13px 0;
}

	.featured-img-holder {
		height: 195px;
	}

	.front-entry h2 {
		font-size: 20px;	
	}

	.front-entry h3 {
		font-size: 18px;	
	}

	.front-entry p {
		font-size: 14px;
	}

	.footer a.link-banner {
		min-height: 105px;
		font-size: 14px;
		padding: 15px 17px 15px 174px;
	}

	a.link-banner .img-banner {
		width: 162px;
	}

	/*before footer form*/


	#text-2 p {
		font-size: 12px;
	}

	#gform_wrapper_2 {
		margin-bottom: 20px;
	}
	
	#gform_2 {
		position: relative;
		padding-right: 121px;
	}

	#gform_2 .gform_fields {
		background-color: #FFF;
	}

	#gform_2 .gform_fields {
		clear: both;
		overflow: auto;
	}

	#gform_2 input[type="text"] {
		border: none;
		box-shadow: none;
		border-radius: 0px;
		margin-bottom: 0px;
	}

	#gform_2 .gform_fields .gfield  {
		float: left;
		width: 33.33%;
		position: relative;

	}

	#gform_2 .gform_fields .gfield::after  {
	    content: "";
	    height: 14px;
	    border-left: 1px solid #1C3664;
	    display: inline-block;
	    position: absolute;
	    top: 12px;
	    right: 0;
	}

	#gform_2 .gform_fields .gfield:last-child::after  {
	    display: none;
	}

	#gform_2 .gform_footer {
		position: absolute;
		right: 0px;541
		top: 0px;
	}

	.cards-ui2 .img-holder {
    	height: 200px;
	}

	.cards-ui .ratings-wrap {
		bottom: auto;
		top: 2px;
	}

	/*single property page */

	.property-wrap .header-title{
		font-size: 26px;
	}
	
	.property-wrap .features {
		font-size: 18px;
		color: #111;
	}

	.row.property-excerpt {
		margin-bottom: 45px;
	}

	.row.property-main-info {
		margin-bottom: 20px;
	}

	.property-wrap .sub-header-title {
		font-size: 14px;
	}

	.description-sub-header {	
		font-size: 22px;
		font-style: italic;
		font-weight: 800;
		padding: 8px 20px;
		line-height: 1.4;
	}

	.footer .top-spacer {
		padding-top: 30px;
	}

	.footer a.phone {
		font-size: 18px;
	}

	 .from-price {
		font-size: 16px;
	}

	 .from-price .price {
		font-size: 24px;
	}

	/*location gallery*/

	.location-gallery .gallery-inner {
		height: 515px;
	}

	.subpage .before-footer {
		margin-top: 100px
	}    

	.gmap {		
		height: 500px;
	}
	 
	.gallery-sl, .page-gallery-sl {
    	height: 560px;
	}

	.footer-banner-content h4 {
		color: #FFF;
	}

	.footer-banner-content h3 {
		color: #685f41;
		font-size: 22px;
	}
	
	.subpage-banner-header .sub-header-title {
		font-size: 28px;
		padding: 10px 8px;
	}

	.pi-list .columns .wrap .bg-helper {		
		height: 174px;
		width: 250px;		
	}

	.pi-list .columns .wrap {
		padding-left: 273px;
		min-height: 176px;
		margin-bottom: 20px;
	}

	.pi-list-2 .columns .wrap {
    	padding: 10px 10px 0px 273px;    	
    	background-color: rgba(104,95,65,0.10);
	}

	

	.pi-list .columns .wrap .bg-helper {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
	}

	 body {
		background-color: #efefef;
	}

	.contain-to-grid .top-bar {
		padding: 20px 30px 0px;
	}

	.subpage .off-canvas-wrap {
		max-width: 1360px;
		margin: 0 auto;
		/*box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.54);*/
		background-color: #FFF;
	}

.subpage #inner-footer > .row,
.subpage .colophon > .row {
    max-width: 100%;
}
	
	.subpage .colophon > .row {
		padding-left: 15px;
		padding-right: 15px;
	}
      .footer .top-spacer {
           text-align: left;     
     }

}
@media (max-width: 641px) {
	.search-wrap {
		position: absolute;
		top: 63px;
		background-color: rgb(255, 255, 255);
		z-index: 999;
		width: 100%;	
		height: 0px;	
		overflow: hidden;	
	}

	.map-click {
		display: none;
	}

	.filter-wrap {
		margin-top: 40px;	
	}

	.filter-items li {
		margin-bottom: 4px;
	}
	
	.filters {
		max-height: 0px;
		overflow: hidden;
		transition: all 300ms ease-out;
	}
	.open-filter .filters {
		height: 100%;
		max-height: 5000px;
	}
	
	.main-filter-header {
		cursor: pointer;
		position: relative;
	}

	.filter-wrap h3:after {
		content: "\f107";
		font-family: fontAwesome;
		position: absolute;
		right: 11px;
		top: 8px;
		font-size: 28px;
		transition: all 300ms ease-out;
	}


	.filter-wrap.open-filter h3:after {
		-ms-transform: rotate(180deg); /* IE 9 */
		-webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
		transform: rotate(180deg);
	}

	

}
