.map-text {
    margin-top: -50px;
    overflow: hidden;
    padding-bottom: 0;
}

.map-text__map {
    margin: -56px auto 0;
    height: 384px;
    position: relative;
    width: 375px;
}

.map-text__map__img {
    width: 450px;
    height: 100%;
    max-width: initial;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    object-fit: cover;
}

.pin {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translate(-50%, 0);
    margin-left: 12px;
}

.map-text__text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 10px;
}

.color-box-wrap {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.color-box-item {
    width: 42px;
    text-align: center;
}

.color-box {
    width: 42px;
    height: 42px;
    background: #ccc;
}

.color-box--darkred {
    background: #A22222;
}

.color-box--red {
    background: #D84C4C;
}

.color-box--pink {
    background: #EA8888;
}

.color-box--skyblue {
    background: #B6D7E5;
}

.color-box--lightblue {
    background: #81BBDD;
}

.color-box--blue {
    background: #5FA5D1;
}

.color-box--darkblue {
    background: #262B6C;
}

.color-box-item h4 {
    font-size: 13px;
    font-weight: 400;
    color: #676666;
    margin: 5px 0 0 0;
}

.map-text__text__details {
    padding-top: 30px;
}

.map-text__text__details .btn + .btn {
    margin-top: 0;
    margin-left: 20px;
}

.map-text + .half-and-half {
    @media( min-width : 1200px ) {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .map-text {
        margin-top: -47px;
    }
    
    .map-text__map {
        height: 723px;
        width: 100%;
    }
    
    .map-text__map__img {
        width: 846px;
    }

    .pin {
        bottom: 90px;
    }
    
    .map-text__text {
        padding-top: 25px;
    }
    
    .color-box-wrap {
        gap: 15px;
    }
    
    .color-box-item {
        width: 52px;
    }
    
    .color-box {
        width: 51px;
        height: 51px;
    }
    
    .color-box-item h4 {
        font-size: 16px;
        font-weight: 800;
    }
    
    .map-text__text__details {
        padding-top: 35px;
    }
    
    .map-text__text__details .btn + .btn {
        margin-left: 25px;
    }
}

@media (min-width: 1200px) {
    .map-text {
        margin-top: -50px;
        padding-bottom: 42px;
       
    }

    .map-text__flex {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
        align-items: center;
    }
    
    .map-text__map {
        margin: -150px auto 0;
        height: 998px;
        width: calc(100% - 508px);
    }
    
    .map-text__map__img {
        width: 1169px;
        right: -132px;
        height: 100% !important;
        max-width: max-content !important;
    }

    .pin {
        bottom: 133px;
        margin-left: 80px;
    }
    
    .map-text__text {
        display: block;
        text-align: left;
        padding-top: 75px;
        width: 508px;
        position: relative;
        z-index: 1;
    }
    
    .color-box-wrap {
        margin-top: 75px;
        justify-content: flex-start;
    }
    

    .map-text__text__details {
        padding-top: 0;
    }
}