/*

Theme Name: Barnston Driving School
Author: Roodee Creative
Version: 1.2

*/

/* loading site font */

@import url("//hello.myfonts.net/count/37af17");


@font-face {font-family: 'Gilroy-SemiBold';src: url('webfonts/37AF17_0_0.eot');src: url('../webfonts/37AF17_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/37AF17_0_0.woff2') format('woff2'),url('webfonts/37AF17_0_0.woff') format('woff'),url('webfonts/37AF17_0_0.ttf') format('truetype');

}

@font-face {font-family: 'Gilroy-Regular';src: url('webfonts/37AF17_1_0.eot');src: url('webfonts/37AF17_1_0.eot?#iefix') format('embedded-opentype'),url('webfonts/37AF17_1_0.woff2') format('woff2'),url('webfonts/37AF17_1_0.woff') format('woff'),url('webfonts/37AF17_1_0.ttf') format('truetype');

}

@font-face {font-family: 'Gilroy-Medium';src: url('webfonts/37AF17_2_0.eot');src: url('webfonts/37AF17_2_0.eot?#iefix') format('embedded-opentype'),url('webfonts/37AF17_2_0.woff2') format('woff2'),url('webfonts/37AF17_2_0.woff') format('woff'),url('webfonts/37AF17_2_0.ttf') format('truetype');

}

body {
  margin: 0 auto;
  box-sizing: border-box;
   font-family: 'Gilroy-Regular', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-size: 18px;
  line-height: 28px;
}

h2, h3,
h4, h5, h6 {
  font-weight: 600;
}

h1 {
  font-weight: 100;
  font-size: 58px;
  line-height: 68px;
}

h3 {
  font-size: 28px;
  line-height: 38px;
}

h4 {
  font-size: 24px;
  line-height: 34px;
}

p {
  margin: 10px 0px 20px 0px;
}

ul li {margin: 0px 0px 10px 0px; line-height: 25px;}

a, a:visited {
  text-decoration: none;
  color: #5593b6;
  transition: all .2s ease-in-out;
}

a:hover {
  color: #5593b6;
}

