/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

:root { --topbar-h: 0px; }  /* match your .top-bar height */
/*
.top-bar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}
*/

#header-secondary-outer {
	background-color: #00184C !important;	
}

.top-banner {
	background-color: #00184C;
    padding: 15px;
    border-radius: 10px;
	color: white !important;
}

.material #header-secondary-outer>.container {
	min-height: 50px;
}


/* Push the sticky/main header down so it doesn't overlap the bar */
#header-outer{
  top: var(--topbar-h) !important;
}

/* If Salient uses transforms when sticky, neutralize them */
#header-outer.small-nav{
  transform: none !important;
}


/* Make sure arrows are actually clickable on mobile */
.nectar-flickity .flickity-prev-next-button{
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* If an overlay/viewport is sitting on top, this prevents it from blocking taps */
.nectar-flickity .flickity-viewport,
.nectar-flickity .flickity-slider{
  pointer-events: auto;
}


body[data-footer-reveal="1"][data-footer-reveal-shadow="large"] .container-wrap {
    background: linear-gradient(135deg, #1b1b1b 0%, #2a2a2a 50%, #111 100%);
    box-shadow: inset 0 20px 60px rgba(255, 255, 255, 0.02), inset 0 -20px 60px rgba(0, 0, 0, 0.4);
 }

.hide-all {
	display: none !important;
}

#header-outer #mobile-menu ul li a {
	color: #ffffff;
}

@media only screen and (max-width: 800px) {
	.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.next{
		opacity: 1;
		visibility: visible;
		right: -5px;
        transform: scale(1.2) !important;
	}
	.nectar-flickity[data-controls*=arrows_overlaid] .flickity-prev-next-button.previous {
		opacity: 1;
		visibility: visible;
		left: -5px;
        transform: scale(1.2) !important;
	}
}

/* Increase hamburger size */
#top .span_9>.slide-out-widget-area-toggle {
	transform: scale(1.4) !important;
	
}

/*.lines-button {
  transform: scale(1.6) !important;
}
*/

.rpm-portfolio-hero {
  position: relative;

  /* FULL BLEED */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  height: 30vh;
  min-height: 320px;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.rpm-portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.01);
  z-index: 1;
}

/* Override Salient container behavior ONLY inside the hero */
.rpm-portfolio-hero .container {
  position: relative;
  z-index: 2;

  /* remove boxed layout + padding */
  max-width: none !important;
  width: 100%;
  padding-left: 8vw !important;
  padding-right: 8vw !important;
}

/* Title */
.rpm-portfolio-title {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px); /* responsive */
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.35);
  color: #fff;
}


#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a:hover {
	background-color: transparent !important;
}

/* Responsive: scale title on smaller screens */
@media (max-width: 767px) {
  .rpm-portfolio-title {
    font-size: 2.2rem;
  }
}



.top-mobile-btn {
	display: none;
	background-color: #dd3333;
	padding: 5px 10px;
	color: white;
	border-radius: 3px;
}



	/* write your CSS code here */
	.top-bar {
    background: #1D37BC;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 10px;
	background-image: url(https://rpmautocenter.fixed-staging.co.uk/wp-content/uploads/2025/11/visit-bg.webp);
	background-size: cover;
	background-position: center center;
	}
	/*
	div#header-outer {
    margin-top: 85px;
	max-width: 90%;								
	}
	*/
		   .top_bar_wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px;
}

.top_bar_wrapper ul {
    color: white;
    list-style: none !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.top_bar_wrapper ul li {
    list-style: none !important;
    padding: 0 10px;
    font-weight: 300;
}

.top_bar_wrapper ul li a {
    color: white;
    display: flex;
    gap: 10px;
    align-items: center;
}

.top_bar_wrapper ul li span {
    display: inline-block;
    margin-left: 20px;
}
div#acwp-toolbar-btn-wrap {
    display: none !important;
}
/*
 div#header-outer:has(.small-nav) {
    margin-top: 10px;
}
*/

nav[aria-label="Main Menu"] ul li a {
    color: black !important;
}

.col.span_9.col_last {
    padding-right: 20px;
}

nav[aria-label="Main Menu"] ul li a:hover{
    color: #1d37bc !important;
}

nav[aria-label="Main Menu"] ul li.transparent a {
//     border: solid 1px #CFCFCF;
//     padding: 14px 30px !important;
//     border-radius: 10px;
//     min-width: 190px;
//     text-align: center;
//     margin-left: 80px !important;
//     margin-right: 0px !important;
	  border: solid 1px #CFCFCF;
    padding: 0.6563525550867323vw 1.4064697609001406vw !important;
    border-radius: 10px;
    min-width: 8.907641819034223vw;
    text-align: center;
    margin-left: 3.750586029067042vw !important;
    margin-right: 0px !important;	
	background-color: #051749;
	color: white !important;
}

