/* reset webkit search input browser style */
input {
    outline: none;
}
input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 100%;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none; /* remove the search and cancel icon */
}

/* search input field */
input[type=search] {
    background: transparent url(../images/header-search.png) no-repeat 9px center;
    border: /*solid 1px #666;*/ none;
    padding: 0 10px 0 32px;
    width: 47px;
    
/*    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;*/
    
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;

}


input[type=search]:focus {
    width: 130px;
    background-color: #666;
    border-color: #666;
color:#fff;    
/*    -webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);

    -moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
    box-shadow: 0 0 5px rgba(109,207,246,.5);*/
position:relative;
z-index:1000001;
}


/* placeholder */
input:-moz-placeholder {
    color: #999;
}
input::-webkit-input-placeholder {
    color: #999;
}

/* demo B */
#demo-b input[type=search] {
    width: 47px;
    padding-left: 10px;
    color: transparent;
    cursor: pointer;
	float:right;
	height:25px;
}
#demo-b input[type=search]:hover {
    /*background-color: #fff;*/



}
#demo-b input[type=search]:focus {
    width: 130px;
    padding-left: 10px;
    color: #020202;
    background-color: #fff;
    cursor: auto;
}
#demo-b input:-moz-placeholder {
    color: transparent;
}
#demo-b input::-webkit-input-placeholder {
    color: transparent;
}
