@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,600;1,700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

.file-upload {
  padding: 0;
  height: calc(1.5em + 0.4rem + 2px);
}

.custom-list-group-horizontal {
  flex-direction: row;
  justify-content: start;
}

.custom-list-group-item {
  position: relative;
  display: block;
  padding: 0.2rem 0.3rem 0.2rem 0;
  border: 0;
}

.custom-list-group-item:not(:last-child):after {
  content: " |";
}

.table th, .table td {
  padding: 0.75rem 0.5rem;
}

.text-success-hover:hover {
  color: #1cc88a;
}

.text-danger-hover:hover {
  color: #e74a3b;
}

.ui-pnotify-text > p:last-child {
  margin-bottom: 0;
}

.fontIBMPlex {
  font-family: "IBM Plex Serif", serif;
}

.fontOpenSans {
  font-family: "Open Sans", sans-serif;
}

.media-library {
  -webkit-column-count: 4; /* Chrome, Safari, Opera */
  -moz-column-count: 4; /* Firefox */
  column-count: 4;
  padding: 0 0.6rem;
}
.media-library img { width: 100%; padding: 7px 0; }
.media-library img.active {
  filter: drop-shadow(10px 10px 6px #6d564a);
  transition: filter 0.5s ease-in-out;
}

.modalEvent {
  cursor: pointer;
}

.upload-file {
  position: relative;
  height: 18rem;
  width: 60%;
  border: 0.1rem solid #dddcdc;
  border-radius: 0.35rem;
  margin: auto;
  cursor: pointer;
}

.upload-file:before {
  content: "Click to update image";
  position: absolute;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 90%;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: #284874;
  background: rgba(175, 145, 125, 0.70);
  transition: top 500ms ease;
  border-bottom-right-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

.upload-file:hover:before {
  top: 0;
  content: 'Update image';
  border-top-right-radius: 0.35rem;
  border-top-left-radius: 0.35rem;
}

.upload-file img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.upload-file-cover {
  position: relative;
  height: 10rem;
  width: 10rem;
  border: 0.1rem solid #dddcdc;
  border-radius: 10rem;
  margin: auto;
  overflow: hidden;
  cursor: pointer;
}

.upload-file-cover:before {
  position: absolute;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: "Font Awesome 6 Free";
  content: '\f044';
  top: 83%;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: #284874;
  background: rgba(175, 145, 125, 0.70);
  transition: top 500ms ease;
  border-bottom-right-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

.upload-file-cover:hover:before {
  top: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.8rem;
  content: 'Update image';
  border-top-right-radius: 0.35rem;
  border-top-left-radius: 0.35rem;
}

.upload-file-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.upload-file-thumbnail {
  position: relative;
  height: 8rem;
  width: 8rem;
  border: 0.1rem solid #dddcdc;
  border-radius: 1rem;
  margin: auto;
  cursor: pointer;
  overflow: hidden;
}

.upload-file-thumbnail:before {
  position: absolute;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  content: '\f044';
  top: 75%;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: #284874;
  background: rgba(175, 145, 125, 0.70);
  transition: top 500ms ease;
  border-bottom-right-radius: 0.35rem;
  border-bottom-left-radius: 0.35rem;
}

.upload-file-thumbnail:hover:before {
  top: 0;
  font-family: Nunito,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 0.8rem;
  content: 'Update image';
  border-top-right-radius: 0.35rem;
  border-top-left-radius: 0.35rem;
}

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

/*.remove-image {*/
/*  position: absolute;*/
/*  top: -5%;*/
/*  right: -4%;*/
/*  font-size: 1.5rem;*/
/*  color: #F31506;*/
/*}*/

.mce-tinymce {
  border: 1px solid #d1d3e2;
  border-radius: 0.35rem;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

.mce-panel {
  border: 1px solid #d1d3e2;
  background-color: #fff;
  border-radius: 0.35rem;
}

.mce-top-part::before {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.mce-toolbar-grp {
  border: 0 !important;
  border-bottom: 1px solid #d1d3e2 !important;
}

.mce-edit-area {
  border: 0 !important;
}

.mce-statusbar {
  border-top: 1px solid #d1d3e2;
  border-radius: 0.35rem;
}

.pagination {
  justify-content: center;
  margin-bottom: 0;
}

.dtr-control {
  cursor: pointer;
}

.remove-focus-box-shadow:focus {
  box-shadow: none;
}

.radio-buttons {
  width: 100%;
  margin: 1rem auto;
}

label.custom-radio {
  display: block;
}

.custom-radio input {
  display: none;
}

.radio-btn {
  border: 2px solid rgba(151, 153, 166, 0.3);
  display: block;
  border-radius: 0.2rem;
  position: relative;
  box-shadow: 0 0 10px #c3c3c367;
  cursor: pointer;
  padding: 0.5rem;
}

.radio-btn > i {
  color: #ffffff;
  background-color: #1cc88a;
  font-size: 17px;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) scale(2);
  border-radius: 50px;
  padding: 0.25rem;
  transition: 0.5s;
  pointer-events: none;
  opacity: 0;
  width: 1.5rem;
  height: 1.5rem;
}

.custom-radio input:checked + .radio-btn {
  border: 2px solid #1cc88a;
}

.custom-radio input:checked + .radio-btn > i {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

@media (max-width: 500px) {
  .media-library {
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
  }
}
