@charset "utf-8";
/* CSS Document */

body,td,th,p{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #333;
	line-height: 1.5;
}

body {
	background-color: #fdfdfd;
	margin: 0;
	position: relative;
}

ul, li {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #333;
}

a {
	color: orange;
	text-decoration: none;
}

a:hover, a:focus {
	color: #3397db;
	text-decoration: none;
}

a img {
	border: none 0px #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 0 20px;
}

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

#maincontent {
  background-color: #f3f3f3;
  /* min-height: 100%;
  width: 100%;
  */
}

#footer {
  background-color: #252831;
  color: #aaa;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 25px;
  text-align: center;
  text-transform: uppercase;
}

/* ====================== Navigation ====================== */

nav {
  width: 100%;
  height: 80px;
  background-color: #252831;
  text-align: center;
  display: flex;
  align-items: center;
  margin: auto;
}

nav h1 {
  margin: auto;
}

nav h1 a {
  color: #ffffff;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 10px;
  text-transform: uppercase;
}

nav h2 {
  margin: auto;
}

nav h2 a {
  color: #ffffff;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 10px;
  text-transform: uppercase;
}

#breadcrumb {
  padding: 10px 40px 16px;
  list-style: none;
  background-color: #eee;
  font-size: 17px;
  margin: 0;
  width: calc(50% - 80px);
    
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* Display list items side by side */
#breadcrumb li {
  display: inline;
}

/* Add a slash symbol (/) before/behind each list item */
#breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

/* Add a color to all links inside the list */
#breadcrumb li a {
  color: #024483;
  text-decoration: none;
}

/* Add a color on mouse-over */
#breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}

/* ====================== Map ====================== */

#map {
  height: 400px;
  width: 100%;
  background-color: #ccc;
}

/* ====================== Restaurant Filtering ====================== */

.filter-options {
  width: 100%;
  height: 50px;
  background-color: #11517E;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.filter-options h2 {
  color: white;
  font-size: 18px;
  font-weight: normal;
  line-height: 1;
  margin: 0 20px;
}

.filter-options select {
  background-color: white;
  border: 1px solid #fff;
  font-family: Arial,sans-serif;
  font-size: 16px;
  height: 35px;
  letter-spacing: 0;
  margin: 10px;
  padding: 0 10px;
  width: 200px;
}

/* ====================== Restaurant Listing ====================== */

#restaurants-list {  
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center; 
  background-color: #f3f3f3;
  list-style: outside none none;
  margin: 0;
  padding: 30px 15px 60px;
  text-align: center;
}

#restaurants-list li {
  background-color: #fff;
  border: 2px solid #ccc;
  font-family: Arial,sans-serif;
  margin: 15px;
  min-height: 380px;
  padding: 0 30px 25px;
  text-align: left;
  width: 300px;
}

#restaurants-list .restaurant-img {
  background-color: #ccc;
  display: block;
  margin: 0;
  max-width: 100%;
  min-height: 248px;
  min-width: 100%;
}

#restaurants-list li h1 {
  color: #333333;
  font-family: Arial,sans-serif;
  font-size: 19px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 20px 0 10px;
  text-transform: uppercase;
}

#restaurants-list p {
  margin: 0;
  font-size: 16px;
}

#restaurants-list li a {
  background-color: orange;
  border-bottom: 3px solid #eee;
  color: #111111;
  display: inline-block;
  font-size: 16px;
  margin: 15px 0 0;
  padding: 8px 30px 10px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

/* ====================== Restaurant Details ====================== */

.inside header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.inside #map-container {
  background: blue none repeat scroll 0 0;
  height: 87%;
  position: fixed;
  right: 0;
  top: 80px;
  width: 50%;
}

.inside #breadcrumb ul {
  display: inline;
  display: block;
  padding: 10px 40px 16px;
  list-style: none;
  background-color: #eee;
  margin: 0;
  width: calc(50% - 144px);
}

.inside #map {
  background-color: #ccc;
  width: 100%;
  height: 100%;
}

.inside #footer {
  bottom: 0;
  position: absolute;
  width: 45%;
  margin-top: 30px;
}

#restaurant-name {
  color: #333;
  font-family: Arial,sans-serif;
  font-size: 20pt;
  font-weight: 200;
  letter-spacing: 0;
  margin: 15px 0 10px;
  text-transform: uppercase;
  line-height: 1.1;
  border-radius: 10px;
  height: 30px;  
  display: flex;
  flex-direction: row;
  justify-content: center; 
}

#restaurant-img {
	width: 90%;
  border-radius: 20px 0 20px 0;
  margin: 50px 0 10px 15px;
  padding: 10px;  
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#restaurant-address {
  font-size: 22px;
  margin: 10px 0px;
  padding: 0 20px;  
}

#restaurant-cuisine {
  background-color: #333;
  color: #ddd;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 10px;
  margin: 10px 0 10px 20px;
  padding: 2px 0;
  text-align: center;
  text-transform: uppercase;
	width: 90%;
  border-radius: 20px 0 20px 0;
}

