
input#n33_autoCompleteInput {
    outline: 0 none !important;
    box-shadow: none !important;
}


.autoCompleteItem-global::placeholder,
.autoCompleteItem-global:-ms-input-placeholder {
    color: #999;
}

#wrapper-search-form .ui-autocomplete.ui-menu {
    background-color: #f5f5f5 !important;
    font-family: FoundersGrotesk, Helvetica, sans-serif;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 0;
    /* border-radius: 4px; */
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 4px 10px 0 #1e1e1e;
    font-size: 12px;
    left: -10px !important;
    padding: 30px 46px;
    text-align: left !important;
    top: 75px !important;
    width: calc(100% - 180px) !important;
}

#wrapper-search-form {
    margin-top: 0px !important;
}

#wrapper-search-form .ui-menu-item-scenario-highlight {
    color: #044123;
}

#wrapper-search-form span.ui-menu-item-label-highlight {
    color: #044123;
}

#wrapper-search-form .ui-state-focus .ui-menu-item-scenario-highlight {
    color: #fff;
}

#wrapper-search-form .ui-state-focus span.ui-menu-item-label-highlight {
    color: #fff;
}

#wrapper-search-form .ui-autocomplete.ui-menu .ui-menu-item {
    cursor: pointer;
}

#wrapper-search-form  li.ui-state-focus {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    background: #044123;
    color: #32eb96;
}

.menu-search-input {
    -webkit-animation-name: specialFadeInRight;
    animation-name: specialFadeInRight;
    -webkit-animation-duration: 400ms;
    animation-duration: 400ms;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 350ms;
    animation-delay: 350ms;
}

#wrapper-search-form .ui-autocomplete.ui-menu .ui-menu-item > a {
    text-align: left;
    font-size: 18px;
    line-height: 25px;
}

.wrapper-search-form.active .autoCompleteItem-global>button[type=reset],
.wrapper-search-form.active .autoCompleteItem-global>button[type=submit] {
    background: none;
    border: 0;
    cursor: pointer;
    outline: 0;
    position: relative;
    z-index: 15;
    visibility: visible;
    top: 12px;
}

    /***** iPad only *****, search button inside form was too far to right **/
    @supports (-webkit-overflow-scrolling: touch) {
        .wrapper-search-form.active .autoCompleteItem-global>button[type=submit] {
            left: 0px;
        }
    }

.wrapper-search-form.active .autoCompleteItem-global>button[type=reset] {
    left: calc(100% - 45px);
    position: absolute;
    color: #044123 !important;
    top: -2px;
}

.wrapper-search-form.active .autoCompleteItem-global>button[type=reset]:active {
    color: #CCDCC8 !important;
}

.wrapper-search-form.active .autoCompleteItem-global>button[type=reset]::before {
    content: url("data:image/svg+xml,%3Csvg viewBox='0 -0.5 21 21' version='1.1' xmlns='http://www.w3.org/2000/svg' fill='%23044123' height='18px' width='18px' %3E%3Cg transform='translate(-419, -240)'%3E%3Cg transform='translate(56, 160)'%3E%3Cpolygon points='375.0183 90 384 98.554 382.48065 100 373.5 91.446 364.5183 100 363 98.554 371.98065 90 363 81.446 364.5183 80 373.5 88.554 382.48065 80 384 81.446'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


.wrapper-search-form .autoCompleteItem-global button {
    background: none;
    position: absolute;
    visibility: hidden;
}

.wrapper-search-form.active {
        opacity: 1;
        transition-delay: .1s;
        transform: translateX(0);
        transition: all .2s ease-in-out;
        visibility: visible;
        border: 0;
        width: 100%;
        z-index: 10;
}

.wrapper-search-form {
    border: none;
    background-color: #fff;
    height: 67px;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: translateX(945px);
    transition: all .2s ease-in-out;
    visibility: hidden;
    width: 2px;
    z-index: -2;
    display: flex;
    flex-basis: auto;
}

.wrapper-search-form input[type=text] {
        border: 0;
        box-shadow: none !important;
        color: #7d8482 !important;
        font-family: 'FoundersGrotesk';
        font-size: 24px !important;
        height: 40px !important;
        margin: 10px 0 15px 0;
        outline: 0;
        display: inline-flex;
        position: absolute;
        background-color: white;
        padding: 0px 57px 0 52px;
        width: 100%;
}

.wrapper-search-form::placeholder {
    color: #999;
}

.ni-wrapper-header .close {
    opacity: 0;
    visibility: hidden;
}

.ni-wrapper-header .close.active {
    background: none;
    color:  #fff;
    cursor: pointer;
    line-height: 67px;
    opacity: 1;
    outline: 0;
    padding: 0;
    position: absolute;
    visibility: visible;
}

/** SMALL TABLETS AND PHONES **/
@media screen and (max-width: 1119px) {

    #wrapper-search-form .ui-autocomplete.ui-menu {
        left: 0px !important;
        overflow-y: scroll;
        top: 72px!important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch;
    }

    .wrapper-search-form.active {
        display: block;
        height: 73px;
        width: 100%;
        right: 0;
        position: fixed;
    }
    
    .wrapper-search-form {
        visibility: visible;
        display: none;
    }

    .wrapper-search-form input[type=text] {
        border: 0;
        font-size: 18px!important /*mobile needs to be smaller*/;
        height: 73px !important;
        left: 0;
        margin: 0;
        width: 100%;
    }

   .wrapper-search-form.active .autoCompleteItem-global>button[type=submit] {
    top: 19px;
    padding: 0 15px;
    }

   .wrapper-search-form.active .autoCompleteItem-global>button[type=reset] {
        height: 52px;
        left: calc(100% - 45px);
        top: 13px;
        width: 53px;
    }

    .wrapper-search-form {
        height: 42px;
    }

    .ui-autocomplete.ui-menu {
        width: 100% !important;
    }

   .wrapper-search-form.active .btn-group {
        display:none;
    }

    #wrapper-search-form .ui-autocomplete.ui-menu{
        background-color: #fff;
    }
}

@media (min-width: 1200px){
    #wrapper-search-form .ui-autocomplete.ui-menu{
        width: 100%!important;
    }
}
