/*!
 * Start Bootstrap - Business Casual Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 1px;
}
.panel-default a,
h3 a,
h3 a:hover,
h5 a,
h5 a:hover {
  text-decoration: none;
}
body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: url(../img/pagebg/carleftright.jpg) center center no-repeat fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.address-bar,
.brand,
.mp-strapline,
.navbar-brand,
.navbar-nav,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Titillium Web", sans-serif;
}
body.body_about,
body.body_home,
body.body_learn,
body.body_passplus,
body.body_price,
body.body_price_areas,
body.body_price_index {
  background: url(../img/pagebg/carleftright.jpg) center center no-repeat fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
body.body_adv_mway {
  background: url(../img/pagebg/carleftright.jpg) top center no-repeat fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
body.body_book,
body.body_contact,
body.body_instructor,
body.body_intensive,
body.body_links,
body.body_night,
body.body_refresher,
body.body_testemonials {
  background: url(../img/pagebg/carleftright.jpg) center center no-repeat fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
[class^="”body_”"] {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
a,
h5 a:hover {
  color: #000;
}
h1,
h2,
h3 {
  font-weight: 700;
}
h2 {
  color: #900;
}
h4,
h5,
h6 {
  font-weight: 400;
}
h5 a,
h5 a:link,
h5 a:visited {
  color: #333;
}
.footer-bottom h5 a,
.footer-bottom h5 a:link,
.footer-bottom h5 a:visited {
  color: #ddd;
}
.footer-bottom h5 a:hover {
  color: #fff;
}
.h1 .small,
.h1 small,
.h2 .small,
.h2 small,
.h3 .small,
.h3 small,
h1 .small,
h1 small,
h2 .small,
h2 small,
h3 .small,
h3 small {
  font-size: 60%;
}
ol,
p,
ul {
  font-size: 1.2em;
  line-height: 1.6em;
  color: #000;
  margin-bottom: 1em;
}
ul {
  list-style-type: circle;
}
hr {
  max-width: 400px;
  border-color: #999;
}
hr.full {
  max-width: 100%;
  width: 100%;
  border-color: #ccc;
}
.red-icon {
  color: #900;
}
.address-bar a,
footer {
  color: #fff;
}
.address-bar,
.brand,
.mp-strapline {
  background-color: rgba(153, 0, 0, 0.8);
  padding: 0.5em;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}
.address-bar span {
  padding: 0 0.8em;
}
.navbar {
  margin-bottom: 0;
}
.navbar-brand,
.navbar-nav {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
}
.img-full {
  min-width: 100%;
}
.brand-before,
.brand-name {
  text-transform: capitalize;
}
.brand-before {
  margin: 15px 0;
}
.brand-name {
  margin: 0.25em 0 0;
  font-size: 1.8em;
}
.tagline-divider {
  margin: 15px auto 3px;
  max-width: 250px;
  border-color: #999;
}
#nav {
  width: 100%;
  position: static;
  border-bottom: 3px solid #ddd;
}
#nav.affix {
  position: fixed;
  top: 0;
  z-index: 10;
  transition: all 0.5s ease-in-out;
  /* -webkit-transition: all 0.5s ease-in-out; */
}
#headershadow {
  background: url(../img/interface/header_shadow.png) top center no-repeat;
  height: 75px;
  width: 100%;
  z-index: 999;
}
#headershadow.affix-top {
  position: static;
  top: 0;
}
.box {
  margin-bottom: 20px;
  padding: 30px 15px;
  background: #fff;
  background: rgba(255, 255, 255, 0.9);
  border-top: 3px solid #900;
  -webkit-box-shadow: 0 0 20px 6px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 0 20px 6px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 20px 6px rgba(0, 0, 0, 0.6);
}
.homeintrotext {
  margin-top: 0.25em;
}
.img-border,
.img-left {
  margin: 0 auto;
  float: none;
}
.intro-text {
  text-transform: uppercase;
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 1px;
}
.img-border {
  border: 1px solid #999;
}
footer {
  background: #900;
  background-color: rgba(153, 0, 0, 0.8);
}
footer p,
footer ul {
  margin: 0;
  padding: 16px 0 0;
  color: #ddd;
}
.footer-top {
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 0 2em;
  -webkit-box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2);
}
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  margin: 4em 0 0;
  padding-top: 2em;
  padding-bottom: 2em;
  -webkit-box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.3);
}
.embed-responsive .embed-responsive-item {
  border: 2px solid #ddd;
  padding: 16px;
}
.icon-list li {
  padding: 0 0 16px 32px;
  display: block;
  position: relative;
}
.icon-list li:before {
  font-family: "Glyphicons Halflings";
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 80%;
  color: #900;
}
.icon-list .inverse-list {
  color: #ddd !important;
}
.chevron-right li:before {
  content: "\e080";
}
.checkmark li:before {
  content: "\e067";
}
.arrow-right li:before {
  content: "\e092";
}
ol li,
ul li {
  margin: 0 0 0.4em;
}
.box.nested-row-spacer .row {
  padding: 15px 0;
}
.btn-gsm-default {
  color: #fff;
  background-color: #900;
  border-color: #46b8da;
}
.btn-gsm-default:focus,
.btn-gsm-default:hover {
  color: #fff;
  background-color: #bd0003;
  border-color: #46b8da;
}
.display-table {
  display: table;
  table-layout: fixed;
}
.display-cell {
  display: table-cell;
  vertical-align: middle;
  float: none;
}
.panel-group .panel {
  -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.panel-group .panel:hover {
  -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.6);
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.6);
}
.panel-default a {
  display: block;
  color: inherit;
  border: 0;
  padding: 5px;
}
.panel-heading {
  padding: 10px;
}
.panel-heading:focus,
.panel-heading:hover {
  color: #fff;
  background-color: #900;
  transition: all ease-in-out 0.3s;
}
.active-panel-heading {
  color: #fff !important;
  background-color: #900 !important;
  transition: all ease-in-out 0.3s !important;
}
.active-panel {
  color: #fff;
  background-color: #333;
  transition: all ease-in-out 0.3s;
}
.panel-heading:hover i.red-icon {
  color: #fff;
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate();
  transition: all ease-in-out 0.5s;
}
.panel-heading:hover img {
  border: 5px solid #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.1s;
}
.active-panel .panel-collapse.collapse.in p {
  color: #fff;
}
div[id^="pricenav_"] {
  margin-top: 6em;
}
div[id^="formarea_"] {
  border-bottom: 1px solid #999;
  margin: 0 0 2em;
}
.badge {
  font-size: 1.1em;
  background-color: #900 !important;
}
.nav.pricenav li a {
  -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.4);
  background: #eee;
  border-radius: 5px;
}
.nav.pricenav li a:hover {
  -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.6);
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.6);
  background: #900;
  color: #fff;
}
a.facebook {
  color: #4060a5;
}
a.facebook:hover {
  color: #2e4678;
}
a.twitter {
  color: #00abe3;
}
a.twitter:hover {
  color: #00779f;
}
.table-condensed > tbody > tr > td {
  border-top: 1px solid #666;
  padding: 1em;
}
.carousel-caption {
  color: #fff;
  padding: 1em;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid #900;
  font-size: 100%;
}
.carousel-caption h3 {
  font-size: 1em;
  margin: 0;
}
.carousel-caption p {
  font-size: 0.8em;
  color: #fff;
}

