/*
Theme Name: 	Melement
Theme URI: 		https://www.mmldigi.com
Author: 		MML digi
Author URI: 	https://www.mmldigi.com
Description:	A Theme Optimised by MML Team
Template:		betheme
Version: 		beta
*/

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

.single-product-wrap .related-product .product-wrap {
    max-width: 200px;
}

.page-case .eg-item-skin-1-element-3 {
    display: none;
}



/*!*new styles from local machine*!*/
html.mml-lib #Header_wrapper #Top_bar .menu > li:last-child{
	padding-right:0 !important;
}
html.mml-lib #Header_wrapper #Top_bar .menu > li:last-child a{
	background-color:transparent !important;
	border:1px solid #fff;
}

html.mml-lib #Header #Top_bar .container #menu li:last-child span:hover{
	border-bottom: 2px solid transparent;
	

}
html.mml-lib #Header_wrapper #Top_bar .menu > li:last-child a:hover{
	background-color:#17222D !important;
	border:1px solid #17222D;
}

html.mml-lib #Header_wrapper #Top_bar .logo {
    margin: 0 35px 0 0 !important;
}

.portfolio-template .breadcrumbs_link{
    max-width: 1180px;
    margin: auto;
}

html.mml-lib #Header_wrapper #Top_bar .menu > li{
	padding:0 20px !important;
}
@media screen and (max-width: 1256px) and (min-width: 1238px){
	html.mml-lib #Header_wrapper #Top_bar .menu > li {
		    padding: 0 16px !important;
	}
}

html.mml-lib #sub-page-banner{
	display:table;
}
html.mml-lib #sub-page-banner .container{
	display:table-cell;
	vertical-align:middle;
}
html.mml-lib #sub-page-banner .page-title{
	line-height:1.2!important;
}
@media screen and (max-width: 768px) {
	html.mml-lib #sub-page-banner .page-title{
		font-size:52px!important;
	}
}

html.mml-lib #defect-rate{
	padding:190px 0 120px !important;
}
html.mml-lib #density .density-content .density-text-wrap{
	max-width:513px !important;
}

html.mml-lib #density .density-content .density-text-wrap h2.title{
	max-width:93% !important;
}

html .esg-layout-even .esg-entry-content {
    display: block!important;
}

html.mml-lib .production-section.product-list .product-display-wrap .category-wrap .category-tabs .category-tab-item.active{
	background-color: #314050;
    color: #ffffff;
    cursor: pointer;
}
html.mml-lib .production-section.product-list .tabs-wrap .tabs-menu .tabs-item,
html.mml-lib .production-section.product-list .product-display-wrap .category-wrap .category-tabs .category-tab-item{
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


@media screen and (min-width:1200px) and (max-width: 1800px) {
	html.mml-lib #page-yield .background-photo,
	html.mml-lib #commitment .background-photo{
		width:55% !important;
	}
	
}


html.mml-lib .production-modal .popup-wrap .img-wrap img{
	width:100%;
}

html.mml-lib #page-yield{
    background-image: url('/wp-content/uploads/2018/05/commitment-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
}
html.mml-lib #page-yield .background-photo{
	display:none;
}
html.mml-lib #page-yield .text .description{
	max-width:37% !important;
}
@media screen and (max-width: 1200px){
	html.mml-lib #page-yield .background-photo {
		display:block;
	}
	html.mml-lib #page-yield{
		background-image:none;
	}
	html.mml-lib #page-yield .text .description{
		max-width:unset !important;
	}
}


@media screen and (max-width: 996px){
	html.mml-lib #density .density-content .density-text-wrap {
		    max-width: 80% !important;
	}
}



/*********#Footer******/
html.mml-lib #Footer .cta .cta-content .cta-btn{
    font-family: "adelle-sans",sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 12px 22px;
    box-sizing: border-box;
    line-height: 1.2;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
