#list-properties .item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 1.5em;
    border-bottom: 1px solid #e0e0e0;
    -webkit-transition: background-color 600ms ease;
    transition: background-color 600ms ease;
}
#map-container {
    position: relative;
}
@media screen and (min-width: 991px)
{
   #map-container{
	height:90vh;
   }
}
#list-properties {
    overflow: auto;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border-top: 1px solid #e0e0e0;
    height: 100%;
}
#map-container .map-top {
    display: none;
}

.search-form fieldset {
    border: 0;
}

.search-form fieldset:first-child {
    border: 0;
    padding: 2em 2em 1em;
    box-sizing: border-box;
    display:flex;
    flex-wrap: wrap;
    width: 100%;
}

.search-form fieldset input[type="text"] {
    width: 60%;
    background-image: none!important;
    font-size: 15px;
    border: none;
    background-color: #fff;
    height: 45px;
    margin-top: 0;
    padding: 0px;
    margin-bottom: 0;
    text-indent: 10px;
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    border-color: #e0e0e0;
}

.search-form fieldset label {
    padding-left: 10px;
    white-space: inherit;
}

.search-form fieldset input[type="text"]:active,
.search-form fieldset input[type="text"]:focus{
    outline: none;
}

.map-categories span{
	font-size:1em;
    font-weight: 500;
}
.map-categories label{
	font-size:1em;
}
.search-form fieldset button {
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.125rem;
    color: #fff;
    background-color: rgba(111,38,61,1);
    outline: none;
    border: none;
    box-shadow: none;
    padding: 0;
    height: 45px;
    width: calc( 40% - 20px);
    margin: 0 5px;
    cursor: pointer;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background-image: none;
    transition: background-color .5s ease-in-out;
}

.search-form fieldset button:hover {
    background-color: #a50034 !important;
}

.search-form fieldset.map-categories {
    padding: 1em 2em;
}

.search-form fieldset.map-categories .cat-red label span:not(.dc-custom-checkbox),
#list-properties .item .cat-red,
.maps-infobox .info .cat-red{
    color: #a50034;
}

.search-form fieldset.map-categories .cat-red label .dc-custom-checkbox {
    background-color: #a50034 !important;
    border: 1px solid #a50034 !important;
}

.search-form fieldset.map-categories .cat-purple label span:not(.dc-custom-checkbox),
#list-properties .item .cat-purple,
.maps-infobox .info .cat-purple{
    color: #6f263d;
}

.search-form fieldset.map-categories .cat-purple label .dc-custom-checkbox {
    background-color: #6f263d !important;
    border: 1px solid #6f263d !important;
}

.search-form fieldset.map-categories .cat-gray label span:not(.dc-custom-checkbox),
#list-properties .item .cat-gray,
.maps-infobox .info .cat-gray{
    color: #208195;
}

.search-form fieldset.map-categories .cat-gray label .dc-custom-checkbox {
    background-color: #208195 !important;
    border: 1px solid #208195 !important;
}

.search-form fieldset.map-categories .cat-black label span:not(.dc-custom-checkbox),
#list-properties .item .cat-black,
.maps-infobox .info .cat-black{
    color: rgb(51,63,72);
}

.search-form fieldset.map-categories .cat-black label .dc-custom-checkbox {
    background-color: rgb(51,63,72)!important;
    border: 1px solid rgb(51,63,72) !important;
}

.search-form fieldset.map-categories .dc-checkbox {
    width: 100%;
    display: flex;
    position: relative;
    margin-bottom: 1em;
}

.search-form fieldset.map-categories input {
    height: 25px;
    width: 25px;
    min-height: 25px;
    max-height: 25px;
    min-width: 25px;
    max-width: 25px;
    z-index: 4;
}
.map-category{
	margin-right: 0.5em;
}

.map-categories label {
    display: block;
    float: left;
}


#list-properties .item {
    display: flex;
    flex-flow: row nowrap;
    padding: 2em;
    border-top: 1px solid #ededed;
}

#list-properties .item-inner {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
}

#list-properties .item .categories {
    margin-bottom: 0.8em;
}

.map .categories{
    margin-bottom: 0.5em;
    font-size: 0.8em;
    line-height: 1.6em;
}

#list-properties .item p,
#list-properties .item-inner p,
#list-properties .item-inner span{
    margin: 0px;
    color: #53565a;
}
#list-properties .item:hover,
#list-properties .item-inner:hover {
    background-color: #ededed;
}

#list-properties .item .info,
#list-properties .item-inner .info {
    width: 60%;
    padding-right: 1em;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

#list-properties .item .pic,
#list-properties .item-inner .pic{
    width: 40%;
    display: flex;
    align-items:center;
}

#list-properties .item img,
#list-properties .item-inner img{
    aspect-ratio: 1 / 1;
	max-width:100%;
    max-height:100%;
}

#list-properties .item .city,
#list-properties .item-inner .city,
.maps-infobox .info .city{
    float: left;
    font-size: 1.4em;
    line-height: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    color: black;
    margin-bottom: 7px;
    margin-right: 15px;
}

