@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700italic);
* {
  outline: none; }

#site-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden; }

#site-canvas {
  width: 100%;
/*  min-height: 1080px;*/
  position: relative;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -moz-transform: translate3d(0);
  -ms-transform: translate3d(0);
  -webkit-transform: translate3d(0);
  transform: translate3d(0);
  -moz-transition: ease 0.3s all;
  -o-transition: ease 0.3s all;
  -webkit-transition: ease 0.3s all;
  transition: ease 0.3s all;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

#site-menu ul {
  padding: 0;
  list-style: none; }
#site-menu li {
  display: inline-block; }
  #site-menu li a {
    display: block;
    font-size: 15px;
    color: #666;
    text-decoration: none; }
    #site-menu li a:hover {
      color: gray;
      -moz-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      -webkit-transition: all 0.3s ease;
      transition: all 0.3s ease; }

.show-nav #site-canvas {
  -moz-transform: translateX(280px);
  -ms-transform: translateX(280px);
  -webkit-transform: translateX(280px);
  transform: translateX(280px);
  -moz-transform: translate3d(280px, 0, 0);
  -ms-transform: translate3d(280px, 0, 0);
  -webkit-transform: translate3d(280px, 0, 0);
  transform: translate3d(280px, 0, 0); }

.nav-logo a, .nav-logo_small a {
  font-family: 'Droid Serif', serif;
  font-style: italic;
  font-weight: 700;
  text-decoration: none; }



#navigation .navi-bar {
  position: absolute;
  top: 60px;
  z-index: 999; }

/* 992px+ */
@media screen and (min-width: 992px) {
  .navi-bar {
    border-bottom: 1px solid #ccc; }

  .nav-top {
    width: 100%;
    height: 35px;
    background-color: #9a3e3e; }
    .nav-top a {
      font-size: 13px;
      color: #fff;
      text-decoration: none; }
    .nav-top i {
      position: relative;
      top: 2px;
      color: #fff;
      font-size: 18px; }
    .nav-top .nav-function {
      width: 100%;
      line-height: 35px; }
      .nav-top .nav-function select {
        margin-left: 5px;
        border: 0;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px; }
      .nav-top .nav-function input {
        display: none;
        height: 25px;
        margin: 5px;
        text-indent: 10px;
        border: 1px solid #ccc; }
      .nav-top .nav-function li {
        margin-right: 20px; }
        .nav-top .nav-function li:last-child {
          margin-right: 0; }

  .nav-logo {
/*
    max-width: 300px;
    max-height: 60px;
*/
    margin: 20px auto;
    text-align: center; }
    .nav-logo a {
      color: #9a3e3e;
      font-size: 32px; }

  #navigation {
    padding-bottom: 10px; }
    #navigation #site-menu {
      margin-top: 5px; }
      #navigation #site-menu .nav-bot {
        width: 100%;
        padding-top: 15px; }
        #navigation #site-menu .nav-bot li {
          display: table-cell;
          width: 1%;
          position: relative;
          text-align: center; }
          #navigation #site-menu .nav-bot li:after {
            content: "";
            position: absolute;
            left: 100%;
            top: 5px;
            width: 1px;
            height: 12px;
            background: #666; }
          #navigation #site-menu .nav-bot li:last-child:after {
            width: 0px; }
          #navigation #site-menu .nav-bot li:hover {
            background: #9a3e3e; }
            #navigation #site-menu .nav-bot li:hover a {
              color: #fff; }
            #navigation #site-menu .nav-bot li:hover:after {
              content: none; }
        #navigation #site-menu .nav-bot li.active {
          background: #9a3e3e; }
          #navigation #site-menu .nav-bot li.active a {
            color: #fff; }
          #navigation #site-menu .nav-bot li.active:after {
            content: none; } }
/* 991px- */
@media screen and (min-width: 320px) and (max-width: 991px) {
  #site-wrapper {
    padding: 0; }

  .overlay {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    right: 0;
    background: #000;
    opacity: .6;
    z-index: 100; }

  /* off canvas */
  .navi-bar {
    width: 100%;
    display: block;
    padding: 10px;
    clear: left;
    background: #a84141; }

  .nav-logo {
    width: 100%;
    position: absolute;
    left: 0;
    text-align: center; }
    .nav-logo a {
      color: #fff;
      font-size: 22px; }

  .navi {
    float: left; }
    .navi span {
      width: 30px;
      height: 5px;
      margin-bottom: 5px;
      position: relative;
      display: block;
      background: #fff;
      -moz-transition: 0.2s;
      -o-transition: 0.2s;
      -webkit-transition: 0.2s;
      transition: 0.2s; }

  #site-menu {
    width: 280px;
    height: 100%;
    position: fixed;
    top: 0;
    left: -280px;
    z-index: 101;
    background: #fff;
    -moz-box-shadow: inset -3px 0px 8px 0px rgba(50, 50, 50, 0.75);
    -webkit-box-shadow: inset -3px 0px 8px 0px rgba(50, 50, 50, 0.75);
    box-shadow: inset -3px 0px 8px 0px rgba(50, 50, 50, 0.75); }
    #site-menu li {
      display: block;
      margin: 20px 0; }
      #site-menu li a {
        text-align: center; }
    #site-menu .menu-close {
      position: relative;
      top: 10px;
      left: 20px;
      color: #666;
      font-family: 'Raleway', sans-serif;
      font-size: 2em;
      text-decoration: none; }
    #site-menu .nav-function {
      width: 100%;
      margin-top: 20px;
      text-align: center;
      border-bottom: 1px solid #ccc; }
      #site-menu .nav-function .search-field {
        width: 190px;
        margin: 0 auto;
        float: none !important; }
        #site-menu .nav-function .search-field input {
          margin-right: 5px; }
      #site-menu .nav-function ul {
        float: none !important;
        display: inline-block; }
      #site-menu .nav-function li {
        display: inline-block;
        height: 20px;
        margin: 0;
        line-height: 20px; }
        #site-menu .nav-function li:hover {
          background: none !important; }
          #site-menu .nav-function li:hover a {
            color: #666 !important; }
    #site-menu .nav-bot li {
      height: 50px;
      line-height: 50px; }
      #site-menu .nav-bot li:hover {
        background: #9a3e3e; }
        #site-menu .nav-bot li:hover a {
          color: #fff; } 
