/*------------------------------------
Переопределение bootstrap'овских цветов на родные ЦБС-овские
- COLOR primary - Generated on https://lingtalfi.com/bootstrap4-color-generator
------------------------------------*/
.alert-primary {
  color: #544072;
  background-color: #fcfbfd;
  border-color: #f1eef5;
}

.alert-primary hr {
  border-top-color: #e4deec;
}

.alert-primary .alert-link {
  color: #3c2d51;
}

.badge-primary {
  color: #212529;
  background-color: #9179b4;
}

.badge-primary[href]:hover,
.badge-primary[href]:focus {
  color: #212529;
  background-color: #7659a0;
}

.bg-primary {
  background-color: #9179b4 !important;
}

a.bg-primary:hover,
a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
  background-color: #7659a0 !important;
}

.border-primary {
  border-color: #9179b4 !important;
}

.btn-primary {
  color: white;
  background-color: #9179b4;
  border-color: #9179b4;
}

.btn-primary:hover {
  color: #212529;
  background-color: #7e62a7;
  border-color: #7659a0;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(145, 121, 180, 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #212529;
  background-color: #9179b4;
  border-color: #9179b4;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #212529;
  background-color: #7659a0;
  border-color: #6f5496;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(145, 121, 180, 0.5);
}

.btn-outline-primary {
  color: #9179b4;
  background-color: transparent;
  border-color: #9179b4;
}

.btn-outline-primary:hover {
  color: #212529;
  background-color: #9179b4;
  border-color: #9179b4;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(145, 121, 180, 0.5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: #9179b4;
  background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #212529;
  background-color: #9179b4;
  border-color: #9179b4;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(145, 121, 180, 0.5);
}

.list-group-item-primary {
  color: #544072;
  background-color: #f1eef5;
}

.list-group-item-primary.list-group-item-action:hover,
.list-group-item-primary.list-group-item-action:focus {
  color: #544072;
  background-color: #e4deec;
}

.list-group-item-primary.list-group-item-action.active {
  color: #212529;
  background-color: #544072;
  border-color: #544072;
}

.table-primary,
.table-primary > th,
.table-primary > td {
  background-color: #f1eef5;
}

.table-hover .table-primary:hover {
  background-color: #e4deec;
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
  background-color: #e4deec;
}

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

a.text-primary:hover,
a.text-primary:focus {
  color: #7659a0 !important;
}

/* А это уже стянуто из другого места */

a {
  color: #9179b4;
}

a:hover {
  color: #6a5190;
}

/* a.verkhny-link {
  color: #dd1122;
}

a.verkhny-link:hover {
  color: #970d18;
} */

.page-link {
  color: #9179b4;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  color: #6a5190;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(145, 121, 180, 0.25);
}

.page-item.active .page-link {
  color: #fff;
  background-color: #9179b4;
  border-color: #9179b4;
}

.page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}

/**/

tr {
  background-color: transparent;
}

th {
  background-color: #9179b4 !important;
  color: white !important;
}

/*li {
    color: #9179B4;
}*/

/* ---------- Color Form ----------- */

[dir="rtl"] .color-form .color-palette {
  margin-left: 0;
  margin-right: 20px;
}

[dir="rtl"] .color-form .form-item label {
  float: right;
}

[dir="rtl"] .color-form .color-palette .lock {
  right: -20px;
  left: 0;
}

/* ----------- Soc icons ------------ */
#soc-icons-main-liplib a,
#soc-icons-main a {
  color: #9179b4;
  transition: all 0.5s linear;
}

#soc-icons-main-liplib a:hover,
#soc-icons-main a:hover {
  color: #6a5190;
  text-decoration: none;
}
