@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');
* {
    font-family: 'Rubik', sans-serif;
    box-shadow: none;
}
body {
    background-color: #f7f5ef;
    background-image: none !important;
    min-height: 100vh;
}

a {
    color:darkslategray;
    /* transition: all 0.5s ease-in-out !important; */
}

#tblResult {
    width: 100%;
    padding: 5px;
    border: 1px solid black;
    background: rgba(240,255,255,0.5);
    backdrop-filter: blur(4px);
}

#tblResult th, #tblResult td {
    padding: 5px;
    border: 1px solid lightgray;
}

#tblResult td span {
    font-size: 0.85rem;
}

#tblResult td.allowed {
    background-color: lightgreen;
}

#tblResult td.disallowed {
    background-color: lightpink;
}

#nextPage:hover {
    color: darkslategray;
}

.text-center img {
    width: 9vw;
}

input {
    outline: none !important;
}

.overlay {
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffeeee;
    display: none;
}

.overlay[style*='display: block'] {
    display: flex !important;
}

/* nav.navbar {
    background: linear-gradient(135deg, #1780B9 0%, rgba(9,9,121,1) 35%, rgba(143,236,255,1) 100%);
    background-color: #1780B9;
    background: rgb(255,0,0);
background: linear-gradient(135deg, rgba(255,0,0,1) 0%, rgba(139,0,0,1) 35%, rgba(255,39,47,1) 100%);
} */

a.navbar-brand {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
}

a {
    text-decoration: none !important;
}

a.nav-link {
    color: white; text-decoration:none; font-weight: 500; opacity: .8;
}

#periode {
    text-align: right;
}

#frm div#question {
    display: none;
}

.qItem span {
    font-size: 10px;
    color: black;
}

.row {
    margin: 10px -15px;
}

.qHead {
    font-size: 1.2rem;
    font-weight: 600;
}
.qHead span:nth-child(2) {
    font-size: 0.75rem;
    font-weight: 400;
}

.qTitle span:nth-child(even) {
    font-size: 0.75rem;
    font-weight: 400;
}

.question {
    background-color: lightyellow;
    padding: 8px;
}

#pertanyaanTambahan {
    background-color: lightcyan;
    padding: 8px;
}

#question > .row {
    margin: 10px 0px;
}

.btn-group-toggle {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 10px 0px;
    flex-wrap: wrap;
}

/* .qItem {
    width: 23%;    
} */

table {
    border-collapse: separate;
    border-radius: 5px;
    border-spacing: 0px;
}

.table {
    margin-bottom: 0px;
}

.table td {
    padding: .375rem .75rem;
    /* width: 33% !important; */
}

hr {
    border-top: 2px solid rgba(0,0,0,.55);
}

pre {
    font-size: 65%;
    margin-top: 5px;
    margin-bottom: 0rem;
    line-height: .8rem;
    font-weight: 400;
}

.detailPembeli {
     flex-direction:row;
}

div.dataTables_wrapper {
width:100% !important;
}

table.dataTable tbody th, table.dataTable tbody td, table.dataTable thead th, table.dataTable thead td {
	padding: 10px 10px !important;
	vertical-align: middle;
    font-size: .85rem;
}

@media only screen and (max-width: 1000px) {
    .text-center img {
        width: 15vw;
    }

    .h3, h3, .h4, h4 {
        font-size: 95%;
        line-height: 1.25rem;
    }
    span.aksi {
    	display: none;
    }
    .detailPembeli {
    	flex-direction: column;
    }
    #tblOrders th, #tblOrders td {
    	font-size: 0.85rem;
    }
}

@media only screen and (max-width: 648px) {
    #periode {
        text-align: left;
    }
    #hasil {
        margin-top: 5px;
    }

    #total, #periode {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .table {
        margin-top: 15px;
    }
    td {
        padding: .3rem !important;
    }

    input[type=number] {
        padding: .3rem !important;
        font-size: .8rem !important;
    }
    .card-body {
        padding: .3rem;
    }
    span.aksi {
    	display: none;
    }
.detailPembeli {
    	flex-direction: column;
    }
}

@keyframes animPoster{
    0% {
        opacity: 0;
    }
    3%,17% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }

}
