body {
  margin: 0;
  font-family: 'Cabin', sans-serif;
}

a {
    color:black;
}

h1 {
  text-align: center;
}

#dashPhoto {
    max-width: 100%; /*max-width: 280px;*/
    margin-bottom: 10px;
}

.dashboard-margin {
    margin-left: 60px;
    margin-right: 0px
}

#signupInput,#loginInput {
  border: 1px solid #5d576b;
  font-size: 16px;
  padding: 10px 5px;
  height: 20px;
  margin: 5px;
  width: 298px;
}

#wrapper {
    width: 1000px;
    border: 0px solid red;
    overflow: hidden;
    margin: auto;
}

.navbar {
  overflow: hidden;
  background-color: #000;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: #fff;b
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #f7567c;
}

.dropdown-content {
  right: 0;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
}

.dropdown-sec-1{
  float: left;
  max-width: 234px;
  margin: 15px 15px 5px 15px;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  clear: left;
}

.dropdown-content a:hover {
  background-color: #99e1d9;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#fc-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.smallLogo {
  float: left;
  margin-top: 0px;
  margin-left: 5px;
  margin-right: 5px;
}

#userDropdownHr {
  width: 230px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------------------- signup.php modal ---------------------- */
.signup-window {
  position: fixed;
  background-color: rgba(200, 200, 200, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.signup-window:target {
  opacity: 1;
  pointer-events: auto;
}

.signup-window>div {
  width: 320px;
  height: 400px;
  position: relative;
  margin: 15% auto;
  padding: 2rem;
  background: #fff;
  color: #444;
}

.signup-window header {
  font-weight: bold;
}

.signup-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.signup-close:hover {
  color: #000;
}

.signup-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}


/* ---------------------- login.php modal ---------------------- */
.login-window {
  position: fixed;
  background-color: rgba(200, 200, 200, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.login-window:target {
  opacity: 1;
  pointer-events: auto;
}

.login-window>div {
  width: 320px;
  height: 400px;
  position: relative;
  margin: 15% auto;
  padding: 2rem;
  background: #fff;
  color: #444;
}

.login-window header {
  font-weight: bold;
}

.login-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.login-close:hover {
  color: #000;
}

.login-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

/* ---------------------- disable account modal (settings.php) ---------------------- */
.removeacct-window {
  position: fixed;
  background-color: rgba(200, 200, 200, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.removeacct-window:target {
  opacity: 1;
  pointer-events: auto;
}

.removeacct-window>div {
  width: 320px;
  height: 400px;
  position: relative;
  margin: 15% auto;
  padding: 2rem;
  background: #fff;
  color: #444;
}

.removeacct-window header {
  font-weight: bold;
}

.removeacct-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.removeacct-close:hover {
  color: #000;
}

.removeacct-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

/* ---------------------- restaurantRequest.php modal ---------------------- */
.rr-window {
  position: fixed;
  background-color: rgba(200, 200, 200, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.rr-window:target {
  opacity: 1;
  pointer-events: auto;
}

.rr-window>div {
  width: 320px;
  height: 400px;
  position: relative;
  margin: 15% auto;
  padding: 2rem;
  background: #fff;
  color: #444;
}

.rr-window header {
  font-weight: bold;
}

.rr-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.rr-close:hover {
  color: #000;
}

.rr-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

/* ------------------------- settings.php ------------------------- */
.leftSection {
    width: 500px;
    min-height: 300px;
    float: left;
    border: 0px solid red;
}
.rightSection {
    border: 0px solid red;
    min-height: 300px;
    overflow: hidden;
}

.settingsBoxWrapper {
  margin: auto;
  width: 350px;
  height: 290px;
  border: 0px solid red;
}

#editUserCredentialsBar {
  background-color: #f7567c;
  color: #FFF;
  font-size:18px;
  width:350px;
  height: 35px;
  text-align: center;
  padding-top:10px
}

#editUserProfilePicBar {
  background-color: #5d576b;
  color: #FFF;
  font-size:18px;
  width:350px;
  height: 35px;
  text-align: center;
  padding-top:10px
}

#editUserPasswordBar {
  background-color: #000000;
  color: #FFF;
  font-size:18px;
  width:350px;
  height: 35px;
  text-align: center;
  padding-top:10px
}

#editUserPrivacyBar {
  background-color: #99e1d9;
  color: #FFF;
  font-size:18px;
  width:350px;
  height: 35px;
  text-align: center;
  padding-top:10px
}

#settingsBox {
  border-bottom: 1px solid #272727;
  border-left: 1px solid #272727;
  border-right: 1px solid #272727;
  padding: 15px 20px;
}

#updateCredentialsBtn:active {
  background-color: #000;
}

#updateCredentialsBtn:hover {
  background-color: #ededed;
  transition: 0.4s;
}

