/*
Theme Name: Fairfield
Theme URI: #;
Author: Fairfield properties
Author URI: #
Description: Fairfield properties
Tags: Properties
Version: 1.0
*/

body {
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	font: 13px/16px 'Open Sans';
	background-color: #f2f2f2;
}

h1 { font-size: 35px; }
h2 { font-size: 28px; }
h3 { font-size: 23px; }
h4 { font-size: 18px; }

a {
	text-decoration: none;
	color: inherit;
}

a:hover, a:focus, a:visited, a:active {
	color: inherit;
	text-decoration: none;
}

/** blocks **/
.block {
	position: relative;
}

/** header **/
.main-header {
	width: 100%;
	background-color: #ffffff;
}

.main-header .brand-logo {
	margin: 0;
	padding-bottom: 10px;
}

.main-header .brand-logo img {
	max-width: 100%;
}

.contact-social, .contact-social li {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline;
}

.contact-social li {
	margin: 0 2px;
	position: relative;
	display: inline-block;
	height: 80px;
	line-height: 80px;
	vertical-align: middle;
}

.contact-social li a {
	position: relative;
	display: inline-block;
	height: 37px;
	width: 37px;
	line-height: 37px;
	font-size: 14px;
	text-align: center;
	color: #ecd390;
	border: 1px solid #ecd390;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	   		border-radius: 50%;
}

.contact-social li.first a {
	border: none;
	font-size: 18px;
	line-height: 20px;
	text-align: left;
}

.contact-social li a i {
	line-height: 33px;
}

.contact-social li span {
	color: #01300b;
	font-size: 15px;
	margin: 0 15px 0 0;
}

.contact-social li.first:after {
	width: 1px;
    height: 50px;
    background: #a9835f;
    right: 3px;
    top: 16px;
    content: '';
    position: absolute;
}

.main-header .site-tagline {
	color: #01300b;
	font-size: 16px;
	margin: 0;
}

/** navigation menu **/
.main-nav {
	border-top: 2px solid #ecd391;
	background-color: #ffffff;
}

.main-nav ul, .main-nav li {
	display: inline;
	color: #ffffff;
	list-style: none;
}

.main-nav ul li ul {
	display: none;
    position: absolute;
    left: 0;
   	width: auto;
    padding: 0;
    z-index: 99999;
    background: #ffffff;
    color: #01300b;
    border: 1px solid #01300b;
    border-top: none;
}

.main-nav ul li:hover ul {
	display: block;
}

.main-nav ul li {
	display: inline-block;
	vertical-align: middle;
	position: relative;
}

.main-nav ul li ul li {
	width: 100%;
}

.main-nav ul li ul li a {
	color: #01300b;
	border-top: 1px solid #dddddd;
	padding: 10px 30px;
	width: 100%;	
}

.main-nav ul li ul li:first-child a {
	border-top: none;
}

.main-nav ul li ul li:hover a {
	background-color: #f2f2f2;
}

.main-nav ul li a {
	display: inline-block;
	font-size: 14px;
	padding: 10px;
	font-weight: bold;
	color: #005116;
}

.main-nav ul li.home a {
	font-size: 30px;
	padding-top: 0;
	padding-bottom: 0;
	color: #013622;
}

.main-nav ul li .caret {
	color: #ebd491;
	margin-left: 10px;
	border-top: 6px solid;
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	cursor: pointer;
}

/**
 * Header v3 */
.header-v-3 ul, .header-v-3 ul li {
	list-style: none;
}

.header-v-3 li {
	width: 100%;
}

.header-v-3 li a {
	color: #ffffff;
	width: 100%;
	display: inline-block;
	border-bottom: 1px solid #ffffff;
	padding-bottom: 10px;
	padding-top: 10px;
}

.header-v-3 li:last-child a {
	border-bottom: none;
}

.header-v-3 .site-tagline {
	text-align: center;
	color: #ffffff;
}

/** home banner **/
.banner {
	position: relative;
	width: 100%;
	text-align: center;
}

.banner ul, .banner li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.banner li {
	position: relative;
}

.banner li.flex-nav-next, .banner li.flex-nav-prev {
	position: inherit;
}

.banner ul li img {
	max-width: 100%;
}

.home .banner ul li img {
	width: 100%;
}

.banner-caption {
	position: absolute;
	top: 50px;
	background-color: #000000;
	background-color: rgba(0, 0, 0, 0.6);
	color: #ffffff;
	padding: 20px;
	margin: auto;
	max-width: 50%;
	left: 0;
	right: 0;
	z-index: 999;
}

.banner ul li img {
	width: 100%;
	height: 600px;
}

.banner-caption h3 { margin: 0; }



/** search form section **/
.search-form-section {
	background: #013622;
	position: relative;
	padding: 20px;
	border-top: 1px solid #ecd391;
}

