/* 
* datatable-overrides-lp.css
* CSS file to override styles for Datatable for the Lightpath brand.
*/

/* For datatable that should have a pointer cursor. */
.grid-container.abcp-cursor-pointer {
   cursor: pointer;
}

/* Style to add width 100% to Datatables in order to make it resposive. */
.grid-container table.dataTable {
	width: 100%!important;
}

/* Style to add background-color to table header. */
.grid-container table.dataTable thead {
	background-color: #f4f4f4;
}
/*  Styles to add color and hover capability to spans used as links in specified datatable columns. */
.grid-container span.viewable-column-link {color: #000; text-decoration: underline; font-weight: 600; cursor: pointer;}

.grid-container span.viewable-column-link:hover {text-decoration: underline; font-weight: 900; color: #7A9900}

/* Style to add the word wrap and break on the Datatable body. */
.grid-container table.dataTable tbody {
	word-wrap: break-word;
	word-break: break-word;
}

/* Style to change font on the datatable. */ 
.grid-container table.dataTable tbody td {
	font-size:14px;
}

/* Style to change font on the datatable's search and show labels. */ 
div.dataTables_filter label, div.dataTables_length label {
	font-size:14px;
}

/* Style to change the info message "Showing X of Y entries". */ 
div.dataTables_info {
	font-size:14px;
}


/* Style for Select All checkbox in Datatable header. */
.grid-container table.dataTable thead .selectAll-checkbox {
	margin-left: 10px;
}

/* Style to add colon after title on datatable's child row. */
table.dataTable>tbody>tr.child span.dtr-title::after {
	content: ": ";
}

/* Style to display datatable's child section as a table. */
table.dataTable>tbody>tr.child ul {
	display: table;
}

/* Style to make child row's title as table cell. */ 
table.dataTable>tbody>tr.child span.dtr-title{
	display: table-cell;
	width: 100px;
	word-wrap: break-word;
}

/* Style to make child row's data as table cell. */ 
table.dataTable>tbody>tr.child span.dtr-data{
	display: table-cell;
}

table.dataTable tr.selected {
	background-color: #8A8C8E !important;
	color: #FFFFFF !important;
}
table.dataTable tr.selected.even {
	background-color: #8A8C8E !important;
	color: #FFFFFF !important;
}
table.dataTable tr.selected.odd {
	background-color: #8A8C8E !important;
	color: #FFFFFF !important;
}

table.dataTable tr.selected td.sorting_1 {
	background-color: #8A8C8E !important;
	color: #FFFFFF !important;
}

table.dataTable tr.selected td.sorting_2 {
	background-color: #8A8C8E !important;
	color: #FFFFFF !important;
}

table.dataTable tr.selected td.sorting_3 {
	background-color: #8A8C8E !important;
	color: #FFFFFF !important;
}

table.dataTable tr.selected td.cursor-pointer {
	background-color: #8A8C8E !important;
	color: #0084d6 !important;
}

/* Set datatable hover color */
table.dataTable.table-hover > tbody > tr:not(.selected):hover {
	background-color:#ddd !important;
}

/* Set datatable hover color to override selected sorting color */
table.dataTable.display tbody>tr.selected:hover>.sorting_1, 
table.dataTable.display tbody>tr.selected:hover>.sorting_2,
table.dataTable.display tbody>tr.selected:hover>.sorting_3 {
	background-color: #ddd;
} 

/* Style to override the Datatable footer for showing number of entries and filtered data info. */
div.dataTables_info {
	white-space: unset !important;
}

/* Styles for the pagination buttons / text section. */
ul.pagination li.paginate_button a {
	font-size:14px;
	color: #000;
}

/* Styles for the pagination buttons / text section. */
ul.pagination li.paginate_button.active a {
	font-size:14px;
	color: #000;
	background-color: #8A8C8E;
	border-color: #000 !important;
}

/* Sets position of responsive plus (+) control when used in a single column and
   adding 'abcp-control' as a class name along with 'control' as a class name */
table.dataTable.dtr-column>tbody>tr>td.control.abcp-control:before {
	top: 24px !important;
}


/* DataTables css */

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
	font-size: 14px;
    padding: 15px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: none !important;
}
.table-striped > tbody > tr {
    background-color: #f4f4f4;
}

table.dataTable.table-striped > tbody > tr:nth-of-type(odd) {
	background-color: #fff;
}

.table > thead > tr > th {
    border-bottom: none !important;
}
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    -webkit-border-radius: 35px;
	border-radius: 35px;
	background-color: #fff;
	margin-top: 15px;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
        margin-top: 15px;
    white-space: nowrap;
    background-color:#f4f4f4 !important;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #8A8C8E !important;
    border-color: #000 !important;
    color:  #000 !important;
}

