#search {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 400ms ease-out;
    -moz-transition: all 400ms ease-out;
    -ms-transition: all 400ms ease-out;
    -o-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
}


#search.active {
    z-index: 999;
    opacity: 1;
    visibility: visible;
}

#search .search-header {
    height: 90px;
    background: #fff;
    display: flex;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 200ms ease-out;
    -moz-transition: -moz-transform 200ms ease-out;
    -ms-transition: -ms-transform 200ms ease-out;
    -o-transition: -o-transform 200ms ease-out;
    transition: transform 200ms ease-out;
}

#search.active .search-header {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: 200ms;
    -moz-transition-delay: 200ms;
    -ms-transition-delay: 200ms;
    -o-transition-delay: 200ms;
    transition-delay: 200ms;
}

#search .search-header form {
    flex: 1;
}

#search .search-header form input {
    height: 90px;
    padding: 20px 35px;
    padding-right: 0 !important;
    outline: none;
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
}
#search .search-header .btn-close {
    width: 90px;
    height: 90px;
    background: url(../img/icons/icon-x.svg) 50% 50% no-repeat;
    display: block;
    text-indent: -999em;
    overflow: hidden;
}

@media screen and (max-width: 989px) {
    #search .search-header {
        height: 60px;
    }
    #search .search-header form input {
        height: 60px;
        padding: 18px 25px;
        font-size: 18px;
    }
    #search .search-header .btn-close {
        width: 60px;
        height: 60px;
    }
}