/* BOOTSTRAP OVERRIDES */
/* ANTD TOO */
/* ant-btn  ant-btn-lg */
.border-primary, .ant-btn-primary { 
  border-color: #840031 !important;
}
.btn-primary, .ant-btn-primary { 
  background: #840031;
}
.btn-primary:hover, .ant-btn-primary:hover { 
  background: #9b003a;
}

.btn-primary-soft { 
  background: #dbb9c6;
  color: #840031;
}
.btn-primary-soft:hover { 
  background: #dbb9c6;
  color: #9b003a;
}

.text-primary { 
  color: #840031!important;;
}

a {
  color: #840031;
}
a:hover {
  color: #840031;
}

h5 a.dropdown-item {
  font-weight: 900;
}

.navbar-nav .dropdown-img-left::before {
  background-color: rgb(132, 0, 49, 0.8)
}

a.dropdown-item {
  color: #333;
}

a.dropdown-item:hover {
  color: #840031;
  text-decoration: underline;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: #840031;
}


.badge-primary-desat {
  background: #dbb9c6;
}

.flickity-button { 
  background: #840031;
}
.flickity-button:hover { 
  background: #9b003a;
}

/* OTHER STYLEZ */

figcaption {
  font-size: 80%;
}

.nobr	{ white-space:nowrap; }
.strong { font-weight: bold; }

table.table thead tr th{
  text-align: center;
  line-height:120%;
  font-size: 90%;
}

table.table tbody tr td { text-align: center; line-height:120%; font-size: 90%; vertical-align: middle; }
table.table tbody tr td:first-child { text-align: left; font-weight: bold }

/* table.table tbody tr td{
  text-align: center;
} */


/* Fit text with Fitty */
.fit {
  display: inline-block;
  white-space: nowrap;
}

/* Forms */
.ant-form .ant-input {
  color:#333;
  font-weight: 900;
  opacity: 1; /* Firefox */
}

.ant-form .ant-input::placeholder {
  font-weight: 100;
  /* font-style: italic; */
  color:#777;
  opacity: 1;
}

.ant-form .ant-input:placeholder-shown {
  background-color: #F8F8F8;
}

.ant-form-item-hidden {
    display: none !important;
}

.ant-form input[type=number]::-webkit-inner-spin-button, 
.ant-form input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.subhead { 
  background: #840031;
  color: #fff;
  cursor: arrow;
}
tr > .subhead:hover { 
  background: #840031 !important;
  color: #fff;
}

/* Page Search / Autocomplete UI */
.autocomplete-custom {
  z-index: 2000;
  background-color: white;
  margin: 0px 0px;
  cursor: pointer;
  min-width: 300px;
  /* border: solid 1px #666; */
}

.autocomplete-custom div {
  /* font-weight: bold; */
  /* color: #333; */
  padding: 5px 20px;
  cursor: pointer;
  line-height: 1.2;
}
.autocomplete-custom div:not(.group):hover {
  background-color: lightsteelblue;
  /* color: blue; */
}

.autocomplete-custom .group {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 75%;
  color: #666;
  background: #eee;
  padding: 5px 20px;
}

.sidebar ul.list-unstyled li.list-item {
  line-height: 1.4em;
  margin-bottom: 0.6em;
}

.accordion .btn,
.accordion .card-body {
  display: flex;
  padding-left: 0;
  padding-right: 0;
}

.accordion .btn::after {
  transform: rotate(-180deg);
  transition: transform .2s ease;

  content: '';
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239b003a'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/></svg>");

  width: 24px;
  height: 24px;
  margin: auto 0 auto auto;
  padding-left: 4px;
}

.accordion .btn.collapsed::after {
  transform: rotate(0deg);
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/></svg>");
}

.accordion .btn-link {
  color: inherit;
}

.accordion .btn-link:focus,
.accordion .btn-link:not(.collapsed) {
  border-color: #9b003a;
  color: #9b003a;
}

/* Unstyle some links */
a.unstyled { color: #333; }
a.unstyled:link { color: #333; }
a.unstyled:visited { color: #333; }
a.unstyled:hover { color: #000; }
a.unstyled:active { color: #333; }

/* 3-column lists */
ul.triple {
  -webkit-columns: 150px 3;
  -moz-columns: 150px 3;
  columns: 150px 3;
}

ul.triple > li {
    display: inline-block;
    width: 100%;
}