/*---------------------------------------------------GENERAL SETTING---------------------------------*/
body{

  	min-height: 100%;
		background: #E4E9F7;
  	/*background-image: linear-gradient(to bottom right,#B272A6, #66CCCC);
  	background-repeat: no-repeat;
  	background-attachment: fixed;*/
  	color: black;
  /* background-image: radial-gradient(farthest-corner at 60% 55%, #B272A6, white, #66CCCC);*/
}
/*------------------------------------------------Side navbar---------------------------------------*/
/* Google Font Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins" , sans-serif;
}
.sidebar{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 78px;
  background: #11101D;
  padding: 6px 14px;
  z-index: 99;
  transition: all 0.5s ease;
}
.sidebar.open{
  width: 250px;
  z-index: 2000;
}
.sidebar .logo-details{
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}
.sidebar .logo-details .icon{
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .logo-details .logo_name{
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details .icon,
.sidebar.open .logo-details .logo_name{
  opacity: 1;
}
.sidebar .logo-details #btn{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.sidebar.open .logo-details #btn{
  text-align: right;
}
.sidebar i{
  color: #9d3131;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}
.sidebar .nav-list{
  margin-top: 20px;
  height: 100%;
}
.sidebar li{
  position: relative;
  margin: 8px 0;
  list-style: none;
}
.sidebar li .tooltip{
  position: absolute;
  top: -20px;
  left: calc(100% + 15px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}
.sidebar li:hover .tooltip{
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar.open li .tooltip{
  display: none;
}
.sidebar input{
  font-size: 15px;
  color: #FFF;
  font-weight: 400;
  outline: none;
  height: 50px;
  width: 100%;
  width: 50px;
  border: none;
  border-radius: 12px;
  transition: all 0.5s ease;
  background: #1d1b31;
}
.sidebar.open input{
  padding: 0 20px 0 50px;
  width: 100%;
}
.sidebar .bx-search{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 22px;
  background: #1d1b31;
  color: #FFF;
}
.sidebar.open .bx-search:hover{
  background: #1d1b31;
  color: #FFF;
}
.sidebar .bx-search:hover{
  background: #FFF;
  color: #11101d;
}
.sidebar li a{
  display: flex;
  height: 100%;
  width: 100%;
  border-radius: 12px;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: #11101D;
}
.sidebar li a:hover{
  background: #FFF;
}
.sidebar li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}
.sidebar.open li a .links_name{
  opacity: 1;
  pointer-events: auto;
}
.sidebar li a:hover .links_name,
.sidebar li a:hover i{
  transition: all 0.5s ease;
  color: #11101D;
}
.sidebar li i{
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}
.sidebar li.profile{
  position: fixed;
  height: 60px;
  width: 78px;
  left: 0;
  bottom: -8px;
  padding: 10px 14px;
  background: #1d1b31;
  transition: all 0.5s ease;
  overflow: hidden;
}
.sidebar.open li.profile{
  width: 250px;
}
.sidebar li .profile-details{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.sidebar li img{
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}
.sidebar li.profile .name{
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

.sidebar .profile #log_out{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #1d1b31;
  width: 100%;
  height: 60px;
  line-height: 60px;
  border-radius: 0px;
  transition: all 0.5s ease;
}
.sidebar.open .profile #log_out{
  width: 50px;
  background: none;
}
.home-section{
  position: relative;
  background: #E4E9F7;
  min-height: 100vh;
  top: 0;
  left: 78px;
  width: calc(100% - 78px);
  transition: all 0.5s ease;
 /* z-index: 2;*/
}
/*.sidebar.open ~ .content-section{
  left: 250px;
  width: calc(100% - 250px);
}*/
.home-section .text{
  display: inline-block;
  color: #11101d;
  font-size: 25px;
  font-weight: 500;
  margin: 18px
}


/*-----------------------------------------End Side navbar------------------------------------------*/
.btn{
	color: white;
	background-color: #B272A6;
	transition: all 0.5s ease;
}
.btn:hover{
	color: black;
	background-color: #66CCCC;
}
.btn:focus{
	color: black;
	background-color: #66CCCC;
}
#messageBox{
	padding: .1rem;
	margin-left: .5rem !important;
	margin-right: .5rem !important;
	position: absolute; 
	z-index: 1000; 
	right: 0.2rem; 
	left: 0.2rem;

}
#success_message,#success_message_modal{
	background-color: #28a745 !important; 
	min-height: 20px;
	padding: .5rem !important;
	/*margin-left: 2rem !important;
	margin-right: 1rem !important;*/
	font-size: 14px;
	z-index: 1000px;
	position: absolute;
}
#error_message,#error_message_modal{
	background-color: #dc3545 !important;
	min-height: 20px;
	padding: .5rem !important;
	/*margin-left: 2rem !important;
	margin-right: 1rem !important;*/
	font-size: 14px;
}


