/* Mobile devices (portrait) Updated Bootstrap 5-friendly CSS*/
@media (max-width: 767.98px) {
    .nav-tabs .nav-item {
        font-size: 1.2rem; /* ~15pt */
    }
    .kycimg {
        text-align: center !important;
    }
    .nav-tabs .nav-link {
        line-height: 3rem; /* adjust tab height */
    }
    .top_navi_bg {
        background-color: #fff;
        padding: 0.4rem 0.6rem;
        border-bottom: 1px solid #aaa;
    }
    .top_heading,
    .top_arrow_back {
        font-size: 1.25rem;
    }
    .content {
        text-align: justify;
        font-size: 1rem;
    }
    .img_text_box_heading {
        font-size: 0.8rem;
        left: 0;
    }
    option {
        font-size: 1rem;
    }
    .img_text_box_heading_yellow {
        font-family: "Open Sans", sans-serif;
        font-weight: bold;
        text-align: center;
        color: #dea32c;
    }
    .c_content {
        font-family: "Open Sans", sans-serif;
        font-weight: normal;
        color: #5d5d5d;
    }
    .hint {
        position: relative;
        top: -5px;
    }
    .map_icon {
        color: #000;
        font-size: 1rem;
    }
    .sucess {
        font-family: "Open Sans", sans-serif;
        font-weight: normal;
        color: #5d5d5d;
        margin-top: 2.5rem;
    }
    .id_no {
        font-family: "Open Sans", sans-serif;
        font-weight: bold;
        color: #dea32c;
        margin-top: 1.25rem;
    }
    ::placeholder {
        color: #000;
        font-size: 2rem;
    }
    .img_text_box {
        margin-left: 0.4rem;
        text-align: center;
    }
    .btn_position {
        position: relative !important;
        top: 3.25rem !important;
    }
    .box_category_name {
        font-weight: bold;
        font-family: "LatoWeb", sans-serif;
        color: #5a5a5a;
        font-size: 0.9rem;
        margin-top: 2.75rem !important;
    }
    .m-p-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Mobile devices (landscape) */
@media (max-width: 767.98px) and (orientation: landscape) {
    .nav-tabs .nav-item {
        font-size: 2.5rem;
    }
    .nav-tabs .nav-link {
        line-height: 3rem;
    }
    .top_navi_bg {
        background-color: #343434;
        padding: 1.25rem 1.25rem;
        border-bottom: 1px solid #aaa;
    }
    .btn_position {
        position: relative !important;
        top: 3.1rem !important;
    }
    .box_category_name {
        font-weight: bold;
        font-family: "Open Sans", sans-serif;
        color: #5a5a5a;
        font-size: 0.9rem;
        margin-top: 2.75rem;
    }
    .details_area {
        height: 11.25rem; /* 180px */
    }
}

/* Tablets (portrait) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .nav-tabs .nav-item {
        font-size: 1.25rem;
    }
}

/* Tablets (landscape) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .nav-tabs .nav-item {
        font-size: 1.25rem;
    }
}
