/*We may decide to break this up at some point. For the moment, it's all being placed together, since it's fairly short.*/

a.nextlink,
a.prevlink {
  width: 300px;
  display: inline-block;
  text-align: center;
  background: #ececec;
  margin: 50px 0px;
} /* <==This is, of course, a placeholder. */
div.endresults {
  width: 100%;
  border-top: 1px solid #333333;
  padding-top: 4px;
  margin-top: 4px;
}

html,
body {
  background: #090909;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#container {
  position: relative;
}

.header {
  background: #090909;
  padding: 10px 0 20px;
}

.header .inside {
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  width: 600px;
}

#body {
  padding-top: 10px;
  text-align: center;
  width: 100%;
  /* background-image:url(../images/splash-bg-2.jpg); */
  background-size: cover;
  background-position: center; /* IE fix */
}

.front {
  padding-bottom: 30%; /* 960px/1440px */
}

@media (max-width: 600px) {
  .front {
    padding-bottom: 0;
  }
}

.single {
  background-image: none !important;
  background: #fff;
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 20px;
}

footer {
  /*position:absolute;
   bottom:0;*/
  width: 100%;
  /*height:90px;    Height of the footer */
  padding: 40px 0;
  background: #090909;
  color: #fff;
  font-size: 12px;
  font-weight: 100;
  line-height: 160%;
  margin: 0;
  text-align: center;
}

footer a:link,
footer a:visited,
.credit {
  color: #a9a9a9;
  font-weight: 400;
}

#name-credits {
  padding: 10px 0;
  margin: 15px auto;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  max-width: 300px;
}

#listing-links a:link,
#listing-links a:visited,
#listing-rail p a:link,
#listing-rail p a:visited,
.listing-mobile a:link,
.listing-mobile a:visited {
  font-size: 1.25em;
  font-weight: 500;
  color: #72b73b;
}

footer img {
  width: 200px;
  padding: 30px 0;
}

#logo {
  width: 400px;
  padding: 20px 0;
  margin: 0 auto;
}

#logo img {
  width: 270px;
}

#logo h2 {
  margin-bottom: 0;
}

#social {
  float: right;
  margin-top: 75px;
  margin-right: 25px;
}

#social span {
  color: #72b73b;
  font-size: 24px;
  margin: 0 3px;
  cursor: pointer;
}

#social span:hover {
  color: white;
}

#search-bar {
  width: 100%;
  background: #4c8c1c;
}

#search-bar-condensed-mobile {
  width: 100%;
  background: #4c8c1c;
  height: 40px;
  padding-top: 10px;
}

#search-bar-condensed-mobile span {
  font-size: 13px;
  margin-right: 5px;
}

#search-bar-condensed-mobile a:link,
#search-bar-condensed-mobile a:visited {
  margin-left: 30px;
  color: #fff;
}

.ad {
  width: 728px;
  height: 90px;
  margin: 0 auto;
}

/* homepage tagline */
.tagline {
  margin: 0 auto;
  padding-top: 25px;
  width: 560px;
}

@media (max-width: 600px) {
  .tagline {
    display: none;
  }
}

.tagline h3 {
  text-transform: uppercase;
}

.tagline .tag {
  color: #fff;
  font-size: 2em;
  font-weight: 400;
  margin-bottom: 10px;
  margin-top: 5px;
}

#cube-ad {
  display: none;
  width: 300px;
  height: 250px;
  margin: 100px auto 20px auto;
}

@media (max-width: 745px) {
  #cube-ad {
    display: block;
  }
}

@media (max-width: 600px) {
  #cube-ad {
    margin: 20px auto;
  }
}

h2,
h3 {
  color: #fff;
  font-weight: 100;
  margin-top: 1px;
}

@media (max-width: 600px) {
  h2,
  h3 {
    margin-top: 0;
  }
}

a:link {
  color: #fff;
  text-decoration: none;
}

.select-button {
  float: left;
  padding-right: 10px;
}

.logo-hr {
  width: 300px;
}