.pagination > .active > a:hover {
	background-color: #FFFF66 !important;
}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #0084D8;
    text-decoration: none;
    background-color: #fff;
    border: none;
}
/*!
 * DataTables + Font Awesome integration
 * License: MIT - http://datatables.net/license
 */

/*
 * Sort styling
 */
table.dataTable thead th {
	position: relative;
	background-image: none !important; /* Remove the DataTables bootstrap integration styling */
}

table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
	position: absolute;
	right: 8px;
	display: block;
	font-family: FontAwesome-alloy;
	font-weight: 800;
}
table.dataTable thead th.sorting:after {
	content: "\f0dc";
	color: #000;
	font-size: 1em;
	padding-top: 0.4em;
}
table.dataTable thead th.sorting_asc:after {
	content: "\f0de";
}
table.dataTable thead th.sorting_desc:after {
	content: "\f0dd";
}

div.dataTables_scrollBody table.dataTable thead th.sorting:after,
div.dataTables_scrollBody table.dataTable thead th.sorting_asc:after,
div.dataTables_scrollBody table.dataTable thead th.sorting_desc:after {
	content: "";
}

/*
 * DataTables style pagination controls
 */
div.dataTables_paginate a.paginate_button.first,
div.dataTables_paginate a.paginate_button.previous {
	position: relative;
	padding-left: 24px;
	-webkit-border-radius: 35px 0 0 35px !important;
border-radius: 35px 0 0 35px !important;
}

div.dataTables_paginate a.paginate_button.next,
div.dataTables_paginate a.paginate_button.last {
	position: relative;
	padding-right: 24px;
	-webkit-border-radius: 0 35px 35px 0 !important;
border-radius: 0 35px 35px 0 !important;
}

div.dataTables_paginate a.first:before, 
div.dataTables_paginate a.previous:before {
	position: absolute;
	top: 8px;
	left: 10px;
	/* hide arrow */
	display: none;
	font-family: FontAwesome-alloy;
}

div.dataTables_paginate a.next:after,
div.dataTables_paginate a.last:after {
	position: absolute;
	top: 8px;
	right: 10px;
	/* hide arrow */
	display: none;
	font-family: FontAwesome-alloy;
}

div.dataTables_paginate a.first:before {
	content: "\f100";
}

div.dataTables_paginate a.previous:before {
	content: "\f104";
}

div.dataTables_paginate a.next:after {
	content: "\f105";
}

div.dataTables_paginate a.last:after {
	content: "\f101";
}


/*
 * Bootstrap and foundation style pagination controls
 */
div.dataTables_paginate li.first > a,
div.dataTables_paginate li.previous > a {
	position: relative;
	padding-left: 24px;
	-webkit-border-radius: 35px 0 0 35px !important;
border-radius: 5px 0 0 5px !important;
}

div.dataTables_paginate li.next > a,
div.dataTables_paginate li.last > a {
	position: relative;
	padding-right: 24px;
	-webkit-border-radius: 0 35px 35px 0 !important;
border-radius: 0 5px 5px 0 !important;
}

div.dataTables_paginate li.first a:before, 
div.dataTables_paginate li.previous a:before {
	position: absolute;
	top: 6px;
	left: 10px;
	/* hide arrow */
	display: none;
	font-family: FontAwesome-alloy;
}

div.dataTables_paginate li.next a:after,
div.dataTables_paginate li.last a:after {
	position: absolute;
	top: 6px;
	right: 10px;
	/* hide arrow */
	display: none;
	font-family: FontAwesome-alloy;
}

