body {
    font-family: 'Questrial', sans-serif;
}

a, a:visited, a:active {
    color: #0050FF;
    font-weight: bold;
    text-decoration: underline;
}

a:hover {
  color: #BAD0FF;
}

h1 {
    font-family: 'Righteous', cursive;
    margin-left: 200px;
    margin-top: 25px;
    padding-top: 30px;
    font-size: 2.0em;
}

h1:hover {
  text-decoration: underline;
  color: #999999;
  cursor: pointer;
}

h2 {
    font-size: 1.15em;
    margin-left: 200px;
    margin-bottom: 50px;
    padding-bottom: 15px;
    font-style:italic;
}

#subtitle {
  margin-top: 10px;
  margin-bottom: 30px;
}

body {
  background-color: #C2F2FF;
}

header {
    width: calc(100vw - 250px);
    margin-left: 200px;
    background: #C2F2FF;
}

header #search, #search2, #search3 {
    color: #000;
    padding: 6px 10px 6px 48px;
    height: 40px;
    line-height: 40px;
    border: solid 1px #000;
    border-radius: 500px;
    border-color: #888888;
    font-size: left;
    font-family: 'Questrial', sans-serif;
    margin-right: auto;
    margin-bottom: 15px;
    width: 80%;
    font-size: 1.1em;
    font-weight:500;
    font-style:italic;
    outline: none;
}

header #search:hover, #search2:hover, #search3:hover {
  border-color: #000000;
}

header #price, #open_now, #rating {
  margin-left: 10px;
  margin-right: auto;
  margin-top: 5px;
}

header #check0, #check1, #check2, #check3, #check4 {
  cursor: pointer;
}

header #check5, #check6, #check7, #check8, #check9 {
  cursor: pointer;
}

header #search_button {
  cursor: pointer;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  height: 30px;
  width: 100px;
  float: right;
}

header #search_button:hover {
  border-width: 0.2px;
  border-color: #000000;
  border-style: solid;
}

.buttoncontainer {
  width: 80%;
}

#back-to-top {
  cursor: pointer;
  visibility: hidden;
  float: right;
  margin-bottom: 20px;
  margin-right: 20px;
}

#dimmer {
    filter: blur(0px);
}

p {
  font-size: 15px;
  padding-top: 2px;
  padding-bottom: 2px;
}

/******************************************************************************/

#search_results {
  margin-top: 25px;
}

#mapid {
  border-radius: 5px;

  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  height: 400px;
  width: 60%;
}

/******************************************************************************/

#restaurants {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.restaurant {
  border-width: 1px;
  border-color: #888888;
  border-style: solid;
  border-radius: 5px;

  width: 200px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 20px;

  background-color: #FFFFFF;
}

.restaurant:hover {
  cursor: pointer;
  box-shadow: 5px 5px #C0C0C0;
  border-width: 2px;
  border-color: #000000;
  border-style: solid;
}

.info-button {
  cursor: pointer;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  height: 30px;
  width: 100px;
  float: right;
}

.info-button:hover {
  border-width: 0.2px;
  border-color: #000000;
  border-style: solid;
}

.hide {
  display: none;
}

.open-now {
  color: #0AAA14;
  font-weight: bold;
}

.preview-pic {
  width: 100%;
  height: 175px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-width: 0.80px;
  border-color: #505050;
  border-style: solid;
  margin-bottom: 10px;
}

/******************************************************************************/

#r-card {
  visibility: visible;
}

.restaurant-expanded {
  position: fixed;
  top: 50px;
  left: 32%;
  width: 400px;

  visibility: hidden;

  border-width: 1px;
  border-color: #000000;
  border-style: solid;
  border-radius: 5px;

  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;

  background-color: #FFFFFF;
}

.phone-expanded {
  color: #FF3A40;
  font-weight: bold;
}

.pic-expanded {
  width: 100%;
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-width: 0.80px;
  border-color: #505050;
  border-style: solid;
  margin-bottom: 10px;
}

#close-button {
  cursor: pointer;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  float: right;
  height: 25px;
  width: 25px;
}

#close-button:hover {
  border-width: 0.2px;
  border-color: #000000;
  border-style: solid;
}