#updateCredentialsBtn {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  padding: 7px 10px;
  border: 0px solid black;
  background-color: #dbdbdb;
}

.deleteButton {
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  padding: 7px 10px;
  border: 0px solid black;
  background-color: #f7567c;
}

#firstName, #lastName, #email {
  margin: 5px 0px;
  height: 20px;
  width: 200px;
}

#privacyCheckbox {
  margin-bottom: 10px;
}

#fileBrowseBtn {
  border: 1px solid #5c5c5c;
  cursor: pointer;
  font-size: 16px;
  padding: 5px 5px;
  background-color: #a5e1f2;
  cursor: default !important;
}

#fileBrowseBtn:hover {
  background-color: #adedff;
  transition: 0.4s;
}

#p1 {
  color: green;
}

#cancelBtn {
  font-weight: 500;
  font-size: 14px;
  color: black;
  text-decoration: none;
  background-color: #ff8f8f;
  border-top: 1px solid #ff8f8f;
  padding: 6px 10px;
}

#cancelBtn:hover {
  background-color: #ffadad;
  transition: 0.4s;
}

.fileToUpload {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.fileToUpload + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    background-color: black;
    display: inline-block;
}

.fileToUpload:focus + label,
.fileToUpload + label:hover {
    background-color: red;
}

/* ------------------------- food.php ------------------------- */
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active
{
    outline:0px !important;
 /* -webkit-appearance:none; */
}

.restaurantWrapper {
  margin: auto;
  width: 700px;
  height: auto;
  border: 0px solid red;
  text-align: center;
}

#restaurantSearchInput {
  padding-left: 7px;
  font-size: 18px;
  vertical-align: middle;
  width: 400px;
  height: 30px;
  border: 1px solid #d4d4d4;
}

#searchRestaurantBtn {
  vertical-align: middle;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  padding: 7px 10px;
  border: 0px solid black;
  background-color: #99e1d9;
}

#searchResultsSection {
  margin: 0;
  height: 70px;
  width: 550px;
  border: 0px solid black;
  text-align: left;
  margin-bottom: 10px;
  padding: 5px;
}

#searchLeft {
  border: 0px solid blue;
  height: 62px;
  width: 60px;
  float: left;
  padding-top: 4px;
  margin-left: 5px;
}

#searchRight {
  border: 0px solid blue;
  height: 66px;
  width: 471px;
  float: left;
  padding-left: 5px;
  padding-right: 5px;
}

#restaurantSearchBoxWrapper {
  margin-top: 20px;
  border: 0px solid green;
}

#topRatedSection {
  width: 340px;
  float: left;
  min-height: 300px;
  border: 0px solid green;
}

#newestSection {
  width: 340px;
  float: left;
  border: 0px solid green;
  min-height: 300px;
}

#topRatedBoxWrapper {
  margin: auto;
  border: 1px solid black;
  width: 300px;
  min-height: 300px;
}

#newestBoxWrapper {
  margin: auto;
  border: 1px solid black;
  width: 300px;
  min-height: 300px;
}

#createRestaurantWrapper {
  padding-top: 30px;
  clear: both;
  border: 0px solid red;
  text-align: left;
  width: 680px;
}

#createRestauranBox {
  margin: auto;
  border: 1px solid black;
  width: 640px;
}

#createRestaurantForm {
  display: none;
  padding: 5px 20px;
}

#manageRestaurantForm {
  display: none;
  padding: 5px 20px;
}

#showCreateRestaurantBtn {
  cursor: pointer;
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #2dcc7c;
}

#showManageRestaurantBtn {
  cursor: pointer;
  border: 0px solid black;
  padding: 6px 12px;
  font-size: 14px;
  color: white;
  background-color: #24b3f0;
}

.input-hidden {
  position: absolute;
  left: -9999px;
}

#mapWrapper {
  border: 1px solid black;
  margin-left: 4px;
  height: 360px;
  width: 406px;
}

#map {
  height: 300px;
  margin: auto;
  width: 300px;
}

#restaurantGroupWrapper {
  border: 1px solid black;
  margin: 4px;
  height: 178px;
  width: 406px;
}

