/* code from https://tympanus.net/codrops/2013/06/26/expanding-search-bar-deconstructed/ */


/* Search icon by IcoMoon, made with http://icomoon.io/app/ */

@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon/icomoon.eot');
    src: url('fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'), url('fonts/icomoon/icomoon.woff') format('woff'), url('fonts/icomoon/icomoon.ttf') format('truetype'), url('fonts/icomoon/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.sb-search {
    position: relative;
    width: 0%;
    min-width: 40px;
    height: 65px;
    float: right;
    overflow: hidden;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
    -webkit-backface-visibility: hidden;
    margin-top:12px;
    margin-right:20px;
    /* margin-right: 100px; */
    /* border: 2px solid limegreen; */
}

.sb-search-input {
    /* position: absolute; */
    right: 20px;
    border: none;
    outline: none;
    background: rgba(28, 28, 28, 0);
    width: 90%;
    height: 40px;
    margin: 0;
    z-index: 20;
    /* padding: 20px 65px 20px 20px; */
    padding-top:0px;
    padding-bottom:0px;
    padding-left:10px;
    padding-right:33px;
    font-family: inherit;
    font-size: 10px;
    color: white;
    max-with:120px;
   
    /* margin-top:-20px; */
    /* border: 2px solid green; */
}

.sb-search-input::-webkit-input-placeholder {
    color: white;
}

.sb-search-input:-moz-placeholder {
    color: white;
}

.sb-search-input::-moz-placeholder {
    color: white;
}

.sb-search-input:-ms-input-placeholder {
    color: white;
}

.sb-icon-search,
.sb-search-submit {
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    margin: 0;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    max-with:150px;

    /* border: 2px solid blue; */
}

.sb-search-submit {
    background: blue;
    /* IE needs this */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    /* IE 8 */
    filter: alpha(opacity=0);
    /* IE 5-7 */
    opacity: 0;
    color: transparent;
    border: none;
    outline: none;
    z-index: -1;
    
}

.sb-icon-search {
    color: white;
    background: rgba(28, 28, 28, 0);
    z-index: 90;
    font-size: 18px;
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    max-with:150px;
    
    /* border: 2px solid aqua; */
}

.sb-icon-search:before {
    content: "\e000";
}


/* Open state */

.sb-search.sb-search-open,
.no-js .sb-search {
    width:140px;
    border:1px solid white;
    border-radius: 6px;
    padding:0px;
    height:40px;
    
    
    
    /* border: 2px solid red; */
    /*  for debuugging ..... draws the accurate outline of the overlap problem ...border: 2px solid white; */
}

.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
    background: rgba(28, 28, 28, 0);
    color: #fff;
    z-index: 10000;
    
 
    /* border: 2px solid yellow; */
}

.sb-search.sb-search-open .sb-search-submit,
.no-js .sb-search .sb-search-submit {
    z-index: 1000;
}

.wrapper-1 {
    /* border: 3px solid pink; */
    width:150px;
    width: 200px;
    float: right;
    margin-top: 4px;
}