
section.header_search {
    display: block;
    margin-top: 70px;
    background-image: url("/wp-content/themes/angelsense/images/help-center/helpBGArticle.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    min-height: 185px;
    position: relative;
}

section.header_search div.title {
    display: block;
    padding-top: 2em;
}

section.header_search div.title h1 {
    font-size: 36px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
}

section.header_search div.title > h2 {
    font-weight: 600;
    font-size: 21px;
    line-height: 1.3;
    margin: 0.8em 0em 0em 0em;
    color: #0f0f0f;
}

section {
    padding: 1em calc((100% - 1200px)/2);
}
.help-search-results-container {
    margin: 50px 0;
}
.help-search-results-item {
    margin-bottom: 2em;
}
.help-search-results-item em {
    font-weight: bold;
    font-style: inherit;
    background-color: rgba(255, 255, 0, 0.05);
}

.help-search-results-item p {
    max-width: 60%;
}


.result-title {
    color: #3ABEB0;
    font-weight: 600;
    font-size: 1.2em;
}
h1.help-search-title {
    font-size: 3em;
    margin: 0;
    text-align: center;
    font-weight: 400;
    color: #3abeb0;
}
h2.help-search-title {
    font-size: 2em;
    margin: 1em 0;
    text-align: center;
    font-weight: 400;
    color: #3abeb0;
}
span.search-highlight {
    background-color: #fffdb8;
    font-weight: 600;
    padding: 0 2px;
    display: inline-block;
}

#help-search-pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}

#help-search-pagination a {
    display: inline-block;
    padding: 0px 4px;
    border: 1px solid #3ABEB0;
    color: black;
    font-size: 1.1em;
    border-radius: 2px;
    margin: 0 5px;
}

#help-search-pagination a.current-page {
    background-color: #3ABEB0;
    color: white;
    border: 1px solid #3ABEB0;
}


.help-search-form {
    background-color: #ffffff;
    padding-top: 3em;
    padding-bottom: 3em;
    background: url('/wp-content/themes/angelsense/images/support/support.jpg') center center / cover;
}

.help-search-form h2 {
    font-size: 3em;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.2em;
}

#help-search-form {
    max-width: 420px;
    height: 50px;
    overflow: hidden;
    margin-top: 1em;
}


.ui-autocomplete {
    width: 315px !important;
    background-color: white;
    padding: 0.5em;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
    line-height: 1.6em;
    font-size: 0.9em;
    transition: height 400ms;
    height: auto;
}



#search-suggestions {
    width: 400px;
    display: block;
    min-height: 3em;
    position: absolute;
    text-align: left;
    background-color: white;
    padding: 0.5em;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
    line-height: 1.6em;
    font-size: 0.9em;
    transition: height 400ms;
    height: auto;
    z-index: 1000;
}

#search-suggestions a {
    display: block;
    color: #3abeb0;
}

#search-suggestions a:hover {
    text-decoration: underline;
    font-weight: 400;
}
.help-search-input {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.help-search-input > div {
    display: block;
    width: 100%;
}
#help-search-input {
    line-height: 1.5em;
    padding: 0.5em;
    border-radius: 4px 0px 0px 4px;
    border: 1px solid #3abeb0;
    font-size: 1.2em;
    color: #333;
    width: 75%;
}

#help-search-input.loading {
    background: white url("../images/loading-balls.gif") right center no-repeat;
}
#help-search-form input[type="submit"] {
    background-color: #3abeb0;
    background-image: url("/wp-content/themes/angelsense/images/help-center/Search_icon.svg");
    background-repeat: no-repeat;
    background-position: center center;
    color: #fff;
    line-height: 2em;
    font-size: 0;
    border-radius: 0px 4px 4px 0px;
    border: 1px solid #ccc;
    width: 16%;
    position: relative;
    left: -5px;
    height: 50px;
    border: none
}
.ui-autocomplete-category {
    font-weight: bold;
    padding: 2px 5px;
    margin: 0;
    line-height: 1.5;
    background-color: #f5f5f5;
}
.ui-autocomplete .ui-menu-item {
    cursor: pointer;

}

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    text-decoration: underline #3ABEB0;
}
.help-search-empty {
    min-height: 400px;
}
a#back {
    color: #3abeb0;
    font-weight: 700;
    font-size: 20px;
    padding-bottom: 1em;
    outline: 0;
    visibility: hidden;
    opacity: 0;
}

a#back.show {
    visibility: visible;
    opacity: 1;
}
@media all and (max-width: 768px) {

    section {
        padding: 1em;
    }
    h2.help-search-title {
        margin-top:0;
    }
    .ui-autocomplete {
        width: 420px;
        width: 70% !important;
    }
    .help-search-form h2 {
        font-size: 2em;
    }

    #help-search-form input[type="submit"] {
        height: 50px;
        font-weight: bold;
    }

    h2.help-search-title strong {
        display: block;
    }

    .help-search-results-container {
        margin: 1em;
    }

    .help-search-results-item p {
        max-width: none;
    }

    #search-suggestions {
        width: 90%;
    }

    #search-suggestions a {
        margin-bottom: 0.5em;
        font-size: 1.2em;
    }

}