/*
Theme Name: Easy Niche
Theme URI: https://affwebsites.com
Author: Affwebsites
Author URI: https://affwebsite.com
Description: A simple, niche-focused WordPress theme.
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easy-niche
*/

body {
    font-family: Arial, sans-serif;
}

.container {
    margin: 0 auto;
    max-width: 1150px;
}

.wrap {
  background-color: #f2f2f2;
  padding: 0px;
  position: relative;
  border: 1px solid #f9f9f9;
}

.h3, h3 {
  font-size: 1.60rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-bottom: .5rem;
  font-weight: bold;
  line-height: 1.2;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

hr {
    border: none;
    height: 1px;
    color: #ccc; 
    background-color: #ccc; 
    margin: 20px 0;
}

/*.content {
  margin: 15px 21px 25px 21px;
}*/
.content {
    margin: 15px 26px 25px 16px;
}

.col-md-4, .col-md-6, .col-md-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}

.aff-border {
    background: #FFF;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
}

.hpfeatured {
    background: #FFF;
    float: left;
    width: 100%;
    padding: 10px;
    border: 1px solid #DDDDDD;
    margin-bottom: 12px;
}

.hpfeatured h2 {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0px 0px 10px 0px;
    padding: 6px 0px 5px 8px;
}

.hpfeatured h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

/*.home-img-top {
  	margin-bottom: 0.75em;
  	float: left;
  	margin-right: 9px;
  	width: 100%;
  	height: 180px;
}*/
.home-img-top {
  margin-bottom: 0.75em;
  float: left;
  margin-right: 9px;
  width: 100%;
  height: auto;
}

.home-img-bottom {
    margin-bottom: 0.75em;
    float: left;
    margin-right: 9px;
    width: 30%;
    max-width: 335px;
    height: 150px;
}

.home-text {
	padding-top:0;
    padding-bottom:0;
}

.home-text h1 {
    font-size: 17px;
    font-weight: 700;
}

.border-bottom {
    border-bottom: 1px dotted #dee2e6 !important;
    margin-bottom: 10px;
    padding: 0px 0px 0px 0px;
    clear: both;
}

.topnav{
	
}

.topnav-date {
	font-size: 12px;
	padding: 8px;
}

.header {
	
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-logo {
    max-width: 300px;
    max-height: 100px;
    width: 100%;
    height: auto;
	float: left;
}

.header-logo img {
	padding: 10px;
	max-width: 350px;
}

.header-ad {
    text-align: right;
	max-width: 500px;
	padding: 15px;
}

.header-ad img {
	padding: 0px;
	width: 100%;
	Max-width: 468px;
	height: auto;
}


.subnav {
	
}

.subnav li {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.btn-primary {
    display: inline-block;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


/* Header Styles */
.navbar-light .navbar-nav .nav-link {
    color: #333;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #007bff;
}

/* Header Menu Styling */
.navbar-nav {
	padding: 0px;
}

.navbar-nav li a {
    font-size: 15px;
    color: #333;
    margin-right: 20px;
}

.navbar-nav li a:hover {
    color: #007bff;
    text-decoration: none;
}

.subnav {
    background: #1ec0ff;
	list-style-type: none;
	padding: 6px 0px 4px 0px;
	font-size: 13px;
	text-transform: capitalize;
}

.subnav ul {
    list-style-type: none;
    padding-left: 0;
    margin-right: 20px;
}

.subnav ul li {
    display: inline-block;
    margin-right: 20px;
}

.subnav a {
    color: #333;
    padding: 15px 0px 12px 15px;
}

.subnav a:hover {
    color: #007bff;
    text-decoration: none;
}



.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    max-height: 380px;
}

.slide-caption {
  background-color: rgba(0,0,0,0.7);
  padding: 15px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  color: #eeeeee;
}


.entry-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.entry-content img, .entry-header img {
    max-width: 100% !important;
    height: auto !important;
	margin-bottom: 15px;
}

.entry-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.posted-on {
    color: #555;
}

.byline {
    color: #777;
}

.author {
    font-weight: bold;
}

.read-more-link {
    display: inline-block;
    text-decoration: none;
}

.read-more-link:hover {
    text-decoration: none;
}




#comments {
    margin-top: 2em;
}

#respond {
    margin-top: 2em;
}

