/* Popover */
.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1010;
  display: none;
  max-width: 276px;
  padding: 1px;
  text-align: left;
  background-color: #ffffff;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
}

.popover.top {
  margin-top: -10px;
}

.popover.right {
  margin-left: 10px;
}

.popover.bottom {
  margin-top: 10px;
}

.popover.left {
  margin-left: -10px;
}

.popover-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

.popover-title:empty {
  display: none;
}

.popover-content {
  padding: 9px 14px;
}

.popover .arrow,
.popover .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.popover .arrow {
   border-width: 11px;
}

.popover .arrow:after {
  border-width: 10px;
  content: "";
}

.popover.top .arrow {
  left: 50%;
  margin-left: -11px;
  border-bottom-width: 0;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, 0.25);
  bottom: -11px;
}

.popover.top .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  border-bottom-width: 0;
  border-top-color: #ffffff;
}

.popover.right .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-left-width: 0;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, 0.25);
}

.popover.right .arrow:after {
  left: 1px;
  bottom: -10px;
  border-left-width: 0;
  border-right-color: #ffffff;
}

.popover.bottom .arrow {
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  top: -11px;
}

.popover.bottom .arrow:after {
  top: 1px;
  margin-left: -10px;
  border-top-width: 0;
  border-bottom-color: #ffffff;
}

.popover.left .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, 0.25);
}

.popover.left .arrow:after {
  right: 1px;
  border-right-width: 0;
  border-left-color: #ffffff;
  bottom: -10px;
}

/* Edit Profile */
.profile-edit #member-profile fieldset + div {
	line-height: 39px;
}

.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: 50px;
  height: 26px;
  padding: 0;
  margin: 0;
  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 .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 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 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 {
  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 .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 {
	font-size: 80%;
	display: none;
}

.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;
	float: none;
}

.j4 #com-login-form fieldset .control-group .control-label {
	float: left;
}

.j4 #com-login-form .controls {
	margin-left: 0;
}

.j4 .login-fields label,
.j4 #member-registration dt,
.j4 #user-registration dt,
.j4 #member-profile dt {
  float: unset;
  width: auto;
}

#member-registration dd {
  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; 
  } 
}

#modules-form > .row > div > div {
  margin-bottom: 20px;
}

ul.pagination {
  list-style: none;
  overflow: hidden;
  padding-top: 40px !important;
}

ul.pagination li {
  display: inline-block;
}

ul.pagination li::before {
  display: none;
}

ul.pagination .previous {
  float: left;
}

ul.pagination .next {
  float: right;
}

#member-registration dd::after {
  display: none;
}

