/*  cars to buy */

.field_error {
  color: #e40000;
}
.upload_pics {
    margin: 10px 0;
    position: relative
}
#accept_offer_page h1 {
    font-size: 30px;
    color: #181a1b;
    font-family: "LatoWebLight";
}
#car_autoaddress .form-control {
  border: solid 1px #ccc;
  height: auto;
}
.custom-file-input {
    opacity: 0;
    z-index: 999;
    cursor: pointer;
    position: relative;
    height: 45px;
    width: 180px;
    margin: 0 auto
}

.upload_pics>.btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 180px;
    font-family: 'LatoWebHeavy';
    text-transform: initial !important
}

.sortable {
    padding: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.dropzone {
    padding: 15px 5px;
    border: none
}

#file-dropzone {
    overflow: hidden;
    padding-bottom: 45px;
    position: relative;
    background: transparent
}

#file-dropzone > span.btn {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    z-index: -10
}

#file-dropzone .sortable {
    min-height: 176px;
    border: 1px dashed #ccc;
    margin-bottom: 20px
}

.dropzone .dz-message {
    display: none
}

.dropzone .dz-preview .rotate_img {
    margin-top: 10px
}

.dropzone .row {
    margin: 0 -4px
}

.sortable .image_column {
    float: left;
    width: 20%;
    overflow: hidden;
    text-align: center;
    margin: 0px;
    padding: 4px
}

.sortable article:first-of-type .dz-preview:before {
    position: absolute;
    content: "Main photo";
    font-size: 14px;
    color: #fff;
    background: rgba(241, 77, 77, 0.7);
    height: 20px;
    display: block;
    z-index: 11;
    bottom: 55px;
    left: 9px;
    right: 9px
}

.sortable article:first-of-type .dz-preview.hiddenMain:before {
    display: none !important;
}

.sortable .image_column img {
    background: #efefef;
    border: dashed 1px #ccc;
    display: block;
    margin: 0 auto;
    padding: 4px;
    max-width: 100%;
    max-height: 140px;
    opacity: 0.5
}

#file-dropzone.dropzone .dz-complete .dz-preview img {
    opacity: 1
}

#file-dropzone.dropzone .dz-preview .dz-loader {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    position: absolute;
    top: 0;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: auto
}

#file-dropzone.dropzone .dz-complete .dz-preview .dz-loader {
    display: none
}

.sortable .ui-sortable-placeholder {
    background: #efefef;
    visibility: visible !important;
    display: block;
    top: 4px;
    height: 130px;
    width: 150px;
    margin: 0 auto
}

.sortable .ui-sortable-placeholder:before {
    position: absolute;
    content: "+";
    font-size: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    color: #ccc;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    line-height: 130px
}

.sortable .dz-preview a {
    margin: 5px 3px;
    display: inline-block;
    color: #bebebe;
    font-size: 22px;
    cursor: pointer !important
}

.sortable .dz-preview a:hover {
    color: #f14d4d
}

.sortable .dz-preview a .glyphicon {
    cursor: pointer !important
}
.overviewDet .item {
    padding: 5px 15px;
    font-size: 16px;
}
.overviewDet .wrap {
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}
.accept_title_top h3 {
    font-size: 22px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
  #autoaddress input, #autoaddress .autoaddress-autocomplete {
    min-width: 100%;
  }
  #car_details img {
    display: block;
    margin: auto;
  }
  #file-dropzone > span.btn {
    left: 0;
    margin: auto;
    max-width: 300px;
  }
  .autoaddress-control > .autoaddress-text-box {
    width: 100%;
  }
  .autoaddress-control .autoaddress-button.btn.btn-default,
  body #autoaddress button.btn.btn-default {
    margin: auto;
    display: block;
    max-width: 300px;
    width: 100%;
  }
  .accept_title_top,
  .accept_title_top + .center-block {
    text-align: center
  }
  .center-block .btn.btn-default {
    width: 100%;
    max-width: 300px;
  }
}
#autoaddress .autoaddress-control {
  max-width: none;
}
#autoaddress input,
#autoaddress .autoaddress-autocomplete {
  width: calc(100% - 205px);
}
#autoaddress button.btn.btn-default {
  margin-left: 30px;
}
.accept_title_top h4 {
    font-size: 16px;
    opacity: .8;
}

.section_title h2,
.car_details_block h3,
#car_autoaddress h3 {
    font-size: 20px !important;
}

.flexCenter_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center
}


/* Payment */
.payment_spacing_sm {
  margin-bottom: 50px;
}

#content_stripe .custom_payment h1 {
  font-size: 30px;
  color: #181a1b;
  font-family: "LatoWebLight";
}

#content_stripe .custom_payment h2 {
  text-transform: none;
  color: #000;
  font-family: 'LatoWebLight';
  line-height: 34px;
}

.form-group.custom_form_payment {
  background: #ffffff;
  margin-bottom: 30px;
  padding: 20px;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.custom_form_payment label {
  font-size: 16px;
  font-weight: normal;
  font-family: "LatoWebHeavy";
  line-height: 22px;
  display: block;
  width: 100%;
}

.custom_form_payment label + span {
  font-size: 16px;
  margin-bottom: 5px;
  display: block;
  padding: 0;
  line-height: normal;
}

.custom_form_payment .form-control {
    border: solid 1px #ccc;
}

.custom_form_payment .expire_date {
  display: block;
  width: auto;
}

.align_card_expired {
  margin-top: 10px;
  padding-left: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.expire_date .align_card_expired .input-group.bootstrap-touchspin {
  float: none
}

.align_card_expired .sep_value {
  margin: 0 50px;
  display: block;
  font-size: 20px;
}

.expire_date .align_card_expired .btn.btn-default.bootstrap-touchspin-up {
  left: 100%;
  right: auto;
}

.logo_stripe.custom_striper {
  padding: 20px;
  background: #eee;
  max-width: inherit;
  font-size: 16px;
  line-height: 1.3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.logo_stripe.custom_striper img {
  float: none;
  margin-bottom: 10px;
}

.expire_date .btn.btn-default.bootstrap-touchspin-up,
.expire_date .btn.btn-default.bootstrap-touchspin-down {
  z-index: 10 !important;
}
@media (min-width: 992px) {
  #autoaddress input,
  #autoaddress .autoaddress-autocomplete {
    width: calc(100% - 266px);
  }
}
@media (max-width: 991px) {
  .autoaddress-control .autoaddress-button.btn.btn-default {
    text-align: center;
    padding: 0;
    line-height: normal;
  }
  .sortable .image_column {
    width: 50%;
  }
  .accept_title_top h3 br {
    display: none;
  }
}
#form_cars_to_buy {
  margin-bottom: 30px;
}