/* solr_extended/Resources/Private/Partials/Search/Form.html */

@import "../base/base.css";
@import "../ext-solr/suggest.css";

/* Searchbar Grid */
.tx-solr-searchbar .grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;

    @media screen and (width >= 576px) {
        grid-gap: 30px;
    }
}

.tx-solr-searchbar .grid-item {
    position: relative;
}

.tx-solr-searchbar .grid-item:first-child {
    grid-column: 1 / 11;
    padding-top: 9px;
    padding-bottom: 9px;

    @media screen and (width >= 768px) and (width <= 991px) {
        grid-column: 1 / 10;
    }
}

.tx-solr-searchbar .grid-item:last-child {
    grid-column: 11 / 13;

    @media screen and (width >= 768px) and (width <= 991px) {
        grid-column: 10 / 13;
    }
}

/* Input field */
.tx-solr-searchbar input {
    position: relative;
    width: 100%;
    color: var(--body-color);
    padding-right: 50px;
    background-color: transparent;
    border: 0;
    border-bottom: solid 1px var(--primary);
}

.tx-solr-searchbar input::placeholder {
    font-family: 'TextaNarrow-Book', Arial, Helvetica, sans-serif;
    color: var(--body-color);
}

/* delete button */
.tx-solr-searchbar .searchbar-button--delete {
    position: absolute;
    display: none;
    right: 0;
    top: 14%;
    padding-left: 15px;
    padding-right: 15px;
}

.tx-solr-searchbar .searchbar-button--delete.active {
    display: block;
}

/* submit button */
.tx-solr-searchbar button.tx-solr-submit {
    width: 100%;

    @media screen and (width >= 768px) {
    }
}

.tx-solr-searchbar button.tx-solr-submit span {
    display: block;
    height: 0;
    width: 0;
    visibility: hidden;

    @media screen and (width >= 768px) {
        display: inline-block;
        width: auto;
        height: auto;
        visibility: visible;
    }
}

.tx-solr-searchbar .grid-item:first-child,
.tx-solr-searchbar button.tx-solr-submit {
    padding-top: 9px;
    padding-bottom: 9px;
}

.tx-solr-searchbar button.tx-solr-submit svg {
    width: 0.875rem; /* 14px */
    height: 0.875rem; /* 14px */

    @media screen and (min-width: 768px) {
        margin-right: 5px;
    }
}

/* Filter */

/* Header Search Form */

body header {
    position: relative;
}

/*.solr-header-form {
    display: none;
    padding-top: 16px;
    padding-bottom: 16px;
}

.solr-header-form.open {
    background-color: var(--body-color);
    display: block;
    position: fixed;
    width: 100%;
    !*min-height: 160px;*!
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
}

.solr-header-form .tx_solr {
    margin-top: 16px;
}

.solr-header-form .tx_solr input {
    color: var(--white);
    border-color: var(--white);
}

.solr-header-form .tx_solr input::placeholder {
    color: var(--white);
}

.solr-header-form .button-icon:hover svg {
    color: var(--dark);
}

.solr-header-form .searchbar-button--close {
    color: var(--white);
    margin-left: 95%;
}

.solr-header-form .searchbar-button--close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.solr-header-form .searchbar-button--delete {
    color: var(--white);
}

.solr-header-form .tx-solr-submit {
    background-color: var(--secondary);
    color: var(--white);
}*/

/* Search Jumbotron */
.solr-jumbotron-form {
    width: 100%;
    @media screen and (min-width: 576px) {
        width: 500px;
        margin-top: 8px;
    }
    @media screen and (min-width: 768px) { width: 477px; }
    @media screen and (min-width: 1200px) { width: 703px; }
}

.solr-jumbotron-form .container {
    @media screen and (min-width: 576px) {
        padding-left: 0;
        padding-right: 0;
    }
}

.solr-jumbotron-form .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}

.solr-jumbotron-form .row {
    margin-left: 0;
    margin-right: 0;
}

.solr-jumbotron-form .tx-solr-searchbar .grid-container {
    grid-template-columns: 1fr;
    grid-gap: 0;
}

.tx-solr-searchbar .grid-item:first-child {
    padding-top: 0;
    padding-bottom: 0;
}

.solr-jumbotron-form input {
    padding-left: 5px;
    background-color: #E8ECF0; /*Light Blue 20%*/
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.solr-jumbotron-form button.tx-solr-submit {
    display: flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.solr-jumbotron-form button.tx-solr-submit span {
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
}

.solr-jumbotron-form .tx-solr-searchbar .searchbar-button--delete {
    top: 0;
    width: 30px;
    height: 35px;
    padding: 0;
}

.solr-jumbotron-form .tx-solr-searchbar button.tx-solr-submit svg {
    @media screen and (min-width: 768px) {
        margin-right: 0;
    }
}
