.main-map-wrapper{padding-top: 0 !important;}
.cml-property-listing { width: 100%; display: inline-block; vertical-align: top; letter-spacing: -0.31em;}
.cml-property-listing .cmlpl-col { display: inline-block; vertical-align: top; width: 22.4%;  letter-spacing: normal; padding: 0 0.8%; margin-bottom: 30px;}
.cml-property-listing .cmlpl-col a { text-decoration: none;}
.cml-property-listing .cmlpl-col .cmlpl-img { width: 96%; float: left; padding: 2%; background: #fff;}
.cml-property-listing .cmlpl-col .cmlpl-img img { max-width: 100%; display: block;}

.cml-property-listing .cmlpl-col .cmlpl-title {width: 100%; display: inline-block;vertical-align: top; margin: 0; padding: 0; font-size: 18px; font-weight: 600; color: #333;}
.cml-property-listing .cmlpl-col p { margin: 0; padding: 0; color: #222; text-align: center;}

.cml-property-details{text-align: center;}
.cml-property-details ul { margin: 0;  padding: 0;}
.cml-property-details .cml-gallery-view { letter-spacing: -31em; margin: 0; padding: 0;}
.cml-property-details .cml-gallery-view li { letter-spacing: normal; /*width: 24%;*/ display: inline-block; vertical-align: top; padding: 0.5%; margin-right: 10px; margin-bottom: 10px; padding: 1px; border: 1px solid #9a9a9a;}
.cml-property-details .cml-gallery-view li img { max-width: 100%; display: block;}
.cml-property-details .cml-pd-info { margin: 0; padding: 20px 0 0;}
.cml-property-details .cml-pd-info li { list-style-type: none; width: 100%; display: inline-block; vertical-align: top; margin-bottom: 8px;}
.cml-property-details .cml-pd-info li.commone-btn-wrap{width: auto; display: inline-block;}
.cml-property-details .cml-pd-info li.call-wrap{display: none;}
.cml-property-details .cml-pd-info li label { display: inline; }
.cml-property-details .kantoren-table{width: auto;}
.cml-property-details .kantoren-table td {border-bottom: 1px solid;}
.cml-property-details .kantoren-table tr:first-child td, .cml-property-details .kantoren-table tr:last-child td{border: none;}
.cml-property-details .kantoren-table td{padding-right: 60px;}
.cml-property-details .kantoren-table td:last-child{padding-right: 0;}

/*.cml-map-main { position: relative;}
.cml-map-main .map-view { height: 600px;}

@media screen and (min-width: 1600px) and (max-width: 1920px){
.cml-map-main .map-view {	height: 768px;}
}

@media screen and (min-width: 1921px) and (max-width: 2200px){
.cml-map-main .map-view {	height: 770px;}	

}*/

.cml-map-main { position: relative;}
.cml-map-main .map-view .leaflet-popup{opacity: 1; transform: translate3d(1361px, 179px, 0px); bottom: 240px; left: -742px;}
.cml-map-main .map-view .leaflet-popup-content-wrapper { border-radius: 3px; box-shadow: 0 2px 4px rgba(0,0,0,0.2),0 -1px 0px rgba(0,0,0,0.02); }
.cml-map-main .map-view .leaflet-popup-content-wrapper .leaflet-popup-content-wrapper { box-shadow: none;}
.cml-map-main .map-view .leaflet-popup-content-wrapper .leaflet-popup-content { margin: 0; padding: 10px;}
.cml-map-main .map-view .leaflet-popup-content-wrapper .img { width: 32%; display: inline-block; vertical-align: top; }
.cml-map-main .map-view .leaflet-popup-content-wrapper .bd { width: 65%; display: inline-block; vertical-align: top; margin-left: 5px;}
.cml-map-main .map-view .leaflet-popup-content-wrapper .bd a{text-decoration: none !important;}
.cml-map-main .map-view .leaflet-popup-content-wrapper .leaflet-popup-content .media .img img{    max-width: 100% !important;}


.cml-map-main .sideblock { position: absolute; bottom: 30px; right: 10px; height: 290px; overflow-y: auto; background: #fff; z-index: 9; max-width: 300px; box-shadow:0 2px 4px rgba(0,0,0,0.2),0 -1px 0px rgba(0,0,0,0.02); border-radius: 3px;}
.cml-map-main .sideblock ul { margin: 0; padding: 10px;}
.cml-map-main .sideblock li { display: inline-block; vertical-align: top; width: 100%;  padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid #ddd;}
.cml-map-main .sideblock li a { color: #444;}

.cml-map-main .filter_type { position: absolute; bottom: 10px; left: 10px; background: rgba(255, 255, 255, 0.99); padding: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.2),0 -1px 0px rgba(0,0,0,0.02); border-radius: 3px; z-index: 9;} 
.cml-map-main .filter_type ul { margin: 0; padding: 0; width: 230px;}

.cml-map-main .filter_type li { width: 50px; height: 50px;  display: inline-block; vertical-align: top; font-size:0px; position: relative; cursor: pointer; line-height: 28px; color: #fff; margin-bottom: 3px;}
.cml-map-main .filter_type li{ width: 160px; font-size: 15px; padding-left: 70px; line-height: 50px;}
.cml-map-main .filter_type li:last-child{margin-bottom: 0;}
.cml-map-main .filter_type li i { width: 40px; height: 40px; display: inline-block; vertical-align: top; color: transparent; position: absolute; left: 0;  top: 0; margin: 5px;}

.cml-map-main .filter_type li i { background: url(images/locator.png) no-repeat scroll 0 0; }
.cml-map-main .filter_type li.filter-type-1 i { background: url(images/grond.png) no-repeat scroll 0 0; }
.cml-map-main .filter_type li.filter-type-2 i { background: url(images/kantoor.png) no-repeat scroll 0 0; }
.cml-map-main .filter_type li.filter-type-3 i { background: url(images/magazijn.png) no-repeat scroll 0 0; }
.cml-map-main .filter_type li.filter-type-4 i { background: url(images/winkel.png) no-repeat scroll 0 0; }

.cml-map-main .filter_type li { background: #2e85cb;}
.cml-map-main .filter_type li:hover{background: #1A71B7;}
.cml-map-main .filter_type li.filter-type-1 {background: #f2c249; }
.cml-map-main .filter_type li.filter-type-1:hover{background-color: #E6AB17;}
.cml-map-main .filter_type li.filter-type-2 {background: #e6772e; }
.cml-map-main .filter_type li.filter-type-2:hover {background: #C35E1B; }
.cml-map-main .filter_type li.filter-type-3 {background: #4db3b3; }
.cml-map-main .filter_type li.filter-type-3:hover {background: #219A9A; }
.cml-map-main .filter_type li.filter-type-4 {background: #e64a45; }
.cml-map-main .filter_type li.filter-type-4:hover {background: #CA3632; }


.cml-map-main .link-list {position: absolute; top: 10px; right: 10px; z-index: 5; }
.cml-map-main .link-list ul { margin: 0; padding: 0;}
.cml-map-main .link-list li { display: inline-block; vertical-align: middle; margin: 40px 100px 0 0;}
.cml-map-main .link-list li input,
.cml-map-main .link-list li a {text-transform: uppercase; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.2),0 -1px 0px rgba(0,0,0,0.02); font-size: 14px; border-radius: 3px;}

.cml-map-main .link-list li input:hover,
.cml-map-main .link-list li a:hover { background: #f1f1f1; text-decoration: none;}
.cml-map-main .leaflet-bottom,
.cml-map-main .leaflet-top { z-index: 1;}


@media screen and (min-width:0px) and (max-width: 767px){
	.cml-map-main .map-view { min-height: 440px; }
	.cml-map-main .link-list li { margin: 40px 0 0 0;}
}

@media screen and (min-width:0px) and (max-width: 640px){
	.custom-slenko-map .region-bottom { margin-top: 0; height: auto;}
	.custom-slenko-map #page {min-height: auto;}
	.custom-slenko-map #main2 {padding-bottom: 0;}
}

/*add by BC on 19-3-2016*/
.select-filter-cls{width: 16%; margin-left: 1.5%; padding: 6px;}
.post-filter-cls{width: 16%; margin-left: 1.5%; padding: 6px; border: 1px solid rgb(169, 169, 169) !important;}
.btn-filter-cls{width: 10%; margin-left: 1.5%; padding: 8px; background-color: #01539f; border:none; outline: none; color: white;}
.main-map-wrapper .column{max-width: 100% !important; margin: 0 !important; padding: 0 !important;}
/*.main-map-wrapper{padding-top: 0;}*/
.location-cls{text-decoration: none !important; background-color: #ffde02 !important; padding: 7px; display: block; width: 188px; text-align: center; margin: 0 auto; margin-bottom: 48px; color: #00519b !important;}
.location-cls img{margin-right: 7px; vertical-align: sub;}
.cmlpl-col .title1-wrapper{color: #00294f !important; font-weight: bold;}
.cmlpl-col .title2-wrapper{ color: #00519b !important;}
.item-list .pager .pager-item{background-color: #0051a2;}
.item-list .pager .pager-item a{color: white; text-decoration: none !important;}
.pager-item, .pager-first, .pager-previous, .pager-next, .pager-last, .pager-ellipsis, .pager-current{background-color: #ffde02;    padding: 0.1em 0.6em !important;}
.pager-next, .pager-last, .pager-ellipsis{background-color: #0051a2;}
.pager-next a, .pager-last a , .pager-ellipsis{color: white; text-decoration: none;}
.pager-item, .pager-first, .pager-previous, .pager-next, .pager-last, .pager-ellipsis, .pager-current{display: inline-block !important;}
.sub-title-wrapper{width: 100%; text-align: center; display: block; color: #00519b !important;}
.sub-title-wrapper:after {background-color: #ffde02; content: ""; display: block; height: 2px; margin: 6px auto 15px; width: 82px;}
.leaflet-left .leaflet-control{margin-top: 40px !important; margin-left: 50px !important;}
.list-cls, .add-cls{width: auto !important; display: inline-block;}
.list-cls{margin-left: 1% !important;}
.btns-main-cls{text-align: center;}



@media screen and (min-width: 0) and (max-width: 767px){
.select-filter-cls, .post-filter-cls{margin-left: 0; width: 100%;}
.btn-filter-cls{width: 30%; margin: 20px 8.5%;}
.title{font-size: 30px;}
.pager-item, .pager-first, .pager-previous, .pager-next, .pager-last, .pager-ellipsis, .pager-current{margin-bottom: 10px !important;}
.cml-property-details .kantoren-table td{padding-right: 20px;}

.cml-property-details .cml-pd-info li.call-wrap{display: inline-block; margin-left: 5px;}
}

@media screen and (min-width: 0) and (max-width: 620px){
.cml-property-listing .cmlpl-col{width: 100%;}
.cml-property-listing .cmlpl-col .cmlpl-img{width: 95%;}
.cml-property-listing .cmlpl-col .cmlpl-img img{margin: 0 auto;}
}

@media screen and (min-width: 768px){
.cml-property-listing .cmlpl-col .cmlpl-img{height: 170px;}
.cml-property-listing .cmlpl-col .cmlpl-img img { width: 100%; max-height: 100%; height: auto;}
}

@media screen and (min-width: 621px) and (max-width: 767px){
.cml-property-listing .cmlpl-col .cmlpl-img{height: 100px;}
.cml-property-listing .cmlpl-col .cmlpl-img img { width: 100%; max-height: 100%; height: 100%;}
}

@media screen and (min-width: 621px) and (max-width: 991px){
.cml-property-listing .cmlpl-col .cmlpl-img img { height: auto;}
}