/*
 Theme Name:   Circuit-DIY.com Custom Theme
 Theme URI:    https://tomusborne.com
 Description:  A custom theme solution provided by Asif Mughal (+923061364492)
 Author:       Asif Mughal
 Author URI:   https://codehim.com
 Template:     generatepress
 Version:      2.5.8
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  generatepresschild
*/
.top-bar {
	background: #405d7e
}

.top-bar a {
	color: rgba(255, 255, 255, 0.85)
}

.top-bar a:hover {
	color: #fff
}

.ptw-container {
	text-align: center
}

.separate-containers .comments-area, .separate-containers .inside-article, .separate-containers .page-header, .separate-containers .paging-navigation{
	padding: 12px;
}

@media only screen and (min-width:768px) {
	.separate-containers .site-main {
		margin: 0
	}

	.both-sidebars .is-left-sidebar {
		width: 22%
	}

	.both-sidebars .is-right-sidebar {
		width: 22%
	}

	.both-sidebars .site-content .content-area {
		width: 56%
	}

	.both-sidebars .site-content {
		padding: 0
	}

	.both-sidebars .inside-right-sidebar,
	.both-sidebars .inside-left-sidebar,
	.both-sidebars .site-main {
		margin: 0 5px 25px 5px !important
	}

	.both-sidebars .widget-area .widget,
	.both-sidebars .inside-article {
		padding: 25px
	}

	.both-sidebars .widget-area .widget {
		overflow: hidden
	}
}

.widget_wp_categories_widget ul li,
.widget_wpcategorieswidget ul li {
	border-bottom: 1px dashed #ccc !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1.5 !important;
	padding: 6px 6px 0 0 !important
}

.widget_wp_categories_widget>ul li ul,
.widget_wpcategorieswidget>ul li ul {
	margin-right: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	margin-left: 0 !important
}

.widget_wp_categories_widget ul li a:hover,
.widget_wp_categories_widget ul li.active-cat a,
.widget_wp_categories_widget ul li.active-cat span.post-count,
.widget_wpcategorieswidget ul li a:hover,
.widget_wpcategorieswidget ul li.active-cat a,
.widget_wpcategorieswidget ul li.active-cat span.post-count {
	color: #313131 !important
}

.widget_wp_categories_widget ul li span.post-count,
.widget_wpcategorieswidget ul li span.post-count {
	box-shadow: none !important;
	float: none !important;
	display: inline-block !important;
	margin-top: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	vertical-align: top !important
}

.widget_wp_categories_widget ul li span.post-count:before,
.widget_wpcategorieswidget ul li span.post-count:before {
	content: "[" !important
}

.widget_wp_categories_widget ul li span.post-count:after,
.widget_wpcategorieswidget ul li span.post-count:after {
	content: "]" !important
}

.widget_wp_categories_widget ul li a,
.widget_wpcategorieswidget ul li a {
	white-space: nowrap;
	max-width: 80%;
	overflow: hidden;
	text-overflow: ellipsis
}

.widget_wp_categories_widget ul li,
.widget_wpcategorieswidget ul li {
	clear: both !important
}

.main-navigation ul,
.main-navigation ul ul {
	background-color: #fff
}

.main-navigation ul ul {
	box-shadow: 0 2px 2px 0 rgb(60 64 67 / 30%), 0 6px 10px 3px rgb(60 64 67 / 15%);
	transition: border .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
	user-select: none
}

.main-navigation ul ul li {
	margin-right: 0 !important
}

.main-navigation li {
	position: relative
}

.main-navigation ul ul li a {
	padding: 10px 15px;
	border-radius: 0;
	width: 100%;
	font-size: 13px;
	text-transform: capitalize
}

.main-navigation ul ul li a:hover {
	background: #2572ef !important;
	color: #fff !important
}

.main-navigation li.current-menu-item>a,
nav ul li a:hover {
	background: #fff !important
}

.navigation-search .search-field {
	border: 1px solid #ccc !important;
	background: #fff !important;
	opacity: 1 !important;
	border-radius: 2px !important
}

.menu-bar-item.search-item,
.navigation-search input[type="search"],
.navigation-search input[type="search"]:active,
.navigation-search input[type="search"]:focus,
.main-navigation .main-nav ul li.search-item.active>a,
.main-navigation .menu-bar-items .search-item.active>a {
	background: transparent;
	color: #313131;
	font-size: 16px
}

.inside-header.grid-container {
	padding: 10px 20px
}

