/*

  Small screen CSS

*/

@media screen and (max-width: 640px) {

p {
  margin-bottom: 10px;
  line-height: 1.5;
}

h2, h3 {
  margin: 15px 0;
}

h2 {
  font-size: 1.2rem;
}

div#wrapper {
  margin: auto;
  width: auto;
}

/* Header */

header#mobile-masthead {
  display: block;
}

header#masthead,
header#mobile-masthead {
  background: #000;
  color: #FFF;
  position: relative;
  text-align: left;
  padding: 0;
  margin: 0;
}

header#masthead h1#logo,
header#mobile-masthead h1 {
  font-size: 1rem;
  padding: 10px;
  margin: 0;
  text-align: left;
}

header#masthead span.screen-reader,
header#mobile-masthead span.screen-reader {
  position: relative;
  text-indent: 0;
  left: auto;
}

header#masthead h1#logo a,
header#masthead span.screen-reader a,
header#mobile-masthead h1 a,
header#mobile-masthead span.screen-reader a {
  padding: 0;
  line-height: 1;
}

header#masthead p#tagline,
header#masthead a#logo-wrapper {
  display: none;
}

nav#mobile a#toggle {
  padding: 11px;
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 14px;
  height: 14px;
}

nav#mobile a#toggle span {
  display: block;
  width: 14px;
  height: 2px;
  background-color: #FFF;
  margin-bottom: 3px;
  border-radius: 2px;
}

nav#mobile a#toggle span:last-child {
  margin-bottom: 0;
}

header#masthead a,
header#mobile-masthead a {
  color: #FFF;
  display: block;
  padding: 10px;
  text-decoration: none;
}

nav#mobile ul {
  display: none;
  border-top: 1px solid rgba(256, 256, 256, 0.5);
}

nav#mobile li {
  border-bottom: 1px solid rgba(256, 256, 256, 0.25);
}

nav#mobile li span.menu-link {
  padding-left: 10px;
}

nav#mobile {
  display: block;
}

nav#primary {
  display: none;
}

/* Index page */

br.pre-intro-space {
  display: none;
}

body.index-only h1#logo span.screen-reader a,
body.index-only h1 span.screen-reader a {
  visibility: hidden;
}

body.index-only img.main-logo {
  display: block;
  margin: 20px auto;
}

/* Secondary Section */

section#secondary,
section#third,
section#side-column {
  width: auto;
  float: none;
}

section#secondary img#restaurant_logo,
section#side-column img#restaurant_logo {
  margin-bottom: 5px;
}

address br {
  display: none;
}

address span#street_address,
address span.street_address {
  display: block;
}

address span.location_name {
  font-size: 1.2rem;
}

section.module {
  padding-top: 0;
  margin-bottom: 20px;
}

section.module:last-child,
section#third section.module:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

section#secondary header#masthead,
section#side-column header#masthead {
  display: none;
}

/* Main Section and Footer */

div#content {
  background: none;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 0;
}

section#main,
section#secondary,
section#third,
nav#footer {
  margin: 0 10px;
  padding: 15px 15px 25px;
}

section#side-column {
  margin: 0 10px;
}

section#side-column section#secondary {
  margin: 0;
}

div.layout-1 section#main,
div.layout-1 section#secondary,
div.layout-1 nav#footer,
div.layout-1 section#third {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 1);
}

section#main {
  width: auto;
  float: none;
}

section#main h2:first-child {
  margin-top: 0;
}

/* Footer */

nav#footer {
  padding-bottom: 15px;
  margin-bottom: 10px;
  background-image: none;
}

/* User uploaded images */

img#page_main_photo,
img#event_main_photo,
img#menu_item_main_photo,
img#main_pic {
  width: 100%;
  display: block;
}

/* Lists with bottom borders */

div.menus:last-child,
ul#reviews li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Small fonts */

p.reviews_date,
a.full_article,
ul#events p.event_date,
p.event_date,
p.coupon_fine_print,
p.coupon_expiry,
span.menu_diet,
span.menu_spicy,
body.menus-only span.normalized,
span.menu_price,
div.menus label {
  font-size: 0.8rem;
}

/* Menus */

ul#menu_nav {
  font-size: inherit;
}

div.menus ul ul {
  position: relative;
  top: auto;
  right: auto;
  margin-top: 5px;
}

/* Gallery */

div.gallery_pic_text {
  margin-top: 10px;
  width: auto;
}

/* Coupons */

ul#coupons li {
  width: auto;
  display: block;
}

/* Directions */

#map_canvas, .map_canvas {
  min-height: 320px;
  width: 100%;
  margin-bottom: 20px;
  margin-top: auto;
}

/* Contact */

ul#contact {
  font-size: 1em;
  padding: 0;
}

ul#contact li label {
  float: none;
  width: auto;
  text-align: left;
  margin: 0 0 5px;
  display: block;
}

ul#contact input,
ul#contact textarea {
  width: 100%;
  margin-bottom: 10px;
  text-indent: 5px;
  padding: 5px 0;
}

ul#contact input.submit {
  padding: 5px;
  left: auto;
  margin-top: 20px;
}

/*-- Widgets --*/

div#app_page div.cc_widget {
  margin-bottom: 0;
}

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]  {
  width: 100% !important;
}

/*----------------------------------------------------------------

  OpenTable Stuff

-----------------------------------------------------------------*/

/* Overall Wrapper for Client Supplied Snippet */
#OT_searchWrapperAll {
  width: 100%;
  height: 170px;/* for horizontal layout: 60px, for vertical layout: 100px */
  position: relative;
  padding: 0;
  margin: 0;
}

/* wrapper */

