/*
Theme Name: Northern Number Plates
*/

/* global layout */
body {
  box-sizing: border-box;
  margin: 0 auto;
  font-family: 'Gilroy-Regular', sans-serif;
  font-weight: normal;
  font-style: normal;
  overflow-x: hidden;
}

.row {
  margin: 0;
  margin-bottom: 60px;
}

.row:last-child {
  margin-bottom: 0;
}

footer,
section {
  padding: 60px 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-center {
  margin: 0 auto;
}

/* typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Gilroy-SemiBold', sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #2c2e2d;
  margin-bottom: 10px;
}

h1 {
  font-size: 52px;
  line-height: 62px;
}

h2 {
  font-size: 48px;
  line-height: 58px;
}

h3 {
  font-size: 26px;
  line-height: 36px;
}

h4 {
  font-size: 18px;
  line-height: 28px;
	color: #f36d21;
}

p {
  font-size: 18px;
  line-height: 28px;
  display: block;
  margin-bottom: 20px;
  color: #2c2e2d;
  opacity: .8;
}

.container ul {margin: 5px 0px 5px 0px;}
.container ul li {font-size: 18px; line-height: 28px; display: block; color: #2c2e2d; opacity: .8; list-style-position: inside; list-style: disc}

small {
  font-size: 60%;
}

hr {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

strong {
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
}

.content-light {
  background-color: #2c2e2d;
}

.content-light h1, .content-light h2,
.content-light h3, .content-light h4 {
  color: #fff;
}

.content-light p {
  color: #fff;
  opacity: .8;
}

.content-pink {background-color: #f36d21;}
.content-pink h1, .content-pink h2,
.content-pink h3, .content-pink h4 {
  color: #fff;
}

.content-pink p {
  color: #fff;
  opacity: .8;
}


.black-banner {
  background-color: #000;
}

.black-banner h1, .black-banner h2,
.black-banner h3, .black-banner h4 {
  color: #fff;
}

.black-banner p {
  color: #fff;
  opacity: .8;
}

.text-light {
  opacity: .4;
}

a, a:visited {
  cursor: pointer;
  text-decoration: none;
  color: #f36d21;
  transition: color .2s ease;
}

a:hover {
  color: #af07ad;
}

::selection {
  background: #f36d21;
  color: #fff;
  opacity: .1;
}

/* components */
.btn {
  padding: 10px 30px;
  border: none;
  border-radius: 5px;
  transition: all .2s ease;
  display: inline-block;
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: #f36d21;
  color: #fff!important;
}

.btn-primary:hover {
  background: #cf520b;
}

.btn-primary:disabled {
  background: #f5f5f5;
  color: #2c2e2d!important;
}

.btn-secondary {
  border: 1px solid #fff;
  color: #fff!important;
  background: rgba(255, 255, 255, 0.2);
}

.btn-tertiary {
  border: 1px solid #75A337;
  color: #af07ad;
}

.btn-big {
  padding: 15px 40px;
  margin: 10px;
}

.btn-secondary:hover {
  background: #fff;
  color: #f36d21 !important;
}

.btn-tertiary:hover {
  border: 1px solid #ccc;
  color: #ccc;
}

.btn-nav {
  padding: 10px 30px;
  background: #f36d21;
  color: #fff!important;
}

.btn-nav:hover {
  background: #af07ad;
}

.pad {margin-right: 20px !important;}

/* Site Header */
.site-header {
  padding: 20px 0;
  height: 100px;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 999;
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0.6545) 0%, rgba(0,0,0,0) 100%);
  transition: all .2s ease-in-out;
}

.site-header > .container > .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styling */
.site-header img {
  max-height: 70px;
  width: auto;
  display: block;
}

/* Navigation List */
.site-header ul {
  list-style-type: none;
}

.site-header ul li {
  display: inline;
  margin-right: 30px;
}

.site-header ul li:last-child {
  margin: 0;
}

.site-header ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color .2s ease;
}

.site-header ul li a:hover {
  color: rgba(255, 255, 255, 1);
}

/* Header Menu (Left-Aligned, Max 60%) */
.header-menu {
  display: flex;
  align-items: center;
  max-width: 90%;
  width: 100%;
}

/* Header Contact (Centered Content) */
.header-contact {
  display: flex;
  justify-content: center; /* Centers only the contents */
  flex-grow: 1;
}

