@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: url(img/bgk.jpg);
    background-size: 100%;
}

/* ------------------Header CSS---------------------- */
.head {
    width: 100%;
    height: 85px;
    padding:10px;
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
}
/* Logo & Title CSS */
.logo {
    width: 350px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 25px;
}
.logo img {
    width: 60px;
    height: auto;
    margin-left: 10px;
}        
.titleLogo {
    width: 150px;
    height: 100%;
    margin-left: 15px;
    color: white;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.titleLogo h4{
    font-size: 30px;
    font-weight: 750;
    margin-top: 5px;
}
.titleLogo h5{
    font-size: 18px;
    letter-spacing: 13px;
    font-weight: 600;
    margin-top: -15px;
}
/* ------------------ */
/* Navigation Bar CSS*/
.navbar {
    position: absolute;
    background-color: transparent;
    height: auto;
    width: 80%;
    right: 0;
    display: flex;
    justify-content: flex-end;
}
.navbar nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.navbar nav ul {
    padding:  0;
    margin: 0;
    float: right;
}
.navbar nav ul li {
    background: transparent;
    list-style: none;
    display: inline-block;
    border-right: 2px solid white;
}
.navbar nav ul li:nth-child(5){
    padding-right: 13px;
    border-right: none;
}
.navbar nav ul li a {
    display: block;
    padding: 0 15px;
    color: #6C6C6C;
    text-decoration: none;
    line-height: 40px;
    font-size: 13px;
}
.navbar nav ul li a:hover {
    background: transparent;
    color: #FFFFFF;
}
.navbar nav ul ul {
    position: absolute;
    top: 48px;
    margin-left: -5px;
    display: none;
    z-index: 5;
}
.navbar nav ul li:hover > ul {
    display: block;
}
.navbar nav ul ul li {
    width: 200px;
    float: none;
    display: list-item;
    border-right: none;
    z-index: 5;
}
.navbar nav ul ul li a{
    font-size: 11px;
    background: #6C6C6C;
    line-height: 40px;
    color: white;
    z-index: 5;
}
.navbar nav ul ul li a:nth-child(5){
    background: white;
}
.navbar nav ul ul li a:hover {
    background: #A7A7A7;
    color: #FFFFFF;
}
.navbar li, a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 10px;
    color: white;
    text-decoration: none;
}
.navbar .nav_links i {
    margin-left: 8px;
}
/* ------------------ */
/* -----------------CLose Header--------------------- */

/* -----------------Content---------------------- */
/* Title Page */
.title {
    left: 0;
    width: fit-content;
    height: auto;
    margin-top: 20px;
    padding: 10px 20px 5px 50px;
    background: linear-gradient(146deg, rgba(4,17,29,1) 0%, rgba(20,65,107,1) 48%, rgba(52,73,94,1) 100%);
    border-right: 5px solid #f6df58;
}
.title h2 {
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 21px;
    color: white;
}
/* ------------------ */
/* Content Box */
.containerbox {            
    margin-top: 35px;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align:left;
}
.content {
    width: 95%;
    background: white;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 5px;
    min-height: 400px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 40px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 12px;
    border: 5px solid #f6df58;
}
/* ------------------ */
/* Table CSS */
.table {
    border-right: 1px solid #212F3C;
    border-left: 1px solid #212F3C;
    font-size: 14px;
}
.table thead tr th {
    background: #154360;
    color: white;
    vertical-align: middle;
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
}
.table thead tr {
    border-bottom: none;
}
.table tbody tr:nth-child(10) {
    border-bottom: transparent;
}
.table tbody tr td {
    font-size: 13px;
}

.table tbody tr td:nth-child(8) {
    text-align: center;
}
.table tbody tr td:nth-child(7){
    height: auto;
    max-height: 300px;
}
.table tbody tr td p{
    overflow: auto;
    height: auto;
    max-height: 280px;
    padding-right: 10px;
}
.table tbody tr td button{
    background: linear-gradient(146deg, rgba(4,17,29,1) 0%, rgba(20,65,107,1) 48%, rgba(52,73,94,1) 100%);
    border: none;
}
.table tbody tr td button:hover{
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
    border: none;
    text-shadow: 2px 2px 6px #000000 ;
}
.table tbody tr td button i{
    font-size: 13px;
}
.table tbody tr td button i:hover{
    color: #1B2631;
}
/* ------------------ */
/*  Home Page */
.greet {
    width: 100%;
    height: 100px;
    background: transparent;
    display: flex;
    padding: 10px;
    align-items: center;
}
.greet img {
    width: 55px;
    height: auto;
    margin-right: 15px;
    margin-left: 15px;
}
.namegreet h4 {
    font-weight: 800;
    width: 100%;
}
.namegreet {
    width: fit-content; 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    height: 50px; 
}
.tindakan{
    display: flex; 
     height: auto; 
     width: 200px;
     margin-top: -15px;
     cursor:pointer;
     overflow: hidden;
}

.tindakan .fa-caret-left{
    font-size: 30px;
    margin-left: 5px;
    margin-top:5px;
}

