
/* -----------------------------------------
              RESET and global
   ----------------------------------------- */
/*
 * color scheme:
 * GOLD (light) from dome: #f3ddb2
 * GREEN from flag: #007a3d
 * RED from flag: #ce1126
 * Darker GOLD:  #c09d5d
 */
div, img, ul, li, a {
  padding: 0; 
  margin: 0; 
}
body { 
  padding: 0; 
  margin: 0; 
  background-color: #f3ddb2;
  /* font-family: Verdana, Helvetica, Arial, sans-serif; */
  font-family: Georgia, Times New Roman, Times, serif;
  font-size: 14px;
}

/* -----------------------------------------
                Top of page 
   ----------------------------------------- */
#container {
  width: 960px;
  margin: 0 auto;
  padding: 0 12px;
}
#header {
  position: relative;
}
img {
  padding: 0;
  margin: 0;
}

/* -----------------------------------------
           Sidebar and navigation
   ----------------------------------------- */
#sidebar {
  width: 320px;
  float: right;
  margin-bottom: 2em;
}
ul#menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul#menu li {
}
ul#menu li a {
  font-family: Oregano, Verdana, Tahoma, Helvetica, Arial, sans-serif;
  font-size: 2em;
  font-weight: bold;
  display: block;
  text-decoration: none;
  background-color: #c09d5d;
  color: #063; /* #007a3d; */
  padding: 0.5em; /* 12px; */
  border-left: 0.5em /* 12px */ solid #c09d5d;
  margin-bottom: 3px;
}
ul#menu li a:hover {
  background-color: #063; /* #007a3d; */
  border-left: 0.5em /* 12px */ solid #063; /* #007a3d; */
  color: #f3ddb2;
}
ul#menu li a.current, ul#menu li a.current:hover {
  background-color: #c09d5d;
  color: #c31126;
  margin-left: 0;
  border-left: 0.5em /* 12px */ solid #c31126;
}

/* NEW: locations in sidebar */
ul#menu li.loc p {
  padding: 0;
  margin: 0;
}
ul#menu li.loc p:nth-child(1) {
  font-family: Oregano, Verdana, Tahoma, Helvetica, Arial, sans-serif;
  font-size: 0.75em;
  font-weight: bold;
  margin-bottom: 0.5em;
}
ul#menu li.loc p:nth-child(2) {
  /* font-family: Verdana, Tahoma, Helvetica, Arial, sans-serif; */
  font-family: Georgia, Times New Roman, Times, serif;
  font-size: 0.45em;
  font-weight: normal;
}
ul#menu li.loc p:nth-child(3) {
  display: none;
}

/* -----------------------------------------
                 Content area
   ----------------------------------------- */
#content {
  width: 600px;
  color: #030;
  margin-bottom: 2em;
}
#content p {
  font-size: 1em;
  line-height: 1.6em;
  padding-bottom: 0.5em;
}
div#hours, div#locations {
  margin-top: 2em;
}
div#hours p, div#locations p {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
div#locations a {
  text-decoration: none;
  color: #030;
}
div#hours p:nth-child(1), div#locations p:nth-child(1) {
  font-weight: bold;
}
div#hours p:nth-child(2), div#locations p:nth-child(2) {
  font-size: 0.85em;
}
h1, h2 {
  font-family: "Spicy Rice";
  font-weight: normal; /* bold look bad on Firefox */
  position: absolute;
  right: 60px;
  color: #f3ddb2;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 2px #333;
}
h1 {
  font-size: 2.4em; /* 3em */
  top: 10px;  /* 0px */
}
h2 {
  font-size: 1.8em; /* 2em */
  top: 60px;
}
h3 {
  font-family: Oregano, Verdana, Tahoma, Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 2em;
  border-bottom: 1px solid;
}
#content p.hours { 
  font-size: 0.8em;
}
div#sunnyvale {
  float: left;
  width: 48%;
}
div#sanjose {
  float: left;
  width: 48%;
  margin-bottom: 24px; 
}
div#content {
  margin-bottom: 24px; 
}

/* -----------------------------------------
                 Footer area
   ----------------------------------------- */
div#footer {
  clear: both;
}

#footer #textmenu {
  background-color: #c09d5d;
  margin-top: 1em; /* this does not work and I don't know why not */
  margin-bottom: 1em;
  padding: 1px 0;  /* 0.6em does not work right */
  clear: both;
  text-align: center;
  font-size: 0.9em;
}
#footer #textmenu ul {
  list-style: none;
  margin: 0.5em 0;
}
#footer #textmenu ul li {
  display: inline;
}
#footer #textmenu ul li a {
  padding: 0.5em 0.8em;  /* 1.5em does not work right */
  text-decoration: none;
  color: #030;
}
#footer #textmenu ul li a:hover {
  background-color: #063; /* #007a3d; */
  color: #f3ddb2;
}
#footer .validate {
  font-size: 0.5em;
  text-align: right;
}
#footer .validate a {
  text-decoration: none;
  color: #030;
  padding-right: 1em;
}

/* -----------------------------------------
          styles for the food pages 
   ----------------------------------------- */