/* Contact Links */
.header-contact .nav-tel, 
.header-contact .nav-tel-m, 
.header-contact .btn {
  margin: 0 10px; /* Adjust spacing */
  color: #fff;
  font-family: 'Gilroy-Medium', sans-serif;
  font-size: 14px;
  transition: color .2s ease;
}

.header-contact a {
  display: flex;
  align-items: center; /* Aligns the SVG and text vertically */
  gap: 5px; /* Adjust spacing between the SVG and text */
}

.header-contact svg {
  fill: white;
  stroke: white;
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle; /* Ensures vertical alignment */
}

.header-contact .nav-tel span,
.header-contact .nav-tel-m span {
  display: flex;
  align-items: center; /* Ensures the text stays aligned */
}

.header-contact .btn {
  background: #f36d21;
  padding: 8px 16px;
  border-radius: 5px;
  text-transform: uppercase;
  font-family: 'Gilroy-Bold', sans-serif;
  transition: background .2s ease;
}

.header-contact .btn:hover {
  background: #cf520b;
}

/* Background Color */
.nav-bg {
  background: #2c2e2d !important;
}

.sfm-search-toggle, 
.sfm-search, 
.sfm-search-form, 
.sfm-search-overlay {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* mobile navigation */
.mobile-nav {
  width: 100%;
  min-height: 100vh;
  background: #2c2e2d;
  position: fixed;
  top: 0;
  z-index: 250;
  padding: 140px 0 60px 0;
  transform: translateX(100%);
  transition: transform .2s ease;
}

.mobile-nav .container {
  height: 320px;
  overflow-y: auto;
}

.mobile-nav .menu-header-container {
  margin: 0 auto;
}

.mobile-nav ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

.mobile-nav ul li {
  margin-bottom: 60px;
  font-family: 'Gilroy-SemiBold', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 36px;
}

.mobile-nav ul li a {
  color: #fff;
  transition: all .2s ease;
}

.mobile-nav ul li a:hover {
  color: #8ec642;
}

.nav-visible {
  transform: translateX(0);
}

.m-icon {
  cursor: pointer;
  fill: #fff;
}

.m-icon .a,
.m-icon .b {
  transition: all .15s ease-in-out;
}

.m-icon .a {
  x: 0;
  y: 0;
}

.m-icon .b {
  x: 0;
  y: 12;
}

.close {
  height: 24px;
}

.close .a {
  y: 50%;
  transform: rotate(45deg);
  transform-origin: center;
}

.close .b {
  y: 50%;
  transform: rotate(-45deg);
  transform-origin: center;
}

/* site footer */
footer a {
  display: block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8)!important;
}

footer a:hover {
  color: #fff !important;
}

.footer-bottom p,
.footer a{
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* site hero */
#hero-main {
  padding: 120px 0;
  min-height: 100vh;
  margin-top: -100px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center!important;
  background-repeat: no-repeat!important;
  -webkit-background-size: cover!important;
  -moz-background-size: cover!important;
  -o-background-size: cover!important;
  background-size: cover!important;
}

#hero-main p,
#hero-full p,
#hero-half p {
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 30px;
  opacity: 1;
}

#hero-main .container,
#hero-full .container,
#hero-half .container {
  position: relative;
}

#hero-full {
  min-height: 100vh;
  margin-top: -100px;
  padding: 160px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center!important;
  background-repeat: no-repeat!important;
  -webkit-background-size: cover!important;
  -moz-background-size: cover!important;
  -o-background-size: cover!important;
  background-size: cover!important;
}

#hero-half {
  min-height: 50vh;
  margin-top: -100px;
  padding: 120px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center!important;
  background-repeat: no-repeat!important;
  -webkit-background-size: cover!important;
  -moz-background-size: cover!important;
  -o-background-size: cover!important;
  background-size: cover!important;
}

#hero-main h1, #hero-main h2, #hero-main p, #hero-half h1, #hero-half h2, #hero-half p {text-shadow: 0px 0px 10px #000;} 

.error {
  background: url('https://media.giphy.com/media/d2lcHJTG5Tscg/giphy.gif');
}

/* video hero */
.full-video {
  margin-top: -100px;
  width: 100%;
  height: 100vh;
  z-index: -100;
  overflow: hidden;
  background-position: center!important;
  background-repeat: no-repeat!important;
  -webkit-background-size: cover!important;
  -moz-background-size: cover!important;
  -o-background-size: cover!important;
  background-size: cover!important;
}

.full-video-src {
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
}