#restaurantGroupTitle {
  text-align: center;
  background-color: #99e1d9;
}

#restaurantRateTitle {
  text-align: center;
  background-color: #fce8e8;
}

#restaurantMapTitle {
  text-align: center;
  color: #fff;
  background-color: #000; /* #5d576b */
}

#memberWrapper {
  border: 0px solid pink;
  height: 56px;
  text-align: center;
  margin: auto;
  padding-top: 10px;
}

#restaurantHr {
  width: 350px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#requestWrapper {
  border: 0px solid pink;
  height: 54px;
  text-align: center;
  padding-top: 18px;
}

#requestMembershipBtn {
  cursor: pointer;
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #6f00ff;
}

#requestedBtn {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #f5ba56;
}

#loginBtn {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #24b3f0;
}

#signupBtn {
  cursor: pointer;
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #2dcc7c;
}

#isMemberBtn {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #2dcc7c;
}

#reviewCommentTextBox {
  resize:none;
  height: 68px;
  width: 230px;
  border: 1px solid #d6d6d6;
  margin-left: 18px;
}

#reviewSubmitBtn {
  text-align: center;
  display: none;
}

#restaurantSection {
  border: 0px solid red;
  text-align: left;
}

#left {
  padding-top: 4px;
  float: left;
  border-top: 0px solid black;
  border-left: 0px solid black;
  border-bottom: 0px solid black;
  width: 280px;
  height: 550px;
}

#right {
  padding-top: 4px;
  float: left;
  border: 0px solid black;
  border-left: 0px solid black;
  width: 416px;
  height: 550px;
}

#restaurantBox {
  padding: 10px 0px 0px 10px;
  width: 260px;
  border: 1px solid black;
  margin: auto;
  min-height: 350px;
}

#restaurantReviewSection {
  padding-top: 5px;
  overflow: hidden;
  clear: both;
  border: 0px solid green;
  margin: auto;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

#reviewTitle {
  font-size: 20px;
}

#restaurantRateWrapper {
  margin: 4px;
  border: 1px solid black;
  height: 178px;
}

#restaurantReviewBox {
  border: 0px solid pink;
  padding-bottom: 10px;
  padding-left: 44px;
  width: 500px;
  margin: auto;
  overflow: hidden;
}

#userCommentLeft {
  padding-top: 6px;
  margin-top: 10px;
  border: 1px solid black;
  width: 100px;
  min-height: 80px;
  float: left;
}

#userCommentRight {
  text-align: left;
  padding-top: 6px;
  padding-left: 10px;
  margin-top: 10px;
  border-top: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  width: 340px;
  min-height: 80px;
  float: left;
}

#checkRequest {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #272727;
}

#restaurantChat {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #24b3f0;
}

#declineRequestBtn {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #5d576b;
}

#acceptRequestBtn {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #2dcc7c;
}

#manageRestaurantBtn {
  border: 0px solid black;
  height: 30px;
  font-size: 14px;
  color: white;
  background-color: #2dcc7c;
}

/* ---------------------- profile.php modal ---------------------- */
#searchFriend {
    width: 98.5%;
}
#profileImage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 250px;
  width: 250px;
border: black solid 10px;
}

#profileIcon {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  width: 300px;
}

.profileIconApp {
  border: solid black;
  border-radius: 50%;
  margin-right: 20px;
  margin-left: 20px;
  height: 50px;
  width: 50px;
}

.profileIconApp:hover {
  opacity: 0.5;
}

.contentBody {
  border: 1px solid black;
  margin: auto;
  height: auto;
  width: 510px;
  padding: 10px;
}

.contentBody1 {
  border: 1px solid black;
  margin: auto;
  height: auto;
  width: 510px;
  padding: 10px;
}
.container {
  border: 2px solid #dedede;
  background-color: #f1f1f1;
  max-width: 480px;
  margin: 0px;
  padding: 10px 15px 10px 10px;
  margin-top: 10px;
}

.container::after {
  content: "";
  clear: both;
  display: table;
}

.container img {

  float: left;
  max-width: 60px;
  width: 100%;
  margin-right: 20px;
/*  border-radius: 50%;*/
  border: solid black;

}

.time-right {
  float: right;
  color: #aaa;
}

/* ----------------------2020 ---------------------- */
#postContent {
    width: 100%;
}
.mobile {
    display: none;
}
.menuItem {
    display: block;
}

#fc-logo {
    max-width: 100%;
}

