/* 
 Theme Name:   Top_star_driving
 Theme URI:    
 Description:  child theme of Twenty Nineteen
 Author:       topstardriving_admin
 Author URI:   https://topstardriving.com/
 Template:     twentynineteen
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/


@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Bold.woff2') format('woff2'),
        url('./fonts/Gilroy-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Light.woff2') format('woff2'),
        url('./fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Black.woff2') format('woff2'),
        url('./fonts/Gilroy-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-SemiBold.woff2') format('woff2'),
        url('./fonts/Gilroy-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Medium.woff2') format('woff2'),
        url('./fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Thin.woff2') format('woff2'),
        url('./fonts/Gilroy-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Regular.woff2') format('woff2'),
        url('./fonts/Gilroy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
html {
    scroll-behavior: smooth !important;
    margin-top: 0px !important;
}
a:hover {
    text-decoration: none;
}
.btn{color: #fff;}

.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1200px;
}
#masthead {
    /*position: fixed;*/
   /* top: 0;
    left: 0;top: -30px;
    right: 0;*/
   /* z-index: 999;
    transition: all 1000ms ease-in-out;
    background: #fff;
    top: -220px;
    border-bottom: 1px solid #eeeeee;*/
}
.page-template.top-driving-body-custom {
    padding-top: 15px;
}
.page-template.top-driving-body-custom .nav-bar.scroll-bar.fixed-header {
    z-index: 999;
    transition: all 1000ms ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
}
.announcment-bar {
    /*background: #1b1c20;*/
    padding: 11px 0;
	background-repeat: no-repeat;
  background-position:
center center;
  background-image: url('https://topstardriving.com/wp-content/uploads/2020/09/header-bg.jpg');
  background-size: cover;
}
.announcment-bar .new-announcment {
	text-align: center;
}
.announcment-bar .new-announcment .new-bar .announcment-hyperlink {
	margin-right: 0;
	margin-left: 0;
}

.announcment-bar .new-announcment .new-bar-li {
	margin-right: 0;
}

.announcment-bar .container {
    max-width: 100%;
    padding: 0 15px;
}
.announcment-bar .contact-detail ul {
    margin: 0;
    padding: 0;
    line-height: 12px;
}
.announcment-bar .contact-detail li {
    display: inline-block;
    margin: 0;
    padding: 0;
    /*margin-right: 15px;*/
    color: #fff;
    font-family: 'Gilroy';
    font-size: 15px;
    line-height: 20px;
    border-right: 1px solid #fff;
}
.announcment-bar .contact-detail li:last-child {
    border: none;
}
.announcment-bar .contact-detail li a {
    color: #fff;
    margin-left: 5px;
    margin-right: 20px;
}
.announcment-bar .contact-detail li a:hover {
    opacity: 0.8;
}
.announcment-bar .social-right .social-links-menu {
    display: inline-block;
}
.announcment-bar .social-right .social-navigation {
    margin: 0;text-align: left;line-height: 12px;
}
.announcment-bar .social-right .social-navigation ul.social-links-menu {
    line-height: 12px;
}
.social-navigation ul.social-links-menu li {
    border-right: 0px solid #fff;
}
.social-navigation ul.social-links-menu li:last-child {
    border: none !important;
}
.social-navigation ul.social-links-menu li:last-child a {
    margin-right: 0;
}
.social-navigation ul.social-links-menu li a {
   width: 30px;
  height: 30px;
  line-height: 30px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin-left: 5px;
  border-radius:50px;
  transition:all .5s ease-in-out;
}
.announcment-bar .social-right li a {
    color: #fff !important;
    transition: opacity 110ms ease-in-out;
    font-family: 'Gilroy';
    text-transform: lowercase;
    font-weight: normal;
    font-size: 15px;
    padding: 0;
    margin: 0;
    line-height: 20px;
    margin: 0 15px;
}
.site-header {
    margin: 0;
    padding: 0;
}

.top-nav {
    padding: 0;
    margin: 0;
}

.top-nav-bar .container {
    max-width: 100%;
    padding: 0 40px;
}
.top-nav-bar .nav-bar .navbar-brand {
    display: none;
}
.top-nav-bar .nav-bar .custom-logo-link {
    border-right: 1px solid #eeeeee;
    padding-right: 40px;
    height: 100%;
    float: left;
    align-items: center;
    display: flex;
}
.top-nav-bar .nav-bar .navbar-collapse {
    justify-content: center;height: 100%;
}


