/*
  --------------------------------------------------------------
  GLOBAL STYLES
  --------------------------------------------------------------
*/

html,
body {
  height: 100%;
}

#content section.contentWrapper {
  /* This background-color should be here in production
  to create seperation of content with the cards. */
  background-color: #f5f5f5;

  /* This padding can MAYBE? be taken OUT in production */
  padding-bottom: 4em;
}

/*
  --------------------------------------------------------------
  ANIMATION KEYFRAMES
  --------------------------------------------------------------
*/

@-webkit-keyframes rippleAnimate {
  0% {
    opacity: 0;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes rippleAnimate {
  0% {
    opacity: 0;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

@-o-keyframes rippleAnimate {
  0% {
    opacity: 0;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

@keyframes rippleAnimate {
  0% {
    opacity: 0;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}


.card__container {
  opacity: 0;
  transform: translateY(100px);
  padding-right: 15px;
  padding-left: 15px;
}

.card__container--loaded {
  opacity: 1;
  transform: translateY(0);
}

.card__container--1,
.card__container--2,
.card__container--3 {
  -webkit-transition: opacity 0.333s cubic-bezier(0.8, 0, 0.24, 1), transform 0.333s cubic-bezier(0.8, 0, 0.24, 1);
  transition: opacity 0.333s cubic-bezier(0.8, 0, 0.24, 1), transform 0.333s cubic-bezier(0.8, 0, 0.24, 1);
}
/*
  --------------------------------------------------------------
  CARDS
  --------------------------------------------------------------
*/

/* CARD FILTERED */

.card__filtered {
  display: none; 
}
.vehiclePricingDetails> * > .priceBlockItemDivider{
  display: none
}

/* CARD COUPON */

.card__coupon {
  display: block;
  float: left;
  position: relative;
  min-height: 1px;
  width: 100%;
  background-color: #fefefe;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-radius: 2px;
  z-index: 1;
  -webkit-transition: box-shadow 0.333s cubic-bezier(0.8, 0, 0.24, 1);
  transition: box-shadow 0.333s cubic-bezier(0.8, 0, 0.24, 1);
  margin-bottom: 2em;
}

/* CARD FACE */

.card__filtered {
  display: none;
}

.card .card__face.active {
  padding: 1em;
}

.card .card__face.active .card__hero,
.card .card__face.active .card__body,
.card .card__face.active .card__footer {
  position: relative;
}

/* CARD FACE HERO */

.card .card__face.active .card__hero {
  margin: -1em -1em 1em -1em;
}

.card__face.active .card__hero img {
  width: 100%;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

/* CARD FACE BODY */

.card .card__face.active .card__body {
  flex-grow: 1;
}

.card__body .card__title--main,
.card__body .card__title--sub {
  margin-top: 0;
}

.card__body .card__title--main {
    margin-bottom: 2px;
}
.card__body .card__title--sub {
    margin-bottom: 1em;
}

.card__genesis-dollar-sign {
  font-size: 50%;
  font-weight: 600;
}

.card__body .center-cta {
    justify-content: center;
    display: flex;
}

.card__body .center-cta .btn + .btn {
  margin-left: .3em;
}

.card__body .card__actions {
  margin-bottom: 0.5em;
}

.card__actions .btn{
  margin-bottom: 0.5em;
}

.sendToAndroidPayButton {
  opacity: 0;
}

.sendToAndroidPayButton.addMargin {
  margin-top: 5.5em !important;
}

.card__body .card__description {
  position: relative;
  overflow: hidden;
}

.card .card__description-expanded {
  position: relative;
  overflow: hidden;
}

.card .card__description.card__body--truncate {
  max-height: 200px;
  min-height: 200px;
}

.card .card__description.card__body--truncate::after {
  content: '';
  width: 100%;
  height: 150px;
  background-image: linear-gradient(to top, #fff 20%, rgba(255, 255, 255, 0));
  display: block;
  position: absolute;
  bottom: 0;
}

.card__body .viewSpDisclaimer .btn { 
  border: 0; 
  padding: 0; 
}

.card__body .card__disclaimer.hideSpDisclaimer { 
  height: 0; 
  overflow: hidden;
}


.card .btn.card__body--read-more-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  border: 1px solid #777;
  background-color: #fff;
}

.card .btn.card__body--read-less-btn {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background-color: rgba(255, 255, 255, 0.25);
  display: block;
}


.card__body .card__description p:empty,
.card__body .card__offerValue p:empty {
  padding-top: 0;
}

.card__body :last-child p {
  margin-bottom: 0;
}

/* CARD FACE FOOTER */

.card .card__footer small {
  display: block;
}

/* CARD FACE ALT */

.card .card__face--alt.active {
  padding: 1em;
}

.card .card__face--alt.active .form__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1em 0;
}

.card__face--alt.active form .card__form--close {
  padding: 0 1em;
}

.card__face--alt.active .form-group {
  position: relative;
  margin-bottom: 24px;
}

.card__face--alt.active .form-group label.has-error {
  position: absolute;
  right: 0;
  top: 64px;
  color: #F44336;
  font-size: 12px;
  line-height: 12px;
  margin-bottom: 0;
}

/* CARD FACE / FACE ALT */

.card .card__face.inactive,
.card .card__face--alt.inactive {
  display: none;
}

.card .card__face.inactive .btn,
.card .card__face--alt.inactive .btn {
  display: none;
}

@media (min-width: 992px) {
  .card__coupon:hover,
  .card__coupon:focus,
  .card__coupon:active {
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.1);
  }

  .card__container--1 .card__coupon .card__hero img {
    object-fit: cover;
    max-height: 600px;
  }
}

/* PRICE STACK */

.card__container.card__container--loaded {
  transform: none;
}

.card__container.card__container--loaded .card__coupon {
  z-index: unset;
}

.contentWrapper .popover {
  color: #FFF;
  background-color: #333;
  min-width: 200px;
}

.contentWrapper .popover a {
  color: inherit;
}

.contentWrapper .popover .arrow::after {
  border-top-color: #333;
  border-bottom-color: #333;
}

#rebateModal .modal-body {
  height: 500px;
}

@media (min-width: 1200px) {
  #rebateModal .modal-dialog {
      width: 44%;
  }
}

@media (max-width: 1199px) {
  #rebateModal .modal-dialog {
      width: 75%;
  }
}

@media (max-width: 998px) {
  #rebateModal .modal-dialog {
      width: 85%;
  }
}

@media (max-width: 767px) {    
  #rebateModal .modal-dialog {
      width: 95%;
  }
}

/*
  --------------------------------------------------------------
  SEARCH REFINEMENT
  --------------------------------------------------------------
*/

#refineSettings button.btn.btn-default.link-unstyled,
#refineSettings button.btn.btn-default.link-unstyled:visited,
#refineSettings button.btn.btn-default.link-unstyled:hover,
#refineSettings button.btn.btn-default.link-unstyled:active,
#refineSettings button.btn.btn-default.link-unstyled:focus,
#refineSettings button.btn.btn-default.link-unstyled:active:hover {
  position: relative;
  font-style: inherit;
  color: #333;
  background-color: transparent;
  font-size: inherit;
  text-decoration: none;
  font-variant: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-family: inherit;
  border-radius: inherit;
  border: none;
  border-color: initial;
  outline: initial;
  outline-offset: initial;
  -webkit-box-shadow: inherit;
  box-shadow: inherit;
  vertical-align: inherit;
  text-transform: inherit;
  width: 100%;
  padding: 12px 0 0 0;
}

