/* Suche Top-Navigation */

#layerSearch .search-form form {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border: 1px solid #ccc;
}

#layerSearch .search-form-input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    background: none;
    color: #999;
    border: none;
    padding: 10px 15px;
}

#layerSearch .search-category {
    display: flex;
    align-items: center;
    border: none;
}

#layerSearch .search-category select {
    width: 350px;
    font-weight: 700;
    border-left: 1px solid #ccc;
    padding: 3px 15px;
}

#layerSearch .search-form-button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    background: none;
    background-color: unset;
    color: #ccc;
    font: var(--fa-font-light);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 1px 15px;
}

#layerSearch .search-form-button:hover {
    background-color: #f4f4f4;
    transition: all 0.5s ease-out;
}


/* Suche */

.search .input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 35px;
    border: none;
    background: none;
    height: 25px;
    width: 100%;
    color: #FFF;
    font-size: 95%;
    border-bottom: 1px solid #FFF;
}

.search .button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    background: none;
    height: 25px;
    width: 35px;
    color: #FFF;
    font: var(--fa-font-light);
    position: absolute;
    right: 0;
    top: 12px;
    cursor: pointer;
    padding: 0;
}


/* Suchresultate */

.search .content-head {
    padding: 25px 0;
}

.search .content-head .content-title {
    font-weight: 300;
    font-size: 1.2rem;
}

.search-form {
    position: relative;
    margin-bottom: 15px;
}

.search-form form {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.search-form .search-category {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
}

.search-form .search-category .select.title {
    font-weight: 700;
    padding: 0 20px;
}

.search-form .search-category select {
    min-width: 200px;
}

.search-form-input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    background: none;
    border: 1px solid #ccc;
    border-right: none;
    padding: 10px 15px;
}

.search-form-button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50px;
    min-width: 50px;
    border: none;
    background: none;
    background-color: var(--main-color);
    color: #FFFFFF;
    font: var(--fa-font-light);
    cursor: pointer;
    font-size: 1.5rem;
}

.search-form-button:hover {
    opacity: 0.6;
    transition: all 0.5s ease-out;
}

.search-action {
    overflow: hidden;
    margin: 20px 0;
    border-bottom: 1px solid var(--main-color);
    display: table-row;
    width: 100%;
}

.search-action-item {
    width: 25%;
    display: table-cell;
    vertical-align: bottom;
}

.search-action-link {
    display: block;
    padding: 5px 10px;
    line-height: 30px;
    color: #FFF;
    text-decoration: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px 5px 0 0;
}

.search-action-link:hover,
.search-action-link:focus,
.search-action-link:active,
.search-action-link.active {
    color: #FFFFFF;
    background: rgba(0, 0, 0, 1);
    padding-bottom: 25px;
    transition: all 0.5s ease-out;
}

.search-action-link:hover::after,
.search-action-link:focus::after,
.search-action-link.active::after {
    content: '\f0d7';
    float: right;
    font: var(--fa-font-light);
}

.search-content {
    margin-top: 2rem;
}

.search-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -2.5%;
}

.search-list-item {
    width: 29.333%;
    display: block;
    background-color: var(--main-lightgrey-color);
    margin: 0 2.5% 1rem 2.5%;
    padding: 1rem;
    text-decoration: none;
}

.search-list-item:hover,
.search-list-item:focus,
.search-list-item:active {
    background-color: #333333;
    color: #FFFFFF;
    transition: all 0.5s ease-out;
}

.search-list-item .title {
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.search-list-item .link {
    margin-top: 0.2rem;
}

.search-list-item .link:before {
    content: '\f178';
    font-family: var(--main-font-fa);
    font-weight: 300;
    padding-right: 10px;
}

.list.article-group .item {
    width: 33.33%;
    float: left;
    position: relative;
}

.list.article-group .item .image a img {
    width: 100%;
}

.list.article-group .item .title {
    height: 30px;
    line-height: 30px;
    position: absolute;
    bottom: 0;
    display: block;
    background: rgba(47, 47, 47, 0.9);
}

@media only screen and (max-width: 1050px) {
    #layerSearch .search-category select {
        width: 170px;
    }
}

@media only screen and (max-width: 600px) {
    .templateSearch.search-form .search-category select {
        min-width: 150px;
    }
}

@media only screen and (max-width: 500px) {
    .templateSearch.search-form form {
        flex-wrap: wrap;
    }
    .templateSearch.search-form .search-form-input {
        border-right: 1px solid #ccc;
    }
    .templateSearch.search-form .search-category {
        width: 85%;
        padding: 10px;
        margin-top: 5px;
    }
    .templateSearch.search-form .search-form-button {
        margin-top: 5px;
        min-width: unset;
        width: 15%;
    }
    .search-form .search-category .select.title {
        padding: 0 10px;
    }
}