 /* CIDOS LOGO  */
 .logowrapper {
    text-align: center;
}
.logowrapper img {
    margin-right:10px;
    width:35px;
    height:35px;
}
.logowrapper span {
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 800;
    font-family: "Josefin Sans", sans-serif;
    background: linear-gradient(to right,white 15%, orange 50%, white 85%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textlogo 5s linear infinite;
    display: inline-block;
}

@keyframes textlogo {
    to {
        background-position: 200% center;
    }
}

/* HEADER FOOTER NAVBAR CUSTOM */
.navbar {
    padding:4px !important;
}
.navbar-sm .navbar-nav-link {
    --navbar-link-padding-y: 0.25rem;
    --navbar-link-padding-x: 0.5rem;
}
.navbar-footer {
    box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
    border-top:1px solid transparent !important;
    padding:4px 10px 3px !important;
    font-size:12px;
}
.dropdown-menu {
    margin-top: 10px;
    min-width: auto;
    padding: 5px;
}
.dropdown-menu>.dropdown-submenu>.dropdown-menu {
    top: 5px;
    margin-right: 10px;
}
.dropdown-menu > .dropdown-submenu > .dropdown-menu {
    left: 100% !important;
}
.dropdown-menu > .arthSubMenu > .dropdown-menu {
    left: auto !important;
}
.dropdown-menu > hr {
    border:none;
    border-bottom: dotted 2px #000;
    margin: 5px 0;
    padding:0;
}
.dropdown-item {
    padding-left: 10px;
    border-radius: 5px;
}

/* CUSTOM BREADCRUMB AND TITLE */
.arthTitle {
  position: relative;
  text-shadow: 2px 3px 1px rgba(0,0,0,0.1);
}
.arthTitle::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: -0.5rem;
    right: -0.7rem;
    height: 1rem;

    z-index: revert-layer;
    /*background-image: url('https://framework.artheart.net/ONLINE-RESOURCE/underline.svg');*/
    background-repeat: no-repeat;
    background-size: cover;
}

.arthContent::after {
    bottom: 0.3rem;
    height: 0.5rem;
    left: 1rem;
    right: -0.5rem;
    transform: scaleY(-1);
}


/* DATATABLES */
div.DTCR_pointer {
    margin-left: -10px;
    width: 0;
    height: 0 !important;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #0259c4 transparent transparent transparent;
    background: transparent;
}
.dataTable thead tr {
    --bg-opacity: 1;
    --text-opacity: 1;
    background-color: rgba(var(--secondary-rgb),var(--bg-opacity)) !important;
    color: rgba(var(--white-rgb),var(--text-opacity)) !important;
    text-transform: uppercase !important;
}
.dataTable thead tr:not(:first-child) > th {
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 8px;
}
.dataTable thead tr:not(:last-child:nth-child(1)) > th {
    text-align: center;
    border-left: var(--table-border-width) solid var(--border-color);
    border-right: var(--table-border-width) solid var(--border-color);
}
.dataTable thead tr th {
    border-bottom: 0px solid transparent;
}
.dataTable tr td.child > ul {
    text-align: left;
}
.dataTable tr td.child > ul > li {
    display: table;
}
.dataTable thead .sorting::after, .dataTable thead .sorting::before, .dataTable thead .sorting_asc_disabled::before, .dataTable thead .sorting_desc_disabled::after {
    right: 15px;
}
th.dtfc-fixed-left, th.dtfc-fixed-right {
    background-color: rgba(var(--secondary-rgb),var(--bg-opacity)) !important;
    color: rgba(var(--white-rgb),var(--text-opacity)) !important;
}
td.dtfc-fixed-left.focus, td.dtfc-fixed-right.focus {
    background-color: lightblue !important;
    color: #111 !important;
}
td.dtfc-fixed-left:after{
  content:'';
  position:absolute;
  right: 0;
  top: 0;
  height:100%;
  border-right: var(--table-border-width) dotted var(--table-group-separator-color);
}
td.dtfc-fixed-right:before{
  content:'';
  position:absolute;
  left: 0;
  top: 0;
  height:100%;
  border-left: var(--table-border-width) dotted var(--table-group-separator-color);
}
.dataTable td.focus {
    background-color: rgba(var(--secondary-rgb),0.1);
    outline-color: rgba(var(--secondary-rgb),0.5) !important;
    outline-style: dashed;
    border-radius: 5px;
}
.dataTable td.focus:last-child {
    background-color: transparent;
}

.dataTable tbody > tr.selected, .dataTable tbody > tr > .selected {
    background-color: rgba(var(--secondary-rgb),0.15);
    box-shadow: var(--box-shadow-lg) !important;
}
.dataTable tbody tr td:last-child {
    text-align: center;
}
.active > .page-link, .page-link.active {
    background-color: rgb(var(--secondary-rgb));
    border-color: var(--pagination-hover-border-color);
}
.dropdown-item.active, .dropdown-item:active {
    background-color: rgba(var(--secondary-rgb),0.15);
}
.dt-button-collection .dropdown-menu {
    padding: 5px;
    min-width: auto;
}


/* CUSTOM MISCellaneous */
.arthDefault {cursor: default;}
.arthPointer {cursor: pointer;}
.arthBlocked {cursor: not-allowed;}
.arthProgress {cursor: progress;}
.arthGrab {cursor: grab;}
.arthGrabbing {cursor: grabbing;}
.arthCrosshair {cursor: crosshair;}
.arthHelp {cursor: help;}
.arthText {cursor: text;}
.arthWait {cursor: wait;}
.arthMove {cursor: move;}
.arthAlias {cursor: alias;}
.arthNone {cursor: none;}

label.error {
    color: brown;
    font-size: 11px;
    margin-left: 10px;
}


#carouselExampleControls {
    width: 100%;
    aspect-ratio: 16 / 8;   /* sesuaikan rasio banner kamu */
    overflow: hidden;
    position: relative;
}

/* === Container banner === */
.banner,
.banner-baru {
    width: 100%;
    height: 100%;               /* ikut tinggi carousel */
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 0; 
    box-sizing: border-box;
}

/* === Gambar proporsional TANPA kepotong === */
.banner img,
.banner-baru img {
    max-width: 75%;
    height: 100%;
    object-fit: contain;         /* selalu proporsional, tidak pernah kepotong */
    display: block;

}

.banner img{
    padding-top: 25px;
    padding-bottom: 50px;
}

.banner-baru img{
    padding-top: 25px;
    padding-bottom: 70px;
}

.banner{
    background: linear-gradient(to right, #012383ff, #5ebde9ff);
}

.banner-baru{
    background: linear-gradient(to right, rgb(43, 57, 95), rgb(207, 199, 245));
}
/* === Mobile Responsive === */
@media (max-width: 768px) {
    #carouselExampleControls {
        aspect-ratio: 16 / 9;   /* lebih tinggi untuk HP */
    }
    
    .banner{
        background: none;
    }

    .banner img, .banner-baru img{
        max-width: 100%;   /* biar penuh pas di mobile */
        padding-top: 0;
    }

    .banner img{
        padding-bottom: 0px;
    }
    .banner img, .banner-baru img{
        padding-bottom: 10px;
    }

}