/* ----------------------------------- header -------------------------------- */

h1 {
    text-align: center;
    margin: 24px 0px;
    text-transform: uppercase;
}

h2 {
    margin:0px 0px 40px 0px;
    text-transform: uppercase;
    font-size:20px;
}

.row {
	max-width: 1300px;
}

.button {
    margin: 0px;
    border: 2px solid #f8b100;
    background: none;
    color: #f8b100;
}

.button:hover {
    background: #f8b100;
}

#fixedheader  {
	position:fixed;
	width: 100%;
	z-index: 99999;
    background: #eeeeee;
}

#headerlogo {
    width: 20%;
    float:left;
    background: #eeeeee;
    text-align: center;
    padding: 20px 0px;
    border: 1px solid #dedede;
    border-top: 0px;
    border-bottom: 0px;
    transition: all 0.5s ease;
}

#headerlogo img {
    transition: all 0.5s ease;
     height: 90px;
}

#fixedheader.smaller #headerlogo {
    padding: 8px 0px;
}

#fixedheader.smaller #headerlogo img {
    height: 74px;
}



#headerphone {
    position: absolute;
    right: 0px;
    top: 20px;
    background: #ffffff;
     transition: all 0.5s ease;
    font-size:14px;
}

#fixedheader.smaller #headerphone {
    top: 0px;
}

#headerphone a:first-child {
      background: #f8b100;
    color: #ffffff;  
}

#headerphone a {
    line-height: 36px;
    padding: 0px 16px;
    display: inline-block;
    position: relative;
    color: #444444;
    font-weight:600;
    background: #ffffff;
}


#navmenu {
    width: 80%;
    float:left;
}

#navheadermenu {
	list-style:none;
	width: 100%;
	padding: 0px;
	margin: 0px;
	float:left;
	position:relative;
}

#navmenupadding {
    height: 76px;
    width: 100%;
    transition: all 0.5s ease;
}

#fixedheader.smaller #navmenupadding  {
    height: 36px;
}

#navheadermenu li {
	float:left;
	display:block;
}

#menulink0 {
	width: 16%;
}

#menulink1 {
	width: 17%;
}

#menulink2 {
	width: 17%;
}

#menulink3{
	width: 17%;	
}

#menulink4 {
	width: 17%;
}

#menulink5{
	width: 16%;	
}

#straplinerow h1 {
    text-transform: none;
}

#navheadermenu li a {
	line-height: 42px;
    
	
	display:block;
	text-align:center;
	padding: 5px 12px;
	
	margin: 0px;
	width: 100%;
	background: #eeeeee;
	transition: background-color 0.5s ease;
	color: #f8b100;
	font-size: 16px;
	/*text-transform: uppercase;*/
    font-weight:600;
	font-family: 'Nunito', sans-serif;
    border: 1px solid #dedede;
    border-right: 0px;
}

#navheadermenu #menulink0 a {
    border-left: 0px;
}

#navheadermenu li a:hover, #navheadermenu .is-hover a{
	background: #f8b100;	
	transition: background-color 0.5s ease;
    color:#fff;
}

#navheadermenu .is-hover .submenu a {
    color: #f8b100;
}


 #navheadermenu .is-hover .hasdropdownarrow,  #navheadermenu li a:hover .hasdropdownarrow {
	 border-color: #ffffff transparent transparent transparent;
 }

#navheadermenu .submenu {
	display:none;
	position:absolute;
	top: 100%;
	z-index: 9999;
	padding: 0px;
	margin: 0px;
}

#navheadermenu li:hover .submenu  {
	display:block;
	opacity: 1;
}

#navheadermenu .subsubmenu {
	display:none;
	position:absolute;
	top: 0px;
	z-index: 9999;
	padding: 0px;
	margin: 0px;
	left: 320px;
}

#navheadermenu li .submenu li:hover .subsubmenu  {
	display:block;
	opacity: 1;
}

#navheadermenu .submenu li {
	position:relative;
	width: 320px;
	clear:both;
}

