/*         set search  input field width   */
.width-50 {
  width: 50%;
}

/* Style the tab */

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color:#3db7c7;
  color: #fff;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}
.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*-----------------give table scroll & sticky header-----------------------------------------*/
.outer {
  top:0;
  bottom:0;
  position:absolute;
  overflow:hidden;
}

.inner {
  max-height: 80%;
  overflow-y:auto;
  width:100%;
}

#fixedheader {
   position:sticky;
   top:0;
}
/*----------------------------------modals ----------------------------------*/
#modalfilter {
  z-index:1006;
  display:none;
}
#modalPerson {
  z-index:1004;
  display:none;
}
#modalEPerson {
  z-index:1005;
  display:none;
}
#modalLmsg  {
  z-index:1006;
  display:none;
}
#modalDmsg  {
  z-index:1007;
  display:none;
}
#modalEmsg  {
  z-index:1008;
  display:none;
}
#modalLEmsg  {
  z-index:1009;
  display:none;
}
#modalDEmsg  {
  z-index:1010;
  display:none;
}
#modalEEmsg  {
  z-index:1011;
  display:none;
}
#modalLocations{
  z-index:1000;
  display:none;
}
#modalELocations{
  z-index:1001;
  display:none;
}
#modalDepartments{
  z-index:1002;
  display:none;
}
#modalEDepartments{
  z-index:1003;
  display:none;
}


/*                 style table employee image   */
#profileImage {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #28289b;
  font-size: 30px;
  text-align: center;
  line-height: 45px;
  margin: 20px 0;
}

/*              images on modals      */
img.modalImg {
  border: 5px solid #3db7c7;
  border-radius: 4px;
  padding: 5px;
  width: 15%;
  display: block;
}

/****************************  pre-loader            *****************************/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index:9999;
  overflow: hidden;
  background: #fff;
  color:#3db7c7;
}

#preloader:before {
  content:"";
  position:fixed;
  margin-top: 37vh;
  margin-left: 40vw;
  top: calc(50%-50px);
  left: calc(50%-50px);
  border: 6px solid #f2f2f2;
  border-top:6px solid #3db7c7;
  border-radius:50%;
  width:100px;
  height:100px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader{
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes animate-preloader {
  0%{
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
  