.header-widget {
	text-align: right
}

.nav-float-right .header-widget {
	margin-left: auto
}

.chw-widget-area {
	width: 100%;
	background: #fff;
	padding: 14px 0 0 6px;
	font-weight: 500;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	text-align: center
}

.trending-title {
	display: inline-block;
	padding-right: 10px;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	line-height: normal
}

.trending-title:after{
   content: ":";
}
.chw-widget-area .menu,
.chw-widget-area div,
.chw-widget-area .menu li {
	display: inline-block;
	padding: 0;
	margin: 0
}

.chw-widget-area .menu li {
	margin: 0 5px
}

.chw-widget-area .menu li a {
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 400;
	color: #5a5a5a;
	border-radius: 0;
}

.chw-widget-area .menu li a:hover {
	color: #318fdf
}

.homepage-recent-posts:not(.homepage-recent-posts:first-child) {
	display: block;
	overflow: auto;
	margin: 5px 0
}

.homepage-recent-posts .cat-title {
	border-bottom: 1px solid #ccc;
	position: relative
}

.homepage-recent-posts .cat-title h2 {
	padding: 1px 2px 0 0 !important;
	margin: 0 !important;
	display: inline-block;
	border-radius: 0 15px 0 0
}

.homepage-recent-posts .cat-title h2 span {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 0;
	padding: 0 10px;
	clear: both;
	display: inline-block;
	position: relative;
	color: #222222;
	border-radius: 0 15px 0 0
}

.homepage-recent-posts .cat-title a {
	position: absolute;
	right: 10px;
	bottom: 10px;
	font-size: 16px;
	font-weight: 600;
	color: #666;
}

.homepage-recent-posts .cat-title a:hover {
	color: #1e73be
}

.homepage-recent-posts .cat-title a:after {
	content: '\f0da';
	font-family: FontAwesome;
	margin-left: 5px
}

.home .homepage-recent-posts ul {
	margin: 0
}

.homepage-recent-posts .rpwwt-widget ul li {
	width: 23%;
	margin-top: 0;
	margin: 1%;
	float: left;
}
.entry-content #related_posts_thumbnails li,
#related_posts_thumbnails li,
.homepage-recent-posts .rpwwt-widget ul li,
.archive .inside-article,
.search .inside-article,
.home .inside-article {
	position: relative;
	padding: 0;
	overflow: hidden;
	transition: border .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;

}

.search .inside-article{
	border-width: 1px !important;
	margin: 5px;
}
.search .inside-article:hover{
	box-shadow: none !important;
}
.search .inside-article .entry-title{
	min-height: 60px;
}

.archive .wp-block-column:not(:first-child),
.home .wp-block-column:not(:first-child) {
	margin-left: 1em
}

.homepage-recent-posts .rpwwt-widget ul li img {
	display: block;
	float: none;
	margin: 0;
	width: 100% !important;
	height: auto !important
}

.home .entry-header,
.archive .entry-header,
.search  .entry-header{
	padding: 12px 12px 0 12px
}

.home .rpwwt-post-title {
	padding: 0 10px
}

#related_posts_thumbnails li .rpth_list_content,
.home .rpwwt-post-title,
.archive .inside-article .entry-title,
.home .inside-article .entry-title {
	display: block;
    font-size: 16px;
    line-height: 22px;
	font-weight: 700;
	min-height: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	min-height: 50px;
	color: #4a4a4a;
	margin-top: 5px;
	border-bottom: 1px solid #ddd;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical
}
#related_posts_thumbnails li .rpth_list_content{
	height: 40px !important;
}
#related_posts_thumbnails li .rpth_list_content{
	border-bottom: 0;
}
#related_posts_thumbnails li .rpth_list_content:hover,
.home .rpwwt-post-title:hover,
.archive .inside-article .entry-title:hover,
.home .inside-article .entry-title:hover {
	color: #1e73be
}

.home .rpwwt-post-author,
.home .rpwwt-post-date,
.home .entry-meta,
.archive .entry-meta {
	font-size: 14px
}

.home .rpwwt-post-author,
.home .rpwwt-post-date {
	display: inline-block;
	padding: 10px
}
.home .rpwwt-post-date {
	float: right;
}

.homepage-recent-posts .rpwwt-post-excerpt,
.archive .entry-summary,
.home .entry-summary {
	font-size: 14px;
	padding: 12px;
	margin-top: 0;
	min-height: 100px;
	color: #777
}

