@charset "utf-8";
/* @import url(https://fonts.googleapis.com/css?family=Roboto|Varela+Round); */
/* CSS Document */
@keyframes swing {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(5deg);
    }

    70% {
        transform: rotate(0deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes sonar {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

body {
    color: #566787;
    background: #f5f5f5;
    font-family: "Varela Round", sans-serif;
    font-size: 15px;
}

.page-wrapper .sidebar-wrapper,
.sidebar-wrapper .sidebar-brand > a,
.sidebar-wrapper .sidebar-dropdown > a:after,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before,
.sidebar-wrapper ul li a i,
.page-wrapper .page-content,
.sidebar-wrapper .sidebar-search input.search-menu,
.sidebar-wrapper .sidebar-search .input-group-text,
.sidebar-wrapper .sidebar-menu ul li a,
#show-sidebar,
#close-sidebar {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#close-sidebar:hover {
    color: #000;
}



/*----------------page-wrapper----------------*/

.page-wrapper {
    height: 100vh;
}

.page-wrapper .theme {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 4px;
    margin: 2px;
}

.page-wrapper .theme.chiller-theme {
    background: #1e2229;
}
/*----------------toggeled sidebar----------------*/

.page-wrapper.toggled .sidebar-wrapper {
    left: 0px;
}

@media screen and (min-width: 768px) {
    .page-wrapper.toggled .page-content {
        padding-left: 300px;
        padding-right: 40px;
    }
}
/*----------------show sidebar button----------------*/
#show-sidebar {
    position: fixed;
    left: 0;
    top: 10px;
    border-radius: 0 4px 4px 0px;
    width: 35px;
    transition-delay: 0.3s;
}

.page-wrapper.toggled #show-sidebar {
    left: -40px;
}
/*----------------sidebar-wrapper----------------*/

