/* ================ MID AD ================ */

.mid-ad img {
    width: 100%;
}

/* ================ PANEL ================ */

.panel {
    background-color: #ddd2e4;
    color: #542785;
    border-radius: 10px;
    padding: 14px;
}

.text-panel-heading {
    color: #542785;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 2.16px;
    text-align: center;
    padding: 0;
}

/* ================ TEXT BACK TO ALL CCTV ================ */
.icon-left {
    width: 12px;
    height: 12px;
    margin-right: 8px;
}

.text-all-cctv {
    color: #542785;
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.44px;
    text-decoration-line: underline;
}

/* ================ TEXT-CCTV ================ */

.text-cctv-address {
    color: #282828;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.92px;
    padding: 8px 0;
}

.text-city {
    color: #4d4b4b;
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.44px;
    padding: 0 0 24px 0;
}

.icon-location {
    height: 24px;
    width: 24px;
    margin-right: 8px;
}

.icon-view {
    height: 24px;
    width: 24px;
    margin-right: 8px;
}

.icon-favorite {
    height: 24px;
    width: 24px;
    margin-right: 8px;
}

.icon-share {
    height: 24px;
    width: 24px;
}

/* ================ LINE ================ */

.line {
    padding: 0 0 16px 0;
}

/* ================ TEXT CCTV NEARBY ================ */

.text-nearby {
    color: var(--black, #282828);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 1.92px;
}

/* =========== CARD CCTV ============ */
.card {
    /* height: 100% !important; */
    border: none !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15) !important;
}

.card-header {
    padding: 14px 14px 0 14px !important;
    border-radius: 24px 24px 0 0 !important;
    border-bottom: none !important;
    background-color: white !important;
}

.card-body {
    text-align: start !important;
    padding: 4px 14px 0 !important;
    color: #282828 !important;
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
    position: relative !important;
    height: 45px !important;
}

.card-body a.cctv__name {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.card-footer {
    background-color: white !important;
    border-radius: 0 0 24px 24px !important;
    border-top: none !important;
    padding: 6px 14px 14px !important;
}

.card-footer i.bi,
.card-footer img {
    width: 18px !important;
    height: 18px !important;
}

.card-footer small {
    font-size: 8px;
    color: #808080;
}

.card-header img {
    width: 100%;
    /* height: 100%; */
    border-radius: 7px 7px 0 0;
    object-fit: cover;
}

@media (min-width: 576px) {
    .card-header img {
        height: 50vw;
    }
}
@media (min-width: 768px) {
    .card-header img {
        height: 35vw;
    }
}
@media (min-width: 992px) {
    .card-header img {
        height: 8vw;
    }
}

@media (min-width: 2000px) {
    .card-header img {
        height: 6vw;
    }
}

@media (min-width: 2100px) {
    .card-header img {
        height: 9vh;
    }
}

@media (min-width: 2400px) {
    .card-header img {
        height: 9vh;
    }
}

@media (min-width: 2700px) {
    .card-header img {
        height: 8vh;
    }
}

@media (min-width: 3500px) {
    .card-header img {
        height: 6vh;
    }
}

.card img:hover + .bi-play-circle {
    color: #ec008c;
    cursor: pointer;
}

.text-card-city-name {
    margin-top: 4px;
    padding: 0;
    color: var(--dark-grey, #4d4b4b);
    font-size: 10px;
    line-height: 24px;
    position: absolute;
    bottom: 0;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.96px;
}

.bi-play-circle {
    font-size: 3rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ad-img {
    width: 100%;
    height: 100%;
}

/* ================ TEXT-QUESTION  and BUTTON ================ */

.text-question {
    color: #282828;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.32px;
    padding: 32px 0 24px 0;
}

.btn-sign-in {
    background-color: #ec008c;
    padding: 13px 44px;
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    letter-spacing: 3.41px;
}

.bi-share {
    -webkit-text-stroke: 0.8px;
}

.bi-star,
.bi-share {
    color: #542785;
}

.bi-star-fill {
    color: #ec008c;
}

.img__same__height {
    width: 100% !important;
    /* height: 15vw !important; */
    object-fit: cover;
}

div.text-city small {
    font-size: 12px;
    color: #808080;
    position: relative;
    top: 2px;
}
