.p-100 {
    padding-top: 100px;
}

.p-167 {
    padding-top: 167px;
}

.pt-48 {
    padding-top: 48px;
}

.pl-24 {
    padding-left: 24px;
}

.mt-50{
    margin-top: 50px;
}

.text-article{
    font-size: 18px;
    color: var(--colour-esxnew-purple-500, #5337AE);
    font-family: var(--Typography-Family);
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
}

.text-location:hover, .text-location-article:hover{
    color: #5337AE;
}

.input-with-clear {
  position: relative;
}

.input-with-clear input {
  padding-right: 30px;
}

.input-with-clear svg {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: none;
  cursor: pointer;
}

.input-with-clear.show-clear svg {
  display: inline;
}

.event-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--Colour-Content-Primary, #2A2A27);
    font-family: var(--Typography-Family);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
}

.loading-indicator {
    text-align: center;
    margin: 20px;
    opacity: 0.8;
}

.loading-indicator .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.photo-calendar-article{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    align-self: baseline;
}

.image-container{
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #000;
    background: lightgray 50% / cover no-repeat;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.font, .font-title {
    display: flex;
    justify-content: center;
    color: var(--Colour-Content-Primary, #2A2A27);
    text-align: center;
    font-family: var(--Typography-Family);
    font-size: 68px;
    font-style: normal;
    font-weight: 900 !important;
    line-height: 80px;
}

.text-esx:hover{
    color: var(--Colour-Content-Primary, #2A2A27);
}

.text-esx {
    color: var(--Colour-Content-Primary, #2A2A27);
    font-family: var(--Typography-Family);
    font-size: 28px;
    font-style: normal;
    font-weight: 900;
    line-height: 36px;
}

.text-location, .text-location-article {
    color: var(--Brand-Secondary, #5337AE);
    font-family: var(--Typography-Family);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
}

.text-category {
    color: var(--Common-Tertiary, #61666C);
    font-family: var(--Typography-Family);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 16px;
    text-transform: uppercase;
    cursor: pointer;
}

.text-date {
    color: var(--Common-Primary, #070A0E);
    font-family: var(--Typography-Family);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;
    cursor: pointer;
}

.text-description, .text-location{
    color: var(--colour-esxnew-purple-500, #5337AE);
    font-family: var(--Typography-Family);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 24px;
    cursor: pointer;
}

.text-description-article{
    color: var(--Colour-Content-Primary, #2A2A27);
    font-family: var(--Typography-Family);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.photos-width{
    max-width: 360px;
    width: 100%;
}

.container-height{
    max-height: 200px;
    height: 100%;
}

.category-date{
    font-size: 18px;
    line-height: 24px;
}

.text-location-article{
    font-size: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.background-filters{
    border-radius: 12px;
    border: 1px solid var(--colour-esxnew-purple-100, #D9D3ED);
    background: var(--colour-esxnew-purple-50, #EDEBF7);
}

input{
    width: 260px;
}

.dropbtn, .dropbtn2 {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  width: 260px;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

.dropdown, .dropdown2 {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.show {display:block;}

.btn-ruta{
    border-radius: 99px;
    border: 1px solid var(--Stroke-Transparent, rgba(0, 0, 0, 0.08));
    background: var(--Brand-Primary, #FCD447);
    width: 90px;
    height: 32px;
    font-family: var(--Typography-Family);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;
    text-wrap: nowrap;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #212529;
}

.filter-bar {
    background: #EDEBF7;
    border: 1px solid #D9D3ED;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.filter-input {
    width: 265px;
    min-width: 200px;
    border-radius: 8px;
    border: 1px solid var(--colour-esxnew-purple-100, #D9D3ED);
    background: var(--Colour-Background-Primary, #FFF);
    padding: 10px 14px;
    max-height: 46px;
}

.filter-dropdown .dropdown-toggle {
    border-radius: 8px;
    border: 1px solid var(--colour-esxnew-purple-100, #D9D3ED);
    background: var(--Colour-Background-Primary, #FFF);
    text-align: left;
    font-weight: 400;
    font-size: 14px;
    width: 265px;
    height: 100%;
    max-height: 46px;
    color: #212529;
}

.filter-dropdown .dropdown-menu {
    width: 100%;
}

.dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}

#events-list {
    padding-bottom: 50px;
}

.article-details{
    display: flex;
    flex-direction: column;
    max-height: 200px;
    justify-content: space-between;
    height: 100%;
}

.loading-indicator{
    padding-top: 30px;
}

@media screen and (max-width: 1200px){
    .event-description{
        -webkit-line-clamp: 2;
        margin-bottom: 0px;
    }

    .mb-2{
        margin-bottom: 0 !important;
    }

    .date-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .text-esx{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .text-location{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .p-167{
        padding-top: 100px;
    }

    .font-title{
        font-size: 60px;
    }

    .image-container{
        height: 30vw;
    }

    .padding-mobile{
        padding-left: unset;
        padding-right: unset;
    }

    .filter-input{
        min-width: 325px;
    }

}

@media screen and (max-width: 767px){
    .photos-width{
        max-width: unset;
    }

    .gap-mobile{
        gap: 30px;
    }

    .date-text, .event-description, .text-location, .text-description{
        font-size: 12px;
    }

    .font{
        font-size: 30px;
        text-wrap: wrap;
        line-height: 40px;
    }

    .text-esx{
        font-size: 20px;
    }

    .font-title{
        font-size: 30px;
        line-height: 50px;
    }

    .p-75{
        padding-top: 75px;
    }

    .pt-30{
        padding-top: 30px !important;
    }
}