/*
Theme Name: Epic Blog
Theme URI: https://www.wpalphabets.com/themes/epic-blog-theme
Author: wpalphabets
Author URI: https://www.wpalphabets.com/
Description: Epic Blog is a lightweight WordPress theme designed for creating professional blogging websites. Epic Blog is ideal for various blog types, such as fashion, lifestyle, travel, food, and photography. Epic Blog is mobile-friendly and cross-browser compatible.
Version: 1.2
Tested up to: 6.2
Requires PHP: 7.0
Text Domain: epic-blog
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready, blog, right-sidebar, sticky-post, threaded-comments
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# General 
# Header
# Feature Blog
# Epic Post
# Blog Listing Page
# Page
# Archive Page
# Widget
# Single Page
# Footer
# Comments
# WordPress Core
# Media Queries
--------------------------------------------------------------*/

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.woff2') format('woff2'),
        url('fonts/Poppins-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraBold.woff2') format('woff2'),
        url('fonts/Poppins-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBold.woff2') format('woff2'),
        url('fonts/Poppins-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Light.woff2') format('woff2'),
        url('fonts/Poppins-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.woff2') format('woff2'),
        url('fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* General */

body {
    font-family: 'Poppins';
    font-weight: 400;
}

.content-area {
    min-height: 500px;
    padding: 40px 0;
}

.page-template-template-home-php .content-area {
    padding: 0;
}

.content-area blockquote,
.comment-body blockquote,
.content-area q,
.comment-body q {
    background-color: #f5f5f5;
    border-left: 5px solid #0080C1;
    padding: 1rem;
}

.content-area blockquote p,
.comment-body blockquote p {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0E2B3D;
    word-break: break-all;
    font-weight: 600;
}

a {
    color: #0080C1;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.form-control:focus {
    box-shadow: none;
}

.content-area table,
.comment-body table {
    width: 100%;
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.content-area table thead,
.comment-body table thead,
.comment-body table tbody tr:first-child,
.page .content-area table tbody tr:first-child {
    background-color: #0080C1;
    color: #fff;
}

.content-area table thead th,
.comment-body table thead th {
    padding: 0.5rem 1rem;
    vertical-align: middle;
    border: 1px solid #0080C1;
}

.content-area table tbody th,
.comment-body table tbody th,
.content-area table tbody td,
.comment-body table tbody td {
    padding: 0.4rem;
    vertical-align: middle;
    border: 1px solid #ececec;
    text-align: center;
    font-weight: 500;
}

select {
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    width: 100%;
    background-color: #fff;
}


/* Header */
.epic-top-bar {
    padding: 10px 0px;
    background-color: #fdfdfd;
    border-bottom: 1px solid #eee;
}

.epic-top-bar .site-link {
    text-decoration: none;
}

.epic-top-bar .site-title {
    color: #0E2B3D;
    font-weight: 600;
    font-size: 18px;
}

.epic-main-header .custom-logo-link img {
    max-width: 200px;
    height: auto;
}

.epic-blog-nav ul li a {
    padding-right: 20px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
}



.epic-blog-nav .dropdown-menu .dropdown-menu {
    top: -1px;
    left: 100%;
}

.epic-blog-nav .dropdown-item:focus,
.epic-blog-nav .dropdown-item:hover,
.epic-blog-nav .dropdown-item:active {
    background-color: #fff !important;
    color: #2e3d76 !important;
}

.epic-blog-nav .dropdown-menu {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 15px 30px #12121338;
    padding: 0;
    animation: dropDown 500ms ease-in-out forwards;
    transform-origin: top center;
}

@keyframes dropDown {
    0% {
        transform: scaleY(0);
    }

    80% {
        transform: scaleY(1.1);
    }

    100% {
        transform: scaleY(1);
    }
}

.epic-blog-nav .current-menu-item a {
    color: #0080C1;
    font-weight: 600;
}

.epic-blog-nav .dropdown-menu li a {
    padding: 10px;
    border: 1px solid #eee;
}

.input-group-text {
    background-color: #fff;
}

.search-form button {
    background-image: url(img/search.svg);
    height: 23px;
    width: 23px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Feature Blog */
.feature-blog {
    padding: 40px 0px;
}

.feature-blog img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.feature-author-meta {
    margin-bottom: 15px;
}

.feature-author-meta .feature-author-divider {
    width: 100px;
    height: 3px;
    background-color: #F4AC15;
    border-radius: 50px;
    margin-right: 20px;
}

.feature-author-meta .feature-author-name span a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0E2B3D;
    font-size: 18px;
    font-weight: 600;
}

.feature-title {
    line-height: 40px;
    margin-bottom: 15px;
}

.feature-title a {
    text-decoration: none;
    font-weight: 700;
    font-size: 34px;
    color: #0E2B3D;
}

.feature-post-date {
    margin-bottom: 10px;
    color: #0080C1;
    font-weight: 600;
    font-style: italic;
}

.feature-excerpt p {
    color: #88929f;
    display: inline-block;
}

.feature-button {
    margin-top: 25px;
    margin-bottom: 25px;
}

.feature-button a {
    background-color: #0080C1;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    transition: 0.5s ease;
    display: inline-block;
}

.feature-button a:hover {
    border: 1px solid #0E2B3D;
    border: 0;
    color: #fff;
    background-color: #0E2B3D;
}

.feature-blog-img a {
    display: inline-block;
}

/* Epic Post */
.epic-posts-wrapper {
    margin: 80px 0px;
}

.epic-posts-wrapper .epic-container {
    max-width: 1100px;
    margin: 0 auto;
}

.epic-single-article {
    margin-bottom: 30px;
}

.epic-posts-wrapper .epic-single-article {
    border-radius: 15px;
    border: 1px solid #8589a038;
    padding: 15px;
    transition: 0.5s ease;
}

.epic-posts-wrapper .epic-single-article img {
    border-radius: 10px
}

.epic-posts-wrapper .epic-single-article:hover {
    box-shadow: 0 20px 35px #70798b38;
}

.epic-posts-wrapper .epic-single-article h2 {
    line-height: 35px;
}

.epic-posts-wrapper .epic-single-article h2 a {
    font-size: 28px;
}

.epic-posts-wrapper .feature-excerpt p {
    display: inline-block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 3.6em;
    line-height: 1.8em;
}

/* Blog Listing Page */

.epic-single-items {
    border-radius: 15px;
    border: 1px solid #8589a038;
    padding: 15px;
    transition: 0.5s ease;
    margin-bottom: 20px;
}

.epic-single-items .epic-single-img a {
    display: inline-block;
}

.epic-single-items .epic-single-img img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.epic-single-items h2 {
    line-height: 30px;
    margin-bottom: 15px;
    min-height: 60px;
}

.epic-single-items h2 a {
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    color: #0E2B3D;
}

.epic-single-excerpt p {
    display: inline-block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 3.6em;
    line-height: 1.8em;
    color: #88929f;
}

.epic-single-post-date {
    margin-bottom: 10px;
    color: #0080C1;
    font-weight: 600;
    font-style: italic;
}

.epic-single-items:hover {
    box-shadow: 0 20px 35px #70798b38;
}

.epic-single-items .feature-button {
    margin-top: 15px;
    margin-bottom: 15px;
}

.epic-blog-list .pagination {
    justify-content: center;
}

.epic-blog-list .nav-links {
    margin-top: 15px;
}

.epic-blog-list .nav-links .current {
    background: #0080C1 !important;
    color: white !important;
}

.epic-blog-list .nav-links .page-numbers {
    background: #ddd;
    color: #444;
    padding: 5px 10px;
    margin-right: 2px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

/* Page */

.page-title {
    text-transform: uppercase;
}

.page-content {
    margin-top: 30px;
}

/* Archive Page */
.archive-title,
.search-result-text {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Widget */
.widget {
    margin-bottom: 15px;
}

.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget h6 {
    border-bottom: 1px solid #5a5a5a;
    padding: 0.4rem 0;
    font-weight: 700;
    text-transform: uppercase;
}

.widget-wrapper ul li {
    margin-bottom: 10px;
}

.widget-wrapper ul li a {
    color: #5a5a5a;
}

.widget-wrapper a:hover {
    text-decoration: underline !important;
}

.no-sidebar .blog-area {
    flex: 0 0 100%;
    max-width: 100%;
}

.widget_calendar table caption {
    text-align: center;
    background-color: #0080C1;
    color: #fff;
    padding: 0.3rem;
}

.widget_calendar table tbody td a {
    font-weight: 700;
    background-color: #0080C1;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    color: #fff;
    text-align: center;
}

/* Single Page */
.epic-blog-details .epic-blog-detail-img img {
    width: 100%;
    display: block;
    border-radius: 15px;
    box-shadow: 0 20px 35px #70798b38;
}

.epic-blog-details a:hover {
    text-decoration: underline !important;
}

.epic-blog-details .epic-blog-detail-title {
    font-weight: 600;
    margin-bottom: 25px;
}

.epic-blog-detail-cat {
    display: inline-block;
    margin-bottom: 20px;
}

.epic-blog-detail-cat a {
    background-color: #0080C1;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    font-size: 12px;
    margin-bottom: 5px;
}

.epic-blog-detail-author-date {
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #F4AC15;
    width: max-content;
}

.epic-blog-detail-author-date span {
    font-weight: 600;
}

.epic-blog-detail-author-date span a:hover {
    color: #0E2B3D;
}

.inner-pagination {
    font-weight: 700;
    clear: both;
    margin-top: 15px;
}

.inner-pagination .current {
    color: #fff;
    background: #0080C1;
    padding: 1px 10px;
    border-radius: 5px;
    margin: 0px 0px 0px 5px;
}

.inner-pagination a {
    margin: 1px 10px;
}

/* Footer Area */

.footer-widgets-area {
    padding: 35px 0;
    background: #424242;
    color: #aeaeae;
}

.footer-widgets-area h1,
.footer-widgets-area h2,
.footer-widgets-area h3,
.footer-widgets-area h4,
.footer-widgets-area h4,
.footer-widgets-area h6 {
    color: #fff;
    text-transform: uppercase;
}

.footer-widgets-area ul {
    padding: 0;
    list-style: none;
}

.footer-widgets-area ul li a {
    color: #aeaeae;
    text-decoration: none;
}

.footer-widgets-area ul li {
    line-height: 35px;
}

.footer-widgets-area strong {
    color: #fff;
}

.copyright-area {
    background-color: #fff;
    color: #424242;
    padding: 20px 0;
}

.copyright-area p {
    margin: 0;
}

.footer-menu ul li {
    display: inline;
    margin: 0 10px 0 0;
}

.footer-menu ul,
.footer-widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.footer-menu ul li.current-menu-item a {
    color: #0080C1;
    font-weight: 600;
}

.footer-menu ul li a {
    color: #939393;
    text-decoration: none;
}

.no-sidebar-footer .footer-widgets-area {
    display: none;
}

/* Comments */

.comments-area label {
    display: block;
}

.comments-area .required {
    color: #DC3232;
}

.comments-title {
    margin-top: 20px;
    margin-bottom: 20px;
}

.comment-respond textarea {
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    border: 1px solid #ced4da;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
    width: 35%;
    min-height: 35px;
    margin-top: 5px;
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    border: 1px solid #ced4da;
}

.comments-area .comment-form-cookies-consent {
    display: flex;
}

.comments-area #wp-comment-cookies-consent {
    margin-right: 5px;
}

.comment-form input[type="submit"] {
    background-color: #0080C1;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 0.8em;
    border: none;
    display: inline-block;
}

.comment-reply-title {
    margin-top: 30px;
}

.post-comments label {
    margin-bottom: 5px;
    font-weight: 500;
}

.post-comments {
    margin-top: 30px;
    border-top: 1px solid #d8d8d8;
    clear: both;
}

.post-comments .comments-area {
    margin-top: 30px;
}

.post-comments .required {
    color: #d10000;
}

.post-comments .comment-body p {
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    font-size: 15px;
    padding: 25px 25px 60px 25px;
    margin-top: 5px;
}

.post-comments .comment-list {
    list-style: none;
    padding-left: 0px;
}

.post-comments .children {
    list-style: none;
}

.post-comments .comment-author img {
    display: none;
}

.post-comments .comment-author a {
    color: #5a5a5a;
    font-style: initial;
    text-decoration: none;
    font-weight: 600;
}

.post-comments .comment-meta a {
    color: #5a5a5a;
    text-decoration: none;
    font-weight: 400;
}

.post-comments .reply {
    text-align: right;
    position: relative;
    top: -62px;
    left: -17px;
}

.post-comments .reply a {
    color: #fff;
    text-decoration: none;
    background: #0080C1;
    border: 0;
    padding: 10px;
    border-radius: 5px;
}

#cancel-comment-reply-link {
    margin-left: 5px;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.gallery-caption {
    display: block;
    font-size: 0.71111em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0.5rem;
}

.wp-block-button {
    margin-bottom: 12px;
}

.bypostauthor {
    display: block;
}

@media only screen and (min-width: 992px) {
    .epic-blog-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .epic-blog-nav li.menu-item-has-children>a::after {
        display: inline-block;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        font-size: 18px;
        margin-left: 8px;
        position: relative;
        top: 1px;
    }

    .epic-blog-nav .dropdown-sub-menu {
        display: none;
    }

}

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

    .epic-blog-nav {
        margin-top: 10px;
    }

    /* .epic-blog-nav .dropdown-menu {
        position: relative;
        top: -1px;
        left: 3%;
    }

    .epic-blog-nav .dropdown-menu .dropdown-menu {
        position: relative;
        top: -1px;
        left: 0 !important;
        margin-left: 15px;
    } */

    .comments-area #comment {
        width: 100%;
        margin-top: 5px;
    }

    .comment-respond input[type="email"],
    .comment-respond input[type="text"],
    .comment-respond input[type="url"] {
        width: 100%;
    }

    .epic-blog-nav .dropdown-item:focus,
    .epic-blog-nav .dropdown-item:hover,
    .epic-blog-nav .dropdown-item:active {
        background-color: #fff !important;
        color: #000 !important;
    }

    .epic-blog-nav .menu-item-has-children {
        position: relative;
    }

    .epic-blog-nav .dropdown-sub-menu {
        position: absolute;
        right: 15px;
        top: 10px;
    }

    .feature-blog-img {
        margin-bottom: 30px;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .epic-blog-nav .dropdown-sub-menu {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    .feature-title a {
        font-size: 30px;
    }

    .epic-posts-wrapper .epic-single-article {
        margin-right: 5px;
        margin-left: 5px;
    }

    .epic-posts-wrapper .epic-single-article h2 a {
        font-size: 26px;
    }

    .epic-blog-detail-author-date {
        font-size: 12px;
    }

    .footer-widgets-area .col-12 {
        margin-bottom: 25px;
    }

    .footer-menu {
        margin-top: 20px;
        text-align: center;
    }

    .copyright-text {
        text-align: center;
    }
}