/* Background Div */
.bg-div {
    background: linear-gradient(90deg, rgba(138,40,218,1) 0%, rgba(47,41,190,1) 53%, rgba(0,211,255,1) 100%);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
/* End Background Div */

/* Opsi Cetak */
@media print {

}
/* end Opsi Cetak */

/* Filter Cari */
.cari {
    background-image: url('../img/home/searchicon.png');
    background-size: 20px;
    background-position: 10px;
    background-repeat: no-repeat;
    padding-left: 45px;
    border: 1px solid #B2AEAE;
    height: 37px;
}
/* End Filter Cari */

/* Mengubah tinggi input select2 */
.select2-container .select2-selection--single {
    height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}
/* End Mengubah tinggi input select2 */

/* Icon Pointer */
.pointer {
    cursor: pointer;
}
/* End Icon Pointer */

/* Fungsi Button */
.modal-close {
    background-color: #929090;
}
.button-sm {
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 16px;
    padding: 10px 20px;
    margin: 0 10px 0 10px;
}
.button-33 {
    box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset,rgba(44, 187, 99, .15) 0 1px 2px,rgba(44, 187, 99, .15) 0 2px 4px,rgba(44, 187, 99, .15) 0 4px 8px,rgba(44, 187, 99, .15) 0 8px 16px,rgba(44, 187, 99, .15) 0 16px 32px;
    cursor: pointer;
    font-family: CerebriSans-Regular,-apple-system,system-ui,Roboto,sans-serif;
    text-align: center;
    text-decoration: none;
    transition: all 250ms;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.button-33:hover {
    box-shadow: rgba(44,187,99,.35) 0 -25px 18px -14px inset,rgba(44,187,99,.25) 0 1px 2px,rgba(44,187,99,.25) 0 2px 4px,rgba(44,187,99,.25) 0 4px 8px,rgba(44,187,99,.25) 0 8px 16px,rgba(44,187,99,.25) 0 16px 32px;
    transform: scale(1.05) rotate(-1deg);
}
/* End Fungsi Button */

/* Lebar On Mobile */
@media (min-width: 768px) {
    .w-div {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .w-div {
        width: 600px;
    }
}
/* End Lebar On Mobile */

/* Fungsi Modal */
#modals-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 999999;
    &.btn_error {
        transform: scaleY(.01) scaleX(0);
        animation: unfoldIn .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
        .modals-background {
            .modal {
                transform: scale(0);
                animation: zoomIn .5s .8s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
            }
        }
        &.out {
            transform: scale(1);
            animation: unfoldOut .5s .3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
            .modals-background {
                .modal {
                    animation: zoomOut .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
                }
            }
        }
    }
}

.modals-background {
    display: table-cell;
    background: rgba(0,0,0,.8);
    text-align: center;
    vertical-align: middle;
    .modals {
        background: white;
        padding: 30px;
        display: inline-block;
        border-radius: 3px;
        font-weight: 300;
        position: relative;
        h2 {
            font-size: 25px;
            line-height: 25px;
            margin-bottom: 15px;
        }
        p {
            font-size: 18px;
            line-height: 22px;
        }
    }
}

@keyframes unfoldIn {
    0% {
        transform: scaleY(.005) scaleX(0);
    }
    50% {
        transform: scaleY(.005) scaleX(1);
    }
    100% {
        transform: scaleY(1) scaleX(1);
    }
}

@keyframes unfoldOut {
    0% {
        transform: scaleY(1) scaleX(1);
    }
    50% {
        transform: scaleY(.005) scaleX(1);
    }
    100% {
        transform: scaleY(.005) scaleX(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

.select2-container--open {
    z-index: 9999999;
}
/* End Fungsi Modal