/* Popover */
.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  max-width: 276px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

.popover .arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}

.popover .arrow::before,
.popover .arrow::after {
  position: absolute;
  display: block;
  border-color: transparent;
  border-style: solid;
}

.popover .arrow::before {
  content: "";
  border-width: 0.8rem;
}

.popover .arrow::after {
  content: "";
  border-width: 0.8rem;
}

.popover.bs-popover-top, .popover.bs-popover-auto[x-placement^="top"] {
  margin-bottom: 0.8rem;
}

.popover.bs-popover-top .arrow, .popover.bs-popover-auto[x-placement^="top"] .arrow {
  bottom: -11px;
}

.popover.bs-popover-top .arrow::before, .popover.bs-popover-auto[x-placement^="top"] .arrow::before,
.popover.bs-popover-top .arrow::after, .popover.bs-popover-auto[x-placement^="top"] .arrow::after {
  border-bottom-width: 0;
}

.popover.bs-popover-top .arrow::before, .popover.bs-popover-auto[x-placement^="top"] .arrow::before {
  bottom: -0.8rem;
  margin-left: -0.8rem;
  border-top-color: rgba(0, 0, 0, 0.25);
}

.popover.bs-popover-top .arrow::after, .popover.bs-popover-auto[x-placement^="top"] .arrow::after {
  bottom: calc((0.8rem - 1px) * -1);
  margin-left: -0.8rem;
  border-top-color: #fff;
}

.popover.bs-popover-right, .popover.bs-popover-auto[x-placement^="right"] {
  margin-left: 0.8rem;
}

.popover.bs-popover-right .arrow, .popover.bs-popover-auto[x-placement^="right"] .arrow {
  left: -11px;
}

.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before,
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
  margin-top: -0.8rem;
  border-left-width: 0;
}

.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before {
  left: -0.8rem;
  border-right-color: rgba(0, 0, 0, 0.25);
}

.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
  left: calc((0.8rem - 1px) * -1);
  border-right-color: #fff;
}

.popover.bs-popover-bottom, .popover.bs-popover-auto[x-placement^="bottom"] {
  margin-top: 0.8rem;
}

.popover.bs-popover-bottom .arrow, .popover.bs-popover-auto[x-placement^="bottom"] .arrow {
  top: -11px;
}

.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before,
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
  margin-left: -0.8rem;
  border-top-width: 0;
}

.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before {
  top: -0.8rem;
  border-bottom-color: rgba(0, 0, 0, 0.25);
}

.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
  top: calc((0.8rem - 1px) * -1);
  border-bottom-color: #fff;
}

.popover.bs-popover-bottom .popover-header::before, .popover.bs-popover-auto[x-placement^="bottom"] .popover-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 20px;
  margin-left: -10px;
  content: "";
  border-bottom: 1px solid #f7f7f7;
}

.popover.bs-popover-left, .popover.bs-popover-auto[x-placement^="left"] {
  margin-right: 0.8rem;
}

.popover.bs-popover-left .arrow, .popover.bs-popover-auto[x-placement^="left"] .arrow {
  right: -11px;
}

.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before,
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
  margin-top: -0.8rem;
  border-right-width: 0;
}

.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before {
  right: -0.8rem;
  border-left-color: rgba(0, 0, 0, 0.25);
}

.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
  right: calc((0.8rem - 1px) * -1);
  border-left-color: #fff;
}

.popover-header {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: inherit;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.popover-header:empty {
  display: none;
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #212529;
}


/* Nav-Tabs Slider */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
}

.nav-link:focus, .nav-link:hover {
  text-decoration: none;
}

.nav-link.disabled {
  color: #868e96;
}


.nav-tabs {
  border-bottom: 1px solid #ddd;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.nav.nav-tabs {
  padding: 0;
  margin: 0;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-bottom: 0;
  border-radius: 0.25rem 0.25rem 0 0;
  box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgba(0, 0, 0, 0.15), 0 -4px 0 rgba(0, 0, 0, 0.05) inset, 0 0 3px rgba(0, 0, 0, 0.04);
}

.nav.nav-tabs .nav-item {
  margin-bottom: 0;
  margin-left: 0;
}

.nav.nav-tabs .nav-item:first-of-type .nav-link.active {
  border-radius: 0.25rem 0 0;
  box-shadow: -1px 0 1px -1px rgba(0, 0, 0, 0.06), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.nav.nav-tabs .nav-item:last-of-type .nav-link {
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.05), 1px 0 0 rgba(0, 0, 0, 0.05);
}

.nav.nav-tabs .nav-item:last-of-type .nav-link.active {
  box-shadow: inset 2px 0 1px -1px rgba(0, 0, 0, 0.08), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.nav.nav-tabs .nav-link {
  position: relative;
  padding: .75em 1em;
  color: #434178;
  border: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.05);
}

.nav.nav-tabs .nav-link.active {
  background-color: rgba(0, 0, 0, 0.03);
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05) 100%);
  border-right: 0;
  border-left: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: inset 2px 0 1px -1px rgba(0, 0, 0, 0.08), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.nav.nav-tabs .nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 5px;
  content: "";
  background-color: #006898;
  opacity: .8;
}