.video-content {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.video-content h1 {
  color: #fff;
}

.video-content p {
  color: #fff;
}

/* slider */
.slider {
  margin-top: -100px;
  min-height: 100vh;
  display: block;
}

.slide {
  min-height: 100vh;
  display: flex!important;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 120px 0;
}

.slick-dots {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  margin-top: -60px;
  z-index: 300;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 10px;
  height: 10px;
  padding: 5px;
  margin: 0 10px;
  border-radius: 50%;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.3);
  transition: all .2s ease-in-out;
  text-align: center;
}

.slick-dots .slick-active button {
  background: #fff;;
}

.r-arrow,
.l-arrow {
  fill: #fff;
  cursor: pointer;
  position: absolute;
  margin: 30px;
  z-index: 300;
  transition: all .2s ease-in-out;
  width: 32px;
  height: 32px;
}

.r-arrow {
  right: 0;
  top: 50%;
}

.r-arrow:hover {
  transform: translateX(10px);
}

.l-arrow:hover {
  transform: translateX(-10px);
}

.l-arrow {
  left: 0;
  top: 50%;
}

.slide-one {
  background: url(https://www.roodee.co.uk/wp-content/uploads/2019/06/Man-using-tablet-ipad.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide-two {
  background: url(https://www.roodee.co.uk/wp-content/uploads/2019/01/masters-slider.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide-three {
  background: url(https://www.roodee.co.uk/wp-content/uploads/2019/05/Google-Background.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}



/* site intro */


#site-intro .row:last-child h2 {
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 42px;
}

#site-intro .row:last-child p {
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
}

#product-card img {
  max-width: 100%;
  height: auto;
  margin: 30px auto;
}

#cta {
  background: url(http://trethew.onourserver.co.uk/wp-content/uploads/2019/09/peacocks-feature.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


/* examples */
#examples h3 {
  margin: 0;
}

/* latest news */
.blog-grid [class*="col-"] {
  margin-bottom: 30px;
}

#news h3 {
  margin: 0;
}

.postcard {
  background: rgba(44, 46, 45, 0.05);
  padding: 20px;
}

.postcard img {
  padding: -30px;
}

.post-categories a {
  background-color: #8ec642;
  padding: 10px;
  display: block;
  z-index: 200;
  position: absolute;
  margin-top: -56px;
  margin-left: -20px;
  color: #fff;
}

.post-categories li {
  display: block;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.single-post h1 {
  font-size: 60px;
  line-height: 70px;
}

.single-post .post-categories a {
  margin: 0;
  position: relative;
  display: inline;
  background: none;
  padding: 0;
  color: #8ec642;
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.post-meta p {
  margin: 0;
  margin-left: 20px;
}

.post-img img {
  transition: all .2s ease-in-out;
}

.post-img:hover img {
  filter: opacity(.6);
}

.post-img + .postcard h3 {
  transition: all .2s ease-in-out;
}

.post-img:hover + .postcard h3 {
  color: #8ec642;
}

/* testimonial */
.testimonial {
  position: absolute;
  right: 0;
  margin-top: -40px;
  max-width: 50%;
  padding: 30px;
  background: #525453;
  display: flex;
  color: #fff;
  align-items: center;
}

blockquote p {
  font-size: 24px;
  color: #fff;
  margin: 0;
  display: inline;
}

blockquote p::before {
  content: "“";
  color: #8ec642;
  font-size: 32px;
}

blockquote p::after {
  content: "”";
  color: #8ec642;
  font-size: 32px;
}

.testimonial img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.testimonial cite {
  display: inline;
}

.at-share-btn-elements {
  display: flex;
  flex-direction: column;
}

.addthis_inline_share_toolbox_f0bx {
  position: sticky!important;
   position: -webkit-sticky!important;
  top: 140px;
}

/* page layouts */
#page-blank {
  padding: 60px 0;
}

#page-main p {
  font-size: 18px;
  line-height: 28px;
  padding: 0!important;
}

#page-intro {
  text-align: center;
}

#page-intro h2 {
  margin: 0 auto!important;
}

#page-intro strong {
  text-align: center;
  margin: 0 auto;
}

#page-nav {
  background: #F5F5F5;
  position: sticky;
  position: -webkit-sticky;
  top: 100px;
  z-index: 250;
  text-align: center;
  display: flex;
  justify-content: center;
}