.red {color: #5593b6 !important;}
.blue-line {border-bottom: thick solid #5593b6; margin: 40px 0px 0px 0px;}
.blue-vertical-line  {border-left: thick solid #5593b6;}
.testimonials img {display: block; width: 70%; height: auto; max-width: 800px; margin: 30px 0px;}

address {font-style: normal !important;}
blockquote {
    font-family: Georgia, serif;
    position: relative;
    margin: 0.5em;
    padding: 0.5em 2em 0.5em 3em;
}

blockquote:before {
    font-family: Georgia, serif;
    position: absolute;
    font-size: 6em;
    line-height: 1;
    top: 0;
    left: 0;
    content: "\201C";
}
blockquote:after {
    font-family: Georgia, serif;
    position: absolute;
   /* display: block; don't use this, it raised the quote too high from the bottom - defeated line-height? */
    float:right;
    font-size:6em;
    line-height: 1;
    right:0;
    bottom:-0.5em;
    content: "\201D";
}
blockquote footer {
    padding: 0 2em 0 0;
    text-align:right;
}
blockquote cite:before {
    content: "\2013";
}
img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 5px 30px;
  text-decoration: none;
  transition: all .2s ease-in-out;
border-radius: 10px;
}

.btn-white {
  border: 1px solid #fff;
  color: #fff !important;
}

.btn-white:hover {
  color: #222 !important;
  background: #fff;
}

.btn-blue{
  border: 1px solid #00679e;
  color: #00679e !important;
}

.btn-blue:hover {
  color: #fff !important;
  background: #00679e;
}

.btn-primary {

  color: #00679e;

  border: 1px solid #00679e;

}



.btn-primary:hover {

  background: #00679e;

  color: #fff;

}



.text-brand {

  color: #00679e;

}




/* Site Header */
.black-band {display: block;width: 100%; height: 10px; background: #393185;}
.blue-band {display: block;width: 100%; height: 10px; background: #f0ac2d;}

#site-header {
  padding: 20px 0;
  font-size: 16px;
  position: sticky;
  z-index: 999;
	background: #a53332 !important;
}

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

#site-header img {max-width: 300px; height: auto;
}
.search p {color: #fff;}

.logo {height: 170px; width: auto;}

.header-contact a:first-child {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
}

.header-contact a:first-child:hover {
  text-decoration: none;
}

.header-contact .nav-tel {
  display: inline-block;
}

.nav-tel svg {
  display: inline-block;
  vertical-align: middle;
	  color: #fff;
  fill: #fff;
}

.header-contact .nav-tel-m {
  display: inline-block;
}

.nav-tel-m svg {
  display: inline-block;
  vertical-align: middle;
}

.header-contact .nav-tel:hover {
  color: #fff;
  fill: #fff;
}

.nav-switch {
  fill: #fff;
  cursor: pointer;
}


/* site nav */

nav {width: 100%; height: auto; margin: 0px !important; padding: 0px !important;}
.nav-left {float: left; margin: 0px !important; padding: 0px !important;width: 5%; height: 60px; display: inline-block; background-size: contain;  background-color: #393185;}
.nav-right {float: right; margin: 0px !important; padding: 0px !important;width: 5%; height: 60px; display: inline-block; background-size: contain; background-color: #393185;}
.nav-inner {margin: 0px !important; padding: 0px !important;width: 90%; display: inline-block;}

.social-icons a {

  margin-right: 10px;

  fill: #222;

  transition: fill .2s ease-in-out;

}



.social-icons a:hover {

  fill: #00679e;

}



.nav-sidebar {background: #ececec; padding: 30px 0px; }
.nav-sidebar ul li a {color: #5593b6;}



/* site slider */

#site-slider {

  text-align: center;

}



.slide-item {

  min-height: 70vh;

}



.slide-content {

  height: 70vh;

  width: 100%;

  background: rgba(0, 0, 0, .25);

  display: flex !important;

  justify-content: center;

  align-items: center;

}





.slide-content h2 {

  font-size: 48px;

  color: #fff;

  line-height: 58px;

  font-weight: 600;

}



.slide-content p {

  color: #fff;

}



.slide-one {

  background: url(https://www.barnstondrivingschool.co.uk/wp-content/uploads/2025/03/car.jpg) no-repeat center center;

  -webkit-background-size: cover;

  -moz-background-size: cover;

  -o-background-size: cover;

  background-size: cover;

}





#brand-banner {

  background: url(img/header-bg.jpg) no-repeat center center;

  background-size: cover;

  padding: 20px 0;

  text-align: center;

}



#brand-banner h4,

#brand-banner p {

  color: #fff;

}



#brand-banner .btn {

  margin-top: 20px;

}



#page-intro {
  padding: 60px 0;
}



/* content styles */

#red-banner {
  background-color: #d60012 !important;
  color: #fff;
}

#white-banner {
  background-color: #fff !important;
}

#white-banner img {width: auto; height: 100px;}


#light-blue-banner {background-color: #5593b6; color: #fff;}
#dark-blue-banner {background-color: #354070; color: #fff;}
#green-banner {background-color: #47a53a; color: #fff;}


#about-banner {
  background-color: #eaeaea !important;
  background: url(img/about.jpg) no-repeat;
  background-position: right;
}

#service-banner {
  background: url(img/services.jpg) no-repeat;
  background-position: left;
}

.site-banner {
  padding: 30px 0;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.site-banner .row {
  align-items: center;
}

.site-banner:nth-child(even) {
  background: #eaeaea;
}

.small-banner {
  padding: 30px 0;
}

.feature-banner {
  background: #222;
  color: #fff;
  padding: 30px;
}

.feature-banner .row {
  align-items: center;
}

.feature-banner ul {
  list-style-image: url(img/check.svg);
}

.feature-banner h3 {
  margin-bottom: 30px;
}

.feature-banner li {
  margin-bottom: 30px;
}

.rounded {border-radius: 0px 50px;}
.padding-vertical {margin: 30px 0px 30px 0px;}

.service-cards-row {overflow: hidden; width: 100%; height: auto;}
.service-cards {margin-top: -1em;}
.service-cards img {width: 100%; height: auto;}

.row-pad {margin-bottom: 30px;}
.full-size {width: 100% !important; height: auto !important;}
.full-size img {width: 100% !important; height: auto !important;}

/* articles */

#articles {

  padding: 30px 0;

  background: #eaeaea;

}



#articles a {

  text-decoration: none;

  color: #222;

  transition: all .2s ease-in-out;

}



#articles a:hover {

  color: #00679e;

}



#articles img {

  transition: all .2s ease-in-out;

}



#articles a:hover img {

  filter: grayscale(100);

}



#articles h2 {

  font-size: 32px;

  margin-bottom: 30px;

}



.post-card {

  box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.15);

}



.post-card figcaption {

  padding: 30px;

  margin-top: -1em;

  background: #fff;

  text-decoration: none;

  font-weight: 600;

  font-size: 18px;

}