.nav-tabs + .tab-content {
  padding: 15px;
  background: #fefefe;
  border: 1px solid;
  border-color: #ccc;
  border-radius: 0 0 0.25rem 0.25rem;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.04);
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .tab-pane:before,
.tab-content > .tab-pane:after {
  content: "";
  display: table;
  clear: both;
}

.tab-content > .active {
  display: block;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  margin-top: .5em;
  margin-bottom: .5em;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group:first-child .list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.card > .list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-body:before,
.card-body:after {
  content: "";
  display: table;
  clear: both;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid #ccc;
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header + .list-group .list-group-item:first-child {
  border-top: 0;
}


/* Edit Profile */
.profile-edit #member-profile fieldset + div {
	line-height: 39px;
}

/* Joomla 4 */
.j4 .js-switcher {
	position: relative;
	box-sizing: content-box;
	display: inline-block;
	width: 60px;
	height: 26px;
	margin-top: 2px;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-color: #f9f9f9;
	background-clip: content-box;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0.25rem;
	box-shadow: 0 0 0 0 #dfdfdf inset;
	transition: border .4s ease 0s, box-shadow .4s ease 0s;
}

.j4 .js-switcher.active {
	background-color: #64bd63;
	border-color: #64bd63;
	box-shadow: 0 0 0 16px #64bd63 inset;
	transition: border .4s ease 0s, box-shadow .4s ease 0s, background-color 1.2s ease 0s;
}

.j4 .js-switcher.switcher-danger.active {
	background-color: #bc6564;
	border-color: #bc6564;
	box-shadow: 0 0 0 16px #bc6564 inset;
}

.j4 .js-switcher.switcher-primary.active {
	background-color: #648fba;
	border-color: #648fba;
	box-shadow: 0 0 0 16px #648fba inset;
}

.j4 .js-switcher input {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100% !important;
	padding: 0;
	margin: 0 !important;
	cursor: pointer;
	zoom: 1;
	filter: alpha(opacity=0);
	opacity: 0;
}

.j4 .js-switcher .switch {
	position: absolute;
	top: 0;
	width: 30px;
	height: 26px;
	background: #fefefe;
	border-radius: 0.25rem;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: left .2s ease 0s;
}

.j4 .js-switcher input:checked ~ .switch {
	left: 0;
}

.j4 .js-switcher input ~ :checked ~ .switch {
	left: 30px;
}

.j4 .js-switcher input:checked {
	z-index: 0;
}

.j4 .switcher-labels {
	position: relative;
	margin-left: 10px;
}

.j4 .switcher-labels span {
	position: absolute;
	top: 0;
	left: 0;
	color: #aaa;
	visibility: hidden;
	opacity: 0;
	transition: all .2s ease-in-out;
}

.j4 .switcher-labels span.active {
	visibility: visible;
	opacity: 1;
	transition: all .2s ease-in-out;
}

.j4 .input-group-addon .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.j4 .input-group-addon .fa {
	padding: 0;
}

.j4 .element-invisible {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	clip-path: inset(50%);
}

.j4 .input-group {
	position: relative;
	display: -webkit-box;
	display: flex;
	-webkit-box-align: stretch;
	align-items: stretch;
}

.j4 .input-group .form-control,
.j4 .input-group-addon,
.j4 .input-group-btn {
	display: -webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
}

.j4 .input-group .form-control {
	position: relative;
	z-index: 2;
	-webkit-box-flex: 1;
	flex: 1 1 auto;
	width: 1%;
	margin-bottom: 0;
}

.j4 .input-group-addon {
	padding: .375rem .75rem;
	margin-bottom: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	text-align: center;
	border: 1px solid #ccc;
	border-left: 0;
	background: #f2f2f2;
}

.j4 .has-danger .input-group-addon,
.j4 .has-danger .input-group-addon,
.j4 .has-danger .form-control {
	border-color: #d45555;
}

.j4 .control-group {
	margin-bottom: 18px;
	clear: both;
}

.j4 .control-group .control-label {
	padding-top: 5px;
	padding-right: 5px;
	text-align: left;
}

.j4 .control-group .control-label label {
	margin: 0;
}

.j4 .control-group .control-label .form-control-feedback {
	display: block;
	font-size: 80%;
}

.j4 .control-group .controls #remember {
	width: auto;
}

.j4 .control-group .controls .btn {
	float: none;
}

.j4 .input-group-btn .btn + .btn {
	margin-left: 2px;
}

.j4 .input-group .form-control {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.j4 .input-group .input-group-addon {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.j4 .float-right {
	float: right !important;
}

.j4 .mb-0 {
	margin-bottom: 0 !important;
}

.j4 .fade {
	opacity: 0;
	transition: opacity 0.15s linear;
}

.j4 .fade.show {
	display: block;
	opacity: 1;
}

.j4 .collapse {
	display: none;
}

.j4 .collapse.show {
	display: block;
}

.j4 .joomla-alert {
	display: none;
}

.j4 #helpsite-refresh {
	margin-top: 10px;
}

.j4 .edit.item-page #adminForm > fieldset {
	display: table-row;
}

