#header > .search_results {
        display: none;
        position: absolute !important;
        top: 58px;
        right: 0;
        min-width: 406px;
        z-index: 6;
        padding: 10px;
        background-color: #ffffff;
        white-space: normal;
        text-align: left;
        background-color: white;
        color: black;
        display: block;
        width: 100%;
}

#header > .search_results {
        max-height: 300px;
        padding: 0 0 50px;
        overflow: hidden;
}

#header > .search_results > div {
        background-color: #373737;
        width: 100%;
        margin-bottom: 10px;
        overflow-x: hidden;
}

#header > .search_results > div.nicescroll-rails {
        background-color: #373737;
}

.show_all_search_results {
        display: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 7;
        height: 50px;
        padding: 0 30px;
        border-top: 1px solid #8d8d8d;
        background-color: #ffffff;
        color: #fff;
        line-height: 50px;
        text-align: center;
        font-family: Helen Pro_Light;
        font-size: 14px;
        text-transform: uppercase;
}

.search_results li {
        font-size: 11px;
        padding: 5px;
}


.search_results:hover li.active {
        background-color: transparent;
}

.search_results li.active,
.search_results:hover li.active:hover,
.search_results li:hover {
        background-color: #eeeeee;
        color: #373737;
}

.search_results li + li {
        border-top: 1px solid #8d8d8d;
}

#header .search_results li a {
        display: table;
        color: #373737;
        text-transform: uppercase;
}

.search_results li a > * {
        display: table-cell;
        vertical-align: middle;
}

.search_results li a > .no_img,
.search_results li a > img {
        margin-right: 10px;
        width: 60px;
        height: 60px;
        font-size: 0pt;
        text-indent: -999px;
}

.search_results ul {
    background-color: #ffffff;
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
    max-height: 285px;
    overflow-y: auto;
    border-left: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
}

.search_results {
    background-color: #ffffff;
}

.search_results li a > .no_img {
        width: 70px;
}

.search-bar-widget.active {
    width: 25rem;
}


a.show_all_search_results {
    color: #ffffff !important;

}

.show_all_search_results {
    width: 100%;
    display: block;
    background-color: #373737;
    color: #fff
}


/* New Bigger Search Boxes Theme */

.search-bar-widget.active {
    -webkit-box-shadow: 0px 4px 123px 138px rgba(55,55,55,1);
    -moz-box-shadow: 0px 4px 123px 138px rgba(55,55,55,1);
    box-shadow: 0px 4px 123px 138px rgba(55,55,55,1);
    display: inline-table;
    top: 80px !important;
}

.search-bar-widget.active > form {
    background-color: #ffffff;
    padding-bottom: 0;
}

.search-bar-widget.active > form > input::placeholder {
    color: #c1c1c1;
}

.search_results li.active {
    background-color: transparent;
}

.search_results li a:hover {
    text-decoration: none !important;
}

.search-bar-widget input {
    height: 60px;
    font-size: 2.125rem;
    text-align: center;
    font-family: 'Helen Pro_Light';
    border: none;
    -webkit-box-shadow: 0px 10px 18px -9px rgba(55,55,55,0.77);
    -moz-box-shadow: 0px 10px 18px -9px rgba(55,55,55,0.77);
    box-shadow: 0px 10px 18px -9px rgba(55,55,55,0.77);
    border-bottom: 1px solid #dfe0e1;
    margin-top: 0;
    margin-bottom: 10px;
}


.search_results li + li {
    border-top: none;
}

.search-bar-widget {
    min-width: 96vw;
    z-index: 2000;
}

.search_results {
    width: 100%;
}

.search_results > div > ul > h1.underlined_heading {
    font-size: 1.45em !important;
    border-bottom: 1px solid #eee9e9;
    margin-top: 1em;
    margin-bottom: 5px;
    padding-bottom: 2px;
    font-family: 'Helen Pro_Light';
    text-transform: uppercase;
}

.search_results ul {
    max-height: 700px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
}

.search_results li {
    margin-top: 0;
    margin-bottom: 10px;
    display: inline-block;
    width: calc((100% - 25px) / 4);
    background-color: transparent;
}

.search-bar-widget .search-icon-input {
    height: 75px;
    padding-right: 0;
    right: 10rem;
    width: auto;
}

