.image-with-pins-item-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.image-with-pins-item-wrapper .image-with-pins-wrapper{
    position: relative;
    display: inline-block;
    z-index: 2;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper.active{
    z-index: 3;
}

.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker{
    position: absolute;
    transform: translate(-50%, -50%);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    text-align: center;
    cursor: pointer;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker:after{
    content: '+';
    line-height: 40px;
    font-size: 20px;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker .hover-content{
    width: 300px;
    background: #ffffff;
    margin: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 20px);
    padding: 5px 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.30);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.30);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.hover .hover-content{
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.3s;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.hover.clicked .hover-content{
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker .hover-content:after,
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker .click-content:after{
    content: " ";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.image-with-pins-item-wrapper .pin-marker.to-down .click-content:after{
    display: none;
}
.image-with-pins-item-wrapper .pin-marker.to-down .click-content:before{
    content: " ";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.clicked{
    z-index: 5;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.clicked .click-content{
    width: 300px;
    background: #ffffff;
    margin: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 20px);
    padding: 15px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.30);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.30);
}

.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.clicked.to-down .click-content{
    bottom: auto;
    top: calc(100% + 20px);
}
.image-with-pins-wrapper .slider .slick-slide{
    padding: 0;
}

.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.clicked.to-right .click-content{
    left: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%);
    bottom: unset;
}
.image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.clicked.to-left .click-content{
    right: calc(100% + 20px);
    left: unset;
    top: 50%;
    transform: translateY(-50%);
    bottom: unset;
}

.image-with-pins-item-wrapper .pin-marker.to-right .click-content:after{
    content: " ";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
    position: absolute;
    bottom: unset;
    left: -5px;
    transform: translateX(-50%) rotateZ(90deg);
    top: 50%;
}
.image-with-pins-item-wrapper .pin-marker.to-left .click-content:after{
    content: " ";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
    position: absolute;
    bottom: unset;
    right: -25px;
    left: unset;
    transform: translateX(-50%) rotateZ(-90deg);
    top: 50%;
}

@media (max-width: 780px) {
    .image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.hover .hover-content{
        display: none;
    }
    .image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker .click-content{
        display: none;
    }
    .image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.clicked .click-content{
        display: block;
        width: 200px;
        left: 0;
        right: 0;
    }
    .image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker .hover-content:after,
    .image-with-pins-item-wrapper .pin-marker.to-down .click-content:before,
    .image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker .hover-content,
    .image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker .click-content:after{
        display: none;
    }
    .image-with-pins-item-wrapper .image-with-pins-wrapper .pin-marker.clicked .click-content{
        bottom: calc(100% + 10px);
    }
}
