.activate .product_content{display:flex !important;}
.menu-main-menu-wrap{
	display: flex;
	align-items:center;
}
.margin-top{
	margin-top:20px !important;
}

#mega-menu-wrap-primary{
	> ul#mega-menu-primary{
		> li.mega-menu-item{
			padding-left:25px;
			padding-right:25px;
			> a.mega-menu-link{
				line-height: normal;
				height:auto;
				padding-left:0;
				padding-right:0;
				position: relative;
				&:after{
					vertical-align: middle;
				}
				&:before{
					content:'';
					position: absolute;
					top:-38px;
					left:0;
					width:100%;
					height:2px;
					background:transparent;
				}
				&:hover{
					&:before{
						background:red;
					}
				}
				& ~ ul.mega-sub-menu{
					width:900px;
				}
			}
			>ul.mega-sub-menu{
				padding-top:15px;
				padding-bottom:15px;
				padding-left:15px;
				padding-right:15px;
				border-top:3px solid;
				background:#fff;
				li.mega-menu-item{
					padding-top:0 !important;
					padding-bottom:0 !important;
					a.mega-menu-link{
						color:#666666 !important;
					}
				}
				li.col-border.mega-menu-row{
					> ul.mega-sub-menu{
						li.mega-menu-column:not(:last-child) {
							border-right:1px solid;
						}
						h4.mega-block-title{
							text-transform: none;
							color:#999999;
						}
					}
				}
				> li.mega-menu-row {
					li.col-menu{
						>ul.mega-sub-menu{
							display: flex;
							flex-wrap:wrap;
							overflow: hidden;
							padding-left:15px;
							padding-right:15px;
							>li.mega-menu-item{
								width:33.3%;
								padding-left:0;
								padding-right:0;
								margin-bottom:20px;
								ul.menu{
									padding-left:0;
									list-style-type: none;	
									li.menu-item{
										a{
											text-transform: uppercase;
										}
									}
								}
								h4.mega-block-title{
									border-bottom:1px solid;
								}
							}
						}
					}
					li.contact_f{
						>ul.mega-sub-menu{
							>li.mega-menu-item{
								h4.mega-block-title{
									font-weight: 400;
									text-transform: none;
									border-bottom:none;
								}
							}
						}
					}
					li{
						>ul.mega-sub-menu{
							>li.mega-menu-item{
								h4.mega-block-title{
									text-transform: capitalize;
									border-bottom:1px solid;
									margin-bottom:10px;
								}
								.product_item{
									.item{
										h2{
											a{
												color:#222222 !important;
											}
										}
										.swatch{
											display:flex;
											justify-content: space-between;
											li{
												margin:0;
											}
										}
										.nb-quantity{
											width:60px;
										}
										.variations_button{
											display:flex;
											justify-content: space-between;
										}
										.swatch {
											li {
												> span {
													> span{
														display:flex;
														justify-content: center;
													}
												}
											}
										}
									}
								}
							}
						}
					}
					.nb_latest_post{
						margin-left:-15px;
						margin-right:-15px;
					}
				}
				li.mega-menu-row{
					> ul.mega-sub-menu{
						display:flex;
						li.mega-menu-item{
							form{
								span{
									margin-bottom:15px;
									&.ajax-loader{
										margin-bottom:0;
									}
								}
								input{
									padding:6px 15px;
									
								}
								input[type="submit"]{
									margin-top:0;
									font-weight: normal;
									width:100%;
									border-radius:5px;
									text-align:center;
								}
								textarea{
									height:100px;
									margin-bottom:0;
								}
							}
						}
					}
				}
				li.pro_cat{
					.product_category{
						display: flex;
						.product_tab{
							text-align: left;
							width:24%;
							cursor:pointer;
						}
						.product_content{
							position:absolute;
							width:75%;
							right:0;
							top:0;
							display:none;
							border-left:1px solid;
							h2 a{
								color:#222222 !important;
							}
						}
					}
					ul.mega-sub-menu{
						position: relative;
						min-height:275px;
						li.mega-menu-item{
							position: static ;
						}
					}	
				}
			}
		}	
	}
	ul.menu{
		li.menu-item{
			margin-bottom:10px;
			a{
				color:#666666 !important;
			}
		}
	}
	
}

@media screen and (max-width:991px){
	.background_f{
		background:#fff !important;
		padding-top:15px !important;
	}
	.menu-main-menu-container{
		width:100%;
	}
	.main-navigation.main-mobile-navigation {
		.menu-main-menu-wrap{
			flex-direction: column;
			.menu-main-menu-title{
				width:100%;
			}
			#mega-menu-wrap-primary{
				width:100%;
				.mega-menu-toggle{
					display:none;
				}
				ul.menu {
					li.menu-item {
						a{
							color:#fff !important;
						}
					}
				}
				ul#mega-menu-primary{
					display:block;
					.product_tab{
						.tab{
							color:#fff;
							border-bottom:1px solid #555;
							position:relative;
							&:after{
								content:'\f078';
								position: absolute;
								font-family: 'fontawesome';
								right:5px;
								font-size:8px;
								top:50%;
								transform: translateY(-50%);
							}
						}
					}
				}
				> ul#mega-menu-primary {
					> li.mega-menu-item {
						padding-left:0;
						padding-right:0;
						> a.mega-menu-link{
							text-transform: uppercase;
							&:after{
								margin-top:4px;
							}
							&:before{
								display: none;
							}
							& ~ ul.mega-sub-menu{
								width:100%;
								background:transparent;
								border-top:none;
							}
						}
						ul.mega-sub-menu{
							a.mega-menu-link{
								color:#fff !important;
							}
							.widget_nbcore_latest_post_widget{
								background:#fff;
								padding-top:15px !important;
							}
							> li.mega-menu-row {
								li.col-menu {
									> ul.mega-sub-menu {
										> li.mega-menu-item{
											width: 100%;
										}
									}
								}
								.image{
									display: none;
								}
								.nb_latest_post{
									margin-left:0;
									margin-right:0;
								}
							}
						}
						> ul.mega-sub-menu {
							li.col-border {
								> ul.mega-sub-menu {
									> li.mega-menu-column:not(:last-child){
										border-right:none;
									}
									> li.mega-menu-column{
										width:100%;
										&.col-image{
											margin-top:15px;
										}
										li.mega-menu-item{
											a.mega-menu-link{
												padding-left:0 !important;
												padding-right:0 !important;
											}
										}
									}
								}
							}
							li.contact_f{
								li.mega-menu-item {
									h4.mega-block-title{
										color:#555;
									}
								}
							}
							li.mega-menu-item {
								h4.mega-block-title{
									color:#fff;
								}
							}
							li.pro_cat{
								ul.mega-sub-menu{
									min-height:auto;
									li.mega-menu-item{
										position:relative;
										.product_category{
											flex-direction: column;
											.product_tab{
												width:100%;
												.tab{
													padding-top:5px;
													padding-bottom:5px;
												}
											}
											.product_content{
												position:static;
												width:100%;
												border-left:none;
												background:#fff;
												padding-top:15px;
											}
										}
									}
								}
							}
						}
					}
					li.mega-menu-megamenu {
						ul.mega-sub-menu {
							li.mega-menu-row {
								ul.mega-sub-menu {
									li.mega-menu-column{
										width:100%;
									}
								}
							}
						}	 
					}
				}
			}
		}
	}
}