﻿/* Component styles */
@font-face {
	font-family: 'Blokk';
	src: url('../fonts/blokk/BLOKKRegular.eot');
	src: url('../fonts/blokk/BLOKKRegular.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/blokk/BLOKKRegular.woff') format('woff'),
		 url('../fonts/blokk/BLOKKRegular.svg#BLOKKRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}
.component {
	line-height: 1.5em;
	margin: 0 auto;
	padding: 0; /*by hong --2em 0 3em;*/
	width: 100%; /*by hong -- 90%;*/
	max-width: 1300px;/*by hong -- 1000px;*/
	overflow: hidden;
}
.component .filler {
	font-family: "Blokk", Arial, sans-serif;
	color: #d3d3d3;
}
table {
    border-collapse: collapse;
    margin-bottom: 3em;
    width: 100%;
    background: none;
}
td, th {
    padding: 0.3em; /* by hong -- 0.75em 1.5em;*/
    text-align: left;
    /* by hong */
    font-size:16px;
    font-family: Calibri, Arial;
}
	td.err {
		background-color: #e992b9;
		color: #fff;
		font-size: 0.75em;
		text-align: center;
		line-height: 1;
	}
th {
    background-color:#263e51;  /* blue color #002454;  green color #31bc86;*/
    /*font-weight: bold;*/
    color: #fff;
    white-space: normal; /*nowrap;*/
   
}
tbody th {
	background-color: #f9da9e; /* table section row */
	color: #000;
}
tbody tr:nth-child(2n-1) {
    background-color: #f5f5f5;
    transition: all .125s ease-in-out;
}
tbody tr:hover {
    background-color: rgba(129,208,177,.3); /*rgba(146, 192, 219,.3);*/
}

/* For appearance */
.sticky-wrap {
	overflow-x: auto;
	overflow-y: hidden;
	position: relative;
	margin: 1em 0;
	width: 100%;
}
.sticky-wrap .sticky-thead,
.sticky-wrap .sticky-col,
.sticky-wrap .sticky-intersect {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	transition: all .125s ease-in-out;
	z-index: 50;
	width: auto; /* Prevent table from stretching to full size */
}
	.sticky-wrap .sticky-thead {
		box-shadow: 0 0.25em 0.1em -0.1em rgba(0,0,0,.125);
		z-index: 100;
		width: 100%; /* Force stretch */
	}
	.sticky-wrap .sticky-intersect {
		opacity: 1;
		z-index: 150;

	}
		.sticky-wrap .sticky-intersect th {
			background-color: #666;
			color: #eee;
		}
.sticky-wrap td,
.sticky-wrap th {
	box-sizing: border-box;
}

/* Not needed for sticky header/column functionality */
td.user-name {
	text-transform: capitalize;
}
.sticky-wrap.overflow-y {
	overflow-y: auto;
	max-height: 50vh;
}



/* ------------------Added for multi table header------------------------------ */

.StickymultiHeaderTable{
	min-width:800px;
	margin-bottom:0.2em;	
			
}	
.StickymultiHeaderTable table {
    border: solid thin #fff;
    min-width:800px;
}

.StickymultiHeaderTable td {
    border: solid thin #fff;
    border-bottom:0px;
}

 .StickymultiHeaderTable tbody {
    display:block;
    height:325px;
  
    overflow:auto;
    border-bottom:solid thin #fff;
}
.StickymultiHeaderTable thead, .StickymultiHeaderTable tbody tr {
    display:table;
    width:100%;
    table-layout:fixed;
    /*min-width: 600px;*/
}
.StickymultiHeaderTable thead {
    /*width: calc( 100% - 1em );*/
     /*width: calc( 100% - 17px );*/
     border-bottom:solid thin #fff;
      
}




.StickymultiHeaderTable td, .StickymultiHeaderTable th {
    padding: 0.3em; /* by hong -- 0.75em 1.5em;*/
    text-align: left;
    /* by hong */
    font-size:16px;
    font-family: Calibri, Arial;
    color: #fff;
}
	
.StickymultiHeaderTable th {
    background-color:#002454;  /* blue color #002454;  green color #31bc86;*/
    font-weight: bold;
   
    white-space: normal; /*nowrap;*/
   
}
.StickymultiHeaderTable tbody th {
	background-color: #2ea879;
}
.StickymultiHeaderTable tbody tr:nth-child(2n-1) {
    background-color: inherit;/*#f5f5f5;*/
    transition: all .125s ease-in-out;
}
.StickymultiHeaderTable tbody tr:hover {
    background-color: rgba(129,208,177,.3); /*rgba(146, 192, 219,.3);*/
}

.text-white {color: #fff}


/* MOBILE LANDSCAPE */
@media screen  and (max-width: 569px )
 {
	.StickymultiHeaderTable thead {
     width: calc( 100% - 0 );
    
	}

	
	.StickymultiHeaderTable td, .StickymultiHeaderTable th {
    	padding: 0.3em;
    	font-size: 12px;
   
	}

}



/* SMALL TABLET */
@media only screen and (min-width: 570px) 
 {
	.StickymultiHeaderTable thead {
    width: calc( 100% - 1em );
    
	}
      
 

	.StickymultiHeaderTable td, .StickymultiHeaderTable th {
    padding: 0.3em;
    font-size:16px;
   
	}
	
}


.StickymultiHeaderTable tbody::-webkit-scrollbar {
   -webkit-appearance: none;
}

.StickymultiHeaderTable tbody::-webkit-scrollbar:vertical {
   width: 1em;
}

.StickymultiHeaderTable tbody::-webkit-scrollbar:horizontal {
   height: 1em;
}

.StickymultiHeaderTable tbody::-webkit-scrollbar-thumb {
   background-color: #ccc;
   border-radius: 10px;
   border: 2px solid #eee;
   height: 2em;
}

.StickymultiHeaderTable tbody::-webkit-scrollbar-track { 
   background-color: #eee; 
}
/* ------------------End for multi table header------------------------------ */

