body, h1, h2, h3, h4, h5, h6, p, span, label, button{
    font-family: "Poppins", serif !important;
}

a{
    text-decoration: none;
}

.btn{
    min-height: 36px;
    line-height: 2.2;
}

.btn-icon-edit{
    color: #004dcf !important;
}

.btn-icon-delete{
    color: #d00000 !important;
}

.btn-icon-send{
    color: #004531 !important;
}

.bg-primary, 
.btn-primary {
    background-color: #004dcf;
}

.bg-warning, 
.btn-warning {
    background-color: #ffb744;
}

.bg-success, 
.btn-success {
    background-color: #004531;
}

.bg-danger, 
.btn-danger {
    background-color: #d00000;
}

.card-footer{
    border-top: 1px #b3cad6 solid !important;
}

.form-control {
    box-shadow: none !important;
    min-height: 36px;
    line-height: 2.2;
}

/* LOGIN */

.bg-login {
    background: rgb(58,2,151) !important;
    background: linear-gradient(#3a0297, #ae0081) !important;
}

.col-box-content-login {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.col-box-content-login .card {
    background: rgba(255, 255, 255, 0.42);
    width: 100%;
    max-width: 350px;
    padding: 30px;
}

.col-box-content-login .card .card-header {
    border-bottom: 0px;
    background: transparent;
    padding-bottom: 0px;
}

.col-box-content-login .card form .form-control {
    border: 0px #fff solid !important;
    box-shadow: none !important;
    color: #2b4453;
    font-weight: 600;
    font-size: 13px;
}

.col-box-content-login .card form .btn-primary {
    background: rgb(58,2,151) !important;
    text-align: center;
    font-size: 13px;
    width: 100%;
    border: 0px;
    height: 46px;
    transition: .3s ease-in-out;
}

.col-box-content-login .card form .btn-primary:hover, 
.col-box-content-login .card form .btn-primary:focus, 
.col-box-content-login .card form .btn-primary:active{
    opacity: .72;
    transition: .3s ease-in-out;
}

.col-box-content-login .card .card-footer{
    border-top: 0px;
    background: transparent !important;
}

.col-box-content-login .card .card-footer p {
    margin-bottom: 0;
}

/* NAVBAR */

/* TOP NAVBAR */

.top-nav-otomatis-cuan{
    background: rgb(58,2,151) !important;
}

.top-nav-otomatis-cuan .navbar-brand{
    font-weight: 600;
}

.top-nav-otomatis-cuan ul.navbar-nav li.nav-item.dropdown ul.dropdown-menu {
    padding: 0;
    top: 43px;
    background: rgb(58,2,151) !important;
    border: 0px;
}

.top-nav-otomatis-cuan ul.navbar-nav li.nav-item.dropdown ul.dropdown-menu li a.dropdown-item{
    font-size: 12px;
    color: #ffffff;
    padding: 8px 15px;
    transition: .3s ease-in-out;
    border-radius: 0.375rem !important;
}

.top-nav-otomatis-cuan ul.navbar-nav li.nav-item.dropdown ul.dropdown-menu li a.dropdown-item:hover, 
.top-nav-otomatis-cuan ul.navbar-nav li.nav-item.dropdown ul.dropdown-menu li a.dropdown-item:focus, 
.top-nav-otomatis-cuan ul.navbar-nav li.nav-item.dropdown ul.dropdown-menu li a.dropdown-item:active{
    background: rgb(58,2,151) !important;
    opacity: .72;
    transition: .3s ease-in-out;
}

/* SIDE NAVBAR */

.side-nav-otomatis-cuan nav{
    background: rgb(58,2,151) !important;
}

.side-nav-otomatis-cuan nav .nav {
    border-top: 1px #fff solid;
    border-color: rgba(255, 255, 255, 0.22);
}

.side-nav-otomatis-cuan nav .nav .sb-sidenav-menu-heading {
    padding: 1.75rem 0.75rem !important;
    border-bottom: 1px #ffffff solid;
    border-color: rgba(255, 255, 255, 0.22);
}

.side-nav-otomatis-cuan nav .sb-sidenav-footer{
    background: rgb(58,2,151) !important;
    border-top: 1px #fff solid;
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 11px;
}

.side-nav-otomatis-cuan nav .sb-sidenav-footer .small {
    margin-bottom: 5px;
    font-weight: 300;
}

.sb-sidenav .sb-sidenav-menu .nav .nav-link {
    font-size: 12px;
    height: 35px;;
}

/* FOOTER */

footer{
    background: rgb(58,2,151) !important;
}

footer .text-muted{
    color: #ffffff !important;
    line-height: 1.25em;
    font-size: 10px;
}

/* MAIN */

main h1 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2b4453;
}

.card{
    border-color: #b3cad6;
}

.card .card-header{
    padding: 12px 15px;
    font-size: 12px;
    color: #2b4453;
    font-weight: 600;
    border-bottom: 1px #b3cad6 solid;
}

.card .card-body{
    padding: 15px;
}

form .form-label {
    font-size: 12px;
    color: #717171;
}

form .select2 .select2-selection .select2-selection__rendered {
    font-size: 12px !important;
    font-weight: 600;
    color: #2b4453;
    padding-left: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
    margin-left: -10px !important;
}

.select2-container--default .select2-selection--single{
    border: 1px #b3cad6 solid;
}

.select2-dropdown{
    border: 1px #b3cad6 solid;
}

.select2-search--dropdown{
    padding: 10px 15px;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
    border: 1px #b3cad6 solid;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus{
    border: 1px #3a0297 solid;
}

.select2-results__option{
    font-size: 12px !important;
    font-weight: 500;
    color: #2b4453;
    padding: 7px 15px;
}

form .btn.btn-primary {
    background: rgb(58,2,151) !important;
    text-align: center;
    font-size: 12px;
    width: 100%;
    border: 0px;
    height: 37px;
    transition: .3s ease-in-out;
}

form .btn.btn-danger {
    background: rgb(255, 0, 0) !important;
    text-align: center;
    font-size: 12px;
    width: 100%;
    border: 0px;
    height: 37px;
    transition: .3s ease-in-out;
    margin-left: -15px;
}

form .btn.btn-warning {
    background: rgb(255, 183, 68) !important;
    text-align: center;
    font-size: 12px;
    width: 100%;
    border: 0px;
    height: 37px;
    transition: .3s ease-in-out;
    margin-left: -15px;
}

form .btn.btn-primary:hover, 
form .btn.btn-primary:focus, 
form .btn.btn-primary:active{
    opacity: .72;
    transition: .3s ease-in-out;
}

/* SWALL POPUP */

div:where(.swal2-icon).swal2-question {
    border-color: #d4ecf8 !important;
    color: #80b2c9 !important;
}

.swal2-container .swal2-popup .swal2-title {
    color: #2b4453;
    font-size: 15px;
}

.swal2-container .swal2-popup .swal2-html-container{
    color: #717171;
    font-size: 12px;
}

button.swal2-confirm {
    background-color: #3a0297 !important;
    font-size: 12px !important;
    min-height: 36px;
    box-shadow: none !important;
    transition: .3s ease-in-out;
}

button.swal2-confirm:hover, 
button.swal2-confirm:focus, 
button.swal2-confirm:active{
    opacity: .72;
    transition: .3s ease-in-out;
}

button.swal2-cancel {
    background-color: #d00000 !important;
    font-size: 12px !important;
    min-height: 36px;
    box-shadow: none !important;
    transition: .3s ease-in-out;
}

button.swal2-cancel:hover, 
button.swal2-cancel:focus, 
button.swal2-cancel:active{
    opacity: .72;
    transition: .3s ease-in-out;
}

/* DATA TABLES */

.dt-layout-cell {
    font-size: 12px !important;
}

div.dt-container div.dt-layout-row{
    margin: 1em 0;
}

div.dt-container select.dt-input {
    padding: 4px 7px;
    min-height: 36px;
    margin-right: 7px;
    color: #000000;
    font-weight: 600;
    border-color: #b3cad6;
}

.dt-length label, 
.dt-search label, 
#dtListWa_info {
    color: #000000;
}