#masthead .top-nav-bar .scroll-bar {
    /*position: fixed;*/
    opacity: 0;
    visibility: hidden;
    left: 0px;
    top: 0px;display: none;
    width: 100%;
    padding: 0px 0px;
    padding-top: 0px;
    z-index: 0;
    transition: all 500ms ease;
    right: 0;
    margin: 0 auto;
}
.top-driving-body-custom #masthead .top-nav-bar .scroll-bar.fixed-header{
    background: #fff;
    margin: 0 auto;
    z-index: 999;
    opacity: 1;border-bottom: 1px solid #eee;
    visibility: visible;
    animation-name: fadeInDown;
    animation-duration: 400ms;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    padding-top: 0rem;
    height: auto;
    display: flex;
    position: fixed;
}
@-webkit-keyframes fadeInDown {
    from {
        opacity:0;
        -webkit-transform: translatey(-10px);
        -moz-transform: translatey(-10px);
        -o-transform: translatey(-10px);
        transform: translatey(-10px);
    }
    to {
        opacity:1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}
@-moz-keyframes fadeInDown {
    from {
        opacity:0;
        -webkit-transform: translatey(-10px);
        -moz-transform: translatey(-10px);
        -o-transform: translatey(-10px);
        transform: translatey(-10px);
    }
    to {
        opacity:1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}
@keyframes fadeInDown {
    from {
        opacity:0;
        -webkit-transform: translatey(-10px);
        -moz-transform: translatey(-10px);
        -o-transform: translatey(-10px);
        transform: translatey(-10px);
    }
    to {
        opacity:1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}
body.page .main-navigation {
    display: block;
    height: 100%;
}

.top-nav-bar .nav-bar .main-navigation .main-menu li {
    line-height: 10px !important;
    letter-spacing: 0 !important;
    display: inline-block;
    padding: 42px 0;
    position:relative;
}
.top-nav-bar .nav-bar .main-menu-more {
    display: none;
}
.top-nav-bar .nav-bar .main-navigation .main-menu li a {
    color: #000000;text-decoration: none;
    font-weight: 500;outline: none;
    font-family: 'Gilroy';
    font-size: 15px;
    position: relative;
    margin-right: 49px;
    letter-spacing: 0;
    padding-bottom: 12px;
    transition: all 0.5s ease-in-out;
}

.top-nav-bar .nav-bar .main-navigation .main-menu li.current_page_item a::before,
.top-nav-bar .nav-bar .main-navigation .main-menu li.current_page_item a::after{bottom: 0;opacity: 1}


.top-nav-bar .nav-bar .main-navigation .main-menu li a::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 20px;
    background: #c62827;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    left: 0;
    bottom: 10px;
    opacity: 0;
}
.top-nav-bar .nav-bar .main-navigation .main-menu li a:hover::before {transition: all 0.3s ease-in-out;bottom: 0;opacity: 1}

.top-nav-bar .nav-bar .main-navigation .main-menu li a::after {
    position: absolute;
    content: "";
    height: 3px;
    transition: all 0.3s ease-in-out;
    width: 6px;
    background: #c62827;
    border-radius: 30px;
    left: 23px;
    bottom: 10px;
    opacity: 0;
}
.top-nav-bar .nav-bar .main-navigation .main-menu li a:hover::after {transition: all 0.3s ease-in-out;bottom: 0;opacity: 1 }

.top-nav-bar .nav-bar .main-navigation .main-menu li:last-child a {margin: 0; }

.top-nav-bar .site-location {
    border-left: 1px solid #eeeeee;
    padding-left: 40px;
    align-items: center;
    display: flex;
}
.top-nav-bar .site-location .location-wrap h3 {
    margin: 0;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 16px;
    color: #c62827;
    text-transform: capitalize;
}
.location-wrap h3 {
    text-transform:none !important;
}
.top-nav-bar .site-location .location-wrap p {
    color: #1b1c20;
    margin: 0;
    line-height: 30px;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
}
.top-nav-bar .site-location .location-wrap {
    display: flex;
width: 100%;
align-items: center;
justify-content: space-between;
padding-left: 32px;
background-image: url(https://topstardriving.com/wp-content/uploads/2020/09/phone-icon.png);
background-repeat: no-repeat;
background-position: left center;
}
.top-nav-bar .site-location .location-wrap .location-box {
    width: 100%;
}
#LocationDetails, .top-nav-bar .site-location .location-wrap #LocationDetails option {
    -moz-appearance: none;
    border: none;
    color: #fff;
    background-color:transparent; 
    margin: 0;outline: none;
    cursor: pointer;
    line-height: 25px;
    font-family: 'Gilroy';
    font-weight: 500;
    text-align: center !important;
    font-size: 15px;
    width: 90%;
    display: block !important;
    -webkit-appearance: none;
    background-image: url(https://topstardriving.com/wp-content/uploads/2020/10/Video_player_more-512.png);
    background-repeat: no-repeat;
    background-position: 85% center;
    background-size: 18px;
}
.top-nav-bar .site-location .location-wrap .location-dropdown i {
    color: #fff;
    font-size: 9px;
    background: #000;
    border-radius: 100%;
    height: 24px;
    width: 24px;
    text-align: center;
    line-height: 25px;
}

/*sub menu styling 3/5/2022*/
.top-nav-bar .nav-bar .main-navigation .main-menu .sub-menu {
	background-color: #fff;
	box-shadow: 0px 0px 6px -1px rgba(0, 0, 0, 0.30);
}

.top-nav-bar .nav-bar .main-navigation .main-menu .sub-menu li {
	display: block;
	padding: 5px 0;
}

.top-nav-bar .nav-bar .main-navigation .main-menu .sub-menu li a {
	margin-right: 0;
}
.top-nav-bar .nav-bar .main-navigation .main-menu .sub-menu li a:hover {
	background-color: transparent;
}
.top-nav-bar .nav-bar .main-navigation .main-menu .sub-menu li a:focus {
	background-color: transparent;
}
/*sub menu styling 3/5/2022 end*/

.home {
    position: relative;/*padding-top: 70px !important;*/
}
.page-template {
    position: relative;
    /*padding-top: 148px;*/
}
.home .scroll {
    position: absolute;
    bottom: 20px;
    left: 0;outline: none;
    right: 0;text-decoration: none;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 14px;
    width: 90px;
}
.home .scroll span {
    display: inline-block;
    height: 44px;
    width: 28px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #e60004;
    position: relative;
}
.home .scroll span::before {
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    content: "";
    height: 14px;
    width: 6px;
    background: #c62827;
    left: 0;
    right: 0;
    top: 20px;
    border-radius: 30px;
    bottom: 0;
    margin: auto;
}
@keyframes MoveUpDown {
  0%, 100% {
    bottom: 0;
  }
  50% {
    bottom: 50px;
  }
}
.home .scroll p {
    margin: 0;
    line-height: 15px;
}
.home .home-slider {
    height: 600px;
}
.home .home-slider .slide-arrow {
    top: 91%;
}
.banner-slider .img-responsive.img-fluid {
    width: 100%;object-fit: cover;
    height: 100%;
}
.home .home-slider .slick-list.draggable {
    height: 100%;
}
.home .home-slider .slick-list {
    height: 100%;
}
.home .home-slider .slick-list.draggable .slick-track {
    height: 100%;
}
.home .home-slider .slide-arrow.prev-arrow {
    left: 40px;
    border: none;
    z-index: 99;
}
.home .home-slider .slide-arrow.next-arrow {
    left: 100px;
    border: none;
    z-index: 99;
}
.home .home-slider .fas {
    width: 50px;
    height: 50px;
    font-size: 16px;
    display: inline-block;
    opacity: 1;
    background: #fff;
    color: #000;
    border-radius: 100%;
    line-height: 50px;
}

.banner-slider {
    position: relative;
}
.banner-slider .banner-caption {
    position: absolute;
    bottom: 20px;
    right: 40px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;
    background-image: url(https://topstardriving.com/wp-content/uploads/2020/09/Star-Decoration-2.png);
    background-repeat: no-repeat;
    background-position: 97% 90%;
    padding: 62px 54px;
    color: #fff;
    font-family: 'Gilroy';
    width: 725px;
    left: auto;
}
.banner-slider .banner-caption h3 {
    position: relative;
    font-family: 'Gilroy';
    font-weight: bold;
    font-size: 36px;
    margin: 0;
    padding-bottom: 15px;
    margin-bottom: 23px;
}
.banner-slider .banner-caption h3 span {font-weight: 300; }
.banner-slider .banner-caption .btn {
    font-weight: 600;color: #fff;
    font-size: 16px;
    margin-top: 43px;
    height: 50px;
    min-width: 160px;
    line-height: 30px;
    background: #c62827;
    border: 1px solid #c62827;
}
.banner-slider .banner-caption .btn:hover {
    background: transparent;
    border: 1px solid #fff;
}

.banner-slider .banner-caption p {
    font-size: 18px;
    font-family: 'Gilroy';
    font-weight: 500;
    margin: 0;
    line-height: 29px;
}
.banner-slider .banner-caption h3::before {
    position: absolute;
    content: "";
    height: 4px;
    width: 40px;
    background: #c62827;
    border-radius: 30px;
    left: 0;
    bottom: 0;
}
.banner-slider .banner-caption h3::after {
    position: absolute;
    content: "";
    height: 4px;
    width: 10px;
    background: #c62827;
    border-radius: 30px;
    left: 50px;
    bottom: 0;
}



.driving-school {
    background-color: #fff;
    background-image: url(https://topstardriving.com/wp-content/uploads/2020/09/Star-Decoration-1.png);
    background-repeat: no-repeat;
    background-position: 40px 40px;
    padding: 95px 0;
}

.driving-school .heading-wrap h4 {
    font-size: 36px;
    text-transform: capitalize;
    color: #c62827;
    font-family: 'Gilroy';
    font-weight: bold;
	padding-bottom: 30px;
}
.driving-school .training-wrap {
    margin-top: 45px;
}
.driving-school .training-box {
    background: #fff;
    border-radius:15px 15px 15px 15px;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
  padding:2px 20px 0 20px;
  position: relative;
}
.driving-school .training-box .img-wrap {
    border-radius: 10px 10px 0 0;height: 250px;
	overflow:hidden;
  margin-top: -33px;
}
.driving-school .training-box .img-wrap img {
    border-radius: 10px 10px 0 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  position: relative;
	-webkit-transition: 0.3s;
}
.driving-school .training-box:hover .img-wrap img {
  transform: scale(1.2);
}

.driving-school .training-box .title {
    font-size: 18px;
    font-family: 'Gilroy';
    font-weight: bold;color: #1b1c20;
    margin: 0;text-decoration: none;
    text-align: center;
    padding: 16px 0;
}
.driving-school .training-box .title:hover {
    color: #c62827;
}

.classorcourse {
    padding:97px 0;
  background-repeat: no-repeat;
  background-position:top center;
  background-image: url(https://dev.topstardriving.com/wp-content/uploads/e-learning-bg.png);
}
.classorcourse .container .row {
    margin: 0 auto;
}
.classorcourse .course-box {
    text-align: center;
    position: relative;
    padding: 75px 85px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-blend-mode: multiply;
    filter: contrast(130%);
}

.classorcourse .course-box:first-child {
    /*background: url(https://topstardriving.com/wp-content/uploads/2020/09/Ladyer-9.jpg);*/
    border-radius: 0 0 0 10px;
}
.classorcourse .course-box:first-child::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;border-radius: 0 0 0 10px;
    left: 0;
    background: transparent;
}

.classorcourse .course-box:first-child .title .btn{background:#1b1c20 }
.classorcourse .course-box:last-child .title .btn{background:#c62827}



.classorcourse .course-box:last-child {
    /*background: url(https://topstardriving.com/wp-content/uploads/2020/09/Layer-10.jpg);*/
    border-radius:0 0 10px 0px;
    color: #fff;
	border-left: 1px solid #fff;
}
.classorcourse .course-box:last-child::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0; 
    border-radius:0 0 10px 0px;
    left: 0;
    background: transparent;
}
.classorcourse .course-box .title {
    position: relative;
    z-index: 9;
}
.classorcourse .course-box .title h5 {
    font-family: 'Gilroy';
    font-weight: bold;
    color: #fff;
    min-height: 85px;
    font-size: 23px;
    margin: 0;
}
.classorcourse .course-box .title p {
    font-size: 16px;
    font-family: 'Gilroy';
    color: #fff;
    font-weight: 500;
    line-height: 25px;
}
.classorcourse .course-box .title .btn {
    font-family: 'Gilroy';
    font-weight: 600;color: #fff;
    font-size: 16px;margin-top: 12px;
    height: 50px;border: 1px solid #fffb;
    min-width: 160px;
    line-height: 30px;
}


.company-data {
  color: #C62827;
  padding:45px 0;
  position: relative;
  background:url(https://topstardriving.com/wp-content/uploads/2020/09/Star-Decoration2.png);
  background-repeat: no-repeat;
  background-position:6.7% 15.5%;
}
.company-data .star-box {
    position: absolute;
    top: -65px;
    left: 2%;
}
.company-data .title {
    border-right: 1px solid #e8e8e8;
    padding: 20px 0;
}
.company-data .col-lg-3:last-child .title {
    border: none;
}
.company-data .title h5 {
    margin-bottom: 3px;
    margin-top: 0;
}
.company-data .title h5 p {
   font-size: 40px;
  font-family: 'Gilroy';
  font-weight: bold;
  color: #1b1c20;
}
.company-data .title p {
    font-size: 16px;
    font-family: 'Gilroy';
    font-weight: 500;
    margin: 0;
}
.video_with_text {
	padding: 60px 0;
	text-align: center;
	background-size: cover;
  background-repeat: no-repeat;
  background-position:
top center;
  background-attachment: fixed;
  background-image: url(https://dev.topstardriving.com/wp-content/uploads/why-learn-bg.png);
}
}
.video_with_text .left-sec {
    padding-right: 15px;
}
.video_with_text .left-sec h5 {
    font-family: 'Gilroy';
    font-weight: bold;
    color: #1b1c20;
    font-size: 34px;
    margin: 0;
    position: relative;
    line-height: 32px;
    padding-bottom: 24px;
}

.video_with_text .left-sec h5 span {color: #c62827; }

.video_with_text .left-sec h5::before {
	position: absolute;
	content: "";
	height: 4px;
	width: 40px;
	background: #c62827;
	border-radius: 30px;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
}
.video_with_text .left-sec h5::after {
	position: absolute;
	content: "";
	height: 4px;
	width: 10px;
	background: #c62827;
	border-radius: 30px;
	bottom: 0;
	right: 0;
	left: 60px;
	margin: 0 auto;
}
.video_with_text .left-sec ul {
	padding: 0;
	list-style: none;
	max-width: 540px;
	margin: 32px auto 0;
}
.video_with_text .left-sec ul li {
    position: relative;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 18px;
    padding-left: 27px;
    margin-bottom: 22px;
    line-height: 18px;
	text-align: left;
}
.video_with_text .left-sec ul li:last-child {
    margin: 0;
}
.video_with_text .left-sec ul li::before {
    position: absolute;
    content: "\f00c";
    font-size: 20px;
    color: #5fc816;
    left: 0;
    top: -2px;
    font-family: "Font Awesome 5 Free";
}
.video_with_text .right-sec .video-wrap {
    height: 380px;
    width: 100%;border-radius: 12px;
}
.video_with_text .right-sec .video-wrap iframe {
    width: 100%;border-radius: 12px;
    height: 100% !important;
}


#about-us {
    background: url(https://topstardriving.com/wp-content/uploads/2020/09/fff.jpg);
    padding: 115px 0px 85px 0px;position: relative;
    background-position: center;
    background-repeat: no-repeat;
}
#about-us .about-star {
    position: absolute;
    top: 50px;
    right: 50px;
}
#about-us .about-caption {
    background-color: transparent;
    border-radius: 10px;
    background-image: url(https://topstardriving.com/wp-content/uploads/2020/09/TSDS-icon-red.png);
    background-repeat: no-repeat;
    background-position: 98% 4%;
    -ms-flex: 0 0 660px;
    flex: 0 0 660px;
    max-width: 660px;
    padding: 30px 85px 60px 50px;
}
#about-us .about-caption h3 {
    font-size: 36px;
    position: relative;
    font-weight: bold;
    margin: 0;
    padding-bottom: 18px;
}
#about-us .about-caption h3::before {
    position: absolute;
    content: "";
    height: 4px;
    width: 40px;
    background: #c62827;
    border-radius: 30px;
    left: 0;
    bottom: 0;
}
#about-us .about-caption h3::after {
    position: absolute;
    content: "";
    height: 4px;
    width: 10px;
    background: #c62827;
    border-radius: 30px;
    left: 50px;
    bottom: 0;
}
#about-us .about-caption p {
    color: #666666;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    text-align: justify;
}
#about-us .about-caption .btn-wrap {
    margin-top: 45px;
}
#about-us .about-caption .btn {
    font-size: 16px;color: #fff;
    font-family: 'Gilroy';
    font-weight: 600;
    padding: 12px;
    background: #c62827;
    min-width: 160px;
    margin-right: 15px;
}
#about-us .about-caption .btn.btn-outline-danger {
    background: transparent;
    color: #c62827;
}
#about-us .about-caption .btn.btn-outline-danger:hover {
    background: #c62827;color:#fff; 
}