#list-properties .info .categories span{
	font-size: 0.8em;
    display: block;
    line-height: 1.6em;
}
#list-properties .item h2,
#list-properties .item-inner h2,
.maps-infobox .info h2{
    float: left;
    font-size: 1.4em;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0px;
    color: #53565a;
}
#map {
    width: 100%;
    height: 90vh;
    position: absolute !important;
    top: 0;
    left: 0;
}
.maps-infobox img {
    width: 100px;
}

/* INFO BOX */

.gm-style .gm-style-iw {
    font-size: initial;
    font-weight: initial;
}

.gm-style .gm-style-iw-c {
    max-width: 320px !important;
    border-radius: 0;
    padding: 0;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    max-width: 320px !important;
}

.maps-infobox {
    width: 320px;
    display: flex;
    flex-flow: row nowrap;
    padding: 12px 12px 16px;
    box-sizing: border-box;
}

.maps-infobox .info {
    width: 100%;
    padding-top: 4px;
    color: #53565a !important;
    font-family: DM Sans,sans-serif;
}

.map-left .info h2 {
    margin-bottom: 12px;
    letter-spacing: normal;
}

.maps-infobox .info .contact-link {
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 400;
    position: relative;
    background-color: rgba(111,38,61,1);
    color: #fff;
    height: 38px;
    padding: 0 16px;
    display: block;
    line-height: 38px;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    width: auto;
    float: left;
    -ms-flex-item-align: start;
    align-self: flex-start;
    min-width: 80px;
    transition: background-color .5s ease-in-out;
}

.maps-infobox .info .contact-link:hover {
    background-color: #a50034;
}

.maps-infobox .info p {
    float: left;
    margin: 4px 0 8px;
    font-size: 14px;
    color: #53565a !important;
}

.maps-infobox .pic {
    width: 40%;
}

.maps-infobox .pic img {
    margin-top: 10px;
    margin-left: auto;
    margin-right: 10px;
    width: 100px;
    height: 100px;
}

.detail  {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    border-top: 1px solid #efefef;
    width: 100%;
}

.detail:hover  {
    background-color: #f2f2f2;
}

.detail > a {
    position: relative;
    padding: 10px 20px;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #696969;
}

.detail > a .plus::before,
.detail > a .plus::after{
    content: '';
    position: relative;
    display: inline-block;
    left: -12px;
    top: 0px;
    height: 12px;
    width: 2px;
    background-color: #696969;
    transition: background-color .2s ease;
}
.detail > a .plus::before {
    transform: rotate(0);
}
.detail > a .plus::after {
    transform: rotate(90deg);
    left: -14px;
}

.detail > a:hover {
    color: #a50034;
}

.detail > a:hover .plus::before,
.detail > a:hover .plus::after{
    background-color: #a50034;
}

.gm-control-active img {
    margin-top: 0px !important;
}

.cluster span {
    color: #fff;
}

@media screen and (max-width: 991px){
.map-left {
    box-shadow: none;
    left: 0;
    top: .5em;
    padding-top: 0;
}
.map-left, #map {
    position: relative !important;
    width: 100%;
    height: 60vh;
}
.map-top form, .map-left form {
    padding: 0;
}
.map-left form {
    display: none;
}
#map-container .map-top {
    display: block;
}
.map-controls {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.map-control, .list-control {
    width: 50%;
    padding: 10px 20px;
    background-color: #f2f2f2;
    font-family: 'MATERIAL ICONS', sans-serif;
    color: #53565a;
    font-size: 22px;
    text-align: center;
}
.map-control, .list-control {
    width: 50%;
    padding: 10px 20px;
    background-color: #f2f2f2;
    font-family: 'MATERIAL ICONS', sans-serif;
    color: #53565a;
    font-size: 22px;
    text-align: center;
}
.map-control.selected, .list-control.selected {
    background-color: #a50034;
    color: #fff;
}
#list-properties{
	height:100%;
}
#list-properties .item {
    justify-content: space-between;
}
}
@media screen and (max-width:991px){
	#map{
	  display:none;
	}
}
.maps-infobox .categories span:first-child {
    font-size: 14px;
   }
   .maps-infobox .info .city {
    float: none;
    display: block;
    margin: 20px 0 5px;
   }
   .maps-infobox .info .contact-link {
    margin-top: 10px;
   }
   .maps-infobox .info h2 {
    font-size: 1.2em;
    letter-spacing: 0;
    margin: 0;
   }
   .maps-infobox .info p,
   .maps-infobox .info .city,
   .maps-infobox .categories span:first-child,
   .maps-infobox .info .contact-link,
   .maps-infobox .info h2 {
    font-family: Graphik, sans-serif;
   }
   .maps-infobox .categories span:first-child {
    font-size: 14px;
   }
   .maps-infobox .info .city {
    float: none;
    display: block;
    margin: 20px 0 5px;
   }
   .maps-infobox .info .contact-link {
    margin-top: 10px;
   }
   .maps-infobox .info h2 {
    font-size: 1.2em;
    letter-spacing: 0;
    margin: 0;
   }
   .maps-infobox .info p,
   .maps-infobox .info .city,
   .maps-infobox .categories span:first-child,
   .maps-infobox .info .contact-link,
   .maps-infobox .info h2 {
    font-family: Graphik, sans-serif;
   }