#userInformation {
  background-color: #000000;
  color: #FFF;
  font-size: 18px;
  width: 100%;
  height: 35px;
  text-align: center;
  padding-top: 10px
}

#userDescription {
  background-color: #f7567c;
  color: #FFF;
  font-size: 18px;
  width: 100%;
  height: 35px;
  text-align: center;
  padding-top: 10px
}

#userPhotos {
  background-color: #99e1d9;
  color: #FFF;
  font-size: 18px;
  width: 100%;
  height: 35px;
  text-align: center;
  padding-top: 10px
}

.float-l {
    float: left;
}

.float-r {
    float: right;
}

.clear-l {
    clear: left;
}

.center-element {
    margin: 0 auto;
}

@media only screen and (min-width: 800px) and (max-width: 999px) {
  #wrapper {
      width: 800px;
  }
  #editUserPrivacyBar,
  #editUserPasswordBar,
  #editUserProfilePicBar,
  #editUserCredentialsBar {
  }
  .leftSection, .rightSection {
      width: 400px;
  }
  #fix {
      margin: 0 auto;
  }
}

@media only screen and (min-width: 500px) and (max-width: 799px) {
  #wrapper {
      width: 500px;
  }
  .dashboard-margin {
      margin-left: 0px;
  }
  #searchResultFix {
      border: 0px solid red;
      width: 500px;
  }
  #restaurantReviewBox {
      width:500px;
      padding-left:24px;
      margin: 0;
  }
  .restaurantWrapper {
      border: 0px solid red;
  }
  #mapWrapper {
      width: 214px;
  }
  #map {
      width:100%;
  }
  #restaurantGroupWrapper {
      width:214px;
  }
  .restaurantFix  {
    width:500px;
  }
  #restaurantSearchInput {
      width:300px;
  }
  .searchForm {
      width:500px;
  }
  #reviewTitle {
      width:500px;
      display:block;
  }
  .verifiedMembers:nth-child(n+3) {
      display: none;
  }
  .rightSection {
      clear: left;
  }
  #topRatedSection{
      width:278px;
  }
  #newestSection {
      width:298px;
  }
  #topRatedBoxWrapper, #newestBoxWrapper {
      margin: 0;
      width:220px;
  }
  #createRestauranBox {
      margin:0;
      width:498px;
  }
}

@media only screen and (max-width: 499px) {
    .dashboard-margin {
      margin-left: 0px;
  }
    #topRatedBoxWrapper, #newestBoxWrapper, #createRestauranBox {
      margin: 0;
      width: 310px;
    }
    .newestSectionPaddingTop {
        padding-top: 30px;
    }
  #wrapper {
      width: 352px;
  }
  .leftSection {
      width: 352px;
  }
  #restaurantBox {
      margin-bottom: 11px;
      padding: 0;
      width: 300px;
  }
  #left {
      width:308px;
      border: 0px solid blue;
  }
  .restaurantWrapper {
      width:310px;
      border: 0px solid red;
  }
  #restaurantGroupWrapper {
      width:300px;
  }
  #mapWrapper {
      width: 300px;
      margin-bottom:11px;
  }
  #map {
      width:90%;
  }
  .verifiedMembers:nth-child(n+4) {
      display: none;
  }
  #restaurantReviewBox {
      padding-left: 0;
      width: 300px;
  }
  #userReviewHolder {
      border: 0px solid black;
  }
  #userCommentLeft {
      float: none;
      border: 0px;
  }
  #userCommentRight {
      width: 300px;
      border: 0px;
      float: none;
  }
  #userReviewHolder {
      min-height: 80px;
  }
  #restaurantSearchInput {
      width: 200px;
  }
  #restaurantHr {
      width:99%;
  }
  #fix {
      margin: 0 auto;
  }
  /* ------------------------- settings ------------------------- */
  .settingsBoxWrapper {
      margin: auto;
  }
  .leftSection {
      width: 352px;
  }
  .rightSection {
      clear: left;
  }
}

@media only screen and (max-width: 440px) {
  .menuItem {
    display: none;
  }
  .mobile {
    display: block;
}
}

@media only screen and (max-width: 630px) {
  .contentBody {
    width: 80%;
  }
}
@media only screen and (max-width: 350px) {
/*    html, body {
        display:none;
    }
    */
}

#photoDescInput {
    width:100%;
}

.dashboard-photo-width {
    width: 310px;
}
.dashboard-post-width {
    width: 510px;
}