/* =========================================================
   Exide Vehicle – site-wide responsive overrides
   Loaded after style.css / theme.css
   ========================================================= */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100% !important;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
embed,
object,
svg {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

table {
  max-width: 100%;
}

.container {
  max-width: 100%;
}

.this-top,
.this-bottom,
.foot-nav li,
.page-title,
.legal-page,
.welcome-texts {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Hide map-widget spam link */
.from-embedmap-code,
#grab-map-data {
  display: none !important;
}

.embed-map-holder,
#embed-ded-map-canvas {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}

.embed-map-holder iframe,
#embed-ded-map-canvas iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

@media (min-width: 992px) {
  .contact-form-area {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    left: auto;
    width: 33.333%;
    float: none;
    z-index: 2;
  }
}

/* ---------- Header / top bar ---------- */
@media (max-width: 991px) {
  .info-bar .logo-box {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .logo {
    max-width: 190px;
    float: none;
    display: inline-block;
  }

  .cart-nav {
    padding-top: 18px;
  }

  .navbar-toggle.nav-hider {
    display: block !important;
    float: right;
    margin: 0;
    padding: 8px 12px;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
  }

  .navbar-toggle.nav-hider:hover,
  .navbar-toggle.nav-hider:focus,
  .navbar-toggle.nav-hider[aria-expanded="true"] {
    color: #f77d0a;
    border-color: #f77d0a;
  }

  .main-navigation {
    position: relative;
    z-index: 1000;
    background: #22243b;
  }

  .main-navigation .navbar-collapse {
    padding: 0;
    max-height: none;
  }

  .main-navigation .navbar-collapse.in,
  .main-navigation .navbar-collapse.collapsing {
    overflow: visible;
  }

  .main-navigation #main-nav .navbar-nav {
    width: 100% !important;
    display: block;
    float: none;
    margin: 0;
    box-shadow: none;
  }

  .main-navigation #main-nav .navbar-nav:before,
  .main-navigation #main-nav .navbar-nav:after {
    display: none;
  }

  .main-navigation #main-nav .navbar-nav > li {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-navigation #main-nav .navbar-nav li a {
    line-height: 46px;
    padding: 0 18px;
    display: block;
  }

  .main-navigation #main-nav .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    transform: none !important;
  }

  .main-navigation #main-nav .navbar-nav .dropdown-menu li {
    padding: 0;
  }

  .main-navigation #main-nav .navbar-nav .dropdown-menu li a {
    line-height: 40px;
    padding-left: 28px;
  }
}

