.margin-top {
  margin-top: 10px;
}

.margin-bottom {
  margin-bottom: 10px;
}

.margin-bottom-big {
  margin-bottom: 20px;
}

.margin-left {
  margin-left: 10px;
}

.margin-right {
  margin-right: 10px;
}

.tpp-form-spacer {
  /*height: 10px;*/
  margin-bottom: 40px;
}

.tpp-form-section:first-child {
  padding-top: 0px;
}

.w-100 {
  width: 100%;
}

.tpp-form-section-no-margin {
  display: flex;
  align-items: center;
  /* up-down */
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #ea7066;
  font-weight: bold;
}

.tpp-form-section-margin {
  display: flex;
  align-items: center;
  /* up-down */
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 10px;
  color: #ea7066;
  font-weight: bold;
}

.tpp-form-section {
  display: flex;
  align-items: center;
  /* up-down */
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 10px;
  color: #ea7066;
  font-weight: bold;
  flex-grow: 1;
}

.tpp-form-section-icon {
  padding-right: 5px;
  font-size: 13px;
  height: 24px;
  font-weight: bold;
  margin-bottom: 0px;
  color: #999999;
  cursor: pointer;
}

.tpp-form-section-hr {
  border-bottom: 1px solid #ea7066;
  margin-bottom: 10px;
}

.tpp-form-row {
  margin-bottom: 7px;
  width: 100%;
}

.tpp-form-row-flex {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  width: 100%;
}

.tpp-form-row-flex-child {
  width: 100%;
}

.tpp-form-avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  margin-top: 21px;
}

.tpp-form-avatar-no-offset {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.tpp-form-label-row {
  display: flex;
}

.tpp-form-label-text {
  flex-grow: 1;
  padding-left: 6px;
  font-size: 14px;
  margin-bottom: 0px;
  color: #999999;
}

.tpp-form-label {
  flex-grow: 1;
  padding-top: 4px;
  padding-left: 6px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 0px;
  color: #999999;
}

.tpp-form-label-help {
  padding-right: 5px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 0px;
  color: #999999;
  cursor: pointer;
}

.tpp-form-label-success {
  flex-grow: 1;
  padding-left: 6px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 0px;
  color: #84bed6;
}

.tpp-form-label-failure {
  flex-grow: 1;
  padding-left: 6px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 0px;
  color: #ea7066;
}

.tpp-form-label-help>img {
  width: 14px;
}

.tpp-form-text {
  outline: none;
  user-select: text;
  white-space: pre-wrap;
  word-wrap: break-word;
  /*background-color: #FCFCFC;*/
  background-color: #ffffff;
  border: 1px solid #84bed6;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  height: 40px;
  width: 100%;
}

.tpp-form-text:focus {
  border: 1px solid #2195f2;
  box-shadow: 0 0 5px #719ece;
}

.tpp-form-text::-webkit-input-placeholder {
  color: #666;
  opacity: 1;
}

.tpp-form-text::-moz-placeholder {
  color: #666;
  opacity: 1;
}

.tpp-form-text:-ms-input-placeholder {
  color: #666;
  opacity: 1;
}

.tpp-form-text::-ms-input-placeholder {
  color: #666;
  opacity: 1;
}

.form-control::placeholder {
  color: #666;
  opacity: 1;
}

.tpp-form-textarea {
  outline: none;
  user-select: text;
  white-space: pre-wrap;
  word-wrap: break-word;
  /*background-color: #FCFCFC;*/
  background-color: #ffffff;
  border: 1px solid #84bed6;
  padding: 2px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  min-height: 62px;
  width: 100%;
  margin-bottom: -5px;
}

.tpp-form-textarea:focus {
  border: 1px solid #2195f2;
  box-shadow: 0 0 5px #719ece;
}

.tpp-form-select {
  outline: none;
  user-select: text;
  white-space: pre-wrap;
  word-wrap: break-word;
  /*background-color: #FCFCFC;*/
  background-color: #ffffff;
  border: 1px solid #84bed6;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  height: 40px;
  width: 100%;
}

.tpp-form-select:focus {
  border: 1px solid #2195f2;
  box-shadow: 0 0 5px #719ece;
}

.create-memory-subject-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 5px;
}