html.mml-lib #Footer .cta .cta-content .cta-btn:hover{
	background:#000;
	 border: 2px solid #000;
	cursor:pointer;
}
html.mml-lib #Footer .cta .cta-content{
	padding:65px 80px !important;
}
@media screen and (max-width: 1200px) and (min-width: 980px){
	html.mml-lib #Footer .cta .cta-content {
   		 padding: 35px 80px !important;
	}
}
@media screen and (max-width: 980px) and (min-width: 768px){
	html.mml-lib #Footer .cta .cta-content {
    		padding: 35px 65px !important;
	}
	html.mml-lib #Footer .cta .cta-content .cta-title {
    		margin-bottom: 10px;
	}
}
@media screen and (max-width: 768px){
	html.mml-lib #Footer .cta .cta-content {
	    padding: 35px !important;
	}
	html.mml-lib #Footer .cta .cta-content .cta-title {
    		margin-bottom: 10px;
	}
	html.mml-lib #Footer .cta .cta-content .cta-btn{
		font-size:18px;
	}
}

@media screen and (max-width: 768px){
html.mml-lib #Footer .footer-wrap {
	display: block !important; 
	margin:0 !important;
	background-color: #17222D; 
}
html.mml-lib #Footer .footer-wrap .footer-container{
	display:none !important;
}
html.mml-lib #density .density-content .density-text-wrap{
	margin-top:0!important;
}
}
/*********#Footer******/


.portfolio-template .breadcrumbs_link ul li{
	color:#fff;
}
.portfolio-template .breadcrumbs_link ul li a{
	text-decoration:none;
}

/***@media screen and (max-width: 1500px){
	html.mml-lib .production-modal .popup-wrap {
    		max-height: 65% !important;
	}
}***/

@media screen and (max-width: 768px){
	html.mml-lib .production-modal .popup-wrap .production-btn-prev,
	html.mml-lib .production-modal .popup-wrap .production-btn-next{
		display:none !important;
	}
	html.mml-lib #Footer .cta{
		display:none;
	}
}

.esg-overflowtrick li {
    height: auto!important;
    overflow: visible!important;
    z-index: 99!important;
}

.eg-mckinley-content{
	padding:0 !important;
}
.eg-mckinley-element-0{
	padding:0 !important;
	height:65px;
	line-height:65px !important;
	background-color:#EFF4F8 !important;
	 font-family: "adelle-sans",sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    color: #222;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
} 

.esg-media-cover-wrapper:hover .eg-mckinley-element-0{
	background-color:#FDE641 !important;
	color: #222;

}

/* .eg-mckinley-element-0{ */


#Top_bar .sub-menu li {
    padding: 5px 10px!important;
}

html.mml-lib body #Top_bar .menu > li ul {
    background-color: #a35195!important;
}

#Top_bar .menu > li .sub-menu li a:hover {
    background-color: transparent;
}


html.mml-lib .form-wrap{
	max-width:585px !important;
	padding:50px 75px !important;
}

html.mml-lib .form-wrap .wpcf7-form-control.wpcf7-textarea {
    max-height: 190px !important;
}

html.mml-lib .form-wrap .wpcf7-form-control.wpcf7-submit {
    padding: 17px 43px !important;
}

@media screen and (max-width: 996px) and (min-width: 768px){
html.mml-lib .contact-section .form-wrap {
    padding: 50px 60px !important;
}
}
@media screen and (max-width:830px){
	html.mml-lib .contact-section .content-wrap .form-wrap {
		height:auto !important;
	}
}
@media screen and (max-width: 768px){
html.mml-lib .contact-section .content-wrap .form-wrap {
	padding: 50px !important;
}	
}



/**********testimonials***********/
html.mml-lib .production-section.clients .testimonials-wrap{
	margin-top:80px;
}
.testimonials_slider .slider_images,
.testimonials_slider .slider_images:before,
.testimonials_slider .slider_images li a:after{
	background-color: transparent !important;
}
.testimonials_slider .slider_images li{
	margin-right:20px;
}
.testimonials_slider .slider_images li:last-child{
	margin-right:0;
}
.testimonials_slider .testimonials_slider_ul li{
	padding:0 300px!important;
}
.testimonials_slider .testimonials_slider_ul li .bq_wrapper{
	background: transparent !important;
	margin-bottom:0!important;
	padding: 15px 0 10px !important;
}
blockquote,blockquote:after{
	background: none !important;
}
blockquote{
	font-family: "adelle-sans",sans-serif !important;
    	font-style: normal;
   	font-weight: 400;
    	font-size: 16px;
    	color: #737a80 !important;
   	line-height: 24px;
	text-align: center;
	margin: 0 0 35px 0 !important;
}
.testimonials_slider .testimonials_slider_ul li .author h5{
	font-family: "adelle-sans",sans-serif;
    	font-style: normal;
   	font-weight: 400;
    	font-size: 14px;
    	color: #737a80;
   	line-height: 24px;
}