.comment-form .comment-notes,
.comment-form .comment-form-email,
.comment-form .comment-form-author,
.comment-form .comment-form-url {
    margin-bottom: 1em;
}

.comment-form .required {
    color: #ff0000;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
}

.comment-form input[type="submit"] {
    background-color: #000;
    color: #fff;
    cursor: pointer;
}

.post-ad {
	margin: 25px auto;
	text-align: center;
}

.post-ad img {
	width: 100%;
	max-width: 468px;
	height: auto;
}







/* Adding borders to all widget areas */
.widgetarea {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 14px;
}

.widgetarea img {
    display: block;
    margin: 0 auto;
	width: 100%;
	max-width: 320px;
}

/*.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}*/
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* This is for a 16:9 aspect ratio. Adjust if needed for other ratios. */
    height: 0;
    overflow: hidden;
}

.video-container iframe, 
.video-container object, 
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.categories-list {
    padding-left: 5px;
}

.categories-list li {
    list-style-type: none;
}

.categories-list li::before {
  content: "\f07c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;  /* Add this line */
  padding-right: 5px;
}

.post-list {
    padding-left: 5px;
}

.post-list li {
    list-style-type: none;
}

.post-list li::before {
    content: "\f15c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-right: 5px;
}


/*.easyniche_recent_posts {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}*/
.easyniche_recent_posts {
    padding: 15px;
    border-radius: 0px;
    border: 1px solid #ccc;
}

.easyniche_recent_posts ul {
    list-style-type: none;
    padding-left: 0;
}

/*.easyniche_recent_posts ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}*/
.easyniche_recent_posts ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: start; /* Changed from center to start */
}


.easyniche_recent_posts ul li:last-child {
    margin-bottom: 0;
}

.easyniche_recent_posts ul li img {
    margin-right: 10px;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

/*.easyniche_recent_posts ul li a {
    text-decoration: none;
}*/
.easyniche_recent_posts ul li a {
    text-decoration: none;
    line-height: 1.2; /* Adjust as needed */
}

.easyniche_recent_posts ul li .post-title {
    margin-left: 0px;
}

.easyniche_recent_posts h2 {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0px 0px 10px 0px;
  padding: 6px 0px 5px 8px;
}

.relatedposts-section {
	
}

.relatedposts-section h3 {
    width: 100%;
	text-align: center;
}

.relatedposts {
    display: flex;
    justify-content: space-between;
}

/*.word-count {
    font-size: 14px;
    color: #777;
    margin-top: 20px;
    font-style: italic;
}*/
.word-count {
  font-size: 14px;
  margin: 0px 0px 0px 5px;
}




/*.relatedpost {
    width: 30%;
    margin: 10px 0;
}*/
.relatedpost {
    width: 30%;
    margin: 15px 0;
    background: #ffffff30;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.relatedpost img {
    width: 100%;
}



.woocommerce .header-logo,
.woocommerce-page .header-logo {
    max-width: 400px !important;
    max-height: 100px !important;
    width: 100% !important;
    height: auto !important;
    float: left !important;
}












.footer {
	text-align: center;
    list-style-type: none;
	padding: 15px;
}

.menu-footer {
    text-align: center;
}

.menu-footer a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px; 
}

.menu-footer a:hover {
    color: #eee;
}

.footer p {
    font-size: 0.8em;
    color: #ccc;
	margin-bottom: 0.3rem;
}



.menu-footer > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-footer li {
    list-style: none;
	margin: 0px;
	padding: 0px;
	display: inline-block;
}

.menu-footer a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    display: block;  /* Make sure the entire area of the item is clickable */
    transition: background-color 0.3s;
}








@media screen and (max-width: 768px) {
    .h1, h1 {
	  font-size: 1.8rem;
	}
	.header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-ad {
        text-align: center;
    }
	.header-logo img {
		padding: 15px;
		max-width: 280px;
		height: auto;
	}
	.relatedposts {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .relatedpost {
		width: 100%;
		max-width: 300px;
		height: auto;
	}
	
	.home-img-bottom {
		margin-bottom: 0em;
		width: 40%;
		height: auto;
	}
	
}
