.input1 {
  padding: 10px;
  outline: none;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: background 0.1s linear;
  font-size: 1em;
}
.input1.error {
  border-color: red;
  background-color: #fff9f9;
}
.input1.success {
  border-color: green;
  background-color: #f0fff0;
}
.input1.r1 {
  border-radius: 30px;
  padding-right: 15px;
  padding-left: 15px;
}
.input1.r2 {
  border-radius: 16px;
}
.input1.tcenter {
  text-align: center;
}
.input1:hover {
  background-color: #fafafa;
}
.input1:focus {
  background-color: white;
  border-color: #3c79f5;
}
.input1:disabled {
  background-color: #f0f0f0;
}

.input2 {
  position: relative;
}
.input2 > input {
  width: 100%;
  padding: 10px;
  outline: none;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: background 0.1s linear;
  font-size: 1em;
  padding-right: 30px !important;
  padding-left: 30px !important;
}
.input2 > input.error {
  border-color: red;
  background-color: #fff9f9;
}
.input2 > input.success {
  border-color: green;
  background-color: #f0fff0;
}
.input2 > input.r1 {
  border-radius: 30px;
  padding-right: 15px;
  padding-left: 15px;
}
.input2 > input.r2 {
  border-radius: 16px;
}
.input2 > input.tcenter {
  text-align: center;
}
.input2 > input:hover {
  background-color: #fafafa;
}
.input2 > input:focus {
  background-color: white;
  border-color: #3c79f5;
}
.input2 > input:disabled {
  background-color: #f0f0f0;
}
.input2 > input:disabled {
  background-color: white;
}
.input2 > label {
  position: absolute;
  top: calc(0.4em + 5px);
  right: 20px;
  color: #666;
  background-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-size: 0.97em;
  transition: 0.2s ease-in-out;
  padding: 0px 5px;
  box-sizing: border-box;
}
.input2 > input:not(:-moz-placeholder-shown) + label {
  top: -0.7em;
  right: 15px;
  font-size: 0.85em;
  background-color: white;
}
.input2 > input:focus + label,
.input2 > input:not(:placeholder-shown) + label {
  top: -0.7em;
  right: 15px;
  font-size: 0.85em;
  background-color: white;
}

.textarea {
  padding: 10px;
  outline: none;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: background 0.1s linear;
  font-size: 1em;
}
.textarea.error {
  border-color: red;
  background-color: #fff9f9;
}
.textarea.success {
  border-color: green;
  background-color: #f0fff0;
}
.textarea.r1 {
  border-radius: 30px;
  padding-right: 15px;
  padding-left: 15px;
}
.textarea.r2 {
  border-radius: 16px;
}
.textarea.tcenter {
  text-align: center;
}
.textarea:hover {
  background-color: #fafafa;
}
.textarea:focus {
  background-color: white;
  border-color: #3c79f5;
}
.textarea:disabled {
  background-color: #f0f0f0;
}
.textarea.n-resizable {
  resize: none;
}
.textarea.resize-v {
  resize: vertical;
}
.textarea.resize-h {
  resize: horizontal;
}

.input-password {
  position: relative;
}
.input-password > input {
  padding: 10px;
  outline: none;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: background 0.1s linear;
  font-size: 1em;
  padding-right: 31px;
  text-align: left;
  direction: ltr;
  font-family: Arial;
}
.input-password > input.error {
  border-color: red;
  background-color: #fff9f9;
}
.input-password > input.success {
  border-color: green;
  background-color: #f0fff0;
}
.input-password > input.r1 {
  border-radius: 30px;
  padding-right: 15px;
  padding-left: 15px;
}
.input-password > input.r2 {
  border-radius: 16px;
}
.input-password > input.tcenter {
  text-align: center;
}
.input-password > input:hover {
  background-color: #fafafa;
}
.input-password > input:focus {
  background-color: white;
  border-color: #3c79f5;
}
.input-password > input:disabled {
  background-color: #f0f0f0;
}
.input-password > img.eye {
  position: absolute;
  top: 8px;
  right: 6px;
  width: 25px;
  height: 25px;
}
