.mks-map-wrapper {
position: relative;
width: 100%;
height: 100%;
}
.mks-maps {
width: 100%;
padding-bottom: 75%; height: 0;
overflow: hidden;
background: #eee;
position: relative;
margin-bottom: 20px;
}
.mks-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
} .mks-map-wrapper .mks-map-items {
background: transparent;
float: left;
width: 30%;
height: 600px;
max-width: 500px;
min-width: 300px;
position: relative;
}
.mks-map-wrapper .mks-map-items .mks-map-info-box {
background: transparent;
}
.mks-map-wrapper .mks-map-items .mks-map-info-box .mks-map-info-box-close {
display: none;
}
.mks-map-wrapper .mks-map-items .mks-map-info-box a img {
height: 100%;
width: auto;
object-fit: cover;
z-index: 1;
position: absolute;
max-height: 100%;
}
.mks-map-element-pos-abs {
padding: 15px 20px 20px;
} .mks-map-info-box {
background: #fff;
margin-bottom: 20px;
box-shadow: 5px 5px 10px rgba(0,0,0,.1);
}
.mks-map-info-box .mks-map-entry-header .entry-title{
margin-bottom: 0;
}
.mks-map-entry-category + .mks-map-entry-header{
margin-top: 7px;
}
.mks-map-info-box .mks-map-entry-header + .mks-map-entry-meta{
font-size: 12px;
margin-top: 3px;
}
.mks-map-info-box .mks-map-entry-content{
margin-top: 15px;
}
.mks-map-info-box .mks-map-entry-header + .mks-map-entry-content {
margin-top: 10px;
}
.mks-map-info-box .mks-map-entry-image{
height: 180px;
overflow: hidden;
position: relative;	
}
.mks-map-info-box .mks-map-entry-image a{
display: inline-block;
position: relative;
height: 100%;
width: 100%;
}
.mks-map-info-box a img {
position: relative;
width: 100%;
height: 100%;
object-fit: cover;
}
.mks-map-info-box p{
font-size: 13px;
line-height: 1.6;
margin-bottom: 0;
}
.mks-map-info-box p:only-of-type {
margin-bottom: 0;
}
.mks-map-info-box .mks-map-entry-category{
margin-bottom: -5px;
}
.mks-map-info-box .mks-map-entry-category a,
.mks-map-entry-meta > span{
font-size: 11px;
display: inline-block;
vertical-align: top;
margin-right: 5px;	
margin-top: 0;
}
.mks-map-entry-meta > span{
margin-right: 8px;
} .mks-map-info-box-close {
position: absolute;
top: 0;
right: 0;
display: inline-block;
z-index: 999;
text-align: center;
line-height: 36px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
height: 36px;
width: 36px;
background-color: rgba(255,255,255,.8);
border-radius: 50%;
color: #333;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
opacity: 0;
}
.mks-map-entry-image + .mks-map-info-box-close{
top: 10px;
right: 10px;	
}
.mks-map-info-box:hover .mks-map-info-box-close {
opacity: 1;
}
.mks-map-x{
display: block;
height: 100%;
padding: 10px;
position: relative;
}
.mks-map-x:before,
.mks-map-x:after{
content: '';
position: absolute;
width: 12px;
height: 2px;
background-color: black;
border-radius: 2px;
top: 17px;
}
.mks-map-x:before{
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
transform:rotate(45deg);
left: 12px;
}
.mks-map-x:after{
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
transform:rotate(-45deg);
right: 12px;
}
.mks-map-info-box-close:hover {
background-color: #FFF;	
}
.mks-map-entry-image:hover .mks-map-info-box-icon {
opacity: 1;
visibility: visible;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateX(0);
}
.mks-map-wrapper .mks-map-info-box .mks-map-element-pos-abs {
position: static;
z-index: 3;
bottom: auto;
left: auto;
}
.infoBox .date {
padding: 0 25px;
color: #888;
font-weight: 400;
margin: 4px 0 4px 0;
display: block;
text-transform: none;
font-size: 13px;
letter-spacing: 0;
}
.infoBox > img {
position: absolute !important;
right: 0px;
top: 0px;
}
.infoBox {
-webkit-animation: fadeIn 300ms; animation: fadeIn 300ms;
}
.infoBox:after {
content: "";
position: absolute;
bottom: 0px;
left: 40px;
width: 0; 
height: 0; 
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px solid #fff;
} @-webkit-keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
} @keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
#mks-maps-error{
background: rgba(0,0,0,0.1);
padding: 20px;
margin-bottom: 20px;
} body .leaflet-popup-content {
margin: 0;
line-height: 1.6;
}
body .leaflet-popup-content-wrapper {
padding: 0;
border-radius: 0;
}
body .leaflet-popup-content .mks-map-info-box {
margin-bottom: 0;
}
body .leaflet-touch .leaflet-bar a:first-child {
color: initial;
text-decoration: initial;
}
body .leaflet-touch .leaflet-bar a:last-child {
color: initial;
text-decoration: none;
}