.content-heading{
	padding: 1px !important;
	margin: 0 .2rem 0 .2rem !important;
	transition: all 0.5s ease;
}
.content-heading #titlePage{
	color: black;
	font-weight: bold;
	font-size: 24px;
	transition: all 0.5s ease;
	
	
}
.content-heading .btn .fas{
	font-size:18px;
}

#option-menu span{
	padding: 2px;
	float: right;
}
.featurette-divider{
	background-color: #66CCCC;
	color: #66CCCC;
	margin: 0.5rem 0 0.5rem 0 !important;
	
}
.dropdown-menu{
	border: solid 1px;
	min-width: 10px;
	margin-right: 5px;
}
.content-section{
	padding: 5px;
	background-color: white;
	position: relative;
  min-height: 100vh;
  top: 0;
  left: 78px;
  width: 1200px;
  
  /*transition: all 0.15s ease;*/
	
}
#showNoOfRecords li{
	font-size: 14px;
	font-weight: normal;
	text-align: center;
}
/* -------------------------------------------------------------TABLE VIEW ---------------------------- */
table{ 
	border-collapse: collapse; 
	max-width: 80%; 
	transition: all 0.5s ease;
	
}
.table-sm td {
  padding: 0 5px 0 5px !important;
}

#table-area { 
	overflow-y: auto;
	max-width: 95%;  
	height: 80vh; 
	margin-left: 0.5rem !important;
	margin-right: 0.5rem !important;


}
#table-area-sm { 
	overflow-y: auto;
	max-width: 95%;  
	height: 20vh; 
	margin-left: 0.5rem !important;
	margin-right: 0.5rem !important;


}
.table-area-md { 
	overflow-y: auto;
	max-width: 95%;  
	height: 50vh; 
	margin-left: 0.5rem !important;
	margin-right: 0.5rem !important;


}
#table-area .dropdown{
	margin:1px !important;
	text-align: center !important;
}
#table-area #cmbTd{
	margin:1px !important;
	text-align: center !important;
}
#table-area .dropdown .btn {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

#table-area .dropdown .btn:hover {
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
}

 #table-area .dropdown .btn:focus{
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
  box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}
#table-area thead th,#table-area-sm thead th  {
  position: sticky;
  top: 0; 
  z-index: 1; 
  padding: 0.2rem;
  /*color: #fff;*/
  min-height: 30px;
  background-color:  #66CCCC;
  box-shadow: inset .5px .5px  #66CCCC, 0 .5px  #66CCCC;
  
}
.fixed-tr th{
  position: sticky;
  top: 30px; 
  z-index: 1; 
  padding: 0.2rem;
  color: #fff;
  background-color: #f8f9fa;
  box-shadow: inset 1px 1px #fff, 0 1px #fff;

}
/*---------------------------------------PAGINATION SETTING---------------------------------------------------*/
#pagination th{
  position: sticky;
  bottom: 0; 
  z-index: 1; 
  
  background-color: #66CCCC;
  box-shadow: inset 1px 1px #fff, 0 1px #fff;



}
.pagination{
	min-height: 2px; margin-bottom:0; padding-bottom:0;
}
/*----------------------------------------------------------------CARD VIEW ----------------------------------*/
#card-area{
	margin-left: 0.5rem !important;
	margin-right: 0.5rem !important;
	padding: 20px;
	max-width: 100%;
	overflow-y: auto; 
	height: 400px;
	transition: all 0.5s ease; 
}
#card-area .dropdown .btn {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

#card-area .dropdown .btn:hover {
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
}

 #card-area .dropdown .btn:focus{
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
  box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}