#packages {
    background: #f9e9e9;
    padding: 90px 0 100px;
    background-image: url(https://topstardriving.com/wp-content/uploads/2020/09/Star-Decoration-1.png);
    background-repeat: no-repeat;
    background-position: 96.7% 4.5%;
}
#packages .heading-wrap {
    margin-bottom: 55px;
}

#course .heading-wrap h2,
.Our-blog .heading-wrap h2,
#packages .heading-wrap h2,
#faq-driving .heading-wrap h2,
.what-we-offer .heading-wrap h2,
.contact-wrap .heading-wrap h2,
.contact-form .heading-wrap h2,
.registration-wrap .heading-wrap h2{
    color: #1b1c20;
    font-family: 'Gilroy';
    font-weight: bold;
    position: relative;
    font-size: 36px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 15px;
}
#course .heading-wrap h2{
	 color: #fff !important;
}

#course .heading-wrap h2::before,
.Our-blog .heading-wrap h2::before,
#packages .heading-wrap h2::before,
#faq-driving .heading-wrap h2::before,
.what-we-offer .heading-wrap h2::before,
.contact-wrap .heading-wrap h2:before,
.contact-form .heading-wrap h2:before,
.registration-wrap .heading-wrap h2::before{
    position: absolute;
    content: "";
    height: 4px;
    width: 40px;
    background: #c62827;
    border-radius: 30px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
}
#course .heading-wrap h2::after,
.Our-blog .heading-wrap h2::after,
#packages .heading-wrap h2::after,
#faq-driving .heading-wrap h2::after,
.what-we-offer .heading-wrap h2::after,
.contact-wrap .heading-wrap h2:after,
.contact-form .heading-wrap h2:after,
.registration-wrap .heading-wrap h2::after{
    position: absolute;
    content: "";
    height: 4px;
    width: 10px;
    background: #c62827;
    border-radius: 30px;
    left: 70px;
    bottom: 0;
    right: 0;
    margin: 0 auto;
}

#packages .package-box {
    background: #fff;
    border-radius: 10px;
    padding-bottom: 85px;
    height: 100%;
	box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.1);
}
#packages .package-box:hover {
    box-shadow: 0px 0 15px 0px #ccc;
}
#packages .package-box .package-heading {
    text-align: center;
    position: relative;
    padding: 32px 0 25px;
    border-bottom: 1px solid #e4e4e4;
}
#packages .package-box p{
	text-align: center;
    padding:20px 0 0;
}
#packages .package-box .package-heading h5 {
    position: absolute;
    background: #5fc816;
    border-radius: 30px;
    color: #fff;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 600;
    height: 30px;
    max-width: 100px;
    line-height: 26px;
    bottom: -15px;
}
#packages .package-box h3 {
    margin: 0;
    line-height: 15px;
    font-family: 'Gilroy';
    display: flex;
    font-size: 25px;
    justify-content: center;
}
#packages .package-box h6 {
    color: #c62827;
    font-family: 'Gilroy';
    font-weight: 800;
    font-size: 17px;
    margin: 7px 0 0;
}
#packages .package-box h6.top-star-original-price {
    font-size: 15px;
color: #1b1c20ad;
}
#packages .package-box h3 span:first-child {
    margin-right: 14px;
    margin-left: 0;
    font-weight: bold;
    font-size: 20px;
    color: #1b1c20;
}
#packages .package-box h3 span {
    color: #c62827;
    font-weight: 900;
    font-size: 26px;
    margin-left: 13px;
}
#packages .package-box ul {
    padding: 0 40px;
    list-style: none;
    margin: 20px 0;
}
#packages .package-box ul li {
    font-size: 15px;
    font-family: 'Gilroy';
    font-weight: 600;
    padding-left: 28px;
    position: relative;
    margin-bottom: 25px;
}
#packages .package-box ul li::before {
    position: absolute;
    content: "\f00c";
    font-size: 20px;
    color: #5fc816;
    left: 0;
    top: -5px;
    font-family: 'Font Awesome 5 Free';
}

#packages .package-box .btn-wrap {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 35px;
}

#packages .package-box .btn-wrap .btn {
    font-size: 16px;
    font-weight: 600;color: #fff;
    font-family: 'Gilroy';
    background: #c62827;
}
#packages .package-box .btn-wrap .btn:hover {
    border-color: #dc3545;color:#dc3545;background:transparent;
}




#course {
    /*background: #f8f8f8;*/
    padding: 90px 0 80px;
	background-image: url(https://dev.topstardriving.com/wp-content/uploads/lesson-bg.jpg);
  background-repeat: no-repeat;
  background-position:center;
  background-size: cover;
  background-attachment: fixed;
}


#course .table {
    margin-top: 40px;
    box-shadow: none;
    border-radius: 10px;
    border-spacing: 0;
    border-collapse: collapse;
    overflow: hidden;
}
#course .table thead {
    height: 80px;
}
#course table td,
#course table th {
    padding: 0px 30px;
}
#course table td:last-child, 
#course table th:last-child {
    padding: 0 10px;
}
#course table td, #course table th {
    border: none;
}
#course table th:nth-child(2) {
    /*border-right: 1px solid #e03837;*/
    border-left: 1px solid #e03837;
}
#course table td:nth-child(2) {
    /*border-right: 1px solid #f1f1f1;*/
    border-left: 1px solid #f1f1f1;
        width: 40%;
}
#course table thead th:first-child {
    font-family: 'Gilroy';
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px 0 0 0;
}
#course table thead th:last-child {
    border-radius: 0 10px 0 0;
}
#course table thead th {
    background: #c62827;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    vertical-align: middle;
    padding: 11px;
    line-height: 20px;
    padding: 20px 30px;
}
#course table td {
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    font-weight: 600;
    font-family: 'Gilroy';
    padding: 0px 30px;
}
#course .table-striped tbody tr:nth-of-type(2n+1) {
    background-color: #fff;
}
.table-striped tbody tr:nth-of-type(2n) {
    background: #f8f8f8;
}
#course .table-striped tbody tr:last-child {
    height: 52px;
}
.accordion .card-header:after {
    font-family: 'FontAwesome';  
    content: "\f068";
    float: right; 
}
.accordion .card-header.collapsed:after {
    content: "\f067"; 
}



.Our-blog {
    padding: 80px 0;
}
.Our-blog .heading-wrap.text-center {
    margin-bottom: 40px;
}
.Our-blog .blog-inner {
    box-shadow: 0px 0 15px 5px #f5f5f5;
    border-radius: 10px;
}
.Our-blog .blog-inner .left-wrap p {
    color: #1b1c20;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
}
.Our-blog .blog-inner .left-wrap .btn {
    font-family: 'Gilroy';border: 1px solid #e5e5e5;
    font-weight: 500;
    font-size: 14px;
    color: #999999;
}
.Our-blog .blog-inner .left-wrap .btn:hover {
    color: #fff;
    background: #c62827;
    border: 1px solid #c62827;
}

.Our-blog .blog-inner .blog-box {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.Our-blog .blog-inner .left-wrap .left-box {
    padding: 20px 0px 20px 30px;
}

.Our-blog .blog-inner .right-box .img-wrap {
    height: 320px;
}
.Our-blog .blog-inner .left-wrap {
    display: flex;
    align-items: center;
}
.Our-blog .blog-inner .right-box {
    padding-left: 0;
}
.Our-blog .blog-inner .right-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0 10px 10px 0;
}


.learning-detail {
    background: #c62827;
    position: relative;
    padding: 55px 0;
}
.learning-detail .star-box {
    position: absolute;
    top: -65px;
    left: 1.5%;
}
.learning-detail .left-box h2 {
    font-size: 36px;
    color: #fff;
    font-family: 'Gilroy';
    margin: 0;
    font-weight: bold;
    margin-bottom: 10px;
}
.learning-detail .left-box h2::before {
    display: none;
}

.learning-detail .left-box p {
    margin: 0;
    color: #fff;
    font-family: 'Gilroy';
    font-size: 16px;
    font-weight: 500;
}

.learning-detail .right-box {
    text-align: right;
    border-left: 1px solid #d43e3d;
    justify-content: flex-end;
}
.learning-detail .right-box h5 {
    float: left;
    background: url(https://topstardriving.com/wp-content/uploads/2020/09/cell-2-0-480.png);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 50px;margin: 0;
}
.learning-detail .right-box h5 a{
    color: #fff;
    font-size: 24px;
    font-weight: 300;
}
.learning-detail .right-box .btn {
    font-weight: 600;
    font-family: 'Gilroy';
    font-size: 16px;
    height: 50px;
    padding: 0;
    color: #fff;
    line-height: 47px;
    min-width: 182px;
    margin-left: 20px;
    border:1px solid #23272b;
}
.learning-detail .right-box .btn:hover {background: transparent; color: #fff; border:1px solid #fff; }

#site-footer {
    padding: 75px 0 35px;
   /* background: url(https://topstardriving.com/wp-content/uploads/2020/09/Star-Decoration2.png);
    background-repeat: no-repeat;
    background-position: 96.7% 15.5%;*/
	background-image: url(https://dev.topstardriving.com/wp-content/uploads/footer-bg.png);
    background-repeat: no-repeat;
    background-position:
center top;
}
#site-footer .logo-box .logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
#site-footer .logo-box .logo-wrap img {
    background: #fff;
    padding-right: 25px;
    width: 210px;
}
#site-footer .logo-box .logo-wrap::before {
    position: absolute;
    content: "";
    height: 1px;
    width: 100%;
    background: #ebebeb;
}
#site-footer .left-box .footer-nav {
    margin-top: 23px;margin-bottom: 20px;
}
#site-footer .left-box .footer-nav li {
    margin-right: 40px;
}
#site-footer .left-box .footer-nav a {
    color: #000000;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 15px;
}
#site-footer .left-box .footer-nav a:hover,#site-footer .social-box .contact a:hover {opacity: 0.45; }

#site-footer .left-box .content p {
    color: #666666;
    font-weight: 500;
    font-family: 'Gilroy';
    font-size: 14px;
    padding-right: 40px;
}
#site-footer .social-box {
    border-right: 1px solid #ebebeb;
   /* padding-left: 112px;
    margin-left: -30px;*/
}
#site-footer .social-box .social-navigation .menu-item a {
    color: #1b1c20;
    font-family: 'Gilroy';
    font-weight: 500;text-transform: capitalize;
    font-size: 14px;
    border-right: 0px solid #1b1c20;
    line-height: 10px;
    padding-right: 24px;
    margin-right: 14px;
}
#site-footer .social-box .social-navigation .menu-item:last-child a {
    border: none;
    padding: 0;
    margin: 0;
}
#site-footer .social-box .social-navigation .menu-item a:hover {opacity: 0.45; }
#site-footer .social-box .contact a,#site-footer .social-box .contact li {
    color: #1b1c20;
    font-weight: 500;
    font-family: 'Gilroy';
    font-size: 15px;
}

