/*
Theme Name: Khmer Grill
Theme URI: http://sicher.com/
Description: 
Author: Stefan Sicher
Version: 1.0
*/
/* @group Reset */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/* SCSS Variables */
/*SCSS Mixins */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* @end */
/* @group global styles */
body {
  font-family: "Montserrat", Helvetica, Arial, Geneva, sans-serif;
  font-size: 15px;
  line-height: 20px;
  color: #666;
  font-weight: 400;
  /* 400 or 700 */
  padding: 50px 0 0;
  margin: 0; }
  @media only screen and (min-width: 768px) {
    body {
      padding: 150px 0 0;
      font-size: 16px;
      line-height: 22px;
      width: 100%;
      overflow-x: hidden; } }

#wrap {
  margin: 0 auto; }
  @media only screen and (min-width: 768px) {
    #wrap {
      max-width: 640px; } }
  @media only screen and (min-width: 1024px) {
    #wrap {
      max-width: 920px; } }

#header {
  position: fixed;
  z-index: 9999;
  top: 0;
  width: 100%;
  height: 50px;
  background: #861809; }
  @media only screen and (min-width: 768px) {
    #header {
      position: inherit;
      height: 0;
      background: transparent; } }

#header h1 a {
  display: block;
  width: 50%;
  line-height: 50px;
  height: 60px;
  width: 74px;
  color: #fffa01;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  text-indent: -9999em;
  position: relative;
  top: -5px;
  left: 4%;
  background: url(../img/logo-s.png); }
  @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 3 / 2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    #header h1 a {
      background: url(../img/logo-s@2x.png);
      background-size: 74px 60px; } }
  @media only screen and (min-width: 768px) {
    #header h1 a {
      position: absolute;
      top: 0;
      left: 50%;
      color: #111111;
      height: 100px;
      width: 640px;
      margin: 0 0 0 -320px;
      background: url(../img/logo-l.jpg) no-repeat 50% 40%; } }
  @media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 768px), only screen and (min-device-pixel-ratio: 2) and (min-width: 768px), only screen and (-o-min-device-pixel-ratio: 3 / 2) and (min-width: 768px), only screen and (min--moz-device-pixel-ratio: 1.5) and (min-width: 768px), only screen and (min-device-pixel-ratio: 1.5) and (min-width: 768px) {
    #header h1 a {
      background: url(../img/logo-l@2x.jpg) no-repeat 50% 40%;
      background-size: 105px 90px; } }
  @media only screen and (min-width: 1024px) {
    #header h1 a {
      width: 204px;
      height: 165px;
      background: url(../img/logo-xl.png) no-repeat top left;
      top: 5px;
      left: auto;
      margin: 0;
      z-index: 999; } }

#header h4 {
  display: none; }

#navi {
  position: absolute;
  top: 8px;
  right: 2%;
  width: 50%;
  background: #fbfbfb;
  border-radius: 2px;
  -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3); }
  @media only screen and (min-width: 480px) {
    #navi {
      width: 40%; } }
  @media only screen and (min-width: 768px) {
    #navi {
      top: 100px;
      right: 0;
      left: 0;
      height: 50px;
      width: 100%;
      background: #861809;
      text-align: center; } }
  @media only screen and (min-width: 768px) {
    #navi ul {
      margin: 0 auto; } }
  @media only screen and (min-width: 1024px) {
    #navi ul {
      position: relative;
      left: 90px; } }
  #navi li {
    display: none;
    z-index: 999; }
    @media only screen and (min-width: 768px) {
      #navi li {
        display: inline-block; } }
    #navi li a {
      display: block;
      font-size: 14px;
      line-height: 34px;
      padding: 0 10px;
      text-decoration: none;
      color: #111111;
      z-index: 9999;
      font-weight: 400; }
      @media only screen and (min-width: 480px) {
        #navi li a {
          font-size: 15px;
          letter-spacing: 1px; } }
      @media only screen and (min-width: 768px) {
        #navi li a {
          font-size: 16px;
          letter-spacing: 1px;
          line-height: 50px;
          color: #fffa01; } }
      @media only screen and (min-width: 1024px) {
        #navi li a {
          font-size: 18px;
          padding: 0 15px; } }

#navi .current_page_item, #navi .current_page_parent {
  display: block; }
  @media only screen and (min-width: 768px) {
    #navi .current_page_item, #navi .current_page_parent {
      display: inline-block;
      background: rgba(255, 255, 255, 0.1); } }

#navi:hover li {
  display: block; }
  @media only screen and (min-width: 768px) {
    #navi:hover li {
      display: inline-block; } }
  #navi:hover li a {
    line-height: 42px; }
    @media only screen and (min-width: 768px) {
      #navi:hover li a {
        display: inline-block;
        line-height: 50px; }
        #navi:hover li a:hover {
          background: rgba(255, 255, 255, 0.2); } }

@media only screen and (min-width: 1024px) {
  #content {
    width: 640px;
    float: left;
    padding: 0 0 40px; } }

.item {
  margin: 0 3%;
  padding: 30px 0; }
  @media only screen and (min-width: 480px) {
    .item {
      margin: 0 5%; } }

.item img {
  max-width: 100%; }

.item h1 {
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  padding: 10px 0 20px;
  text-align: center;
  color: #861809; }
  @media only screen and (min-width: 480px) {
    .item h1 {
      font-size: 36px;
      line-height: 36px; } }
  @media only screen and (min-width: 768px) {
    .item h1 {
      font-size: 44px;
      line-height: 44px; } }

.item h2 {
  font-size: 24px;
  line-height: 24px;
  color: #861809;
  margin: 15px 0; }

@media only screen and (min-width: 768px) {
  .item div {
    width: 45%;
    margin: 0 4.5% 0 0;
    float: left; } }

.item #deepfried {
  clear: left; }

.item ul {
  border-top: 1px solid #cccccc; }

.item li {
  padding: 7px 0;
  border-bottom: 1px solid #cccccc; }

.item a, .item a:visited {
  color: #861809; }

p {
  font-weight: 400;
  margin: 0 0 18px; }

blockquote {
  margin: 30px 0; }
  blockquote span {
    display: block;
    text-align: right;
    font-size: 90%; }

#subnav {
  margin: 5px 3%;
  padding: 20px 0;
  border-top: 1px solid #cccccc; }
  @media only screen and (min-width: 1024px) {
    #subnav {
      width: 260px;
      float: right;
      margin: 25px 0;
      border-top: 0; } }

#subnav a {
  color: #fffa01;
  display: block;
  padding: 7px 10px 6px;
  text-decoration: none;
  background: #861809;
  border-bottom: 1px solid #e6290f; }
  #subnav a:hover {
    background: #e6290f; }

footer {
  margin: 0 3%;
  padding: 20px 0 0;
  border-top: 1px solid #cccccc;
  font-size: 12px;
  line-height: 18px;
  clear: both; }
  footer p {
    color: #aaa;
    text-align: center; }
  footer a {
    color: #aaa; }
  footer span {
    display: block;
    line-height: 3px;
    text-indent: -9999em; }
    @media only screen and (min-width: 768px) {
      footer span {
        display: inline;
        line-height: 18px;
        text-indent: 0;
        padding: 0 5px; } }

/* slideshow */
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0; }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0; }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left; }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0; }

/* @end */
#footer {
  color: #999;
  width: 930px;
  margin: 40px 0 20px;
  clear: both;
  font-size: 12px;
  border-top: 2px solid #dddddd;
  line-height: 14px;
  position: relative; }

#footer p {
  margin-top: 5px; }
