.fieldset {
  overflow: hidden;
}

.fieldset .legend {
  padding: 0 0 17px;
  font-family: 'Montserrat', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  color: #001f4b;
  background-image: url('../images/separator.jpg');
  background-repeat: no-repeat;
  background-position: bottom left;
}

.fieldset .fields {
  padding: 20px 0 30px;
  overflow: hidden;
}

.fieldset .row {
  overflow: hidden;
}

.fieldset .row::after {
  display: block;
  height: 0;
  clear: both;
  font-size: 0;
  visibility: hidden;
  zoom: 1;
  content: " ";
}

.fieldset .row label {
  width: 180px;
  min-height: 46px;
  line-height: 46px;
  color: #111;
}

.fieldset .row input[type="text"] {
  width: 320px;
  max-width: 100%;
  min-height: 46px;
  font-size: 1rem;
  line-height: 46px !important;
  color: #111;
  text-shadow: none;
  background: #f8f8f8;
  border: 1px none transparent;
  border-bottom: 2px solid #ddd;
  border-radius: 2px;
  transition: all ease-in-out 0.15s;
}

.fieldset .row input[type="text"].half {
  width: 156px !important;
}

.fieldset .row input[type="text"].small {
  width: 232px !important;
}

.fieldset .row input[type="text"].tiny {
  width: 80px !important;
}

.fieldset .row input[type="text"]:focus {
  background: #f3f3f3;
  border: 1px none transparent;
  border-bottom: 2px solid #10a9bb;
}

.fieldset .row select {
  width: 320px;
  max-width: 100%;
  min-height: 46px;
  font-size: 1rem;
  line-height: 46px !important;
  color: #111;
  text-shadow: none;
  background: #f8f8f8;
  border: 1px none transparent;
  border-bottom: 2px solid #ddd;
  border-radius: 2px;
  transition: all ease-in-out 0.15s;
}

.fieldset .row select.half {
  width: 146px;
}

.fieldset .row select:focus {
  background: #f3f3f3;
  border: 1px none transparent;
  border-bottom: 2px solid #10a9bb;
}

.fieldset .fa.security-code {
  float: left;
  height: 42px;
  margin: 2px 8px 0 0;
  font-size: 42px;
  cursor: pointer;
}

.form .button-blue.do-submit {
  margin: 15px 10px 0 0;
}

.form .button-blue.do-submit span {
  padding: 10px 25px 9px;
  font-size: 1.5rem;
}

.vine-window-container .fieldset .row input[type="text"] {
  width: 320px;
  max-width: 100%;
  min-height: 36px;
  font-size: 0.9rem;
  line-height: 36px !important;
}

.vine-window-container .fieldset .row select {
  width: 320px;
  max-width: 100%;
  min-height: 36px;
  font-size: 0.9rem;
  line-height: 36px !important;
}

.vine-window-container .fieldset .row label {
  width: 175px;
  min-height: 36px;
  font-size: 0.9rem;
  line-height: 36px;
}

#card-element-wrap {
  float: left;
  width: 100%;
  padding-top: 10px;
  overflow: hidden;
}

#card-element-style {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 500px;
  max-width: 100%;
  min-height: 46px;
  padding: 0 0 0 8px;
  overflow: hidden;
  font-size: 1rem;
  line-height: 46px !important;
  color: #111;
  text-shadow: none;
  background: #f8f8f8;
  border: 1px none transparent;
  border-bottom: 2px solid #ddd;
  border-radius: 2px;
  transition: all ease-in-out 0.15s;
}

#card-element {
  width: 100%;
}

@media (width <= 767px) {
  .fieldset .legend {
    font-size: 18px;
  }

  .vine-window-container .fieldset .legend {
    font-size: 0.9rem;
  }

  .fieldset .row label {
    width: 100%;
  }

  .fieldset .row input[type="text"].small {
    width: 100% !important;
  }

  .fieldset .row input[type="text"].half {
    width: calc(50% - 8px) !important;
  }

  .fieldset .row input[type="text"].half + input[type="text"].half {
    margin-right: 0;
    margin-left: 8px;
  }

  .fieldset .row select,
  .vine-window-container .fieldset .row select,
  .fieldset .row input[type="text"],
  .vine-window-container .fieldset .row input[type="text"] {
    width: 100% !important;
  }

  .vine-window-container .fieldset .row input[type="text"] {
    margin: 0 !important;
  }

  .fieldset .fa.security-code {
    display: none;
  }

  div.tip.fa.fa-info-circle {
    display: none;
  }

  .form .button-blue.do-submit {
    width: 100%;
    margin: 15px 0;
  }

  .form .button-blue.do-submit span {
    font-size: 1.25rem;
    text-align: center;
  }
}