.home .read-more,
.archive .read-more {
	position: absolute;
	bottom: 0;
	right: 25px;
	width: 100%;
	text-align: right;
	margin-bottom: 12px;
	font-size: 16px;
	background: rgba(255, 255, 255, 0.5);
	background: -webkit-linear-gradient(to right, rgba(255, 255, 255, 0.5), #fff);
	background: linear-gradient(to right, rgba(255, 255, 255, 0.5), #fff);
	box-shadow: 2px -2px 16px #fff
}

.single .entry-meta {
	padding: 5px 0
}

.single .posted-on:before,
.single .byline:before,
.single .post-views:before {
	font-family: FontAwesome;
	margin: 0 10px
}

.single .posted-on:before {
	content: '\f017'
}

.single .byline:before {
	content: '\f2c0'
}

.single .post-views:before {
	content: '\f06e'
}

#related_posts_thumbnails {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto
}

#related_posts_thumbnails li {
	margin: 10px 0
}

.entry-content #related_posts_thumbnails li {
	display: inline-block;
	flex: 1 1 250px;
	background-color: #fff;
	transition: .3s;
	margin: 6px 6px;
	box-sizing: border-box;
}

#related_posts_thumbnails li a {
	color: #555 !important
}

.rpth_list_content {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	padding: 10px
}

#related_posts_thumbnails li:hover {
	background-color: #fff !important
}

.site-footer .footer-widgets {
	background-color: #405d7e
}

.site-footer .widgettitle {
	color: #f2f2f2;
	font-size: 18px;
	text-transform: capitalize;
	font-weight: 700;
	float: left;
	width: 100%;
	margin-bottom: 15px
}

.site-footer,
.copyright-bar,
.site-footer .footer-widgets a {
	font-size: 16px;
	color: #dedede
}

.site-info {
	background: #365374
}

.site-footer a:hover {
	color: #fff
}

.footer-logo img {
	width: 240px;
	height: auto;
	opacity: 1;
	display: block
}

.footer-address {
	margin-bottom: 15px
}

.footer-address .fa {
	margin-right: 10px
}

.footer-address p {
	margin-bottom: 15px;
	font-size: 16px
}

.social-btn {
	display: inline-block;
	text-align: center;
	width: 35px;
	height: 35px;
	line-height: 35px;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	opacity: 1;
	transition: all .3s;
	margin-right: 2.5px;
	margin-top: 5px;
	color: #fff;
	font-family: FontAwesome !important;
	font-size: 17px !important
}

a.social-btn:hover {
	color: #fff !important
}

.pinterest::before {
	content: '\f231'
}

.linkedin::before {
	content: '\f0e1'
}

.twitter::before {
	content: '\f099'
}

.facebook::before {
	content: '\f09a'
}

.youtube::before {
	content: '\f16a'
}

.insta::before {
	content: '\f16d'
}

.whatsapp::before {
	content: '\f232'
}

.site-footer .wp-block-search {
	margin: 50px 0
}

.site-footer .wp-block-search__input {
	background: rgba(255, 255, 255, 0.8);
	border: 0;
	width: 100%
}