nav[aria-label="Main Menu"] ul li.menu_btn.red a{
//     border: solid 1px #CFCFCF;
//     padding: 14px 30px !important;
//     border-radius: 10px;
//     background: #C11616;
//     color: white !important;
//     min-width: 190px;
//     text-align: center;
	       border: solid 1px #CFCFCF;
    padding: 0.6563525550867323vw 1.4064697609001406vw !important;
    border-radius: 10px;
    background: #C11616;
    color: white !important;
    min-width: 8.907641819034223vw;
    text-align: center;
}
#header-outer[data-lhe="animated_underline"] #top nav > ul > li > a {
    margin-left: 0.9376465072667605vw !important;
    margin-right:  0.9376465072667605vw !important;
    font-size: .9vw !important;
}		   
nav[aria-label="Main Menu"] ul li.menu_btn a:hover {
    background: #1d37bc !important;
    color: white !important;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
    color: black;
}		   
#welcom_rpm .cell {
    border: solid 2px #FFF;
}
div#welcom_rpm .cell img {
    height: 170px !important;
}
div#exprt_row::after {}

div#exprt_row::after,
div#Services_btns::after{
    display: inline-block;
    background: url(https://rpmautocenter.fixed-staging.co.uk/wp-content/uploads/2025/11/testi-bg.png) no-repeat;
    position: absolute;
    right: -10vw;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 800px;
    top: -360px;
    content: '';
    z-index: 0;
}
div#Services_btns::after {
    top: -140px;
    z-index: -5;
}
div#man_row::after {
    display: inline-block;
    background: url(https://rpmautocenter.fixed-staging.co.uk/wp-content/uploads/2025/11/testi-bg.png) no-repeat;
    position: absolute;
    left: -40vw;
    width: 100%;
    height: 100%;
    max-width: 800px;
    top: -250px;
    content: '';
    right: auto;
    z-index: 0;
}					
/*----respo------*/		   

@media (max-width: 1450px) {	   
div.mani_banner {
    min-height: 830px !important;
}
#footer-widgets .row_col_wrap_12_inner .vc_col-sm-6:first-child h2 {
    max-width: 410px !important;
}
#footer-widgets .row_col_wrap_12_inner .vc_col-sm-6:first-child p {
    max-width: 450px !important;
}
.page-id-1857 .nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
    margin-bottom: 0 !important;
}		   
}	
@media (max-width: 1200px) {
	div#header-outer {
    max-width: 100%;
	
	}
	/*
	#header-outer[data-full-width=true] header>.container{
		padding: 0 0px !important;			
	}
	*/
	div#header-outer .col.span_9.col_last {
    padding-right: 0px !important;
	}
	#header-outer[data-lhe="animated_underline"] #top nav > ul > li > a
 	{
    margin-left: 0.9376465072667605vw !important;
    margin-right: 0.9376465072667605vw !important;
    font-size: 12px !important;
	}
	div.mani_banner{
        min-height: 650px !important;
    }
	.vc_row.top-level > .span_12 {
    	padding-top: 40px !important;
	}
	#Services_btns a.regular-button {
    font-size: 14px !important;
	}
	div#you-got-covered {
    margin-bottom: 30px !important;
    padding-bottom: 50px !important;
	}
	div#man_row .row_col_wrap_12_inner .vc_col-sm-6:first-child img {
    height: 1000px;
    object-fit: contain;
    object-position: bottom;
    margin-bottom: -18px;
	}					
}		   
		   
		   


	
/*
 {
        font-size: 1.8vw;
    line-height: 100%;
    margin-bottom: 50px !important;
}
*/
.footer_left_head h2 strong {
    color: #C11616;
}
.footer_map_icns .iwithtext {
    float: left;
    width: 25.33%;
}
.footer_map_icns .iwithtext {
    float: left;
    width: 35%;
}

.footer_map_icns .iwithtext:last-child {
        position: absolute;
    left: auto;
    right: 0;
}

.footer_icns .iwithtext {
    background: #FAFAFA;
    padding: 15px;
    border: solid 1px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 300px;
    height: 80px;
    margin: 0;
	font-size: 20px;
}
body #footer-outer .footer_icns i {
    font-size: 30px;
    width: auto;
    background-color: transparent;
    margin-right: 10px;
}
.footer_icns .iwithtext .iwt-icon {
    position: static;
}

.footer_icns .iwithtext .iwt-text {
    padding: 0 !important;
}

.footer_icns .vc_col-sm-6:last-child .wpb_wrapper {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 20px;
    margin-top: 20px;
}

.footer_icns .iwithtext:last-child {
    min-width: 400px;
}
#footer-widgets .row_col_wrap_12_inner.col.span_12.left {
    flex-flow: row;
    text-align: left;
}

