.im-map-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background: #8ac9ec;
    padding: 20px 0;
    margin: 50px auto;
}

.im-map-wrapper .im-main-title {
    text-align: center;
    padding: 20px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    text-shadow: 1px 2px 2px #2d4a86;
    background: #5da9dd;
    margin: 0 auto !important;
    max-width: 600px;
    text-align: center;
}

.im-map {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    position: relative;
}

.im-map .mapa_slika {
    width: 100%;
    display: block;
    max-width: 600px;
}

.im-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    width: 50px;
    height: 50px;
    border: none;
    background: none;
    font-size: 42px;
    cursor: pointer;
    padding: 0;
}

.im-pin .im-pin-ring {
    width: 20px;
    height: 40px;
    animation: pulse 2s 1;
    opacity: 0.9;
    margin: 0 auto;
    transition: 0.5s;
}

.im-pin .im-pin-top {
    width: 10px;
    height: 10px;
    margin: -7px auto 0 auto;
}

.im-pin .tooltip {
    font-size: 12px;
    white-space: nowrap;
    text-transform: uppercase;
    text-align: center;
    width: 100px;
    margin-left: -25px;
    margin-top: 5px;
    font-weight: bold;
}

.im-pin:hover .im-pin-ring {
    transform: translateY(-10px);
    opacity: 1;
}

.im-bottom-text {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: #2d4a86;
}

.im-bottom-text p {
    font-size: 16px !important;
    margin: 10px 0;
}

.im-bottom-bar {
    max-width: 600px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #5da9dd;
    padding: 20px;
}

.im-bottom-bar .im-article {
    flex: 0 0 25%;
    border-left: 1px solid #fff;
}

.im-bottom-bar .im-article:last-child{
    border-right: 1px solid #fff;
}

.im-map-wrapper .im-bottom-bar .im-article p{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    font-size: 16px;
}

.im-map-wrapper .im-bottom-bar .im-article p span{
    font-weight: bold;
}

.im-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 10vh 10vw;
}

.im-modal-content{
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    border: 4px solid #2d4a86;
      position: relative;
}

.im-modal-body{
  
    height: 80vh;
    overflow-y: scroll;
}

.im-close{
    position: absolute;
    top: -15px;
    right: -15px;
    background: #2d4a86;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 33px;
}

.im-modal .im-modal-content .im-location-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2d4a86;
}

.im-modal-body .im-location-data .im-modal-title {
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-size: 24px;
}

.im-modal-body .im-location-data .im-modal-title .im-pin-ring {
    width: 20px;
    height: auto;
    margin: 0 10px 0 0;
    display: inline-block;
}

.im-modal-body .im-location-data .im-modal-subtitle{
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 16px;
}

.im-modal-body .im-location-data .im-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #2d4a86;
}

.im-modal-body .im-location-data .im-table tr:last-child td:last-child{
    font-weight: bold;
}

.im-modal-body .im-location-data .im-table td{
      border: 1px solid #2d4a86;
      text-align: right;
      width: 50%;
      padding: 8px;
      font-size: 14px;
}
.im-modal-body .im-location-data .im-table td:first-child{
    background: #5da9dd;
    color: #fff;
      border: 1px solid #2d4a86;
      text-align: left;

}

@media(max-width: 500px){
    .im-map-wrapper .im-main-title {
        font-size: 16px !important;     
    }

    #banja-luka{
        top: 28% !important;
    }

    #tuzla{
        top: 35% !important;
        left: 72% !important;
    }

    #sarajevo{
        top: 55% !important;
        left: 65% !important;
    }

    #mostar{
        top: 70% !important;
    }

    .im-map{
        padding: 20px;
    }

    .im-map-wrapper{
        margin: 20px 0;
    }

    .im-map-wrapper .im-bottom-bar .im-article p {
        font-size: 10px;       
    }
    .im-map-wrapper .im-bottom-bar .im-article p span {
        text-align: center;    
    }

    .im-bottom-text{
        padding: 0 20px;
    }

    .im-modal-body .im-location-data .im-modal-title {
        flex-direction: column;
        font-size: 20px;
    }

    .im-modal-body .im-location-data .im-modal-title .im-pin-ring {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .im-modal-content{
        padding: 20px 10px;
    }
}