#navheadermenu .submenu li a {
	line-height: 14px;
	padding: 16px 0px;
	height: auto;
	background: #eeeeee;
    border: 0px;
    text-align: center;
}

#navheadermenu .submenu li a:hover {
	background: #f8b100;	
    color: #ffffff;
}

#navheadermenu .closedrop,  #navheadermenu .closedroptwo {
	display:none;
}

#showmobilemenu {
	display:none;
}

.hasdropdownarrow {
	display:block;
	float:right;
	margin-top: 16px; /*half height - half arrow height */
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 5px 0 5px;
	border-color: #f8b100 transparent transparent transparent;
}

.hassidearrow {
	display:block;
	float:right;
	margin-top: 0px; 
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 10px;
	border-color: transparent transparent transparent #f8b100;
}





/* Rotate first bar */
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
}

/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
}


#pagecontainer {
    padding-top: 130px;
    float:left;
    width: 100%;
    transition: all 0.5s ease;
}

#pagecontainer.smaller {
    padding-top: 0px;
}

#homecontentrow {
    z-index: 2;
    float:left;
    width: 100%;
    position: relative;
}
#homequalityrow { 
    background-size: cover;
    background-color: #eeeeee;
    z-index: 1;
    float:left;
    width: 100%;
    padding-top: 260px;
    margin-top:-200px;
    position: relative;
}



/*#homequalityrowfade {
    position: absolute;
    top: 0px;
    height: 300px;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(237,237,237,1) 50%, rgba(237,237,237,0) 100%); 
    background: -webkit-linear-gradient(top, rgba(237,237,237,1) 50%,rgba(237,237,237,0) 100%); 
    background: linear-gradient(to bottom, rgba(237,237,237,1) 50%,rgba(237,237,237,0) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#00ededed',GradientType=0 );
    hover-events: none;
}*/

.backgroundslope {
-webkit-clip-path: polygon(0 0, 100% 0%, 100% 70%, 0% 100%);
clip-path: polygon(0 0, 100% 0%, 100% 70%, 0% 100%);
    padding: 60px;
    background: #ffffff;
}

#homecontentblock {
    width: 70%;
    float:left;
    padding-right: 24px;
    padding-top: 24px;
}

#homesidebar {
    text-align: center;
    float:left;
    padding-top: 8px;
    z-index: 999;
    width: 30%;
}


#homequalityblock {
    padding: 24px 0px;
}

.qualitybtn {
    width: 30%;
    transition: all 0.5s ease;
}

.qualitybtn:hover {
    transform: translate(0, -3px); 
}

.qualitybtn:nth-child(2){
    margin: 0px 2%;
}
.btncontainer {
    padding: 42px 0px 50px 0px;
}

footer.full-width {
    background: #f8b100;
    background-image: url(https://www.manchestermachining.co.uk/mamWP/wp-content/uploads/2018/10/footerbg.png);
    position: relative;
    float:left;
    width: 100%;
    padding: 50px 0px;
}

#footerlogo {
    position: absolute;
    right: 0px;
    top: -150px;
    width: 400px;
    height: 200px;
}
#footerlogoshape {
    background: #ffffff;
    text-align: center;
    position: absolute;
    top:50%;
    width: 400px;
    height: 440px;
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 25% 97%, 0 47%, 25% 3%);
    clip-path: polygon(100% 0%, 100% 100%, 25% 97%, 0 47%, 25% 3%);
    z-index: 1;
}

#footerlogo_content {
    z-index: 999;
    position: absolute;
    margin-left: 100px;
    margin-top: 120px;
    top:70%;

}

#footerlogo_content p {
    padding: 0px 16px;
}
 
.footerpanel {
    width: 25%;
    float:left;
    position: relative;
}

.footerpanel ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.footerpanel h3 {
    color: #ffffff;
    margin: 0px;
    padding:30px 0px;
    font-size:22px;
    text-transform:uppercase;
}

footer.full-width .footerpanel a, .footerpanel p {
    color: #ffffff;
}

