.newsimg .tm_shadow_tab {
    text-align: center;
}

.newsimg .tm_shadow_tab .nav-tabs {
    border: 0;
    align-items: center;
}

.newsimg .tm_shadow_tab .nav-tabs>li>a {
    color: #000;
}

.newsimg .tm_shadow_tab .nav-tabs>li>a:hover {
    border-color: transparent;
    background-color: transparent;
}

.newsimg .tm_shadow_tab .nav-tabs>li>a:hover::before {
    content: "";
    width: calc(100% - 30px);
    height: 3px;
    display: inline-block;
    background-color: #ddd;
    position: absolute;
    bottom: 0;
    left: 15px;
}

.newsimg .tm_shadow_tab .nav-tabs>li.active>a,
.newsimg .tm_shadow_tab .nav-tabs>li.active>a:focus,
.newsimg .tm_shadow_tab .nav-tabs>li.active>a:hover {
    border-color: transparent;
    position: relative;
    font-weight: bold;
    color: #000;
}

.newsimg .tm_shadow_tab .nav-tabs>li.active>a::before,
.newsimg .tm_shadow_tab .nav-tabs>li.active>a:focus::before,
.newsimg .tm_shadow_tab .nav-tabs>li.active>a:hover::before {
    content: "";
    width: calc(100% - 30px);
    height: 3px;
    display: inline-block;
    background-color: #0d9ee7;
    position: absolute;
    bottom: 0;
    left: 15px;
}

@media all and (max-width: 992px) {

    .newsimg .tm_shadow_tab .nav-tabs>li.active>a,
    .newsimg .tm_shadow_tab .nav-tabs>li.active>a:focus,
    .newsimg .tm_shadow_tab .nav-tabs>li.active>a:hover {
        background-color: #ddd;
    }

    .newsimg .tm_shadow_tab .nav-tabs>li.active>a::before,
    .newsimg .tm_shadow_tab .nav-tabs>li.active>a:focus::before,
    .newsimg .tm_shadow_tab .nav-tabs>li.active>a:hover::before {
        display: none;
    }
}

.newsimg .tm_shadow_tab .tab-content {
    position: relative;
}

.newsimg .tm_shadow_tab .tm_shadow_dropdown .tm_shadow_tab_title {
    background: #eee;
    width: 100%;
    line-height: 1em;
    padding: 16px 0;
    color: #333;
    border: 0;
    font-size: 15px;
    letter-spacing: 1px;
}

@media all and (max-width: 992px) {
    .newsimg .tm_shadow_tab .tm_shadow_dropdown .tm_shadow_tab_title {
        width: 70%;
        font-size: 20px;
    }

    .newsimg .tm_shadow_tab .tm_shadow_dropdown button:focus {
        outline: 0px;
    }
}

@media all and (max-width: 450px) {
    .newsimg .tm_shadow_tab .tm_shadow_dropdown .tm_shadow_tab_title {
        font-size: 16px;
    }
}

.newsimg .tm_shadow_tab .tm_shadow_dropdown .caret {
    border-top: 9px dashed;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    position: absolute;
    color: #777;
    right: 12%;
    margin-top: 4px;
}

@media all and (max-width: 992px) {
    .newsimg .tm_shadow_tab .tm_shadow_dropdown .caret {
        right: 20%;
    }
}

.newsimg .tm_shadow_tab .tm_shadow_dropdown .dropdown-menu {
    width: 100%;
    position: relative;
    top: 0px;
    text-align: center;
}

@media all and (max-width: 992px) {
    .newsimg .tm_shadow_tab .tm_shadow_dropdown .dropdown-menu {
        width: 70%;
        left: 15%;
        font-size: 20px;
        display: none;
        padding: 0px;
        box-shadow: 0 0 1px 1px #ddd;
    }

    .newsimg .tm_shadow_tab .tm_shadow_dropdown .dropdown-menu.show {
        display: block;
    }

    .newsimg .tm_shadow_tab .nav-tabs .nav-item .nav-link {
        padding: 12px 0px;
    }

    .newsimg .tm_shadow_tab .nav-tabs .nav-item .nav-link.active {
        background-color: #ddd;
    }
}

@media all and (max-width: 450px) {
    .newsimg .tm_shadow_tab .tm_shadow_dropdown .dropdown-menu {
        font-size: 16px;
    }
}

.newsimg .tm_shadow_tab .tm_shadow_dropdown .dropdown-menu>li {
    display: block;
    width: 100%;
    clear: both;
}

.newsimg .tm_shadow_tab .tm_shadow_dropdown .dropdown-menu>li:hover {
    background: #ddd;
    color: #fff;
}

.newsimg .tm_shadow_tab .dropdown-toggle::after {
    display: none;
}