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

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;
}

form table{
    background:#c8f7f6;
}

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

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

input ~ span,select~span, textarea~span{
 transition:top 0.3s ease;
 position:absolute;
 padding:10px;
 left:0%;
 top:3%;;
 color:grey;
 }
 
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:90%;
  padding:0px;
  margin-bottom:0px;
}

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;
}
 
td{
    padding:10px;
    vertical-align:top;
}

th{
    background:linear-gradient(to top,grey,#010542);
    color:white;
    padding:4px;
    font-family:helvetica;
    font-size:8px;
    text-transform: uppercase;
}


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

tr:nth-child(odd) {
    background-color: rgba(0,0,0,0.2);
}

.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:100%;
   font-size:12px;
   color:grey;
   padding:4px;
   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:nowrap;
}

.td-master-right{
    width:98%;
    vertical-align:top;
}

 /* 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: rgba(0,100,0,1);
  min-width: 50px;
  box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.3);
  z-index: 1;
  transition:all 0.2s linear;
  border-radius:2px;
}

/* Links inside the dropdown */
.dropdown-content p {
  color: silver;
  padding:3px;
  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";
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  height:auto;
  background-color: #5cade0;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top:10px;
  transform:translateX(-50%);
  font-size: 17px;
}


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

@-webkit-keyframes fadein {
  from {top: 0; opacity: 0;} 
  to {top: 10px; opacity: 1;}
}

@keyframes fadein {
  from {top: 0; opacity: 0;}
  to {top: 10px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {top: 10px; opacity: 1;} 
  to {top:-100px; opacity: 0;}
}

@keyframes fadeout {
  from {top: 10px; opacity: 1;}
  to {top: -100px; opacity: 0;}
}