/***** Posts **************************************/
.PostsView_Items {
  display: flex;
  width: 100%;
  flex-flow: wrap;
}
.PostsView_Post {
  position: relative;
  overflow: hidden;
  margin: 20px 20px;
  padding: 20px 30px;
  line-height: 1.3em;
  border-radius: 15px;
  background: white;
  cursor: pointer;
  width: 20%;
  min-width: 290px;
  height: auto;
  padding: 0px;
  margin: 20px 10px;
  display: grid;
  gap: 12px 0;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas: "img" "title";
  transition: transform 0.2s;
  box-shadow: rgba(139, 139, 139, 0.4) 0px 0px 16px;
}
@media (max-width: 480px), (max-height: 480px) {
  .PostsView_Post {
    padding: 12px;
    margin: 12px;
  }
}
.PostsView_Post:hover {
  box-shadow: rgba(59, 59, 59, 0.4) 0px 0px 16px;
  transform: scale(1.03);
}
.PostsView_Post_Title {
  grid-area: title;
  margin: 12px 20px 24px 20px;
  font-size: 18px;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.PostsView_Post_Description {
  grid-area: description;
  margin: 0 20px 20px 20px;
  font-size: 16px;
  max-height: 100px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  white-space: pre-line;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3em;
  max-height: 6.5em;
}
.PostsView_Post_Created {
  display: none;
}
.PostsView_Post_Img {
  grid-area: img;
  width: 100%;
  max-height: 300px;
  border-radius: 8px;
  object-fit: cover;
  justify-self: center;
}
.PostsEditView {
  width: 100%;
  overflow: hidden;
}
.PostsEditView_Add {
  position: absolute;
  left: 0;
  top: -10px;
  height: 40px;
  margin: 20px 0 10px 20px;
  padding: 10px;
  background-color: white;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.PostsEditView_Add_Svg {
  position: relative;
  width: 20px;
  height: 20px;
}
.PostsEditView_Add_Text {
  padding: 0 10px 0 0;
  font-size: 18px;
}
.PostsEditView_Add-scroll {
  box-shadow: #0008 0 0 10px;
}
.PostsEditView_Add-scroll .PostsEditView_Add_Text {
  display: none;
}
.PostsEditView_Items {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding-top: 60px;
  overflow-y: auto;
}
.PostsEditView_Post {
  position: relative;
  height: auto;
  overflow: hidden;
  margin: 20px 20px;
  padding: 20px 30px;
  line-height: 1.3em;
  border-radius: 15px;
  background: white;
  cursor: pointer;
  display: grid;
  gap: 20px;
  grid-template-columns: 100px 400px 400px auto;
  grid-template-areas: "img title created";
  min-height: 90px;
}
@media (max-width: 480px), (max-height: 480px) {
  .PostsEditView_Post {
    padding: 12px;
    margin: 12px;
  }
}
@media (max-width: 480px), (max-height: 480px) {
  .PostsEditView_Post {
    gap: 5px 10px;
    grid-template-columns: 100px auto;
    grid-template-areas: "img title" "created description";
  }
}
.PostsEditView_Post:hover {
  background: #eee;
}
.PostsEditView_Post_Title {
  grid-area: title;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px), (max-height: 480px) {
  .PostsEditView_Post_Title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3em;
    max-height: 3.9em;
  }
}
.PostsEditView_Post_Description {
  grid-area: description;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: pre-line;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3em;
  max-height: 3.9em;
}
.PostsEditView_Post_Created {
  grid-area: created;
}
.PostsEditView_Post_Img {
  grid-area: img;
  max-height: 50px;
  border-radius: 8px;
  object-fit: cover;
}
.PostShow {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #f4f4f4;
  overflow: hidden;
}
.PostShow_Post {
  position: absolute;
  left: 20px;
  top: 20px;
  right: 20px;
  bottom: 20px;
  overflow: hidden;
  background-color: white;
  border-radius: 15px;
  padding: 50px 25px 20px 25px;
  transition: opacity 0.5s;
  opacity: 0;
  display: grid;
  gap: 5px 10px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "title img" "description img";
  gap: 20px 80px;
}
@media (max-width: 480px), (max-height: 480px) {
  .PostShow_Post {
    gap: 10px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 300px;
    grid-template-areas: "title" "description" "img";
    left: 12px;
    top: 12px;
    right: 12px;
    bottom: 12px;
    padding: 50px 12px 20px 12px;
    overflow: scroll;
  }
}
.PostShow_Post_Close {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 30px;
  height: 30px;
}
.PostShow_Post_Title {
  grid-area: title;
  font-weight: bold;
  font-size: 32px;
}
.PostShow_Post_Description {
  grid-area: description;
  font-size: 16px;
  line-height: 1.3em;
  white-space: pre-line;
}
.PostShow_Post_Created {
  display: none;
}
.PostShow_Post_Img {
  grid-area: img;
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
}
.PostEditDialog {
  height: 700px;
  width: 900px;
}
.PostEditDialog_Created {
  position: absolute;
  top: 10px;
  right: 25px;
}
.PostEditDialog_Description {
  height: 100px;
  min-height: 150px;
  max-height: 1000px;
}
.PostEditDialog_DescButtons {
  position: absolute;
  left: 120px;
  top: 0px;
  width: 30px;
  height: auto;
}
.PostEditDialog_DescButtons_Button {
  position: relative;
  width: 26px;
  height: 26px;
  line-height: 26px;
  margin-bottom: 4px;
  color: black;
  text-align: center;
  border: 1px solid lightgray;
  border-radius: 8px;
  cursor: pointer;
}
.PostEditDialog_DescButtons_Button_Svg {
  position: absolute;
  left: 5px;
  top: 5px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  fill: black;
}
.PostEditDialog_DescButtons_Button:hover {
  background-color: #0003;
}
.PostEditDialog_Area {
  min-width: 80px;
  margin-right: 10px;
}
.PostEditDialog_ImageRow {
  margin: 30px 0 0 0;
  align-items: start;
}
.PostEditDialog_ImageRow .bbRow_Label {
  width: calc(150px - 35px);
}
.PostEditDialog_Image {
  position: relative;
  width: 635px;
  height: 400px;
}