/*-------------------------------------------------------POPUP MENU--------------------------------------*/

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
  padding-bottom: 0.7rem;
}
#modal-bottom{
	border-top: 1px solid #66CCCC;
	margin-bottom: 0.2%;
}
#form-content{
	padding: 0 .2rem 0 .2rem !important;
}
#previewFrame{
	padding: 1px 5px 1px 2px;
	min-width: 450px;
	min-height: 450px;
}
/*---------------------------------------------------CARD GENERAL SETTING-----------------------------*/
.card{
	border-color: #66CCCC;
	width: 200px;
	transition: all 0.5s ease;
}

.card:focus, .card.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.card-badge {
  position:absolute;
  top:-10px;
  left:-14px;
  padding:10px;
 
  
}
/*-----------------------------------------------------Entry Page-------------------------------------*/
#form-section{
	margin: .5rem;
	padding: 20px;
	background-color: white;
	max-width: 100%;
	overflow-y: auto; 
	height: 400px; 
	transition: all 0.5s ease;
}
#cardEntryPage{
	min-width: 550px;
	min-height: 250px;
	margin: 7px !important;
}
#cardEntryPage .card-header{
	background-color: #66CCCC;
	min-height: : 5px !important;
}
#cardEntryPage .card-header h6{
	padding: 0;
}
#cardEntryPage .card-body{
	margin: 0 !important;
	padding: 0 !important;
}
#cardEntryPage .card-body>.row{
	margin: 1px !important;
	padding: 1px !important;
}

#rowControl  .col-sm-4, .col-sm-6 , .col-sm-2 , .col-sm-10 , .col-sm-12{
	padding: 1px !important;
}
#btnEntryPage span{
	padding: 0 .1rem 0 .1rem;
	margin: 0 .1rem 0 .1rem;
}
/*--------------------------------------------------SEARCH OR FILTER SECTION--------------------------------------*/
#search-section{
	margin: 0.5rem;
	z-index: 1; 
	position: absolute;
	right: 10px;
	top: 100px;
	padding: 0.5rem;
	background-color: #B272A6;
	
	width: 230px;
	min-height: 450px;
	transition: all 0.5s ease;
	
}
#boxSearchSection{
	padding: 0.2rem;
	margin-left: 0.5rem;
}
#btnSearchSection{
	position: absolute;
	bottom: 0;
	color: white;
	padding:0.5rem;
	padding-left: 0;
	margin: 0.2rem;
}
/*---------------------------------------FOOTER---------------------------------------------------------*/
.footer{
	margin-top:.5rem;
	 padding: 1.5rem .5rem 0.5rem .5rem !important;
	 bottom: 0;
	 position: fixed;
	 z-index: -10;
	 color: white;
	
	
}	
.footer #copyright{
	 margin-right: 1px !important;
	 float: right !important; 
	 
}