.search-form-section form {
	margin-bottom: 0;
}

.search-form-section label {
	color: #ffffff;
}

.search-form-section .form-group {
	float: left;
	padding: 0 15px;
	width: 20%;
	margin-bottom: 0;
	position: relative;
}

.search-form-section select, .search-form-section button[type="submit"] {
	width: 100%;
	float: left;
}

.search-form-section .select-style {
	background-repeat: no-repeat;
	background-position: 96% 0;
	background-color: #f3f3f3;
	overflow: hidden;
	height: 41px;
	position: relative;
  z-index: 2;
	-webkit-border-radius: 6px;
	   -moz-border-radius: 6px;
	        border-radius: 6px;
}

.dropdown-checkbox {
	height: 41px;
    line-height: 41px;
    padding: 0 10px;
    display: inline-block;
    position: relative;
    max-width: 160px;
}

.dropdown-select {
    background-color: #f3f3f3;
    position: absolute;
    z-index: 9;
    left: 15px;
    right: 15px;
    border: 1px solid #cccccc;
    padding: 15px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-bottom-left-radius: 6px;
    border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-bottom-right-radius: 6px;
    border-bottom-right-radius: 6px;
    display: none;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.dropdown-select ul {
	padding: 0;
	margin: 0;
}

.left-section {
	padding-left: 0;
	padding-right: 0;
}

.dropdown-select ul li {
	list-style: none;
	padding: 6px 0;
	border-bottom: 1px dotted #dddddd;
}

.dropdown-select ul li input[type="checkbox"] {
	margin-right: 5px;
}

.search-form-section .select-style .arrow {
	font-family: 'FontAwesome';
	font-size: 16px;
	background-color: #dec661;
	width: 35px;
	text-align: center;
	line-height: 41px;
	color: #ffffff;
	height: 41px;
	right: 0;
	position: absolute;
	cursor: pointer;
}

.search-form-section .select-style:hover .arrow {
	background-color: #dec661;
}

.search-form-section select {
	background: transparent;
	height: 41px;
	-webkit-border-radius: 6px;
	   -moz-border-radius: 6px;
	        border-radius: 6px;
}

.search-form-section button[type="submit"] {
	background-color: #dec661;
	color: #ffffff;
	text-align: center;
	height: 41px;
	border: none;
	font-size: 18px;
	text-shadow: 1px 1px 1px rgba(0,0,0, 0.5);
	-webkit-border-radius: 6px;
	   -moz-border-radius: 6px;
	   		border-radius: 6px;
}

/** site content **/
.site-content {
	width: 100%;
	position: relative;
	padding: 25px 0;
}

.site-content .container {
	padding: 25px 15px;
	background-color: #ffffff;
	-webkit-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.15);
	   -moz-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.15);
	   	-ms-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.15);
	   	 -o-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.15);
	   	 	box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.15);
}

/** site content heading **/
.green-edge-heading {
	margin: 20px 0;
	white-space: nowrap;
}
.green-edge-heading span {
	padding: 10px 45px 10px  10px;
	background-color: #013622;
	color: #ffffff;
	font-weight: normal;
	position: relative;
}

.green-edge-heading span:after {
	position: absolute;
    width: 55px;
    height: 55px;
    bottom: -15px;
    background: #ffffff;
    right: -30px;
    -webkit-transform: rotate(25deg);
       -moz-transform: rotate(25deg);
        -ms-transform: rotate(25deg);
         -o-transform: rotate(25deg);
         	transform: rotate(25deg);
    content: '';
}

.green-edge-heading.transparent span:after {
	background: #f2f2f2;
}

/** properties items **/
.properties-grid {
	margin-left: -5px;
	margin-right: -5px;
	position: relative;
}

.properties-grid .property-item {
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 20px;
	min-height: 250px;
  margin-bottom: 10px;
  position: relative;
}

.page-template-page-regions .properties-grid .property-item {
  min-height: 280px;
}

.properties-grid .property-item:after {
  position: absolute;
  bottom: -10px;
  left: 5px;
  right: 5px;
  background: #dddddd;
  height: 1px;
  content: '';
}

.properties-grid-nometa .property-item {
	width: 33.33333%;
	padding: 0 7px;
	float: left;
	min-height: auto;
}

.living-styles-section .property-item:after {
  display: none;
}

.living-styles-section .property-item img {
  width: 100%;
  height: 210px;
}

.properties-grid .property-item img {
	max-width: 100%;
}

.properties-grid .property-item header {
	position: relative;
}

.properties-grid .property-item header h1 {
	white-space: pre-line;
	color: #625c5e;
	font-size: 15px;
	margin-top: 0;
}

