:root {
  --yellow-color: #f7aa3c;
  --orange-color: #ec9f00;
  --blue-color: #005a73;
}

.field input {
  width: 95%;
}

.field .ibanCal input {
  width: 100%;
}

.contact .field .small-input {
  width: 50%;
}

@media (max-width: 639px) {
  .contact .field .small-input {
    width: 95%;
  }
}

.contact textarea {
  width: 97%;
}

.EPiServerForms .Form__Element .Form__Element__Caption {
  width: 95%;
}

.EPiServerForms .Form__Element .Form__Element__Caption.text {
  width: auto;
}

.EPiServerForms .Form__Element {
  margin-bottom: 36px;
}

.contact .field.ValidationFail input,
.contact .field.ValidationFail textarea {
  border-color: var(--yellow-color);
}

.contact .ValidationFail .selectric .label {
  border: 2px solid var(--yellow-color);
}

.EPiServerForms .Form__Element .Form__Element__ValidationError {
  display: inline-block;
  padding-left: 15px;
  font-size: 14px;
  color: var(--yellow-color) !important;
}

.contact .field.checkboxes.ValidationFail label:before {
  border-color: var(--yellow-color);
}

.field.ValidationSuccess .Form__Element__ValidationError {
  display: block !important;
  height: 14px;
  text-indent: -9999px;
}

.EPiServerForms .Form__Status .Form__Success__Message {
  background-color: #f7ebc3 !important;
}

.EPiServerForms .FormParagraphText {
  width: 100%;
  float: left;
  text-align: left;
}

/* Form error validation */

.EPiServerForms .Form__Element .form-error-message {
  clear: both;
  padding-left: 0;
  text-align: left;
  margin-bottom: 12px;
}

/*.contact .field>.error {
  position: static;
}*/

.FormChoice--Image__Item {
  position: relative;
  margin-top: 30px;
}

.FormChoice--Image__Item__Caption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -15px;
}

/* Form File Upload validation */

.FormFileUpload__Label,
.FormFileUpload__Span {
  cursor: pointer;
}

.FormFileUpload__Label:hover .FormFileUpload__Input {
  cursor: pointer;
}

.FormFileUpload__Label:hover .FormFileUpload__Span {
  background-color: var(--yellow-color);
  cursor: pointer;
}

.FormFileUpload__Label:active .FormFileUpload__Span {
  background-color: var(--orange-color);
}

.FormFileUpload__Span {
  font-size: 15px;
  line-height: 32px;
  height: 36px;
  background: none;
  font-weight: 500;
  color: #000;
  display: inline-block;
  border: 2px solid var(--yellow-color);
  border-radius: 5px;
  padding: 0px 40px;
  text-align: center;
  transition: all 0.2s ease;
  margin-right: 6px;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .FormFileUpload__Span {
    line-height: 30px;
  }
}

.FormFileUpload__Input:hover::before {
  background-color: var(--yellow-color);
}
.FormFileUpload__Input:active::before {
  background-color: var(--orange-color);
}