.site-footer .wp-block-search__button {
	background: #2572ef;
	border: 0;
	color: #fff;
	margin-left: 0
}

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

	.mobile-menu,
	.trending-widget,
	.header-widget,
	.top-bar {
		display: none !important
	}

	.nav-below-header .main-navigation .inside-navigation.grid-container,
	.nav-above-header .main-navigation .inside-navigation.grid-container {
		padding: 0
	}

	.site-logo {
		text-align: center
	}

	.site-logo img {
		width: 220px !important
	}

	.menu-toggle:before,
	.search-item a:before {
		font-size: 20px
	}

	.homepage-recent-posts .rpwwt-widget ul li {
		float: none;
		width: auto;
		margin: 15px;
		box-sizing: border-box
	}

	.site-header .header-image {
		width: 200px
	}

	.entry-content #related_posts_thumbnails li {
		width: auto
	}

	.main-navigation .main-nav>ul {
		display: block !important
	}

	.menu-toggle {
		-webkit-tap-highlight-color: transparent !important
	}

	.main-navigation .main-nav>ul {
		position: fixed;
		height: 100%;
		top: 0;
		left: 0;
		background: #fff;
		width: 270px;
		transform: translatex(-270px);
		transition: .35s;
		overflow: auto
	}

	.content-area,
	.ptw-container {
		margin-top: 50px
	}

	.single .content-area {
		margin-top: 0
	}

	.single .entry-meta {
		font-size: 13px;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden
	}

	.single .posted-on:before,
	.single .byline:before {
		margin: 0;
		content: none
	}

	.single .post-views:before {
		margin: 0 5px
	}

	.main-navigation.toggled .main-nav>ul {
		display: block;
		transform: translatex(0px);
		transition: .35s;
		z-index: 999
	}

	.has-inline-mobile-toggle #site-navigation.toggled {
		margin-top: 0
	}

	.dimoverlay {
		display: none;
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 99
	}

	.inside-header.grid-container {
		padding: 0
	}

	.footer-logo img {
		width: 100%;
		margin-bottom: 30px !important
	}

	.site-footer .wp-block-column {
		margin-left: 0 !important
	}

	.menu-footer-menu-col-2-container {
		margin-top: 30px
	}

	.site-footer a,
	.site-footer {
		font-size: 14px
	}

	.social-icons {
		text-align: center
	}

	.social-btn {
		width: 30px;
		height: 30px;
		line-height: 30px;
		font-size: 17px
	}

	.main-navigation {
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		box-shadow: 0 2px 2px 0 rgb(60 64 67 / 30%), 0 6px 10px 3px rgb(60 64 67 / 15%);
		transition: border .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
		user-select: none
	}

	.main-navigation ul ul {
		box-shadow: none
	}

	.main-navigation ul ul li a,
	.main-navigation ul li a {
		font-size: 16px;
		font-weight: 600
	}

	.main-navigation .main-nav ul ul li a {
		font-size: 16px;
		font-weight: 400
	}

	.main-navigation .main-nav ul ul li a {
		padding: 16px 16px
	}
	
	/* Footer top image sponsered logos */
	.footer-top-widget{
		text-align: center !important;
	}
.footer-top-widget .wp-block-image img{
   width: 50% !important;
	max-width: 50% !important;
   margin: 0 auto !important;
}
	
}





/**************** Recent posts with thumbnails  ****************/
.sidebar .rpwwt-widget ul li:last-child,
.sidebar .rpwwt-widget ul li {
	margin: 5px 0px!important;
	padding: 5px;
	position: relative;
	overflow: auto;
}

.sidebar .rpwwt-widget ul li a {
	font-size: 16px;
	color: #616161;
	font-weight: 400
}

.sidebar .rpwwt-post-date,
.sidebar .rpwwt-widget ul li .rpwwt-post-categories a {
	font-size: 13px;
	color: #777
}
.sidebar .rpwwt-widget ul li a:hover,
.sidebar .rpwwt-widget ul li .rpwwt-post-categories a:hover{
	color: #1e73be !important;
}

.sidebar .rpwwt-post-categories {
	border-top: 1px dotted #ddd
}

.sidebar .rpwwt-widget ul li img {
	width: 120px!important;
	height: auto;
	float: left;
	margin-right: 8px;
	object-fit: cover
}

.sidebar .rpwwt-post-date {
	position: absolute;
	bottom: 10px;
	padding: 2px;
	right: 10px
}

.page-header, .sidebar .widget{
	margin-bottom: 0;
}

/* Homepage category cards */
.cat-card-container .wp-block-column .wp-block-column{
	padding: 10px 5px;
    background-color: #f7f7f7;
    border: 1px solid #ebebeb;
	text-align: center;
	width: 100px;
    height: 110px;

}
.cat-card-container .wp-block-column .wp-block-column img{
	width: 48px;
    margin-bottom: 5px;
    opacity: .25;
}
.cat-card-container .wp-block-columns{
	gap: 0;
}

input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
	width: 100%;
	box-sizing: border-box;
}

.social-contact-page .social-btn{
	background: #717171;
}
.social-contact-page .social-btn:hover{
	background: #212121;
}
.contact-detail p{
	margin-bottom: 10px;
}
.contact-detail hr{
	margin-bottom: 20px;
	margin-top: 20px;
}
.contact-detail .fa{
	width: 32px;
	height: 32px;
	font-size: 16px;
	text-align: center;
	line-height: 32px;
	display: inline-block;
	background: #4470b5;
	color: #fff;
	border-radius: 50%;
	margin-right: 8px;
}
.contact-detail b, .contact-detail p {
	color: #717171;
}
.copyright-bar{
	font-size: 13px;
}
@media (max-width: 781px){
	.cat-card-container .wp-block-column .wp-block-column{
	flex-basis: unset !important;
}
}