.properties-grid-nometa .property-item header {
	padding: 5px;
	text-align: center;
	border: 1px solid #dddddd;
	border-top: none;
}

.properties-grid-nometa .property-item header h1 {
	color: #9d7247;
	white-space: normal;
	margin-top: 10px;
}

.properties-grid .property-item .thumbnail-area {
	position: relative;
}

.properties-grid .property-item .property-price {
	position: absolute;
	bottom: 4px;
	right: 4px;
	background-color: #dec661;
	background-color: rgba(222, 198, 97, 0.9);
	color: #ffffff;
	padding: 5px;
}

.properties-grid .property-item.green .property-price {
	background-color: #005216;
	background-color: rgba(0, 82, 22, 0.9);
}

.properties-grid .property-item.brown .property-price {
	background-color: #9e724d;
	background-color: rgba(158, 114, 77, 0.9);
}

.properties-grid .property-item .property-tags {
	color: #013622;
}

/** living styles **/
#living-styles .property-item header h1 {
	font-size: 19px;
	color: #013622;
}

/** property information **/
.property-information-list li {
  padding: 6px 0;
}

/** properties ajax pagination **/
.ajax-pagination {
	display: inline-block;
	margin-top: 35px;
	width: 100%;
}

.ajax-pagination ul, .ajax-pagination ul li {
	display: inline;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ajax-pagination ul li a {
	display: inline-block;
	padding: 10px;
	background-color: #d3b674;
	opacity: 0.8;
	margin: 0 5px;
	color: #ffffff;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}

.ajax-pagination ul li a:hover {
	opacity: 1;
}

/** ajax loading **/
.ajax-loading {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.42);
    background-image: url(images/spin.gif);
    background-position: 50%;
    background-repeat: no-repeat;
}

.map-init {
	position: relative;
}

.map-init .map-collapse {
	cursor: pointer;
	text-align: center;
    font-size: 14px;
    color: #000000;
    display: inline-block;
    position: absolute;
    z-index: 9;
    background: #ffffff;
    padding: 7px;
    margin: auto;
    left: 0;
    right: 0;
    max-width: 30px;
    border: 1px solid #01300b;
    top: -15px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.map-init .map-collapse:hover {
	color: #ffffff;
	background-color: #01300b;
}

/** properties home-side **/
.home-side-properties {
	background-color: #f3f3f3;
	margin-right: -13px;
	padding: 15px;
}

.properties-box .property-item {
	background-color: #ffffff;
	border: 1px solid #3cac5a;
	padding: 10px;
	margin: 10px 0;
}

.properties-box .property-item header {
	margin: 6px 0;
	display: inline-block;
}

.properties-box .property-item header h1 {
	font-size: 17px;
	color: #645c5a;
	margin: 0;
}

.properties-box .property-item .thumbnail-area {
	margin: 6px 0;
	display: inline-block;
}

.properties-box .property-item img {
	width: 100%;
	max-height: 200px;
}

.properties-box .property-item footer {
	margin: 6px 0;
	display: inline-block;
}

/** region list **/

.regions {
	margin-top: 30px;
	margin-left: -15px;
	margin-right: -15px;
}

.regions .region .box {
	padding: 15px;
	background-color: #ffffff;
	-webkit-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
	   -moz-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
	   	-ms-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
	   	 -o-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
	   	 	box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
}

.regions .region img {
	max-width: 100%;
}

.page-template-page-regions .regions .region img {
  height: 225px;
}

.regions .region h1 {
	color: #9c754e;
	margin: 12px 0 8px 0;
	font-size: 20px;
}

.regions .region .summary p {
	color: #555555;
	line-height: 24px;
	font-size: 14px;
}

/** region overview **/
.region-overview-text {
	padding: 30px;
	margin-top: 30px;
}

.region-overview-text p {
	font-size: 17px;
}

/** towns list **/
.towns-list {
	display: inline-block;
	width: 100%;
	padding: 25px;
}

.towns-list .town {
	width: 23%;
	float: left;
	margin-bottom: 15px;
}

.towns-list .town .holder {
	border: 1px solid #cccccc;
}

.towns-list .town h2 {
	padding: 10px 0 10px 20px;
	color: #ffffff;
	background-color: #96804b;
	margin: 0;
	font-size: 18px;
}

.towns-list .town ul, .towns-list .town ul li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.towns-list .town ul li {
	display: inline-block;
    width: 100%;
    padding: 8px 0;
    padding-left: 28px;
    background-image: url(images/fcb-icon.png);
    background-repeat: no-repeat;
    background-position: 5px 11px;
    border-top: 1px solid #dddddd;
}

.towns-list .town ul li a {
	color: #01300b;
	display: inline-block;
	width: 100%;
}

.towns-list .town ul li:first-child {
	border-top: none;
}

/** apartment details **/
.properties-details {
	position: relative;
	padding: 40px 0;
}

.properties-details .properties-galleries, .properties-details .properties-content {
	position: relative;
	padding: 25px;
	width: 100%;
	margin-bottom: 45px;
	display: inline-block;
}

.properties-details .properties-galleries .gallery-item {
	max-width: 50%;
	margin-bottom: 15px;
}

.properties-details .properties-galleries .gallery-item img {
	max-width: 100%;
}

.properties-list-features { margin: 0; list-style: none; padding: 0; width: 49%; display: inline-block;}

.properties-list-features li {
	width: 100%;
	display: inline-block;
	padding: 8px 0;
	padding-left: 35px;
	background-image: url(images/icon-bullet-arrow-green.png);
	background-repeat: no-repeat;
	background-position: left 8px;
	list-style: none;
}

.properties-list-features li strong {
	color: #01300b;
}

/** properties col features **/
.properties-col-features {
	width: 100%;
	margin: 15px 0;
	display: inline-block;
	padding: 25px;
}

.properties-col-features .feature-cat {
	color: #3d2b1f;
	font-size: 17px;
}

.properties-col-features .feature-cat:first-child {
	margin: 0 0 10px;
}

.properties-col-features .features ul, .properties-col-features .features ul li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.properties-col-features .features ul li {
	border-top: 1px solid #ddd;
	display: inline-block;
	padding: 8px 0;
	padding-left: 25px;
	background-image: url(images/fcb-green-icon.png);
	background-repeat: no-repeat;
	background-position: left 8px;
	color: #777777;
	font-size: 14px;
	width: 100%;
}

/** search form **/
.main-nav .search-form .fieldset {
  display: inline-block;
  width: 70%;
  padding: 4px 0;
  position: relative;
}

.main-nav .search-form .fieldset.submit {
	width: 25%;
}

.main-nav .search-form .fieldset input {
  padding: 6px 9px;
  background: white;
  border: none;
  width: 100%;
}

.main-nav .search-form .fieldset input:focus {
  outline: 0;
  border: none;
}

.main-nav .search-form .fieldset input[type="submit"] {
  background-color: #ecd391;
  color: #ffffff;
  text-align: left;
  padding: 6px 0px 6px 12px;
}

.main-nav .search-form .fieldset.submit:after {
  content: "\f054";
  font-family: 'FontAwesome';
	color: #ffffff;
	font-size: 15px;
	position: absolute;
	right: 8px;
	max-height: 14px;
	top: 0;
	bottom: 0;
	margin: auto;
	content: '\f002';
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

/** footer **/

.footer-contact-section {
	background-color: #013622;
	color: #ffffff;
	padding: 30px 0;
	position: relative;
}

.footer-contact-section .head-mark {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 225px;
	top: -50px;
	background-color: #013622;
	text-align: center;
	-webkit-border-radius: 6px;
	   -moz-border-radius: 6px;
	   		border-radius: 6px;
}

.footer-contact-section .head-mark img {
	display: inline-block;
	vertical-align: -20px;
	margin: 8px 0;
}

.footer-contact-section .head-mark h3 {
	color: #e0c077;
	display: inline-block;
}

.footer-contact-section .widget-heading h2 {
	color: #dec077;
	font-size: 20px;
	min-height: 55px;
	margin: 0;
	font-weight: normal;
}

.footer-contact-section .widget-heading .heading-bottom-line {
	height: 1px;
	width: 100%;
	background-color: #ddc177;
	position: relative;
	float: left;
	margin-bottom: 10px;
}

.footer-contact-section .widget-heading .heading-bottom-line:before {
	height: 4px;
    background-color: #ffffff;
    width: 75%;
    display: inherit;
    margin-top: -2px;
    content: '';
}

.footer-contact-section ul, .footer-contact-section ul li {
	display: inline;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-contact-section ul li {
	width: 100%;
	float: left;
	padding: 10px 0 10px 25px;
	background-image: url(images/icon-bullet-arrow.png);
	background-position: left;
	background-repeat: no-repeat;
}

.footer-contact-section ul li a {
	font-size: 15px;
}

.footer-copyright {
	background-color: #c1a456;
	padding: 20px 0;
	color: #ffffff;
}

#modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: .50;
    -webkit-opacity: .5;
    -moz-opacity: .5;
    filter: alpha(opacity=50);
    z-index: 1000;
}

#modal-content {
    background-color: white;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 0 0 20px 0 #222;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 20px 0 #222;
    display: none;
    height: 280px;
    overflow-y: scroll;
    left: 50%;
    margin: -150px 0 0 -160px;
    padding: 20px;
    position: fixed;
    top: 50%;
    /* width: 400px; */
    z-index: 1000;
}

#modal-background.active, #modal-content.active {
    display: block;
}​