/* Input text. */
.custom-input input[type="text"] {
  display: flex;
  width: 100%;
  border: 1px solid #f7f7f7;
  background: #f7f7f7;
  padding: 15px 25px;
  border-radius: 15px;
  max-width: -webkit-fill-available;
  transition: all 0.4s ease;
  outline: none;
  font-size: 14px;
  font-weight: 400;
}

.custom-input input[type="text"]::placeholder {
  font-style: italic;
  color: #b4b4b4;
}

.custom-input input[type="text"]:hover {
  border-color: #d9d9d9;
}

.custom-input input[type="text"]:focus {
  border-color: #b6b6b7;
  color: #000;
  padding-left: 30px;
}

.custom-input.has--error input[type="text"] {
  border-color: #ffc7bd;
  background: #fff6f6 url(/images/icon-error.svg) no-repeat center right 15px;
  color: #f1461f;
  font-style: italic;
  font-weight: 300;
  padding-right: 40px;
  background-size: 20px;
}

.custom-input.icon--amount input[type="text"] {
  background: #f7f7f7 url(/images/icon-amount.svg) no-repeat center left 15px;
  padding-left: 45px;
  background-size: 20px;
}
.custom-input.icon--amount.has--error input[type="text"] {
  padding-left: 45px;
  background: #fff6f6 url(/images/icon-error.svg) no-repeat center right 15px;
  background-size: 20px;
  padding-left: 25px;
}

/*Custom Select*/

.custom-input select {
  appearance: none;
  border: 0;
  outline: 0;
  background: none;
  color: inherit;
  box-shadow: none;
  width: 100%;
}

.custom-input select::-ms-expand {
  display: none;
}
.select {
  position: relative;
  display: flex;
  width: 100%;
  background: #f7f7f7;
  border-radius: 15px;
  overflow: hidden;
  height: 48px;
  z-index: 1;
  transition: all 0.4s ease;
  border: 1px solid #f7f7f7;
}

.select:hover {
  border-color: #d9d9d9;
}
.select select {
  flex: 1;
  padding: 1em;
  cursor: pointer;
  z-index: 2;
  outline: none;
  font-size: 14px;
  font-weight: 400;
  padding: 0 15px;
  color: #000;
}
.select::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: 0.25s all ease;
  pointer-events: none;
  background: url('/images/icon-dropdown.svg') center no-repeat;
  background-size: 22px;
  width: 15px;
  height: 15px;
  z-index: 10;
}

.custom-input.has--error .select::after {
  background: #fff6f6 url('/images/icon-dropdown-error.svg') center no-repeat;
}

.select:hover::after {
  color: #f39c12;
  animation: bounce 0.6s infinite;
}

/* Labels */
.custom-label {
  color: #235696;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 4px 8px;
  displaybloxk
}

.custom-input.has--error .select select {
  background-color:#fff6f6;
  background-size: 22px;
  color: #f1461f;
}
.custom-input.has--error .select {
  border-color: #ffc7bd;
}

/* Custom Date */
.custom-input input[type="date"] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  width: 100%;
  min-width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  outline: none;
  font-size: 14px;
  font-weight: 400;
  max-width: -webkit-fill-available;
  padding: 15px 25px;
  font-family: "Montserrat", serif;
  border: 1px solid #f7f7f7;
  border-radius: 15px;
  background: #f7f7f7
    url('/images/icon-date.svg')
    right 1rem center no-repeat;
  transition: all 0.4s ease;
  cursor: pointer;
}

.custom-input.has--error input[type="date"],
.custom-input.has--error input[type="date"]:hover,
.custom-input.has--error input[type="date"]:focus {
  border: 1px solid #FFBDBD;
  background-color: #FFF6F6;
  color: #D9272E  ;
  background: #FFF6F6
    url('/images/icon-date-error.svg')
    right 1rem center no-repeat;
}

.custom-input.has--error input[type="date"]::-webkit-calendar-picker-indicator {
  color: #FFBDBD;
  background: #D9272E;
}

.custom-input input[type="date"]:hover {
  outline: none;
  border-color: #d9d9d9;
}

.custom-input input[type="date"]:focus {
  border-color: #b6b6b7;
}

.custom-input input[type="date"]::-webkit-datetime-edit-month-field,
.custom-input input[type="date"]::-webkit-datetime-edit-day-field,
.custom-input input[type="date"]::-webkit-datetime-edit-year-field {
  border-radius: 8px;
  padding:3px 8px !important;
}
.custom-input input[type="date"]::-webkit-datetime-edit-year-field {
  background: blue !important;
}