#site-footer .social-box .contact ul {
    padding: 0;list-style: none;
    margin-top: 30px;
}
#site-footer .footer-bottom {
    text-align: center;
    background: #ebebeb;
    padding: 13px 0;
    margin-top: 55px;
}
#site-footer .footer-bottom p {
    margin: 0;
    font-weight: 500;
    font-family: 'Gilroy';
    font-size: 14px;
    color: #1b1c20;
}





button{
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.slide-arrow{
  position: absolute;
  top: 50%;
  margin-top: -15px;
}
.prev-arrow{
  left: -40px;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 15px solid #113463;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.next-arrow{
  right: -40px;
  width: 0;
  height: 0;
  border-right: 0 solid transparent;
  border-left: 15px solid #113463;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.page-header {
    background: url(https://dev.topstardriving.com/wp-content/uploads/page-header-1.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 450px;
    display: flex;
    align-items: center;
}
.page-header .left h2 {
    color: #fff;
    font-size: 36px;margin: 0;
    font-family: 'Gilroy';
    font-weight: 900;
    text-transform: capitalize;
    letter-spacing: 4px;
}
.page-header .left h2::before {
    display: none;
}
.page-header .right {
    text-align: right;
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 15px;
}
.page-header .right a {
    color: #fff;
    position: relative;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 15px;
}
.page-header .right a:hover {
    color: #c62827;
}
.page-header .right a::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 5px;
    background: #fff;
    right: -10px;
    top: 10px;
}
#faq-driving {
    padding: 95px 0 120px;
}

#faq-driving #accordion {
    margin-top: 36px;
}
#faq-driving #accordion .card {
    border-radius: 0;
    margin-bottom: 11px;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

#faq-driving .accordion__header.is-active {
    background-color: #f9e9e9;
}
#faq-driving .accordion__header a {
    margin: 0;
    font-family: 'Gilroy';
    font-weight: bold;
    font-size: 24px;
}
#faq-driving .accordion .accordion__body {
    border-top: none;
    margin: 0; display: none;
    padding: 36px 50px;
    background: #f9e9e9;
}
#faq-driving .accordion .accordion__body p {
    color: #666666;margin: 0;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 16px;
}

#faq-driving .accordion .accordion__header {
    padding: 12px 50px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-top: 11px;
    border: 1px solid #ebebeb;
}
#faq-driving .accordion .accordion__header.is-active {
    background-color: #f9e9e9;
    padding: 30px 50px 0;border: none;
}
#faq-driving .accordion {
    overflow-anchor: none;
    margin-top: 35px;
}
#faq-driving .accordion .accordion__header.is-active .accordion__toggle {
    background: #c93534;
}
#faq-driving .accordion .accordion__header > * {
    margin: 0;
    font-family: 'Gilroy';
    font-weight: bold;
    font-size: 20px;
}
#faq-driving .accordion .accordion-box {
    margin-bottom: 11px;
}

#faq-driving .accordion .accordion__toggle {
    margin-left: 10px;
    height: 3px;
    background-color: #222;
    width: 13px;
    display: block;
    position: relative;
    flex-shrink: 1;
    border-radius: 2px;
}

#faq-driving .accordion .accordion__toggle::before {
    content: "";
    width: 3px;
    height: 13px;
    display: block;
    background-color: #222;
    position: absolute;
    top: -5px;
    left: 5px;
    border-radius: 2px;
}


#faq-driving .accordion .is-active .accordion__toggle::before {display: none; }
#faq-driving .accordion .accordion__body.is-active {display: block; padding-top: 20px;margin-bottom: 30px;
}
.about_text {
    padding: 100px 0;
}
.about_text .left-sec {
    padding-right: 40px;
}
.about_text .left-sec h5 {
    color: #1b1c20;
    font-size: 24px;
    font-family: 'Gilroy';
    font-weight: bold;
    line-height: 32px;
    margin-bottom: 35px;
}
.about_text .left-sec h5 span {
    color: #e60004;
    font-weight: normal;
}
.about_text .left-sec p {
    color: #666666;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 15px;
}
.about_text .right-sec .img-wrap {
    border-radius: 10px;
}
.about_text .right-sec .img-wrap img {
    border-radius: 10px;
}
.what-we-offer {
    background: url(https://dev.topstardriving.com/wp-content/uploads/lesson-bg.jpg);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    padding: 95px 0;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
}
.what-we-offer::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: transparent;
    top: 0;
    left: 0;
}
.what-we-offer .container {
    position: relative;
    z-index: 99;
    color: #fff;
}
.what-we-offer .heading-wrap {
    margin-bottom: 50px;
}
.what-we-offer .heading-wrap h2 {
    color: #fff;
}
.what-we-offer .heading-wrap p {
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    margin-top: 13px;
}
.what-we-offer .offer-list {
    padding: 63px 60px;
    border-radius: 10px;
}
.what-we-offer .offer-wrap:first-child .offer-list {
    background: #982724;
}
.what-we-offer .offer-list ul {
    padding: 0;margin: 0;
    list-style: none;
}
.what-we-offer .offer-list ul li {
    position: relative;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 15px;
    padding-left: 27px;
    margin-bottom: 22px;
    line-height: 18px;
}
.what-we-offer .offer-list ul li:last-child {
    margin: 0;
}
.what-we-offer .offer-list ul li::before {
    position: absolute;
    content: "\f00c";
    font-size: 15px;
    color: #fff;
    left: 0;
    top: 0px;
    font-family: 'Font Awesome 5 Free';
}

.safe-drive {
    padding: 95px 0 105px;
}
.safe-drive h3 {
    color: #1b1c20;
    font-family: 'Gilroy';
    font-weight: 900;
    font-size: 45px;
    position: relative;
    padding-bottom: 22px;
}
.safe-drive h3::before {
    position: absolute;
    content: "";
    height: 4px;
    width: 40px;
    background: #c62827;
    border-radius: 30px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0 auto;
}
.safe-drive h3::after {
    position: absolute;
    content: "";
    height: 4px;
    width: 10px;
    background: #c62827;
    border-radius: 30px;
    left: 70px;
    bottom: 0;
    right: 0;
    margin: 0 auto;
}
.safe-drive .btn {
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    background: #c62827;
    margin-top: 20px;
    padding: 12px 0;
    min-width: 180px;
}
.safe-drive .btn:hover {
    color: #c62827;border:1px solid #c62827; 
    background: #fff;
}
#course-four-day,#course-e-learning {
    padding: 95px 0 100px;
}
#course-e-learning {
    padding: 95px 0 100px;background: transparent;
}

#course-four-day .box-wrap,
#course-e-learning .box-wrap {
    border: 1px solid #dfdfdf;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    padding: 10px;
    margin: 0px;
}
#course-e-learning .box-wrap .box-nner.row .box-image .register-wrap {
    justify-content: flex-end;
}
#course-four-day .box-wrap .box-nner.row {background-position: 145px 0%; }

#course-e-learning .box-wrap .box-nner.row {background-position: 7% 0%; }

#course-four-day .box-wrap .box-nner.row, #course-e-learning .box-wrap .box-nner.row {
    margin: 0;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 7px 0px #dfdfdf;
    padding: 15px;
    background-repeat: no-repeat;
    background-size: cover;
	background: #fffe;
	
}
#course-four-day .box-wrap .box-nner.row::before{
    position: absolute;opacity: 0.98;
    content: "";border-radius: 10px;
    background: -moz-linear-gradient(left,  rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%); 
    background: -webkit-linear-gradient(left,  rgba(255,255,255,1) 40%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, rgb(255, 255, 255) 40%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
#course-e-learning .box-wrap .box-nner.row::before {
    position: absolute;
    content: "";opacity: 0.98;
    border-radius: 10px;
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 40%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to left, rgb(255, 255, 255) 40%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
#course-four-day .box-wrap .box-nner.row .box-text h4,
#course-e-learning .box-wrap .box-nner.row .box-text h4{
    color: #c62827;
    font-weight: 600;
    font-family: 'Gilroy';
    font-size: 20px;
}
#course-four-day .box-wrap .box-nner.row .box-text ul,
#course-e-learning .box-wrap .box-nner.row .box-text ul {
    padding: 0;margin: 0;
    list-style: none;
}
#course-four-day .box-wrap .box-nner.row .box-text ul li,
#course-e-learning .box-wrap .box-nner.row .box-text ul li {
    font-size: 15px;
    font-family: 'Gilroy';
    font-weight: 600;
    padding-left: 28px;
    position: relative;
    margin-bottom: 15px;
    color: #1b1c20;
}
#course-four-day .box-wrap .box-nner.row .box-text ul li:last-child, #course-e-learning .box-wrap .box-nner.row .box-text ul li:last-child {
    margin: 0;
}
#course-four-day .box-wrap .box-nner.row .box-text ul li::before,
#course-e-learning .box-wrap .box-nner.row .box-text ul li::before {
    position: absolute;
    content: "\f00c";
    font-size: 20px;
    color: #5fc816;
    left: 0;
    top: -5px;
    font-family: 'Font Awesome 5 Free';
}
#course-four-day .heading-wrap h2,#course-e-learning .heading-wrap h2 {
    font-size: 24px;
    font-family: 'Gilroy';
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}
#course-four-day .heading-wrap h2::before,#course-e-learning .heading-wrap h2:before {
    position: absolute;
    content: "";
    height: 3px;
    width: 40px;
    background: #c62827;
    border-radius: 30px;
    bottom: 0;
    left: 0;
    margin: 0 auto;
}
#course-four-day .heading-wrap h2::after,#course-e-learning .heading-wrap h2:after {
    position: absolute;
    content: "";
    height: 3px;
    width: 10px;
    background: #c62827;
    border-radius: 30px;
    left: 50px;
    bottom: 0;
    right: 0;
}
#course-four-day .heading-wrap p,#course-e-learning .heading-wrap p {
    color: #333333;
    font-size: 16px;
    font-family: 'Gilroy';
    font-weight: 500;
    margin-top: 23px;
    margin-bottom: 27px;
}

#exit-e-learning {
    padding: 100px 0;
}
#exit-e-learning .training-box .img-wrap {
    border-radius: 10px 10px 0 0;
}
#exit-e-learning .training-box .img-wrap .img-fluid {
    width: 100%;border-radius: 10px 10px 0 0;
}
#exit-e-learning .training-box .title-box {
    background: #f8f8f8;
    padding: 28px 50px 28px 40px;
    border-radius: 0 0 10px 10px;
}
#exit-e-learning .training-box .title-box h6 {
    color: #000000;margin: 0;
    font-size: 18px;
    font-family: 'Gilroy';
    font-weight: bold;
}
#exit-e-learning .training-box .title-box i {
    color: #000;
}

