body {font-family: Arial;}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;

}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  width: 100;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #abd3eb;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #8ebfdc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0px 0px 60px 0px;
  /*border: 1px solid #ccc;*/
  border-top: none;
}

/* Set a style for all buttons */
.primary-button {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 200px;
}

.form-ip {
  display: inline-block;
  min-width: 100px;
}

/* Full-width input fields */
input[type=text], input[type=number], input[type=button], input[type=password], select {
    padding: 12px 20px;
    margin: 4px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 5px;
  }

  .button:hover {
    opacity: 0.8;
  }
  
  /* Extra styles for the cancel button */
  .cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
  }
  
  /* Center the image and position the close button */
  .imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
  }
  
  img.avatar {
    width: 40;
    border-radius: 40;
  }
  
  .container {
    padding: 16px;
  }
  
  span.psw {
    float: right;
    padding-top: 16px;
  }
  
  /* The Modal (background) */
  .modal {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
  }
  
  /* Modal Content/Box */
  .modal-content {
    display: block;
    margin: 12px;
    padding: 12px;
    background-color: #fefefe;
    border: 1px solid #888;
  }

  .modal-content.label {
    width: 100px;
  }

  /* The Close Button (x) */
  .close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: red;
    cursor: pointer;
  }
  
  /* Add Zoom Animation */
  .animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
  }
  
  @-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
  }
    
  @keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
  }
  
  /* Change styles for span and cancel button on extra small screens */
  @media screen and (max-width: 300px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
  }
  
  /* TABLE */

  table { 
    width: 100%; 
    border-collapse: collapse; 
    margin:10px auto;
    }
  
  /* Zebra striping 
  tr:nth-of-type(odd) { 
    background: #eee; 
    } */
  
  th { 
    background: #fafafa; 
    color: #888; 
    font-weight: bold; 
    }
  
  td, th { 
    padding: 6px; 
    border: 1px solid #ccc; 
    text-align: left; 
    font-size: 18px;
    vertical-align:top
    }
  
  /* 
  Max width before this PARTICULAR table gets nasty
  This query will take effect for any screen smaller than 760px
  and also iPads specifically.
  */
  @media 
  only screen and (max-width: 400px),
  (min-device-width: 768px) and (max-device-width: 1024px)  {
  
    table { 
        width: 100%; 
    }
  
    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr { 
      display: block; 
    }
    
    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr { 
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    
    tr { border: 1px solid #ccc; }
    
    td { 
      /* Behave  like a "row" */
      border: none;
      border-bottom: 1px solid #eee; 
      position: relative;
      /*padding-left: 50%; */
    }
  
    td:before { 
      /* Now like a table header */
      position: absolute;
      /* Top/left values mimic padding */
      top: 6px;
      left: 6px;
      width: 45%; 
      padding-right: 10px; 
      white-space: nowrap;
      /* Label the data */
      content: attr(data-column);
  
      color: #000;
      font-weight: bold;
    }
  }

.actions-title {
  padding-bottom: 1em;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: white;
  border-top: 1px solid #ffffff;
  color: #121212;
  text-align: left;
  -webkit-box-shadow: 0px -4px 4px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px -4px 4px 0px rgba(0,0,0,0.75);
  box-shadow: 0px -4px 4px 0px rgba(0,0,0,0.75);  
  padding: 1em;
  overflow-y: scroll;
}

.s1 {
  color: rgb(24, 70, 223);
}
.s2 {
  color: rgba(247, 0, 231, 0.941);
}
.s3 {
  color: rgb(0, 63, 26);
}

tbody td:first-child .boxes{
  width: 200px;
  max-width: 200ox;
  word-break: break-all;
}

.boxes td {
  padding: 2px;
}
.boxes input {
  width: 6em;
  padding: 4px;
}

.search {
  border: 1px solid #dcd6d6;
  padding: .6em;
}

.footer input {
  width:14em;
}

.tblform {
  width: auto; 
  border-collapse: collapse; 
  margin: 10px;
}

.tblform td {
  border: none
}

