.mforms body,
.mforms input,
.mforms select,
.mforms textarea,
.mforms body * {
  /*font-family: 'Roboto', sans-serif;*/
  box-sizing: border-box;
}
.mforms body::after, .mforms body::before,
.mforms input::after,
.mforms input::before,
.mforms select::after,
.mforms select::before,
.mforms textarea::after,
.mforms textarea::before,
.mforms body *::after,
.mforms body *::before {
  box-sizing: border-box;
}
.mforms body {
  background-image: linear-gradient(top, #f2f2f2, #e6e6e6);
}
.mforms h1 {
  /*font-size: 2rem;*/
  text-align: center;
  margin: 0 0 2em;
}
.mforms h1 small {
  font-size: 50%;
  color: #666;
  display: block;
}
.mforms .container {
  position: relative;
  max-width: 40rem;
  margin: 5rem auto;
  background: #fff;
  width: 100%;
  padding: 3rem 5rem 0;
  border-radius: 1px;
}
.mforms .container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
  transform: scale(0.98);
  transition: transform 0.28s ease-in-out;
  z-index: -1;
}
.mforms .container:hover::before {
  transform: scale(1);
}
.mforms .button-container {
  text-align: center;
}
.mforms fieldset {
  margin: 0 0 3rem;
  padding: 0;
  border: none;
}
.mforms .form-radio,
.mforms .form-group {
  position: relative;
  margin-top: 14px;
  margin-bottom: 14px;
}
.mforms .form-inline > .form-group,
.mforms .form-inline > .btn {
  display: inline-block;
  margin-bottom: 0;
}
.mforms .form-help {
  margin-top: 2px;
  margin-left: 2px;
  color: #b3b3b3;
  font-size: 0.8em;
}
.checkbox .mforms .form-help, .form-radio .mforms .form-help, .form-group .mforms .form-help {
  position: absolute;
  width: 100%;
}
.checkbox .mforms .form-help {
  position: relative;
  margin-bottom: 1rem;
}
.form-radio .mforms .form-help {
  padding-top: 0.25em;
  margin-top: -1em;
}
.mforms .form-group input {
  height: 1.9em;
}
.mforms .form-group textarea {
  resize: none;
}
.mforms .form-group select {
  width: 100%;
  font-size: 16px;
  height: 1.6em;
  padding: 0.125em 0.125em 0.0625em;
  background: none;
  border: none;
  line-height: 1.6;
  box-shadow: none;
}
.mforms .form-group .control-label {
  position: absolute;
  top: 0.25rem;
  pointer-events: none;
  padding-left: 2px;
  z-index: 1;
  color: #b3b3b3;
  font-size: 16px;
  font-weight: normal;
  transition: all 0.28s ease;
}
.mforms .form-group .bar {
  position: relative;
  border-bottom: 1px solid #ccc;
  display: block;
}
.mforms .form-group .bar::before {
  content: '';
  height: 1px;
  width: 0;
  left: 50%;
  bottom: -1px;
  position: absolute;
  background: #337ab7;
  transition: left 0.28s ease, width 0.28s ease;
  z-index: 2;
}
.mforms .form-group input,
.mforms .form-group textarea {
  display: block;
  background: none;
  padding: 2px 2px 0.0625rem;
  font-size: 16px;
  border-width: 0;
  border-color: transparent;
  line-height: 1.9;
  width: 100%;
  color: transparent;
  transition: all 0.28s ease;
  box-shadow: none;
}
.mforms .form-group input[type="file"] {
  line-height: 1;
}
.mforms .form-group input[type="file"] ~ .bar {
  display: none;
}
.mforms .form-group select,
.mforms .form-group input:focus,
.mforms .form-group input.form-file,
.mforms .form-group .has-value,
.mforms .form-group .always-open,
.mforms .form-group .im-colormask,
.mforms .form-group textarea:focus,
.ik_select ~ .control-label,
.mforms .form-group textarea.form-file,
.mforms .form-group .has-value,
.mforms .form-group .im-colormask,
.mforms .form-group .always-open {
  color: #333;
}
.mforms .form-group select ~ .control-label,
.mforms .form-group input:focus ~ .control-label,
.mforms .form-group input.form-file ~ .control-label,
.mforms .form-group .always-open ~ .control-label,
.mforms .form-group .has-value ~ .control-label,
.mforms .form-group .im-colormask ~ .control-label,
.mforms .form-group textarea:focus ~ .control-label,
.ik_select ~ .control-label,
.mforms .form-group textarea.form-file ~ .control-label,
.mforms .form-group .always-open ~ .control-label,
.mforms .form-group .im-colormask ~ .control-label,
.mforms .form-group .has-value ~ .control-label {
  font-size: 13px;
  color: gray;
  top: -1em;
  left: 0;
}
.mforms .form-group select:focus,
.mforms .form-group input:focus,
.mforms .form-group .always-open,
.mforms .form-group .im-colormask,
.mforms .form-group textarea:focus {
  outline: none;
}
.mforms .form-group select:focus ~ .control-label,
.mforms .form-group input:focus ~ .control-label,
.mforms .form-group .always-open ~ .control-label,
.mforms .form-group .im-colormask ~ .control-label,
.mforms .form-group textarea:focus ~ .control-label {
  color: #337ab7;
}
.mforms .form-group select:focus ~ .bar::before,
.mforms .form-group input:focus ~ .bar::before,
.mforms .form-group .always-open ~ .bar::before,
.mforms .form-group .im-colormask ~ .bar::before,
.mforms .form-group textarea:focus ~ .bar::before {
  width: 100%;
  left: 0;
}
.mforms .checkbox label,
.mforms .form-radio label {
  position: relative;
  cursor: pointer;
  padding-left: 2rem;
  text-align: left;
  color: #333;
  display: block;
}
.mforms .checkbox input,
.mforms .form-radio input {
  width: auto;
  opacity: 0.00000001;
  position: absolute;
  left: 0;
}
.mforms .radio {
  margin-bottom: 1rem;
}
.mforms .radio .helper {
  position: absolute;
  top: -0.25rem;
  left: -0.25rem;
  cursor: pointer;
  display: block;
  font-size: 16px;
  user-select: none;
  color: #999;
}
.mforms .radio .helper::before, .mforms .radio .helper::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 0.25rem;
  width: 1rem;
  height: 1rem;
  transition: transform 0.28s ease;
  border-radius: 50%;
  border: 2px solid currentColor;
}
.mforms .radio .helper::after {
  transform: scale(0);
  background-color: #337ab7;
  border-color: #337ab7;
}
.mforms .radio label:hover .helper {
  color: #337ab7;
}
.mforms .radio input:checked ~ .helper::after {
  transform: scale(0.5);
}
.mforms .radio input:checked ~ .helper::before {
  color: #337ab7;
}
.mforms .checkbox {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.mforms .checkbox .helper {
  color: #999;
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  z-index: 0;
  border: 2px solid currentColor;
  border-radius: 0.0625rem;
  transition: border-color 0.28s ease;
}
.mforms .checkbox .helper::before, .mforms .checkbox .helper::after {
  position: absolute;
  height: 0;
  width: 0.2rem;
  background-color: #337ab7;
  display: block;
  transform-origin: left top;
  border-radius: 0.25rem;
  content: '';
  transition: opacity 0.28s ease, height 0s linear 0.28s;
  opacity: 0;
}
.mforms .checkbox .helper::before {
  top: 0.65rem;
  left: 0.38rem;
  transform: rotate(-135deg);
  box-shadow: 0 0 0 0.0625rem #fff;
}
.mforms .checkbox .helper::after {
  top: 0.3rem;
  left: 0;
  transform: rotate(-45deg);
}
.mforms .checkbox label:hover .helper {
  color: #337ab7;
}
.mforms .checkbox input:checked ~ .helper {
  color: #337ab7;
}
.mforms .checkbox input:checked ~ .helper::after, .mforms .checkbox input:checked ~ .helper::before {
  opacity: 1;
  transition: height 0.28s ease;
}
.mforms .checkbox input:checked ~ .helper::after {
  height: 0.5rem;
}
.mforms .checkbox input:checked ~ .helper::before {
  height: 1.2rem;
  transition-delay: 0.28s;
}
.mforms .radio + .radio,
.mforms .checkbox + .checkbox {
  margin-top: 1rem;
}
.mforms .has-error .legend.legend, .mforms .has-error.form-group .control-label.control-label {
  color: #d9534f;
}
.mforms .has-error.form-group .form-help,
.mforms .has-error.form-group .helper, .mforms .has-error.checkbox .form-help,
.mforms .has-error.checkbox .helper, .mforms .has-error.radio .form-help,
.mforms .has-error.radio .helper, .mforms .has-error.form-radio .form-help,
.mforms .has-error.form-radio .helper {
  color: #d9534f;
}
.mforms .has-error .bar::before {
  background: #d9534f;
  left: 0;
  width: 100%;
}
.mforms .button {
  position: relative;
  background: currentColor;
  border: 1px solid currentColor;
  font-size: 18px;
  color: #4f93ce;
  margin: 3rem 0;
  padding: 0.75rem 3rem;
  cursor: pointer;
  transition: background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.mforms .button span {
  color: #fff;
  position: relative;
  z-index: 1;
}
.mforms .button::before {
  content: '';
  position: absolute;
  background: #071017;
  border: 50vh solid #1d4567;
  width: 30vh;
  height: 30vh;
  border-radius: 50%;
  display: block;
  top: 50%;
  left: 50%;
  z-index: 0;
  opacity: 1;
  transform: translate(-50%, -50%) scale(0);
}
.mforms .button:hover {
  color: #337ab7;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
}
.mforms .button:active::before, .mforms .button:focus::before {
  transition: transform 1.12s ease, opacity 0.28s ease 0.364s;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}
.mforms .button:focus {
  outline: none;
}

.mforms label.error {
    display: block;
    margin-bottom: -1px;
    border-bottom: 1px solid #F44336;
    position: relative;
    z-index: 4;
}

.mforms .control-label .required, .mforms .control-label > label {
    font-weight: 400 !important;
}

.order__address .mforms dl {
    margin-bottom: 0;
}

.mforms .ik_select {
    border: 0 none;
    max-width: 100%;
}

.mforms .ik_select_link_text {
    font-size: 16px;
    padding-left: 1px;
    padding-top: 1rem;
}

.mforms .ik_select + .control-label > label {
    font-size: 13px;
    color: gray;
}

.order__address .mforms dl dt, .order__address .mforms dl dd {
    margin-bottom: 0;
}

.mforms .ik_select_dropdown {
    border-top: 1px solid #ccc;
}

.checkbox-custom ~ .form-label, .radio-custom ~ .form-label {
    color: #999;
    font-weight: 400;
    font-size: 16px;
}

.radio:checked ~ .radio-custom ~ .form-label {
    color: #337ab7 !important;
}

.checkbox:checked ~ .checkbox-custom ~ .form-label {
    color: #337ab7 !important;
}

.checkbox-custom ~ .form-label, .radio-custom ~ .form-label {
    display: inline-block;
    width: calc(100% - 35px);
    line-height: 1.1em;
}

.mforms .form-group .error ~ label.error ~ label.control-label {
    color: #F44336;
}

.order__paytype .mforms input[type="text"] {
    font-family: monospace;
}

.mforms .cb-row {
    display: flex;
    align-items: center;
}

.mforms .cb-block {
    font-size: 16px;
    padding-left: 2px;
    color: #b3b3b3;
}

.mforms .cb-block {
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    
    .checkbox-custom ~ .form-label, .radio-custom ~ .form-label {
        font-size: 14px;
    }
    
    .mforms .form-group .control-label {
        font-size: 14px;
    }
    
    .mforms .form-group input[type="text"], 
    .mforms .form-group input[type="password"], 
    .mforms .form-group select, 
    .mforms .form-group textarea {
    }
    
    .mforms .cb-block {
        font-size: 14px;
    }
    
    .mforms .form-radio, .mforms .form-group {
        margin-top: 25px;
        margin-bottom: 25px;
    }
    
	.mforms .form-group select:focus ~ .bar::before,
	.mforms .form-group input:focus ~ .bar::before,
	.mforms .form-group .always-open ~ .bar::before,
	.mforms .form-group .im-colormask ~ .bar::before,
	.mforms .form-group textarea:focus ~ .bar::before {
	  width: 0;
	  left: 50%;
	}
    
	.mforms .form-group select:focus ~ .bar,
	.mforms .form-group input:focus ~ .bar,
	.mforms .form-group .always-open ~ .bar,
	.mforms .form-group .im-colormask ~ .bar,
	.mforms .form-group textarea:focus ~ .bar {
	  border-bottom-color: #337ab7;
	}
}