.table-archive .views-field.views-field-title {
    position: relative;
}
tr.table-archive {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
}

tr.table-archive .views-field-title {
    width: 30%;
}
tr.table-archive .views-field-field-show,
tr.table-archive .views-field-field-genre {
    width: 20%;
}
tr.table-archive img{
    width: 50px;
    height: 50px;
}
div#edit-sort-by ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    list-style-type: none;
    width: 90%;
}
.form-item-sort-by {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
div#edit-sort-by {
    width: 90%;
}
div#edit-sort-by a,
.form-item-sort-by label {
    color: var(--spark-grey);
    text-decoration: underline;
}
.form-item-sort-by label::before {
    content: none;
}
button#edit-submit-archive-view {
    display: none;
}
.views-element-container a:hover {
    color: #467883;
    text-decoration-color: #467883;
    transition: .1s;
}
#views-exposed-form-archive-view-page-1 {
    padding: 2rem 0;
}
.form-item-keys {
    display: none;
    /* justify-content: center;
    padding-bottom: 3rem; */
}
input#edit-keys {
    width: 100%;
    max-width: 300px;
    color: var(--spark-grey);
    width: 100%;
    max-width: 300px;
    border: 1px solid grey;
    border-radius: 15px;
    padding: 7px;
    font-size: 1vh;
}
.ui-autocomplete {
    left: 75vw !important;
    min-width: 450px !important;
    min-height: 50px;
    background: #000000d9 !important;
}
ul[data-sa-theme="basic"] .ui-autocomplete-container > li.ui-menu-item {
    background: #ffffff4d !important;
}
ul[data-sa-theme="basic"] .ui-autocomplete-fields > *{
    color: #ddd !important;
}
ul[data-sa-theme="basic"] .ui-autocomplete-fields .ui-autocomplete-field-title {
    color: #ffffff !important;
}
ul[data-sa-theme="basic"] .ui-autocomplete-container.ui-autocomplete-container-more_results, ul[data-sa-theme="basic"] .ui-autocomplete-container.ui-autocomplete-container-no_results{
    display: none !important;
}
.ui-widget.ui-widget-content {
    border-radius: 5px !important;
}
input#edit-keys:focus {
    border-radius: 3px;
    background-color: #010508e6;
    border: 1px solid #fff;
    border-radius: 15px !important;
    outline: none;
    box-shadow: unset;
}
div#block-etikett-content {
    width: -webkit-fill-available;
    width: -moz-available;
}
.messages__wrapper {
    padding: 2rem;
}
.bef-link--selected {
    color: #467883 !important;
    text-decoration-color: var(--spark-grey) !important;
}
div#edit-sort-by a:hover {
    color: #467883;
    text-decoration-color: #467883;
    transition: .1s;
}

/* ------------Episode------------- */
article div:has(.btn_episode) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: auto;
}
.btn_episode {
    padding: 2rem 0;
}
.header_episode {
    display: flex;
    flex-direction: row;
}
.header_episode img {
    max-height: 180px;
    max-width: 180px;
}
.title_episode {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    font-size: 2rem;
}
.title_episode p {
    font-size: 32px;
    border-bottom: 1px solid #ffffff8a;
    padding-bottom: 10px;
    text-align: center;
    margin: 0 15px 20px;
    font-weight: 600;
}
.body_episode {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
    padding: 2rem 15px 0;
}
.info_episode {
    width: 20%;
}
.body_episode > div:nth-child(2) {
    width: 80%;
}
.card_episode{
    box-shadow: 0 7px 14px #8b8b8b40, 0 10px 10px #9c9c9c38;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    transition: all .8s cubic-bezier(.25,.8,.25,1);
    width: 100%;
}
.card_episode:hover {
    background-color: #010508cf;
    box-shadow: 0 14px 28px #dbdbdb40, 0 10px 10px #9c9c9c38;
    transition: all .8s cubic-bezier(.25,.8,.25,1);
}
form#views-exposed-form-archive-view-page-1::after {
    content: unset;
}
/* Mobile */
@media only screen and (max-width: 768px){
.ui-autocomplete {
    width: 100% !important;
    left: 0vw !important;
    background: #000000d9 !important;
    min-width: 350px !important;
}
ul[data-sa-theme="basic"] .ui-autocomplete-content {
    display: flex;
    flex-direction: column;
}
.region--search #edit-keys {
    background-position: 90% center;
}
    tr.table-archive .views-field-field-show,
    tr.table-archive .views-field-field-genre,
    .views-field-field-date-episode,
    .form-item-sort-by {
        display: none;
    }
    tr.table-archive .views-field-title {
        width: 100%;
    }
    tr.table-archive {
        padding: 20px 0;
    }
    #views-exposed-form-archive-view-page-1 {
        padding: 0;
    }
    .form-item-keys {
        padding-bottom: 0;
    }
/* ------------Episode------------- */
    .col-lg-10.col-10.mx-auto {
        padding: 0;
    }
    .header_episode {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .body_episode {
        display: flex;
        flex-direction: column;
        padding: 2rem 10px 0;
    }
    .info_episode {
        width: 90%;
    }
    .title_episode p {
        font-size: 21px;
        padding: 10px;
    }
    .body_episode > div:nth-child(2) {
        width: 90%;
    }
}
/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1023px){
    .views-field-field-date-episode {
        display: block;
    }
    tr.table-archive .views-field-title {
        width: 70%;
    }
    .body_episode {
        display: flex;
        flex-direction: column;
        padding: 2rem;
    }
}

/*  Media query Laptop */
@media only screen and (min-width:1471px) and (max-width:1600px){
    div#block-etikett-content {
        width: 90%;
    }
}