#exit-e-learning .training-box a:hover h6 {
    color: #c62827;
}
#course-four-day .box-wrap .box-nner.row .box-image .register-wrap,
#course-e-learning .box-wrap .box-nner.row .box-image .register-wrap {
    height: 100%;
    align-items: center;
    display: flex;
}
#course-four-day .box-wrap .box-nner.row .box-image .register-wrap a,
#course-e-learning .box-wrap .box-nner.row .box-image .register-wrap a {
    display: inline-block;
    background: #c62827;
    border-radius: 100%;overflow: hidden;
    height: 100px;
    width: 100px;
    position: relative;
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    padding-top: 25px;
    box-shadow: 0 0 18px -5px #000;
}
#course-four-day .box-wrap .box-nner.row .box-image .register-wrap a:after,
#course-e-learning .box-wrap .box-nner.row .box-image .register-wrap a:after{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,rgba(255,255,255,.4),transparent);
    transition: 0.2s;
    transition-delay: 0.2s;
}
#course-four-day .box-wrap .box-nner.row .box-image .register-wrap a:hover::after,
#course-e-learning .box-wrap .box-nner.row .box-image .register-wrap a:hover::after {
    left: 100%;
}
.registration-wrap {
    padding: 105px 0 100px;
}
.registration-wrap .registration-form {
    -ms-flex: 0 0 50%;
    flex: 0 0 640px;margin-top: 40px;
    max-width: 640px;
}
.registration-wrap .registration-form .wpcf7-form-control {
    color: #1b1c20;
    height: 60px;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 15px;
    border-radius: 7px;
    background: #f8f8f8;
    border: none;
    padding: 0 25px;
    border: 1px solid #f8f8f8;
    width: 100%;
    -moz-appearance: none;
}
.registration-wrap .registration-form .wpcf7-form-control.wpcf7-recaptcha {
    padding: 0;height: 76px;
    background: transparent;
    border: none;
}
.rc-anchor-light.rc-anchor-normal {
    border: 1px solid #d3d3d3;
    box-shadow: none !important;
}
#rc-anchor-container {
    box-shadow: none;
}
.registration-wrap .registration-form .wpcf7-form-control::placeholder {color: #1b1c20; opacity: 1; }

.registration-wrap .registration-form .wpcf7-form-control:-ms-input-placeholder {color: #1b1c20;}

.registration-wrap .registration-form .wpcf7-form-control::-ms-input-placeholder {color: #1b1c20;}

.registration-wrap .registration-form textarea {
    height: auto !important;
    resize: none;
    padding: 20px 30px !important;
}
.registration-wrap .registration-form .wpcf7-form-control.wpcf7-submit {
    background: #c62827;
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    max-width: 180px;
    height: 50px;
}
.registration-wrap .registration-form .wpcf7-form-control.wpcf7-submit:hover,.registration-wrap .registration-form .wpcf7-form-control.wpcf7-submit:focus {
    background: transparent;
    color: #c62827;
    border: 1px solid #c62827;
}


.registration-wrap .registration-form .wpcf7-form-control:focus {
    background: transparent;
    outline: none;
    box-shadow: 0 0 6px 0px #ccc;
    border: 1px solid #c62827;
}
.registration-wrap .registration-form .wpcf7-not-valid-tip {
    font-size: 15px;
}
.registration-wrap .registration-form .wpcf7-form-control.wpcf7-number {
    -moz-appearance: textfield;
}
.registration-wrap .registration-form .first-name {
    padding-right: 5px;
}
.registration-wrap .registration-form p {
    font-family: 'Gilroy';
    font-weight: bold;
    color: #c62827;
    font-size: 20px;
    margin: 10px 10px;
}
.registration-wrap .registration-form .location-box {
    margin: 0;
}



.certification-wrap {
    padding: 100px 0 33px;
}
.certification-wrap .text-left p,.contact-form .text-left p {
    position: relative;
    color: #666666;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 20px;
    padding-top: 0px;
	margin: 0;
}
.certification-wrap .text-left p::before {
    position: absolute;
    content: "";
    height: 4px;
    width: 40px;
    background: #c62827;
    border-radius: 30px;
    left: 0;
    top: 0;
    right: auto;
    margin: 0 auto;
}
.certification-wrap .text-left p::after {
    position: absolute;
    content: "";
    height: 4px;
    width: 10px;
    background: #c62827;
    border-radius: 30px;
    left: 50px;
    top: 0;
    right: auto;
    margin: 0 auto;
}
.certification-wrap .text-left .check-form,.contact-form .text-left .check-form {
    box-shadow: 0px 0 0 0px #fff;
    z-index: 99;
    position: relative;
    border-radius: 10px;
    width: 100%;
    background: #fff;
    padding: 20px 0;
}
.certification-wrap .text-left .check-form .wpcf7-form-control,.contact-form .text-left .check-form .wpcf7-form-control {
    color: #1b1c20;
    height: 60px;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 15px;
    border-radius: 7px;
    background: #f8f8f8;
    border: none;
    padding: 0 25px;
    border: 1px solid #f8f8f8;
    width: 100%;
    -moz-appearance: none;
}
.certification-wrap .text-left .check-form .wpcf7-form-control::placeholder,
.contact-form .text-left .check-form .wpcf7-form-control::placeholder {color: #1b1c20; opacity: 1; }

.certification-wrap .text-left .check-form .wpcf7-form-control:-ms-input-placeholder,
.contact-form .text-left .check-form .wpcf7-form-control:-ms-input-placeholder {color: #1b1c20;}

.certification-wrap .text-left .check-form .wpcf7-form-control::-ms-input-placeholder,
.contact-form .text-left .check-form .wpcf7-form-control::-ms-input-placeholder {color: #1b1c20;}

.certification-wrap .text-left .check-form .wpcf7-form-control:focus,
.contact-form .text-left .check-form .wpcf7-form-control:focus{
    background: transparent;
    outline: none;
    box-shadow: 0 0 6px 0px #ccc;
    border: 1px solid #c62827;
}
/*.certification-wrap .text-left .check-form .wpcf7-form-control.wpcf7-select,
.contact-form .text-left .check-form .wpcf7-form-control.wpcf7-select {
    background: url(https://topstardriving.com/wp-content/uploads/2020/10/8.png);
    background-repeat: no-repeat;-webkit-appearance: unset;
    background-position: 95% center;
    background-color: #f8f8f8;
}*/
.wpcf7-form-control.wpcf7-select {
    background: url(https://topstardriving.com/wp-content/uploads/2020/10/8.png) !important;
    background-repeat: no-repeat !important;
    -webkit-appearance: unset !important;
    background-position: 95% center !important;
    background-color: #f8f8f8 !important;
}
.certification-wrap .text-left .check-form .wpcf7-not-valid-tip,
.contact-form .text-left .check-form .wpcf7-not-valid-tip {
    font-size: 15px;
}
.certification-wrap .text-left .check-form .wpcf7-form-control.wpcf7-submit,
.contact-form .text-left .check-form .wpcf7-form-control.wpcf7-submit {
    background: #c62827;
    color: #fff;margin-top: 5px;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    max-width: 135px;
    height: 50px;
}
.certification-wrap .image-right .img-wrap {
    border-radius: 10px;
    -ms-flex: 0 0 93%;
    flex: 0 0 93%;
    max-width: 93%;
    margin-left: auto;
    height: 505px;
}
.wpcf7-number {
    -moz-appearance: textfield !important;
}
.contact-form .image-right .map-wrap {
    border-radius: 10px;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: auto;
    height: 550px;
}

.certification-wrap .image-right .img-wrap img {
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.contact-wrap {
    background: #fff;
    padding: 0px 0 80px;
}
.contact-wrap .heading-wrap {
    margin-bottom: 40px;
}
.contact-wrap .heading-wrap h2 {
    text-align: left;
}
.contact-wrap .heading-wrap h2::before {
    left: 0;
    right: auto;
}
.contact-wrap .heading-wrap h2::after {
    left: 50px;
    right: auto;
}
.contact-wrap .contact-box {
    border-radius: 15px;
    padding: 25px 40px;
    margin-bottom: 18px;
    align-items: center;
	background: #fff;box-shadow: 0px 0 25px -15px #ccc;
	
}
.contact-wrap .row.contact-inner {
    margin: 0;
}
.contact-wrap .contact-box:second-child {
    background: transparent;box-shadow: 0px 0 25px -15px #ccc;
}
.contact-wrap .contact-box .img-box {
    text-align: center;height: 100%;
}
.contact-wrap .contact-box .text-box {
    height: 100%;
}
.contact-wrap .contact-box .text-box h6 {
    color: #1b1c20;
    font-size: 20px;
    font-family: 'Gilroy';
    font-weight: 600;
    margin: 0;
    line-height: 23px;
}
.contact-wrap .contact-box .text-box p {
    font-size: 16px;margin: 0;
    font-family: 'Gilroy';
    font-weight: 600;line-height: 28px;
    color: #666666;
}
.contact-wrap .contact-box .text-box a {
    color: #666666;
    font-size: 18px;
    font-family: 'Gilroy';
    font-weight: 600;
}
.contact-wrap .contact-box .text-box a:hover{color: #c62827;}

.contact-form {
    padding: 90px 0;
}
.contact-form .heading-wrap h2 {
    text-align: left;
}
.contact-form .heading-wrap h2::before {
    left: 0;
    right: auto;
}
.contact-form .heading-wrap h2::after {
    left: 50px;
    right: auto;
}
.contact-form .text-left .check-form .wpcf7-form-control.wpcf7-submit {
    max-width: 180px;
}
.contact-form .image-right .map-wrap iframe {
    border: none;height: 100%;
    border-radius: 10px;
}
.main-navigation .main-menu {
    width: 100%;
}
.bottom-course-register a {
    background: #1b1c20;
    color: #fff;
    margin-top: 55px;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    min-width: 180px;
    height: 50px;
    border: 1px solid #1b1c20;
    padding: 0;
    line-height: 45px;
}
.registration-wrap .heading-wrap h2 {
	position: relative;
}

/*---- new registration start----*/
.page-template-registration .certification-wrap {
}
.page-template-registration .certification-wrap .check-form {
    background: transparent;
}
.page-template-registration #formLogin{
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
   flex-wrap: wrap;
   margin-right: -15px;
    margin-left: -15px;  
  }
  .page-template-registration .certification-wrap h2 {
    color: #1b1c20;
    font-family: 'Gilroy';
    font-weight: bold;
    position: relative;
    font-size: 26px;
    text-align: left;
    margin: 0 auto;
    padding-bottom: 15px;
    margin: 0px 0px 30px;
}

.page-template-registration .certification-wrap h2::before {
    position: absolute;
    content: "";
    height: 4px;
    width: 40px;
    background: #c62827;
    border-radius: 30px;
    left: 0;
    bottom: 0;
    right: auto;
    margin: 0 auto;
}
 .page-template-registration .certification-wrap h2::after {
    position: absolute;
    content: "";
    height: 4px;
    width: 10px;
    background: #c62827;
    border-radius: 30px;
    left: 51px;
    bottom: 0;
    right: auto;
    margin: 0 auto;
 }
.page-template-registration .location-wrap h3, .page-template-registration .check-form h3, .registration-wrap .all-package-details h2 {
    color: #1b1c20;
    font-family: 'Gilroy';
    font-weight: bold;
    position: relative;
    font-size: 24px;
    text-align: left;
    margin: 0 auto;
    padding-bottom: 15px;
}
.registration-wrap .all-package-details h2:before{
   display:none; 
    }

.page-template-registration .location-wrap {
    color: #1b1c20;
    font-family: 'Gilroy';
    font-weight: bold;
    position: relative;
    font-size: 14px;
    text-align: left;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #c62827;
} 
.page-template-registration .form-control {
    color: #1b1c20;
    height: 60px;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 15px;
    border-radius: 7px;
    background: #f8f8f8;
    border: none;
    padding: 0 25px;
    border: 1px solid #f8f8f8;
    width: 100%;
    -moz-appearance: none;
    outline: none;
}
.registration-wrap .image-right {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
}
div#loading {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
        z-index: 999;
}
.loading-inner {
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.registration-wrap .image-right .img-wrap {
    width: 100%;
}
.page-template-registration input#ssl_amount {
    background: #80808036;
    border: 1px solid #f8f8f8 !important;
    box-shadow: none !important;
}
.page-template-registration select.form-control {
    background: url(https://topstardriving.com/wp-content/uploads/2020/10/8.png) !important;
    background-repeat: no-repeat !important;
    -webkit-appearance: unset !important;
    background-position: 95% center !important;
    background-color: #f8f8f8 !important;
}
.page-template-registration .form-control:focus{
    background: transparent;
    outline: none;
    box-shadow: 0 0 6px 0px #ccc;
    border: 1px solid #c62827;
   }
  .page-template-registration .form-control::-webkit-input-placeholder {
  color: #1b1c20;
}
.page-template-registration .form-control::-moz-placeholder {
  color: #1b1c20;
}
.page-template-registration .form-control:-ms-input-placeholder { 
  color: #1b1c20;
}
.page-template-registration .form-control:-moz-placeholder { 
  color: #1b1c20;
}
.page-template-registration .package-box {
    background: #fff;
    border-radius: 10px;
    padding-bottom: 20px;
    max-width: 400px;
    border: 1px solid #e4e4e4;
}
.page-template-registration .package-box:hover{
box-shadow: 0px 0 15px 0px #ccc;
}
.page-template-registration .package-box h6 {
color: #c62827;
    font-family: 'Gilroy';
    font-weight: 900;
    font-size: 20px;
    text-align: center;
}

 
 .page-template-registration .package-box .package-heading {
    text-align: center;
    position: relative;
    padding: 32px 0 25px;
    border-bottom: 1px solid #e4e4e4;
}

.page-template-registration .package-box .package-heading h6 {
    margin-right: auto;
    margin-left: auto;
    font-weight: bold;
    font-size: 20px;
    color: #1b1c20;
    margin-bottom: 0px;
}

.page-template-registration .package-box ul.package-description {
    padding: 0 40px;
    list-style: none;
    margin: 20px 0;
}

.page-template-registration .package-box ul.package-description li {
    font-size: 15px;
    font-family: 'Gilroy';
    font-weight: 600;
    padding-left: 28px;
    position: relative;
    margin-bottom: 25px;
        list-style: none;
}

.page-template-registration .package-box ul.package-description li::before {
    position: absolute;
    content: "\f00c";
    font-size: 20px;
    color: #5fc816;
    left: 0;
    top: -5px;
    font-family: 'Font Awesome 5 Free';
}
button.top-star-registration-submit {
    background: #c62827;
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 16px;
    max-width: 180px;
    height: 50px;
    padding: 0 25px;
    border: 1px solid #f8f8f8;
    width: 100%;
    border-radius: 7px;
    line-height: 1.2;
    outline: none;
}
button.top-star-registration-submit:hover, button.top-star-registration-submit:focus {
    background: transparent;
    color: #c62827;
    border: 1px solid #c62827;
}

/*---- new registration end----*/


/*responsive start*/
@media(max-width: 1799px){
    .banner-slider .banner-caption {
    width: 700px;
}
    .learning-detail .star-box {top: -49px; }
    .learning-detail .star-box img {width: 150px; } 

    .company-data .star-box {top: -65px; }
    .company-data .star-box img {width: 150px; }

}

@media(max-width: 1599px){
    .banner-slider .banner-caption {
    padding: 62px 44px;
    width: 680px;
}
    .learning-detail .star-box {left: 1%; }
    .company-data .star-box {left: 1%; }
}

@media(max-width: 1499px){
    .banner-slider .banner-caption {
    width: 580px;padding: 32px 34px;
}
    .banner-slider .banner-caption p {font-size: 16px;line-height: 25px;}
    .banner-slider .banner-caption h3 {font-size: 34px;}
#site-footer {
    background-position: 97.7% 2.5%;
}
    #about-us .about-star img {
    width: 70px;
}
    .top-nav-bar .nav-bar .main-navigation .main-menu li a {margin-right: 25px; }
    .top-nav-bar .site-location {padding-left: 15px; }

    .learning-detail .star-box {top: -35px; }
    .learning-detail .star-box img {width: 100px; }
    

    .company-data .star-box {top: -35px; }
    .company-data .star-box img {width: 100px; }


    .top-nav-bar .nav-bar .custom-logo-link {padding-right: 35px; } 
}

@media(max-width: 1299px){
    .top-nav-bar .container {padding: 0 15px; }
    .top-nav-bar .nav-bar .custom-logo-link {padding-right: 15px; }
    .top-nav-bar .nav-bar .main-navigation .main-menu li a {margin-right: 15px; }
    .top-nav-bar .site-location .location-wrap {padding-left: 25px; }
    .announcment-bar .container {padding: 0 15px; }
    .banner-slider .banner-caption {bottom: 100px;}
}


@media(max-width: 1199px){
    .top-driving-body-custom #masthead .top-nav-bar .scroll-bar.fixed-header .site-location {
    display: none;
}
.top-driving-body-custom #masthead .top-nav-bar .scroll-bar.fixed-header .nav-bar {
    margin: 0;
    border-top: none;
}

    #course table thead th {
    padding: 20px 15px;
}
#course table td:last-child, #course table th:last-child {
    padding: 0 10px;
}
    #course table td {
    padding: 0px 10px;
}
    .home .home-slider .fas {
    width: 40px;
    height: 40px;
    line-height: 40px;
}
    #site-footer .social-box {
    padding-left: 32px;
}
    #site-footer .left-box .footer-nav li {
    margin-right: 25px;
}
    .learning-detail .star-box {top: -25px; }
    .learning-detail .star-box img {width: 80px; }

    .company-data .star-box {top: -25px; }
    .company-data .star-box img {width: 80px; }


    .Our-blog .blog-inner .left-wrap p {
    font-size: 18px;
    line-height: 25px;
}
    .Our-blog .blog-inner .right-box .img-wrap {
    height: 250px;
}
    .Our-blog {
    padding: 60px 0;
}
    #course {
    padding: 70px 0 60px;
}
    #packages {
    padding: 70px 0 80px;
}
    #about-us .about-caption .btn-wrap {
    margin-top: 35px;
}
    #about-us .about-caption p {
    font-size: 15px;
    line-height: 22px;
}
    #about-us .about-caption h3 {
    padding-bottom: 14px;
}
    .home .home-slider {
    height: 500px;
}
.banner-slider .banner-caption {
    padding: 32px 44px;
}
.driving-school {
    background-position: 40px 20px;
    padding: 55px 0;
}
.video_with_text .left-sec {
    padding-right: 50px;
}
#about-us {
    padding: 150px 0 50px;
}
    .top-nav-bar .container {padding: 15px 15px;}
    .top-nav-bar .nav-bar .main-navigation .main-menu li a {margin-right: 15px; }
    .top-nav-bar .nav-bar .custom-logo-link {
        padding-right: 0px;
        float: none;
        display: inline-block;
        text-align: center;
        margin: 0 auto;
        width: 100%;
        border: none;
    }
   
   .top-nav-bar .site-location {margin: 0 auto; border: none; -ms-flex: 0 0 230px; flex: 0 0 230px; max-width: 230px; }

    body.page .main-navigation {display: block; height: auto; }
    .top-nav-bar .nav-bar .main-navigation .main-menu li {padding: 30px 0; }
    .top-nav-bar .site-location {order: 1; margin-left: auto !important; margin-right: 0;}
    .top-nav-bar .nav-bar {order: 2; margin-top: 15px; border-top: 1px solid #f5f5f5; padding-top: 15px; }
    .page-template-registration .certification-wrap h2 {
    font-size: 26px;
}
.page-template-registration .location-wrap h3, .page-template-registration .check-form h3 {
    font-size: 20px;
}
}