#search-bar-inside {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: 100px;
  padding-top: 20px;
}

button {
  cursor: pointer;
}

.search-button {
  float: left;
}

.tagline-phone {
  display: none;
}

.trb_3pt_subLink,
.trb_notouch .trb_3pt_mainLink:hover {
  background-color: #3b6d16 !important;
}

.trb_3pt_subLink:hover {
  background-color: #72b73b !important;
}

a.rail-links {
  font-size: 1em !important;
  font-weight: 500 !important;
  color: #72b73b !important;
}

@media (max-width: 1200px) {
  #search-bar-inside {
    width: 900px;
  }
}

@media (max-width: 900px) {
  #search-bar-inside {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 600px;
  }
}

@media (max-width: 745px) {
  .ad {
    display: none;
  }
}

@media (max-width: 600px) {
  #logo {
    width: 100%;
  }

  #body {
    background: #090909;
    background-image: none !important;
  }

  #body.single {
    background: #fff;
  }

  #body {
    min-height: 0;
  }

  #search-bar {
    padding-bottom: 60px;
    height: 420px;
  }

  .select-button {
    float: none;
    padding-right: 10px;
  }

  #search-bar-inside {
    width: 100%;
    text-align: center;
  }

  .search-button {
    float: none;
    margin-left: -10;
  }

  .tagline-phone {
    display: block;
    font-size: 18px;
    color: #fff;
    line-height: 150%;
    /*padding-bottom:20px;
    text-transform:uppercase;*/
  }

  #social {
    float: none;
    margin-top: 0px;
    width: 102px;
    margin: 0 auto;
  }

  #container {
    min-height: 500px;
  }

  #logo {
    width: 300px;
  }
}

/* START Styles for SINGLE page */

#map {
  display: none;
  width: 100%;
  height: 200px;
  background: #cdcdcd;
  height: 200px;
  /*margin-bottom:-200px;*/
  overflow: hidden;
  position: relative;
}

#map-canvas {
  height: 300px;
  width: 100%;
}

#map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

#title-container {
  width: 100%;
  height: 80px;
  background: #72b73b;
  text-align: center;
  /* margin-top:200px;*/
}

#title-inside {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.title h2 {
  font-size: 2em;
  padding-top: 20px;
}

.title h3 {
  text-transform: uppercase;
  font-size: 1.3em;
  color: #3b6d16;
  padding-top: 30px;
  padding-left: 10px;
}

#full-listing {
  max-width: 1200px;
  margin: 0 auto;
  /*min-height:800px;*/
}

#listing-rail {
  float: right;
  width: 30%;
  text-align: left;
  margin-left: 20px;
}

.cube {
  width: 300px;
  height: 250px;
  background-color: transparent;
}

@media (max-width: 333px) {
  .cube {
    position: relative;
    right: 6px;
  }
}

#listing-main {
  /*height:100px;*/
  width: 70%;
  text-align: left;
}

h4 {
  padding-left: 0px;
  margin-left: 0px;
  color: #72b73b;
  font-size: 1.5em;
  font-weight: 200;
}

@media (max-width: 600px) {
  #listing-main h4 {
    margin-bottom: 5px;
  }
}

p.copy {
  margin-right: 30px;
  font-size: 1.15em;
  line-height: 160%;
  min-height: 113px;
}

.copy img {
  width: 200px;
  float: left;
  margin: 0 20px 0 0;
}

@media (max-width: 450px) {
  p.copy {
    margin-right: 0;
  }
  .copy img {
    float: none;
    width: 100%;
    margin: 10px auto;
    display: block;
  }
}

#listing-links {
  width: 300px;
  float: left;
  padding-top: 30px;
}

.line {
  border-bottom: 1px solid #72b73b;
  width: 150px;
  height: 1px;
}

.labels {
  color: red;
  background-color: white;
  font-family: "Lucida Grande", "Arial", sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  width: 40px;
  border: 2px solid black;
  white-space: nowrap;
}

