/*
 Theme Name:     First Internet
 Theme URI:      http://firstintenet.co.uk/
 Description:    First Internet Theme
 Author:         First Internet
 Author URI:     http://firstinternet.co.uk
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/*
Typography Styles
======================================= */
.page-title h2 {
  font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
  background: url(/wp-content/themes/jwmotorservices/img/title-line-left.jpg) no-repeat left center;
  padding-left: 15px;
}

.title-header h1 {
    font-size: 62px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
}

#top-header #et-info {
    font-size: 14px!important;
}

#et-info-phone:before {
  margin-right: 5px;
}

#et-info-email:before {
  margin-right: 7px;
}

.simple-sitemap-page {
  text-align: left;
}

/*
Header Styles
======================================= */
.home-banner h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: normal;
  margin-bottom: 20px;
}

.home-banner h3 {
  font-size: 28px;
}

#page-container .et_pb_fullwidth_header_0 .et_pb_button_one.et_pb_button {
  margin-bottom: 40px;
}

.our-services .et_pb_column {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.our-services .et_pb_promo_description {
  min-height: 185px;
}

.our-services .et_pb_promo {
  padding: 0px 20px 20px 20px!important;
}

/*
Menu Styles
======================================= */
#top-menu li {
    padding-right: 30px;
}

/*
Home Page Styles
======================================== */

.quote-text h2 {
    font-size: 40px;
    padding: 20px 0px!important;
    text-transform: uppercase;
    font-weight: 700;
    color: #2b2e2f;
}

/* Inner Page
======================================= */
.inner-img img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.maintenance-boxes .et_pb_image, .servicing-boxes .et_pb_image {
    margin-bottom: 0px!important;
}

.maintenance-boxes .et_pb_image img, .servicing-boxes .et_pb_image img {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.maintenance-boxes .et_pb_promo, .servicing-boxes .et_pb_promo {
    padding: 15px!important;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.maintenance-boxes .et_pb_column, .servicing-boxes .et_pb_column {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    border-radius: 25px;
}

.maintenance-boxes .et_pb_promo_description h2, .servicing-boxes .et_pb_promo_description h2 {
  font-size: 28px;
  padding-bottom: 20px;
}

.maintenance-boxes .et_pb_promo_description {
  min-height: 305px;
}

/* Contact page 
======================================= */
.contact-form .et_pb_text h2 {
  max-width: 850px;
  margin: 20px auto;
  background: url(/wp-content/themes/jwmotorservices/img/title-line-left.jpg) no-repeat left center;
  padding-left: 15px;
  font-size: 28px;
  padding-top: 10px;
}
.contact-form .contact-form-gravity {
    max-width: 850px;
    text-align: center;
    margin: 0px auto;
}

.contact-form .et_contact_bottom_container {
    float: none;
    position: relative;
    top: 45px;
    text-align: center;
}

.contact-form button.et_pb_contact_submit.et_pb_button {
    width: 30%;
}

.et_pb_contact_right {
    position: absolute;
    right: 0px;
}

.contact-map .et_pb_map {
    height: 300px;
}

.contact-icon img {
    padding: 10px;
    border: solid 2px #0172ff;
    border-radius: 50%;
    width: 55px;
    margin-bottom: 20px;
}

#contact-info .contact-info-col {
    border-right: solid 1px #3d464b;
}

#booking .booking-text {
    margin: 0px auto 40px auto;
    max-width: 850px;
}

/*
Button Styles
======================================= */
.et_pb_button {
    color: #fff!important;
}

/*
Pop-up Styles
======================================== */

.pum-content + .pum-close {
    background: transparent url(img/close-button.png) no-repeat center center !important;
    background-size: 100% !important;
    border-radius: none !important;
    border: none !important;
    content: '' !important;
    height: 85px !important;
    width: 85px !important;
    right: -12px !important;
    top: -13px !important;
    padding: 0 !important;
    color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.pum-container {
    max-width: 576px !important;
    width: 576px !important;
    margin: 0 auto !important;
}

@media ( max-width: 596px ) {
    .pum-container {
        max-width: 95% !important;
        width: 95% !important;
        margin: 0 auto !important;
        left: 2.5% !important;
    }
}

.pop-up-content {
    padding: 40px 70px;
    text-align: center;
}

@media ( max-width: 568px ) {
    .pop-up-content {
        padding: 20px 20px 30px;
        text-align: center;
    }
}

.pop-up-content h3 {
    color: #005BE2;
    font-size: 36px;
    line-height: 48px;
    font-weight: 400;
}

.pop-up-content p {
    line-height: 19px;
    padding-bottom: 10px;
}

p.no-pb {
    padding-bottom: 0 !important;
}

.pop-up-content p a {
    color: #005BE2 !important;
}

.pop-up-content a.button {
    background-color: #005BE2;
    border-radius: 4px;
    padding: 19px 38px;
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
    color: #fff !important;
    display: inline-block;
    margin-top: 20px;
}


/*
Footer styles
======================================== */
#footer-bottom p {
    color: #fff;
    width: 50%;
}