@media(max-width: 991px){
    .contact-form .image-right .map-wrap iframe {
    width: 100%;
}
    .contact-wrap .contact-box .text-box a {
    font-size: 15px;
}
    .contact-wrap .contact-box .text-box p {
    font-size: 15px;
}
    .contact-wrap .contact-box {
    padding: 25px 15px;
}
    .contact-wrap .row.contact-inner {
    margin: 15px;
    width: 100%;
}
    .contact-wrap .contact-box .img-box {
    height: auto;
    margin-bottom: 10px;
}
.contact-wrap .contact-box .text-box {
    height: auto;
    text-align: center;
}
    .certification-wrap .text-left .check-form, .contact-form .text-left .check-form {width: auto; padding: 5px 0; }

    .certification-wrap .image-right .img-wrap {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: auto;
    height: auto;
}
    #course-four-day, #course-e-learning {
    padding: 50px 0 50px;
}
    #about-us .about-star {
    top: 20px;
    right: 20px;
}
    .company-data .col-lg-3:nth-child(3) .title {
    border: none;
}
    #packages .package-box h3 span:first-child {
    font-size: 15px;margin-right: 10px;
}
#packages .package-box ul li {
    font-size: 14px;
    padding-left: 20px;
    margin-bottom: 20px;
}
#packages .package-box h3 span {
    font-size: 22px;margin-left: 10px;
}
    #packages .package-box ul {
    padding: 0 10px;
}
#packages .package-box ul li::before {
    font-size: 15px;top: 0px;
}
.announcment-bar .contact-detail li {
    border-right:none;
}
.driving-school .training-wrap .training-inner {
    margin-bottom: 30px;
}
.classorcourse .course-box:first-child,.classorcourse .course-box:first-child::before {
    border-radius: 0 0 0 0px;
}
.classorcourse .course-box:last-child,.classorcourse .course-box:last-child::before {
    border-radius: 0 0 10px 10px;
}
.classorcourse {
    padding-bottom: 70px;
}
.video_with_text {
    padding: 60px 0;
}
.video_with_text .left-sec {
    padding-right: 15px;margin-top: 30px;
    order: 2;
}
#packages .package-inner {
    margin-bottom: 20px;
}
#course table thead th {
    padding: 20px 20px;font-size: 15px;
}
#course table td {
    padding: 11px 20px;font-size: 15px;
}
.Our-blog .blog-inner .left-wrap .left-box {
    padding: 20px 0px 20px 20px;
}
.Our-blog .blog-inner .left-wrap p {
    font-size: 15px;
    line-height: 23px;
}
.Our-blog .blog-inner .right-box {
    padding-left: 15px;
}
.learning-detail {
    text-align: center;
}
.learning-detail .right-box {
    display: block !important;
    margin-top: 20px;text-align: center;
}
.learning-detail .right-box .btn {
    margin: 0 auto;
}
.learning-detail .right-box h5 {
    padding-left: 10px;
    max-width: 270px;
    margin: 0 auto;float: none;
}
.Our-blog .blog-inner .right-box .img-wrap {
    height: 200px;
}
#site-footer .social-box .contact ul {
    margin-top: 30px;
}
#site-footer {
    padding: 45px 0 0;
}
#site-footer .footer-bottom {
    margin-top: 15px;
}
#site-footer .social-box {
    padding-left: 15px;
    margin-left: 0px;
}
#site-footer .left-box .footer-nav {
    margin-bottom: 20px;
}
#packages .package-box .package-heading h5 {
    font-size: 14px;
    height: 25px;
    line-height: 24px;
}
#packages .package-inner {
    padding: 0 5px;
}
.about_text {
    padding: 50px 0;
}
.about_text .left-sec {
    padding-right: 15px;
    text-align: center;
}
.about_text .right-sec {
    text-align: center;
}
.what-we-offer {
    padding: 45px 0;
}
.safe-drive {
    padding: 45px 0 65px;
}
.safe-drive h3 {
    font-size: 40px;
}
.page-template-registration .package-box .package-heading h6 {
    font-size: 15px;
}
.page-template-registration .package-box ul.package-description {
    padding: 0 10px;
}
.page-template-registration .package-box ul.package-description li {
    font-size: 14px;
    padding-left: 24px;
        margin-bottom: 10px;
}
.page-template-registration .package-box ul.package-description li::before {
    font-size: 15px;
    top: 0px;
}
.page-template-registration .certification-wrap h2 {
    text-align: center;
}
.page-template-registration .certification-wrap h2::before {
    right: 0px;
}
.page-template-registration .certification-wrap h2::after {
    left: 75px;
    right: 0px;
}
.page-template-registration .location-wrap h3, .page-template-registration .check-form h3 {
    text-align: center;
}
.page-template-registration .location-wrap {
    text-align: center;
}
.page-template-registration .package-box {
    margin: auto;
}
button.top-star-registration-submit {
    margin: auto;
    display: block;
}
}