.backgroundslope .columns {
    padding: 32px 12px;
}

#endfooter{
    background-color:#fff;
}

#endfooter p{
    color: #444444;
    text-align: center;
    margin: 16px 0px;
    font-size:14px;
}


#endfooter a{
    
    color: #f8b100;
}


.servicesbox{
    width: 45%;
    float:left;
    position: relative;
}

.servicesbox img {
    width: 100%;
    height: auto;
}



.servicesdivider {
    width: 10%;
    float:left;
    position: relative;

}
.servicesdivider div {
    position: absolute;
    top: 50%;
    left: 50%;
}

.servicesdivider div:before {
    content:" ";
    display: block;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    background: #f8b100;
    position: relative;
}

.servicesbox .servicesboxoverlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: block;
    width: 100%;
    color: #ffffff;
    text-align: center;
    text-transform:uppercase;
    font-family: 'Aldrich', sans-serif;
    line-height: 48px;
}

#content {
    border: 0px;
}

#sidecontactform {
    padding: 0px 18px;
    position: relative;
    float:left;
    margin-top: -78px;
    z-index: 999;
}

#homequalityrow #sidecontactform {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#dcdcdc+0,dcdcdc+100&0+0,1+70,0+100 */
background: -moz-linear-gradient(top, rgba(220,220,220,0) 0%, rgba(220,220,220,1) 70%, rgba(220,220,220,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(220,220,220,0) 0%,rgba(220,220,220,1) 70%,rgba(220,220,220,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(220,220,220,0) 0%,rgba(220,220,220,1) 70%,rgba(220,220,220,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00dcdcdc', endColorstr='#00dcdcdc',GradientType=0 ); /* IE6-9 */
    padding: 20px;
    top: -67px;
}


#sidecontactform label {
    width: 20%;
    float:left;
    margin-top: 16px;
}

#sidecontactform input, #sidecontactform textarea {
    width: 80%;
    float:left;
}

#pagesidecontactform {
    padding: 24px;
}

#pagesidecontactform label {
  float:left;
    width: 100%;
    text-align: left;
}

.wpcf7-form-control-wrap {
    float:left;
    width: 100%;
}

#pagesidecontactform textarea {
    min-height: 140px;
}


#pagecontent p {
	margin: 0px;
}


p:empty {
  display: none;
}


#contactpage input, #contactpage textarea  {
	margin-bottom: 10px;
	margin-top: 10px;
}

#sidecontactform  #captcha_container, #pagesidecontactform #captcha_container{
	float:left;
	width: 30%;
	height: 2.3125rem;
	line-height:  2.3125rem;
	text-align:center;
	background: #145a91;
	margin-bottom: 10px;
	margin-top: 10px;
}

#sidecontactform #captcha, #pagesidecontactform #captcha{
	float:left;
	width: 70%;
}


#pagesidecontactform #contactformsubmit, #sidecontactform #contactformsubmit{  
    width: 100%;
	float:right;
	padding: 1rem 24px;
}


#verify {
	display:none;
}

#qc_errors p, #qc_success p {
    color: #fff;
    padding: 2px 6px;
	margin: 0px;
}
#qc_errors {
    background: #f80202 none repeat scroll 0 0;
}
#qc_success {
    background: #21db55 none repeat scroll 0 0;
}

  .google-maps {
        position: relative;
        padding-bottom: 70%; 
        height: 0;
        overflow: hidden;
    }
    .google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

.servicesboxoverlay span {
    margin-left: 8px;
    transition: all 0.5s ease;
}


#pageleft {
    width: 70%;
    float: left;
    padding-right: 24px;
    padding-top: 24px;
}

#pageright {
    width: 30%;
    float:left;
    padding-top: 24px;
    text-align: center;
    background: rgba(237,237,237,1);
    height: 100%;
    position: relative;
}

#pageright:after {
    content:"";
    width: 100%;
    height: 100px;
    background-color: #eeeeee;
    position: absolute;
    bottom: -100px;
    left: 0px;
    z-index: 99;
}