div.dataTables_paginate li.first a:before {
	content: "\f100";
}

div.dataTables_paginate li.previous a:before {
	content: "\f104";
}

div.dataTables_paginate li.next a:after {
	content: "\f105";
}

div.dataTables_paginate li.last a:after {
	content: "\f101";
}

/* In Foundation we don't want the padding like in bootstrap */
div.columns div.dataTables_paginate li.first a:before, 
div.columns div.dataTables_paginate li.previous a:before,
div.columns div.dataTables_paginate li.next a:after,
div.columns div.dataTables_paginate li.last a:after {
	top: 0;
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: 20px;
    white-space: nowrap;
}
.dataTables_info {
	width: auto;
	float: left;
	margin-right: 15px;
}
.dataTables_length {
	padding-top: 6px;
	float: left;
}

.dataTables_filter input {
	-webkit-border-radius: 5px !important;
	border-radius: 5px !important;
	font-size: 14px !important;
	height:38px !important;
	background-image: url("/static/images/search-mag.png") !important;
	background-repeat: no-repeat;
	background-position: center right;
	border: none !important;
}
.dataTables_filter input::-ms-clear{
	display:none;
}
.grid-container select.form-control {
	background-color: #fff;
	-webkit-border-radius: 25px;
	border-radius: 5px;
	border: none !important;
	background-image: url("static/images/select-arrow-datatables.png") !important;
	background-repeat: no-repeat;
	background-position: right center;
}
select.form-control.input-sm {
    line-height: 1;
    min-width:62px;
}

select::-ms-expand {
  display: none;
}


/* -- Responsive media query datatable overrides --*/

@media only screen and (max-width: 1439.98px) {
	table.dataTable thead th.sorting:after,
	table.dataTable thead th.sorting_asc:after,
	table.dataTable thead th.sorting_desc:after {
		
	}

}

@media only screen and (max-width: 991.98px) {
	.dataTables_filter input {
		padding: 14px !important;
		text-align: left !important;
	}

}

@media only screen and (max-width: 330px) {
	.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
		padding: 8px 12px 8px 8px!important;
	}
}	

@media only screen and (max-width: 470px) {
	.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
		padding: 8px 18px 8px 18px!important;
	}
}
@media only screen and (max-width: 477px)  and (min-width: 400px) {
	.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
		padding: 8px 25px 8px 25px!important;
	}
	
}	

@media only screen and (max-width: 767.98px) {

	div.dataTables_wrapper div.dataTables_paginate ul.pagination {
		display: block;
		float:right;
	}

	table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child {
		padding-left:30px !important;
	}
	
	table.dataTable.dtr-inline.collapsed>tbody>tr>td:last-child, table.dataTable.dtr-inline.collapsed>tbody>tr>th:last-child {
		padding-right:30px !important;
	}

	.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
		font-size: 12px !important;
		padding: 8px;
	}
	
	table.dataTable>tbody>tr.child span.dtr-title {
		font-size: 	12px;
	}

	table.dataTable>tbody>tr.child span.dtr-data {
		font-size: 12px;
	}
	.dataTables_filter input {
		padding: 10px !important;
	}

	/* Remove float for filter and length components to fix #of rows control in small viewports */
		div.dataTables_filter {
		text-align: left !important;
		float:none;
	}

	div.dataTables_length {
		text-align: left !important;
	    float: none;
	    padding-bottom: 8px;
	}

	table.dataTable thead th.sorting:after,
	table.dataTable thead th.sorting_asc:after,
	table.dataTable thead th.sorting_desc:after {
		right: 1px;
		
	}

}

@media only screen and (max-width: 419.98px) {
		div.dataTables_filter {
		text-align: left !important;
	}
}

/* Change color of collapsed row icon */
table.dataTable.dtr-column>tbody>tr>td.control:before, table.dataTable.dtr-column>tbody>tr>th.control:before {
	color: #000 !important;
	background-color: #f0ff00 !important;
	font-weight:  bold;
	margin-top:  -15px !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
	color: #000 !important;
	background-color: #f0ff00 !important;
	font-weight:  bold;
	margin-top:  0px !important;

}