/*________________________________*/
/* booking system */

.circle {
  width: 4em;
  height: 4em;
  border-radius: 50%;
  background-color: darkred;
  color: white;
  font-size: 2em;
  padding: 1em;
  text-align: center;
  vertical-align: middle;
}

@media screen and (min-width: 480px) {
  .brand-name {
    font-size: 2.4em;
    margin-top: 4px;
  }
  .carousel-caption {
    color: #fff;
    padding: 1em;
    left: 0;
    right: 0;
    top: 0;
    height: 55%;
    background-color: #666;
    background-color: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid #900;
  }
  .carousel-caption h3 {
    font-size: 1.2em;
    margin: 0;
  }
  .carousel-caption p {
    font-size: 1em;
    color: #fff;
  }
}
select {
  color: #000;
}
@media screen and (max-width: 767px) {
  .brand,
  .mp-strapline {
    display: none;
  }
  .address-bar {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .address-bar span {
    padding: 0 1.5em;
  }
  .nav.navbar-nav > li {
    border-bottom: 1px dotted #ddd;
  }
  .nav.navbar-nav > li a:hover,
  .navbar-nav > li a:active {
    background-color: #900;
    color: #fff;
    transition: all ease-in-out 0.3s;
  }
  .nav.navbar-nav > .open > a:focus,
  .nav.navbar-nav > .open > a:hover {
    background-color: #f2dede;
    transition: all ease-in-out 0.3s;
  }
  .dropdown-menu {
    background-color: #ccc;
  }
  .dropdown-menu > li > a {
    border-bottom: 1px dotted #eee;
    background-color: #ddd;
  }
}
@media screen and (min-width: 768px) {
  .address-bar,
  .brand,
  .mp-strapline {
    display: inherit;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #fff;
  }
  .brand {
    margin: 0;
    padding: 20px 0 0;
    font-size: 3em;
    font-weight: 700;
    line-height: normal;
  }
  .brand-name {
    font-size: 2.4em;
    margin-top: 4px;
  }
  .top-divider {
    margin-top: 0;
  }
  .img-left {
    float: left;
    margin-right: 25px;
  }
  .address-bar,
  .mp-strapline {
    margin: 0;
    padding: 0 0 20px;
    text-transform: uppercase;
    font-size: 1.25em;
    font-weight: 400;
    letter-spacing: 2px;
  }
  .address-bar span {
    padding: 0 2em;
  }
  .navbar {
    border-radius: 0;
    min-height: 0;
  }
  .navbar-header {
    display: none;
  }
  .navbar-default {
    border: none;
    background: #fff;
    background: rgba(255, 255, 255, 0.94);
    -webkit-box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  .nav > li > a {
    padding: 1em 0.8em;
  }
  .navbar-nav > li > a {
    line-height: normal;
    color: #444;
  }
  .navbar-default .navbar-nav > li > a:active,
  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > li > a:hover {
    color: #fff;
    background-color: #900;
    transition: 0.3s ease-in-out all;
  }
  .nav.navbar-nav > .open > a:focus,
  .nav.navbar-nav > .open > a:hover {
    background-color: #f2dede;
    transition: all ease-in-out 0.3s;
  }
  .dropdown-menu {
    background-color: #ccc;
  }
  .dropdown-menu > li > a {
    border-bottom: 1px dotted #eee;
    background-color: #ddd;
  }
  .navbar-nav {
    display: table;
    float: none;
    margin: 0 auto;
    table-layout: fixed;
    font-size: 0.8em;
  }
  .carousel-caption {
    color: #fff;
    padding: 1em;
    left: 0;
    right: 0;
    top: 0;
    height: 50%;
    background-color: #444;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 3px solid #900;
  }
  .carousel-caption h3 {
    font-size: 1.8em;
  }
  .carousel-caption p {
    font-size: 1.4em;
    color: #fff;
  }
}
@media screen and (min-width: 1200px) {
  .box:after {
    content: "";
    display: table;
    clear: both;
  }
  .nav > li > a {
    padding: 1.25em 1em;
  }
  .navbar-nav > li > a {
    line-height: normal;
  }
  .navbar-nav {
    display: table;
    float: none;
    margin: 0 auto;
    table-layout: fixed;
    font-size: 1em;
  }
  .carousel-caption {
    color: #fff;
    padding: 1em;
    left: 0;
    right: 0;
    top: 0;
    height: 50%;
    background-color: #444;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 3px solid #900;
  }
  .carousel-caption h3 {
    font-size: 2em;
  }
  .carousel-caption p {
    font-size: 1.6em;
    color: #fff;
  }
}
footer p a {
  color: #ffffff;
}
footer p a:hover {
  color: #ffffff;
}
.demo {
  background: #f8f8f8;
}
.testimonial {
  margin: 0 20px 40px;
}
.testimonial .testimonial-content {
  padding: 35px 25px 35px 50px;
  margin-bottom: 35px;
  background: #fff;
  border: 2px solid #f0f0f0;
  position: relative;
}
.testimonial .testimonial-content:after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #fff;
  position: absolute;
  bottom: -10px;
  left: 22px;
  transform: rotate(45deg);
}
.testimonial-content .testimonial-icon {
  width: 50px;
  height: 45px;
  background: #ab0000;
  text-align: center;
  font-size: 22px;
  color: #fff;
  line-height: 42px;
  position: absolute;
  top: 37px;
  left: -19px;
}
.testimonial-content .testimonial-icon:before {
  content: "";
  border-bottom: 16px solid #e41212;
  border-left: 18px solid transparent;
  position: absolute;
  top: -16px;
  left: 1px;
}
.testimonial .description {
  font-size: 15px;
  font-style: italic;
  color: #8a8a8a;
  line-height: 23px;
  margin: 0;
}
.testimonial .title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #525252;
  text-transform: capitalize;
  letter-spacing: 1px;
  margin: 0 0 5px 0;
}
.testimonial .post {
  display: block;
  font-size: 14px;
  color: #ab0000;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
  background: #ab0000;
}