#pageendcontent {
    background-size: cover;
    background-color: #eeeeee;
    float:left;
    position: relative;
    width: 100%;
    padding-top: 100px;
}


.slant {
    position: absolute;
    width: 100%;
    height: 100px;
    top: 0px;
    left: 0px;
    z-index: 2; 
}

#pageheader {
    height: 180px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f8b100;
    position: relative;
}

#pageheader h1 {
    line-height: 38px;
    top: 50%;
    margin-top: -19px;
    position: absolute;
    color: #ffffff;
}


.plantlisttext {
    padding-top: 60px;	
}

#plantlist img {
    height: 160px;
    width: auto;
}


#bulletpointlist li {
    color: black;
    padding: 0;
    margin: 0;
    font-family: 'Aldrich', sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    position: relative;
    cursor: default;
}

#aboutusbullet li {
    font-family: inherit;
    font-weight: normal;
    font-size: 14px;
    text-rendering: optimizeLegibility;
}


.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0 -8px;
}

.overlaywrapper {
    width: 100% !important;
    height: 100% !important;
}

.slideroverlay {
    position: absolute;
    left: 80px;
    top: 0px;
    height: 100%;
    background-color: RGBA(9,32,49,0.77);
    width: 600px;
}

#rightslideoverlay {
    right: 80px;
    left: auto;
}

.slideroverlaycontent {
    position: absolute;
    top: 50%;
    margin-top: -25%;
}

.slideroverlaycontent h1 {
    position: relative;
    float:left;
    display: block;
    z-index: 999;
    color: #ffffff;
    text-align: left;
    font-size: 30px;
    font-weight: bold;
    padding: 0px 50px;
    margin: 0px;
    margin-bottom: 40px;
    line-height: 30px;
    text-transform:none;
}

.slideroverlaycontent p {
    position: relative;
    float:left;
    display: block;
     z-index: 999;
    color: #ffffff;
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    padding: 0px 50px;
    margin: 0px;
    margin-bottom: 50px;
}

.slideroverlaycontent .button {
    color: #ffffff;
    border-color: #ffffff;
    float:left;
    margin-left: 50px;
    font-size: 20px;
    font-family: 'Roboto','Arial';
}


.slideroverlaycontent .button:nth-of-type(2){
    margin-left: 10px;
}

