/* =========================================================
   DAILY BHARATH - CLEAN HOMEPAGE CSS
   Database/content/URLs are not affected.
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: #171717;
    text-decoration: none;
}

a:hover {
    color: #087dcc;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.db-container {
    width: 94%;
    max-width: 1280px;
    margin: 0 auto;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.db-topbar {
    background: #090641;
    color: #ffffff;
    min-height: 38px;
    line-height: 38px;
    font-size: 14px;
}

.db-topbar-inner {
    overflow: hidden;
}

.db-date {
    float: left;
}

.db-time-brand {
    float: right;
}

.db-divider {
    margin: 0 7px;
}

/* =========================================================
   MASTHEAD
   ========================================================= */

.db-masthead {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.db-masthead-inner {
    min-height: 128px;
    text-align: center;
    padding: 20px;
}

.db-logo {
    width: 285px;
    max-width: 75%;
    height: auto;
}

.db-logo-link {
    display: inline-block;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.db-nav {
    background: #ffffff;
    border-bottom: 3px solid #090641;
    box-shadow: 0 1px 4px #dddddd;
    position: relative;
    z-index: 100;
}

.db-nav-inner {
    min-height: 48px;
    text-align: center;
    position: relative;
}

.db-menu {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.db-menu li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.db-menu li a {
    display: block;
    padding: 14px 20px;
    color: #090641;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: color .2s ease,
                background .2s ease,
                border-color .2s ease;
}

.db-menu li a:hover,
.db-menu li a.db-active {
    color: #087dcc;
    background: #f5f8fb;
    border-bottom-color: #087dcc;
}

.db-search-button {
    position: absolute;
    right: 0;
    top: 2px;
    width: 44px;
    height: 44px;
    border: 0;
    background: #ffffff;
    color: #090641;
    cursor: pointer;
    font-size: 17px;
}

.db-search-button:hover {
    color: #087dcc;
}

/* =========================================================
   SEARCH
   ========================================================= */

.db-search-wrap {
    display: none;
    background: #f4f4f4;
    border-bottom: 1px solid #dddddd;
    padding: 12px 0;
}

.db-search-wrap.db-search-open {
    display: block;
}

.db-search-form {
    overflow: hidden;
}

.db-search-form input {
    float: left;
    width: 82%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #cccccc;
    font-size: 16px;
}

.db-search-form button {
    float: right;
    width: 17%;
    height: 44px;
    border: 0;
    background: #087dcc;
    color: #ffffff;
    cursor: pointer;
}

/* =========================================================
   AD SECTIONS
   ========================================================= */

.db-ad-section {
    width: 94%;
    max-width: 1280px;
    margin: 12px auto;
    clear: both;
    text-align: center;
}

.db-ad-label {
    color: #999999;
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.db-ad-box {
    width: 100%;
    min-height: 90px;
    text-align: center;
}

.db-ad-box .adsbygoogle {
    display: block;
    width: 100%;
    max-width: 100%;
}

.db-ad-mid {
    margin-top: 18px;
    margin-bottom: 22px;
}

.db-category-ad {
    width: 94%;
    max-width: 1280px;
    margin: 20px auto;
    clear: both;
    text-align: center;
}

/* =========================================================
   BREAKING NEWS
   ========================================================= */

.db-breaking {
    width: 100%;
    height: 42px;
    background: #087fd1;
    overflow: hidden;
}

.db-breaking-inner {
    width: 100%;
    height: 42px;
    line-height: 42px;
    position: relative;
    overflow: hidden;
}

.db-breaking-label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 20;
    width: 155px;
    height: 42px;
    line-height: 42px;
    background: #e31b23;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.db-breaking-track {
    width: 100%;
    height: 42px;
    line-height: 42px;
    overflow: hidden;
    white-space: nowrap;
}

.db-breaking-items {
    display: inline-block;
    padding-left: 155px;
    white-space: nowrap;
    animation: dbNewsFlow 32s linear infinite;
}

.db-breaking-items a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

.db-breaking-items a:before {
    content: "NEW";
    color: #ff0066;
    font-size: 11px;
    font-weight: 700;
    margin-right: 8px;
}

.db-ticker-separator {
    color: #ffffff;
    margin: 0 16px;
}

@keyframes dbNewsFlow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.db-breaking:hover .db-breaking-items {
    animation-play-state: paused;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.db-section {
    width: 94%;
    max-width: 1280px;
    margin: 22px auto;
    clear: both;
}

.db-section-heading {
    overflow: hidden;
    border-bottom: 2px solid #07135a;
    margin-bottom: 12px;
    padding-bottom: 7px;
}

.db-section-heading h2 {
    float: left;
    margin: 0;
    color: #07135a;
    font-size: 24px;
    font-weight: 700;
}

.db-section-heading a {
    float: right;
    color: #087dcc;
    font-size: 13px;
    padding-top: 5px;
}

/* =========================================================
   TOP STORIES
   ========================================================= */

.db-top-grid {
    overflow: hidden;
}

.db-lead-story {
    float: left;
    width: 66%;
    padding-right: 18px;
}

.db-latest-panel {
    float: right;
    width: 34%;
    border-top: 3px solid #07135a;
    border-left: 1px solid #dddddd;
    padding-left: 18px;
}

.db-lead-image {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.db-lead-content {
    padding: 9px 2px 0;
}

.db-lead-content h1 {
    margin: 2px 0 7px;
    color: #111111;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.25;
}

.db-meta {
    color: #777777;
    font-size: 11px;
}

.db-panel-heading {
    overflow: hidden;
    border-top: 3px solid #07135a;
    border-bottom: 1px solid #dddddd;
    padding: 9px 0 8px;
}

.db-panel-heading h3 {
    float: left;
    margin: 0;
    color: #07135a;
    font-size: 20px;
    font-weight: 500;
}

.db-panel-heading a {
    float: right;
    color: #087dcc;
    font-size: 12px;
    padding-top: 4px;
}

.db-latest-item {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #e2e2e2;
    padding: 9px 0;
}

.db-latest-time {
    float: left;
    width: 48px;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 700;
}

.db-latest-title {
    display: block;
    margin-left: 58px;
    color: #222222;
    font-size: 14px;
    line-height: 1.38;
}

/* =========================================================
   SECONDARY STORIES
   ========================================================= */

.db-secondary-grid {
    clear: both;
    padding-top: 14px;
    overflow: hidden;
}

.db-story-card {
    float: left;
    width: 32%;
    margin-right: 2%;
    border: 1px solid #dddddd;
    background: #ffffff;
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.db-story-card:last-child {
    margin-right: 0;
}

.db-story-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform .35s ease;
}

.db-story-card h3 {
    margin: 0;
    padding: 9px 12px 12px;
    color: #222222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.38;
}

.db-story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.10);
}

.db-story-card:hover img {
    transform: scale(1.02);
}

.db-story-card:hover h3 {
    color: #087dcc;
}

/* =========================================================
   NEWS CONTENT GRID
   ========================================================= */

.db-content-grid {
    overflow: hidden;
}

.db-section-main {
    float: left;
    width: 42%;
    padding-right: 15px;
}

.db-section-list {
    float: left;
    width: 38%;
    padding-right: 15px;
}

.db-sidebar-ad {
    float: right;
    width: 20%;
    border-left: 1px solid #eeeeee;
    padding-left: 16px;
}

.db-big-card {
    border: 1px solid #dddddd;
    background: #ffffff;
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.db-big-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform .35s ease;
}

.db-big-card h3 {
    margin: 0;
    padding: 10px 12px 4px;
    color: #171717;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}

.db-big-card .db-card-meta {
    padding: 0 12px 12px;
}

.db-big-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.10);
}

.db-big-card:hover img {
    transform: scale(1.02);
}

.db-big-card:hover h3 {
    color: #087dcc;
}

/* =========================================================
   NEWS LIST
   ========================================================= */

.db-list-card {
    overflow: hidden;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.db-list-card img {
    float: left;
    width: 140px;
    height: 92px;
    object-fit: cover;
    margin-right: 12px;
}

.db-list-card h3 {
    margin: 0;
    color: #222222;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.db-list-card:hover h3 {
    color: #087dcc;
}

/* =========================================================
   POPULAR NEWS
   ========================================================= */

.db-popular {
    padding-top: 4px;
}

.db-popular-grid {
    overflow: hidden;
}

.db-popular-card {
    float: left;
    width: 15.83%;
    margin-right: 1%;
    position: relative;
}

.db-popular-card:last-child {
    margin-right: 0;
}

.db-popular-card img {
    display: block;
    width: 100%;
    height: 115px;
    object-fit: cover;
}

.db-popular-card h3 {
    margin: 7px 0 0;
    color: #222222;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.db-popular-card:hover {
    transform: translateY(-3px);
}

.db-popular-card:hover h3 {
    color: #087dcc;
}

.db-rank {
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background: #090641;
    color: #ffffff;
    font-weight: 700;
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.db-category-section {
    border-top: 1px solid #eeeeee;
    padding-top: 8px;
}

.db-category-grid {
    overflow: hidden;
}

.db-category-card {
    float: left;
    width: 24%;
    margin-right: 1.33%;
    border: 1px solid #dddddd;
    background: #ffffff;
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.db-category-card:last-child {
    margin-right: 0;
}

.db-category-card img {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: cover;
}

.db-category-card-body {
    padding: 9px 12px 10px;
}

.db-category-card h3 {
    margin: 0 0 4px;
    color: #222222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.38;
}

.db-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.10);
}

.db-category-card:hover h3 {
    color: #087dcc;
}

/* =========================================================
   FOOTER
   ========================================================= */

.db-footer {
    clear: both;
    margin-top: 28px;
    padding: 24px 0;
    background: #090641;
    color: #ffffff;
    text-align: center;
}

.db-footer-logo {
    display: inline-block;
    background: #ffffff;
    padding: 5px 8px;
}

.db-footer-logo img {
    width: 180px;
    height: auto;
    display: block;
}

.db-footer p {
    color: #ffffff;
    margin: 8px 0;
    font-size: 13px;
}

.db-footer-credit a {
    color: #ffffff;
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px) {

    .db-menu li a {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 14px;
    }

    .db-lead-story,
    .db-latest-panel {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .db-latest-panel {
        margin-top: 20px;
        padding-left: 0;
        border-left: 0;
    }

    .db-section-main,
    .db-section-list,
    .db-sidebar-ad {
        float: none;
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .db-popular-card {
        width: 31.33%;
        margin-right: 3%;
        margin-bottom: 18px;
    }

    .db-popular-card:nth-child(3n) {
        margin-right: 0;
    }

    .db-category-card {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 18px;
    }

    .db-category-card:nth-child(2n) {
        margin-right: 0;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    .db-topbar {
        font-size: 11px;
    }

    .db-masthead-inner {
        min-height: 95px;
        padding: 12px;
    }

    .db-logo {
        width: 220px;
    }

    .db-nav-inner {
        min-height: 48px;
    }

    .db-menu {
        display: block;
        text-align: left;
        overflow: hidden;
    }

    .db-menu li {
        float: left;
        width: 33.33%;
    }

    .db-menu li a {
        padding: 12px 5px;
        text-align: center;
        font-size: 13px;
    }

    .db-search-button {
        display: none;
    }

    .db-breaking-label {
        width: 110px;
        font-size: 12px;
    }

    .db-breaking-items {
        padding-left: 110px;
        animation-duration: 25s;
    }

    .db-breaking-items a {
        font-size: 13px;
    }

    .db-breaking-items a:before {
        font-size: 9px;
    }

    .db-ticker-separator {
        margin-left: 10px;
        margin-right: 10px;
    }

    .db-section {
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .db-lead-image {
        height: 240px;
    }

    .db-lead-content h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .db-story-card {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .db-story-card img {
        height: 200px;
    }

    .db-big-card img {
        height: 225px;
    }

    .db-list-card img {
        width: 110px;
        height: 78px;
    }

    .db-list-card h3 {
        font-size: 14px;
    }

    .db-sidebar-ad {
        border-left: 0;
        padding-left: 0;
    }

    .db-popular-card {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 18px;
    }

    .db-popular-card:nth-child(3n) {
        margin-right: 4%;
    }

    .db-popular-card:nth-child(2n) {
        margin-right: 0;
    }

    .db-category-card {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .db-category-card img {
        height: 210px;
    }

    .db-search-form input {
        width: 70%;
    }

    .db-search-form button {
        width: 28%;
    }
}