div.wpcf7 {
	margin: 0;
	padding: 0;
}

div.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #ff0000;
}

div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14;
}

div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
	border: 2px solid #ff0000;
}

div.wpcf7-spam-blocked {
	border: 2px solid #ffa500;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
	border: 2px solid #f7e700;
}

.wpcf7-form-control-wrap {
	position: relative;
}

span.wpcf7-not-valid-tip {
	color: #f00;
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip span.wpcf7-not-valid-tip {
	position: absolute;
	top: 20%;
	left: 20%;
	z-index: 100;
	border: 1px solid #ff0000;
	background: #fff;
	padding: .2em .8em;
}

span.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

span.wpcf7-list-item-label::before,
span.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-display-none {
	display: none;
}

div.wpcf7 .ajax-loader {
	visibility: hidden;
	display: inline-block;
	/*background-image: url('../../images/ajax-loader.gif');*/
	width: 16px;
	height: 16px;
	border: none;
	padding: 0;
	margin: 0 0 0 4px;
	vertical-align: middle;
}

div.wpcf7 .ajax-loader.is-active {
	visibility: visible;
}

div.wpcf7 div.ajax-error {
	display: none;
}

div.wpcf7 .placeheld {
	color: #888;
}

div.wpcf7 .wpcf7-recaptcha iframe {
	margin-bottom: 0;
}

div.wpcf7 input[type="file"] {
	cursor: pointer;
}

div.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

#image-map area {
    background-color: #00d084;
}

#mapster_wrap_0 canvas {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    /*left: 200px;*/
    background-size: 100%;
    /*background-position: -200px -200px;*/
    cursor: pointer;
}

/**********************************/

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

body:not(.page-template-page_fullwidth):not(.archive):not(.single-post) .site-content.container {
    margin-top: 55px !important;
    display: inline-block;
}

img.full_length_map {
    width: 100%;
    /*max-height: 50vh;*/
}
@media (max-width: 767px) {
    img.full_length_map {
        width: auto;
        height: 50vh;
        object-fit: cover;
    }
}

#content {
    max-width: 1170px;
    margin: auto !important;
    display: block;
    position: relative;
}
/*#content.home-container {
    padding-top: 135px !important;
}*/

#content ul.estates {
    text-align: center;
    max-width: 1440px;
    margin: 0 auto;
    font-size: 0;
}

#content ul.estates li:nth-last-child(-n + 3) {
    margin-bottom: 20px;
}
@media (min-width: 1381px) and (max-width: 1600px) {
    #content ul.estates li {
        width: 363px;
    }
}

#content ul.estates li {
    width: 464px;
    /* height: 413px; */
    margin: 0 8px 40px;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

#content ul.estates li > a {
    width: auto;
    display: block;
    position: relative;
    line-height: 0;
    overflow: hidden;
    padding-top: 80px;
}

#content ul.estates li:hover a img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
#content ul.estates li a img {
    width: 100%;
    display: block;
    height: 300px;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}


/*#content ul.estates:nth-child(odd) li:nth-child(odd) .estate-title,
#content ul.estates:nth-child(odd) li:nth-child(odd) .estate-title__small {
    background: #fff;
    color: rgb(9, 46, 69);
}*/
#content ul.estates li:hover .estate-title,
#content ul.estates li:hover .estate-title__small {
    /* background: rgb(242,242,244); */
    background: rgb(226, 28, 71) !important;
    /* color: rgb(9, 46, 69); */
    color: #fff !important;
}

@media (min-width: 1381px) and (max-width: 1600px) {
    #content ul.estates li .estate-title {
        /* height: 38px; */
        padding: 11px 20px;
        font-size: 19px;
    }
}

#content ul.estates li .estate-title {
    line-height: 110%;
    font-family: 'HeraldMedium';
    background: rgb(9, 46, 69);
    /* height: 60px; */
    /* min-height: 60px; */
    margin: 0;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    z-index: 1;
    text-align: center;
    /* font-weight: bold; */
    letter-spacing: 1px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/*#content ul.estates:nth-child(odd) li:nth-child(odd) .estate-title,
#content ul.estates:nth-child(odd) li:nth-child(odd) .estate-title__small {
    background: #fff;
    color: rgb(9, 46, 69);
}*/
#content ul.estates li .estate-title > span {
    /*float: right;*/
}

.estate-title__small {
    display: block;
    font-family: 'HeraldLight';
    background: rgb(9, 46, 69);
    font-size: 14px;
    color: #ffffff;
    text-transform: lowercase;
    text-transform: uppercase;
    padding-top: 5px;
}