/* SIDE NAV OUTER */

.sidenav {
  position: fixed;
  height: 100%;
  width: 400px;
  z-index: 9999;
  top: 0;
  right: -400px;
  background-color: #fff;
  overflow-x: hidden;
  -webkit-transition: 0.35s;
  -o-transition: 0.35s;
  transition: 0.35s;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.shade {
  position: fixed;
  opacity: 0;
  z-index: 9998;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  -webkit-transition: opacity 0.35s ease-in-out;
  -o-transition: opacity 0.35s ease-in-out;
  transition: opacity 0.35s ease-in-out;

  /* We might be able to just set this as a CSS property by default in the CSS not like this */

  /* pointer-events:none; */
}

/*
  --------------------------------------------------------------
  SIDE NAV INNER
  --------------------------------------------------------------
*/

/* TITLE */

#refineTitle {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 1em 2em;
  background-color: #eee;
  border-bottom: 1px solid #ddd;
}

.refineTitle-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.refineTitle-container .toggle-button-X {
  color: #777;
  height: 48px;
  width: 48px;
  text-align: right;
  font-size: 24px;
  cursor: pointer;
}

.refineTitle-container .fa-times {
  margin-top: 12px;
}

/*
  --------------------------------------------------------------
  GLOBAL REFINEMENT SETTINGS
  --------------------------------------------------------------
*/