.j4 fieldset.filters {
	padding: 0;
}

.j4 fieldset.filters > div > * {
	float: unset;
}

.j4 .tag-category .filters .input-group {
	display: inline-block;
}

.j4 .tag-category #filter-search {
	flex: unset;
	width: auto;
}

.j4 div.tag-category div.btn-group {
	margin-top: 0;
	margin-bottom: 30px;
}

.j4 .tag_category .btn-group {
	float: none !important;
}

.j4 .tag_category__item:first-child {
	border-top: 0;
}

.j4 .invalid {
	color: #bc6564;
}

.j4 .invalid .form-control-feedback {
	margin-left: 10px;
	font-size: 80%;
}

.j4 #com-login-form .control-label {
	float: none;
	width: auto;
	padding-top: 0;
	padding-right: 0;
}

.j4 #com-login-form .control-label label,
.j4 #com-login-form .login-fields label {
	line-height: 34px;
}

.j4 #com-login-form fieldset .control-group .control-label {
	float: left;
}

.j4 #com-login-form .controls {
	margin-left: 0;
}

.j4 #com-login-form .password-group input {
	flex: unset;
	width: auto;
}

.j4 #member-registration .password-group,
.j4 #member-registration dt label {
	display: inline-block;
}

.j4 #member-registration dt label.invalid {
	vertical-align: middle;
}

.j4 #member-registration dt label.invalid .form-control-feedback {
	display: block;
	margin-left: 0;
}

.j4 #member-profile select,
.j4 #member-profile textarea,
.j4 #member-profile input[type="text"],
.j4 #member-profile input[type="url"],
.j4 #member-profile input[type="email"] {
	width: auto;
}

.j4 #member-profile .input-group {
	width: auto;
	max-width: 266px;
}

.j4 #member-profile label {
	line-height: 39px;
}

.j4 .chzn-container.chzn-container-single .chzn-single,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single {
	display: inline-block;
	max-width: 100%;
	height: calc(calc(2.25rem + 2px) - 2px);
	padding: 0.375rem 1.75rem 0.375rem 0.75rem;
	padding-right: 0.75rem \9;
	line-height: 1.5 !important;
	color: #495057;
	vertical-align: middle;
	background: #fefefe url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
	background-image: none \9;
	background-size: 8px 10px;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	box-shadow: none;
	height: auto !important;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.j4 .chzn-container.chzn-container-single .chzn-single abbr,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single abbr {
	top: 10px;
}

.j4 .chzn-container.chzn-container-single .chzn-single:focus,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single:focus {
	border-color: #19b6ff;
	outline: none;
}

.j4 .chzn-container.chzn-container-single .chzn-single:disabled,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single:disabled {
	color: #868e96;
	cursor: not-allowed;
	background-color: #e9ecef;
}

.j4 .chzn-container.chzn-container-single .chzn-single div b,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single div b {
	background: none;
}

.j4 .chzn-container.chzn-container-single .chzn-drop,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-drop {
	background: #fefefe;
	border: 1px solid #ced4da;
}

.j4 .chzn-container.chzn-container-single.chzn-container-active .chzn-single,
.j4 .item-page.edit .chzn-container.chzn-container-single.chzn-container-active .chzn-single {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.j4 .chzn-container-single,
.j4 .item-page.edit .chzn-container-single {
	width: auto !important;
}

.j4 .chzn-container-single .chzn-search input[type="text"] {
	float: none;
}

#editor-xtd-buttons .btn {
	margin-top: 10px;
}

/* MODAL */
.modal-open {
	overflow: hidden;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	outline: 0;
}

.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
	transform: translate(0, -25%);
}

.modal.show .modal-dialog {
	transform: translate(0, 0);
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 10px;
	pointer-events: none;
}

.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	outline: 0;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000;
}

.modal-backdrop.fade {
	opacity: 0;
}
.modal-backdrop.show,
.j4 .fade.modal-backdrop.show {
	opacity: 0.5;
}

.modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #e9ecef;
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
}

.modal-header .close,
.modal-content .close {
	padding: 15px;
	margin: -15px -15px -15px auto;
	border: 0;
	color: #5cc1a9;
	line-height: 1;
	border-radius: 50%;
}

.modal-title {
	margin-bottom: 0;
	line-height: 1.5;
}

.modal-body {
	position: relative;
	flex: 1 1 auto;
	padding: 15px;
}

.modal-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 15px;
	border-top: 1px solid #e9ecef;
}

.modal-footer > :not(:first-child) {
	margin-left: .25rem;
}

.modal-footer > :not(:last-child) {
	margin-right: .25rem;
}

.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 500px;
		margin: 30px auto;
	}

	.modal-sm {
		max-width: 300px;
	}
}

@media (min-width: 992px) {
	.modal-lg {
		max-width: 800px;
	}
}