.custom-input input[type="date"]::-webkit-datetime-edit-month-field:hover,
.custom-input input[type="date"]::-webkit-datetime-edit-day-field:hover,
.custom-input input[type="date"]::-webkit-datetime-edit-year-field:hover {
  background: #F0EEEE;
}
.custom-input input[type="date"]::-webkit-datetime-edit-month-field:focus,
.custom-input input[type="date"]::-webkit-datetime-edit-day-field:focus,
.custom-input input[type="date"]::-webkit-datetime-edit-year-field:focus {
  background: #F0EEEE;
}

::-webkit-datetime-edit-text {
  opacity: 0;
}
::-webkit-clear-button,
::-webkit-inner-spin-button {
  display: none;
}
::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 50px;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 120, 250, 1);
  background: rgba(0, 120, 250, 1);
  transition: all 0.4s ease;
}
.custom-input input[type="date"]:hover::-webkit-calendar-picker-indicator {
  opacity: 0.05;
}
.custom-input input[type="date"]:hover::-webkit-calendar-picker-indicator:hover {
  opacity: 0.15;
}

/* Custom Check */

.custom-input input[type=checkbox] + label {
  display: block;
  margin: 0.2em;
  cursor: pointer;
  padding: 0.2em;
  color: #235696;
  font-size: 14px;
  line-height: 20px;
  font-family: "Montserrat", serif !important;
}

.custom-input input[type=checkbox] {
  display: none;
}

.custom-input input[type=checkbox] + label:before {
  content: "";
  border: 0.1em solid #3180B0;
  border-radius: 0.2em;
  display: inline-block;
  width: 18px;
  height: 18px;
  padding-left: 0;
  padding-bottom: 0.3em;
  margin-right: 6px;
  vertical-align: bottom;
  color: transparent;
  transition: .2s;
  border-color: #235696;
}

.custom-input input[type=checkbox] + label:active:before {
  transform: scale(0);
}

.custom-input input[type=checkbox]:checked + label:before {
  background: #235696 url('/images/icon-check.svg') center no-repeat;
  background-size: 12px;
  border-color: #235696;
  color: #fff;
}

.custom-input input[type=checkbox]:disabled + label:before {
  transform: scale(1);
  border-color: #B6B6B7;
  background:#F7F7F7;
}

.custom-input input[type=checkbox]:checked:disabled + label:before {
  transform: scale(1);
  background: #C7D3E2 url('/images/icon-check.svg') center no-repeat;
  background-size: 12px;
  border-color: #C7D3E2;
}

.custom-check.disabled label {
  color:#B6B6B7 !important;
}
.custom-input.has--error input[type=checkbox] + label:before {
  border-color: #F1461F;
  background-color: #FFF6F6;
}

.custom-input.has--error input[type=checkbox]:disabled + label:before {
  transform: scale(1);
  border-color: #FFD7CA;
  background:#FFD7CA;
}
.custom-input.has--error label {
  color: #F1461F !important ;
}

/* Custom File */
.file-area {
  width: 100%;
  position: relative;
}

.file-area input[type=file] {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
}

.file-area .file-dummy {
  width: 100%;
  padding: 50px 20px;
  background: #F7F7F7;
  border: 2px dashed #D9D9D9;
  text-align: center;
  transition: background 0.3s ease-in-out;
  margin-top: 15px;
  border-radius: 8px;
  transition: all 0.4s ease;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none !important;
}
.file-area .file-dummy .success {
  display: none;
}

.file-area:hover .file-dummy {
  background: #E2EDFA;
  border-color: #C7D3E2;
}

.file-area:hover .default .subtitle {
  color: #235696;
}

.file-area input[type=file]:focus + .file-dummy {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline: -webkit-focus-ring-color auto 5px;
}
.file-area input[type=file]:valid + .file-dummy {
  border-color: #C7D3E2;
  background-color: #E2EDFA;
}
.file-area input[type=file]:valid + .file-dummy .success {
  display: inline-block;
}
.file-area input[type=file]:valid + .file-dummy .default {
  display: none;
}

.file-area input[type=file]:invalid + .file-dummy .file-error {
  display: none;
}

.custom-input .file-area label {
  color: #235696;
  font-size: 18px;
  fotn-weight: 400;
  line-height:24px;
}

.custom-input .file-area label span {
  font-size: 13px;
  display: block;
  line-height:19px;
}

.default,
.success,
.file-error {
  position: relative;
}

.default::before {
  content: ' ';
  width: 40px;
  height: 40px;
  background:  url('/images/icon-file.svg') no-repeat center;
  background-size: 24px;
  display: inline-block;
  margin-bottom: 6px;
  transition: all 0.4s ease;
}