.left {display: inline-block; width: 45% !important; height: auto; margin: 0px 8% 0px 0px; padding: 0px; vertical-align: text-top; }
.right {display: inline-block; width: 45% !important; height: auto; margin: 0px; padding: 0px; vertical-align: text-top; }
.grey-block {display: block; width: 100%; height: auto; padding: 20px 5%; background: #efefef;}
.turquoise {color: #11aec7 !important;}
.orange {color: #f59e25 !important;}
.statistic {font-size: 3em !important; margin: 10px 0px 0px 0px;}

/* site footer */

#site-footer {
  padding: 30px 0px 60px 0px;
  background: #a53332 !important;;
  color: #fff;
}
.footer-logo {margin-bottom: 15px;}
.opacity-reduced {opacity: 0.5;}

#site-footer a {
  text-decoration: none;
  color: #fff;
  transition: all .2s ease-in-out;
}

#site-footer h3 {
  margin-bottom: 10px;
	 font-size: 17px;
}

#site-footer ul {
  list-style: none;
}

#site-footer ul li {
  font-size: 15px;
	line-height: 20px;
}

#site-footer p{
  font-size: 15px;
	line-height: 25px;
}

#site-footer a:hover, #site-footer ul li a:hover {color: #fff; text-decoration: hover;}

#site-footer .social-icons svg {
  fill: #fff;
  transition: all .2s ease-in-out;
  margin-top: 0px;
}

#site-footer .social-icons svg:hover {
  fill: #fff;
}

.footer-logo {width: 250px; height: auto;}
.small {font-size: 12px; line-height: 12px;}

/* page styles */
#page-header {

  padding-top: 30px;

}



#page-main {

  padding: 30px 0;
  background-color: #fff !important;
  border-bottom: solid #ccc 1px;
}



#page-main .row {

  margin-bottom: 60px;

}



#page-main h2 {

  font-size: 24px !important;

  line-height: 34px !important;

}



#page-main img {

  margin: 0 auto;

}



#page-main ul {

  margin-left: 20px;

}



#page-main li {

  margin-bottom: 20px;

}



#posts {

  padding: 30px 0;

}



#posts a {

  text-decoration: none;

  color: #222;

  transition: all .2s ease-in-out;

}



#posts a:hover {

  color: #00679e;

}



#posts img {

  transition: all .2s ease-in-out;

}



#posts a:hover img {

  filter: grayscale(100);

}



#posts h2 {

  font-size: 32px;

  margin-bottom: 30px;

}



#posts .post-card {

  margin-bottom: 30px;

}



#posts .post-card figcaption {

  padding: 30px;

  margin-top: -1em;

  background: #fff;

  text-decoration: none;

  font-weight: 600;

  font-size: 18px;

}



.sidebar li {

  list-style: none;

}



/* contact page */

.contact-page .social-icons {

  display: flex;

}

.map-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

/* services page */

.service-card {

  height: 320px;

  width: 100%;

  display: block;

  text-align: center;

  margin-bottom: 30px;

  box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.15);

  background-repeat: no-repeat !important;

  -webkit-background-size: cover !important;

  -moz-background-size: cover !important;

  -o-background-size: cover !important;

  background-size: cover !important;

}



.card-filter {

  padding: 30px;

  height: 100%;

  width: 100%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: rgba(0, 0, 0, 0.3);

  transition: all .4s ease-in-out;

}



.service-card:hover .card-filter {

  background: linear-gradient(45deg, rgba(99,40,91,0.8) 0%, rgba(226,43,41,0.8) 100%);

}



.service-card h2 {

  color: #fff !important;

}





@media (max-width: 992px) {

.nav-left, .nav-right {display: none;}
	.nav-inner {width: 100%;}
	nav {background-color: #fff !important;}
  #study-banner,

  #about-banner,

  #service-banner {

    background: none;

  }





}



@media (min-width: 992px) {

  .nav-switch {

    display: none;

  }



  .banner-img {

    display: none;

  }

}



@media (max-width: 768px) {

  h1, h2 {

    font-size: 42px !important;

    line-height: 52px !important;

  }
#site-header .container {display: block;text-align: center;}
.search {display: none;}
  .flip-md {

    flex-direction: column-reverse;

  }



  .post-card {

    margin-bottom: 30px;

  }



  .site-banner img {

    margin-top: 30px;

  }



  .sidebar {
  }

.left, .right {display: block; width: 100% !important; margin: 0px;}

  .hide-mobile {

    display: none;

  }


}

