body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
}

#main{
    margin: 0px;
    width: 100%;
}

#header{
    width: 100%;
    height: 70px;
    background-color: #111;
}

.titlecolor1{
    color: #ffffff;
    font-weight: bold;
    font-size: 50px;
    text-align: center;
}

#logged{
    height: 40px;
    width: 100%;
}

#navi{
    height: 40px;
    width: 100%;
}

#content{
    min-height: 350px;
    width: 100%;
   
}
#footer{
    font-style: italic; 
    font-size:13px; 
    text-align: center;
    margin: 10px;
}

.al{
    text-align: right;
    padding-top: 10px;
    padding-right: 10px;
    
}

.cen{
    text-align: center;
}

.dash{
    text-align: center;
    font-size: 30px;
    font-family: serif;
    font-weight: bold;
}
/*begin the code payrollcard*/


.payroll-card {
    padding: 40px;
    background-color: #474747;
    /*margin: 0 auto 10px;*/
    margin-top: 35px;
    border-radius: 30px;
    border: #CC0000 solid thin;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
}

#payroll-card-height{
    min-height: 520px;
}

.payroll-card-img1{
    width: 80%;
    height: auto;
    margin: 4%;
}
.payroll-card-img1:hover{
    transform: scale(1.2);
    transition: 0.3s;
}
.payroll-card-img{
    width: 65%;
    height: auto;
    margin: 3%;
}
.payroll-card-img:hover{
    transform: scale(1.2);
    transition: 0.3s;
}
.invoice-img{
    width: 90px;
    height: 90px;
}
.invoice-img:hover{
    width: 104px;
    height: 104px;
    transition: 1s;
}
.report-img{
    width: 65px;
    height: 65px;
}
.report-img:hover{
    width: 70px;
    height: 70px;
    transition: 1s;
}
.payroll-card-link{
    color: #ffffff;
}
.payroll-card-link:hover{
    color: #ffffff;
}
.txt-box{
    width: 240px;
    font-size: 16px;
    min-height: 28px;
}
.txt-lbl{
    font-size: 17px;
    width: 200px;
}
.add-deduct-box{
    border: #CC0000 thin solid;
}
.add-emp-box{
    border: #0000CC thin solid;
}


/*autocomplete start*/

/** { box-sizing: border-box; }
body {
  font: 16px Arial; 
}*/
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
/*  display: inline-block;*/
}
input[type=text] {
    border: #4d026b solid 2px;
    border-radius: 8px;
}
input[type=text]:focus {
    outline: none;
    box-shadow: 0 0 5px #000;
    background-color: #d2edce;
}
input[type=password] {
    border: #4d026b solid 2px;
    border-radius: 8px;
}
input[type=password]:focus {
    outline: none;
    box-shadow: 0 0 5px #000;
    background-color: #d2edce;
}
input[type=date] {
    border: #4d026b solid 2px;
    border-radius: 8px;
}
input[type=date]:focus {
    outline: none;
    box-shadow: 0 0 5px #000;
    background-color: #d2edce;
}
input[type=number] {
    border: #4d026b solid 2px;
    border-radius: 8px;
}
input[type=number]:focus {
    outline: none;
    box-shadow: 0 0 5px #000;
    background-color: #d2edce;
}
input[type=color] {
    border: #4d026b solid 2px;
    border-radius: 8px;
}
input[type=color]:focus {
    outline: none;
    box-shadow: 0 0 5px #000;
    background-color: #d2edce;
}
textarea {
    border: #4d026b solid 2px;
    border-radius: 8px;
}
textarea:focus {
    outline: none;
    box-shadow: 0 0 5px #000;
    background-color: #d2edce;
}
select {
    border: #4d026b solid 2px;
    border-radius: 8px;
}
select:focus {
    outline: none;
    box-shadow: 0 0 5px #000;
    background-color: #d2edce;
}

/*input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
}*/


.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 6px;
  cursor: pointer;
  background-color: #eeeeee; 
  border-bottom: 1px solid #d4d4d4;
  border-radius: 8px;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #d0d0d0; 
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

/*autocomplete end*/


.line_highlight{
    position: relative;
}
.line_highlight:hover{
    background-color: gainsboro;
    color: #000;
}
.line_view_red{
    position: relative;
    background-color: #ffdbdb;
}
.line_view_red:hover{
    background-color: #fc9797;
    color: #000;
}
.line_view_red2{
    position: relative;
}
.line_view_red2:hover{
    background-color: #ffdbdb;
    color: #000;
}

.image-view{
    width: auto;
    height: 30px;
}
.image-view:hover{
    transform: scale(3);
    transition: 0.5s;
}

.normal_outer_list{
    border: #3fd42f ridge 5px;
  clip-path: 
    polygon(
      0% 50px,                 /* top left */
      50px 0%,                 /* top left */
      calc(100% - 50px) 0%,    /* top right */
      100% 50px,               /* top right */
      100% calc(100% - 50px),  /* bottom right */
      calc(100% - 50px) 100%,  /* bottom right */
      50px 100%,               /* bottom left */
      0 calc(100% - 50px)      /* bottom left */
    );
}
/* Style tab links */
.tablink {
  background-color: #555;
  color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 14.285%;
  outline: none;
}

.tablink:hover {
  background-color: #777;
  outline: none;
}
.tablink:focus {
  color: #000;
  background-color: #777;
  outline: none;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: white;
  display: none;
  width: 100%;
  outline: none;
  height: 60%;
}

#tab1 {background-color: #ffffff;}
#tab2 {background-color: #ffffff;}
#tab3 {background-color: #ffffff;}
#tab4 {background-color: #ffffff;}
#tab4 {background-color: #ffffff;}


.gotoline{
    background-color: #12c4e0;
    color: #000;
}
/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 8px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #3fd42f; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #249119; 
}


.notification .badge {
  position: absolute;
  top: 17%;
  right: 17%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: red;
  color: white;
  font-size: 20px;
  font-family: serif;
  font-weight: bold;
}

.badge2 {
  position: absolute;
  top: 17%;
  left: 17%;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: #F60;
  color: white;
  font-size: 20px;
  font-family: serif;
  font-weight: bold;
}

.small_button{
     width: 20px;
     height: 20px;
     cursor: pointer;
}
.small_button:hover{
    transform: scale(1.2);   
}
.red_bg_colour{
    color: red;
    font-weight: bold;
    background-color: #ffb7b9 !important;
}

.pie_progress__content, .pie_progress__number, .pie_progress__label, .pie_progress__icon {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 20px;
    font-family: monospace;
}
.pie_progress__label{
    top: 80%;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    color: #000;
}
.pie_progress__icon {
    width: 80%;
    left: 10%;
    height: auto;
}
.pie_progress__content {
    width: 70%;
    height: 70%;
    left: 15%;
    top: 40%;
}
.pie_progress {
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    margin-top: 2%;
}
.pie_progress:hover{
    transform: scale(1.2);
    transition: 0.3s;
}