:root {
  --primary-color: #231f20;
}

.btn-primary, .bg-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

#titleHeader img {
  position: absolute;
  right: calc(0px + 21%);
  top: -1px;
}

nav a {
  width: 100%;
}

nav a img {
  float: right;
}

.info {
  color: #949494;
  font-size: 12px;
}

form {
  padding-bottom: 5px;
}

.form-floating>label {
  margin-left: 8px;
}

form button {
  color: #fff;
}

fieldset.custom-border {
  border: 1px solid #ddd !important;
  padding: 10px 1.4em 0.6em 0.4em !important;
  -webkit-box-shadow: 0px 0px 0px 0px #000;
  box-shadow: 0px 0px 0px 0px #000;
  border-radius: 6px;
}

fieldset legend.custom-border {
  font-size: 16px;
  width: 46px;
  color: rgba(33, 37, 41, 0.65);
  transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

fieldset .form-group {
  margin-top: 15px;
}

fieldset .form-group:nth-child(2) {
  margin-left: -40px;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.loading-spinner {
  border: 12px solid #dcdcdc;
  border-top: 12px solid #262527;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 1.3s linear infinite;
}

.hidden-datepicker {
  display: none;
}

.ui-datepicker {
  z-index: 1000 !important;
}

#ui-datepicker-div {
  width: auto;
}

.ui-widget.ui-widget-content {
  background: #231f20;
  padding: 10px;
  border-radius: 5px;
}

.ui-datepicker .ui-datepicker-header {
  background: #231f20;
  padding: 5px 0;
  border: none;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
  top: 7px;
}

.ui-datepicker .ui-datepicker-prev span {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23868686' class='bi bi-caret-left-fill' viewBox='0 0 16 16'%3E%3Cpath d='m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0;
}

.ui-datepicker .ui-datepicker-next span {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23868686' class='bi bi-caret-right-fill' viewBox='0 0 16 16'%3E%3Cpath d='m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0;
}

#ui-datepicker-div .ui-datepicker-header .ui-state-hover {
  background: #3e3e3e;
}

.ui-datepicker-month,
.ui-datepicker-year {
  background-color: #231f20;
  border: 1px solid #868686;
  padding: 5px;
  border-radius: 5px;
  margin-right: 2.5px !important;
  margin-left: 2.5px !important;
  color: #868686;
}

.ui-datepicker-calendar th {
  color: #868686;
}

.ui-datepicker-calendar td.ui-datepicker-today a {
  color: #e3b226!important;
  font-weight: bold;
}

.ui-datepicker-calendar a.ui-state-hover {
  color: #FFF!important;
  font-weight: bold;
}

.ui-datepicker-current-day a.ui-state-active {
  color: #007fff!important;
}

.ui-datepicker-calendar td[data-handler='selectDay'] a {
  background-color: #231f20;
  color: #ddd;
  border-radius: 5px;
  border: none;
  width: 40px;
  padding-right: 5px;
}

.form-floating #datanascimento {
  padding-right: 2.5rem;
}

.form-floating .calendar-icon {
  position: absolute;
  top: calc(50% - 2px);
  right: 1.2rem;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.msgs h3 {
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 1200px) {
  .container {
    width: 900px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    width: 800px;
  }
  
  #titleHeader img {
    right: calc(0px + 15%);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container {
    width: 700px;
  }

  #titleHeader img {
    right: calc(0px + 10%);
  }
}

@media (min-width: 768px) {
  nav {
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {
  nav {
    margin-bottom: 15px;
  }

  #titleHeader img {
    right: calc(0px + 10%);
  }
}

@media (max-width: 600px) {
  #titleHeader img {
    right: calc(0px + 5%);
  }
}

@media (max-width: 575px) {
  #titleHeader img {
    right: 0;
  }
}