.main {
  overflow-y: scroll;
}

.make-post-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  min-height: 50%;
  width: 90%;
  padding: 50px;
  margin-top: auto;
  margin-bottom: auto;
}

.make-post-avatar {
  background-color: white;
  border-radius: 50%;
  border: 1px solid black;
  max-height: 50px;
  max-width: 50px;
  position: relative;
  top: 10%;
}

.make-post-form {
  width: 90%;
  background-color: white;
  border: 2px solid black;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

textarea:focus, input:focus {
  outline: none;
}

.grow-wrap, .topic-title {
  border-radius: 20px;
}

.topic-main, .tools {
  width: 100%;
}

.topic-title-container {
  width: 90%;
  margin-top: 10px;
}

.topic-title {
  resize: none;
  height: calc(10% - 40px);
  width: calc(100% - 44px);
  border: 2px solid rgba(13, 13, 13, 0.2);
  padding: 20px;
  font-size: 1em;
}

.topic-title-header, .grinds-section-header {
  font-size: 0.75em;
  font-weight: 800;
  padding-left: 5px;
}

.invert {
  background-color: black !important;
  color: white !important;
}

.invert-white {
  color: black !important;
  background-color: white !important;
  border: 1px solid black;
}

.topic-main-container {
  width: 90%;
  display: flex;
  flex-direction: column;
}

.tools {
  resize: none;
  height: 20%;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.tool {
  font-size: xx-small;
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px;
  background-color: rgba(25, 20, 13, 0.05);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
}

.grow-wrap {
  padding: 10px;
  border: 2px solid rgba(13, 13, 13, 0.2);
  width: calc(100% - 24px);
}

.topic-main {
  resize: none;
  border: none;
  max-width: 100%;
  font-size: 1em;
  overflow: hidden;
  padding: 5px;
}

textarea[rows="1"] {
  height: auto;
}

.submit-add-file-and-tag-container {
  width: 90%;
  display: flex;
  justify-content: space-between;
  margin: 10px;
  align-items: center;
}

.left, .right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.right {
  margin-left: auto;
}

.toggle-container {
  display: flex;
  flex-direction: row-reverse;
}

.is-grinds-ad {
  height: -moz-min-content;
  height: min-content;
  font-size: 0.75em;
  font-weight: 700;
}

.add-to-post-button {
  padding: 4px 8px;
  font-size: 0.8em;
  font-weight: 700;
  color: white;
  background-color: black;
  border-radius: 10px;
  border: 2px solid black;
  cursor: pointer;
  margin-right: 5px;
}

.submit-post {
  /* RESETTING BUTTON DEFAULT STYLING */
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  padding: 4px 8px;
  font-size: 0.8em;
  font-weight: 700;
  color: white;
  background-color: black;
  border-radius: 10px;
  border: 2px solid black;
  cursor: pointer;
  margin-right: 5px;
}

.emoji-options {
  display: flex;
  flex-direction: column;
  height: -moz-fit-content;
  height: fit-content;
}

.emojis-cat {
  height: -moz-fit-content;
  height: fit-content;
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
}

.emoji {
  margin: 2px;
}

.preview-html {
  height: -moz-min-content;
  height: min-content;
}

.preview-html a {
  color: blue !important;
  text-decoration: underline;
}

.preview-html img {
  width: 80%;
  padding: 0 10%;
}

input[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
}

#switch {
  cursor: pointer;
  text-indent: -9999px;
  width: 40px;
  height: 20px;
  background: grey;
  display: block;
  border-radius: 100px;
  position: relative;
  margin: 0 10px;
  justify-self: flex-start;
}

#switch:after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

input:checked + #switch {
  background: lightskyblue;
}

input:checked + #switch:after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
}

#switch:active:after {
  width: 26px;
}

.grinds-ad-container {
  width: 85%;
}

.grinds-question {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 5px 0;
  font-size: 1em;
  font-weight: 600;
}

.inputs-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end !important;
}

.radio-label {
  font-size: 0.5em;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid black;
  background-color: white;
  color: black;
  padding: 4px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0 10px;
  text-align: center;
}

.radio-label.active {
  background-color: black !important;
  color: white !important;
}

.inputs-container input[type=radio] {
  display: none;
}

.price-input, .telephone-input, .town-input, .distance-input {
  margin-right: 10px;
  border: none;
  border-bottom: 1px solid rgba(13, 13, 13, 0.2);
  font-size: 1em;
  font-weight: 700;
  text-align: center;
}

.distance-input {
  width: 40px;
  text-align: end;
}