.tpp-form-thumbnails {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.tpp-edit-image-container {
  position: relative;
}

.tpp-form-thumbnail {
  margin: 5px;
  height: 75px;
  width: auto;
  cursor: pointer;
  border-radius: 5px;
}

.tpp-btn-container {
  display: flex;
  flex-grow: 1;
  width: 100%;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

.tpp-btn-right {
  flex-grow: 1;
}

.tpp-add-media-container {
  display: flex;
  align-items: center;
  justify-content: end;
  cursor: pointer;
  margin-right: 10px;
  border-radius: 5px;
  padding-left: 7px;
  padding-right: 7px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.tpp-add-media-container:hover {
  background-color: #f2f2f2;
  transition: 0.3s;
}

.tpp-action-image {
  width: 36px;
  height: 36px;
  /*margin-right: 5px;*/
}

.tpp-action-label {
  font-weight: bold;
  color: #7f7f7f;
}

.tpp-shadow {
  /*box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;*/
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 5px;
}

.tpp-shadow-button {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 5px;
}

.tpp-shadow-button:hover {
  /*box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;*/
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: 0.3s;
}

#sortable {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

#sortable li {
  overflow: hidden;
  position: relative;
  margin: 3px;
  float: left;
  width: calc(90% / 3);
  height: 100px;
  text-align: center;
  cursor: grab;
}

.ui-state-highlight {
  background-color: #f2f2f2;
  border: 2px dotted #ea7066;
}

.sort-thumbnail-placeholder {
  object-fit: cover;
  object-position: center;
  /*width: 100%;
  height: 100%;*/
}

.sort-thumbnail-placeholder-100 {
  width: 100%;
  height: 100%;
}

.sort-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tpp-page-container-mobile {
  margin-top: 15px;
  margin-bottom: 15px;
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.tpp-page-container {
  margin-top: 15px;
  margin-bottom: 15px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
}

.tpp-page-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  min-width: 40px;
  height: 30px;
  color: #666;
  text-decoration: none;
  background-color: transparent;
  text-align: center;
}

.tpp-page-item-active {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  min-width: 50px;
  height: 30px;
  color: #ea7066;
  text-decoration: none;
  background-color: transparent;
  text-align: center;
}

.tpp-page-item:hover {
  color: #ea7066;
}

.tpp-file-row {
  display: flex;
  width: 100%;
}

.tpp-file-button {
  display: inline-block;
  height: 24px;
  background-image: "/assets/img/fb/delete.png";
}

.tpp-file-container {
  position: relative;
}

.tpp-file-icon {
  width: 26px;
  height: 26px;
}

.tpp-file-label {
  position: absolute;
  right: 0px;
  top: 10px;
  font-size: 7px;
  font-weight: bold;
  color: #ffffff;
  background-color: #ea7066;
  /*84BED6, EA7066*/
  border-radius: 2px;
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  /* Standard */
}

.tpp-form-icon {
  width: 20px;
}

.tpp-img-round {
  border-radius: 50%;
}

.cursor-link {
  cursor: pointer;
}

.avatar {
  width: 40px;
  border-radius: 50%;
}

.avatar-square {
  width: 40px;
}

.form-input-container-text {
  margin-left: 6px;
  margin-right: 6px;
}

.category-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
}

.blog-container {
  box-shadow: rgb(0 0 0 / 35%) 0px 5px 5px;
  background: #FFFFFF;
  border: 1px solid #dddfe2;
  margin-bottom: 10px;
  padding: 10px;
}

.blog-title {
  font-size: 20px;
  font-weight: bold;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
}

.blog-body {
  display: flex;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
}

.blog-body-image-container {
  margin-right: 10px;
  width: 100%;
}

.blog-body-image-thumb {
  width: 120px;
  max-height: 80px;
  border-radius: 5px;
}

.blog-body-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.left {
  float: left;
  margin-right: 10px;
}

.blog-category {
  margin-top: 10px;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
}

.blog-pad {
  padding: 10px;
  border-radius: 20px;
}

.blog-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 2px;
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
}

.footer-grow {
  flex-grow: 1;
}

/*Styling Selectbox*/
.dropdown {
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 0 2px rgb(204, 204, 204);
  transition: all .5s ease;
  position: relative;
  font-size: 14px;
  color: #474747;
  text-align: left;
  margin-bottom: 10px;
}

.dropdown-playground {
  border-radius: 2px;
  box-shadow: 0 0 2px rgb(204, 204, 204);
  transition: all .5s ease;
  position: relative;
  font-size: 14px;
  color: #474747;
  text-align: left;
  margin-bottom: 10px;
}

.dropdown .select {
  cursor: pointer;
  padding: 10px
}

.dropdown:focus {
  outline: none;
}

.dropdown .select>i {
  font-size: 13px;
  color: #888;
  cursor: pointer;
  transition: all .3s ease-in-out;
  float: right;
  line-height: 20px
}

.dropdown:hover {
  box-shadow: 0 0 4px rgb(204, 204, 204)
}

.dropdown:active {
  background-color: #f8f8f8
}

.dropdown.active:hover,
.dropdown.active {
  box-shadow: 0 0 4px rgb(204, 204, 204);
  border-radius: 2px 2px 0 0;
  background-color: #f8f8f8
}

