/* @import url('https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap'); */

/* body {
  font-family: 'Nunito', sans-serif;
} */

.object-fit-cover {
  object-fit: cover;
}

.object-fit-contain {
  object-fit: contain;
}

.pc-header .pcm-logo img {
  max-width: 160px;
  max-height: 65px;
}


/* Custom Border Dashed */
.border-dashed {
  border: 1px dashed #dfdfdf;
}

.border-dashed .card-body {
  margin: 5px;
  border: 1px dashed #dfdfdf;
}

.border-dashed .card-header {
  margin: 5px;
  border: 1px dashed #dfdfdf;
}

.border-dashed .card-footer {
  margin: 5px;
  border: 1px dashed #dfdfdf;
}

.border-dashed:has(.card-header) .card-body {
  margin-top: 0px;
  border-top: 0px dashed #dfdfdf;
}

.border-dashed:has(.card-body) .card-header {
  margin-bottom: 0px;
  border-bottom: 1px solid #f2f4f9;
}

.border-dashed:has(.card-footer) .card-body {
  margin-bottom: 0px;
  border-bottom: 0px dashed #dfdfdf;
}

.border-dashed:has(.card-body) .card-footer {
  margin-top: 0px;
  border-top: 1px solid #f2f4f9;
}

.swal-sm {
  width: 24em;
}

.swal-sm button {
  padding: 0.25rem 0.5rem;
  font-size: 0.76563rem;
  border-radius: 2px;
  min-width: 65px;
}


/* //CK Edito */
figure.image {
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

figure.image.image-style-side {
  float: right;
}

figure.image figcaption {
  width: 100%;
  padding: 5px;
  text-align: center;
  background: #e7e7e7;
}

figure.image img {
  max-width: 100% !important;
  height: auto !important;
}

#thumbnail_preview .file_preview_item {
  width: 100% !important;
}

#thumbnail_preview img {
  width: 100%;
  height: auto;
  max-height: 220px;
}

.ck.ck-block-toolbar-button {
  transform: translateX(0px) !important;
}

.ck-powered-by-balloon {
  display: none !important;
}

.ck.ck-sticky-panel__content {
  z-index: 99999 !important;
  top: 16px !important;
}

/* //SEO View */
.seo-view .mobile-view {
  border-radius: 8px;
  box-shadow: rgba(32, 33, 36, 0.28) 0px 1px 6px;
}

.seo-view .mobile-view .meta_title {
  color: rgb(21, 88, 214);
  display: inline-block;
  max-height: 52px;
  padding-top: 1px;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seo-view .mobile-view .meta_image {
  float: right;
  width: 104px;
  height: 104px;
  margin: 4px 0px 4px 16px;
  border-radius: 8px;
  overflow: hidden;
}

.seo-view .mobile-view .meta_description {
  color: rgb(60, 64, 67);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  max-width: 600px;
}

.seo-view .desktop-view .meta_title {
  color: rgb(26, 13, 171);
  display: inline-block;
  max-height: 52px;
  padding-top: 1px;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Select2 tag color */
.select2-selection__choice {
  background-color: var(--bs-primary) !important;
  border: 1px solid var(--bs-primary) !important;
  color: var(--text-primary) !important;
  border-radius: 3px !important;
  font-size: 1rem;
}

.select2-selection__choice:hover {
  background-color: var(--bs-primary-hover) !important;
}

.select2-selection__choice__remove {
  background-color: var(--bs-primary) !important;
  color: var(--text-primary) !important;
  height: 100%;
}


/* Certificate page */
.cursor-pointer { cursor: pointer; }
.course-item {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.course-container {
    max-width: 300px;
}
