.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

button {
  width: fit-content !important;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #4f5f76 !important;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}

button:hover,
button:focus {
  color: rgb(215, 223, 215);
  box-shadow: 0 4px 8px hsla(190deg, 15%, 5%, .2);
  transform: translateY(4px);
  background: hsl(230deg, 50%, 45%);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

button {
  flex: 1 0 21%;
  flex-basis: 25%;
  font-size: 1;
  background: #2831a8;
  color: hsl(190deg, 10%, 95%);
  cursor: pointer;
  box-shadow: 0 0px 0px hsla(190deg, 15%, 5%, .2);
  transform: translateY(0);
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  --dur: .15s;
  --delay: .15s;
  --radius: 16px;
  transition: border-top-left-radius var(--dur) var(--delay) ease-out, border-top-right-radius var(--dur) calc(var(--delay)* 2) ease-out, border-bottom-right-radius var(--dur) calc(var(--delay)* 3) ease-out, border-bottom-left-radius var(--dur) calc(var(--delay)* 4) ease-out, box-shadow calc(var(--dur)* 4) ease-out, transform calc(var(--dur)* 4) ease-out, background calc(var(--dur)* 4) steps(4, jump-end);
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 250px;
  border: 3px solid #f1f1f1;
  z-index: 9;
  width: calc(100% - 250px);
  height: 100%;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type="text"],
.form-container input[type="password"] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type="text"]:focus,
.form-container input[type="password"]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: blue;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
  opacity: 0.8;
  border-radius: 20px;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover {
  opacity: 1;
}

.open-button {
  background-color: blue;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  opacity: 0.8;
  border-radius: 20px;
}

form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 50px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 20px 0 #255da6;
}

.banner {
  position: relative;
  height: 310px;
  background-image: url("../img/header_back.jpeg");
  background-position: 0% 100%;
  object-fit: cover;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner::after {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  width: 100%;
  height: 100%;
}

input,
textarea,
select {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

input {
  width: calc(100% - 10px);
  padding: 5px;
}

select {
  width: calc(100% - 10px);
  padding: 5px;
  background: transparent;
}

textarea {
  width: calc(100% - 12px);
  padding: 5px;
}

.item:hover p,
.item:hover i,
.question:hover p,
.question label:hover,
input:hover::placeholder {
  color: #2831a8;
}

.item input:hover,
.item select:hover,
.item textarea:hover {
  border: 1px solid transparent;
  box-shadow: 0 0 6px 0 #2831a8;
  color: #2831a8;
}

.item {
  position: relative;
  margin: 10px 0;
  width: 100%;
}

input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

.item i,
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  font-size: 20px;
  color: #a9a9a9;
}

.item i {
  right: 1%;
  top: 30px;
  z-index: 1;
}

[type="date"]::-webkit-calendar-picker-indicator {
  right: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

input[type="time"]::-webkit-inner-spin-button {
  margin: 2px 22px 0 0;
}

input[type="radio"],
input.other {
  display: none;
}

label.radio {
  position: relative;
  display: inline-block;
  margin: 5px 20px 10px 0;
  cursor: pointer;
}

.question span {
  margin-left: 30px;
}

label.radio:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #ccc;
}

#radio_5:checked~input.other {
  display: block;
}

input[type="radio"]:checked+label.radio:before {
  border: 2px solid #2831a8;
  background: #2831a8;
}

label.radio:after {
  content: "";
  position: absolute;
  top: 7px;
  left: 5px;
  width: 7px;
  height: 4px;
  border: 3px solid #fff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  opacity: 0;
}

input[type="radio"]:checked+label:after {
  opacity: 1;
}

.btn-block {
  margin-top: 10px;
  text-align: center;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: black;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: black;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: black;
  opacity: 1;
  /* Firefox */
}

th:hover {
  cursor: pointer;
  color: white;
}

.ui-dialog {
  overflow: visible !important;
}

.topnav {
  overflow: hidden;
  background-color: #091f36;
}

.topnav span {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a,
.wrap {
  float: right;
  color: #f2f2f2 !important;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #e4e9f7;
  color: black;
}

.topnav a.active {
  color: white;
}

.topnav a.active:hover {
  background-color: #e4e9f7;
  color: black;
}

.topnav input[type="search"] {
  background: none !important;
  webkit-appearance: none;
  width: 100% !important;
}