#listing-rail p a:visited,
#listing-rail p a:link {
  font-size: 1em;
  color: #000;
}

#listing-main div span a:visited,
#listing-main div span a:link {
  font-size: 1em;
}

.listing-mobile {
  line-height: 160%;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.listing-mobile .padding10 {
  display: block;
}

.listing-mobile.bottom {
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.bold {
  font-weight: bold;
}

.green {
  color: #72b73b;
}

.padding10 {
  padding-right: 10px;
}

.title {
  float: left;
}

@media (max-width: 1240px) {
  #title-inside,
  #full-listing {
    width: 80%;
  }
}

@media (max-width: 900px) {
  #listing-links,
  #listing-rail {
    display: none;
  }
  #listing-main {
    width: auto;
  }
  .cube {
    margin-top: 50px;
  }
}

@media (min-width: 900px) {
  .listing-mobile {
    display: none;
  }
}

@media (min-width: 601px) {
  #search-bar-condensed-mobile {
    display: none;
  }
  .neighborhood-mobile {
    display: none;
  }
  .cuisines-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .cuisines-desktop {
    display: none;
  }
}

@media (max-width: 650px) {
  p.copy {
    font-size: 1em;
  }
  #title-inside,
  #full-listing {
    width: 90%;
  }
  .title h2 {
    font-size: 1.75em;
  }
  .title h3 {
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  .title {
    float: none;
  }
  .title h3 {
    display: none;
  }
}

@media (max-width: 520px) {
  #body {
    min-height: 100%;
  }
  .title h2 {
    font-size: 1.5em;
    font-weight: bold;
  }
}

@media (max-width: 420px) {
  #title-container {
    background: #fff;
    margin-top: 0px;
    height: auto;
  }
  #title-inside {
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
  }
  #map,
  .single #search-bar {
    display: none;
  }
  /*.copy {display: none;}*/
  .title h2 {
    color: #72b73b;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 15px;
  }
  .left {
    clear: left;
    margin-top: 20px;
  }
  .cube {
    margin-top: 200px;
    clear: both;
    margin: 0 auto;
  }
  .line {
    display: none;
  }
  h4 {
    font-size: 1em;
    text-transform: uppercase;
    color: #72b73b;
    clear: both;
  }
  .bottom {
    padding-top: 50px;
  }
  .green {
    color: #3b6d16;
    font-size: 1.15em;
  }
  .review {
    padding-top: 15px;
  }
  .left {
    padding-top: 40px;
  }
  body {
    padding-bottom: 0;
  }
  #body {
    min-height: 0;
  }
  #listing-main div span a:visited,
  #listing-main div span a:link {
    color: #3b6d16;
    font-size: 0.75em;
  }
  .listing-mobile {
    line-height: 100%;
  }
}

/* Tophat styles */

#tophat {
  height: 40px;
  background-color: #292929;
  overflow: hidden;
}

#tophat-logo {
  width: 250px;
  height: 100%;
  float: left;
  line-height: 43px;
  vertical-align: middle;
}

#tophat-logo img {
  margin: 0 10px;
  width: 90%;
}

@media (max-width: 400px) {
  #tophat-logo img {
    width: 200px;
  }
}

#tophat ul {
  list-style-type: none;
  float: left;
  margin: 0 0 0 30px;
  padding: 0;
  line-height: 40px;
}

#tophat ul li {
  display: inline-block;
  margin-right: 30px;
}

#tophat ul li a:link,
#tophat ul li a:visited,
#tophat ul li a:hover,
#tophat ul li a:active {
  color: #e0e0e0;
  text-decoration: none;
}

@media (max-width: 780px) {
  #tophat ul li.last {
    display: none;
  }
}

@media (max-width: 767px) {
  #tophat ul {
    display: none;
  }
}

/* START Styles for RESULTS page */

.results-list {
  text-align: left;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  /*padding-bottom:75px;*/
}

#results-container {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 10%;
}

#ad-container {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 1px;
}