/*------------------------------MEDIA FOR SMALLER DEVICE-------------------------------------------------------*/
@media screen and (max-width: 580px) {
	.content-heading #titlePage{
		color: black;
		font-weight: bold;
		font-size: 20px;
		padding-left: 20px;
		
	}
	.navbar-toggler-icon{
		color: white;
	}
	.navbar-toggler{
		color: white;
	}
	#option-menu span{
		padding: 1.5px;
		float: right;
	}
	/*#option-menu  #filter_box_span{
		float: left;
	}*/
  .content-section{
		top: 0;
		display: relative;
		padding: 0.5rem;
		background-color: white;
		max-height: 100vh;
		top: 0;
	  left: 28px;
	  width: calc(100% - 28px);
	  transition: all 0.5s ease;
		
		
	}
	.sidebar.open ~ .content-section{
	  left: 28px;
	  width: calc(100% - 38px);
	}
	#cardEntryPage{
		min-width: 390px;
		min-height: auto;
		margin: 0.5rem;

	}
	#rowControl .col-sm-12 {
	    -ms-flex: 0 0 95%;
	    flex: 0 0 95%;
	    max-width: 95%;
	    padding: 0.2rem;
	  }
	#rowControl .col-sm-9 {
	    -ms-flex: 0 0 55%;
	    flex: 0 0 55%;
	    max-width: 50%;
	  }
	#rowControl .col-sm-6{
		-ms-flex: 0 0 50%;
	    flex: 0 0 50%;
	    min-width: 30%;
	    padding: 0.2rem;
	}
	#rowControl .col-sm-4{
		-ms-flex: 0 0 40%;
	    flex: 0 0 40%;
	    min-width: 30%;
	    padding: 0.2rem;
	}
	#rowControl .col-sm-2{
		 -ms-flex: 0 0 50%;
	    flex: 0 0 50%;
	    min-width: 30%;
	    padding: 0.2rem;
	}
	
	#table-area { 
		overflow-y: auto; 
		height: 80vh; 
		width: 100%;
    overflow-x: auto;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;

	}

	#table-area thead th  {
	  position: sticky;
	  top: 0; 
	  z-index: 1; 
	  padding: 0.2rem;
	  color: #fff;
	  background-color: #66CCCC;
	  box-shadow: inset 1px 1px #fff, 1px 1px #fff;
	  
	}
	#filter-tr th{
	  position: sticky;
	  top: 39.5px; 
	  z-index: 1; 
	  padding: 0.2rem;
	  color: #fff;
	  background-color: #66CCCC;
	  box-shadow: inset 1px 1px #fff, 0 1px #fff;
	}
	#pagination th{
	  position: sticky;
	  bottom: 0; 
	  z-index: 1; 
	  padding: 0.2rem;
	  height: 50px;
	  color: #fff;
	  background-color: #66CCCC;
	  box-shadow: inset 1px 1px #fff, 0 1px #fff;
	}
	#search-section{
		margin: 0.1rem;
		z-index: 1; 
		position: absolute;
		right: 10px;
		top: 100px;
		
		background-color: #B272A6;
		height: auto;
		width: 230px;
		min-height: 500px;
	
	}
	#btnSearchSection{
		position: absolute;
		bottom: 0;
		color: white;
		padding:0.5rem;
		padding-left: 0;
		margin: 0.2rem;
	}
	.footer{
		 padding: 0.5rem 0.2rem 0.5rem 0.2rem !important;
		 bottom: 0;
		 
		 z-index: -10;
		
	}
	#copyright{
		float: right;
		 margin-right: .3rem !important;
		 margin-top: .5rem !important;
		
		 
	}
	 #companyName{
		 float: left;
		 margin-left: .3rem !important;
		  margin-top: .5rem !important;
		
		 
	}
	
	.sidebar{
	  position: fixed;
	  left: 0;
	  top: 0;
	  height: 100vh;
	  width: 38px;
	  background: #11101D;
	  padding: 6px 14px;
	  z-index: 99;
	  transition: all 0.5s ease;
	}
	.sidebar.open{
		
	  width: 155px;
	  height: 100vh;
	}
	.sidebar .logo-details{
	  height: 60px;
	  display: flex;
	  min-width: 30px;
	  align-items: left;
	  position: relative;
	}
	.sidebar .logo-details .logo_name{
	  color: #fff;
	  font-size: 16px;
	  font-weight: 300;
	  opacity: 0;
	  transition: all 0.5s ease;
	}
	.sidebar .logo-details #btn{
	  top: 50%;
	  min-width: 30px;
	  font-size: 18px;
	  text-align: left;
	}
	.sidebar i{
	  color: #fff;
	  height: 60px;
	  min-width: 30px;
	  font-size: 18px;
	  text-align: left;
	  line-height: 60px;
	}
	.sidebar li i{
	  height: 50px;
	  line-height: 50px;
	  font-size: 16px;
	  border-radius: 12px;
	}
  .sidebar li .tooltip{
    display: none;
  }
  .sidebar li.profile{
	  position: absolute;
	  height: 60px;
	  width: 38px;
	  left: 0;
	  bottom: -8px;
	  padding: 10px 14px;
	  background: #1d1b31;
	  transition: all 0.5s ease;
	  overflow: hidden;
	}
	.sidebar.open li.profile{
	  width: 150px;
	}
	.sidebar li .profile-details{
	  display: flex;
	  align-items: left;
	  flex-wrap: nowrap;
	}
  .sidebar li.profile .name{
	  display: none;
	}
	.sidebar .profile #log_out{
	  /*position: absolute;*/
	  top: 50%;
	  right: 0;
	  transform: translateY(-50%);
	  background: #1d1b31;
	  width: 50%;
	  height: 60px;
	  line-height: 60px;
	  border-radius: 0px;
	  transition: all 0.5s ease;
	}
	.sidebar.open li.profile .name{
		display: flex;
	  font-size: 15px;
	  font-weight: 400;
	  color: #fff;
	  white-space: nowrap;
	}
	.sidebar.open .profile #log_out{
	  width: 30px;
	  background: none;
	}
}
@media print {
 
  .content-section{
    min-width: 992px !important;
  }

}