/* ===== add custom css by kamal ====== */
/* default.html file css */
.noscript-iframe-child {
  display: none;
  visibility: hidden;
}
.modal-body-heading {
  text-align: center;
}

/* driving-lessons-barkingside.html file css */
.col-lg-12 > .heading-text,
.heading-text,
.most-recent-heading {
  text-align: center;
}

.talk-today-heading {
  text-align: center;
  color: #990000;
}

/* driving-lessons-buckhurst-hill.html css */
.review-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  overflow: hidden;
  box-shadow: 0 0 0.7px 0 black;
  border-radius: 5px;
}

.review-container > .stars-containers {
  display: flex;
  align-content: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.star {
  width: clamp(1.5rem, 4vw, 3rem); /* Responsive sizing */
  max-height: 48px;
}

.review-text {
  font-size: clamp(14px, 3vw, 30px);
  font-weight: 600;
  margin: 0.5rem 0;
  font: bold 600 1.2em Arial, sans-serif;
  text-align: center;
  padding: 25px 0;
  font-weight: 600;
  color: #044ca4;
}

/* driving-schools-manor-park */
.course-heading {
  font-weight: bolder;
  font-family: "Titillium Web", sans-serif;
  color: gray;
  font-size: 20px;
}
.course-list > li::before {
  content: "- ";
  font-size: 20px;
}
.course-list {
  list-style-type: none;
  padding-left: 20px;
  color: gray;
  margin-top: 10px;
}

/* Mobile-first adjustments */
@media (max-width: 480px) {
  .stars-containers {
    gap: 0.2rem;
  }
}
@media (min-width: 768px) {
  .review-text {
    padding: 25px 0;
  }
}
@media (min-width: 992px) {
  .star {
    display: inline-block;
    font-size: 20px;
    margin: 10px 0 10px 0;
    width: 48px;
    height: 48px;
  }
  .review-text {
    font-size: 30px;
    font: bold 600 1.2em Arial, sans-serif;
    margin: 20px 0;
    padding: 25px 0;
    font-weight: 600;
  }
  .stars-containers {
    gap: 0.3rem;
  }
}

/* second */
@media (min-width: 992px) {
  .container > .row > .col-md-12 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 512px) {
  .container > .row > .col-md-12 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
  .review-container {
    box-shadow: none;
  }
}

@media (min-width: 512px) and (max-width: 992px) {
  .container > .row > .col-md-12 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 equal columns */
    grid-gap: 20px;
  }
}

.click-to-see-btn {
  margin-top: 20px;
}
