main>.container,
main>.container-fluid {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container,
.footer>.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form>button.logout:focus,
.navbar form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form>button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item>a {
    text-decoration: none;
}

/* 18042024 - baru tambah untuk user icon */
.circular--portrait {
    /*position: absolute;*/
    position: relative;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
    border: solid 2px;
    border-color: white;

}

.circular--portrait img {
    width: 100%;
    height: auto;
}

/* new animation */

.fade-icon {
    animation: fade 1s infinite;
}

@keyframes fade {
    0% {
        opacity: 1;
        /* Fully visible */
    }

    50% {
        opacity: 0.5;
        /* Partially visible */
    }

    100% {
        opacity: 1;
        /* Fully visible */
    }
}

.divider {
    border-top: 2px solid #ccc;
    margin: 8px 0;
    list-style: none;
    height: 0;
}

/* 09072025 - baru tambah untuk user icon */
.main--circular--portrait {
    /*position: absolute;*/
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    border: solid 4px;
    border-color: #00928F;

}

.main--circular--portrait img {
    width: 100%;
    height: auto;
}

.hover-card:hover {
    background-color: #f8f9fc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
    border-left: 4px solid #00928F;
}

.transition {
    transition: all 0.2s ease-in-out;
}

.tight-table th,
.tight-table tr {
    padding: 0.1rem 0.2rem;
    line-height: 0.5;
}

/* Make CKEditor content images responsive */
.ck-content img,
.ckeditor-field img,
.cke_editable img,
figure.image img {
  display: block;        /* prevents inline spacing oddities */
  max-width: 100%;       /* do not exceed container width (e.g. the figure) */
  height: auto !important; /* respect aspect ratio and override inline aspect-ratio */
  width: auto !important;  /* allow the container (figure) to control visual width */
}

/* Make sure figure element doesn't expand beyond parent */
figure.image,
figure.image_resized {
  display: block;           /* make figure behave like a block-level box */
  margin-left: auto;        /* center if width is set (e.g. width:25%) */
  margin-right: auto;
  max-width: 100%;
  margin: 0; /* optional */
}

/* explicit rule for CKEditor's "align-center" class */
figure.image.image-style-align-center,
figure.image_resized.image-style-align-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* If you want the figure width from CKEditor style to be respected,
   but prevent overflow: */
/* ensure the img inside the figure is centered and responsive */
figure.image img,
figure.image_resized img {
  display: block;           /* remove inline spacing */
  margin: 0 auto;           /* center inside the figure */
  max-width: 100%;
  height: auto !important;
  width: 100% !important;   /* fill the figure width (for .image_resized where figure has width:25%) */
}

/* Let the image keep its natural width (unless container is smaller) */
figure.image img,
figure.image_resized img,
.ck-content img,
.ckeditor-field img,
.cke_editable img {
  display: block;
  margin: 0 auto;       /* center inside the figure */
  width: auto !important;   /* use the image's intrinsic width */
  max-width: 100%;      /* but never overflow the figure/container */
  height: auto !important;
}

/* If you have figures that explicitly set a width (e.g. style="width:25%"),
   the figure will be that width; this rule will ensure the image will not
   stretch to fill it — it will stay intrinsic or shrink to fit if needed. */
figure[style] img {
  width: auto !important;
  max-width: 100%;
}

/* Override Bootstrap carousel arrow color to #00928F */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none; /* remove Bootstrap's white SVG */
  mask-size: 100%;
  -webkit-mask-size: 100%;
  background-color: #00928F; /* arrow color */
}

/* Recreate the default arrow shapes using masks */
.carousel-control-prev-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M11 1 3 8l8 7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M11 1 3 8l8 7'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M5 1l8 7-8 7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M5 1l8 7-8 7'/%3E%3C/svg%3E");
}

/* Optional hover state — darken a bit */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: #007e7c; /* slightly darker teal on hover */
}

.text-teal {
    color: #00928F !important;
}

.bg-teal {
    color: #00928F !important;
}