.search-bar-widget .search-close-btn {
    right: 10px;
    top: 8px;
    width: 30px;
    height: 30px
}

#header .search_results li a {
    display: grid;
    text-align: center;
}

.search_results:hover li.active:hover, 
.search_results li:hover {
    scale: 1.03;
    text-decoration: none;
    background-color: transparent;
    z-index: 9999;
    position: relative;
}

.search_results li a > .no_img, .search_results li a > img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border-width: 0;
    border-color: #ffffff;
    border-style: solid;
}

.search_results li a > * {
    display: inline-block;
    font-family: 'Helen Pro_Light';
    font-size: 1.25rem;
    color: #373737;
    text-transform: none;
    display: flex;
    line-height: 1.35rem;
    margin-top: 5px;
}

a.show_all_search_results {
    color: #373737 !important;
    font-size: 1.25rem;
    background-color: #ffffff;
    z-index: 9999;
}

a.show_all_search_results:hover {
    background-color: #373737;
    color: #ffffff !important;
    border-color: #ffffff;
    border-bottom: 1px solid #ffffff;
}


.search-bar-widget {
    min-width: 100%;
    z-index: unset;
    opacity: 1;
    pointer-events: unset;
    top: unset;
    bottom: unset;
    visibility: visible;
    position: unset;
    height: auto !important;
}



#modal {
    width: 60vw !important;
    top: 80px !important;
    max-width: 1250px !important;
    bottom: auto !important;
}

li.search-no-results {
    width: 100% !important;  
}

li.search-no-results h1.no-results-heading {
    text-align: center;
    font-family: 'Helen Pro_Light';
    font-size: 2.5em;
    margin-top: 30px;
}

@media only screen and (max-width: 1500px) {
    .search_results li a > * {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 1330px) {
    .search_results li {
      //  width: calc((100% - 20px) / 5);
    }
}



@media only screen and (max-width: 1280px) {

    .search-bar-widget.active > form > input::placeholder {
        font-size: 1.7rem;
    }
    
    .search-bar-widget input {
        font-size: 1.7rem;
    }
    
    .search-bar-widget .search-icon-input {
        right: 13rem;
    }
}

@media only screen and (max-width: 1200px) {
    .search_results li a > * {
        font-size: 0.85rem;
    }
}

@media only screen and (max-width: 1100px) {
    .search_results li {
        width: calc((100% - 15px) / 4);
    }
}

@media only screen and (max-width: 900px) {
    
    #modal {
        width: 75vw !important;
    }
    .search_results ul {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .search-bar-widget input {
        height: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .search_results li {
        width: calc((100% - 10px) / 3);
    }
    
    .search_results li a > * {
        font-size: 1rem;
        margin-top: 3px;
        padding-bottom: 0;
        line-height: 1rem;
    }
    
    .search-bar-widget.active {
        width: auto;
    }
    
    #modal {
        top: 50px !important;
        width: 85vw !important;
    }
    
    .search-bar-widget.active > form > input::placeholder {
        font-size: 1.25rem;
    }
    
    .search-bar-widget input {
        height: 40px;
    }
    
    .search-bar-widget.active > form {
        width: 100%;
    }
    
    .search-bar-widget .search-close-btn {
        right: 0;
        top: -30px;
        width: 40px;
        background-color: #ffffff;
    }
    
    .search_results ul {
        max-height: 75vh;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 60px;
    }
    
    .search-bar-widget .search-icon-input {
        height: 60px;
        right: 2%;
    }
    
    .show_all_search_results {
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
    
    .search_results > div > ul > h1.underlined_heading {
        font-size: 1.2em !important;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 650px) {
    
    .search_results li a > * {
        font-size: 0.85rem;
    }
}

@media only screen and (max-width: 560px) {
    
    .search_results li a > * {
        font-size: 0.75rem;
    }
    
}

@media only screen and (max-width: 500px) {
    
    .search_results li a > * {
        font-size: 1rem;
    }
    
    .search_results li {
        width: calc((100% - 5px) / 2);
    }
    
    .search-bar-widget input,
    .search-bar-widget.active > form > input::placeholder {
        font-size: 1rem;
        text-align: left;
        padding-left: 15px;
    }
    
    .search-bar-widget .search-close-btn img {
        height: 1rem;
    }
    
    a.show_all_search_results {
        font-size: 1rem;
    }
    
    
}
