/*
 * Custom CSS
 */
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

:root {
    --color-primary: #ffa132 !important;
    --color-success: #3fc28a !important;
    --color-warning: #efbe12 !important;
    --color-info: #3f83c2 !important;
    --color-danger: #fe4f4f !important;
    --color-grey: #c6c6c6 !important;
    --color-white: #ffffff !important;
    --color-black: #353535 !important;
    --color-placeholder: #f2f2f2;
    --background-primary: rgb(255, 161, 50, 0.2) !important;
    --bs-list-group-active-bg: #ffa132 !important;
    --bs-border-width: 1px !important;
    --bs-list-group-border-width: var(--bs-border-width) !important;
    --bs-border-radius: 10px !important;
    --bs-border-radius-sm: 5px !important;
    --bs-link-color: #c6c6c6;
    --bs-primary-rgb: var(--color-primary);
    --progress-duration: 1s;
    --progress-height: 2.5px;
    --progress-color: rgb(35, 163, 255);
    --progress-color-ending: rgba(35, 163, 255, 0.2);
    --progress-shadow: 0 0 3px 2px rgba(0, 148, 255, 0.23);
}

.bg-placeholder {
    background-color: var(--color-placeholder);
}

ol.breadcrumb {
    margin: 0.5rem !important;
}
nav.breadcrumb {
    background-color: #e8e8e8;
    border-radius: 5px;
}

.breadcrumb .breadcrumb-item.active {
    background-color: transparent !important;
}

.active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.menu-sidebar.active,
.menu-sidebar.active *,
.menu-sidebar.active:hover,
.menu-sidebar.active:hover * {
    color: var(--color-white);
}

.tab-pane.active {
    background-color: transparent !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.btn-primary,
.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}
.btn-success,
.btn-success:hover {
    background-color: var(--color-success);
    color: var(--color-white);
    border: 1px solid var(--color-success);
}

.btn-sm {
    border-radius: var(--bs-border-radius-sm);
}

.placeholder {
    min-height: 1.6em !important;
}

.border-none{
    border: none !important;
}

.text-overflow-elipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container--default .select2-selection--multiple {
    border: solid var(--bs-border-color) 1px;
    outline: 0;
    border-radius: 10px !important;
    font-size: 10px;
}

.select2-container .select2-search--inline .select2-search__field {
    font-size: 12px !important;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--color-white);
}
/* h */
p,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
}

.fs-7 {
    font-size: 10px;
}
.fs-8 {
    font-size: 8px;
}

/* form */
/* color */
.color-primary {
    color: var(--color-primary) !important;
}
.color-danger {
    color: var(--color-danger) !important;
}
.color-success {
    color: var(--color-success) !important;
}
.color-white {
    color: var(--color-white) !important;
}
.color-info {
    color: var(--color-info) !important;
}
.color-grey {
    color: var(--color-grey) !important;
}
.background-start {
    background-color: var(--background-primary);
}
.bg-success-2 {
    background-color: var(--color-success);
}
.modal-background {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.shadow-right {
    box-shadow: 10px 0 5px -2px inset rgba(0, 0, 0, 0.3) !important;
    -webkit-box-shadow: 10px 0px 5px -2px inset rgba(0, 0, 0, 0.3) !important;
    -moz-box-shadow: 10px 0px 5px -2px inset rgba(0, 0, 0, 0.3) !important;
}
.shadow-left {
    box-shadow: -10px 0 5px -2px inset rgba(0, 0, 0, 0.3) !important;
    -webkit-box-shadow: -10px 0px 5px -2px inset rgba(0, 0, 0, 0.3) !important;
    -moz-box-shadow: -10px 0px 5px -2px inset rgba(0, 0, 0, 0.3) !important;
}
/* sidebar */
.collapsed {
    width: 115px !important;
}
.sidebar {
    width: 280px;
    background-color: #fafafb !important;
    border-right: 1px solid var(--color-primary);
    transition: all ease-in 0.2s;
    -webkit-transition: all ease-in 0.2s;
    -moz-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
}
.sidebar.collapsed {
    transition: all ease-out 0.2s;
    -webkit-transition: all ease-out 0.2s;
    -moz-transition: all ease-out 0.2s;
    -ms-transition: all ease-out 0.2s;
    -o-transition: all ease-out 0.2s;
}
.nav-link {
    display: flex !important;
    align-items: center;
}
.nav-link i {
    color: var(--color-primary);
    margin-right: 5px;
}
.pointer {
    cursor: pointer !important;
}

.sidebar #menuTrigger i.bi-list {
    display: none;
}

.sidebar.collapsed #menuTrigger i.bi-list {
    display: inline-block;
}
.sidebar.collapsed #menuTrigger i.bi-arrow-left {
    display: none;
}
.sidebar.collapsed .menu-label {
    display: none !important;
}
.sidebar.collapsed #menuLabelContent {
    display: none !important;
}
.nav-link span {
    color: var(--color-grey);
    font-size: small !important;
}
.menu-sidebar {
    font-size: small;
    width: 100%;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    border-radius: var(--bs-border-radius);
    border: none;
    -webkit-border-radius: var(--bs-border-radius);
    -moz-border-radius: var(--bs-border-radius);
    -ms-border-radius: var(--bs-border-radius);
    -o-border-radius: var(--bs-border-radius);
    color: var(--color-grey);
}
.menu-sidebar:hover {
    background-color: var(--background-primary);
    width: 100%;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    color: var(--color-primary);
}
.menu-sidebar:hover span {
    color: var(--color-primary);
}

