p {
  margin: 0 0 1rem;
}

p:last-child {
  margin: 0;
}

.field--widget-text-textarea ol,
.field--widget-text-textarea ul {
  margin: 0;
}

.field--widget-text-textarea ol li,
.field--widget-text-textarea ul li {
  margin: 0 0 1rem;
}

.js-form-type-textfield input[type=text]::-webkit-input-placeholder,
.js-form-type-textfield input[type=password]::-webkit-input-placeholder,
.js-form-type-textfield input[type=email]::-webkit-input-placeholder,
.js-form-type-textfield input[type=url]::-webkit-input-placeholder {
  color: #919297;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.js-form-type-textfield input[type=text]::-moz-placeholder,
.js-form-type-textfield input[type=password]::-moz-placeholder,
.js-form-type-textfield input[type=email]::-moz-placeholder,
.js-form-type-textfield input[type=url]::-moz-placeholder {
  color: #919297;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.js-form-type-textfield input[type=text]:-moz-placeholder,
.js-form-type-textfield input[type=password]:-moz-placeholder,
.js-form-type-textfield input[type=email]:-moz-placeholder,
.js-form-type-textfield input[type=url]:-moz-placeholder {
  color: #919297;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.js-form-type-textfield input[type=text]:-ms-input-placeholder,
.js-form-type-textfield input[type=password]:-ms-input-placeholder,
.js-form-type-textfield input[type=email]:-ms-input-placeholder,
.js-form-type-textfield input[type=url]:-ms-input-placeholder {
  color: #919297;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.js-form-type-textfield input[type=text]:focus::-webkit-input-placeholder,
.js-form-type-textfield input[type=password]:focus::-webkit-input-placeholder,
.js-form-type-textfield input[type=email]:focus::-webkit-input-placeholder,
.js-form-type-textfield input[type=url]:focus::-webkit-input-placeholder {
  opacity: 0;
}

.js-form-type-textfield input[type=text]:focus::-moz-placeholder,
.js-form-type-textfield input[type=password]:focus::-moz-placeholder,
.js-form-type-textfield input[type=email]:focus::-moz-placeholder,
.js-form-type-textfield input[type=url]:focus::-moz-placeholder {
  opacity: 0;
}

.js-form-type-textfield input[type=text]:focus:-moz-placeholder,
.js-form-type-textfield input[type=password]:focus:-moz-placeholder,
.js-form-type-textfield input[type=email]:focus:-moz-placeholder,
.js-form-type-textfield input[type=url]:focus:-moz-placeholder {
  opacity: 0;
}

.js-form-type-textfield input[type=text]:focus:-ms-input-placeholder,
.js-form-type-textfield input[type=password]:focus:-ms-input-placeholder,
.js-form-type-textfield input[type=email]:focus:-ms-input-placeholder,
.js-form-type-textfield input[type=url]:focus:-ms-input-placeholder {
  opacity: 0;
}

.js-form-type-password {
  position: relative;
  max-width: 514px;
}

.chng-pwd-form .js-form-type-password {
  max-width: 360px;
}

.js-form-type-password input[type=password] {
  width: 100%;
  min-width: 100%;
}

.js-form-type-password .pass-eye {
  display: block;
  background: url("../../images/svg/eye-close.svg") no-repeat center center;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
}

.chng-pwd-form .js-form-type-password .pass-eye {
  top: 40px;
}

.js-form-type-password .pass-eye.eye-open {
  background-image: url("../../images/svg/eye-open.svg");
}

.js-form-type-radio input {
  margin: 0;
  opacity: 0;
  position: absolute;
  z-index: -1;
  /*&:not(:disabled):not(:checked)+label:hover::before {
      border-color: #b3d7ff;
    }
    &:not(:disabled):active+label::before {
      background-color: #b3d7ff;
      border-color: #b3d7ff;
    }
    &:focus+label::before {
      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    &:focus:not(:checked)+label::before {
      border-color: #80bdff;
    }*/
}

.js-form-type-radio input + label {
  align-items: center;
  cursor: pointer;
  display: flex;
  line-height: 1rem;
  user-select: none;
}

.js-form-type-radio input + label:before {
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 50%;
  content: '';
  display: inline-block;
  flex-shrink: 0;
  flex-grow: 0;
  height: 17px;
  margin: 0 .5rem 0 0;
  width: 17px;
}

.js-form-type-radio input:checked + label::before {
  background: #fff url("../../images/svg/ico-radio.svg") no-repeat center center;
}

.js-form-type-radio input:disabled + label::before {
  background-color: #f5f5f5;
}

.js-form-type-checkbox input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  /*&:not(:disabled):not(:checked)+label:hover::before {
      border-color: #b3d7ff;
    }
    &:not(:disabled):active+label::before {
      background-color: #b3d7ff;
      border-color: #b3d7ff;
    }
    &:focus+label::before {
      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    &:focus:not(:checked)+label::before {
      border-color: #80bdff;
    }*/
}

.js-form-type-checkbox input + label {
  align-items: center;
  cursor: pointer;
  display: flex;
  line-height: 1rem;
  user-select: none;
}

.js-form-type-checkbox input + label:before {
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 5px;
  content: '';
  display: inline-block;
  flex-shrink: 0;
  flex-grow: 0;
  height: 1.075rem;
  margin: 0 .5rem 0 0;
  width: 18px;
}

.js-form-type-checkbox input:checked + label::before {
  background: #fff url("../../images/svg/ico-checkbox.svg") no-repeat center center;
}

.js-form-type-checkbox input:disabled + label::before {
  background-color: #f5f5f5;
}

.js input.form-autocomplete {
  background-position: calc(100% - 18px) center;
}