.price-input {
  width: 40px;
  text-align: start;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.schedule-table {
  display: flex;
  justify-content: center;
}

table {
  border-collapse: collapse;
  margin: 20px;
  border: 2px solid white;
}

th {
  font-size: 0.75em;
  width: 80px;
}

td {
  border: 1px solid black;
  border-collapse: collapse;
  background-color: white;
}

.green {
  background-color: green !important;
}

.time {
  border-bottom: 1px solid black;
  border-top: 1px solid black;
  width: -moz-max-content;
  width: max-content;
  white-space: nowrap;
  padding: 0 5px;
}

.day {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.grow-wrap {
  /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
  display: grid;
}

.grow-wrap::after {
  /* Note the weird space! Needed to preventy jumpy behavior */
  content: attr(data-replicated-value) " ";
  /* This is how textarea text behaves */
  white-space: pre-wrap;
  /* Hidden from view, clicks, and screen readers */
  visibility: hidden;
}

.grow-wrap > textarea {
  /* You could leave this, but after a user resizes, then it ruins the auto sizing */
  resize: none;
  /* Firefox shows scrollbar on growth, you can hide like this. */
  overflow: hidden;
}

.grow-wrap > textarea,
.grow-wrap::after {
  /* Identical styling required!! */
  font: inherit;
  /* Place on top of each other */
  grid-area: 1/1/2/2;
}

.search-tags {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 30%;
  margin: auto;
  border-radius: 10px;
  border: 2px solid rgba(13, 13, 13, 0.1);
  font-size: 1em;
  padding: 7px;
}

.courses-container, .subjects-container, .topics-container, .levels-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: auto;
  height: -moz-fit-content;
  height: fit-content;
  flex-wrap: wrap;
  margin: 20px 20px;
}

.single-tag {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: black;
  border-radius: 10px;
  padding: 5px 10px;
  margin: 5px;
  cursor: pointer;
  font-size: 0.75em;
  border: 2px solid black;
}

.header {
  margin: 0;
  margin-left: 20px;
  text-decoration: underline;
}

.single-tag.active {
  color: white;
  background-color: black;
}

.added-tags {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1em;
}

.added-tag {
  color: blue;
  padding: 7px;
  margin: 7px;
  cursor: pointer;
}

.added-tag:hover {
  text-decoration: underline;
  color: red;
}

.custom-tags-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 7px;
}

.invert {
  background-color: white !important;
  color: black !important;
}

.course-wrapper {
  width: 100%;
}

.add-tags {
  position: relative;
  width: 90%;
}

.delete-post {
  border: 2px darkred solid !important;
  background-color: red !important;
  color: black !important;
}

.delete-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete-popup .delete-popup-container {
  width: 40%;
  height: 50%;
  background-color: white;
  border-radius: 20px;
  border: 1px solid black;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.delete-popup .delete-popup-container .delete-popup-title {
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 1.25rem;
}

.delete-popup .delete-popup-container .delete-popup-buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.delete-popup .delete-popup-container .delete-popup-button {
  width: 40%;
  padding: 0.5rem;
  border-radius: 10px;
  border: 2px solid black;
  background-color: white;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.delete-popup .delete-popup-container .delete-popup-button:hover {
  background-color: black;
  color: white;
  font-weight: 600;
}

/* END: ed8c6549bwf9 */
/* MOBILE PHONES PORTRAIT [ALSO PHONES IN GENERAL] */
@media screen and (max-width: 480px) {
  .make-post-avatar {
    display: none !important;
  }
  .tools {
    max-width: 100% !important;
    flex-wrap: wrap !important;
    height: -moz-fit-content !important;
    height: fit-content !important;
  }
  .tool {
    margin: 10px 4px !important;
    font-size: 0.5rem !important;
  }
  .left {
    flex-direction: column !important;
  }
  input#switch {
    display: none !important;
  }
  .right {
    max-width: 220px !important;
    width: -moz-max-content;
    width: max-content;
    flex-wrap: wrap !important;
  }
  .right * {
    margin: 5px !important;
  }
  .make-post-container {
    width: 100% !important;
    padding: 50px 0 !important;
  }
  .question-posed {
    font-size: 0.7rem;
  }
  .radio-label {
    font-size: 0.5rem !important;
    margin: 0 5px !important;
  }
  .topic-main, .topic-title {
    font-size: 0.75rem !important;
  }
}
/*  IPADS & TABLETS PORTRAIT */
/*  HORIZONTAL IPAD AND SMALLER LAPTOP / MONITORS */
/*    HORIZONTAL IPAD PRO AND SMALLER LAPTOP / MONITORS */
/*  LARGE COMPUTERS */
/* GIGA LARGE SCREENS *//*# sourceMappingURL=makepost.css.map */
