.hd-workshop-form form {
  box-shadow: none;
  padding: 0;
  border: none;
}

.hd-workshop-form .hd-select-required {
  position: relative;
}

.hd-workshop-form .hd-select-required label,
.hd-workshop-form .hd-select-required .required-field {
  position: absolute;
  top: 0;
  right: -15px;
}

.hd-workshop-form select:required+label::after {
  content: " *";
  color: #e31837;
  font-weight: bold;
}

.hd-workshop-form .card-body {
    padding: 16px 0;
  }

.hd-workshop-form form input[type=text], 
.hd-workshop-form form input[type=email], 
.hd-workshop-form form input[type=password], 
.hd-workshop-form form input[type=tel], 
.hd-workshop-form form input[type=number], 
.hd-workshop-form form input[type=file], 
.hd-workshop-form form input[type="date"], 
.hd-workshop-form form select, 
.hd-workshop-form form textarea {
  font-weight: 400;
  font-size: 16px;
  color: #000;
}

.hd-workshop-form .title {
  text-align: center;
  margin: 10px 0 20px 0;
}

.hd-workshop-form .card {
  border: none;
}

.form-steps-text {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.form-steps-text li {
  font-size: 11px;
}

.hd-workshop-form .btn {
  background-color: #e31837;
  border: none;
  padding: 12px 20px;
}

.hd-workshop-form .btn-link {
  border: none;
  line-height: 1;
  color: #000;
  width: auto;
}

.hd-workshop-form .btn-link:hover, 
.hd-workshop-form .btn-link:focus {
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #000;
}

.hd-workshop-form .btn-link:focus,
.hd-workshop-form .btn-link:focus-visible {
  outline: 1px solid transparent;
  background: none;
  color: #000;
}
 
form input[type=date]:focus, 
form input[type=email]:focus, 
form input[type=file]:focus, 
form input[type=number]:focus, 
form input[type=password]:focus, 
form input[type=tel]:focus, 
form input[type=text]:focus, 
form select:focus, 
form textarea:focus,
.form-select:focus {
  box-shadow: none;
  border-color: #000;
}

#progress {
  position: relative;
  margin: 50px 30px 5px 30px;
}
#progress-bar {
  position: absolute;
  background: #e31837;
  height: 5px;
  width: 0%;
  top: 50%;
  left: 0;
  z-index: 1;
  transition: width 0.2s ease-in;
}
#progress-num {
  margin: 0 -2px;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
#progress-num::before {
  content: "";
  background-color: #1f1150;
  position: absolute;
  top: 50%;
  left: 0;
  height: 5px;
  width: 100%;
  z-index: 0;
}
#progress-num .step {
  border: 3px solid #1f1150;
  border-radius: 100%;
  width: 28px;
  height: 28px;
  line-height: 23px;
  text-align: center;
  background-color: #fff;
  font-family: sans-serif;
  font-size: 11px;  
  position: relative;
  z-index: 1;
}
#progress-num .step.active {
  border-color: #e31837;
  background-color: #e31837;
  color: #fff;
}

.hidden {
  display: none;
  visibility: visible;
}

.hd-workshop-form .hd-form-item {
  margin: 0 0 1rem 0;
}

.hd-workshop-form label {
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.hd-workshop-form ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
 	font-size: 14px;
}
.hd-workshop-form ::-moz-placeholder { /* Firefox 19+ */
  font-size: 14px;
}
.hd-workshop-form :-ms-input-placeholder { /* IE 10+ */
  font-size: 14px;
}
.hd-workshop-form :-moz-placeholder { /* Firefox 18- */
  font-size: 14px;
}

.hd-workshop-form legend {
 font-size: 16px;
}

.hd-workshop-form .input-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 10px; 
}

.hd-workshop-form .radio-group {
  margin-bottom: 0;
}

.hd-workshop-form .input-wrap label {
  margin: 0;
}