#footer-widgets .row_col_wrap_12_inner.col.span_12.left * {
    text-align: left;
}
div#copyright {
    padding: 10px 0px !important;
}

div#copyright .container {
    display: flex;
    flex-flow: row-reverse;
    align-items: center;
}

#footer-outer[data-cols="1"] #copyright .col ul li {
    margin-bottom: 0;
}

div#copyright .col.span_7.col_last {
    text-align: right;
}

div#copyright .col.span_7.col_last ul.social {
    margin-bottom: -10px;
    text-align: right;
}

div#copyright .col.span_5 {
    text-align: left !important;
}

#footer-outer[data-cols="1"] #copyright li a i {
    border: 0 !important;
}

body #footer-outer[data-cols="1"] #copyright li a i:after {
    display: none;
}

#footer-widgets .row_col_wrap_12_inner .vc_col-sm-6:first-child h2 {
    max-width: 600px;
}
#footer-widgets .row_col_wrap_12_inner .vc_col-sm-6:first-child p {
    max-width: 580px;
}

#footer-widgets .row_col_wrap_12_inner .vc_col-sm-6:last-child .iwt-text {
    padding-left: 20px;
}
img.man_img_inner {
    display: none;
}		   
/*----respo------*/			   
@media (max-width: 1200px) {		   
.footer_icns .iwithtext:last-child {
    min-width: 300px;
}		   
.footer_left_head h2 {
    font-size: 28px !important;
}
.right_col.col_ {
//     display: none;
	font-size: 14px !important;    
}
.top_bar_wrapper{
	flex-direction: column !important;
}
.top-bar{
	height: 55px !important;
}
.top_bar_wrapper ul li a svg {
    height: 16px;
    width: 16px;
}	
.banner_txt h1 {
    font-size: 30px;
    line-height: 120%;
}
.banner_txt h3 {
    letter-spacing: 5px !important;
}
	
}	
@media (max-width: 767px) {
	.top_bar_wrapper ul li a {
    font-size: 12px;
        gap: 5px;
	}
	.top_bar_wrapper ul li a svg {
        height: 16px;
        width: 12px;
    }
	.top_bar_wrapper ul li {
    padding: 0 5px;
 	}
}		
	