.FormFileUpload__Label {
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.FormFileUpload__Label input[type="file"] {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  font-size: 100px;
  filter: alpha(opacity=0);
  cursor: pointer;
}

.FormFileUpload__Label input[type="file"]:focus + .FormFileUpload__Span,
.FormFileUpload__Label
  input[type="file"]:focus-visible
  + .FormFileUpload__Span {
  background-color: var(--yellow-color);
  border: 2px solid var(--blue-color);
}

.uploaded_file_name {
  font-size: 15px;
  color: #000;
}

.uploaded_file_name ul {
  padding-left: 21px;
}
.uploaded_file_name ul li {
  list-style: circle;
  padding: 9px;
}

/* Form improvements */

.field.full.checkboxes.Form__Element.FormChoice {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.field.full.checkboxes.centered.Form__Element.FormChoice {
  justify-content: center;
}

.field.full.checkboxes.left-aligned.Form__Element.FormChoice {
  justify-content: flex-start;
}

.field.full.checkboxes.centered.Form__Element.FormChoice
  .Form__Element__ValidationError {
  flex-basis: 100%;
}

.field.full.checkboxes.centered.Form__Element.FormChoice .newscheckbox label {
  margin: 2px 0 3px 4px;
}

label.FormChoice--Image__Item {
  will-change: transform;
  transition: 0.3s ease-out;
}

label.FormChoice--Image__Item:hover {
  cursor: pointer;
  filter: grayscale(20%);
  transform: rotateY(25deg);
  /* box-shadow: 0px 0px 3px rgba(150, 150, 150, 0.5); */
}

label.FormChoice--Image__Item img {
  will-change: transform;
}

/*selectric*/
.selectric-wrapper {
  position: relative;
  cursor: pointer;
  height: 40px;
  width: 95%;
  display: inline-block;
  overflow: visible;
}

.selectric-responsive {
  width: 100%;
}

.selectric {
  position: relative;
}

.selectric .label {
  border-radius: 5px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 0;
  padding: 7px 20px;
  border: 1px solid #666666;
  background-color: #ffffff;
}

.selectric .label:after {
  content: "\e9ea";
  font-family: "Linearicons";
  font-size: 12px;
  position: absolute;
  right: 19px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.selectric .button {
  display: none;
}

.selectric-open .label {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.selectric-open:after {
  content: "";
  width: calc(100% - 40px);
  height: 1px;
  background: #b3b8bb;
  position: absolute;
  bottom: 0;
  left: 20px;
}

.selectric-open {
  z-index: 9999;
}

.selectric-open .selected {
  outline: 2px solid var(--yellow-color);
  outline-offset: -3px;
  overflow: visible;
}

.selectric-open .selectric-items {
  display: block;
}

.selectric-disabled {
  filter: alpha(opacity=50);
  opacity: 0.5;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.selectric-hide-select {
  position: relative;
  overflow: hidden;
  width: 0;
  height: 0;
}

.selectric-hide-select select {
  position: absolute;
  left: -100%;
}

.selectric-input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  outline: none !important;
  border: none !important;
  font: 0/0 a !important;
  background: none !important;
}

.selectric-wrapper:focus-within .selectric .label {
  border: 2px solid var(--blue-color) !important;
}

.selectric-temp-show {
  position: absolute !important;
  visibility: hidden !important;
  display: block !important;
}

/* Items box */
.selectric-items {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  z-index: 10000;
  background: #e6e8e8;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selectric-items .selectric-scroll {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.selectric-items .selectric-scroll li {
  padding: 10px 20px;
  margin-bottom: 0;
  line-height: 20px;
  min-height: 40px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.selectric-items .selectric-scroll li:before {
  display: none;
}

.selectric-above .selectric-items {
  top: auto;
  bottom: 100%;
  border-radius: 18px 18px 0 0;
}

.selectric-above .selectric .label {
  border-radius: 0 0 18px 18px;
}

.selectric-items ul,
.selectric-items li {
  list-style: none;
}

.selectric-items li {
  display: block;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  padding: 10px 20px;
  min-height: 40px;
  box-sizing: border-box;
  color: #687177;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.selectric-items li.selected {
  background: #fff;
  color: #333333;
  font-weight: bold;
  border: 1px solid #005a73;
}

.selectric-items .disabled {
  filter: alpha(opacity=50);
  opacity: 0.5;
  cursor: default !important;
  background: none !important;
  color: #666 !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.selectric-items .selectric-group .selectric-group-label {
  font-weight: bold;
  padding-left: 10px;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: none;
  color: #444;
}

.selectric-items .selectric-group.disabled li {
  filter: alpha(opacity=100);
  opacity: 1;
}

.selectric-items .selectric-group li {
  padding-left: 25px;
}
.Form__Element.FormFileUpload {
  width: 100%;
}

.ui-datepicker {
  width: 270px !important;
}

.ui-datepicker .ui-state-default:before {
  display: none;
}

.EPiServerForms .Form__Description,
.EPiServerForms .FormStep__Description,
.EPiServerForms .Form__Description p,
.Form__MainBody p,
.Form__Element__Caption {
  margin-bottom: 1rem;
  font-size: 14px;
  color: #605f5f;
  padding-top: 5px;
}

.FormTextbox .Form__Element__ValidationError.error {
  top: auto;
}

@media (min-width: 768px) {
  .one-third-field {
    width: calc(33% - 6px) !important;
    margin: 0 !important;
    margin-bottom: 32px !important;
  }
}

.contact .field,
.Form__Element {
  overflow: visible;
}

.contact-info {
  overflow: visible;
}

.contact .Form__Element .contact-info .field label {
  font-size: 24px;
  font-weight: normal;
  color: #000;
  padding-left: 0px;
}
