html {
  height: 100%;
}

body {
  height: inherit;
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: Verdana, Sans Serif;
  color: #525252;
  /*min-width: 440px;*/
}

a {
  color: #525252;
}

.add-button {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  border: 0px;
  outline: none;
  line-height: 85px;
  color: #ffffff;
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  background: #36a9e1;
  cursor: pointer;
  z-index: 5000;
}

header {
  background: #eaeaea;
  padding: 10px 20px;
}

header .nav-btn .fa-times,
header .nav-btn.open .fa-bars {
  display: none;
}

header .nav-btn.open .fa-times {
  display: block;
}

header .nav-btn,
header .photos a {
  font-size: 30px;
  padding: 10px;
  display: inline-block;
}

header .photos a {
  color: #ec862e;
}

header .photos {
  float: right;
  position: relative;
}

header .photos span {
  display: block;
  position: absolute;
  background: #525252;
  color: #ffffff;
  font-size: 10px;
  line-height: 20px;
  width: 20px;
  text-align: center;
  border-radius: 10px;
  bottom: 5px;
  right: 0px;
  pointer-events: none;
}

header .nav-box {
  display: none;
}

header .nav-box ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}

header .nav-box ul li a {
  line-height: 45px;
  text-decoration: none;
}

.container {
  padding: 20px;
}

.input {
  font-size: 16px;
  font-family: inherit;
  padding: 5px 20px;
  background-color: #fff;
  border: 2px solid #525252;
  border-radius: 4px;
  line-height: 25px;
}

input[type="submit"] {
  border: none;
  background: #36a9e1;
  border: 2px solid #36a9e1;
  color: #ffffff;
  padding: 5px 30px;
  font-weight: bold;
  border-radius: 4px;
  font-size: 20px;
  line-height: 25px;
}

input[type="file"] {
  font-size: 0.9em;
  padding-top: 0.35rem;
}

.input[readonly] {
  border-style: dotted;
  cursor: not-allowed;
  color: #777;
}

.input[disabled] {
  --input-border: #ccc;

  background-color: #eee;
  cursor: not-allowed;
}

.input:focus {
  border-color: #525252;
}

.referral-code {
  display: none;
}

.referral-code input {
  padding: 10px 20px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.tabs {
  background: #eaeaea;
  border-radius: 4px;
  overflow: hidden;
}

.tabs.space {
  margin: 20px 0;
}

.tabs a,
.tabs span {
  float: left;
  width: 50%;
  text-align: center;
  display: block;
  line-height: 40px;
  text-decoration: none;
  font-weight: bold;
}

.tabs span {
  float: none;
  width: 100%;
}

.tabs a.active,
.tabs span {
  background: #36a9e1;
  color: #ffffff;
}

.clear {
  clear: both;
  line-height: 0px;
  height: 0px;
}

table {
}
table thead th {
  background: #525252;
  color: #ffffff;
  padding: 3px 5px;
  margin: 0;
}
table th {
  text-align: left;
  font-size: 12px;
}

table td {
  padding: 3px 5px;
  margin: 0;
  font-size: 10px;
}

table tbody tr:nth-child(even) td {
  background: #eaeaea;
}

.message {
  border: 1px solid #da4d4d;
  color: #da4d4d;
  background-color: #ecbfbf;
  padding: 20px;
  margin: 10px 0;
  border-radius: 4px;
}

.tide {
  margin-bottom: 20px;
  background: #eaeaea;
  padding: 20px 2px;
  border-radius: 4px;
}

.tide .row {
  line-height: 30px;
  padding: 0 20px;
}

.tide .row:nth-child(even) {
  background: #fdfdfd;
}

.tide .row span {
  padding: 020px;
  font-weight: bold;
}
video {
  touch-action: pan-right pinch-zoom;
}

.shop-revya a {
  display: block;
  text-align: center;
  background: #f9f9f9;
  padding: 20px 0;
  margin-top: 40px;
}

.shop-revya img {
  display: inline-block;
  width: 100%;
  height: auto;
  max-width: 600px;
}

#installInstructions {
  display: none;
}

.favs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.favs > div {
  border-radius: 3px;
  border: 2px solid #36a9e1;
  text-align: center;
  padding: 10px;
  aspect-ratio: 3/2;
  display: grid;
  align-content: center;
  box-sizing: border-box;
}

.favs > div i {
  font-size: 30px;
  color: #36a9e1;
}

.favs > div.cam {
  padding: 0;
  overflow: hidden;
  display: block;
  position: relative;
}

.favs > div a {
  display: block;
  height: 100%;
  width: 100%;
}

.favs > div img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favs > div.cam i {
  position: absolute;
  bottom: 5px;
  right: 5px;
  cursor: pointer;
}

@media (display-mode: browser) {
  #installInstructions {
    display: block;
  }
}

@media only screen and (max-width: 600px) {
  .input {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
  }
  .favs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
