.btn {
  border-radius: 4px;
  position: relative;
  padding: 12px 45px 12px 15px;
  text-align: left;
  font-weight: 700;
  text-decoration: none;
  vertical-align: middle;
}
.btn.btn-primary {
  /* added redundency to overwrite portal styles */
  border-radius: 4px;
  position: relative;
  padding: 12px 45px 12px 15px;
  text-align: left;
  font-weight: 700;
  text-decoration: none;
  background-color: #00709e;
  color: #fff;
  border: none;
}

.btn[type="button"]:focus {
  background-color: #00709e;
  border-color: #00709e;
}

.btn.btn-default {
  border-radius: 4px;
  --bs-btn-bg: #00709e;
  font-weight: 700;
  color: #fff;
  border: none;
}

.btn-default[type="button"] {
  background-color: #00709e;
  border-color: #00709e;
  color: #fff;
}
/* added rule to overwrite portal styles */
.btn-group #custom-next-btn.btn.btn-primary {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.btn.btn-primary::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23FFF' fill-rule='nonzero' d='M8.371 7l-4.527 4.244a.955.955 0 0 0 .002 1.413c.42.393 1.09.391 1.506.002l5.284-4.954a.962.962 0 0 0 .311-.704.96.96 0 0 0-.311-.706L5.352 1.34a1.116 1.116 0 0 0-1.506.002.953.953 0 0 0-.002 1.413L8.37 7z'/%3E%3C/g%3E%3C/svg%3E%0A");
  position: absolute;
  right: 15px;
}
.btn.btn-outline-primary {
  background-color: #fff;
  color: #00709e;
  border-color: #ddd;
}
.btn.btn-outline-primary::after {
  content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%2323527c' d='m8.371 7-4.527 4.244a.955.955 0 0 0 .002 1.413c.42.393 1.09.391 1.506.002l5.284-4.954a.962.962 0 0 0 .311-.704.96.96 0 0 0-.311-.706L5.352 1.34a1.116 1.116 0 0 0-1.506.002.953.953 0 0 0-.002 1.413L8.37 7z'/%3E%3C/svg%3E");
  position: absolute;
  right: 15px;
}

.btn:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.btn a {
  text-decoration: none;
}
.btn a:hover {
  text-decoration: underline;
  cursor: pointer;
  background-color: #00709e;
  border-color: #00709e;
  color: #fff;
}
.btn[type="button"]:hover {
  text-decoration: underline;
  cursor: pointer;
  background-color: #00709e;
  border-color: #00709e;
  color: #fff;
}

.btn-default[type="button"]:hover {
  background-color: #00709e;
  border-color: #00709e;
  color: #fff;
}

.entity-action-button .next {
  text-align: left;
  background: url("data:image/svg+xml;charset=UTF-8, %3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20version%3D%271.1%27%20height%3D%2713%27%20width%3D%2713%27%3E%3Cpath%20fill%3D%27%23FFF%27%20fill-rule%3D%27nonzero%27%20d%3D%27M8.371%207l-4.527%204.244a.955.955%200%200%200%20.002%201.413c.42.393%201.09.391%201.506.002l5.284-4.954a.962.962%200%200%200%20.311-.704.96.96%200%200%200-.311-.706L5.352%201.34a1.116%201.116%200%200%200-1.506.002.953.953%200%200%200-.002%201.413L8.37%207z%27%2F%3E%3C%2Fsvg%3E")
    right 20px center no-repeat #00709e;
}
.btn.btn-title {
  padding: 12px 10px;
}

.btn.btn-title::after {
  content: "";
}

button.btn.btn-default.launchentitylookup[type="button"] {
  padding: 0.35rem 20px;
  line-height: inherit;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
span[ng-click]:focus,
*:not(#main-content):focus {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 0;
}

input[type="button"].btn.btn-primary[title="Update"][value="Update"] {
  border-radius: 4px;
  position: relative;
  padding: 12px 25px 12px 25px;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  background-color: #00709e;
  color: #fff;
  border: none;
  appearance: none;
}