#OT_searchWrapper {
  border: none;
  width: 100%;
  height: 170px;/* for horizontal layout: 60px, for vertical layout: 100px */
  position: relative;
  margin: 0;
}

/* Title of Search */
#OT_searchWrapper .OT_feedTitle {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1rem;
  margin: 0;
}

/* Definition List */
#OT_searchWrapper dl {
  position: absolute;
  top: 10px;
  left: 0;
  padding: 0;
  margin: 0;
}

/* Party Size Label Wrapper - dt tag */
#OT_partySizeLbl {
  position: absolute;
  top: 25px;/* for horizontal layout: 25px, for vertical layout: 25px */
  left: 0px; /* for horizontal layout: 0px, for vertical layout: 0px */
  margin: 0 0 0 5px;
  padding: 3px 0;
  text-align: right;
  width: 90px;
  display: block;
}

/* Party Size Wrapper - dd tag */
#OT_partySize {
  position: absolute;
  top: 25px; /* for horizontal layout: 25px, for vertical layout: 25px */
  left: 105px; /* for horizontal layout: 90px, for vertical layout: 85px */
  margin: 0;
  padding: 0;
}

/* Date Label Wrapper - dt tag */
#OT_dateLbl {
  position: absolute;
  top: 60px;/* for horizontal layout: 25px, for vertical layout: 55px */
  left: 0px;/* for horizontal layout: 105px, for vertical layout: 0px */
  margin: 0 0 0 5px;
  padding: 3px 0;
  text-align: right;
  width: 90px;
}

/* Date Label Wrapper - dd tag */
#OT_date {
  position: absolute;
  top: 60px;/* for horizontal layout: 25px, for vertical layout: 55px */
  left: 105px;/* for horizontal layout: 195px, for vertical layout: 85px */
  width: 100px;
  margin: 0;
  padding: 0;
}

/* Time Label Wrapper - dt tag */
#OT_timeLbl {
  position: absolute;
  top: 95px;/* for horizontal layout: 25px, for vertical layout: 55px */
  left: 0;/* for horizontal layout: 300px, for vertical layout: 185px */
  margin: 0 0 0 5px;
  width: 90px;
  padding: 3px 0;
  text-align: right;
}

/* Time Label Wrapper - dd tag */
#OT_time {
  position: absolute;
  top: 95px;/* for horizontal layout: 25px, for vertical layout: 55px */
  left: 105px;/* for horizontal layout: 305px, for vertical layout: 185px */
}

/* Placeholder empty dt */
#OT_empty {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  top: 100px;
  left: 0;
}

/* Submit Button Wrapper - dd tag */
#OT_submitWrap {
  position:relative;
  top: 130px; /* for horizontal layout: 25px, for vertical layout: 112px */
  left: 105px;/* for horizontal layout: 450px, for vertical layout: 240px */
  margin: 0 5px 0 0;
  z-index: 5; /* do not change */
}

/* Wrapper for Powered By OpenTable Logo */
#OT_logo {
  position:absolute;
  top: 142px; /* for horizontal layout: 80px, for vertical layout: 120px */
  left: -15px; /* for horizontal layout:0px, for vertical layout: 0px */
  width: 100%;
  padding: 0;
  margin: 0;
  display:block;
}

/* Wrapper for Text Link */
#OT_logoLink {
  display: none;
}

/* Logo Link Border and margin*/
#OT_imglogo {
  border: 0;
  margin: 0 0 0 10px;
}

#OT_searchWrapper form { margin:0;padding:0; }
#OT_searchWrapper input.hidden { display:none; }

/* Text Form Fields*/
#OT_searchWrapper .feedFormField, #OT_searchWrapper .feedFormField option {
  font-size:12px;
  margin:2px 2px 2px 2px;
}
/* Text Form Field for Date field */
#OT_searchWrapper #startDate, #OT_searchWrapper .OT_feedFormfieldCalendar {
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  font-size:12px;
  margin:0;
  width:85px;
}

#OT_searchWrapper #dateDisplay {
  font-size:10px;
  color:#999;
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  float:right;
  margin:0px 30px 0px 0px;
  display:inline;
}

/*** calendar styles ***/

/* Placeholder. Don't change this */
#OT_searchWrapper .imgCal {
  position: absolute;
  display: none;
  z-index:100;
}

/* Calendar Table properties */
#OT_searchWrapper #imageCal table {
  font-size:12px;
  width:150px;
  font-family:arial;
  font-weight: bold;
  background:#FFF;
}

#OT_searchWrapper #imageCal td {
  padding:0px 0px 0px 0;
  text-align:center;
}

/* Days in the future */
#OT_searchWrapper .clickableDays {
  color: #000000;
  text-decoration: none;
  height:18px;
}

/* Days in the past */
#OT_searchWrapper .nonclickableDays {
  color: #CCCCCC;
  height:18px;
}

/* Name of the month at the top */
#OT_searchWrapper .months {
  color: #FFFFFF;
  text-decoration: none
}

/* Day of the week */
#OT_searchWrapper .weekdays {
  color: #000000;
  text-decoration: none;
  color:#666666;
  background-color:#EFEFEF;
  width:14%;
}

}


/*

  Really small screen CSS

*/

@media screen and (max-width: 520px) {
  .adsbygoogle,
  div#ad468x60 {
    position: relative;
    width: 320px;
    height: 50px;
  }

  div#fake-banner {
    width: 320px;
    height: 50px;
  }
}

@media screen and (max-width: 370px) {
  .adsbygoogle,
  div#ad468x60 {
    width: 234px;
    height: 60px;
  }

  div#fake-banner {
    width: 234px;
    height: 60px;
  }
}