body {
  background-color: #F8F9FA;
  font-family: 'Metropolis', sans-serif;
}

.alert-debug {
  background-color: #FFFFFF;
  border-color: #D6E9C6;
  color: #000000;
}

.alert-error {
  background-color: #F2DEDE;
  border-color: #EED3D7;
  color: #B94A48;
}

.alert-success {
  background-color: #E3F0F0;
  border-color: #E3F0F0;
  color: #1b223f;
  font-family: 'Metropolis', sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  border-radius: 0;
}

.alert-message-error {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #E41D37;
  font-family: 'Metropolis', sans-serif;
  padding: 22px 30px;
  background-color: #FDEDEF;
  box-shadow: 0 3px 6px #00000029;
}

@media screen and (max-width: 767px) {
  .alert-message-error {
    padding: 22px 15px;
  }
}

.alert {
  padding: 1.25rem 1.0625rem;
}

.alert .close {
  opacity: 1;
  color: #1b223f;
}

.register-course__header {
  top: 0;
  min-height: 5.5rem;
  width: 100%;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px #DEE2E6;
}

.register-course__header .header__course {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.register-course__header .header__course-owner-name {
  color: #5B5B5B;
  font-family: 'Metropolis', sans-serif;
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.625rem;
}

@media screen and (max-width: 767px) {
  .register-course__header .header__course-owner-name {
    font-size: .8rem;
    line-height: 1.125rem;
  }
}

.register-course__header .header__course-title {
  color: #212529;
  font-family: 'Metropolis', sans-serif;
  font-weight: bold;
  font-size: 1.625rem;
  line-height: 1.625rem;
}

@media screen and (max-width: 767px) {
  .register-course__header .header__course-title {
    font-size: 1.125rem;
    line-height: 1.125rem;
  }
}

.register-course__title {
  font: normal normal normal 1.125rem/2.25rem Open Sans;
  color: #212529;
}

.register-course__subtitle {
  font: normal normal 600 1.625rem/2.25rem Open Sans;
  color: #212529;
}

.register-course__input-container {
  margin-bottom: 40px;
}

.dropdown__language {
  font-size: 1rem;
  line-height: 1.375rem;
  font-family: 'Metropolis', sans-serif;
  color: #212529;
}

.dropdown__language.show .dropdown-toggle {
  border-left-color: #D1D6DC;
  border-right-color: #D1D6DC;
  border-top-color: #D1D6DC;
}

.dropdown__language .dropdown-menu {
  min-width: 100%;
  padding: 0;
  border-radius: 0;
  margin-top: -3px;
  border-top-color: transparent;
  border-left-color: #D1D6DC;
  border-right-color: #D1D6DC;
  border-bottom-color: #D1D6DC;
}

.dropdown__language .dropdown-toggle {
  padding: .375rem 1rem;
}

.dropdown__language .btn {
  border-radius: 0;
}

.dropdown__language .btn.focus,
.dropdown__language .btn:focus {
  border: 1px solid #D1D6DC;
  box-shadow: none;
}

.dropdown__language .dropdown-item.active,
.dropdown__language .dropdown-item:active {
  background-color: #D1D6DC;
  color: #212529;
  outline: none;
}

.dropdown__language .dropdown-item:focus,
.dropdown__language .dropdown-item:hover {
  background-color: #D1D6DC;
  color: #212529;
  outline: none;
}

.dropdown__language .fa {
  color: #5B5B5B;
}

.dropdown__language .dropdown-item {
  padding: .69rem .8rem;
  text-transform: capitalize;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

input[type='number'] {
  appearance: textfield;
  /* Firefox */
}

.form-control {
  border-radius: 0;
  border: 1px solid #5B5B5B;
  color: #212529;
}

.form-control:disabled {
  opacity: .4;
}

.custom-checkbox#div_id_no_pesel {
  align-self: center;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 28px;
}

@media screen and (max-width: 767px) {
  .custom-checkbox#div_id_no_pesel {
    padding-top: 0;
  }
}

.custom-checkbox#div_id_no_pesel .custom-control-label {
  margin-top: 10px;
}

.custom-checkbox#div_id_no_pesel .error-message {
  padding-top: 8px;
  margin-right: auto;
}

@media screen and (max-width: 767px) {
  .custom-checkbox#div_id_no_pesel .error-message {
    padding-top: 0;
  }
}

.custom-checkbox .custom-control-label {
  padding-left: .25rem;
}

.custom-control-input:checked ~ .custom-control-label:after {
  border: 1px solid #1b223f;
  background-color: #1b223f;
}

.custom-checkbox .custom-control-label:before {
  border-radius: 0;
}

.custom-checkbox .custom-control-label:hover:before {
  border-radius: 50%;
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  height: 38px;
  width: 38px;
  transform: translate(-92%, -20%);
  background-color: #F4F4F4;
  border: 0 solid transparent;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label:after {
  color: #495057;
  background-color: #FFFFFF;
  border-color: #495057;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(91, 91, 91, 0.1);
}

.custom-control-label:after {
  border: 1px solid #5B5B5B;
  background-color: #FFFFFF;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label:after {
  background-size: 9px;
}

.custom-control-input:focus ~ .custom-control-label:before {
  box-shadow: 0 0 0 0 transparent;
  border-color: transparent;
  background-color: transparent;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label:before {
  box-shadow: 0 0 0 0 transparent;
  border-color: transparent;
  background-color: transparent;
}

.w-90 {
  width: 90%;
}

.w-67 {
  width: 67%;
}

@media screen and (max-width: 767px) {
  .w-67 {
    width: 74%;
  }
}

hr {
  border-top: 1px solid #D1D6DC;
  margin-top: 15px;
  margin-bottom: 0;
}

hr.pb-40 {
  padding-bottom: 2.5rem;
}

@media screen and (max-width: 767px) {
  hr.pb-40 {
    padding-bottom: 1.875rem;
  }
}

hr.pb-30 {
  padding-bottom: 1.875rem;
}

.partners-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .partners-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (min-width: 320px) and (max-width: 991px) {
  .partners-logo img {
    max-width: 200px;
    height: auto;
  }
}

.modal__title {
  font-family: 'Metropolis', sans-serif;
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1.875rem;
  color: #212529;
}

.modal__description {
  font-family: 'Metropolis', sans-serif;
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #212529;
}

.modal .close {
  opacity: 1;
  color: #212529;
}

.modal-content {
  padding: 1.875rem;
}

.modal-header {
  padding: 0 0 15px 0;
}

.modal-body {
  padding: 0;
}

@media (min-width: 768px) {
  .modal-dialog {
    max-width: 752px;
  }
}

.text-semi-bold {
  font-weight: 600;
}


.select2-selection.select2-selection--single {
  display: inline-block !important;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px) !important;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  vertical-align: middle;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0 !important;
  border: 1px solid #5B5B5B !important;
  color: #212529 !important;
}

.select2-selection__arrow {
  display: none;
}

#submit-id-submit{
  background-color: #d12435;
  border-color: #d12435;
}