a.button{
	background-color: #54B9FD !important;
    	box-shadow: none !important;
    	background-image: none !important;
	border-radius:0 !important;
}
a.button .button_icon{
	background: transparent !important;
}
a.button .button_icon i{
	color:#fff !important;
}
.hr_color, .hr_color hr, .hr_dots span{
	background: #54B9FD !important;
}
html.mml-lib ul.slick-dots{
	flex-wrap:wrap;
}


@media screen and (min-width:996px) and (max-width:1200px){
	.testimonials_slider .testimonials_slider_ul li{
		padding:0 150px !important;
	}	
}
@media screen and (max-width:996px){
	.testimonials_slider .testimonials_slider_ul li{
		padding:0 80px!important;
	}	
}
@media screen and (max-width:768px){
	html.mml-lib .production-section.product-list .product-display-wrap {
	    padding-bottom: 60px !important;
	}
	html.mml-lib .production-section.clients{
		padding:60px 0 !important;
	}
}
@media only screen and (max-width: 500px){
	.testimonials_slider .slider_images li {
   		margin-right: 0 !important;
    		width: 40%;
		margin-bottom: 10px;
	}
	.testimonials_slider .slider_images li a{
		margin:auto;
	}
}
@media only screen and (max-width: 479px){
	.testimonials_slider .testimonials_slider_ul li{
		padding:0 !important;
	}	
}
@media only screen and (max-width: 320px){
	.testimonials_slider .slider_images li {
   		width: 100%;
    	}
}


html.mml-lib .partnership-section.partners .text-wrap .text{
	    padding-right: 260px;
}

html.mml-lib #process .process-wrap h2.title{
	max-width:260px !important;
}
@media only screen and (max-width: 1200px){
	html.mml-lib #process .process-wrap h2.title{
		max-width:unset !important;
	}
}


html.mml-lib #commitment{
    background-image: url('/wp-content/uploads/2018/05/S07-Committment.jpg');
    background-position: center;
    background-repeat: no-repeat;

}
html.mml-lib #commitment .background-photo{
	display:none;
}
@media only screen and (max-width: 1200px){
	html.mml-lib #commitment .background-photo{
		display:block;
	}
	html.mml-lib #commitment{
		background-image: none;
	}
}


@media only screen and (max-width: 996px){
	html.mml-lib #density .density-content .density-text-wrap h2.title, html.mml-lib #density .density-content .density-text-wrap .description{
		max-width:unset !important;
	}
	html.mml-lib #defect-rate{
		padding-top:120px !important;
	}
}

@media only screen and (max-width:768px){
	html.mml-lib #defect-rate{
		padding:60px 0 !important;
	}
}


html.mml-lib .widget.widget_recent_entries h3{
	margin-left:15px;
}
.widget-area:before{
	background:#F4F8FB;
}

html.mml-lib #banner .banner-content .main-title{
	width:70% !important;
    margin-bottom: 20px;
}
@media screen and (max-width: 1200px){
	html.mml-lib #banner .banner-content .main-title, html.mml-lib #banner .banner-content .sub-title {
    	width: 100% !important;
	}
}



.single-title,.section.section-post-header{
	display:none !important;
}


@media screen and (max-width: 1500px){
html.mml-lib .production-modal .popup-wrap {
    transform: scale(0.7) !important;
}
}

/*html.mml-lib #density .density-content .density-text-wrap {
    margin-top: 110px !important;
}*/

html.mml-lib #density{
	padding:120px 0!important;
}
@media screen and (max-width:768px){
	html.mml-lib #density{
		padding:60px 0!important;
	}
}
html.mml-lib #density .density-content .img-wrap img{
	height:auto!important;
}
@media screen and (max-width:767px){
	html.mml-lib #banner .banner-content .main-title{
		font-size:60px!important;
	}
}

html #Top_bar .responsive-menu-toggle {
    color: white;
}