#refineSettings {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  position: relative;
  overflow-y: auto;
}

#refineSettings button.link-unstyled p {
  clear: both;
  left: 0;
  width: 100%;
  font-size: 11px;
  text-align: left;
  opacity: 1;
  -webkit-transition: opacity 0.35s ease-in-out;
  -o-transition: opacity 0.35s ease-in-out;
  transition: opacity 0.35s ease-in-out;
}

#refineSettings button.link-unstyled[aria-expanded='false'] > p {
  opacity: 0;
}

/*
  --------------------------------------------------------------
  REFINEMENT TYPES
  --------------------------------------------------------------
*/

.refineLabels {
  float: left;
  font-size: 16px;
}

.container-border-bottom {
  border-bottom: 1px solid #ddd;
}

#refineSettings .fa-angle-down {
  float: right;
  width: 18.86px;
  font-size: 22px;
  color: #777;
  -webkit-transform: scaleX(-1) rotate(180deg);
  -ms-transform: scaleX(-1) rotate(180deg);
  transform: scaleX(-1) rotate(180deg);
  -webkit-transition: -webkit-transform 0.35s ease-in-out;
  -o-transition: transform 0.35s ease-in-out;
  transition: -webkit-transform 0.35s ease-in-out;
  transition: transform 0.35s ease-in-out;
  transition: transform 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;
}

#refineSettings button.btn-default[aria-expanded='false'] > .fa-angle-down {
  -webkit-transform: scaleX(-1) rotate(0deg);
  -ms-transform: scaleX(-1) rotate(0deg);
  transform: scaleX(-1) rotate(0deg);
}

.checkbox-container {
  font-size: 14px;
}

.checkbox-container:last-of-type {
  margin-bottom: 0;
}

.checkbox-container label {
  display: block;
  padding-left: 15px;
  text-indent: -15px;
  font-family: inherit;
  font-size: 18px;
  margin-bottom: 0;
  line-height: 24px;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  top: -1px;
  position: relative;
}

/*
  --------------------------------------------------------------
  REFINEMENT TAGS
  --------------------------------------------------------------
*/

.tag__enabled--input {
  width: 400px;
  height: 16px;
}

.tag__enabled--container {
  color: #333;
  padding: 0 0 0 9px;
  line-height: 22px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 0 4px 4px;
  overflow: hidden;
  resize: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-shadow: 0 1px 0 white;
  box-shadow: 0 1px 0 white;
  display: inline-block;
}

.tag__enabled--container span {
  vertical-align: top;
  max-width: 150px;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

.tag__enabled--container .fa-times {
  color: #777;
  margin: 3px 0 0 3px;
  cursor: pointer;
  display: inline-block;
  width: 15px;
  height: 15px;
}

/*
  --------------------------------------------------------------
  NO SPECIALS FORM
  --------------------------------------------------------------
*/

#emptyForm {
  display: none;
}

#emptyForm .help-block {
  color: #707070;
}

/*
  --------------------------------------------------------------
  REFINEMENT APPLY BUTTON
  --------------------------------------------------------------
*/

#refineApply {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  font-family: Helvetica Neue, HelveticaBold, Arial, sans-serif;
  color: #fff;
}

