form.general-form .form-group-wrapper:not(.custom-check) {
  width: 100%;
}

form .form-group-wrapper {
  margin-bottom: 45px;
  width: 65%;
}

@media screen and (max-width: 767.98px) {
  form .form-group-wrapper {
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 991.98px) {
  form .form-group-wrapper {
    width: 75%;
  }
}

form .form-group-wrapper .form-group {
  margin-bottom: 24px;
}

form .form-group-wrapper label:not(.form-check-label) {
  margin-bottom: 6px;
}

form select {
  background: url("/assets/icons/orange-icons/arrow-down.svg") no-repeat right 0.75rem center/8px 10px !important;
}

.form-group.custom .form-check:not(.custom-payment) {
  width: calc(100% / 4 - 1rem);
  padding-left: 0;
  margin: 0.5rem;
}

@media screen and (max-width: 575.98px) {
  .form-group.custom .form-check:not(.custom-payment) {
    width: 90%;
    margin: 0 auto 12px auto;
  }
}

@media screen and (min-width: 576px) and (max-width: 767.98px) {
  .form-group.custom .form-check:not(.custom-payment) {
    width: calc(100% / 2 - 1rem);
    margin-bottom: 12px;
  }
}

.form-group.custom .form-check.custom-payment {
  margin-block: 12px;
}

.form-group.custom .form-check.custom-payment .form-check-label {
  width: 100%;
}

.form-group.custom .form-check.custom-payment .form-check-label .form-check-inner {
  border: 1px solid #868e96;
  border-radius: 10px;
}

.form-group.custom .form-check.custom-payment .form-check-label .item-details {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 87%;
  margin-left: 16px;
}

.form-group.custom .form-check.custom-payment .form-check-label input:checked ~ .checkmark {
  background-color: #4278B8;
}

.form-group.custom .form-check.custom-payment .form-check-label input:checked ~ .checkmark:after {
  display: block;
}

.form-group.custom .form-check.custom-payment .form-check-label input:checked ~ .checkmark + .form-check-inner {
  border-color: #4278B8;
}

.form-group.custom .form-check.custom-payment .form-check-label .checkmark {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 15px;
  height: 20px;
  width: 20px;
  border: 1px solid #A3A1A1;
  border-radius: 5px;
  background-color: transparent;
}

.form-group.custom .form-check.custom-payment .form-check-label .checkmark:after {
  content: "\2713";
  position: absolute;
  display: none;
  left: 5px;
  top: -1px;
  height: 11px;
  color: #fff;
}

.form-group.custom .form-check input {
  position: absolute;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.form-group.custom .form-check input:not(.input-back) {
  width: 100% !important;
  height: 100%;
}

.form-group.custom .form-check input:not(.input-back):checked + .form-check-inner {
  border: 3px solid #4278B8;
}

.form-group.custom .form-check input:not(.input-back)input[name=online_payment] {
  width: 0;
  height: 0;
}

.form-group.custom .form-check .form-check-inner {
  background-color: #fff;
  border-radius: 20px;
  height: 100%;
  padding-block: 15px;
  padding-inline: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.form-group.custom .form-check .form-check-inner .economy {
  color: #2ECC71;
}

.form-group.custom .form-check .form-check-inner .express {
  color: #4278B8;
}

.form-group.custom .form-check .form-check-inner .item-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

.form-group.custom .form-check .form-check-inner .item-details .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 50px;
}

@media screen and (max-width: 767.98px) {
  .form-group.custom .form-check .form-check-inner .item-details .top {
    height: 35px;
  }
}

.form-group.custom .form-check .form-check-inner .item-details .top img {
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  height: 100%;
}

.form-group.custom .form-check .form-check-inner label {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.form-group.custom .form-check .form-check-inner label button {
  border-width: 2px;
  width: 100%;
  pointer-events: none;
  height: 55px;
}

.form-group-wrapper:not(:last-of-type) {
  border-bottom: 1px solid #A3A1A1;
}

.form-group-wrapper:last-of-type .btn {
  border-radius: 10px;
}

.form-group-wrapper .meta-info-wrapper {
  position: relative;
}

@media screen and (min-width: 768px) {
  .form-group-wrapper .meta-info-wrapper .meta-info {
    width: 35%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 100%;
    margin-inline: 12px;
  }
}

.form-group-wrapper input,
.form-group-wrapper textarea,
.form-group-wrapper select {
  border: 1px solid #A3A1A1 !important;
  background-color: transparent !important;
  border-radius: 10px;
}

.form-group-wrapper .form-group.custom .form-input {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.form-group-wrapper.custom-check.custom-input .form-group {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.form-group-wrapper.custom-check.custom-input .form-group input {
  width: 65%;
}

.form-group-wrapper.custom-check.custom-input .form-group .btn {
  margin: 0;
  width: 30%;
}

#get-rates {
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 200px;
  margin-bottom: 16px;
}

#courier-card-wrapper {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  display: none;
}

#courier-card-wrapper.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

