/*
This CSS is for the activities plugin
*/

.principal_button{
    transition: box-shadow .2s, transform .3s;
    display: inline-grid;
    align-content: center;
    width: 128px;
    height: 128px;
    margin-right: 25px;
    font-weight: bold;
    background-color: #1A7A00;
    border: solid 3px;
    border-color: #1A7A00;
    border-radius: 6px;
}

.principal_button img, .principal_button a{
    align-items: center;
    color: white !important;
    justify-self: center;
}

.principal_button:hover {
    box-shadow: 0 0 18px rgba(33,33,33,.5);
    transform: scale(1.02);
    cursor: pointer;
}

.card_container{
    display:flex;
    flex-wrap:wrap;
    overflow-y:hidden;
    margin-bottom: 1rem;
    margin-top: 1rem;
    gap: 2rem;
    justify-content: flex-start;
}

.card{
    width: 32rem;
    max-width: 32rem;
    height: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1rem;
    /*box-shadow: 0 0 3px rgba(33,33,33,.2);*/
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 6px;
}

.card-hoverable{
    transition: 0.1s linear;
}
.card-hoverable:hover{
    /*transform: scale(1.015);*/
}

.card-body{
    flex-grow: 1;
}

.card-body .container{
    width: 100%;
    margin: 6px;
}

.card-footer{
    width: 100%;
    text-align: end;
    align-self: flex-end;
}

.card img{
    max-height: 15rem;
    object-fit: contain;
}

.card-text-overflow{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;

}

.card_form{
    display: flex;
    flex-direction: column;
    height: 100%;
}



.hoverable_a_tag{
    color: #1A7A00;
}

.hoverable_a_tag:hover{
    cursor: pointer;
    text-decoration: underline;
}


.regular_button{
    align-content: center;
    color: white;
    border: none;
    padding: 6px;
    background-color: #1A7A00;
    border-radius: 3px;
}


.mini-gallery{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    height: 100%;
}

.mini-gallery img{
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    transition: transform .2s ease;
    border-radius: 3px;
}

.mini-gallery img:hover{
    transform: scale(1.07);
}

.h-flex{
    display:flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.v-flex{
    display:flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

/*For mobile devices - menu bar*/
.menubar-close{
    background-color: #38900E !important;
    padding: 1rem 3rem 1rem;
}
.fa-close:before, .fa-remove:before, .fa-times:before {
    /*content: "CLOSE";*/
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 2rem;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.accordion:hover {
  background-color: #ccc;
}

.badge{
    width: auto;
    padding: 0.25em 0.75em;
    border-radius: 3px;
    color:white;
    font-size: 1em;
}

.search-panel{
    padding: 1rem;
    border-top: none;
    border-left: 2px solid #EEE;
    border-bottom: 2px solid #EEE;
    border-right: 2px solid #EEE;
    border-radius: 3px;
}

.search-row{
    display: flex;
    width: 100%;
    gap: 1rem;
}

.card-row{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.card-row h3{
    margin: 0;
}

.card-row input{
    margin-bottom: 0.75rem;
}