.tindakan .fa-file-lines{
    font-size: 25px;
    margin-top: 5px;
    margin-left: 10px;
    color: black;
}

.info-tindakan{
    position:absolute; 
    z-index: 3;
    width:300px; 
    height: auto;
    margin-left: -100px;
    margin-top: 38px;
    padding: 5px;
    right: 10px;
    background: linear-gradient(146deg, rgba(4,17,29,1) 0%, rgba(20,65,107,1) 48%, rgba(52,73,94,1) 100%);
}

.info-tindakan-header{
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 100%;
    margin-top: 3px;
    border-left: 3px solid #f6df58;
    border-right: 3px solid #f6df58;
    border-radius: 7px;
}


.info-tindakan-content{
    height:90%;
    overflow: hidden;
    overflow-y: scroll;
    margin-top:5px;
    background:white;
    border: 1px solid black;
}

.info-tindakan-content li{
   margin-bottom: 5px;
   margin-right: 15px;
   border-bottom: 1px solid black;
   min-height: 50px;
   height: auto;
   padding: 5px;
}

.info-tindakan-content a{
    color: black;
    font-size: 12px; 
}

.info-tindakan-content a:hover{
    color:#f6df58; 
}

.event{
    width: 100%;
}

.tindakan .event{
    display: flex;
    margin-left: 90%;
    transition: all 0.5s;
}

.tindakan .event:hover{
    margin-left: 0;
}

.tindakan p{
    font-size: 20px;
    font-weight:800;
    margin-top: 5px;
    margin-left: 10px;
    color: black;
}

.tindakan .event .info-tindakan{
    opacity: 0;
    pointer-events: none;
    transition:0.7s;
}

