/**
* / CSS by Bartlomiej Tadych
*   b4rtaz@gmail.com /
*
* 00. Globals
* 01. Header
*
*/
/* 01. Globals
   ------------------------------------------------------- */
ul.gMenu {
  position: absolute;
  display: none;
  padding: 10px 0;
  background: #FFF;
  border: 1px solid #DBDBDB;
  border-top: 0;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
ul.gMenu li.mi a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  white-space: pre;
  color: #666666;
}
ul.gMenu li.mi a:hover,
ul.gMenu li.mi.current a {
  background: #F5F5F5;
  color: #EE7F01;
}
/* 02. Header
   ------------------------------------------------------- */
@media (min-width: 960px) {
  body {
    padding-top: 84px !important;
  }
}
#header {
  z-index: 9999;
  background: #FFF;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}
#header h2 a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-indent: -9999px;
}
#header .search h4 {
  display: none;
}
#header .search p {
  float: left;
}
#header .search input[type=text] {
  float: left;
  background: #F6F6F6;
  height: 23px;
  padding: 5px 10px;
  font-family: 'Roboto Condensed', Roboto, Arial, Verdana, Tahoma;
  color: #666666;
}
#header .search input[type=submit] {
  float: left;
  width: 35px;
  height: 33px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
  background: #4285F4 url('../i/header-sprites-0.png') no-repeat 9px -151px;
  transition: background-color 0.3s ease;
}
#header .search input[type=submit]:hover {
  background-color: #2C6FE5;
}
#header .loginPanel a.login {
  display: inline-block;
  color: #FFF;
  height: 24px;
  padding: 0 10px;
  line-height: 2em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background-color 0.53s ease;
  background: #EE7F01;
}
#header .loginPanel a.login:hover {
  background: #C46700;
}
#header .userInfo > a {
  text-decoration: none;
}
#header .userInfo > a span.user {
  display: inline-block;
  vertical-align: top;
  text-align: right;
  padding: 0 5px 0 0;
  color: #4285F4;
  transition: color 0.53s ease;
}
#header .userInfo > a img {
  vertical-align: top;
}
@media (min-width: 960px) {
  #header {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 84px;
  }
  #header.fixed {
    position: fixed;
    height: 70px;
  }
  #header h2 {
    position: absolute;
    left: 50%;
    margin-left: -480px;
    top: 0;
    width: 84px;
    height: 84px;
    background: url('../i/header-sprites-0.png') no-repeat 0 0;
  }
  #header.fixed h2 {
    width: 56px;
    height: 56px;
    background-position: 0 -84px;
  }
  #header span.openNav {
    display: none;
  }
  #header ul.sections {
    position: absolute;
    z-index: 9;
    left: 50%;
    bottom: 9px;
    padding: 0 0 0 5px;
  }
  #header ul.sections li.s {
    position: relative;
    float: left;
    border-right: 1px solid #DADBDC;
  }
  #header ul.sections li.s:last-child {
    border: 0;
  }
  #header ul.sections li.s > a {
    float: left;
    padding: 2px 12px;
    color: #666666;
    font-family: 'Roboto Condensed', Roboto, Arial, Verdana, Tahoma;
    text-decoration: none;
    text-transform: lowercase;
  }
  #header ul.sections li.s.home > a {
    width: 20px;
    background: url('../i/header-sprites-0.png') no-repeat -30px -155px;
    text-indent: -99999px;
  }
  #header ul.sections li.s.home > a:hover {
    background-position: -30px -193px;
  }
  #header ul.sections li.s > a:hover,
  #header ul.sections li.s.current > a {
    color: #EE7F01;
  }
  #header ul.sections li.s.menu > a {
    padding-right: 25px;
    background: url('../i/header-sprites-0.png') no-repeat right -295px;
  }
  #header ul.sections li.s.menu ul.gMenu {
    left: 0;
    top: 21px;
  }
  #header ul.sections li.s.menu:hover ul.gMenu {
    display: block;
  }
  #header.default ul.sections {
    margin-left: -396px;
  }
  #header.default ul.sections li.s > a {
    font-size: 17px;
    line-height: 1em;
  }
  #header.default ul.sections li.s.home {
    display: none;
  }
  #header.fixed ul.sections {
    margin-left: -424px;
  }
  #header.fixed ul.sections li.s > a {
    font-size: 15px;
    line-height: 1em;
  }
  #header.fixed ul.sections li.s.menu ul.gMenu {
    top: 19px;
  }
  #header ul.categories {
    position: absolute;
    z-index: 10;
    left: 50%;
    margin-left: -396px;
  }
  #header ul.categories li.cat {
    position: relative;
    float: left;
    margin-right: 4px;
  }
  #header ul.categories li.cat > a {
    float: left;
    display: block;
    color: #FFF;
    height: 24px;
    padding: 0 10px;
    line-height: 2em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background-color 0.53s ease;
    background: #B2B2B2;
  }
  #header ul.categories li.cat:hover > a {
    background-color: #EE7F01;
  }
  #header ul.categories li.cat ul.gMenu {
    left: 0;
    top: 24px;
  }
  #header ul.categories li.cat:hover ul.gMenu {
    display: block;
  }
  #header ul.categories li.cat.current > a {
    background: #4285F4;
    border-radius: 0;
  }
  #header ul.categories li.cat.current:hover > a {
    background-color: #2C6FE5;
  }
  #header.default ul.categories {
    top: 11px;
    padding-left: 50px;
  }
  #header.default ul.categories li.cat.current > a {
    margin-top: -11px;
    height: 44px;
    font-family: 'Roboto Condensed', Roboto, Arial, Verdana, Tahoma;
    font-size: 16px;
    line-height: 2.8em;
  }
  #header.default ul.categories li.cat.current ul.gMenu {
    top: 33px;
  }
  #header.fixed ul.categories {
    top: 6px;
    padding-left: 22px;
  }
  #header.fixed ul.categories li.cat.current > a {
    margin-top: -6px;
    height: 31px;
    line-height: 2.8em;
  }
  #header.fixed ul.categories li.cat.current ul.gMenu {
    top: 25px;
  }
  #header .search {
    position: absolute;
    z-index: 9;
    right: 50%;
    margin-right: -480px;
    bottom: 2px;
  }
  #header.default .search input[type=text] {
    width: 170px;
    font-size: 17px;
    line-height: 1em;
  }
  #header.fixed .search {
    padding-right: 45px;
  }
  #header.fixed .search input[type=text] {
    width: 150px;
    font-size: 15px;
    line-height: 1em;
  }
  #header .loginPanel {
    position: absolute;
    z-index: 10;
    right: 50%;
    margin-right: -480px;
  }
  #header .loginPanel .panel {
    position: absolute;
    z-index: 10;
    display: none;
    padding: 15px 16px 20px;
    right: 0;
    top: 26px;
    width: 230px;
    color: #FFF;
    background: #EE7F01;
    border-radius: 3px;
  }
  #header .loginPanel .panel a {
    color: #FFF;
  }
  #header .loginPanel .panel h6 {
    padding: 0 0 16px;
    font-size: 20px;
    line-height: 1em;
  }
  #header .loginPanel .panel p.input {
    clear: both;
    padding-bottom: 16px;
  }
  #header .loginPanel .panel p.input label {
    float: left;
    width: 45px;
    padding: 5px 5px 0 0;
  }
  #header .loginPanel .panel p.input input[type=text],
  #header .panel p.input input[type=password] {
    width: 165px;
    padding: 5px 7px;
    background: #FFF;
    border-radius: 2px;
  }
  #header .loginPanel .panel ul.links {
    float: left;
  }
  #header .loginPanel .panel ul.links li {
    display: block;
    padding-bottom: 10px;
    line-height: 1.5em;
  }
  #header .loginPanel .panel ul.links li a {
    display: block;
  }
  #header .loginPanel .panel p.submit {
    float: right;
    margin-left: 10px;
  }
  #header .loginPanel .panel p.submit input[type=submit] {
    padding: 0 15px;
    line-height: 1.85em;
    color: #FFF;
    background: #373F44;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
  }
  #header .loginPanel .panel p.submit input[type=submit]:hover {
    background-color: #434B4D;
  }
  #header .loginPanel .panel p.remember {
    clear: both;
    text-align: right;
  }
  #header .loginPanel .panel p.remember label {
    cursor: pointer;
  }
  #header .loginPanel .panel p.remember input[type=checkbox] {
    margin-left: 5px;
    vertical-align: middle;
    cursor: pointer;
  }
  #header.default .loginPanel {
    top: 11px;
  }
  #header.fixed .loginPanel {
    top: 6px;
  }
  #header .userInfo {
    position: absolute;
    z-index: 10;
    right: 50%;
    margin-right: -480px;
    top: 1px;
  }
  #header .userInfo ul.gMenu {
    right: 0;
  }
  #header .userInfo:hover span.user {
    color: #666666;
  }
  #header .userInfo:hover ul.gMenu {
    display: block;
  }
  #header.default .userInfo > a span.user {
    padding-top: 6px;
  }
  #header.default .userInfo > a span.user span.word {
    display: block;
  }
  #header.default .userInfo > a img {
    width: 43px;
    height: 43px;
  }
  #header.default .userInfo ul.gMenu {
    top: 43px;
  }
  #header.fixed .userInfo > a span.user {
    padding-top: 10px;
  }
  #header.fixed .userInfo > a img {
    width: 32px;
    height: 32px;
  }
  #header.fixed .userInfo ul.gMenu {
    top: 32px;
  }
}
@media (max-width: 959px) {
  #header {
    position: relative;
    height: 70px;
  }
  #header h2 {
    float: left;
    margin: 2px 0 0 1px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    text-indent: -9999px;
    background: url('../i/header-sprites-0.png') no-repeat 0 -84px;
  }
  #header span.openNav {
    float: left;
    margin: 14px 0 0 15px;
    padding: 10px 10px 10px 38px;
    font-family: 'Roboto Condensed', Roboto, Arial, Verdana, Tahoma;
    font-size: 18px;
    line-height: 1em;
    font-weight: bold;
    background: #B2B2B2 url('../i/header-sprites-0.png') no-repeat 13px -221px;
    color: #545454;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.53s ease;
  }
  #header span.openNav:hover {
    background-color: #BFBFBF;
  }
  #header nav {
    position: absolute;
    top: 58px;
    left: 0;
    display: none;
    width: 100%;
    max-width: 500px;
  }
  #header nav.visible {
    display: table;
  }
  #header nav ul.sections {
    display: table-cell;
    width: 50%;
    padding: 15px 0;
    background: #F5F5F5;
  }
  #header nav ul.sections li.s {
    padding: 2px 0 2px 20px;
  }
  #header nav ul.sections li.s a {
    font-family: 'Roboto Condensed', Roboto, Arial, Verdana, Tahoma;
    font-size: 17px;
    line-height: 1em;
    text-transform: lowercase;
    color: #666666;
  }
  #header nav ul.sections li.s.home {
    display: none;
  }
  #header nav ul.categories {
    display: table-cell;
    width: 50%;
    padding: 15px 0;
    background: #FFF;
  }
  #header nav ul.categories ul.gMenu {
    display: none;
  }
  #header nav ul.categories li.cat {
    padding: 2px 0 2px 20px;
  }
  #header nav ul.categories li.cat > a {
    display: inline-block;
    color: #FFF;
    height: 24px;
    padding: 0 10px;
    line-height: 2em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background-color 0.53s ease;
    background: #B2B2B2;
  }
  #header nav ul.categories li.cat > a:hover {
    background-color: #BFBFBF;
  }
  #header .search {
    clear: right;
    float: right;
    margin: 0 8px 0 0;
  }
  #header .search input[type=text] {
    width: 90px;
    font-size: 16px;
    line-height: 1em;
  }
  #header .loginPanel {
    float: right;
    margin: 6px 8px 3px 0;
  }
  #header .loginPanel .panel {
    display: none;
  }
  #header .userInfo {
    float: right;
    margin: 0 8px 3px 0;
  }
  #header .userInfo > a span.user {
    padding-top: 8px;
  }
  #header .userInfo > a img {
    width: 30px;
    height: 30px;
  }
  #header .userInfo ul.gMenu {
    display: none;
  }
}
@media (max-width: 959px) and (max-width: 350px) {
  #header span.openNav {
    text-indent: -9999px;
    padding-right: 5px;
    overflow: hidden;
  }
}
@media (min-width: 960px) {
  #inTop {
    position: relative;
    z-index: 9998;
    width: 920px;
    background: #FFF;
    padding: 16px 20px 10px;
    margin: 0 auto;
  }
  #inTop h4 {
    display: inline-block;
    font-weight: bold;
    color: #EE7F01;
    text-transform: uppercase;
    padding: 0 8px 0 0;
  }
  #inTop h4 > a {
    color: #EE7F01;
  }
  #inTop ul.links {
    display: inline-block;
  }
  #inTop ul.links li.link {
    display: inline-block;
    padding: 0 8px;
    border-left: 1px solid #DADBDC;
  }
  #inTop ul.links li.link > a {
    display: inline-block;
    color: #666666;
  }
  #inTop ul.links li.link.more {
    position: relative;
    padding-right: 0;
  }
  #inTop ul.links li.link.more span.more {
    padding: 2px 20px 2px 6px;
    color: #FFF;
    border-radius: 3px;
    font-size: 11px;
    line-height: 1em;
    text-transform: lowercase;
    cursor: pointer;
    background: #666666 url('../i/header-sprites-0.png') no-repeat right -266px;
  }
  #inTop ul.links li.link.more ul.gMenu {
    right: 0;
    top: 16px;
  }
  #inTop ul.links li.link.more:hover ul.gMenu {
    display: block;
  }
}
@media (max-width: 959px) {
  #inTop {
    display: none;
  }
}
