

/* ===================================
     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;
  }
}


/* ===================================
     Vanilla Calendar
====================================== */


#sidebar .vanilla-calendar {
     min-width: 100%;
    padding: 0; 
}

 [data-calendar-theme=light] .vanilla-calendar-day__btn,
 .vanilla-calendar-day__btn {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    color: #0f172a;
	margin:1px;
}
 [data-calendar-theme=light] .vanilla-calendar-day__btn.cal-dia-destacat,
 .vanilla-calendar-day__btn.cal-dia-destacat {background-color:#be0926; color:#fff;}

[data-calendar-theme=light] .vanilla-calendar-week__day_weekend,
.vanilla-calendar-week__day_weekend {
    color: #565973;
}
[data-calendar-theme=light] .vanilla-calendar-day__btn_weekend,  
[data-calendar-theme=light] .vanilla-calendar-day__btn_holiday,
.vanilla-calendar-day__btn_weekend,  
.vanilla-calendar-day__btn_holiday {
    color: #565973;
}
[data-calendar-theme=light] .vanilla-calendar-day__btn.cal-dia-destacat:hover,
.vanilla-calendar-day__btn.cal-dia-destacat:hover {
background-color:#0b0f19;
}
[data-calendar-theme=light] .vanilla-calendar-day__popup,
.vanilla-calendar-day__popup {
	transform: translate(-20%);
    background-color: #ffffff; 
}


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



.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.875rem;
    height: 2.875rem;
    line-height: 2.875rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}
.has-search .form-control {
    padding-left: 2.375rem;
}







.list-view .row > [class*=col-] {
  max-width: 100%;
  flex: 0 0 100%;
}
.list-view .card {
  flex-direction: row;
}
@media (max-width: 575.98px) {
  .list-view .card {
    flex-direction: column;
  }
}
.list-view .card > .card-img-top {
  width: auto;
}
.list-view .card .card-body {
  display: inline-block;
}







@media (min-width: 768px) {
.list-view .card-image {width:400px; }
}





.vista-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.5em;
  row-gap: .5em;
}


.vista-grid .row > [class*=col-] {
  max-width: 100%;
  flex: 0 0 100%;
}
.vista-grid .card-image { width:100%; height:200px !important; position:relative !important; }

.vista-grid .card-image img {
    border-radius: 0;
	 border-top-left-radius:calc(0.5rem - 1px);
	  border-top-right-radius:calc(0.5rem - 1px);
}


#activitats-container .card-body p {

width: 100%;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5;
display: -webkit-box;

}

#activitats-container.vista-grid .card-body p {

  -webkit-line-clamp: 8;
  
  }

@media (max-width: 768px) {
.vista-grid {
	  grid-template-columns:  1fr 1fr;
	}
}

@media (max-width: 560px) {
.vista-grid {
	  grid-template-columns:  1fr;
	}
}







.activitat-img-fons {opacity:.61;}

.activitat-img-fons  {

 background-color: #be0926;
 background-blend-mode: multiply;
 }



@media (max-width: 500px) {


#activitats-container .card-image  {
  position: relative !important;
}
#activitats-container .card-image  img {
  height: 200px;
  border-top-right-radius: 7px;
  border-bottom-left-radius: 0px;
}



#activitats-container .card-image a {
  position: relative !important;
}
#activitats-container .card-image a img {
  height: 200px;
  border-top-right-radius: 7px;
  border-bottom-left-radius: 0px;
}


}













/* ===================================
   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;
}


[data-bs-theme=dark] .bg-primary {
    --ddgi-bg-opacity: 0;
    background-color: rgba(var(--ddgi-primary-rgb), var(--ddgi-bg-opacity)) !important;
}

[data-bs-theme=dark] .dark-no {
  display:none !important;
}

 [data-bs-theme=dark] .form-select:not([data-bs-theme=light]) option {
    color: #000000;

}

[data-bs-theme=dark] {
  
    --ddgi-secondary-bg: rgba(0, 0, 0);
    
}













.spotlight img{
    height: auto;
    max-width: 300px;
    margin: 1vmin 1vmin;
    content-visibility: auto;
}

.spotlight img{
    max-height: 200px;
    object-fit: cover;
}
.spotlight{
    cursor: pointer;
    display: inline-block;
}

@media (min-width: 768px) {
.spotlight img{
    height: 20vw;
}	
	
}