#page-nav .col-lg-12 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#page-nav a {
  display: block;
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  padding: 20px 40px;
  color: #2c2e2d;
  transition: all .2s ease;
}

#page-nav a:hover {
  background: #8ec642;
  color: #fff;
}

#page-main video {
  max-width: 100%;
  height: auto;
  margin: 30px auto;
}

.page-title {
  background: #2c2e2d;
  padding: 140px 0 60px 0;
  margin-top: -100px;
}

.page-title h1 {
  color: #fff;
}

.page-intro {
  text-align: center!important;
}

.page-intro h2 {
  display: inline-block;
  margin: 0 auto;
}

.card img {
  max-width: 100%;
  height: auto;
  margin: 30px auto;
}

.img-md {width: 80%; height: auto; margin: 30px auto;}
.img-sm {width: 50%; height: auto; margin: 30px auto;}
.img-md img, .img-sm img {width: 100%; height: auto;}

#page-main .btn {
  margin: 20px 0;
}

#page-main .container {padding: 50px 0px;}

.callout {
  padding: 30px 0;
  background: #8ec642;
}

.callout .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.callout h3 {
  color: #fff;
  margin: 0;
}

/* Featured case study */
.case-study h2 {
  margin: 0 auto;
}

/* contact page */
.contact-page {
  padding-bottom: 0!important;
}

.contact-info h4 {
  margin: 0;
  color: #f36d21;
}

.contact-info h3 {
  margin-bottom: 30px;
}

.tel-num {
  font-size: 42px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  margin: 10px 0;
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  border: none;
  background: #fff;
  outline: none;
  color: rgba(17, 18, 18, 1);
  border-bottom: 2px solid rgba(17, 18, 18, 0.3);
  transition: all .2s ease;
  resize: none;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-bottom: 2px solid #8ec642;
}

.contact-form .wpcf7-textarea {
  height: 140px!important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(17, 18, 18, 0.3);
}

.wpcf7-list-item {
  margin: 10px 0!important;
}

.wpcf7-submit {
  margin: 10px 0 60px 0;
}

span.wpcf7-not-valid-tip {
  font-size: 12px!important;
  text-align: right;
}

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


.icon {margin: 0px 10px 0px 0px !important;}
.social {margin: 20px 0px;}
.social a {color: #cf36d21; fill: #fff; }
.social a:hover {color: #fff; fill: #fff;transition: color .2s ease;}

/* small screens */
@media (max-width: 1200px) {


  }


@media (max-width: 992px) {
  .row-reorder .row {
    flex-direction: column-reverse;
  }

  #news .col-md-6:nth-child(3) {
    display: none;
  }
	
}

@media (max-width: 425px) {
  .nav-tel-m {
    display: none!important;
  }
}

@media (max-width: 768px) {
	.header-menu {
  max-width: 90%;
}
	.site-header img {
  max-height: 50px;
}
	
	
  .nav-tel {
    margin-right: 10px;
    font-size: 14px;
  }

	.slider-feature-image {width: 60%; height: auto; margin: 10px auto 0px auto;}
  .postcard {
    margin-bottom: 30px;
  }

  .postcard:last-child {
    margin: 0;
  }

  .testimonial {
    position: relative;
    max-width: 100%;
    margin: 0;
  }

  #news .col-md-6:nth-child(2),
  #news .col-md-6:nth-child(3) {
    display: none;
  }

  .single-post .col-md-2 {
    display: none;
  }

  #page-nav {
    display: none;
  }

  .r-arrow,
  .l-arrow {
    display: none;
  }

  .full-video video {
    display: none;
  }

  #page-main video source {
    display: none!important;
  }
	
	.social {display: block; width: 100% !important; height: auto;}
	.icon {margin: 0px !important;}


	.footer-bottom p {display: none;}
}

@media (max-width: 576px) {
  h1, h2 {
    font-size: 38px;
    line-height: 45px;
  }

 footer {
   text-align: center;
 }

 .card h2 {
   font-size: 38px;
   line-height: 48px;
 }
 .nav-tel {
   display: none!important;
 }

}

@media (max-width: 385px) {
  .header-menu img {
    max-height: 32px;
  }

}

@media (max-width: 350px) {

}

/* large screens */
@media (min-width: 1200px) {
  .m-icon {
    display: none;
  }
}

@media (min-width: 992px) {

}

@media (min-width: 768px) {

}

@media (min-width: 576px) {
  .nav-tel-m {
    display: none!important;
  }
}
