.shr-flipper {
  max-width: 512px;
  /*  min-height: 450px; */
  position: relative;
  margin: 0 auto;
 /* transition: height 0.3s ease;*/
}

.shr-flipper.shr-flipper--flipped .shr-flipper__wrapper {
 transform:rotatey(-180deg);
 -ms-transform:rotatey(-180deg); /* IE 9 */
 -moz-transform:rotatey(-180deg); /* Firefox */
 -webkit-transform:rotatey(-180deg); /* Safari and Chrome */
 -o-transform:rotatey(-180deg); /* Opera */
}

.shr-flipper .shr-flipper__wrapper{
 width: 100%;
 height: 100%;
 -webkit-transform-style: preserve-3d;
 -webkit-transition: 0.5s;
 -moz-transform-style: preserve-3d;
 -moz-transition: 0.5s;
 -ms-transform-style: preserve-3d;
 -ms-transition: 0.5s;
 -o-transform-style: preserve-3d;
 -o-transition: 0.5s;
 transform-style: preserve-3d;
 transition: 0.5s;
}

.shr-flipper .shr-flipper__wrapper .shr-flipper__card {
 width: 100%;
 max-width: 100%;
 /* height: 100%;  check if this breaks anything */
 height: auto;
 position: absolute;
 margin: 0;
 backface-visibility: hidden;  /* W3C */
 -webkit-backface-visibility: hidden; /* Safari & Chrome */
 -moz-backface-visibility: hidden; /* Firefox */
 -ms-backface-visibility: hidden; /* Internet Explorer */
 -o-backface-visibility: hidden; /* Opera */
 background-color: #FFFFFF;
 color: #101820;
 box-shadow: 0px 10px 50px 0px #00000080;
}

.shr-flipper .shr-flipper__wrapper .shr-flipper__card--back {    
 transform:rotatey(-180deg);
 -ms-transform:rotatey(-180deg); /* IE 9 */
 -moz-transform:rotatey(-180deg); /* Firefox */
 -webkit-transform:rotatey(-180deg); /* Safari and Chrome */
 -o-transform:rotatey(-180deg); /* Opera */
}

.shr-flipper .shr-flipper__wrapper .shr-flipper__card--front,
.shr-flipper .shr-flipper__wrapper .shr-flipper__card--back {
   box-shadow: 0.999px -0.052px 13px 0 rgba(0,0,0,.25);
   opacity: 1;
   transition: opacity 0.3s ease;
}

.shr-flipper.shr-flipper--flipped .shr-flipper__wrapper .shr-flipper__card--front {
   opacity: 0;
}

.shr-flipper.shr-flipper--flipped.shr-flipper--flipped-visible .shr-flipper__wrapper .shr-flipper__card.shr-flipper__card--back {
 backface-visibility: visible;  /* W3C */
 -webkit-backface-visibility: visible; /* Safari & Chrome */
 -moz-backface-visibility: visible; /* Firefox */
 -ms-backface-visibility: visible; /* Internet Explorer */
 -o-backface-visibility: visible; /* Opera */
}

.shr-flipper .shr-input-field label {
    color: #101820;
}

.shr-flipper h2 {
    font-weight: 700;
    font-size: 28px;
    line-height: 24px;
}

.shr-flipper .shr-link {
    color: #715314;
    font-size: 16px;
}

.shr-flipper .shr-link:hover {
  color: #CF9F35;
}

.shr-flipper .shr-link--primary {
    color: #CF9F35;
    font-size: 16px;
}

.shr-flipper__card--back .shr-link {
    font-size: 16px;
}

.shr-flipper .shr-button {
/* margin-bottom: 36px; */
    max-width: 50%;
    width: 50%;
}
.shr-button--no-margin{
    margin-bottom: 0px!important;
}

.shr-flipper .shr-button:first-of-type {
    margin-right: 1rem;
}

.shr-flipper .shr-button:only-child {
    margin-right: 0;
}

.shr-flipper .shr-card__cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.shr-flipper .shr-card__cta.shr-util__cancel {
  flex-direction: row;
}

.shr-flipper .shr-card__cta-secondary {
  text-align: center;
  margin: 0 auto;
}

.shr-flipper .shr-card__cta-secondary .shr-link {
    font-size: 16px;
}

.shr-flipper .shr-card__cta-secondary {
  border-top: 1px solid #E8E9EA;
  padding-top: 24px;
}

.shr-flipper .shr-card__cta-secondary p, .shr-flipper .shr-card__cta-secondary .shr-link {
  font-size: 13px;
}

.shr-flipper .shr-card__cta-secondary .shr-link[href*="tel:"] {
  font-weight: 400;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .shr-flipper {
      max-width: 100%;
      margin: 0px;
    }
    .shr-flipper .shr-card__cta.shr-util__cancel {
        flex-direction: column;
    }

    .shr-flipper .shr-card__section {
        padding: 40px 35px;
    }
   
    .shr-flipper .shr-flipper__wrapper .shr-flipper__card--front,
    .shr-flipper .shr-flipper__wrapper .shr-flipper__card--back {
        box-shadow: none;
    }
    
    .shr-flipper .shr-button {
        margin-bottom: 16px;
        max-width: 100%;
        width: 100%;
    }
    .shr-button--primary{

        max-width: inherit;
    }

    .shr-flipper .shr-button:only-child {
      width: 100%;
    }

    .shr-flipper .shr-card__cta {
        align-items: flex-start;
        text-align: left;
    }

    .shr-flipper .shr-card__cta.shr-util__cancel {
     /* flex-direction: column;*/
    }

    .shr-flipper .shr-card__cta-secondary {
      width: 100%;
    }

    .shr-flipper .shr-card__cta-secondary .shr-link[href*="tel:"] {
        font-weight: 700;
        cursor: pointer;
        color: #D6B151;
        pointer-events: all;
    }
    .shr-link[href*="tel:"]{
        text-decoration: underline !important;
    }

}
.shr-flipper .shr-card__cta-secondary a{
    color:#b68a2b;
    text-decoration: underline;
}


