a {
    text-decoration: none;
}
body {
    background: white;
    font-family: Arial;
}

button {
    padding: 5px;
    border: none;
    border-radius: 3px;
    background: green;
    color: white;
    box-shadow: 1px 1px 5px grey;
}

button:hover,a:hover {
    cursor: pointer;
    opacity: 0.5;
}

h4 {
    font-family: Arial;
    border-radius: 2px;
    border-bottom: 1px solid black;
    padding: 3px;
    color: #4e5e78;
    margin-bottom: 3px;
    text-transform: uppercase;
}


form {
    background: none;
}

input,select,textarea {
    padding: 8px;
    border: 1px solid #447a22;
    border-radius: 3px;
    width: 92%;
    margin-top: 3px;
    background: none;
}

input ~ span,select~span, textarea~span {
    transition: top 0.3s ease;
    position: absolute;
    padding: 10px;
    padding-top:0;
    padding-bottom:0;
    left: 0%;
    top: 3%;;
    color: gray;
}

input:focus ~ span,
input:valid ~ span,
select:focus~span,
select:valid~span,
textarea:focus~span,
textarea:valid ~ span,
.readonly span {
    top: -4px;
    left: 2px;
    padding: 1px;
    background: white;
    border-radius: 2px;
    color: green;
    font-size: 12px;
}

input[readonly] {
    border: 1px solid grey;
    color: grey;
}

label {
    display: block;
    height: 50px;
    position: relative;
    width: 100%;
    padding: 0px;
    margin:5px
}

input[type='checkbox'] {
    width: 100%;
    padding: 6px;
}
input[type='search'] {
    width: 20%;
    padding: 6px;
}
pre {
    white-space: pre-wrap;
}
textarea {
    height: 120px;
}


table {
    border-radius: 2px;
}

tr:nth-child(even) {
    background-color: rgba(0,0,0,0.1);
}

tr:nth-child(odd) {
    background-color: rgba(0,0,0,0.2);
}
td {
    padding: 10px;
    vertical-align: top;
}

th {
    background: linear-gradient(to top,gray,#010542);
    color: white;
    padding: 4px;
    font-family: helvetica;
    font-size: 9px;
    text-transform: uppercase;
}
.aksi {
    display: inline;
    margin: 2px;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 1px 1px 2px grey;
    background: linear-gradient(to bottom,grey,red);
    font-size: 10px;
}

.c-data {
    background: white;
    padding: 10px;
}

.fas {
    width: 22px;
    text-align: center;
    font-size: 11px;
}

.info-record {
    width: 90%;
    font-size: 12px;
    color: grey;
    padding: 4px;
    border: 1px solid grey;
    border-radius: 2px;
}

.search-bar {
    text-align: left;
    margin-bottom: 1px;
    margin-top: 1px;
}

.table-list {
    border-spacing: 0.5px;
    box-shadow: 0 0 1px gray;
    white-space: nowrap;
}

.table-list button {
    padding: 2px;
    font-size: 9px;
    border-radius: 2px;
}

.table-list td {
    padding: 3px;
    text-align: left;
    font-size: 10px;
    vertical-align: top;
    font-family: arial;
    white-space: break-spaces;
}


/* Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 8px;
    font-size: 12px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content p {
    color: black;
    padding: 7px;
    margin: none;
    text-decoration: none;
    cursor: pointer;
}

/* Change color of dropdown links on hover */
.dropdown-content p:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

/* Acordion menus */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 14px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active, .accordion:hover {
    background-color: #ccc;
}

.accordion:after {
    content: '\02C7';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\02C6";
}

.panel {
    padding: 10px;
    padding-left: 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}


#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}