.sub-menu-sidebar{
    -webkit-border-radius: var(--bs-border-radius);
    -moz-border-radius: var(--bs-border-radius);
    -ms-border-radius: var(--bs-border-radius);
    -o-border-radius: var(--bs-border-radius);
}


.sub-menu-sidebar:hover{
    background-color: var(--color-white);
}
.sub-menu-sidebar:hover span{
    color: var(--color-primary) !important;
}

.fs-7 {
    font-size: 0.8rem !important;
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: absolute;
}

.form-select,
select,
select:focus,
select.form-control:focus,
textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
[type="text"].form-control:focus,
[type="password"].form-control:focus,
[type="email"].form-control:focus,
[type="tel"].form-control:focus,
[contenteditable].form-control:focus {
    box-shadow: inset 0 0px 0 #ddd !important;
}

a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}



/* dropdown */

.dropdown-toggle::after {
    display: none;
}
.dropdown-menu {
    border: 1px solid var(--background-primary);
    z-index: 9999 !important;
}
.dropdown-account {
    width: 260px !important;
}
.dropdown-notification {
    width: 400px !important;
}

.rotate {
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}

.rotate.down {
    -moz-transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
}

/* notifications */

.container-notification {
    height: 300px !important;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    padding: 0px 5px;
}

.flex {
    display: flex;
}

.flex-column{
    flex-direction: column;
}

.content-notification {
    width: 100%;
    height: fit-content !important;
    margin-bottom: 5px !important;
    padding: 10px 15px !important;
    cursor: pointer;
    border-radius: 10px !important;
    -webkit-border-radius: 10px !;
    -moz-border-radius: 10px !;
    -ms-border-radius: 10px !;
    -o-border-radius: 10px !;
}
.content-notification:hover {
    background-color: var(--background-primary);
}
.content-title {
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
}

/* frame */

.frame-photo {
    padding: 15px !important;
    border: 1px solid var(--color-grey);
    border-style: dashed;
}

.h-200 {
    height: 200px !important;
}

.h-320 {
    height: 320px !important;
}

.h-100-vh {
    height: 100vh;
    overflow-y: scroll;
}

.h-80-vh {
    height: 80vh;
    overflow-y: scroll;
}

.h-70-vh {
    height: 70vh;
    overflow-y: scroll;
}

/* button */

.btn-info {
    color: var(--color-white);
}

/* calender */

#calendar a {
    text-decoration: none !important;
}

.fc-col-header-cell-cushion {
    color: var(--color-primary);
}
.fc-daygrid-day-number {
    color: var(--color-black);
}

.fc .fc-button-primary,
.fc .fc-button-primary:not(:disabled):active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}
.fc .fc-button-primary:hover {
    background-color: var(--color-white);
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.fc .fc-button-primary:disabled {
    background-color: var(--color-grey);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.bg-grey {
    background-color: var(--color-grey);
}

.fc .fc-button-primary:focus {
    box-shadow: rgba(255, 207, 76, 0.5) 0px 0px 0px 0.2rem !important;
}
.fc .fc-highlight {
    background: var(--background-primary);
}

.fc .fc-day {
    padding: 5px !important;
}

.fc .fc-day:hover {
    box-shadow: rgba(255, 207, 76, 0.5) 0px 0px 0px 0.2rem !important;
}

.fc-event-title-container {
    padding: 3px !important;
    align-items: center;
    justify-content: center;
}

.fc-event-title {
    padding: 0;
    margin: 0;
    font-size: 10px !important;
}

.fc-toolbar {
    font-size: small !important;
}

.display-inline-block {
    display: inline-block;
}

.position-absolute {
    position: absolute;
}

/* table */
.table-fixed-header {
    overflow: auto;
    height: 100%;
}
.table-fixed-header thead th {
    position: sticky;
    top: 0;
}
.table-fixed {
    table-layout: fixed;
}
.table-scroll {
    position: relative;
    max-width: 77vw !important;
    margin: auto;
    overflow: scroll;
}
.table-scroll tr > th:first-child,
.table-scroll tr > td:first-child {
    position: sticky;
    left: 0;
}

.table-sticky {
    position: sticky;
}

.l-100 {
    left: 100px;
}
.l-200 {
    left: 200px;
}
.l-300 {
    left: 300px;
}
.l-400 {
    left: 400px;
}

.position-absolute {
    position: absolute;
}

.form-check {
    min-height: 0 !important;
}

/* loader */

.loader-line {
    width: 100%;
    height: 3px;
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    margin: 0 0;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.form-control {
    border-radius: var(--bs-border-radius);
}

.loader-line:before {
    content: "";
    position: absolute;
    left: -50%;
    height: 3px;
    width: 40%;
    background-color: coral;
    -webkit-animation: lineAnim 0.5s linear infinite;
    -moz-animation: lineAnim 0.5s linear infinite;
    animation: lineAnim 0.5s linear infinite;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

@keyframes lineAnim {
    0% {
        left: -40%;
    }
    50% {
        left: 20%;
        width: 80%;
    }
    100% {
        left: 100%;
        width: 100%;
    }
}

/* card dashboards */
.card-dashboard {
    border: 1px solid var(--color-primary);
    background-color: var(--background-primary);
}
.card-dashboard:hover {
    background-color: #fff;
    box-shadow: none !important;
}

/* card acara dashboard */
#container-acara {
    max-height: 70vh;
    overflow-y: auto;
}
