/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/

/* Timeline holder */
ul.timeline {
    list-style-type: none;
    position: relative;
	padding: .1em 0 .1em 1.5rem!important;
}

 /* Timeline vertical line */
ul.timeline:before {
    content: ' ';
    background: #fff;
    display: inline-block;
    position: absolute;
    left: 16px;
    width: 4px;
    height: 100%;
    z-index: 400;
    border-radius: 1rem;
}

li.timeline-item {
    margin: 20px 0;
}

/* Timeline item arrow */
.timeline-arrow {
    border-top: 0.5rem solid transparent;
    border-right: 0.5rem solid #fff;
    border-bottom: 0.5rem solid transparent;
    display: block;
    position: absolute;
    left: 2rem;
}

/* Timeline item circle marker */
li.timeline-item::before {
    content: ' ';
    background: #ddd;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #fff;
    left: 11px;
    width: 14px;
    height: 14px;
    z-index: 400;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/*

* Override Pages default styles or create your own styles here

*/
.jumbotron h1.large-demo-text {
	font-size: 150px;
}

.icon-text-search {
	font-size: 42px;
	width: 150%;
}

.container-kategori-menu {
	cursor: pointer;
	border: 1.8px solid red;
	border-radius: 4px;
	background: white;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 5px;
}

.container-kategori-menu:hover {
	background-color: red;
}

.container-kategori-menu:hover a {
	color: white !important;
}

.content-kategori-menu a {
	font-family: "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	text-transform: uppercase;
	flex: 0 0 150px;
	font-size: 16px;
	color: red !important;
	text-align: center;
}

#top-kategori {
	width: 4px;
	color: red;
	font-family: "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	font-weight: bolder;
	font-size: 12px;
    line-height: 1.5;
	text-transform: uppercase;
}

table.dataTable thead.thead-dark .sorting_asc, table.dataTable thead.thead-dark .sorting_desc, table.dataTable thead.thead-dark .sorting_disabled {
  color:white!important;
}

table.dataTable thead.thead-dark .sorting:after, table.dataTable thead.thead-dark .sorting_asc:after, table.dataTable thead.thead-dark .sorting_asc:before, table.dataTable thead.thead-dark .sorting_desc:after, table.dataTable thead.thead-dark .sorting_desc:before {
  background-color: white;
}

.dataTables_length, .dataTables_info {
  margin-left:0!important;
  margin-right:auto!important;
  padding: 0!important;
}

.dataTables_wrapper .dataTables_paginate, .dataTables_wrapper .dataTables_info {
  margin-top:0!important;
}

.dataTables_wrapper .dataTables_paginate ul>li>a {
  opacity: 1;
}
.dataTables_wrapper .dataTables_paginate ul>li.active>a {
  color:#007be8!important;
}
table.table-bordered.dataTable tbody th, table.table-bordered.dataTable tbody td {
  border-bottom-width: 1px;
}

.table-compact .table tbody tr td {
    padding: 10px !important;
}

.modal-xl {
  min-width: 90%!important;
}

.text-success {
	color: #28a745!important;
}

.btn-success {
	background-color:#28a745;
    color: #fff;
	border-color: #28a745;
}

.btn-success:not(:disabled):not(.disabled):active {
	background-color: #048100!important;
}

.btn-outline-success {
	border-color: #28a745;
}

.btn-outline-success, .btn-outline-success:focus {
	border-color: #28a745;
	color: #28a745;
}

.btn-outline-success.active, .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success.active:focus, .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled):active:hover, .btn-outline-success .show .dropdown-toggle.btn-outline-success {
	color: #28a745;
	background-color: rgb(40, 167, 69, 0.4);
}

.badge {
	padding-top: 5px;
}

.badge-primary {
	background-color: #007be8;
    color: #fff;
}

.badge-warning {
	background-color: #dca500;
}

.badge-default {
	background-color: #343a40;
	color: #fff;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.border-right-danger {
	border-right-color: #ea2c54 !important;
}

.border-right-warning {
	border-right-color: #fed76e !important;
}

.border-right-success {
	border-right-color: #28a745 !important;
}

.border-right-white {
	border-right-color: #fff !important;
}

ul.parsley-errors-list li {
	padding: 0!important;
}

.form-control[readonly] {
    background-color: unset!important;
	color:#061223;
    opacity: 1;
}

.wide-select2 > .select2-container {
	display: block!important;
	width: 100%!important;
}

.leaflet-top, .leaflet-bottom {
    z-index: 400!important;
}

.modal .close {
	top: 25px!important;
}

.dataTables_wrapper .dataTables_paginate, .dataTables_wrapper .dataTables_info {
    margin-top: 0!important;
    margin-left: 5px!important;
}

.input-group .input-group-append button {
	width: 35px!important;
	height: 35px!important;
	top: 20px;
}

.input-group.wide-select2 > .select2-container {
	width: calc(100% - 35px)!important;
}

thead.thead-search tr th {
	background-color: #f4f4f4;
}

.chat-view .chat-bubble.from-system {
    color: #061223;
    opacity: 0.5;
    background: #EEE;
    position: relative;
    text-align: center;
	max-width: 100%!important;
    border: 1px solid #EEE;
	font-size: .7em;
	margin-top: 15px!important;
}