#content ul.estates li > p {
    margin: 8px 0 0;
    text-align: left;
    line-height: 34px;
    display: inline-block;
    float: left;
    cursor: pointer;
    font-size: 10pt;
}

#content ul.estates li > p > span {
    width: 32px;
    height: 32px;
    display: inline-block;
    margin: 0 4px 0 0;
    vertical-align: top;
}

#mapster_wrap_0 {
    max-height: 85vh;
    position: relative;
}
@media (max-width: 767px) {
    #mapster_wrap_0 {
        max-height: auto;
    }
}

.building-image {
    display: block;
    margin: auto;
    /*height: 100%;*/
}

#content.map-container {
    position: relative;
}
#content.map-container a {
    padding: 0 5px;
    border-radius: 3px;
}
#content.map-container .map-pin {
    position: absolute;
    background-color: #d6001c;
    top: 500px;
    left: 500px;
    color: #fff;
}
#content.map-container .map-pin span {
    display: none;
    width: 44px;
    height: 44px;
    left: -25px;
    top: -71px;
    box-sizing: content-box;
    position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
}
#content.map-container .map-pin em {
    display: none;
    font-style: normal;
}
#content.map-container .map-pin::before {
    position: absolute;
    top: -73px;
    left: -27px;
    content: " ";
    background-image: url('/img/pin-small.png');
    background-size: contain;
    width: 48px;
    height: 66px;

}
#content.map-container .map-pin:hover {
    z-index: 100;
}
#content.map-container .map-pin:hover::before {
    background-image: url('/img/pin-big.png');
    top: -210px;
    left: -76px;
    width: 148px;
    height: 204px;
}
#content.map-container .map-pin::after {
    position: absolute;
    top: -6px;
    left: -5px;
    content: " ";
    background-color: #d6001c;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
#content.map-container .map-pin:hover strong {
    display: none;
}
#content.map-container .map-pin:hover span {
    display: block;
    width: 139px;
    height: 137px;
    left: -72px;
    top: -205px;
}
#content.map-container .map-pin:hover em {
    display: block;
}
#content.map-container .map-pin-unknown {
    left: 0;
    top: 0;
}
#content.map-container .map-pin-california2 {
    left: 55%;
    top: 66%;
}
#content.map-container .map-pin-california {
    left: 55.5%;
    top: 65%;
}
#content.map-container .map-pin-vitality {
    left: 50.2%;
    top: 75%;
}
@media (max-width:1170px)
{
    #content.map-container .map-pin-california2 {
        left: 68.5%;
        top: 62%;
    }
    #content.map-container .map-pin-california {
        left: 69.5%;
        top: 61%;
    }
    #content.map-container .map-pin-vitality {
        left: 53.2%;
        top: 71%;
    }
}
#content .projects_box_container {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    width: 60%;
    margin: 1.5rem auto 0;
    justify-content: space-between;
}
#content .slots_4 {
    width: 75%;
}
#content .projects_box_container a {
    display: block;
}
#content .projects_box_container li {
    width: 30%;
}
#content .projects_box_container strong {
    display: block;
    margin: 0 0 0.5rem;
    padding: 0.35rem 1.5rem;
    background-size: 100%;
    background-image: url(../img/project_title_bk.png);
    background-repeat: no-repeat;
    font-size: 14pt;
    color: white;
    height: 3.5rem;
}

@media (max-width:1170px) {
    #content .projects_box_container {
        width: 90%;
    }
    #content .projects_box_container strong {
        height: 5rem;
        font-size: 16pt;
    }
}

@media (max-width:768px) {
    #content .projects_box_container {
        flex-direction: column;
    }
    #content .projects_box_container li {
        width: 90%;
        margin: 1rem auto;
        min-width: 250px;
        max-width: 32rem;
    }
    #content .projects_box_container strong {
        height: 5rem;
        font-size: 18pt;
        padding: 0.7rem 1.5rem;
    }
}
#content .projects_box_container span {
    width: 100%;
    height: 18rem;
    display: inline-block;
    background-size: cover;
    background-position: center;
    border: 2px solid grey;
}
#content .projects_box_container span:hover {
    border: 2px solid #dc0021;
}
#content .projects_box_container em {
    font-style: normal;
    font-size: 10pt;
    color: #dc0021;
    font-weight: bold;
    line-height: 145%;
    display: inline-block;
}
@media (max-width:768px) {
    #content .projects_box_container em {
        font-size: 14pt;
    }
}
#content .project_box {

}
.row {
    margin-bottom: 10px;
}
