/*
Theme Name: Rock Feed News Protal
Theme URI: https://www.rockfeed.com.p
Author: Milan Sharma
Author URI: http://www.milansharma.com.np
Description: Custom template for News: News Portal Site 
Version: 1.2.0
Requires at least: 4.7
Tested up to: 5.5
Requires PHP: 5.2.4
License: GNU General Public License v3 or later
Text Domain: news-portal
*/

/* =========================
   BASIC COLORS
========================= */

.input-group-btn .btn,
.numbering span,
.stickey-side ul.nav.nav-tabs {
    background: #5d309c !important;
}

.primary__bag {
    background: #ba040b;
}

.footer-upper.white_bag {
    border-top: 15px solid #e20000;
    z-index: 9999;
}

/* =========================
   TEXT COLORS
========================= */

.footer-upper.white_bag p {
    color: #6d5353;
}

.white_bag p {
    color: #e44747;
}

.white_bag h3 {
    color: #0430c2;
}

.white_bag h3.widget-title {
    color: #000b8d !important;
}

.white_bag .copyright {
    color: #4e3939;
}

/* =========================
   LAYOUT
========================= */

.box__layout .page-wrapper {
    background: #f0f0f0;
}

.small-news {
    padding: 0 10px;
}

.gallery-section {
    padding: 30px 0;
    background: #a00000;
}

/* =========================
   TYPOGRAPHY
========================= */

.fs-35 a {
    font-size: 35px;
    line-height: 45px;
}

.navbar-header a {
    color: #fff;
    font-size: 23px;
}

.navbar-header {
    background: transparent;
    height: 57px;
    padding: 15px 0;
}

/* =========================
   BUTTON / SCROLL
========================= */

.scroll-to-top {
    position: fixed;
    bottom: 20%;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #a00000;
    border-radius: 50%;
    display: none;
}

.scroll-to-top:hover {
    background-color: #e52123;
}

/* =========================
   IMAGE CONTROL
========================= */

.feature-number img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.overlay_box {
    position: relative;
}

.overlay__content {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* =========================
   SPACING UTILITIES
========================= */

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

/* =========================
   RESPONSIVE
========================= */

@media only screen and (max-width: 767px) {

    .modal-header img {
        width: 200px;
    }

    .archive_ntech img {
        height: 200px !important;
    }

    .navbar-brand {
        display: none;
    }

}

/* =========================
   FLEX / CARD
========================= */

.hcard {
    display: flex;
    flex-wrap: wrap;
}

.hcard > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* =========================
   FOOTER FIX (IMPORTANT)
========================= */

.copyright {
    text-align: center;
    line-height: 1.5;
}

.copyright span {
    display: block;
    margin-bottom: 8px;
}

.web-credit {
    display: block;
    margin-top: 5px;
}