#footer-bottom .credit {
    float: right;
    text-align: right;
    font-size: 10px;
}

/*
Form Styles
================================ */
.contact-form-home .et_pb_text h2 {
  padding-top: 10px;
}

.contact-form-home {
  position: relative;
  bottom: 100px;
  left: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  padding: 20px;
}

.gform_wrapper {
    margin: 0 0 !important;
}

.gform_wrapper ul li.gfield {
    margin-top: 0 !important;
}

#gform_wrapper_1 .top_label input.medium, 
#gform_wrapper_1 .top_label select.medium, 
#gform_wrapper_1 textarea.medium,
#gform_wrapper_1 input[type=text],
#gform_wrapper_2 .top_label input.medium, 
#gform_wrapper_2 .top_label select.large, 
#gform_wrapper_2 textarea.large,
#gform_wrapper_2 input[type=text] {
  width: 100%;
      padding: 16px;
      border: none;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      color: #999;
      background-color: #fff;
      font-size: 14px;
      margin: 10px auto;
}

#gform_wrapper_2 .top_label select.large {
  height: 40px;
}

#gform_wrapper_1 textarea.medium {
  padding: 10px;
}

.gform_wrapper .top_label .gfield_label {
  font-weight: 400 !important;
}

#gform_wrapper_1 .top_label select.medium {
  height: 37px;
}

#gform_wrapper_1.gform_wrapper .gform_footer {
    text-align: right;
}

#field_1_1 label, 
#field_1_2 label, 
#field_1_3 label, 
#field_1_4 label, 
#field_1_5 label,
#field_2_1 label, 
#field_2_2 label, 
#field_2_3 label, 
#field_2_4 label, 
#field_2_5 label {
  display: none;
}

.gform_wrapper .gform_footer input[type=submit] {
  text-align: center;
  color: #fff;
  padding: 10px 100px;
  background: #005be2;
  border-radius: 5px;
  font-size: 18px!important;
  letter-spacing: 0px;
  margin: 0px auto!important;
  border: none;
  font-weight: 500;
  line-height: 1.7em !important;
  cursor: pointer;
}

.gform_wrapper .gform_footer input[type=submit]:hover {
  color: #ffffff!important;
  background: rgba(1,114,255,0.7)!important;
  letter-spacing: 0px;
  border: none;
}

#gform_wrapper_1.gform_wrapper .gform_footer, #gform_wrapper_2.gform_wrapper .gform_footer {
  text-align: center;
}

input::-webkit-input-placeholder { color: #333 !important; }
input:-moz-placeholder { color: #333 !important; }
input::-moz-placeholder { color: #333 !important; }
input:-ms-input-placeholder { color: #333 !important; }

textarea::-webkit-input-placeholder { color: #333 !important; }
textarea:-moz-placeholder { color: #333 !important; }
textarea::-moz-placeholder { color: #333 !important; }
textarea:-ms-input-placeholder { color: #333 !important; }


/*
Media Queries
================================ */


@media only screen and ( min-width: 1350px) {}

/* Responsive Layout */
@media screen and (min-device-width: 1200px) and (max-device-width: 1325px) and (-webkit-min-device-pixel-ratio: 1) {}

@media screen and (min-device-width: 1024px) and (max-device-width: 1200px) and (-webkit-min-device-pixel-ratio: 1) {}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {}

@media only screen and ( max-width: 980px) {
  .home-banner h1 {
    font-size: 40px;
  }

  .home-banner h3 {
    font-size: 24px;
    line-height: normal;
  }

  .contact-form-home {
      bottom: 0px;
      left: 0px;
  }

  #tyres-section {
    background-image: none;
  }

  .offers-section {
    background-image: none!important;
  }

  .offers-section .et_pb_text_3, .offers-section .et_pb_text_4 {
    padding-left: 0px!important;
  }

  .offers-section .et_pb_button_1.et_pb_button.et_pb_module {
    margin-left: 0px;
  }

  #footer-bottom p, #footer-bottom .credit {
      text-align: center;
      width: 100%;
  }

}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 425px) {
  .home-banner h1 {
    font-size: 30px;
  }

  .home-banner h3 {
    font-size: 18px;
    line-height: normal;
  }
}

@media only screen and (max-width: 320px) {}

/* Smartphones (landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) {
#tyres-section { background: #fff !important; } 
}

/* iPhone 6+ Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
#tyres-section { background: #fff !important; } 
}

/*iPhone 6 and iPhone 6+ landscape*/
@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : landscape) {
#tyres-section { background: #fff !important; } 
}

/*iPhone 6 Portrait*/
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: portrait) {
#tyres-section { background: #fff !important; } 
}

/* Samsung Galaxy S4 Portrait */
@media only screen and (min-device-width: 360px) and (max-device-width: 667px) and (orientation: portrait) {
#tyres-section { background: #fff !important; } 
}

/* iPhone 5 Portrait */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
#tyres-section { background: #fff !important; } 
}