@media (max-width: 975px) {
    
	/*
	#header-outer[data-full-width=true] header>.container {
        padding: 0 20px !important;
    }
	#header-outer {
		padding: 10px 40px !important;
	}
	*/
	
	
	body #top #logo img, #header-outer[data-permanent-transparent="false"] #logo .dark-version {
        height: 45px !important;
    }
	.top_bar_wrapper {
    	justify-content: center;
	}
	.slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:after, 
		   .slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:before,
		   .slide-out-widget-area-toggle.mobile-icon .lines-button:after {
    background-color: #c62828 !important;
	}
	div.mani_banner {
        min-height: 490px !important;
    }
	#Testimonials .heads h3,
	#welcom_rpm h3,
	#export_auto h2,
	.heads h2 {
    font-size: 28px;
	}
	.vc_row.top-level > .span_12 {
        padding-top: 20px !important;
    }
	.quote_title_wrappper .img-with-aniamtion-wrap {
    	margin-top: 40px !important;
	}
	.nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
    	margin-top: 20px !important;
	}
	#man_row .vc_col-sm-12 {
    display: flex;
    flex-flow: row !important;
	}
	#man_row  .row_col_wrap_12_inner.col.span_12 {
		flex-flow: row;
	}
	#ajax-content-wrap .vc_row.top_margin_-335px {
		margin-top: 0 !important;
	}
	#drive_with .row_col_wrap_12.col.span_12.light.center {
    max-width: 95%;
    margin: 0 auto;
	}
	div#man_row .row_col_wrap_12_inner .vc_col-sm-6:first-child img {
        height: auto;
        margin-bottom: 0;
    }
	#footer-outer[data-cols="1"] #footer-widgets .container .col {
    margin-left: 0;
	}
	.footer_icns .iwithtext:last-child {
		min-width: 200px;
	}
	.footer_icns .iwithtext {
		min-width: 210px;
		font-size: 14px;
		padding: 5px;
		height: 60px;
	}
	div#footer-outer .container {
		max-width: 95%;
	}
	
	body #header-outer {
        margin-bottom: 0;
        /*padding: 5px 30px !important;
        max-width: 95% !important;*/
    }
    
	div#exprt_row {
    	padding-bottom: 40px !important;
	}	   
}		   
@media (max-width: 767px) {
	div.mani_banner {
		min-height: 420px !important;
	}
	div#Services_btns {
    padding-top: 0 !important;
	}
	#Services_btns a.regular-button {
		margin: 5px 5px !important;
		padding: 14px 20px;
		min-width: 0;
	}
	#you-got-covered .heads h2 {
		font-size: 68px;
		        max-width: 300px;   
	}
	#you-got-covered h3 {
		font-size: 24px;
	}
	div#you-got-covered {
		margin-bottom: 30px !important;
		padding-bottom: 80px !important;
	}
	#man_row .row_col_wrap_12_inner.col.span_12 {
        flex-flow: column;
    }	
	#footer-outer[data-cols="1"] #footer-widgets .container .col {
    flex-flow: column;
	}
	body #footer-outer[data-cols="1"][data-disable-copyright="false"] .row {
		padding-top: 40px !important;
		padding-bottom: 20px !important;
	}
	.footer_left_head h2 {
		font-size: 24px !important;
		margin-bottom: 20px !important;
	}

	.row_col_wrap_12_inner.col.span_12.left:has(img[height="111"]) {
		flex-flow: column-reverse !important;
	}

	.footer_icns .iwithtext {
		min-width: 100%;
		width: 100%;
		text-align: left !important;
		align-items: center;
		justify-content: flex-start;
		padding: 20px;
	}

	.footer_icns {
		flex-flow: column;
	}

	.footer_icns .vc_col-sm-6:last-child .wpb_wrapper {
		flex-flow: column;
		margin-bottom: 10px;
	}

	.row_col_wrap_12_inner.col.span_12.left:has(img[height="111"]) .vc_col-sm-6 {
		margin-bottom: 0 !important;
		text-align: center !important;
	}

	.row_col_wrap_12_inner.col.span_12.left:has(img[height="111"]) .vc_col-sm-6 img {
		max-width: 90%;
		margin: 0 auto;
	}	   
	.banner_txt h1 {
        font-size: 60px;
        line-height: 110%;
    }
	.vc_row.top-level > .span_12 {
        padding-top: 0px !important;
    }
	#Testimonials .heads h3, #welcom_rpm h3, #export_auto h2, .heads h2 {
       font-size: 38px;
        padding: 0px 10px;
    }	
	img.man_img_inner {
    display: block;
	}
	div#man_row .hover-wrap {
		display: none;
	}
	#Testimonials .heads h3{
        padding: 0px 15px;
    }
	#visit_us .row_col_wrap_12.col.span_12.light.left {
    padding: 20px;
	}
	#visit_us .row_col_wrap_12.col.span_12.light.left .wpb_wrapper {
		padding-left: 50px;
	}
	#visit_us .row_col_wrap_12 .img-with-aniamtion-wrap {
		position: absolute;
		left: -110px;
		top: -74px;
		max-width: 264px;
		z-index: -5;
	}
	div#visit_us {
		overflow: hidden;
	}
		   .footer_map_icns .iwithtext {
    float: left;
    width: 50%;
}

.footer_map_icns .iwithtext:last-child {
    position: static;
    display: flex;
    align-items: center;
}

.footer_map_icns .iwithtext:last-child .iwt-icon {
    position: static;
}
body #footer-outer i {
    font-size: 30px;
    width: auto;
    background-color: transparent;
}
#footer-widgets .row_col_wrap_12_inner .vc_col-sm-6:last-child .iwt-text {
    padding-left: 25px;
}

.footer_map_icns .iwithtext:last-child .iwt-text {
    padding-left: 12px !important;
}

div#copyright .container {
    flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#footer-widgets ul.social {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

div#copyright .container .col.span_5 {
    text-align: center !important;
}
body #footer-outer #copyright .col ul {
    display: flex;
    align-items: center;
    justify-content: center;
}		   
		   
}	

.mobile-fill a span {
		color: #ffffff !important;
		font-size: 20px !important;
	}

@media (max-width: 1200px) {
	.mobile-fill {
        background-color: #9b1818;
        margin-bottom: 15px !important;
        border-radius: 3px;
        padding: 5px;
        text-align: center;
	}
	.mobile-fill a span {
		color: #ffffff !important;
		font-size: 20px !important;
	}	
	.top_bar_wrapper {
		padding: 10px 0px
	}
	.top-mobile-btn {display: block;}
    div.right_col.col_ > ul {
    	display: none;
    }
    .top-bar {
        height: 75px !important;
        position: fixed;
        z-index: 999;
        top: 0;
    }
	/*
	div#header-outer {
		margin-top: 90px !important;
	}
	*/
}

/* Ensure header row alignment */
.mobile-header-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 12px;
}

/* BOOK SERVICE button alignment */
.mobile-header-cta {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #c62828;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

/* Icon buttons – red circle */
.mobile-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #051749;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Force icons to white */
.mobile-header-icon i {
color: #ffffff !important;
font-size: 26px !important;
	line-height: 36px !important;
}

/* Hover polish */
.mobile-header-icon:hover {
  background: #a91f1f;
}

/* Mobile only */
@media (min-width: 1000px) {
  .mobile-header-cta-group {
    display: none;
  }
}