.hd-workshop-form .hd-legal-consent * {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.hd-workshop-form .hd-legal-consent a {
  text-decoration: underline;
}

form .required-field {
  color: #e31837;
  font-weight: bold;
}

/* custom checkbox start*/
form .checkbox-wrap {
  position: relative;
  white-space: normal;
  padding-right: 10px;
  word-break: break-word;
  line-height: 1.2;
  min-height: 30px;
  display: flex;
  align-items: center;
}
form .checkbox-wrap .custom-checkbox {
  margin: 0 0 0 45px;
}
/* Hide the original checkbox */
form .checkbox-wrap input {
  height: 30px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 30px;
}

/* Add new checkbox */
form .checkbox-wrap .custom-checkbox::before {
  border: 2px solid #000;
  background-color: transparent;
  content: "";
  height: 30px;
  left: 0;
  position: absolute;
  top: 0;
  width: 30px;
}

/* Style new checked item */
form .checkbox-wrap .custom-checkbox::after {
  content: "";
  border: 2px solid #403F41;
  border-left: 0;
  border-top: 0;
  height: 18px;
  left: 11px;
  opacity: 0;
  position: absolute;
  top: 4px;
  transform: rotate(45deg);
  transition: opacity 0.2s ease-in-out;
  width: 9px;
}

/* Show when checked */
form .checkbox-wrap input:checked + .custom-checkbox::after {
  opacity: 1;
}
/* Style when focused */
form .checkbox-wrap input:focus + .custom-checkbox::after {
  outline: 3px solid transparent; /* For Windows high contrast mode. */
}

form .checkbox-wrap input:checked + .custom-checkbox::before {
  background-color: transparent;
}

/* custom radio buttons */
form .input-wrap label.radio-wrap {
  margin: 0 0 10px 0;
}

form label.radio-wrap {
  position: relative;
  white-space: normal;
  padding-right: 10px;
  word-break: break-word;
  line-height: 1.2;
  min-height: 30px;
  display: flex;
  align-items: center;
  margin: 0 0 10px 0;
}

form label.radio-wrap .radio-btn {
  margin: 0 0 0 45px;
}
/* Hide the original radio select */
form label.radio-wrap input {
  height: 30px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 30px;
}

/* custom radio btn */

/* Add new radio select */
form label.radio-wrap .radio-btn::before {
  content: "";
  height: 30px;
  left: 0;
  position: absolute;
  top: 0;
  width: 30px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #000;
}
/* Style new checked item */
form label.radio-wrap .radio-btn::after {
  content: "";
  opacity: 0;
  border: 6.5px solid #403F41;
  border-radius: 50%;
  position: absolute;
  left: 9px;
  top: 9px;
  transition: opacity 0.2s ease-in-out;
}

/* Show when checked */
form label.radio-wrap  input:checked + .radio-btn::after {
  opacity: 1;
}
/* Style when focused */
form label.radio-wrap input:focus + .radio-btn::after {
  outline: 3px solid transparent; /* For Windows high contrast mode. */
}
form label.radio-wrap input:checked + .radio-btn::before {
background-color: transparent;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.button-group .btn {
  width: auto;
  padding: 12px 20px;
}

.button-submit-group {
  width: 100%;
  margin: 40px 0 10px  0;
  padding: 30px 20px 20px 20px;
  background-color: #eae7e7;
  display: flex;
  justify-content: center;
}

.button-submit-group .btn {
  background-color: #1f1150;
  margin-bottom: 0;
}

..button-submit-group .btn:hover; .button-submit-group .btn:focus {
  background-color: #e31837;
}

.button-submit-group .btn:first-child {
  margin: 0 20px 0 0;
}
.btn:hover, 
.btn:focus,
.btn:focus-visible,
.btn:not(:disabled):not(.disabled):active {
  background-color: #1f1150;
  box-shadow: none;
  color: #fff;
}

.form-select {
  border-radius: 0;
  border: 2px solid #9d9d9d;
}

.hd-workshop-form .department-section {
  background-color: #e2dddd;
  padding: 16px;
}

.description {
  font-size: 11px;
}

.btn-link {
  padding: 0;
  margin: 0;
}

.participants-reg table thead th {
  padding: 0.4rem;
  font-size: 13px;
}

.participants-reg table td {
  padding: 0.4rem;
  font-size: 13px;
}

#errorModal .modal-header .btn-close {
  font-size: 28px;
  padding: 0;
  margin: 0;
  line-height: 1;
}

#errorModal .modal-header button {
  background: none;
}

.submission-message .card {
  padding: 20px;
  text-align: center;
}

.submission-message .card button {
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  margin: 0;
  background: none;
  color: #000;
  border: none;
}

.available-spots {
  font-weight: bold;
  color: #e31837;
  margin-top: 15px;
  font-size: 15px;
}

.hd-workshop-form .bottom-text-inner {
  padding: 50px 0 0 0;
}

.hd-workshop-form .bottom-text-inner * {
  font-size: 15px;
  font-weight: 700;
}

.hd-workshop-form .bottom-text-inner p {
  text-align: center; 
}

.hd-workshop-form .bottom-text-inner a {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .button-group .btn {
    padding: 12px 40px;
  }

  .participants-reg table thead th {
    padding: 0.5rem 1rem;
  }

  .participants-reg table td {
    padding: 0.5rem 1rem;
  }
}

@media (min-width: 992px) {
  
  .hd-workshop-form .card-body {
    padding: 16px;
  }
  
  .hd-workshop-form form {
    padding: 24px;
  }

  .form-steps-text li {
    font-size: 12px;
  }
  
/*   .button-submit-group {
    width: 50%;
  } */
  
  .hd-workshop-form .btn {
    padding: 12px 40px;
  }

}
