/*
Theme Name:  Motor Child
Theme URI:   https://themeforest.net/item/motor-vehicles-parts-equipments-accessories-wordpress-woocommerce-theme/16829946?ref=stockware
Description: Motor - Responsive WordPress Child Template
Author:      Stockware
Author URI:  http://themeforest.net/user/stockware/?ref=stockware
Version:     2.0.0
Tags: translation-ready, editor-style
Template:    motor
Text Domain: motor-child
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Theme customization starts here
-------------------------------------------------------------- */

:root {
	--brand-dark: #18202e;
	--brand-danger: #cc0075;
	--body-background: #f4f5fb;
	--spacing-vertical-base: 20px;
	/** use this var for global text color: --e-global-color-text; */
	/** use this var for brand-primary color: --e-global-color-accent */
}

.clearfix:before,
.clearfix:after{
	display: table;
    content: " ";
	width: 100%;
}

/** == NAVBAR == */
#masthead{
	background: #fff;	
}

.header nav {
	line-height: 35px;
	width: auto;
	float: none;
} 

.header .header-info{
	height: 59px;
}

.header .header-logo img{
	height: 30px;
}

.header nav ul .menu-item > a {
	color: var(--brand-dark);
}

.header nav ul .menu-item > a:hover{
	color: var(--e-global-color-accent);
}

.header svg path,
.header svg circle{
	stroke: var(--brand-dark) !important;
}

.header .header-info a:hover,
.header .header-info a:hover{
	background: #fff !important;
}

.header .header-info a:hover path,
.header .header-info a:hover circle{
	stroke: var(--e-global-color-accent) !important;
}

.header .header-personal:after,
.header-menutoggle:before {
	display: none;
}

@media only screen and (max-width: 768px) {
	.header-menutoggle {
		color: var(--brand-dark);
		top: 0;
		height: 59px;
    	line-height: 59px;
	}
	.header-menutoggle:hover{
		background: #fff;
	}
	.header-sticky .header nav{
		right: 0px;
	}
}

@media only screen and (max-width: 650px) {
	.header .header-logo {
		top: 0;
	}
	.header-menutoggle {
		height: 50px;
    	line-height: 50px;
	}
}

@media only screen and (min-width: 769px) {
	.header .header-logo {
		width: 12%;
	}
	.header nav {
		margin: 0 0 0 12%;
	}
}

.header nav > ul > .menu-item.current_page_parent > a, 
.header nav > ul > .menu-item.current-menu-parent > a, 
.header nav > ul > .menu-item.current-menu-ancestor > a, 
.header nav > ul > .menu-item.current-menu-item > a, 
.header nav > ul > .menu-item.current_page_item > a {
	color: var(--e-global-color-accent);
}

.header nav > ul > .menu-item.current_page_parent, 
.header nav > ul > .menu-item.current-menu-parent, 
.header nav > ul > .menu-item.current-menu-ancestor, 
.header nav > ul > .menu-item.current-menu-item, 
.header nav > ul > .menu-item.current_page_item{
	border-bottom: 2px solid var(--e-global-color-accent);
}

.header nav > ul > .menu-item.current_page_parent:after, 
.header nav > ul > .menu-item.current-menu-parent:after, 
.header nav > ul > .menu-item.current-menu-ancestor:after, 
.header nav > ul > .menu-item.current-menu-item:after, 
.header nav > ul > .menu-item.current_page_item:after{
	background:none;
}

.header nav > ul > .menu-item.current_page_parent > a:after, 
.header nav > ul > .menu-item.current-menu-parent > a:after, 
.header nav > ul > .menu-item.current-menu-ancestor > a:after, 
.header nav > ul > .menu-item.current-menu-item > a:after, 
.header nav > ul > .menu-item.current_page_item > a:after {
	color: var(--e-global-color-accent);
}

.el-menu > ul > li > a:hover {
	color: var(--e-global-color-accent);
}
/** == CONTENT == */
.b-crumbs-wrap2 {
	padding: 12px 0 12px 2%; /* 2% because that's how the logo is positioned by theme */
	font-size: 14px;
}
.b-crumbs-wrap .breadcrumb-separator:before {
	content: "/";
	display: inline-block;
	margin: 0 10px;
	color: #aaa;
}
.b-crumbs-wrap a {
	font-weight: bold;
}

.elementor-page .b-crumbs-wrap{
	margin-bottom: 0; 
}
.paragraph-brand {
	margin-top: var(--spacing-vertical-base);
	margin-bottom: var(--spacing-vertical-base) !important;
}

.paragraph-brand h1,
.paragraph-brand h2,
.paragraph-brand h3{
	line-height: 100%;
	font-size: 30px;
}

.paragraph-brand p {
	margin: 0 0 25px 0;
    background: #fff;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    padding: 35px;
    font-size: 15px;
	box-shadow: inset 0 -4px 0px 0px #dfe2f0, 
		0 10px 20px 0px rgba(192,196,215,0.25);
}