.dropdown.active .select>i {
  transform: rotate(-90deg)
}

.dropdown .dropdown-menu {
  position: absolute;
  background-color: #fff;
  width: 100%;
  left: 0;
  margin-top: 1px;
  box-shadow: 0 1px 2px rgb(204, 204, 204);
  border-radius: 0 1px 2px 2px;
  overflow: hidden;
  display: none;
  max-height: 144px;
  overflow-y: auto;
  z-index: 9
}

.dropdown .dropdown-menu li {
  padding: 10px;
  transition: all .2s ease-in-out;
  cursor: pointer
}

.dropdown .dropdown-menu {
  padding: 0;
  list-style: none
}

.dropdown .dropdown-menu li:hover {
  background-color: #f2f2f2
}

.dropdown .dropdown-menu li:active {
  background-color: #e2e2e2
}

.filters {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.tpp-dropdown-button-container {
  position: relative;
  flex-shrink: 0;
}

.tpp-dropdown-button {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: #84BED6;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tpp-dropdown-button:hover {
  background-color: #84BED6;
}

.tpp-dropdown-arrow {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.tpp-dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 10px;
  width: 12rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 50;
  display: none;
}

.tpp-dropdown-item {
  color: #000000;
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tpp-dropdown-item:hover {
  background-color: #E9ECEF;
}

.pill-container {
  margin: 20px 0;
  padding: 15px;
  background: white;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.pill-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  padding: 0 5px;
  font-weight: 500;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pill {
  cursor: pointer;
  transition: all 0.2s;
  padding: 8px 12px;
  background-color: #f0f0f0;
  color: #666;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  border: 1px solid #ddd;
}

.pill.selected {
  background-color: #EA7066;
  color: white;
  border-color: #EA7066;
}

.pill:hover {
  opacity: 0.9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pill-row:last-child {
  margin-bottom: 0;
}

.non-selectable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tpp-alert-box {
  position: relative;
  padding: 5px 10px 5px 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid #4f7280;
  border-radius: 5px;
  color: #4f7280;
  background-color: #e6f2f7;
  border-color: #daecf3;
  width: 100%;
}

.tpp-form-scale {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

.scale-option {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scale-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  border: 2px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  margin: 0;
}

.scale-option input[type="radio"]:hover {
  border-color: #84BED6;
  box-shadow: 0 2px 8px rgba(132, 190, 214, 0.2);
}

.scale-option input[type="radio"]:checked {
  background: #84BED6;
  border-color: #54AFD3;
  color: white;
}

.scale-option label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #666;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s ease;
  margin: 0;
  line-height: 1;
}

.scale-option input[type="radio"]:checked+label {
  color: white;
}

.tpp-form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.tpp-form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.tpp-form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #84bed6;
  border-radius: 4px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  background: white;
  transition: all 0.2s ease;
}

.tpp-form-checkbox input[type="checkbox"]:checked {
  border-color: #2195f2;
  background: #2195f2;
}

.tpp-form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

.tpp-form-checkbox input[type="checkbox"]:focus {
  border-color: #2195f2;
  box-shadow: 0 0 5px #719ece;
  outline: none;
}

.tpp-form-checkbox label {
  background-color: #ffffff;
  border: 1px solid #84bed6;
  border-radius: 5px;
  padding: 8px 10px;
  min-height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tpp-form-checkbox:hover label {
  border-color: #2195f2;
}

.tpp-form-checkbox input[type="checkbox"]:checked+label {
  border-color: #2195f2;
  box-shadow: 0 0 5px #719ece;
}

.tpp-form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.tpp-form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.tpp-form-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #84bed6;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  background: white;
  transition: all 0.2s ease;
}

.tpp-form-radio input[type="radio"]:checked {
  border-color: #2195f2;
  background: white;
}

.tpp-form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #2195f2;
  border-radius: 50%;
}

.tpp-form-radio input[type="radio"]:focus {
  border-color: #2195f2;
  box-shadow: 0 0 5px #719ece;
  outline: none;
}

.tpp-form-radio label {
  background-color: #ffffff;
  border: 1px solid #84bed6;
  border-radius: 5px;
  padding: 8px 10px;
  min-height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tpp-form-radio:hover label {
  border-color: #2195f2;
}

.tpp-form-radio input[type="radio"]:checked+label {
  border-color: #2195f2;
  box-shadow: 0 0 5px #719ece;
}

.left-red {
  border-left: 5px solid #EA7066;
}

.left-blue {
  border-left: 5px solid #84BED6;
}

.left-gray {
  border-left: 5px solid #7F7F7F;
}

.left-green {
  border-left: 5px solid #A2E5A7;
}

.left-yellow {
  border-left: 5px solid #FFE97F;
}