/* drop down suche unter suchfeld... */

.search-popup {
    background:white;
    z-index: 5;
    -webkit-box-shadow: -2px -1px 8px 0px rgba(0,0,0, .35);
    -moz-box-shadow: 2px 2px 8px 0px rgba(0,0,0, .35);
    box-shadow: -2px -1px 8px 0px rgba(0,0,0, .35);
    
}
.search-popup p {
    padding-left: 20px;
    margin-bottom: 0;
    padding-bottom: 6px;
    padding-top: 6px;
    background-color: #ECECEC;
    position: relative;
}
.search-popup h2 {
    text-transform:uppercase;
    font-size: .875rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    font-family: "FilsonBold";
    font-weight: 700;
    padding-left: 20px;
    padding-top: 6px;
    padding-bottom: 3px;
}
.search-popup ul {
    list-style-type:none;
    padding: 0;
    margin-bottom: 6px;
    position: relative;
}
.search-popup h2:first-of-type + ul li {
    padding-top: 2px;
    padding-bottom: 2px;
}
.search-popup h2:first-of-type + ul li:after {
    top: 30px;
}
.search-popup h2:last-of-type {
    background-color: #ECECEC;
}
.search-popup h2:last-of-type + ul {
    background-color: #ECECEC; 
}
.search-popup li {
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}
.search-popup h2:first-of-type + ul:after,
.search-popup p:after,
.search-popup li:after {
    content: "";
    width: 100%;
    display: block;
    height: 1px;
    background: -moz-linear-gradient(left, rgba(160, 170, 175, 0) 0%, #a0aaaf 20%, #a0aaaf 70%, rgba(160, 170, 175, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(160, 170, 175, 0) 0%, #a0aaaf 20%, #a0aaaf 70%, rgba(160, 170, 175, 0) 100%);
    background: linear-gradient(to right, rgba(160, 170, 175, 0) 0%, #a0aaaf 20%, #a0aaaf 70%, rgba(160, 170, 175, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$gray-300', endColorstr='$gray-300',GradientType=1 );
    position: absolute;
    left: 7px;
}
.search-popup p:after {
    bottom: 0;
}
.search-popup h2:first-of-type + ul li:last-of-type:after {
    content: none;
}
.search-popup h2:first-of-type + ul:after {
    bottom: -6px;
}
.search-popup h2:last-of-type + ul li:after {
    top: 51px;
}
.search-popup figure {
    display:flex;
    align-items:center;
    height: 50px;
    overflow: hidden;
    margin-bottom: 6px;
}
.search-popup img {
    min-width: 50px;
    width: 50px;
    height: auto;
    margin-right: 20px; 
}
.search-popup li a { 
    font-family: "FilsonBook";
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7rem;
    color: #505A6E;
    text-transform: initial;
}
.search-popup h2:last-of-type + ul li:last-of-type {
    padding-bottom: 1px;
}
.search-popup h2:last-of-type + ul li:last-of-type:after {
    top: initial;
}
.searchdetail button,
.search-popup button {
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: #CE0E2D;
    text-decoration: none;
    background-color: transparent;
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-family: "FilsonBook";
    font-weight: 300;
    text-transform: uppercase;
    border: none;
    padding-top: 2px;
    padding-bottom: 6px;
    cursor: pointer;
}
.searchdetail button:before,
.search-popup button:before {
    content: "";
    background-image: url("/HU/repos/files/dietzel/icons/ico%5flink%2esvg?exp=48579&fps=d64e8f2a9ed05bc518b460d52286b3536582b44f");
    display: inline-block;
    height: 14px;
    width: 19px;
    background-size: 8px;
    background-position: 4px 4px;
    background-repeat: no-repeat;
}
.searchdetail button {
    display: none;
}
/* seite mit suchergebnissen... */
.searchdetail {
    padding-bottom: 40px;
}
.searchdetail p {
    font-family: "FilsonLight";
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 2rem;
    margin-bottom: 16px;
    padding-top: 20px;
    position: relative;
}
.searchdetail h2:first-of-type + ul li:after,
.searchdetail p:after {
    content: "";
    width: 100%;
    display: block;
    height: 1px;
    background: -moz-linear-gradient(left, rgba(160, 170, 175, 0) 0%, #a0aaaf 20%, #a0aaaf 70%, rgba(160, 170, 175, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(160, 170, 175, 0) 0%, #a0aaaf 20%, #a0aaaf 70%, rgba(160, 170, 175, 0) 100%);
    background: linear-gradient(to right, rgba(160, 170, 175, 0) 0%, #a0aaaf 20%, #a0aaaf 70%, rgba(160, 170, 175, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$gray-300', endColorstr='$gray-300',GradientType=1 );
    position: absolute;
    left: 7px;
}
.searchdetail h2:first-of-type + ul li {
    padding-top: 2px;
    padding-bottom: 2px;
}
.searchdetail h2:first-of-type + ul li:after {
    bottom: -1px;
}
.searchdetail p:after {
    bottom: -15px;
}
.searchdetail h2{
    text-transform:uppercase;
    font-size: .875rem;
    line-height: 1.25rem;
    margin-bottom: 0;
    font-family: "FilsonBold";
    font-weight: 700;
    padding-top: 10px;
    padding-bottom: 10px;
}
.searchdetail li a {
    font-family: "FilsonBook";
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7rem;
    color: #505A6E;
    text-transform: initial;
}
.searchdetail ul {
    list-style-type:none;
    padding-left: 0;
}

.searchdetail li{
    position:relative;/*f. merklisten button*/
}

.searchdetail figure{
    display:flex;
    align-items:center;
    background-color: white;
    padding-top: 6px;
    padding-bottom: 5px;
    overflow: hidden;
    height: 60px;
    position: relative;
}
.searchdetail img {
    max-width: 82px;
    max-height: 66px;
    border: 7px solid white;
}
.searchdetail figcaption {
    position: absolute;
    left: 106px;
}
.search-popup h2:last-of-type + ul ~ a {
    display: none;
}
.search-popup h2:last-of-type + ul ~ span {
    display: none;
}
.search-popup h2:first-of-type + p {
    background-color: white;
}

@media (max-width: 959px) {
    .search-popup figure {  
        overflow: hidden;        
    }
    .search-popup figcaption {
        align-self: baseline;
        word-break: break-word;
    }
}
@media (max-width: 639px) {
    .search-popup ul:first-of-type li {
        overflow: hidden;
        word-break: break-word;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .search-popup li {
        padding-left: 8px;
        padding-right: 8px;
    }
    .search-popup figure {
        margin-bottom: 8px;
        margin-top: 8px;
        height: 44px;
    }
    .search-popup img {
        min-width: 42px;
        width: 42px;
        height: auto;
        margin-right: 8px;
    }
    .search-popup figcaption {
        font-size: .875rem;
        line-height: 1.25rem;
    }
    .search-popup h2:last-of-type + ul li:after {
        top: 47px;
    }
    .search-popup h2:last-of-type + ul li:first-of-type figure {
        margin-top: 0;
    }
    .search-popup button {
        font-size: 1rem;
    }
    .search-popup p,
    .search-popup li a {
        font-size: .875rem;
    }
    .search-popup h2,
    .search-popup p {
        padding-left: 8px;
    }
    .searchdetail figure {
        height: auto;
        word-break: break-word;
        padding-right: 10px;
    }
    .searchdetail img {
        max-width: 64px;
        min-width: 64px;
        width: 64px;
        max-height: unset;
        border: 7px solid white;
    }
    .searchdetail figcaption {
        position: relative;
        left: 3px;
        font-size: .875rem;
        line-height: 1.25rem;
    }
}