/* tracking tahapan */
.steps .step {
    display: block;
    width: 100%;
    margin-bottom: 35px;
    text-align: center
}

.steps .step .step-icon-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 30px;
    text-align: center
}

.steps .step .step-icon-wrap::before,
.steps .step .step-icon-wrap::after {
    display: block;
    position: absolute;
    top: 50%;
    width: 50%;
    height: 3px;
    margin-top: -1px;
    background-color: #e1e7ec;
    content: '';
    z-index: 1
}

.steps .step .step-icon-wrap::before {
    left: 0
}

.steps .step .step-icon-wrap::after {
    right: 0
}

.steps .step .step-icon {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    border: 1px solid #e1e7ec;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #374250;
    font-size: 13px;
    line-height: 31px;
    z-index: 5
}

.steps .step .step-title {
    margin-top: 16px;
    margin-bottom: 0;
    color: #606975;
    font-size: 13px;
    font-weight: 500;
}

.steps .step:first-child .step-icon-wrap::before {
    display: none
}

.steps .step:last-child .step-icon-wrap::after {
    display: none
}

.steps .step.completed .step-icon-wrap::before,
.steps .step.completed .step-icon-wrap::after {
    background-color: #0da9ef
}

.steps .step.completed .step-icon {
    border-color: #0da9ef;
    background-color: #0da9ef;
    color: #fff
}

@media (max-width: 576px) {
    .flex-sm-nowrap .step .step-icon-wrap::before,
    .flex-sm-nowrap .step .step-icon-wrap::after {
        display: none
    }
}

@media (max-width: 768px) {
    .flex-md-nowrap .step .step-icon-wrap::before,
    .flex-md-nowrap .step .step-icon-wrap::after {
        display: none
    }
}

@media (max-width: 991px) {
    .flex-lg-nowrap .step .step-icon-wrap::before,
    .flex-lg-nowrap .step .step-icon-wrap::after {
        display: none
    }
}

@media (max-width: 1200px) {
    .flex-xl-nowrap .step .step-icon-wrap::before,
    .flex-xl-nowrap .step .step-icon-wrap::after {
        display: none
    }
}

.bg-faded, .bg-secondary {
    background-color: #f5f5f5;
}

.select2-container .select2-selection .select2-selection__rendered .select2-selection__clear {
    right: 2px !important;
    color: var(--danger) !important;
}

.icon-thumbnail {
    margin-right: 10px !important;
    left: unset !important;
    right: 0 !important;
    float: unset !important;
    position: absolute !important;
    z-index: -1;
}

.page-sidebar .sidebar-menu .menu-items>li>a>.arrow {
    padding-right: 0px !important;
}

.page-sidebar .sidebar-menu .menu-items li>a {
    width: 95% !important;
}

.page-sidebar .sidebar-menu .menu-items>li ul.sub-menu {
    padding: 0 !important;
    margin: 0 !important;
}

.table tbody tr td {
    padding: 10px !important;
}

/* Form Hide Check */

.form-hide-check input {
    position: absolute;
    opacity: 0;
    z-index: -999;
}

.form-hide-check label {
    cursor: pointer;
}

.form-hide-check input:not(:checked) + label {
    color: rgb(189, 189, 189);
}

.form-hide-check.complete input:checked + label {
    color: #007be8;
}

.form-hide-check.success input:checked + label {
    color: #28a745;
}

.form-hide-check.danger input:checked + label {
    color: #ea2c54;
}

/* Card */

.card .card-header {
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;

    .card-title {
        font-family: "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
        font-size: unset;
    }
}

/* Sidebar */

.menu-pin .icon-thumbnail, .sidebar-visible .icon-thumbnail {
    right: 0!important;
}

.icon-thumbnail {
    right: 15px !important;
}

body.mobile .page-sidebar .sidebar-menu .menu-items li:hover {
    .icon-thumbnail {
        color: white !important;
    }

    a {
        color: black;
    }
}

.page-sidebar {
    .icon-thumbnail {
        z-index: 0;
        pointer-events: none;
    }

    a, button, a:visited, a:focus, button:visited, button:focus, .icon-thumbnail {
        color: black;
    }
    
    li.active, li.current li.current {
        & > a, & > button, & > a:visited, & > a:focus, & > button:visited, & > button:focus {
            background-color: hsl(0, 90%, 31%) !important;
            color: white !important;
        }

        .icon-thumbnail {
            color: white !important;
        }
    }
    
    li:hover {
        & > a, & > button, & > a:visited, & > a:focus, & > button:visited, & > button:focus {
            background-color: #a25d65 !important;
            color: white !important;
        }

        .icon-thumbnail {
            color: white !important;
        }
    }

    .sidebar-menu .menu-items > li ul.sub-menu > li {
        padding: 0;

        a, button {
            padding: 5px 20px 5px 40px;
        }
    }
}

/* Mini Logo */

@media only screen and (min-width: 980px) {
    body.menu-pin {
        .mini-logo {
            margin-left: 177px;
        }
    }
}