.points-content { padding-bottom: 120px; }

.points {
    position: relative;
    overflow: hidden;
}

.points a {
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
}

.points img {
    width: 100%;
}

.points .point {
    position: absolute;
    width: 104px;
    height: 104px;
    transform: translateX(-50%) translateY(-50%);
}

.points .marker {
    display: block;
    position: relative;
    width: 104px;
    height: 104px;
    background-image: url("../../../img/point-marker.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 3;
    opacity: 1;
    transition-duration: 0.3s;
}

.points .active .marker {
    opacity: 1;
    z-index: 3;
}

.points .text {
    position: absolute;
    transform: translate(0, 0);
    display: block;
    width: 380px;
    box-sizing: border-box;
    text-align: left;
    opacity: 0;
    transition-duration: 0.3s;
    transition-delay: 0.1s;
    z-index: -1;
    cursor: pointer;
    background-color: rgba(255,255,255,0.75);
    border: 1px solid var(--color-lightbrown);

    transform: translateX(-50%);
}

.points .text-inner {
    position: relative;
    padding: 50px 40px;
    z-index: 1;
    color: #000;
    text-align: center;
}

/*.points .text-inner:before {*/
/*    content: " ";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: -1;*/
/*    background-color: rgba(0,0,0,0.6);*/
/*    clip-path: path("M0,38.146c21.068,0,38.146-17.078,38.146-38.146h341.854v340.227H0V38.146z");*/
/*    transform-origin: center center;*/
/*}*/

.points .point.active {
    overflow: visible;
    z-index: 4;
}

.points .text.active {
    opacity: 1;
    z-index: 3;
}

.points .text.top { transform: translate(0, -100%); }
/*.points .text.top .text-inner:before { transform: scaleY(-1); }*/

.points .text.left { transform: translate(-100%, 0); }
/*.points .text.left .text-inner:before { transform: scaleX(-1); }*/

.points .text.right { transform: translate( 0 , 0 ); }

.points .text.top.left { transform: translate(-100%, -100%); }
/*.points .text.top.left .text-inner:before { transform: rotate(180deg); }*/


.points .text.top.right {}

.points h3, .points p {
    color: #000;
    font-size: 15px;
    margin: 0;
    padding: 0;
    line-height: 1.75;
}


@media screen and (max-width: 980px) {
    .points .point {
        width: 42px;
        height: 42px;
    }

    .points .marker {
        width: 42px;
        height: 42px;
    }

    .points .text-inner { padding: 15px; }

    /*.points .text-inner:before { clip-path: path("M0,19.073c10.534,0,19.073-8.539,19.073-19.073h360.928v338.894L0,340.227V19.073z"); }*/

    .points h3, .points p { font-size: 12px; }

    .points .text { width: 250px; }

    .points .point h3, .points .point p { font-size: 12px; }
}

@media screen and (max-width: 520px)
{
    .points .point {
        width: 30px;
        height: 30px;
    }

    .points .marker {
        width: 30px;
        height: 30px;
    }

    .points .text, .points .text.top, .points .text.right, .points .text.top.right, .points .text.left, .points .text.top.left {
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    /*.points .text-inner:before { clip-path: none; }*/

    .points .text.active { z-index: 6; }
}
