/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.vl-item-term {
    min-height: 100px;
    min-width: 90%;
    margin-left: 0px;
    padding: 1rem;
    box-shadow: 4px 4px 13px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    margin: 1rem;
    border-radius: 1rem;
    animation-name: fade-in;
    animation-duration: 0.25s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    background: var(--color-content-bg);
    color: var(--color-content-text);
}

.vl-item-term:hover {
    box-shadow: 4px 4px 13px 0 rgba(0, 0, 0, 0.4);
    transform: scale(1.01);
}

.vl-item-term-info, .vl-item-term-content, .vl-item-term-action {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

.vl-item-term-info {
    width: 20%;
    font-size: 18px;
}

.vl-item-term-content {
    width: 50%;
}

.vl-item-term-action {
    width: 30%;
}

.vl-item-term-date {
    font-weight: bolder;
}

.vl-item-term-price {
    font-weight: bolder;
    text-align: center;
    font-size: 24px;
    color: var(--color-content-secondary);
    margin: 1rem;
}

.vl-item-term-content .vl-item-term-name {
    font-size: 20px;
}
.vl-item-term-content .vl-item-term-tags {
    font-style: italic;
    color: #777;
}
.vl-item-term-note {
    font-size: 14px !important;
    color: #555 !important;
}

#vl-term-pagination {
    text-align: center;
}

#vl-term-pagination a {
    cursor: pointer;
    padding: 0.7rem;
    text-align: center;
    width: 50px;
    height: auto;
    display: inline-block;
}
#vl-term-pagination .vl-page-active {
    color: #ffffff;
    background: var(--color-content-primary);
    border-radius: 1rem;
}


/* Filter */
#vl-list-filter {
    display: flex;
    flex-wrap: wrap;
}
.vl-filter-region, .vl-filter-type {
    width: 50%;
    padding: 1rem;
}
.vl-filter-name {
    width: 100%;
    margin: 1rem;
}
.vl-item-filter {
    cursor: pointer;
    width: fit-content;
}
.vl-item-filter:hover {
    color:var(--color-content-primary);
}
.vl-filter-active {
    color: var(--color-content-secondary);
    font-weight: bold;
}
#vl-filter-action {
    display: flex;
}
#vl-filter-action .w-btn {
    margin: 1rem;
}
.vl-hide {
    visibility: hidden;
    display: none;
}


/* AutoComplete */
ul.ui-autocomplete {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    outline: 0;
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
    background: #ffffff;
    color: #333333;
    max-height: 250px;
    overflow: scroll;
    box-shadow: 4px 4px 13px 0 rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    animation-name: fade-in;
    animation-duration: 0.25s;
}
.ui-menu .ui-menu-item {
    margin: 0;
    cursor: pointer;
}
.ui-menu .ui-menu-item:hover {
    background: #eee;
    color: var(--color-content-primary);
}
.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 3px 1em 3px .4em;
}
.ui-helper-hidden-accessible {
    display: none;
}

/* For tablet and mobile*/
@media only screen and (max-width: 1024px) {

    .vl-item-term, #vl-list-filter  {
        flex-direction: column;
    }

    .vl-item-term-info, .vl-item-term-content, .vl-item-term-action {
        width: 100%;
    }

    .vl-item-term-action .w-btn {
        max-width: 250px;
        margin: 0 auto;
    }

}
