.searchbox {
    position: absolute;
    right: 0;
    min-width: 72px;
    width: 0%;
    height: 48px;
    border: solid 2px #CCCCCC;
    border-radius: 8px;
    box-shadow: 0px 4px 6px #00000077;
    overflow: hidden;

    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -ms-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}

.searchbox-input {
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    border-radius: 6px;
    outline: 0;
    background: #FFFFFF;
    width: 100%;
    height: 48px;
    margin: 0;
    box-sizing: border-box;
    font-family: arial, helvetica, sans-serif;
    font-size: 16px;
    color: #474747;
    -webkit-appearance: none;
}

.searchbox-track {
    position: absolute;
    right: 112px;
    line-height: 48px;
    font-family: arial, helvetica, sans-serif;
    font-size: 16px;
    color: #AAAAAA;
    padding: 0 16px;
}

.searchbox-track::after {
    content: '';
    height: 33px;
    width: 2px;
    position: absolute;
    right: 0;
    top: 7.5px;
    background-color: #CCCCCC;
}

.searchbox-close,
.searchbox-up,
.searchbox-down {
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    top: 12px;
    right: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 8px;
    outline: 0;
    cursor: pointer;
    background-color: #FFFFFF;
    -webkit-appearance: none;
}

@media (hover: hover) {
    .searchbox-close:hover,
    .searchbox-up:hover,
    .searchbox-down:hover {
        background-color: #EEEEEE;
    }
}

.searchbox-close:active,
.searchbox-up:active,
.searchbox-down:active {
    background-color: #DDDDDD;
}

.searchbox-up {
    right: 76px;
}

.searchbox-down {
    right: 44px;
}

.searchbox-close {
    right: 12px;
}

.searchbox-icon {
    left: 0;
    width: 72px;
    height: 48px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 6px;
    outline: 0;
    cursor: pointer;
    background: #FFFFFF;
    -webkit-appearance: none;
}

.searchbox-open {
    width: 100%;
}

.searchbox-open input.searchbox-input {
    padding: 0px 190px 0px 77px;

    -webkit-transition: padding 0s 0.3s;
    -moz-transition: padding 0s 0.3s;
    -ms-transition: padding 0s 0.3s;
    -o-transition: padding 0s 0.3s;
    transition: padding 0s 0.3s;
}

.searchbox-open span.searchbox-icon svg {
    filter: unset !important;
}