h2.results,
h2.results a:link,
h2.results a:visited {
  color: #000 !important;
  font-weight: bold;
  font-size: 1.5em;
  line-height: 1;
  margin-bottom: 7px;
}

h3.results {
  color: #72b73b;
  text-transform: uppercase;
  font-size: 1em;
  line-height: 1;
  margin-bottom: 5px;
}

.cuisines {
  color: #999;
  font-size: 14px;
}

.cuisines.cuisines-mobile {
  margin-bottom: 20px;
}

.results-list article {
  width: 80%;
  max-width: 1200px;
  margin-left: 25px;
  padding: 15px 85px 15px 0;
  border-bottom: 1px solid #cdcdcd;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (max-width: 500px) {
  .results-list article {
    width: auto;
    margin: 0;
    padding: 15px 25px;
  }
}

.results-list article a:link,
.results-list article a:visited {
  color: #72b73b;
  font-size: 1em;
}

.results-list article a.more {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.results-list article a.more:link,
.results-list article a.more:visited {
  color: #72b73b;
  font-size: 1.25em;
  font-weight: bold;
  position: absolute;
  top: 42%;
  right: 0;
  padding-left: 10px;
}

.results-list article a.more:hover {
  /*color:#72B73B;*/
  color: #4c8c1c;
}

.results-list article .more .icon-arrow-right {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  display: inline-block;
}

.results-list article .more:hover .icon-arrow-right {
  -webkit-transform: translateX(5px);
  -ms-transform: translateX(5px);
  transform: translateX(5px);
}

.results-list article a.more .icon-arrow-right,
#full-listing [class*="icon-arrow"] {
  position: relative;
  top: 3px;
}

#listing-rail [class*="icon-arrow"] {
  position: relative;
  top: 2px;
}

.results-list article p {
  margin-bottom: 0;
}

#results-ad {
  width: 80%;
  max-width: 1200px;
  margin-left: 25px;
  border-bottom: 1px solid #cdcdcd;
}

@media (max-width: 370px) {
  #results-ad {
    width: auto;
    margin-left: 0;
  }
}

#results-ad .ad {
  margin: 20px auto;
}

#results-ad #cube-ad {
  margin: 20px auto;
}

/* Sponsor Bar */

#sponsor-bar {
  background-color: #003928;
  text-align: center;
  padding: 3px 0 2px 0;
  display: none;
}

#sponsor-bar-label {
  display: inline-block;
  vertical-align: middle;
  color: #72b73b;
  font-size: 10px;
  font-weight: 700;
}

#sponsor-bar-logo {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}

#sponsor-bar-logo img {
  display: block;
  width: 85px;
}

p {
  line-height: 160%;
}

@media (max-width: 600px) {
  #dropdown-inside,
  .results-list article p {
    display: none;
  }
  .results-list article a.more:link,
  .results-list article a.more:visited {
    top: 30px;
  }
  h2.results {
    max-width: 250px;
  }
}

@media (max-width: 500px) {
  .results-list article a.more:link span,
  .results-list article a.more:visited span {
    display: none;
  }
  .results-list article a.more:link,
  .results-list article a.more:visited,
  .results-list article a.more:hover,
  .results-list article a.more:active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
  }
}

#gravyspinner {
  padding: 20px 25px;
}

/* Error page */

.error-container {
  background-color: white;
  padding: 10px 0 300px 0;
}

.error-container.mobile {
  display: none;
  padding: 10px 0 50px 0;
}

.error-container.mobile + #search-bar .tagline-phone {
  display: none;
}

.error-content {
  max-width: 1200px;
  margin: 0 auto;
}

.errorbody a:link,
.errorbody a:visited,
.errorbody a:hover,
.errorbody a:active {
  color: #72b73b;
  text-decoration: underline;
}

.errorbody a:hover {
  color: #4c8c1c;
}

@media (max-width: 1220px) {
  .error-content {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .error-container.mobile {
    display: block;
  }

  .error-container.desktop {
    display: none;
  }
}