.sidebar-wrapper {
    width: 260px;
    height: 100%;
    background: #ffe0ca;
    max-height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    z-index: 999;
    box-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

.sidebar-wrapper ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-wrapper a {
    text-decoration: none;
}
/*----------------sidebar-content----------------*/

.sidebar-content {
    width: 260px !important;
    max-height: calc(100% - 30px);
    height: calc(100% - 30px);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.sidebar-content.desktop {
    overflow-y: hidden;
}
/*--------------------sidebar-brand----------------------*/

.sidebar-wrapper .sidebar-brand {
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.sidebar-wrapper .sidebar-brand > a {
    text-transform: uppercase;
    font-weight: bold;
    flex-grow: 1;
}

.sidebar-wrapper .sidebar-brand #close-sidebar {
    cursor: pointer;
    font-size: 20px;
}
/*--------------------sidebar-header----------------------*/

.sidebar-wrapper .sidebar-header {
    padding: 20px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic {
    float: left;
    width: 60px;
    padding: 2px;
    border-radius: 12px;
    margin-right: 15px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.sidebar-wrapper .sidebar-header .user-info {
    float: left;
}

.sidebar-wrapper .sidebar-header .user-info > span {
    display: block;
}

.sidebar-wrapper .sidebar-header .user-info .user-role {
    font-size: 12px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status {
    font-size: 11px;
    margin-top: 4px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status i {
    font-size: 8px;
    margin-right: 4px;
    color: #5cb85c;
}
/*-----------------------sidebar-search------------------------*/

.sidebar-wrapper .sidebar-search > div {
    padding: 10px 20px;
}
/*----------------------sidebar-menu-------------------------*/

.sidebar-wrapper .sidebar-menu {
    padding-bottom: 10px;
}

.sidebar-wrapper .sidebar-menu .header-menu span {
    font-weight: bold;
    font-size: 25px;
    padding: 15px 20px 5px 20px;
    display: inline-block;
}

.sidebar-wrapper .sidebar-menu ul li a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    position: relative;
    padding: 8px 30px 8px 20px;
}

.sidebar-wrapper .sidebar-menu ul li a i {
    margin-right: 10px;
    font-size: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
}

.sidebar-wrapper .sidebar-menu .header-menu span img {
    width: 70px;
    height: 70px;
    margin-left: 4rem;
}

.sidebar-wrapper .sidebar-menu ul li a:hover > i::before {
    display: inline-block;
    animation: swing ease-in-out 0.5s 1 alternate;
    
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown > a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    font-style: normal;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    background: 0 0;
    position: absolute;
    right: 15px;
    top: 14px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu ul {
    padding: 5px 0;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li {
    padding-left: 45px;
    padding-top: 5px;
    font-size: 15px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 10px;
    font-size: 8px;
}

.sidebar-wrapper .sidebar-menu ul li a span.label,
.sidebar-wrapper .sidebar-menu ul li a span.badge {
    float: right;
    margin-top: 8px;
    margin-left: 5px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .badge,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .label {
    float: right;
    margin-top: 0px;
}

.sidebar-wrapper .sidebar-menu .sidebar-submenu {
    display: none;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown.active > a:after {
    transform: rotate(90deg);
    right: 17px;
}

/*--------------------------side-footer------------------------------*/

.sidebar-footer {
    position: absolute;
    background: #ff7300;
    width: 100%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 3px solid #e9ecef;
}

.sidebar-footer > a {
    flex-grow: 1;
    text-align: center;
    height: 30px;
    line-height: 30px;
    position: relative;
    color: #ffebcd;
}

.sidebar-footer > a .notification {
    position: absolute;
    top: 0;
}

.sidebar-footer:hover i,
.sidebar-footer:hover a {
    color: #727272;   
}


.badge-sonar {
    display: inline-block;
    background: #980303;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    position: absolute;
    top: 0;
}

.badge-sonar:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #980303;
    opacity: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: sonar 1.5s infinite;
}

/*--------------------------side-header------------------------------*/
/* Styling untuk Sidebar Header Custom */

.sidebar-header-custom {
    padding: 10px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4); 
    color: #ffffff;
}

.sidebar-header-custom a {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 5px; 
    transition: background-color 0.3s ease; 
}

.sidebar-header-custom a:hover {
    background-color: rgba(255, 255, 255, 0.05); 
    border-radius: 5px;
}

.sidebar-header-custom a i {
    margin-right: 8px; 
    color: #ffffff; 
}

.sidebar-header-custom a span {
    color: #ffffff; 
    font-size: 0.9rem;
    flex-grow: 1;
}

.sidebar-user-bottom {
    padding: 15px 20px 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 21rem;
}

.sidebar-user-bottom span {
    font-weight: bold;
    font-size: 1rem;
}

/*--------------------------page-content-----------------------------*/

.page-wrapper .page-content {
    display: inline-block;
    width: 100%;
    padding-left: 0px;
    padding-top: 20px;
}


/* container-fluid-wrapper */
.page-wrapper .page-content > div {
    padding: 0px 20px;
}

.page-wrapper .page-content {
    overflow-x: hidden;
}
/*------scroll bar---------------------*/

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-button {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background: #cecece;
    border: 0px none #ffffff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

::-webkit-scrollbar-thumb:active {
    background: #808080;
}

::-webkit-scrollbar-track {
    background:transparent;
    border: 0px none #ffffff;
    border-radius: 50px;
}

::-webkit-scrollbar-track:hover {
    background: transparent;
}

::-webkit-scrollbar-track:active {
    background: transparent;
}

::-webkit-scrollbar-corner {
    background: transparent;
}


/* table CSS */
.table-responsive {
    margin: 5px 0;
    margin-bottom: 2rem;
}

.table-wrapper {
    min-width: 1000px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 3px;
    box-shadow: 0 1px 1px #0000000d;
}

.table-title {
    padding-bottom: 15px;
    background: #435d7d;
    color: #fff;
    padding: 16px 30px;
    margin: -20px -25px 10px;
    border-radius: 3px 3px 0 0;
}

.table-title h2 {
    margin: 5px 0 0;
    font-size: 24px;
}

.table-title .btn-group {
    float: right;
}

.table-title .btn {
    color: #fff;
    float: right;
    font-size: 13px;
    border: none;
    min-width: 50px;
    border-radius: 5px;
    border: none;
    outline: none !important;
    margin-left: 10px;
}

.table-title .btn i {
    float: left;
    font-size: 21px;
    margin-right: 5px;
}

.table-title .btn span {
    float: right;
    margin-top: 2px;
}

.table-title .btn a {
    float: right;
}

table.table tr th,
table.table tr td {
    border-color: #e9e9e9;
    background-color: white;
    padding: 10px 10px;
    vertical-align: middle;
    font-size: 13px;
}

table.table tr th:first-child {
    width: 60px;
}

table.table tr th:last-child {
    width: 100px;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: #fcfcfc;
}

table.table td:last-child i {
    opacity: 0.9;
    font-size: 22px;
    margin: 0 5px;
}

table.table td {
    font-weight: 500;
    color: #566787;
    text-decoration: none;
    outline: none !important;
}

table.table td b:hover {
    color: #21a6f3;
}

table.table td a.edit {
    color: #ffc107;
}

table.table td a.delete {
    color: #f44336;
}

table.table #tool{
    width: 130px;
    table-layout: fixed;
}

table.table #tools{
    width: 110px;
    table-layout: fixed;
}


/* head-container */
.search{
    float: right;
}

.page-select{
    float: left;
    margin-top: 11px;
    font-size: 13px;
    font-family: "Varela Round";
}

.d-inline {
    font-size: 15px;
    color:#d65a31;
}

.form{
    margin: 20px 0;
}

.warga-search{
    margin-left: 40px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.warga-btn{
    float: left;
}

.warga-btn .btn i {
    float: left;
    margin-right: 5px;
}

.warga-btn .btn span {
    float: right;
    margin-top: 2px;
}

.warga-page{
    font-size: 12px;
}

.centre {
    display: flex;
    align-items: flex-end;
    justify-content: start;   
}

.diagram-left {
    float: left;
}

.diagram-center {
    display: flex;
    align-items: center;
    justify-content: center;  
}

.diagram-right {
    float:right;
}

@media only screen and (max-width:768px) {
    .diagram-right {
        float:left;
    }   
}

@media only screen and (max-width:768px) {
    .diagram-center {
        float:left;
    }   
}

@media only screen and (max-width: 576px) {
    .form-mobile {
        display: block;
        width: 70%;
        height: calc(1.6em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
        margin-right: 10px;
        font-weight: 400;
        line-height: 1.6;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }
    .search {
        float: left;
    } 
}


 /* Login CSS */
 .user_card {
    height: 500px;
    width: 350px;
    margin-top: 15%;
    margin-bottom: auto;
    background: #ebe8e5;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 35px;

}

.brand_logo_container {
    position: absolute;
    height: 120px;
    width: 120px;
    top: 30px;
    border-radius: 50%;
    text-align: center;
}

.brand_logo {
    height: 90px;
    width: 90px;
}

.form_container {
    margin-top: 100px;
}

.login_btn {
    width: 100%;
    background: #c0392b !important;
    color: white !important;
}

.login_btn:hover {
    width: 100%;
    background: #df311e !important;
    color: white !important;
}

.login_btn:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.login_container {
    padding: 0 0;
}

.input-group-text {
    background: #c0392b !important;
    color: white !important;
    border: 0 !important;
    border-radius: 0.25rem 0 0 0.25rem !important;
    display: inline-block;
}

.input_user,
.input_pass:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #c0392b !important;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.col-form-label {
    text-align: right;
}


/* TreeView-Sidebar */
.treeview-animated.w-20 {
    width: 20rem;
    font-size: 14px;
}

.treeview-animated h6 {
    font-size: 1.4em;
}

.treeview-animated ul {
    position: relative;
    list-style: none;
    padding-left: 1em;
}

.treeview-animated-list li {
    padding: 0.2em 0 0 0.2em;
}

.treeview-animated-element {
    padding: 0.2em 0.2em 0.2em 0.6em;
    cursor: pointer;
    transition: all .1s linear;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.treeview-animated-element i{
    color: #ffb076;
    margin-inline-start: 7px;
    line-height: 20px;
    font-size: 17px;
}

.treeview-animated-element a {
    color: #963001;
    font-family: 'Arial';
}

.treeview-animated-element:hover {
    background-color: rgb(140, 185, 255);
}
.treeview-animated-element:hover i,
.treeview-animated-element:hover span {
    color: #727272;
}

.treeview-animated-element.opened {
    color: #f8f9fa;
    background-color: rgb(50, 160, 255);
}

.treeview-animated-element.opened:hover {
    color: #f8f9fa;
    background-color: rgb(50, 160, 255);
}

.treeview-animated-items i {
      color:#306088 ;
      font-size: 16px;
      margin-top: 3px;
}

.treeview-animated-items a {
      color:#963001 ;
      font-family:'Arial';
}

.treeview-animated-items .nested::before {
    content: "";
    display: block;
    position: absolute;
    background-color: grey;
    left: 5px;
    width: 5px;
    height: 100%;
}

.treeview-animated-items .closed {
    display: block;
    padding: 0.2em 0.2em 0.2em 0.4em;
    margin-right: 0;
    border-top-left-radius: 0.3em;
    border-bottom-left-radius: 0.3em;
}

.treeview-animated-items .closed:hover {
    background-color: rgb(140, 185, 255);
}

.treeview-animated-items .open {
    transition: all .1s linear;
    background-color: rgb(50, 160, 255);
}

.treeview-animated-items .open span {
    color: #f8f9fa;
}

.treeview-animated-items .open:hover {

    color: #f8f9fa;
    background-color: rgb(50, 160, 255);
}

.treeview-animated ul li .open div:hover {
    background-color: rgb(50, 160, 255);
}

.treeview-animated-items .closed .fa-angle-right {
    transition: all .1s linear;
    font-size: .8rem;
}

.closed .fa-angle-right.down {
    position: relative;
    color: #f8f9fa;
    transform: rotate(90deg);
}

.icon-width {
    width: 23px;
    margin-bottom: 5px;
}


/* Tree Diagram */
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

.tree {
    height: auto;
    position: relative;
    display:table;
    text-align: right;
    margin: auto;
}

.tree ul {
    padding-top: 20px;
    width: 100%;
    display: table;
    text-align: center;
    position: relative;
    transition: .5s;
}

.tree li {
    display: table-cell;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 10px 5px;
    transition: .5s;
}

.tree li::before, .tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #ccc;
    width: 51%;
    height: 10px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}

.tree li:only-child::after, .tree li:only-child::before {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

.tree li:first-child::before, .tree li:last-child::after {
    border: 0 none;
}

.tree li:last-child::before {
    border-right: 1px solid #ccc;
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

.tree li a {
    border: 1px solid #ccc;
    padding: 6px 8px;
    display: inline-grid;
    border-radius: 5px;
    text-decoration: none;
    transition: .3s;
    background: #fff;
}

.tree li a img {
    width: 40px;
    height: 40px;
    margin-bottom: 6px !important;
    border-radius: 50%;
    margin: auto;
}

.tree li a span {
    color: #444;
    font-family: 'Arial';
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

/* warna border */
.tree li a.status-y { border-color: #2ee17a !important; }
.tree li a.status-n { border-color: red !important; }
.tree li a.status-p { border-color: orange !important; }
.tree li a.status-default { border-color: #ccc !important; }


/* Hover efek */
.tree li a:hover,
.tree li a:hover span,
.tree li a:hover+ul li a {
    background: #e6f3ff;
    color: #000;
    border: 1px solid #94a0b4;
}

.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before {
    border-color: #94a0b4;
}


/* Form */
#myForm {
    background-color: white;
    padding-left: 5rem;
    padding-right: 5rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
    box-shadow: 0px 1px 3px 0px rgb(0,0,0,0.2);
}
.block-heading {
    padding-top: 50px;
    margin-bottom: 40px;
    text-align: center;
}


/* Detail */
#myProfile {
    background-color: #fff!important;
    padding-left: 130px;
    padding-right: 130px;
    padding-top: 50px;
    box-shadow: 0px 1px 3px 0px rgb(0,0,0,0.2);
    padding-bottom: 30px;
    margin-bottom: 5rem;
}

.element-wrapper {
    min-width: 1000px;
    background: #f5f5f5;
    padding: 20px 25px;
    border-radius: 3px;
    box-shadow: 0 1px 1px #0000000d;
}

#myModalProfile{
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 50px;
    padding-bottom: 30px;
}

@media only screen and (max-width:786px) {
    #myModalProfile{
        background-color: #fff!important;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 50px;
        padding-bottom: 30px;
    }

}

.element-wrapper {
    min-width: 1000px;
    background: #f5f5f5;
    padding: 20px 25px;
    border-radius: 3px;
    box-shadow: 0 1px 1px #0000000d;
}

#myHeaders {
    font-family: 'Courier New';
    display: flex;
    justify-content: flex-end;
    border-bottom: 0.5px solid;
    margin-bottom: 2rem;
}

#myKK {
    background-color: white;
    padding: 3rem;
    padding-top: 0rem;
}

#myKKS {
    font-family: 'Courier New';
    display: flex;
    justify-content: center;
    padding: 1rem;
    padding-left: 4rem;
    padding-right: 4rem;
    margin-top: 2rem;
}

.card-img {
    width: 10rem;
    margin-bottom:48px;
    margin-left: 5px;
    margin-right: 5px;
    color: #1562b9;
    border: 1px solid #d3d3d3;
}

.list-style9 {
    list-style: none;
    padding: 0;
}

@media only screen and (max-width:768px) {
    .list-style9 {
        font-size: 12px;
        list-style: none;
        padding: 0;
    }
}

.list-style9 li {
    position: relative;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.list-style9 li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.text-sky {
    color: #02c2c7;
}

.text-orange {
    color: #e95601;
}

.text-green {
    color: #5bbd2a;
}

.text-yellow {
    color: #f0d001;
}

.text-pink {
    color: #ff48a4;
}

.text-purple {
    color: #9d60ff;
}

.text-lightred {
    color: #ff5722;
}


/* highcharts */
.highcharts-figure,
.highcharts-data-table table {
  min-width: 320px;
  max-width: 800px;
  margin: 1em auto;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}

input[type="number"] {
  min-width: 50px;
}


/* Modal */
.modal-header {
    background: #f1841b;
}

.modal-title {
    color: white;
}

.modal-content {
    border-radius: 0.5rem;
}


/* Bootstrap 5  */
.form-group {
    margin-bottom: 1rem;
}

.form-control-file, .form-control-range {
    display: block;
    width: 100%;
}

.pagination {
    --bs-pagination-padding-x: 0.5rem;
    --bs-pagination-padding-y: 0.25rem;
    --bs-pagination-font-size: 0.7875rem;
    --bs-pagination-border-radius: var(--bs-border-radius-sm);
}

.btn-primary {
    --bs-btn-color:white;
}

.btn-success {
    --bs-btn-color: white;
}

@media(min-width: 576px){
    .col-sm {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
    .col-sm-6 {
        flex: 0 0 auto;
        max-width: 50%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        max-width: 33.33333333%;
    }
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.mr-sm-2, .mx-sm-2 {
    margin-right: 0.5rem !important;
}


/* cards-index */
.card-counter{
    box-shadow: 0px 8px 15px #c5c5c5;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 5px;
    padding: 20px 12px;
    background-color: #fff;
    height: 180px;
    border-radius: 5px;
    transition: .3s linear all;
}

@media only screen and (max-width: 768px) {
    .card-counter {
        box-shadow: 1px 1px 1px #c5c5c5;
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 5px;
        padding: 20px 12px;
        background-color: #fff;
        height: 180px;
        border-radius: 5px;
        transition: .3s linear all;
    }
}

.card-counter:hover{
    box-shadow: 4px 4px 20px #DADADA;
    transition: .3s linear all;
}

.card-counter.primary{
    background-color: #d8e8f5;
    color: #4e99df;
}

.card-counter.danger{
    background-color: #fddddc;
    color: #f27474;
}  

.card-counter.success{
    background-color: #dce9e1;
    color: #38c172;
}  

.card-counter.info{
    background-color: #ffe0ca;
    color: orange;
}  

.cc-primary {
    width: 40px;
    margin-bottom: 56px;
    color: #2778c4;
}

.cc-danger {
    width: 40px;
    margin-bottom: 56px;
    color: #e3342f;
}

.cc-success {
    width: 40px;
    margin-bottom: 56px;
    color: #1da556;
}

.cc-info {
    width: 40px;
    margin-bottom: 56px;
    color: #ff7300;
}

.card-counter .count-numbers{
    position: absolute;
    right: 35px;
    top: 20px;
    font-size: 20px;
    display: block;
}

.card-counter .count-name{
    position: absolute;
    right: 35px;
    top: 65px;
    font-style: italic;
    opacity: 0.5;
    display: block;
    font-size: 16px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1rem;
    box-sizing: border-box;
    margin: -12px;
    margin-top: 0px;
    border-top: 1px solid rgba(33, 40, 50, 0.125);
    background-color: rgba(0, 0, 0, 0.03);   
}

.card-footer a{
    text-decoration: underline;
    display: block;
    color: #767676;
}
  
.card-footer a:hover{
    display: block;
    color: #b3aeae; 
}

.card-img, .card-img-top {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}


/* Card-Album */
.card {
    position: relative;
    width: 7rem;
    padding-left: 0;
    padding-right: 0;
    min-height: 17rem;
    margin-left: 7px;
    margin-bottom: 7px;
    color: #9b4e00;
    border:1px solid #c0c0c0;
    --bs-card-bg:white;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 5px -4px #c5c5c5;
}

.card-body {
    font-size: 12px;
    text-align:center;
    margin-left: -10px;
    margin-right: -10px;
    padding: 1.25rem;
}

.card-text {
    font-size: 12px;
    font-weight: 200;
    background-color: #f9efe8;
    border-radius: 100px;
}

@media only screen and (max-width:768px){
    .card {
        width: 7rem;
        margin-left: 7px;
        margin-bottom: 5px;
        color: #9b4e00;
        border:1px solid #c0c0c0
    }

    .card-body {
        font-size: 12px;
        text-align:center;
        margin-left: -10px;
        margin-right: -10px;
    }
}

.duaBaris {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-sizing: border-box;
}

.card-text-footer {
    font-size: 12px;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
    box-sizing: border-box;
    border-top: 1px solid rgba(33, 40, 50, 0.125);
    background-color: rgba(0, 0, 0, 0.03);   
}

.body-text {
    font-size: 12px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
}

/* Card-KK */
/* Warna dasar per status */
.card.aktif {
    background-color: #e7f8ec;
    border: 1px solid #28a745;
}

.card.almarhum {
    background-color: #f2f2f2;
    border: 1px solid #dc3545;
}

.card.pindah {
    background-color: #fff3e0;
    border: 1px solid #ff9800;
}

/* Badge status di atas foto */
.status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 8px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
}
.card.aktif .status-badge {
    background-color: #00bf2c66;
}
.card.almarhum .status-badge {
    background-color: #ff00186b;
}
.card.pindah .status-badge {
    background-color: #ff980080;
    color: #000;
}

.card-text-kk {
    background-color: #f9efe8;
    border: 1px solid #c0c0c0;
    border-radius: 100px;
}

/* row card-image */
.row-content {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}


/* button-color */
#btn-edit {
    color: #ffc107;
    background: transparent;
    border: transparent;
}

#btn-delete {
    color: #f44336;
    background: transparent;
    border: transparent;
}

#btn-detail {
    color: #0084ff;
    background: transparent;
    border: transparent;
}


/* button-custom */
.bttn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    .bttn {
        transition: none;
    }
}

.bttn-sm, .bttn-group-sm > .bttn {
    padding: 0.25rem 0.5rem;
    font-size: 0.7875rem;
    line-height: 1.5;
    border-radius: 1.2rem;
}

.bttn-info {
    color: #105ead;
    background-color: #d1eaff;
    border-color: #b5d0e7;
}

.bttn-info:hover {
    color: #105ead;
    background-color: #b5dbf9;
    border-color: #b5dbf9;
}

.bttn-danger {
    color: #951511;
    background-color: #fde1e1;
    border-color: #ffb5b5;
}

.bttn-danger:hover {
    color: #951511;
    background-color: #fbb6b4;
    border-color: #fbb6b4;
}

.bttn-success {
    color: #016c2f;
    background-color: #d4eddf;
    border-color: #8dd5ac;
}

.bttn-success:hover {
    color: #016c2f;
    background-color: #b1edca;
    border-color: #b1edca;
}

.bttn-outline {
    color: #016c2f;
    background-color: transparent;
    border-color: #8dd5ac;
}

.bttn-outline:hover {
    color: #016c2f;
    background-color: transparent;
    border-color: #b1edca;
}


/* kk-button */
.kk-btn-left {
    display: flex; 
    flex-direction:row; 
    justify-content:flex-start;
}
.kk-btn-right {
    display: flex; 
    flex-direction:row; 
    justify-content:flex-end;
}
@media only screen and (max-width: 768px) {
    .kk-btn-right {
        display: flex; 
        flex-direction:row; 
        justify-content:flex-start;
        padding-top: 10px;
        margin-left: -15px;
    }   
}


/* page-preloader */
.loader {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s, visibility 1s;
}
.loader--hidden {
    opacity: 0;
    visibility: hidden;
}


/* Element a secara umum */
a {
    text-decoration: none;
    color:#b85900;
}
a:hover {
    text-decoration: none;
    color: #e77325;
}
