.mb-0 {
  margin-bottom: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.map {
  cursor: pointer;
  position: relative;
}

.image-container {
  display: grid;
  width: 100%;
  place-content: center;
}

.polling-indicator {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  grid-gap: 8px;
  align-items: center;
}

.polling-indicator img {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
}

.loading-wrapper {
  display: grid;
  width: 1000px;
  height: 1000px;
  place-content: center;
  position: relative;
}

.loading-wrapper img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.loading-spinner {
  width: 100px !important;
  height: 100px !important;
}

.map-background {
  width: 1000px !important;
  height: 1000px !important;
}

.no-border {
  border: none !important;
}

.selection-range {
  border: 2px dashed #000;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 999;
  pointer-events: none;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.map-overlay .block-space {
  border: none;
  cursor: pointer;
}

.map-overlay .block-space:hover {
  background-color: rgba(255, 0, 0, 0.1);
}

.ethscriptions {
  margin-top: 1rem;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, 100px);
  grid-gap: 0.5rem;
}

.ethscriptions img {
  padding: 0;
  max-width: 100px;
  cursor: pointer;
  width: 100px;
  height: 100px;
}

.inline-loading-spinner {
  width: 40px !important;
  height: 40px !important;
}

.prevent-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by all major browsers */
}

/* END of Decentraliser's added classes */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}

.alert p {
  background-color: #e24e35;
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  text-align: center;
  width: 100%;
  margin: 1rem 0;
}

.line-through {
  text-decoration: line-through;
}

.underline {
  text-decoration: underline;
}

.container-full {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 15px;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 10px;
}

.map-container {
  width: 1016px !important;
  height: 1016px !important;
  max-width: 1016px !important;
  max-height: 1016px !important;
  border: 8px solid #1b5bcc;
}

#root {
  position: relative;
  display: flex;
  flex-direction: column;
}

section#sidebar {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 0;
  right: 0;
  height: 100%;
  /* background-color: #fff; */
  padding: 15px;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
}

section#sidebar .box {
  pointer-events: all;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #797979;
  background-color: #fff;
  -webkit-box-shadow: 5px 5px 0px -1px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 0px -1px rgba(0, 0, 0, 0.5);
  margin-top: 186px;
  min-width: 350px;
  max-width: 350px;
}

section#sidebar .box.bigger {
  min-width: 500px;
  max-width: 500px;
}

section#sidebar .box .header {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  background-color: #393939;
  color: #fff;
  padding: 5px 0px;
  font-weight: bold;
}

section#sidebar .box .header .left-icon {
  right: 35px !important;
}

section#sidebar .box .header .icon {
  position: absolute;
  right: 5px;
  width: 25px;
  height: 25px;
  margin-left: auto;
}

section#sidebar .box .header .close {
  cursor: pointer;
}

section#sidebar .box .content {
  padding: 10px 25px;
  overflow: hidden;
  overflow-wrap: anywhere;
}

section#sidebar .box .content .green_dot::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #f7f7f7;
  margin-left: 5px;
}

section#sidebar .box .content .pink_dot::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ff8ae5;
  margin-left: 5px;
}

section#sidebar .box .content button, .connect-link {
  margin-top: 20px;
  margin-bottom: 10px;
  align-items: center;
  padding: 5px 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  background-color: #76dd4c;
  border: none;
  cursor: pointer;
  color: #000;
  font-size: 18px;
  width: 100%;
  -webkit-box-shadow: 5px 5px 0px -1px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 0px -1px rgba(0, 0, 0, 0.5);
  margin-right: 5px;
}

section#sidebar .box .content .connect:hover {
  background-color: #76dd4c;
}

.connect-link {
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

/* disabled button style */
.connect:disabled {
  background-color: #c4c4c4 !important;
  cursor: not-allowed !important;
}

section#sidebar .box .content table {
  width: 100%;
}

section#sidebar .box .content table tr {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

section#sidebar .box .content .image-container {
  display: grid;
  width: 100%;
  height: auto;
  place-content: center;
  margin: 2rem 0;
}

section#sidebar .box .content .image-container img,
section#sidebar .box .content img {
  width: auto;
  min-width: 50px;
  min-height: 50px;
  max-width: 100%;
}

section#sidebar .box .content .link {
  cursor: pointer;
}

.link {
  color: black;
}

section#sidebar .box .row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

section#sidebar .box .row .left .img {
  position: relative;
  height: 150px;
  width: 150px;
  margin: 0;
  margin-bottom: 10px;
  padding: 0 !important;
  border: 1px solid #797979;
  display: grid;
  place-content: center;
}

section#sidebar .box .row .left .img embed {
  height: 150px;
  width: 150px;
}

section#sidebar .box .row .left .img button {
  margin-top: 0;
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 0.8rem;
  background-color: #76dd4c;
  color: white;
  border: none;
  border-radius: 4px;
}

section#sidebar .box .row .left {
  padding-right: 20px;
  max-width: 180px;
}

section#sidebar .box .row .right {
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 0.8em;
  width: 100%;
}