div.dt-container .dt-search input{
    min-height: 36px;
    margin-left: 7px;
    color: #000000;
    font-weight: 600;
    border-color: #b3cad6;
}

table.dataTable td, table.dataTable th  {
    font-size: 12px;
}

.table, .datatable-table, 
table.dataTable > thead > tr > th, table.dataTable > thead > tr > td, 
table.dataTable > tfoot > tr > th, table.dataTable > tfoot > tr > td {
    border-color: #b3cad6 !important;
}

table.dataTable > tfoot > tr > th, table.dataTable > tfoot > tr > td, table.dataTable > thead > tr > th, table.dataTable > thead > tr > td, table.dataTable > tbody > tr > td{
    padding: 5px;
}

.dt-column-title{
    color: #000000 !important;
    font-size: 12px;
}

tbody tr td{
    color: #000000;
    font-size: 12px;
}

tbody tr td img{
    border: 1px #80b2c9 solid;
    border-radius: 0.375rem;
    box-shadow: none !important;
    height: auto;
}

div.dt-container .dt-paging nav .dt-paging-button{
    border: 1px #b3cad6 solid !important;
    font-weight: 500 !important;
    color: #3a0297 !important;
}

div.dt-container .dt-paging nav .dt-paging-button.disabled{
    border: 1px #b1a8b9 solid !important;
    background-color: #fceaff !important;
    color: #b1a8b9 !important;
}

div.dt-container .dt-paging .dt-paging-button.current, 
div.dt-container .dt-paging nav .dt-paging-button:hover, 
div.dt-container .dt-paging nav .dt-paging-button:focus, 
div.dt-container .dt-paging nav .dt-paging-button:active {
    background: #3a0297 !important;
    background-color: #3a0297 !important;
    border: 1px #3a0297 solid !important;
    color: #ffffff !important;
}

/* WA BLAST */

img#preview {
    width: 100% !important;
    border: 1px #b3cad6 solid !important;
    border-radius: 0.375rem;
    padding: 5px;
}

/* TREEVIEW */

ul.tree, ul.tree ul {
    list-style: none;
    margin-left: 20px;
    padding: 0;
} 
ul.tree ul {
    margin-left: 20px;
}
ul.tree li {
    margin: 0;
    padding: 0 7px;
    line-height: 22px;
    border-left:1px dashed rgb(100,100,100);
    font-size: 12px;
}
ul.tree li:last-child {
    border-left:none;
}
ul.tree li:before {
    position:relative;
    top:-0.3em;
    height:1em;
    width:12px;
    color:white;
    border-bottom:1px dashed rgb(100,100,100);
    content:"";
    display:inline-block;
    left:-7px;
}
ul.tree li:last-child:before {
    border-left:1px dashed rgb(100,100,100);   
}

@media (max-width: 393px) {
    .col-6 {
        width: 100% !important;
    }

    .col-6 > button {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .col-6 > a {
        width: 100% !important;
    }

    .col-2 {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .col-2 > button {
        width: 100% !important;
    }

    .col-2 > a{
        width: 100% !important;
        margin-left: 0px !important;
    }

    .col-3{
        width: 100% !important;
        
    }
}