@media (max-width: 767px) {
  .top-bar .container {
    text-align: center;
  }

  .welcome-texts {
    float: none;
    display: block;
    padding: 10px 0 4px;
  }

  .social-lists-wSearch {
    float: none;
    display: inline-block;
    padding: 6px 0 12px;
  }

  .social-lists-wSearch li + li {
    margin-left: 12px;
  }

  .social-lists-wSearch .search-pop {
    margin-right: 10px;
  }

  .logo {
    max-width: 150px;
  }

  .logo-box {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .cart-nav {
    padding-top: 14px;
  }
}

@media (max-width: 479px) {
  .welcome-texts .welcome-text {
    font-size: 18px;
  }

  .social-lists-wSearch li + li {
    margin-left: 8px;
  }
}

/* ---------- Home banner ---------- */
.slide-banner .this-bg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .slide-banner .this-cursive {
    font-size: 36px;
  }

  .slide-banner .this-foot {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .slide-banner .slide-location {
    right: 15px;
    bottom: 20px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .slide-banner {
    min-height: 340px;
    background-size: cover;
    background-position: center;
  }

  .slide-banner .this-texts {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 70px 15px 50px;
    width: 100%;
  }

  .slide-banner .slide-location {
    position: static;
    display: inline-block;
    margin: 16px 0 0;
    padding-bottom: 8px;
  }
}

@media (max-width: 479px) {
  .slide-banner .this-cursive {
    font-size: 26px;
  }

  .slide-banner .this-foot {
    font-size: 20px;
    margin: 8px 0 20px;
  }

  .slide-banner .btn {
    padding: 0 22px;
    line-height: 44px;
    font-size: 13px;
  }
}

/* ---------- Features / fleet / gallery ---------- */
.feature img,
.fleet img,
.vehicle-img img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .features,
  .fleets2,
  .from-blogs,
  .services-offer {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .feature {
    max-width: 100%;
  }

  .fleet2 {
    padding: 15px;
    margin-bottom: 20px;
  }

  .fleet2 .specification {
    padding: 15px;
  }

  .section-title .this-main {
    font-size: 28px;
    line-height: 1.25;
  }
}

@media (max-width: 767px) {
  .features,
  .fleets2,
  .from-blogs {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .feature .media {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .section-title {
    margin-bottom: 24px;
    padding: 0 10px;
  }

  .section-title .this-main {
    font-size: 24px;
  }

  .fleet2 .rent {
    font-size: 22px;
  }
}

/* Gallery cards */
.latest-blog {
  max-width: 100% !important;
  margin-bottom: 20px;
}

.latest-blog .media {
  display: block;
}

.latest-blog .media-left {
  display: block;
  width: 100%;
  padding-right: 0;
}

.latest-blog .media-left a {
  width: 100% !important;
  display: block;
}

.latest-blog .media-left a img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- Inner pages ---------- */
.page-cover {
  background-size: cover;
  background-position: center;
}

@media (max-width: 991px) {
  .page-title {
    margin: 70px 0 30px;
    font-size: 32px;
  }

  .wrapper-services,
  .wrapper-contact,
  .wrapper-fleet,
  .missin-benefits {
    padding: 40px 0;
  }

  .ipad-width {
    max-width: 100%;
    margin: 0;
  }

  .wrapper-services .media-left {
    display: block;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .wrapper-services .media-left span {
    width: 100% !important;
    max-width: 100%;
    display: block;
  }

  .wrapper-services .media-left span img,
  .wrapper-services .container .media-left img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .wrapper-services .section-title {
    max-width: 100%;
  }

  .wrapper-services .container .btn-sv a {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .page-title {
    margin: 40px 0 16px;
    font-size: 24px;
    word-break: break-word;
  }

  .page-cover .breadcrumb {
    margin-bottom: 24px;
    font-size: 13px;
  }
}

/* ---------- Contact / map ---------- */
.contact-map iframe,
#embed-ded-map-canvas,
#embed-ded-map-canvas iframe {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 991px) {
  .embed-map-holder,
  #embed-ded-map-canvas,
  .contact-map > div[style] {
    height: 320px !important;
  }

  .contact-form-area,
  .contact-form-area.col-sm-6,
  .contact-form-area.col-md-4,
  .contact-form-area.col-sm-push-6,
  .contact-form-area.col-md-push-8 {
    position: relative !important;
    top: auto;
    bottom: auto;
    left: 0 !important;
    right: auto;
    width: 100%;
    float: none;
    height: auto !important;
    margin: 20px 0 0;
    padding-left: 0;
    padding-right: 0;
  }

  .form-area {
    height: auto;
  }

  .form-area .this-inner {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    padding: 20px 15px;
  }

  .contact-addresses {
    max-width: 100% !important;
    display: block;
  }

  .contact-addresses .media-left,
  .contact-addresses .media-body {
    display: block;
    width: 100%;
  }

  .contact-addresses .media-left .img-holder {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
  }

  .contact-addresses .address-portion {
    padding: 15px 0;
    float: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .embed-map-holder,
  #embed-ded-map-canvas,
  .contact-map > div[style] {
    height: 240px !important;
  }

  .contact-form-area {
    height: auto !important;
  }

  .contct-form .form-control,
  .foot-contct-form .form-control {
    width: 100%;
  }

  .wrapper-contact {
    padding: 30px 0;
  }
}

/* ---------- Forms (career / dealership) ---------- */
.smart-forms,
.smart-container,
.smart-wrap {
  width: 100% !important;
  max-width: 100%;
}

.smart-forms.smart-container {
  max-width: 760px;
  margin: 20px auto;
  padding: 0 15px;
}

.smart-forms .frm-row .colm {
  min-width: 0;
}

@media (max-width: 767px) {
  .smart-forms .form-header {
    padding: 18px 16px;
  }

  .smart-forms .form-header h4 {
    font-size: 22px;
  }

  .smart-forms .form-body,
  .smart-forms .form-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .smart-forms .frm-row .colm,
  .smart-forms .section.colm {
    width: 100% !important;
    float: none;
    padding: 0;
  }

  .input-group {
    width: 100%;
    display: block;
    margin-bottom: 12px;
  }

  .input-group .form-control {
    width: 100%;
    display: block;
  }

  .btn,
  .btn-primary {
    max-width: 100%;
    white-space: normal;
  }
}

/* ---------- Footer ---------- */
@media (max-width: 991px) {
  .top-footer {
    padding: 40px 0 20px;
  }

  .top-footer .ft {
    max-width: 100%;
    margin: 0;
  }

  .top-footer .widget-title {
    margin-bottom: 18px;
  }
}

@media (max-width: 767px) {
  .top-footer {
    text-align: center;
    padding: 30px 0 10px;
  }

  .top-footer .widget-about .foot-logo {
    margin-bottom: 20px;
  }

  .top-footer .widget .social-nav {
    display: inline-block;
  }

  .foot-nav li {
    float: none;
    display: block;
  }

  .foot-nav.style2 li {
    text-align: left;
    display: inline-block;
    width: 100%;
  }

  .bottom-footer {
    padding: 18px 12px;
    font-size: 13px;
    line-height: 1.6;
  }

  .foot-contct-form .btn {
    width: 100%;
  }
}

/* ---------- Legal / policy pages ---------- */
.legal-page {
  padding: 40px 0 60px;
}

.legal-page h1 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 16px;
}

.legal-page h2 {
  font-size: 24px;
  margin-top: 28px;
}

.legal-page h3 {
  font-size: 18px;
}

.legal-page p,
.legal-page li {
  line-height: 1.7;
  word-wrap: break-word;
}

@media (max-width: 767px) {
  .legal-page {
    padding: 24px 0 40px;
  }

  .legal-page h1 {
    font-size: 24px;
  }

  .legal-page h2 {
    font-size: 20px;
  }

  .legal-page h3 {
    font-size: 16px;
  }
}

/* ---------- Products / fleet list ---------- */
@media (max-width: 767px) {
  .fleet-filters {
    padding: 15px;
    max-width: 100%;
  }

  .filter-div {
    width: 100%;
    margin-bottom: 12px;
  }

  .fleet-list .media-left {
    display: block;
    width: 100%;
    padding: 0;
  }

  .fleet-list .media-left img {
    width: 100%;
    height: auto;
  }

  .fleet-list .this-body {
    padding: 20px 15px !important;
  }

  .pagination {
    float: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---------- Misc ---------- */
@media (max-width: 767px) {
  h1, .h1 { font-size: 28px; }
  h2, .h2 { font-size: 22px; }
  h3, .h3 { font-size: 18px; }

  .btn.light {
    padding: 0 22px;
  }

  .wrapper-services .container .btn-sv {
    display: block;
  }

  .wrapper-services .container .btn-sv a {
    display: block;
    margin: 10px auto 0 !important;
  }
}