@media(max-width: 767px){
    .top-nav-bar .nav-bar .main-navigation .main-menu li a {font-size: 12px;margin-right: 5px; }
    .contact-form {padding: 20px 0 50px; }
    .contact-wrap {padding: 50px 0 0; }
    #faq-driving {padding: 50px 0 100px; }
    .certification-wrap .text-left .check-form .wpcf7-form-control.wpcf7-submit, 
    .contact-form .text-left .check-form .wpcf7-form-control.wpcf7-submit {height: 40px; }
    .certification-wrap .text-left .check-form .wpcf7-form-control,
    .contact-form .text-left .check-form .wpcf7-form-control {height: 40px; padding: 0 15px; }
    .certification-wrap {padding: 50px 0 50px; } 
    .certification-wrap .text-left p, .contact-form .text-left p {font-size: 15px; padding-top: 10px; }
    #exit-e-learning .training-box .title-box h6 {font-size: 15px; }
    #exit-e-learning .training-box .title-box i {font-size: 14px; }
    #exit-e-learning .training-box .title-box {padding: 18px 20px 18px 20px; }
    #course-four-day .box-wrap .box-nner.row, #course-e-learning .box-wrap .box-nner.row {padding: 55px 15px; }
    .announcment-bar .contact-detail li a {margin-right: 0px; }
    .page-header .left h2 {text-align: center; }
    .page-header .right {text-align: center; }
    #faq-driving .accordion .accordion__header > * {font-size: 20px; }
    #faq-driving .accordion .accordion__header {padding: 12px 20px; font-size: 20px; }
    #faq-driving .accordion .accordion__header.is-active {padding: 20px 20px 0; }
    #faq-driving .accordion .accordion__body {padding: 25px 20px; }
    #packages {background-size: 50px; background-position: 96.7% 1.5%; } 
    #about-us .about-star img {width: 40px; }
    #about-us .about-star {top: 10px; right: 10px; }
    #packages .package-box .package-heading {padding: 27px 0 25px; }
    #about-us .about-caption {background-size: 60px; }
    .Our-blog .blog-inner .left-wrap {order: 2; }
    .Our-blog .blog-inner .right-box img {border-radius: 10px 10px 0px 0; }
    #site-footer .left-box .content p {padding-right: 0; }
    .announcment-bar .contact-detail li {display: inline-block; margin: 0 0 10px; border-right: none; width: 100%; }
    .announcment-bar .social-right .social-navigation {text-align: center; }
    .announcment-bar .social-right li a {margin: 0 15px; } 
    .announcment-bar .social-right li:first-child a {margin-left: 0; }
    .announcment-bar .contact-detail li {display: inline-block; margin: 0 0 10px; border-right:none; width: 100%; }
    .announcment-bar .contact-detail ul {text-align: center; }
    .banner-slider .banner-caption {width: 500px;padding: 15px 24px; }
   .driving-school .training-box .img-wrap {height: 200px; }
   .driving-school .training-box .title {font-size: 15px; padding: 20px 0; }
   .company-data .col-lg-3:nth-last-child(3) .title {border: none; }
    .video_with_text .right-sec .video-wrap {height: 300px; }
    .page-template-registration .certification-wrap h2 {
    font-size: 20px;
}
}

#hamburger {display: none;}

@media(max-width: 575px){
    .registration-wrap {
	padding: 45px 0 40px;
}
    .registration-wrap .heading-wrap h2 {
	font-size: 26px;
}
    .video_with_text .left-sec ul li {
	font-size: 14px;
}
    .top-driving-body-custom #masthead .top-nav-bar .scroll-bar.fixed-header .nav-bar {padding-bottom: 15px; }
    .page-template.top-driving-body-custom #masthead {position: static; }
    .top-nav-bar .nav-bar .main-navigation .main-menu li a {margin-right: 0; padding-bottom: 0; }

.top-nav-bar .nav-bar.fixed-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    animation-name: fadeInDown;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    padding: 15px 15px;
    top: 0;position: fixed;
    margin-top: 0;
}
/*
.top-nav-bar .nav-bar {
    order: 2;
    margin-top: 60px;
    border-top: 1px solid #f5f5f5;
    /* top: 0px; */
    /*position: fixed;*/
    /* opacity: 0; */
    /* visibility: hidden; */
    /*left: 0px;
    width: 100%;
    padding: 15px 15px;
    z-index: 0;
    transition: all 500ms ease;
    background: #fff;*/
/*}*/
    #masthead {position: static;}
    .home {padding-top: 0px !important;}
    .page-template {padding-top: 0px;}
    .contact-form .image-right .map-wrap {height: 300px; }
    #course .heading-wrap h2, .Our-blog .heading-wrap h2, #packages .heading-wrap h2, #faq-driving .heading-wrap h2, .what-we-offer .heading-wrap h2, .contact-wrap .heading-wrap h2, .contact-form .heading-wrap h2 {font-size: 25px; }
    .page-header .left h2 {font-size: 26px; } 
    .learning-detail .right-box .btn {height: 45px; line-height: 42px; min-width: 152px; }
    #exit-e-learning .exit-wrap {margin-bottom: 20px; }
    #exit-e-learning {padding: 50px 0; }
    #course-e-learning .box-wrap .box-nner.row::before {
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 40%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, rgb(255, 255, 255) 40%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}
#course-four-day .box-wrap .box-nner.row .box-text ul li,
#course-e-learning .box-wrap .box-nner.row .box-text ul li {font-size: 14px; padding-left: 22px; margin-bottom: 5px; }

#course-four-day .box-wrap .box-nner.row .box-text ul li::before,
#course-e-learning .box-wrap .box-nner.row .box-text ul li::before {
    font-size: 15px;
    top: 0px;
}
    #course-four-day .box-wrap .box-nner.row .box-text {
    padding: 0 5px;
}
#course-four-day .box-wrap, #course-e-learning .box-wrap {
    padding: 5px;
}
    #course-four-day .box-wrap .box-nner.row::before {
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 60%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, rgb(255, 255, 255) 60%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}
    #course-four-day .box-wrap .box-nner.row, #course-e-learning .box-wrap .box-nner.row {
    padding: 25px 5px;
}
    .top-nav-bar .nav-bar .main-navigation .main-menu li a:hover::before,.top-nav-bar .nav-bar .main-navigation .main-menu li a:hover::after {display: none; }
    .safe-drive .btn {
    min-width: 160px;padding: 7px 0;
}
    .safe-drive h3 {
    font-size: 25px;
    padding-bottom: 15px;
}
    .about_text .left-sec h5 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 25px;
}
.what-we-offer .offer-list {
    padding: 30px 10px;
}
    #faq-driving .accordion .accordion__header > * {font-size: 15px; }
    #faq-driving .accordion .accordion__header {padding: 10px 10px;}
    #faq-driving .accordion .accordion__body {padding: 25px 15px; }
    #faq-driving .accordion .accordion__body.is-active {padding-top: 15px; }
    #faq-driving .accordion .accordion__header.is-active {padding: 15px 15px 0; }
    .top-nav-bar .nav-bar .main-navigation .main-menu li.current_page_item a::before, .top-nav-bar .nav-bar .main-navigation .main-menu li.current_page_item a::after {bottom: 0; opacity: 0; }