#restaurant-container, #reviews-container {
  border-bottom: 1px solid #d9d9d9;
  border-top: 1px solid #fff;
  padding: 30px 20px 30px;
  width: 45%;
}

#reviews-container {
  display: flex;
  flex-direction: column;
}

#reviews-container h2 {
  color: #333;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -1px;
  padding: 10px 20px;
  margin-bottom: 10px;
}

#reviews-list {
  margin: 0;
  padding: 0;
}

#reviews-list li {
  background-color: #fff;
  border: 2px solid #f3f3f3;
  list-style-type: none;
  margin: 0 0 50px;
  overflow: hidden;
  padding: 0 0 20px;
  position: relative;
  width: 100%;
  border-radius: 20px 0 20px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#reviews-list li>p:nth-child(1) {
  font-size: 16px;
  width: 45%;
  text-align: left;  
  background-color: #252831;
  color: #ffffff;
  -moz-border-radius: 9px 9px 9px 9px;
  -webkit-border-radius: 9px 9px 9px 9px;
  border-radius: 9px 0 0 0;
  margin-top: 0;
  padding: 16px 0 16px 16px;
}

#reviews-list li>p:nth-child(2) {
  font-size: 16px;
  width: 45%;
  background-color: #252831;
  color: #ffffff; 
  text-align: right;
  margin-top: 0;
  padding: 16px 16px 16px 0;
}

#reviews-list li>p:nth-child(3) {
  margin: 10px;
  background-color: orange;
  border-bottom: 3px solid #eee;
  color: #111111;
  display: inline-block;
  font-size: 16px;
  font-weight: 200;
  padding: 8px 10px;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}

#reviews-list li>p:nth-child(4) {
  margin: 10px;
  padding: 8px;
  font-size: 16px;  
  text-align: left;
  text-decoration: none;
  text-align: justify;
  text-justify: inter-word;
  width: 100%;
}

#restaurant-hours td {
  color: #666;
  padding: 0 20px;
}

/******************** RESPONSIVE - MEDIA QUERIES ********************/

/*  
 *  MOBILE
 */

@media screen and (max-width: 357px) {

#reviews-list li>p:nth-child(1) { 
  width: 40%;
}

#reviews-list li>p:nth-child(2) {
  width: 40%;
}

}

@media screen and (max-width: 650px) {

.inside {
  margin: auto;
}

.inside #breadcrumb {
  padding: 10px 0;
  width: 100%;
}

.inside #map-container {
  margin-top: 40px;
  position: relative;
  height: 400px;
  width: 100%;
  background-color: #ccc;
}

.inside #restaurant-container {
  width: 100%; 
  padding: 0;
  margin: 80px 0 0;
}

.inside #restaurant-name { 
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 0;
  margin: 15px 0 10px;
}

.inside #restaurant-img {
  width: 90%;
  border-radius: 20px 0 20px 0;
  margin: 10px 0 10px 15px;
}

.inside #reviews-container {
  width: 100%;
  margin: auto;
  padding: 0;
}

.inside #reviews-list {
  margin: 10px;
  padding: 0;
}

#reviews-list li {
  margin: 0 0 60px;
}

.inside #footer {
  width: 100%;
  padding: 10px 0;
}

}

/* 
 * T A B L E T
 */

 @media screen and (max-width: 620px) {

.filter-options {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  height: 150px;
}

}

@media screen and (min-width: 651px) and (max-width: 900px) {

.inside {
  margin: auto;
}

.inside #breadcrumb {
  padding: 10px 0;
  width: 100%;
}

.inside #map-container {
  margin-top: 40px;
  position: relative;
  height: 400px;
  width: 100%;
  background-color: #ccc;
}

.inside #restaurant-container {
  display: flex;
  flex-wrap: wrap;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 80px 0 0 0;
}

.inside #restaurant-name {  
  width: 100%;
}

.inside #restaurant-img {
  order: 0;
  width: 45%;
  margin: 10px; 
  height: 350px;
  align-content: center;
}

.inside #restaurant-hours {
  order: 1;
  width: 45%;
  text-align: center;
  margin: 35px 5px;
  padding: 5px;
}

.inside #restaurant-hours td {
  text-align: left;
  padding: 5px;
}

#restaurant-cuisine {
  order: 2;
  width: 100%;
  margin: 0 20px;
  padding: 2px 0;
}

.inside #restaurant-address {
  order: 3;
  width: 100%;
  padding: 0;
  margin: 20px 0 20px 0;
}

.inside #reviews-container {
  width: 80%;
  margin: auto;
  padding: 10px 0;
}

#reviews-container h2 {
  width: 100%;
  margin: auto;
  padding: 10px 0;

}

.inside #footer {
  bottom: 0;
  position: absolute;
  width: 100%;
  margin-top: 30px;
  padding: 10px 0;
}

}