#refineApply .toggle-button-apply {
  width: 100%;
}

/*
  --------------------------------------------------------------
  MEDIA QUERIES
  --------------------------------------------------------------
*/

@media (max-width: 991px) {
  .checkbox-container label {
    padding-left: 20px;
    text-indent: -20px;
    line-height: 36px;
  }

  .checkbox-container input {
    width: 24px;
    height: 24px;
  }

  .tag__enabled--container {
    font-size: 16px;
    line-height: 27px;
  }

  .tag__enabled--container .fa-times {
    width: 20px;
    height: 20px;
    margin: 3px 0 0 8px;
  }
}

@media (max-width: 399px) {
  #refineSidenav {
    width: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

@media print {
  body.displayPrint *:not(.print) {
    display: none;
    margin: 0px;
    padding: 0px;
  }
  
	.card__coupon.print{
		padding: 6px;
		border: 2px dashed #888;
  }
    .displayPrint, .card__coupon.print, .card__coupon.print *, .print-address, .print-address br, .slp-col {
      display: block !important;
    }
    .print-address span[class*="callNowClass"] {
      display: inline-block;
    }
    .card__coupon.print .card__actions, .card__coupon.print .card__face--alt {
      display: none !important;
    }
    .card__wrapper--2.card__coupon.print {
        width: 50%;
    }
    .card__wrapper--3.card__coupon.print {
        width: 33%;
    }
    .slp-col.displayPrint, .even__cols.displayPrint {
      width: 100%;
    }
    .card .card__description.card__body--truncate {
      max-height: unset;
    }
    .card__coupon.print .viewSpDisclaimer, .card__coupon.print .card__body--read-more-btn { 
      display: none !important; 
    }
    .print .card__disclaimer { 
      height: auto !important;
    }
}

@media screen {
  .print-address{
    display: none;
  }
}

/*
  --------------------------------------------------------------
  REFINEMENT APPLY BUTTON
  --------------------------------------------------------------
*/

#smsLeadModal .modal-body{
	margin:  1em;
	border: 2px dashed #007dc5;
}


/*
  --------------------------------------------------------------
  SERVICE EVENTS
  --------------------------------------------------------------
*/

.service-events__flex {
	display: flex;
	align-items: center;
}
.service-events__text {
	margin: 0;
}
.service-events__cta {
	margin-left: 2em;
}
@media (max-width: 1023px) {
	.service-events__cta {
		margin-left: auto;
	}
}
@media (max-width: 767px) {
	.service-events__text {
		font-size: 18px;
	}
}


/*
  --------------------------------------------------------------
  BROWSER SPECIFIC
  --------------------------------------------------------------
*/

@-moz-document url-prefix() {
  .toggle-button-apply.bg-cta:hover:active {
    padding: 0;
  }
}


.card__wrapper--3 .upper-grid{
  display: block;
}

.upper-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.left-grid {
  grid-row-start: 1;
  grid-row-end: 1;
  grid-column-start: 1;
  grid-column-end: 1;
  margin-bottom: 1em;
}

.pricing-stack {
  grid-row-start: 1;
  grid-row-end: 4;
  grid-column-start: 2;
  margin-top: .85em;
}

@media (min-width: 768px) and (max-width: 991px) {
  .card__wrapper--3 .upper-grid {
    display: grid;
  }
}

@media (max-width: 767px) {
  .upper-grid {
    display: block;
  }
}

@media (max-width: 991px) {
  .card__container--3 .slp-col:nth-child(3) { display: none; }
}
  
  @media (max-width: 767px) {
  .slp-col + .slp-col { display: none; }
}

@media (max-width: 575px) {
  .card__actions .btn {
    display: block;
  }
}

.list-unstyled.priceBlock.priceBlockVehicleSpecialResponsive li {
    clear: both;
}


.list-unstyled.priceBlock.priceBlockVehicleSpecialResponsive > li > ul > li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -webkit-align-items: end;
    -ms-flex-align: end;
    align-items: end;
}