section#sidebar .box .row .right textarea {
  width: 100%;
  height: 50px;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #797979;
}

section#sidebar .box .row input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 1rem;
  border: 1px solid #797979;
}

section#sidebar .box .row.direct-link,
section#sidebar .box .row.ethscription-input {
  flex-direction: column;
}

section#sidebar .box .row.ethscription-input input {
  margin-bottom: 0;
}
section#sidebar .box .row .select-ethscription-link {
  margin-bottom: 1rem;
  font-weight: bold;
}

section#sidebar .box .row button {
  align-self: flex-end;
  width: auto;
  margin-left: auto;
}

section#sidebar .tooltip {
  position: relative;
  background-color: #c4c4c4;
  font-weight: normal;
  cursor: pointer;
  border-radius: 50%;
  padding: 0px 5px;
  font-size: 0.8em;
}

.ad-tooltip {
  background-color: white !important;
  border: 2px solid red !important;
  padding: 4px 8px !important;
  border-radius: 0 !important;
}

.ad-tooltip div:first-child {
  color: black !important;
  font-size: 20px !important;
}

@media (max-width: 500px) {
  section#sidebar {
    padding: 10px;
    width: 100%;
  }
  section#sidebar .box {
    margin-top: 100px;
    max-width: 100% !important;
    min-width: 100% !important;
  }
}

/* ----- */

section#connect {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

section#connect button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  height: 40px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-left: 10px;
  background-color: #fff;
  border: 3px solid #031e34;
  border-radius: 20px;
  cursor: pointer;
}

section#connect button svg {
  width: 15px;
  height: 15px;
  margin-left: 5px;
}

section#connect button:hover {
  background-color: #031e34;
  color: #fff;
}

section#connect button:nth-child(1) {
  background-color: #031e34;
  color: #fff;
  margin-left: 0;
}

section#connect button:nth-child(1):hover {
  background-color: #063157;
}

section#connect button img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

@media (max-width: 500px) {
  section#connect {
    justify-content: center;
    flex-direction: column;
  }
  section#connect button {
    margin-left: 0;
    margin-bottom: 10px;
  }
}

/* ----- */

section#header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  background-color: #fff;
}

section#header .right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin-left: auto;
}

section#header button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-left: 10px;
  background-color: #76dd4c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #fff;
}

section#header button.active {
  background-color: #c4c4c4;
}

section#header button:hover {
  background-color: #63c43b;
}

@media (max-width: 500px) {
  section#header {
    flex-direction: column;
  }
  section#header .right {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ----- */

section#buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}

section#buttons button {
  align-items: center;
  padding: 5px 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  background-color: #76dd4c;
  border: none;
  cursor: pointer;
  color: #000;
  font-size: 18px;
  width: 30%;
  -webkit-box-shadow: 5px 5px 0px -1px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 0px -1px rgba(0, 0, 0, 0.5);
  margin-right: 5px;
}

section#buttons button:hover,
section#buttons button.active {
  background-color: #c4c4c4;
}

@media (max-width: 500px) {
  section#buttons {
    flex-direction: column;
  }
  section#buttons button {
    margin-top: 10px;
    width: 100%;
  }
}

/* ----- */

section#map img {
  width: 1000px;
  height: 1000px;
}

/* ----- */

/* section#footer {
  display: flex;
  justify-content: center;
  align-items: center;
} */

#footer {
  display: grid;
  width: 100%;
  grid-auto-flow: row;
  font-size: 21px;
}

#footer .small {
  font-size: 16px;
}

#footer .grey {
  color: grey;
}

#footer p {
  width: 100%;
}

#footer h2 {
  font-size: 38px;
}

#footer h3 {
  font-size: 31px;
}

.emphasis {
  font-size: 21px;
}

.footer-row {
  display: grid;
  width: 100%;
}

.cols-20-80 {
  grid-template-columns: 20% 80%;
}

.how-it-works {
  font-size: 57px;
  text-transform: uppercase;
  text-align: center;
  color: #e0e0e0;
}

.centered-items {
  display: grid;
  place-content: center;
}

.pt-0 {
  padding-top: 0 !important;
}

.pa-1 {
  padding: 1em;
}

.pa-2 {
  padding: 2em;
}

.pl-4 {
  padding-left: 4em;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 1em;
}

.mt-2 {
  margin-top: 2em;
}

.mt-4 {
  margin-top: 4em;
}

.my-1 {
  margin: 1em 0;
}

.my-3 {
  margin: 3em 0;
}

.text-center {
  text-align: center;
}

.cta {
  display: grid;
  grid-auto-flow: row;
  row-gap: 1em;
  text-align: center;
}

.cta .button {
  color: #ffffff;
  text-align: center;
  padding: 8px;
  border: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-weight: bold;
  color: #ffffff;
  background: #45e026;
}

.cta a {
  font-size: 21px;
  font-weight: bold;
  text-decoration: grey;
  color: #8c8c8c;
}

.copyright {
  width: 600px;
  margin: 50px auto;
  font-size: 12px;
  color: grey;
}
