

/* ===================================
     Badge DDGI
====================================== */

.badge_DDGI {
  position: absolute;
  right: 10%;
  top: 0;
  z-index: 999;
}
.home .badge_DDGI {
  top: -20px;
}
.badge_DDGI img {
  margin-bottom: 0px !important;
  margin-top: -10px;
  transition: all 0.3s ease;
}
.badge_DDGI a:hover img {
  margin-top: 0px;
}
@media only screen and (min-width:1000px) {
  header#header {
    padding-top: 40px;
  }
}

@media only screen and (max-width:768px) {
  .badge_DDGI {
    display: none;
  }
}



/* ===================================
     Altres  CSS
====================================== */



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

.filters .button {
	    min-width: 60px;
  display: inline-block;
 padding:  0.6rem 1rem;
  border: 1px solid #dadfe5;
  cursor: pointer;
  
}

.filters .button:hover {
 border: 1px solid #000;
 color:#000 !important;
}

.filters .button:active,
.filters .button.is-checked {
 color:#0054a6 !important;
 background-color: #0054a610;
   border: 1px solid #0054a6;
}




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

.filters .button-group:after {
  content: '';
  display: block;
  clear: both;
}

.filters .button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}






/* ---- grid ---- */

.grid {

 /*  border: 1px solid #333;*/
}

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

/* ---- .element-item ---- */

.element-item {
  position: relative;
  float: left;
  width: 300px;
  height: 250px;
  margin: 5px;
  padding: 30px;
  ___background: #dddddd;
  overflow:auto;
  color: #262524;
}

.element-item > * {
  margin: 0;
  padding: 0;
}

.element-item .name {
  position: absolute;

  left: 10px;
  top: 60px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: normal;
}

.element-item .symbol,
.element-item .clausula_num {
  
  font-size: 42px;
  font-weight: bold;
  color: #be0926;
}

.element-item h2 {

  font-size: 20px;
    font-weight: bold;
	line-height:20px;
	margin-bottom:10px;
}

.element-item h3 {

  font-size: 16px;
    font-weight: bold;
	line-height:20px;
	margin-bottom:10px;
}



.element-item:hover {
  background: #0054a610 ;
  cursor: pointer;
}


.element-item.is-expanded {
  width: 100%;
  height: auto;
  max-width:920px;
  _________background: #f2f2f2;
    cursor: auto;
}



.element-item.is-expanded:hover {
background: #fff;
 
}

.element-item.is-expanded button {
cursor: pointer;
} 

.element-item .amaga{
 display:none;
}
.element-item.is-expanded .amaga{
 display:inherit;
}




table#resultats {font-size:0.9rem;}






.columns-2 {
  columns: 2 300px;
  gap: 2em;
}
.columns-3 {
  columns: 3 300px;
  gap: 2em;
}
.columns-4 {
  columns: 4 300px;
  gap: 2em;
}



.py-20 {
    padding-top: 20rem !important;
    padding-bottom: 20rem !important;
}
@media (min-width: 992px) {
.mt-lg-7 {
    margin-top: 7rem !important;
 
}}




/* ===================================
   Retocs dark
====================================== */

[data-bs-theme=dark] .element-item:hover {
      border: 1px solid #ffffff60;
}

[data-bs-theme=dark] .element-item .card-body  {
      color: #ffffff;
}

[data-bs-theme=dark] .element-item.is-expanded:hover {
    background: #ffffff10;
}












