@charset "utf-8";

#searchfield {
    color:#fff;
    display:block;
    position:absolute;
    right:-4px;
    top:35px;
    z-index: 30;
    background:transparent;
    width:0;
    height:0;
    padding-top:0;
    -webkit-box-shadow: 4px 4px 10px -5px #808080;
    -moz-box-shadow: 4px 4px 10px -5px #808080;
    box-shadow: 4px 4px 10px -5px #808080;
    -webkit-transition: height 300ms ease-in-out;
    -moz-transition: height 300ms ease-in-out;
    -ms-transition: height 300ms ease-in-out;
    -o-transition: height 300ms ease-in-out;
    transition: height 300ms ease-in-out;
    background: #FAFBFB;
}

.sticky #searchfield {
    right:-4px;
    background:#FAFBFB;
}
#searchfield.on,
#searchfield.show {
    height: 46px;
    padding-top: 9px;
    width: 302px;
}

#searchfield.off,
#searchfield.hide {
    height: 0;
    -webkit-transition: height 300ms ease-in-out;
    -moz-transition: height 300ms ease-in-out;
    -ms-transition: height 300ms ease-in-out;
    -o-transition: height 300ms ease-in-out;
    transition: height 300ms ease-in-out;
}


#searchbox-top {
    background:#fff;
    color:#000;
    font-size:0.75em;
    font-family:DINWeb-Medium, Arial, Helvetica, sans-serif;
    border:1px solid #000;
    float:left;
    height: 20px;
    padding: 0.25em;
    margin-left: 15px;
    width: 232px;
}

#searchfield .searchbutton{
    margin:1px 10px 0 0;
    border: none;
    background:transparent;
    padding: 1px 5px;
}

#searchfield form{
    margin-top:  5px;
}
*+html #searchfield form{
    margin-top:  14px;
}

/*No JS*/

.no-js #search-wrapper button {
    display:none;
}

.no-js #searchfield {
    background: none;
    border-radius: 0 0 0 0;
    color: #FFF;
    display: block;
    height: auto;
    padding-left: 0;
    padding-top: 0;
    position: relative;
    right: auto;
    top: auto;
    width: 128px;
    z-index: 30;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none;
}
.no-js #searchfield form {
    margin-top:0;
}

.no-js #searchfield .searchbutton {
    float: left;
    margin: 1px 0 0 4px;
    padding: 1px 0;
}

.no-js #search-wrapper {
    top:-3px;
}

.no-js #searchbox-top {
    width: 74px;
}