.tindakan .event:hover .info-tindakan{
    opacity: 1;
    pointer-events: auto;
}
.info {
    width: 100%;
    min-height: 400px;
    height: auto;
    background: white;
    display: flex;
    padding: 10px;
}
.grafbox {
    width: 80%;
    height: 100%;
    background: white;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
    border: 3px solid #f6df58;
}
.graf {
    width: 48%;
    height: 325px;
    margin: 5px;
    display: flex;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 5px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-radius: 10px;
    background: white;
}
.graf h5 {
    width: 100%;
    font-weight: 700;
    margin-left: 10px;
    margin-top: 5px;
}
.companyinfo {
    width: 97%;
    height: 200px;
    background: white;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.companyinfo h4 {
    color: black;
    font-weight: 700;
}
.companyinfo p {
    font-size: 12px;
    width: 100%;
    margin-left: 75px;
}
.companyinfo h1 {
    font-weight: 1000;
    margin-top: -50px;
    width: 100%;
    margin-left: 75px;
}
.notesbox {
    min-width: 150px;
    width: 20%;
    height: 100%;
    background: white;
    border: 1px solid #2E4053;
}
.notes1 {
    width: 100%;
    min-height: 300px;
    height: auto;
    /* background: linear-gradient(146deg, rgba(4,17,29,1) 0%, rgba(20,65,107,1) 48%, rgba(52,73,94,1) 100%); */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.quicklink {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    background: white;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: linear 0.3s;
}
.quicklink:hover {
    box-shadow: 0 4px 8px 0 rgba(251, 255, 0, 0.819), 0 6px 20px 0 rgba(195, 166, 3, 0.296);
}
/* ------------------ */
/* Kakitangan Madani Page */
 
.tablebox .btn-primary{
    background: #283747;
    border: none;
    font-size: 13px;
    position: absolute;
}

.tablebox .btn-primary:hover{
    color: #000;
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
}

.row .btn-primary, .image-kakitangan-under button{
    background: #283747;
    border: none;
    font-size: 13px;
}

.image-kakitangan-under button{
    color: white;
}

.row .btn-primary:hover, .image-kakitangan-under button:hover{
    color: #000;
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
}

.image-kakitangan-under{
    display: block;
}
/* ------------------- */
/* Staffexp & Staffexpedit Page */
.search {
    position: absolute;
    width: 60%;
    height: 40px;
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 5;
    border-radius: 20px;
    margin-top: -40px;
    right: 3.3%;
}
.chk {
    display: flex;
    width: 500px;
    height: 30px;
    align-items: center;
    background: #EDEDED;
    padding-left: 5px;
    font-size: 14px;
}
.chk div {
    margin-left: 10px;
}
#hola input[type=text]{
    width:275px !important; 
    height: 30px !important;
}
.inpBox input::placeholder {
    font-size: 14px;
}
.titlebox {
    width: 50%;
    height: 35px;
    background: linear-gradient(146deg, rgba(4,17,29,1) 0%, rgba(20,65,107,1) 48%, rgba(52,73,94,1) 100%);
    position: fixed;
    top: 45px;
    z-index: 1;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid #f6df58;
    border-right: 3px solid #f6df58;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}
.titlebox h3{
    color: white;
    font-size: 20px;
    margin-top: 7px;
}
.titlebox i{
    color: white;
    font-size: 20px;
}
.editbox {
    font-size: 13px;
    height: auto;
    /* background: white; */
    background: url(bg3.jpg);
    background-size: cover;
    width: 50%;
    border-left: 3px solid #f6df58;
    border-right: 3px solid #f6df58;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    top: 80px;
    color: black;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}
.editbox form {
    padding: 20px;
}
.editbox input {
    font-size: 13px;
    height: 30px;
}
.editbox textarea {
    font-size: 13px;
    height: 170px;
}
.editbox button {
    font-size: 13px;
    height: 25px;
    padding-top: 3px;
    background: #283747;
    border: none;
}
.editbox button:hover {
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
    color: black;
    border: none;
}
.blur {
    position: absolute;
    height: 100%;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    justify-content: center;
    background: black;
    opacity: 0.7;
    z-index: 1;
}
/* ------------------ */
/* Pengalaman Syarikat Page */
.table-striped { 
    border-collapse: collapse;
    /*box-shadow: 0 5px 10px lightgray;*/
    background-color: white;
    text-align: left;
    overflow: hidden;
    margin: 0px auto;
}

.filter {
    margin-bottom: 5px;
    width:  100%;
    height:  50px;
}

.filter thead {
    /*box-shadow: 0 5px 10px lightgray;*/
    background-color: #154360;
    color: white;
}

.filter th, td {
    padding: 0.8rem 2rem;
}

/*color alternating rows*/
.table-striped tbody tr:nth-child(even){
    background-color: #e3edff;
}

.select {
    padding: 8px 12px;
    color: #333333;
    background-color: #fff;
    border: 1px solid #dddddd;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Poppins';
    margin-bottom: 10px;
}
.content a input {
    background: #154360;
    border: none;
    display: inline-block;
    cursor: pointer;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    padding: 8px 18px;
    text-decoration: none;
  }
  
.btn:hover {
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
    color: black;
  } 
  
  .content1 {
      width: 90%;
      min-height: 350px;
      height: auto;
      margin-top: 40px;
      margin-bottom: 50px;
      display:  flex;
      justify-content: center;
      flex-wrap: wrap;
      text-align: left;
      font-size: 0.8rem;
  } 
  .titlebox {
    width: 50%;
    height: 35px;
    background: linear-gradient(146deg, rgba(4,17,29,1) 0%, rgba(20,65,107,1) 48%, rgba(52,73,94,1) 100%);
    position: fixed;
    top: 45px;
    z-index: 1;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid #f6df58;
    border-right: 3px solid #f6df58;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.titlebox h3{
    color: white;
    font-size: 20px;
    margin-top: 7px;
}
.titlebox i{
    color: white;
    font-size: 20px;
}
.editbox {
    font-size: 13px;
    height: auto;
    /* background: white; */
    background: url(img/bg3.jpg);
    background-size: cover;
    width: 50%;
    border-left: 3px solid #f6df58;
    border-right: 3px solid #f6df58;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    top: 80px;
    color: black;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding-bottom: 10px;
}
.editbox form {
    padding: 20px;
}

.editbox input {
    font-size: 13px;
    height: 30px;
}

.editbox textarea {
    font-size: 13px;
    height: 170px;
}

.editbox select {
    font-size: 13px;
    height: 30px;    
}

.editbox button {
    font-size: 13px;
    height: 25px;
    padding-top: 3px;
    background: #283747;
    border: none;
}

.editbox button:hover {
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
    color: black;
    border: none;
}
/* ------------------ */
/* Dokumen Syarikat */

.pilihtable{
    position: absolute;
    font-size: 13px;
}
.btnhideform{
    padding-bottom: 20px;
}

.btnhideform .btn-primary{
    background: #283747;
    border: none;
    font-size: 13px;
}

.btnhideform .btn-primary:hover{
    color: #000;
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
}
.editbox .btn-danger{
    background: #283747;
    border: none;
    font-size: 13px;
}

.editbox .btn-danger:hover{
    color: #000;
    background: linear-gradient(146deg, rgba(174,134,37,1) 0%, rgba(215,192,93,1) 11%, rgba(247,239,138,1) 27%, rgba(241,216,93,1) 63%, rgba(210,172,71,1) 100%);
}

.btnhideform .btn:focus,.btn:active {
    outline: none !important;
    box-shadow: none;
 }

/* ------------------- */
/* --------------Close Content------------------- */

/* --------------Footer----------------------- */
footer {
    background: linear-gradient(90deg, rgba(20,20,20,1) 0%, rgba(48,48,48,1) 35%, rgba(80,80,80,1) 100%);
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 5px solid #f6df58;
    margin-top: 20px;
    bottom: 0;
}
footer p {
    font-size: 13px;
    font-weight: 800;
    background: -webkit-linear-gradient(#f7ef8a, #f7ef8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* --------------Close Footer------------------- */

/* Scroll Bar CSS */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #EFEFEF;
}
::-webkit-scrollbar-thumb {
    background: #154360;
    border-radius: 15px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f6df58;
}
/* ------------------ */