table#foods tr td {
  padding-bottom: 2em;
}
table#foods tr td:nth-child(1) {
  width: 200px;
}
table#foods tr td:nth-child(2) {
  padding-left: 24px;
}
table#foods tr td:nth-child(2) span:nth-child(1) {
  font-family: Oregano, Verdana, Tahoma, Helvetica, Arial, sans-serif;
  font-size: 2em;
  display: block;
}
table#foods tr td:nth-child(2) span:nth-child(2) {
  font-style: italic;
  display: block;
  margin: 0.5em 0 0.5em 24px;
  /* font-size: 0.9em; */
}
table#foods tr td:nth-child(2) span:nth-child(3) {
  font-size: 0.8em;
  margin-left: 24px;
}
/*
table#foods tr td div.pic {
  position: relative;
}

table#foods tr td div.pic img {
  z-index: 10; 
  position: relative;
}

table#foods tr td div.pic img.shadow {
  z-index: 1; 
  position: absolute;
  top: 8px;
  left: 6px;
}
*/

/* -----------------------------------------
                 drinks menu 
   ----------------------------------------- */
table#drinks {
  width: 100%;
}
table#drinks tr:nth-child(n+2) td {
  padding-top: 1em;
}
table#drinks tr td:nth-child(1),
table#drinks tr td:nth-child(3) {
  width: 20%;
}
table#drinks tr td:nth-child(2) {
  width: 60%;
  border-bottom: 1px dotted;
}


/* -----------------------------------------
                 media queries
   ----------------------------------------- */
@media screen and (max-width:960px) {
  div#container { width: 640px; }
  div#header img:nth-child(1) { display: none; } 
  div#header img:nth-child(2) { width: 640px; } 
  div#footer { font-size: 0.8em; }

  div#content { width: 420px; }
  div#sidebar { width: 210px; }
  iframe { width: 400px; height: 300px; }

  ul#menu li a {
    padding: 0.3em; 
    font-weight: normal;
    font-size: 1.5em;
  }
  ul#menu li.loc p:nth-child(1) {
    font-family: Oregano, Verdana, Tahoma, Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 0.2em;
  }
  ul#menu li.loc p:nth-child(2) {
    font-family: Georgia, Times New Roman, Times, serif;
    font-size: 0.5em; 
    font-weight: normal;
  }
  table#foods tr td:nth-child(1), 
    table#foods tr td:nth-child(1) img {
    width: 150px;
  }
  table#foods tr td:nth-child(2) {
    padding-left: 18px;
  }
  table#drinks tr td:nth-child(1) {
    width: 25%;
  }
  table#drinks tr td:nth-child(2) {
    width: 55%;
    border-bottom: 1px dotted;
  }
  table#drinks tr td:nth-child(3) {
    width: 20%;
  }
}

@media screen and (max-width:640px) {
  div#container { width: 480px; } /* WAS width: 640px; */
  div#header { width: 480px; }
  div#footer { width: 480px; }
  div#content { width: 300px; }
  div#sidebar { width: 150px; }
  div#header img:nth-child(1) { display: none; }
  div#header img:nth-child(2) { width: 480px; }
  div#footer { font-size: 0.8em; }
  iframe { width: 300px; height: 200px; }
  h1 { 
    top: 6px;
    right: 45px;
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.3em;
    right: 45px;
    top: 45px;
  }
  ul#menu li.loc p:nth-child(2),
    ul#menu li.loc p:nth-child(1) {
    display: none;
  }
  ul#menu li.loc p:nth-child(3) {
    display: inline;
  }
  #textmenu ul li a {
    /*
     * this should split the bottom navigation into
     * two rows of 5 elements each
     */
    width: 16%;
    float: left;
    margin: 1px 1px;
    padding: 1em 0;
  }
  #footer, #footer #textmenu, #footer #textmenu ul  {
    background-color: #f3ddb2;
  }
  #footer #textmenu ul li a {
    background-color: #c09d5d;
  }
  table#foods tr td:nth-child(1), 
    table#foods tr td:nth-child(1) img {
    width: 100px;
  }
  table#foods tr td:nth-child(2) {
    padding-left: 12px;
  }
  table#drinks tr td:nth-child(1) {
    width: 40%;
  }
  table#drinks tr td:nth-child(2) {
    width: 45%;
    border-bottom: 1px dotted;
  }
  table#drinks tr td:nth-child(3) {
    width: 15%;
  }
}

@media screen and (max-width:480px) {
  div#container { width: 320px; }
  div#header { width: 320px; }
  div#footer { width: 320px; }
  div#content { width: 320px; }
  div#sidebar { display: none; }
  div#header img:nth-child(2) { width: 320px; }
  h1 { 
    top: 0px;
    right: 30px;
    font-size: 1.4em;
  }
  h2 {
    font-size: 1.1em;
    right: 30px;
    top: 30px;
  }
  div#footer { font-size: 1.0em; }
  #textmenu ul li a {
    /*
     * this should split the bottom navigation into
     * five rows of 2 elements each
     */
    width: 43%;
    float: left;
    margin: 1px 1px;
    padding: 1em 0;
  }
}

