﻿/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Nav bar, search, and nav
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
#navigation-bar {
    position: relative;
    height: 42px;
    padding-left: 0px;
}
#search {
    position: relative;
    width:42px;
    float:right;
    height:42px;
    top: 30px;
}
#label {
    width: 42px;
    height: 42px;
    position: relative;
    z-index: 20;
    margin-bottom: 0px;
}
#label label {
    display: block;
    width: 42px;
    height: 42px;
    background: url("../img/search.png") 0 0;
    font-size: 0;
    color: rgba(0, 0, 0, 0);
    text-indent: -9999px;
    cursor: pointer;
}
#label label:hover {
    background: url("../img/search.png") -42px 0
}
#label.active label {
    background: url("../img/search.png") -42px 0
}
#input {
    position: absolute;
    top: 0;
    right: 42px;
    width: 400px;
    height: 42px;
    z-index: 5;
    overflow: hidden;
}
#input input {
    display: block;
    position: absolute;
    top: 0;
    right: 400px;
    width: 400px;
    height: 100%;
    margin: 0;
    padding: 0 10px;
    border: none;
    background-color: #414141;
    color: #fff;
    font-size: 18px;
    -webkit-backface-visibility: none;
    -moz-backface-visibility: none;
    -ms-backface-visibility: none;
    backface-visibility: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-transition: 0 right;
    -moz-transition: 0 right;
    -ms-transition:0 right;
    -o-transition: 0 right;
    transition: 0 right;
}
#input input:focus {
    outline: none
}
#input.focus {
    z-index: 20
}
#input.focus input {
    right : 0;
    -webkit-transition: 0.3s right ;
    -moz-transition: 0.3s right;
    -ms-transition: 0.3s right;
    -o-transition:0.3s right;
    transition: 0.3s right;
}