@media only screen and (min-width: 1300px) {
	.paragraph-brand{
		margin-top: calc(2 * var(--spacing-vertical-base));
	}
	
	.paragraph-brand:after{
		content: "";
		border: 1px solid #e0e4f6;
		position: absolute;
		top: 15px;
		left: -25px;
		right: 25px;
		bottom: 50px;
		width: 100%;
	}

	.paragraph-brand h1,
	.paragraph-brand h2,
	.paragraph-brand h3{
		background: var(--body-background);
		padding: 0 25px;
	}

	.paragraph-brand p {
		margin: 0 0 25px 25px;
	}
}

.parallax {
	position: relative;
}

.parallax:after{
    content: "";
	background-color: #000;
    opacity: .5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.parallax > * {
	z-index: 2;
}

/** == BLOG == */

.blog-i .blog-info time {
	font-size: 10px;
    line-height: 17px;
    margin-right: -8px;
}

.single-post h1, .single-post h2, .single-post h3, .single-post h4, .single-post h5, .single-post h6{
	margin: 12px 0 24px
}

.single-post .cont .s-post{
	padding-bottom: var(--spacing-vertical-base);
	margin-bottom: var(--spacing-vertical-base);
}

.single-post .maincont .post-img{
	position: relative;
	height: 230px;
	@media only screen and (min-width: 769px) {	
		height: 430px;
	}
}

.single-post .maincont .post-img img {
	width: 100%;
    height: auto;
    position: absolute;
    top: 0;
	@media only screen and (min-width: 769px) {	
		 transform: translateY(-25%);
	}
	@media only screen and (min-width: 1024px) {	
		 transform: translateY(-50%);
	}
}

.single-post .maincont .post-img + .cont .s-post {
	margin-top: -100px !important;
}

/** == PRICING ELEMENTS == */
.elementor-widget-motor-pricing .elementor-widget-container{
    border-top: 6px solid var(--e-global-color-accent);
}

.el-pricing .elementor-button-wrapper{
	display: none;
}

.elementor-widget-motor-pricing .el-pricing-ttl{
	text-transform: uppercase;
}

.el-pricing .el-pricing-price {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 40px;
}
.el-pricing .el-pricing-desc p{
	border-bottom: none;
	text-align: left;
	padding: 0;
}

.el-pricing .el-pricing-desc table{
	margin-top: var(--spacing-vertical-base);
	border: none;
	border-collapse: separate;
	border-spacing: 0 5px;
}
.el-pricing .el-pricing-desc table tr{
	margin-bottom: 2px;
}
.el-pricing .el-pricing-desc table td{
	background: var(--body-background);
	border: none;
	padding: 5px 15px;
	border: 0px solid;
}
.el-pricing .el-pricing-desc table tr td:first-child{
	white-space: nowrap;
	border-radius: 5px 0 0 5px;
}
.el-pricing .el-pricing-desc table tr td:last-child{
	text-align: right;
	border-radius: 0 5px 5px 0;
}

.elementor-widget-motor-pricing.pricing-premium .elementor-widget-container{
    border-top: 6px solid var(--brand-danger);
}
.elementor-widget-motor-pricing.pricing-premium .el-pricing-ttl{
	background: var(--brand-danger);
	color: #fff;
}
/** == Galleries == */
#shop-brands .images-carousel-wrapper{
	display: flex;
	align-items: center;
}
#shop-brands .images-carousel-slide img{
	max-height: 280px;
	margin: 0 auto
}

/** == Forms == **/
input[type="text"],  
input[type="password"], 
input[type="email"], 
textarea{
	background: #fff !important;
    width: 100%;
}

/** == TABLES == */
table td{
	background-color: #fff;
}

.bg-brand-primary,
.bg-brand-primary td,
.bg-brand-primary th{
	background-color: var(--e-global-color-accent); 
	color: #fff;
}

.bg-brand-primary b,
.bg-brand-primary strong{
	color: #fff !important;
}

table thead td, 
table thead th{
	background-color: var(--e-global-color-accent); 
	color: #fff;
}

table thead th b,
table thead th strong,
table thead td b,
table thead td strong{
	color: #fff !important;
}

.table-nonresponsive{
	overflow-y: scroll
}
.table-nonresponsive table{
	min-width: 750px;
}
@media only screen and (max-width: 768px) {
	.table-nonresponsive:after{
		content: "\f101";
		font-family: "Font Awesome 5 Free";
		color: #bcc2e7;
		font-size: 20px;
		font-weight: 900;
		position: absolute;
		bottom: -5px;
		right: 0;
	}
}

/** == FOOTER == */
.site-footer h3{
    color: #fff !important;
    font-weight: normal !important;
    border-bottom: 2px solid var(--e-global-color-accent);
    text-transform: uppercase;
    padding: 0 40px 5px 0;
    float: left;
	margin-bottom: var(--spacing-vertical-base);
}

.site-footer p{
	margin-bottom: 10px;
	color: #fff;
}

.site-footer .links_list li{
	display: block;
	margin: 0;
}

.site-footer .links_list li p{
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.site-footer-contact-element{
	float: left;
	color: #fff;
	padding-bottom: var(--spacing-vertical-base);
	margin-bottom: var(--spacing-vertical-base);
}

.site-footer-contact-element:not(:last-child){
	border-bottom: 1px solid #555;
}

.site-footer-contact-element a{
	display: inline-block;
}

.site-footer-contact-element a:not(:last-of-type){
	margin-right: var(--spacing-vertical-base);
}