.top-nav-bar .nav-bar .main-navigation .main-menu li.current_page_item a{color:#c62827;}
    .home .scroll span {height: 36px; width: 24px; }
    .home .scroll span::before {height: 10px; width: 4px; }
    .home .home-slider .fas {width: 30px;font-size: 15px; height: 30px; line-height: 30px; }
    .home .home-slider .slide-arrow.prev-arrow {left: 20px; }
    .home .home-slider .slide-arrow.next-arrow {left: 60px; }
    
    .learning-detail .left-box h2 {font-size: 32px; }
    #site-footer .left-box .footer-nav li {margin-right: 20px; }
    .top-nav-bar .site-location {margin-left: auto !important; margin-right: auto; }
    .top-nav-bar .nav-bar .custom-logo-link {text-align: left;width: 150px; }
    .top-nav-bar .nav-bar .main-navigation .main-menu li a:before,
    .top-nav-bar .nav-bar .main-navigation .main-menu li a:after {opacity: 0; }

    .top-nav-bar .nav-bar .main-navigation .main-menu li {
        display: inline-block;
        width: 100% !important;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #e5e5e5;
    }
    .navbar-toggler {position: absolute; top: 0; right: 0; }
    
    #hamburger {
        width: 30px;
        height: 30px;
        position: absolute;
        margin: 10px auto;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        right: 0px;
        background: transparent;
        border: none;
        padding: 0;z-index: 9999;
        top: 0;
    }
    
    #hamburger span {display: block; position: absolute; height: 3px; width: 25px; background: #ed1c24; border-radius: 9px; opacity: 1; left: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out; right: 0; margin: 7px auto; }

    #hamburger span:nth-child(1) {top: 0px;background-color: #000; }

    #hamburger span:nth-child(2),#hamburger span:nth-child(3) {top: 7px; }

    #hamburger span:nth-child(4) {top: 14px;background-color: #000;  }

    #hamburger.open span:nth-child(1) {top: 18px; width: 0%; left: 50%; }

    #hamburger.open span:nth-child(2) {-webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); }

    #hamburger.open span:nth-child(3) {-webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); }

    #hamburger.open span:nth-child(4) {top: 18px; width: 0%; left: 50%; }

    #hamburger {display: block;}

    .home .home-slider {height: 400px; }

    .banner-slider .banner-caption {
        width: 300px;
        padding: 15px 15px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    .banner-slider .banner-caption h3 {font-size: 24px;margin-bottom: 18px; }

    .banner-slider .banner-caption p {font-size: 15px; line-height: 25px; }
    .banner-slider .banner-caption .btn {
        font-size: 15px;
        margin-top: 32px;
        height: 40px;
        min-width: 150px;
        line-height: 20px;
    }
    .driving-school {background-position: 10px 10px; padding: 45px 0 0;background-size: 50px; }
    .classorcourse .course-box {padding: 35px 15px; }

    .classorcourse .course-box .title .btn {
        font-size: 15px;
        margin-top: 12px;
        height: 40px;
        min-width: 150px;
        line-height: 20px;
    }
    .company-data .title {
        border-right: none;
        padding: 20px 0;
        border-bottom: 1px solid #d43e3d;
    }
    .company-data {
        padding: 15px 0;
    }
    .company-data .col-lg-3:nth-last-child(3) .title {
        border-right: none;
        border-bottom: 1px solid #d43e3d;
    }
    .video_with_text .left-sec h5 {
        font-size: 22px;
        line-height: 27px;
        padding-bottom: 14px;
    }
    .video_with_text .left-sec ul li::before {
        top: 0px;font-size: 16px;
    }
    #about-us .about-caption {
        -ms-flex: 0 0 660px;
        flex: 0 0 660px;
        max-width: 660px;
        padding: 30px 15px 40px 15px;
    }
    #about-us .about-caption .btn {
        font-size: 15px;
        min-width: 120px;margin-right: 5px;
       padding: 8px 0;
    }
    #about-us .about-caption .btn.btn-outline-danger {
        margin: 0;
    }
    .video_with_text {
        padding: 30px 0;
    }
    #about-us {
        padding: 70px 0 50px;
    }
    #about-us .about-caption h3 {font-size: 30px; padding-bottom: 10px; }
    #packages {padding: 30px 0 50px; }


    #packages .package-box ul {
        padding: 0 15px;
    }
    #packages .package-box ul li {
        margin-bottom: 10px;
    }
    #packages .package-box .btn-wrap .btn {
    font-size: 15px;
}

#course {
    padding: 40px 0 60px;
}
#course .heading-wrap h2, .Our-blog .heading-wrap h2, #packages .heading-wrap h2 {
   padding-bottom: 10px;
    font-size: 30px;
}
#packages .heading-wrap {
    margin-bottom: 35px;
}
#course table thead th {
    padding: 10px 10px;
    font-size: 15px;
}
#course table thead th:first-child {
    font-size: 16px;
}
#course table td {
    padding: 8px 5px;
    font-size: 10px;
}
#course {
    padding: 40px 0 30px;
}
.Our-blog {
    padding: 30px 0;
}
.bottom-course-register a {
    margin-top: 15px;
    min-width: 150px;
    height: 40px;
    line-height: 35px;
}
#hamburger.open + .navbar-collapse {
    display: block;
    height: auto;
}
#hamburger + .navbar-collapse {
    display: none;
}
#hamburger.open + .navbar-collapse .navbar-nav {
    height: 100%;
    /*overflow: scroll;*/
}
}

@media screen and (orientation:landscape)and (min-device-width: 568px) and (max-device-width: 815px) {
  #masthead {position: static;}
  #hamburger.open + .navbar-collapse .navbar-nav {
    height: 100%;
    overflow: scroll;
}
  .home,.page-template {padding-top: 0px !important;}
}

/*---Test-contact-form-css----*/
  .test-contact-form {
            margin: 150px;
      }
/*----------------------------*/

/*-----Test-form-validation----*/
.styled {
font-family: Arial, sans-serif;
}
.styled fieldset {
border: 1px solid #ccc; padding: 10px;
}
.styled fieldset legend {
font-size: 16px; font-weight: bold; color: #000; text-transform: capitalize; padding: 5px; background: #fff; display: block; margin-bottom: 0; border: 1px solid #ccc;
}
.styled fieldset ol, .styled fieldset ol li {
list-style: none;
}
.styled fieldset li.form-row {
margin-bottom: 3px; padding: 2px 0; width: 100%; overflow: hidden; position: relative;
}
.styled label {
font-size: 12px; display: block; font-weight: bold; float: left; width: 100px; margin-left: 5px; line-height: 24px;
}
.styled input.text-input, .styled .text-area {
background: #fefefe; border-top: 1px solid #909090; border-right: 1px solid #cecece; border-bottom: 1px solid #e1e1e1; border-left: 1px solid #bbb; padding: 3px; width: 220px; font-size: 12px;
}
.styled input.text-input.default.active, .styled .text-area.default.active {
color: #666; font-style: italic;
}
.styled fieldset li.button-row {
margin-bottom: 0; padding: 2px 5px;
}
form input.btn-submit {
padding: 3px 7px; border: 1px solid #fff; background: #066CAA; font-size: 12px;
}

/*---validation css-----*/
.styled span.error {
font-size: 11px; position: absolute; top: 0; right: 0; display: block; padding: 2px;
}
.styled fieldset li.error {
color: #D8000C; background: #fff0f0 url(../media/images/checkers.png) repeat; border: 1px solid #f9c7c7; padding: 5px 0;
}
.styled fieldset li.error label {
text-align: left;
}

/********************03/03/2022 css***********************/

.sec-newmarket {
	background:url("https://dev.topstardriving.com/wp-content/uploads/how-it-work-bg.png");
  margin:0;
  padding:90px 0 90px;
}

.sec-newmarket .text-center {
   padding: 90px 15px 90px 15px;
	background-color: transparent;
	border-radius: 10px;
}

.sec-newmarket .text-center h2 {
	color: #1b1c20;
	font-family: 'Gilroy';
	font-weight: bold;
	position: relative;
	font-size: 36px;
	text-align: center;
	margin: 0 auto;
	padding-bottom: 0px;
	display: inline-block;
	transition: 0.3s ease-in-out;
}

.sec-newmarket .text-center h2::before {
  display:none;
}
.sec-newmarket .text-center a:hover h2 {
	color: #e60004;
}
/************sec-newmarket end here****************/
/******************.newmarket-page start*************************/
.newmarket-page .package-inner {
	margin-bottom: 30px;
}

.sec-newmarket .row-sedular {
	display: flex;
	max-width: 600px;
	width:100%;
	justify-content: center;
	margin: 40px auto 0 auto;
	border: 1px solid #eee;
	padding: 25px 0px;
	background: #fff;
}
.sec-newmarket .row-sedular .left {
  padding: 0 15px;
  max-width: 50%;
width: 100%;
}
.sec-newmarket .left p:last-child {
	margin-bottom: 0;
}
.sec-newmarket .row-sedular .left:first-child {
	border-right: 1px solid #eee;
}

/******************.newmarket-page end here*************************/
@media only screen and (max-width:575px) {
  .sec-newmarket .text-center h2 {
	font-size: 30px;
	padding-bottom: 10px;
}
.sec-newmarket {
	padding: 60px 0 60px;
}



}


@media only screen and (max-width:768px) {
    
.newmarket-page .package-inner {
   	margin-bottom: 20px;
}
.sec-newmarket .text-center {
	padding: 50px 15px 50px 15px;

}
.sec-newmarket .row-sedular {
	margin-top: 20px;
}

.sec-newmarket .row-sedular .left {
	padding: 0 5px;
}
.sec-newmarket .row-sedular .left p {
	font-size: 12px;
	margin-bottom: 10px;
}

}




@media only screen and (min-width: 768px) {
  .main-navigation .main-menu .menu-item-has-children:not(.off-canvas):hover > .sub-menu{
    
  top: 100%;
    
  }
}

@media only screen and (max-width: 575px) {
    .top-nav-bar .nav-bar .main-navigation .main-menu .sub-menu {
	top: 35px;
}
.top-nav-bar .nav-bar .main-navigation .main-menu .sub-menu li a {
	max-width: 100%;
	padding-right: 0;
	padding-left: 0;
}
    
    }
.social-navigation ul.social-links-menu li a svg {
  width: 20px !important;
  height: 20px !important;
}

/********************03/03/2022 css end here***********************/

.why-choose-us #course-four-day .btn {
    font-family: 'Gilroy';
    font-weight: 600;color: #fff;
    font-size: 16px;margin-top: 12px;
    height: 50px;border: 1px solid #fffb;
    min-width: 160px;
    line-height: 30px;
	background: #000;
}

.why-choose-us #course-e-learning .btn {
    font-family: 'Gilroy';
    font-weight: 600;color: #fff;
    font-size: 16px;margin-top: 12px;
    height: 50px;border: 1px solid #fffb;
    min-width: 160px;
    line-height: 30px;
	background: #c62827;
}





