/**
 * Joomla! component Joaktree
 *
 * @version	2.0.0
 * @author	Niels van Dantzig (2009-2014) - Robert Gastaud (2017-2024)
 * @package	Joomla
 * @subpackage	Joaktree
 * @license	GNU/GPL
 *
 * Component for genealogy in Joomla!
 *
 * Joomla! 5.x conversion by Conseilgouz
 *
 */
 
.isotope_pointer {
cursor: pointer;
}

/* ---- button ---- */
.iso_btn-grp .btn:hover,
.iso_btn:hover {
  background-color: #8CF;
  color: white;
}
.isotope-div .btn.btn-sm {
    border-color: #495057;
    background-color: #d6d6d6;
}
.isotope-div .btn {
  margin-right: 2px;
  margin-top: 2px;
}
.isotope-div .btn:active,
.isotope-div .btn.is-checked,
.iso_btn:active,
.iso_btn.is-checked,
.iso_btn.is-checked {
  color: white;
  background-color: #28F;
  background: #28F;
}
.iso_btn-grp .btn:active,
.iso_btn:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}


.isotope-div .row .btn.btn-sm{
     width:auto
}

/* ---- button-group ---- */

.iso_btn-grp:after {
  content: '';
  display: block;
  clear: both;
}

.iso_btn-grp .iso_btn {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.iso_btn-grp p {
	float:left;
	margin-top:5px;
}
.sort-btn-grp {
	float:left;
	padding-right: 0 !important;
	padding-left: 0em !important;
}
.iso_btn-grp  .iso_btn:first-child{ border-radius: 0.5em 0 0 0.5em; }
.iso_btn-grp .iso_btn:last-child { border-radius: 0 0.5em 0.5em 0; }

.iso_btn_first { border-radius: 0.5em 0 0 0.5em !important; }

.iso_btn-grp.iso_lang .btn-sm{
	max-height: 2em;
    padding-top: 0;
    padding-bottom: 0;
}
.iso_btn-grp.iso_lang .iso_btn{
	max-height: 2.5em;
    padding-top: 0;
    padding-bottom: 0;
}
/* ---- grid ---- */

.isotope_grid {
  max-width: 100%;
  max-height: 100%
}

/* clear fix */
.isotope_grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .element-item ---- */
.iso_itm {
  float: left;
  width: auto;
  height:auto;
  margin: 5px;
  padding: 5px;
  background: #eee;
  overflow: hidden;
}

.iso_itm .number {
  margin: 0;
}
.isotope-div {
	width:100%;
	height:auto;
}
.isotope_select { 
	width:15em;
}
.iso_badge_new {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    color: #fff;
    background-color: #dc3545;
}

/* max-width passe de 450px a 600px */
@media screen and (max-width: 600px) {
.isotope-div {
	width:100%;
	height:auto;
	}
.filter-btn-grp {
	width:auto;
	float:none;
	}
}
/*  pas de float sur petits ecrans */
@media screen and (max-width: 900px) {
.sort-btn-grp {
	float:none;
 }
}
.iso-float-left {
	float : left
}
.iso-img-max-width {
	max-width:100%
}
.iso_hide_elem {
	display: none !important;
}
.iso_button_more {
	width:100%;
}
.iso_clear{
	width: 27px;
	height: 25px;
	background:url('../images/clear.png');
	cursor:pointer;
}
@font-face {
  font-family: 'isotope';
  src: url('../font/isotope.eot?25485451');
  src: url('../font/isotope.eot?25485451#iefix') format('embedded-opentype'),
       url('../font/isotope.woff2?25485451') format('woff2'),
       url('../font/isotope.woff?25485451') format('woff'),
       url('../font/isotope.ttf?25485451') format('truetype'),
       url('../font/isotope.svg?25485451#isotope') format('svg');
  font-weight: normal;
  font-style: normal;
}
 [class^="ison-"]:before, [class*=" ison-"]:before {
  font-family: "isotope";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
}
.ison-cancel-squared:before { content: '\e801'; font-size: 200%; color: grey;cursor: pointer;} 

.isotope-hide {
	display:none
}
button.close {
	float:right;
	margin-right: 1em;
	width:2em;
	color: black !important;
	background-color: grey !important;
	opacity:.5;
}
h1 button.close{font-size:50% }
.isotope-open {
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0); 
  visibility: visible;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;  
}
@media (max-width: 960px) {
	.isotope_grid {
	-webkit-transition: all 0.5s;
    transition: all 0.5s;
	}
}
.article-loading { 
    height: 70vh;
    background:url(../../images/loader5.gif) center center no-repeat; 
}

.iso_div_empty{
	text-align: center;    margin-top: 3em;    margin-bottom: 3em;    font-size: 120%;
}

/* inifinite scroll */
.page-load-status {
  display: none; /* hidden by default */
  padding-top: 20px;
  border-top: 1px solid #DDD;
  text-align: center;
  color: #777;
}
.loader-ellips {
  font-size: 20px; /* change size here */
  position: relative;
  width: 4em;
  height: 1em;
  margin: 10px auto;
}

.loader-ellips__dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 0.5em;
  background: #555; /* change color here */
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
  left: 0;
}
.loader-ellips__dot:nth-child(3) { left: 1.5em; }
.loader-ellips__dot:nth-child(4) { left: 3em; }

@keyframes reveal {
  from { transform: scale(0.001); }
  to { transform: scale(1); }
}

@keyframes slide {
  to { transform: translateX(1.5em) }
}

.loader-ellips__dot:nth-child(1) {
  animation-name: reveal;
}

.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
  animation-name: slide;
}

.loader-ellips__dot:nth-child(4) {
  animation-name: reveal;
  animation-direction: reverse;
}

.iso_btn-grp .family-count.badge.bg-info {margin-left:10px}