@media only screen and (max-width: 70em) { 
    
    
     
    .slideroverlay {
        width: 100%;
        left: 0px;
    }
    
    #rightslideoverlay {
        right: 0px;
        left: auto;
    }
    
    .slideroverlaycontent {
        top: 0px;
        margin: 0px;
        padding: 20px 0px;
    }
    
    .slideroverlaycontent h1 { 
        margin-bottom: 6px;
        margin-top: 6px;
    }
    
    .slideroverlaycontent p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    #navmenu {
        width: 100%;
        display: none;
    }

	.hasdropdownarrow {
		display:block;
		float:right;
		margin-top: 0px; 
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 5px 0 5px 10px;
		border-color: transparent transparent transparent #f8b100;
	}
	
	#navheadermenu .is-hover .hasdropdownarrow,  #navheadermenu li a:hover .hasdropdownarrow {
		border-color: transparent transparent transparent #ffffff;
	}


	
	#showmobilemenu {
		cursor: pointer;
		display: block;
		position: relative;
        text-align: center;
        position: absolute;
        top: 16px;
        right: 16px;
	}
	
	#showmobilemenu .bar1, #showmobilemenu .bar2, #showmobilemenu .bar3 {
		width: 35px;
		height: 5px;
		background-color: #f8b100;
		margin: 6px 0;
		transition: 0.4s;
	}
	
	
	#navheadermenu li, #menulink0, #menulink1, #menulink2, #menulink3, #menulink4, #menulink5, #menulink6, #menulink7, #menulink8{
		width: 100%;
	}
	
	#navheadermenu {
		position:relative;		
	}
	

	#navheadermenu li a {
		line-height: 12px;
		height: auto;
		padding: 20px 12px;
		margin: 0px;
	}
	
	#navheadermenu .submenu {
		width: 100%;
		padding: 0px;
		margin-left: 100%;
		top: 0;
		position:absolute;
		display:none;
	}

	#navheadermenu .submenu li {
		width: 100%;
	}
	
	#navheadermenu .subsubmenu {
		width: 100%;
		padding: 0px;
		margin-left: 100%;
		top: 0px;
		left: 0px;
		position:absolute;
		display:none;
		
	}

	#navheadermenu .subsubmenu li {
		width: 100%;
	}

	#navheadermenucontainer {
		overflow:hidden;
		width: 100%;
		background: #000000;
        display:none;
	}
	
	#navheadermenu .closedrop,  #navheadermenu .closedroptwo {
		display:block;
	}
	
	#headerlogo {
        width: 100%;
		text-align:center;
        float:left;
        position: relative;
        padding: 0px;
	}
    
    #headerlogo img {
		height: auto;
		width: 100%;
        max-width: 180px;
	}
    
    #headerphone {
        position: relative;
        top: 0px;
        float:left;
        background: #eeeeee;
        width: 100%;
    }
    
    
    #headerphone a {
        width: 40%;
        float:left;
        font-size: 12px;
        text-align: center;
        padding: 0px;
        background: #fff;
        color: #f8b100;
        border-bottom: 1px solid #eee;
    }
    
    #headerphone a:first-child {
        width: 60%;
         background: #fff;
        color: #f8b100;
        border-bottom: 1px solid #eee;
    }
    
	#navheadermenu .submenu {
		top: 0px;
	}
    

    #fixedheader.smaller #headerlogo {
        padding: 0px;
    }

    #fixedheader.smaller #headerlogo img {
        height: auto;
    }

    #navmenupadding {
        height: 0px;
    }
    
    #fixedheader.smaller #navmenupadding  {
        height: 0px;
    }
    
    .servicesbox {
        width: 80%;
        margin: 12px 10%;
    }

    .servicesdivider {
        display: none;
    }
    
    #homecontentblock {
        width: 100%;
        padding: 0px;
    }
    
    #homesidecontactform {
        width: 100%;
        padding: 24px 0px;
    }
    
    #homesidecontactform h2 {
        padding: 14px;
    }
    
    .backgroundslope {
        -webkit-clip-path: none;
        clip-path: none;
    }

    .wp-block-spacer {
        display: none;
    }
    
    .qualitybtn {
        width: 100%;
    }
    
    .qualitybtn:nth-child(2) {
        margin: 8px 0px;
    }
    
    
    #footerlogo {
        display: none;
    }
    
    .footerpanel {
        width: 100%;
        padding: 16px;
    }
    
    #pagecontainer {
        padding-top: 102px;
    }

    #homesidebar {
        width: 100%;
    }
    
    #sidecontactform {
        margin-top: 0px;
    }
    
    #pageright {
        width: 100%;
    }
    
    #pageleft {
        width: 100%;
        padding: 18px;
    }
    
    #pageheader h1 {
        width: 100%;
        text-align: center;
    }
    
    h2, h3 {
        margin-top: 18px;
    }
    
    #plantlist {
        text-align: center;
    }
    
    #bulletpointlist {
        text-align: left;
    }
} 
	

/* 2023 */

#headerlogo {
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideroverlay {
    background-color: rgba(248, 177, 0, 0.75);
}


#headerlogo img {
    height: 130px;
}


h1 {
    color: #f8b100;
}

.home_drivers {
    display: flex;
    flex-wrap: wrap;
}


.home_drivers .servicesbox {
    margin-bottom: 20px;
}

.home_drivers .servicesbox a {
    display: block;
}

.home_drivers .servicesboxoverlay {
    padding: 20px;
    line-height: normal;
}

.home_drivers .servicesbox::before {
    content: "";
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    transition: all 0.5s ease;
    pointer-events: none;
}

.home_drivers .servicesbox:hover::before {
        background: rgba(0,0,0,0.2);
}
