:root {
    /* warna primer */
    --primer: rgba(64,64,218,1);
    --primer1: rgba(64,64,218,0.1);
    --primer2: rgba(64,64,218,0.2);
    --primer3: rgba(64,64,218,0.3);
    --primer4: rgba(64,64,218,0.4);
    --primer5: rgba(64,64,218,0.5);
    --primer6: rgba(64,64,218,0.6);
    --primer7: rgba(64,64,218,0.7);
    --primer8: rgba(64,64,218,0.8);
    --primer9: rgba(64,64,218,0.9);
    
    /* lebar sidemenu */
    --widsidemenu: 300px; 
}

.bg-main, .btn-main {
    background: linear-gradient( to bottom, var(--primer), var(--primer6) );
    color: white;
}    
.btn-main:hover {
    color: yellow !important;
}

.bg-danger,
.bg-info,
.bg-primary,
.bg-secondary,
.bg-dark,
.bg-success {
    color: white;
}
.bg-warning {
    color: black;
}

body {
    overflow: hidden;
}
section {
    /* padding-top: 60px; */
    height: 100vh;
    /* background-color: var(--primer1); */
}

.fixed-top {
    height: 40px;
}
i.navi {
    display: none;
}
i.navi.active {
    display: inline;
    cursor:pointer;
}
.top-menu div:hover {
    color: yellow !important;
    cursor:pointer;
}

.zoom .card.page {
    height: 85vh;
    overflow:auto;
}

/* SIDEMENU */
.sidemenu {
    position: absolute;
    top: 40px;
    left: calc( var(--widsidemenu) * -1 );
    height: 95vh;
    width: var(--widsidemenu);
    background: var(--primer9);
    transition: 0.2s;
    z-index:1000;
}
.sidemenu.active {
    left: 0;
}
.sidemenu button {
    font-size: 18px;
    color: white;
}
.sidemenu button:hover {
    background: var(--primer);
    color: yellow;
    font-weight: bold;
    border: 1px solid yellow;
}

/* LAYER */
.layer4 {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100vh;
    width: 100%;
    padding-top: 20px;
    backdrop-filter: blur(5px);
    z-index: 1501;
}
#layer4 {
    /* border: 1px solid #ccc; */
    width: 100%;
    height: 90%;
}

/* TOASTER */
.toaster4 {
    position: absolute;
    top: -510px;
    left: 2.5%;
    width: 95%;
    padding: 10px;
    z-index: 10000;
    opacity: 0.92;
    font-size: 16px;
    transition: 0.6s;
}
#toaster4 {
    line-height: 1.2;
}
.toaster4.active {
    top: 10px;
}

/* ZOOM */
.zoom.active {
    position: absolute;
    top: 0;
    left: 0;
    z-index:1500;
    width: 100%;
}
.zoom.active .page {
    height: 100vh !important;
}

/* OVERFLOW */
.over-flow-auto {
    height: 70vh;
    border:1px solid #ccc;
}
.over-flow-auto.no-border {
    border:none;
}

.with-bottom .over-flow-auto {
    height: 65vh;
}
.zoom.active .over-flow-auto {
    height: 90vh;
}
.zoom.active .with-bottom .over-flow-auto {
    height: 75vh;
}

/* FORM GRUP */
.form-grup label>i {
    color: red;
}

/* BUTTON */
.btn-main span {
    display: none;
    background: black;
    color: yellow;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 2px;
}    
.btn-main:hover span {
    position: absolute;
    display:block;
    transform: translateY(10px);
    z-index:10000;
}
.btn-main.left-span:hover span {
    transform: translateX(20px);
    z-index:10000;
}
.btn-main.right-span:hover span {
    transform: translateX(-40px);
    z-index:10000;
}
.btn-main.top-span:hover span {
    transform: translateY(-50px);
    z-index:10000;
}
.btn-main.top-span.right-span:hover span {
    transform: translate(-100px, -50px);
    min-width: 100px;
    z-index:10000;
}

/* MODAL */
.modal {
    z-index: 6000;
}