.success::before {
  content: ' ';
  width: 40px;
  height: 40px;
  background:  url('/images/icon-success.svg') no-repeat center;
  background-size: 34px;
  display: inline-block;
  margin-bottom: 6px;
  transition: all 0.4s ease;
}

.file-error::before {
  content: ' ';
  width: 40px;
  height: 40px;
  background:  url('/images/icon-file-error.svg') no-repeat center;
  background-size: 34px;
  display: inline-block;
  margin-bottom: 6px;
  transition: all 0.4s ease;
}

.file-area:hover .default::before {
  background:  url('/images/icon-file-success.svg') no-repeat center;
  transform: scale(1.2);
}

.default .title,
.success .title{
  font-size: 14px;
  line-height:20px;
  color:rgb(83, 83, 83);
  margin-bottom: 4px;
}

.file-error .title{
  font-size: 14px;
  line-height:20px;
  color:#F1461F;
  margin-bottom: 4px;
}

.default .subtitle {
  color:rgb(193, 191, 191);
  font-size: 11px;
  line-height:17px;
  transition: all 0.4s ease;
}

.custom-input.has--error .file-area .file-area {
  display: inline-block;
}

.custom-input.has--error .file-area .file-dummy {
  border-color: #F1461F !important;
  background-color: #FFF6F6 !important;
}


/* Custom Photo */
.custom-photo {
  width: 100%;
  padding: 50px 20px;
  background: #F7F7F7;
  border: 2px solid #D9D9D9;
  text-align: center;
  transition: background 0.3s ease-in-out;
  margin-top: 15px;
  border-radius: 8px;
  transition: all 0.4s ease;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none !important;
}

.custom-photo:hover {
  background: #E2EDFA;
  border-color: #C7D3E2;
}

.photo-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: none !important;
  font-size: 14px;
  line-height:20px;
  color:rgb(83, 83, 83);
  margin-bottom: 4px;
  font-family: "Montserrat", serif;
}
.photo-title::before {
  content: ' ';
  width: 40px;
  height: 40px;
  background:  url('/images/icon-photo.svg') no-repeat center;
  background-size: 30px;
  display: inline-block;
  margin-bottom: 6px;
  transition: all 0.4s ease;
}

.custom-photo:hover .photo-title::before {
  transform: scale(1.6);
  background:  url('/images/icon-photo-active.svg') no-repeat center;
}

.custom-input.has--error .custom-photo {
  border-color: #FFD7CA;
  background:#FFF6F6;
}

.custom-input.has--error .custom-photo .photo-title::before {
  background:  url('/images/icon-photo-error.svg') no-repeat center;
  background-size: 30px;
}

/* Custom Radio*/

.custom-input .radio label {
  display: block;
  margin: 0.2em;
  cursor: pointer;
  padding: 0.2em;
  color: #235696;
  font-size: 14px;
  line-height: 20px;
  font-family: "Montserrat", serif !important;
}
.custom-input .radio input[type=radio] {
  position: absolute;
  opacity: 0;
}
.custom-input .radio input[type=radio] + .radio-label:before {
  content: "";
  background: #f4f4f4;
  border-radius: 0.2em;
  border: 0.1em solid #3180B0;
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
  top: 0.2em;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}

.custom-input .radio input[type=radio]:checked + .radio-label:before {
  background: #235696 url('/images/icon-check.svg') center no-repeat;
  box-shadow: inset 0 0 0 o #f4f4f4;
  background-size: 12px;
  border-color: #235696;
  color: #fff;
}
.custom-input .radio input[type=radio]:focus + .radio-label:before {
  outline: none;
  border-color: #235696;
}
.custom-input .radio input[type=radio]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 0px #f4f4f4;
  border-color: #C7D3E2;
  background: #C7D3E2;
}
.custom-input .radio input[type=radio] + .radio-label:empty:before {
  margin-right: 0;
}

.radio-label.disabled {
  color:#B6B6B7 !important;
}

.custom-input.has--error .radio input[type=radio]:checked + .radio-label:before  {
  border-color: #F1461F;
    background-color: #F1461F;
}

.custom-input.has--error .radio input[type=radio] + .radio-label:before {
  border-color: #F1461F;
  background-color: #FFF6F6;
}

.custom-input.has--error .radio input[type=radio]:disabled + .radio-label:before {
  border-color: #FFD7CA;
  background-color: #FFD7CA;
}
/* Custom Scroll*/
.custom-scroll::-webkit-scrollbar {
  width: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #20518C;
}
.custom-scroll::-webkit-scrollbar-track {
  background-color: #F7F7F7;
  border-radius: 0;
}



