/*
 *  Author:       Allan Jardine
 *  Modified:     Okta
 *  Project:      DataTables
 *  Copyright 2009 Allan Jardine. All Rights Reserved.
 */

/*
 * jQuery UI specific styling
 */
.paging_two_button .fg-button {
	float: left;
	cursor: pointer;
}

.paging_full_numbers .fg-button {
    padding: 0 10px;
	cursor: pointer;
	font-size: 12px;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    border-color: #bbb #bbb #b1b1b1;
    border-width: 1px 1px 1px 0;
    border-style: solid;
    box-shadow: 0 1px 0 rgba(160, 160, 160, 0.24);

    background: #ffffff; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZWVlZWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #ffffff 0%, #eeeeee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 0%,#eeeeee 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-8 */
}

.paging_full_numbers > span:first-child {
    border-left-width: 1px !important;
}

.paging_full_numbers .fg-button:hover {
    background: #fefefe url(/img/ui/button/okta-buttons-sprite-001.png) repeat-x -1000px 0 !important;
}
.paging_full_numbers .fg-button.ui-state-disabled,
.paging_full_numbers .fg-button.ui-state-disabled:hover {
    opacity: 1;
    color: #fff;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    border-color: #2f68ad #2f68ad #154e93;
    background: #3e77bc !important; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNlNzdiYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzNTZlYjEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #3e77bc 0%, #356eb1 100%) !important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3e77bc), color-stop(100%,#356eb1)) !important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #3e77bc 0%,#356eb1 100%) !important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #3e77bc 0%,#356eb1 100%) !important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #3e77bc 0%,#356eb1 100%) !important; /* IE10+ */
    background: linear-gradient(to bottom,  #3e77bc 0%,#356eb1 100%) !important; /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e77bc', endColorstr='#356eb1',GradientType=0 ) !important; /* IE6-8 */
}
.paging_full_numbers .fg-button.first.ui-state-disabled,
.paging_full_numbers .fg-button.last.ui-state-disabled,
.paging_full_numbers .fg-button.previous.ui-state-disabled,
.paging_full_numbers .fg-button.next.ui-state-disabled {
    opacity: 0.35;
    color: #333;
    border-color: #bbb #bbb #b1b1b1;
    border-width: 1px 1px 1px 0;
    border-style: solid;
    background: transparent !important;
    filter: transparent, alpha(opacity=35) !important;
}

.dataTables_paginate {
	width: auto;
}

.dataTables_wrapper {
	position: relative;
	clear: both;
	height: auto;
	zoom: 1; /* Feeling sorry for IE */
}

.dataTables_processing {
    background: #fff url(/img/ui/indicators/ajax-loader.gif) no-repeat 15px 12px;
	position: absolute;
	top: 80px;
	left: 50%;
	width: 120px;
	height: auto;
	margin-left: -89px;
	padding: 16px 6px 14px 50px !important;
	border: 1px solid #d1d1d1;
	color: #444;
	font-size: 14px;
	display: block !important;
	z-index: 100;
	border-radius: 4px;
	box-shadow: 0 2px 8px #cacaca;
}

.dataTables_length {
    color: #666;
	font-size: 12px;
	padding: 10px;
	line-height: 30px;
	font-weight: normal;
}

.dataTables_length {	
	float: right;
}

.dataTables_filter {
	float: left;
	text-align: left;
	font-size: 12px;
    position: relative;
    padding: 10px;
}

.dataTables_filter label {
    height: 0;
    width: 0;
    display: block;
    color: transparent;
    line-height: 30px;
}

.dataTables_filter label:after {
    content: url('/img/icons/16x16/search.png');
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 18px;
}

.dataTables_filter input[type=text] {
    border: 1px solid #cacaca;
    border-radius: 15px !important;
    font-size: 12px;
    line-height: 14px;
    height: 14px;
    width: 200px;
    padding: 7px 12px 7px 28px;
}

.dataTables_info {
	width: auto;
    line-height: 30px;
	padding: 10px;
	float: left;
	font-size: 12px;
    border-bottom-left-radius: 4px;
	font-weight: normal;
    color: #666;
}

.dataTables_paginate {
	width: 44px;
	float: right;
	text-align: right;
	border-bottom-right-radius: 4px;
	padding: 10px;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
	height: 19px;
	width: 19px;
	margin-left: 3px;
	float: left;
}

.paginate_disabled_previous {
	background-image: url('/img/ui/data-table/back_disabled.jpg');
}

.paginate_enabled_previous {
	background-image: url('/img/ui/data-table/back_enabled.jpg');
}

.paginate_disabled_next {
	background-image: url('/img/ui/data-table/forward_disabled.jpg');
}

.paginate_enabled_next {
	background-image: url('/img/ui/data-table/forward_enabled.jpg');
}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
 */
table.display {
	margin: 0 auto;
	clear: both;
	display: block;
	border-bottom: 1px solid #dadada;
	/*width: 100% !important;*/
}
table.display tr:last-child {
    border-bottom: none;
}
.superuser-app table.display {
    display: table;
    table-layout: auto;
    width: 100% !important;
}
table.display thead th {
	padding: 10px 12px;
	line-height: 14px;
	border-left: none !important;
	border-right: none !important;
	border-bottom: 1px solid #dadada !important;
	border-top: 1px solid #dadada !important;
	font-weight: normal;
	cursor: pointer;
	text-align:left;
	color: #444;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
}

table.display thead th:first-child {
    border-top-left-radius: 4px;
}

table.display thead th:last-child {
    border-top-right-radius: 4px;
}

table.no-top-border thead th {
    border-top: none !important;
}

table.display thead th + th {
	border-left: 1px solid #ddd !important;
}

table.display tfoot th {
	padding: 0 4px 0 6px;
	border-top: 1px solid #aaa;
	font-weight: bold;	
	text-align:left;
	background: #555;
	color: #fff;
}

table.display tr.heading2 td {
	border-bottom: 1px solid #aaa;
}

table.display td {
	padding: 10px 12px;
	border-left: hidden;
	vertical-align: top;
}

table.display .check-col-hdr,
table.display .check-col {
    vertical-align: top;
}

table.display .check-col {
    background: #f9f9f9;
}

table.display .check-col {
    padding: 7px 8px;
}

table.display .check-col-hdr {
    padding: 10px 8px;
}

table.display td.check-col + td {
    border-left: 1px solid #e1e1e1;
}

table.display thead th,
table.display .check-col-hdr {
    background: #f0f0f0;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlYWVhZWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f6f6f6 0%, #eaeaea 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#eaeaea)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f6f6f6 0%,#eaeaea 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f6f6f6 0%,#eaeaea 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f6f6f6 0%,#eaeaea 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f6f6f6 0%,#eaeaea 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#eaeaea',GradientType=0 ); /* IE6-8 */
}

table.display td.center {
	text-align: center;	
}

table.display th#details_expander {
    width: 20px;
}

table.display img.row_expander {
    position: absolute;
    top: 0;
    left: 2px;
    display: block;
    height: 16px;
    width: 16px;
}

table.display img.row_expander:hover {
    cursor: pointer;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */

table.display thead th.sorting_asc, table.display thead th.sorting_desc {
	background: #555 url("/img/ui/data-table/col-hdr-active-bg.png") repeat-x scroll 0 0;
}

.sorting {
	background: url('/img/ui/data-table/sort_both.png') no-repeat center right;
}

.sorting_asc_disabled {
	background: url('/img/ui/data-table/sort_asc_disabled.png') no-repeat center right;
}

.sorting_desc_disabled {
	background: url('/img/ui/data-table/sort_desc_disabled.png') no-repeat center right;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables Expanded Details
 */
td.details {
    box-shadow: inset 0 1px 1px rgba(175, 175, 175, 0.16);
	border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 0 !important;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
table.display tr.odd.gradeU td {
	background-color: #fff;
}

table.display tr.even.gradeU td {
	background-color: #fff;
}

tr.odd, tr.even, tr.gradeU {
    border-bottom: 1px solid #eee;
    background-color: #fff !important;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */

.top .dataTables_info {
	float: none;
}

.clear {
	clear: both;
}

.dataTables_empty {
	text-align: center !important;
	vertical-align: middle !important;
	height: 140px;
	border-bottom: none !important;
	color: #777;
    font-size: 14px;	
}

tfoot input {
	margin: 0.5em 0;
	width: 100%;
	color: #444;
}

tfoot input.search_init {
	color: #999;
}

td.group {
	background-color: #d1cfd0;
	border-bottom: 2px solid #A19B9E;
	border-top: 2px solid #A19B9E;
}

.example_alt_pagination div.dataTables_info {
	width: 40%;
}

.paging_full_numbers {
	width: auto;
}

.paging_full_numbers span.paginate_button,
 	.paging_full_numbers span.paginate_active {
	border: 1px solid #888;
	border-radius: 4px;
	padding: 4px 8px;
	margin: 0 1px;
	cursor: pointer;
	color: #fff;
}

.paging_full_numbers span.paginate_button {
	background: #555 url("/img/ui/data-table/paginate-bg.png") 0 0 repeat-x;
}

.paging_full_numbers span.paginate_button:hover {
	border: 1px solid #aaa;
}

.paging_full_numbers span.paginate_active {
	background: #555 url("/img/ui/data-table/paginate-active-bg.png") 0 0 repeat-x;
	border: 1px solid #4992c4;
}

table.display tr.even.row_selected td {
	background-color: #B0BED9;
}

table.display tr.odd.row_selected td {
	background-color: #9FAFD1;
}

/* Odd row styles */
table.display tr.odd.gradeU td.sorting_1 {
	background-color: #fff;
}

table.display tr.odd.gradeU td.sorting_2 {
	background-color: #fff;
}

table.display tr.odd.gradeU td.sorting_3 {
	background-color: #fff;
}

/* Even row styles */
table.display tr.even.gradeU td.sorting_1 {
	background-color: #fff;
}

table.display tr.even.gradeU td.sorting_2 {
	background-color: #fff;
}

table.display tr.even.gradeU td.sorting_3 {
	background-color: #fff;
}

/*
 * Row highlighting example
 */
.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
	background-color: #ECFFB3;
}

.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
	background-color: #E6FF99;
}

/*
 * KeyTable
 */
table.KeyTable td {
	border: 3px solid transparent;
}
table.KeyTable td.focus {
	border: 3px solid #3366FF;
}
table.display tr.gradeA {
	background-color: #eeffee;
}
table.display tr.gradeC {
	background-color: #ddddff;
}
table.display tr.gradeX {
	background-color: #ffdddd;
}
table.display tr.gradeU {
	background-color: #fff;
}
div.box {
	height: 100px;
	padding: 10px;
	overflow: auto;
	border: 1px solid #8080FF;
	background-color: #E5E5FF;
}

/* Customizations & Add Ons */
.data-grid-controls {
    padding: 5px 0;       
}
.data-grid-controls-top {
    border-top: 1px solid #eaeaea;
}
.data-grid-controls-btm {
    border-bottom: 1px solid #eaeaea;
}
.data-grid-controls-checkbox {
    display: block;
    float: left;
    margin: 7px 0 0 10px;
    font-size: 12px;
}
.data-grid-controls-checkbox-label {
    display: block;
    float: left;
    font-size: 12px;
    font-weight: bold;
    margin: 7px 0 0 15px;
}
.data-grid-controls a.confirm {
    padding: 0 12px !important;
}
.data-grid-controls a.cancel {
    padding: 0 20px !important;
}

/* JQuery UI overrides */
.data-grid-container {
	margin-top: 0;
}
.data-grid-container .ui-widget-header {
	border: none;
}
.data-grid-container.data-grid-override .ui-widget-header {    
    border-top: 1px solid #dadada;
    background: #f2f2f2 !important;
}
.data-grid-container.data-grid-override .ui-widget-header.ui-corner-bl {
    border-bottom: 1px solid #dadada;
    border-top: none;
}
.data-grid-container .fg-toolbar {
	padding: 0;
}
.data-grid-container .fg-toolbar.ui-corner-tr,
.data-grid-container .fg-toolbar.ui-corner-tl,
.data-grid-container .fg-toolbar.ui-corner-bl,
.data-grid-container .fg-toolbar.ui-corner-br  {
	border-radius: 0 !important;
}

.sorted_asc .DataTables_sort_wrapper,
.sorted_desc .DataTables_sort_wrapper {
    position: relative !important;
}
.data-grid-container table {
    table-layout: fixed;
}
.data-grid-container table.display thead th span.ui-icon {
	float: right;
        position:absolute;
        right:6px;
        top:-1px;
}
.data-grid-container .data-grid th .ui-icon {
	height: 5px;
	width: 9px;
	margin-top: 5px;
}
.data-grid-container .ui-icon-carat-2-n-s {
	background: transparent;
}
.data-grid-container .ui-icon-triangle-1-n {
	background: transparent url("/img/ui/data-table/col-hdr-sorter-002.png") no-repeat 0 0;
}
.data-grid-container .ui-icon-triangle-1-s {
	background: transparent url("/img/ui/data-table/col-hdr-sorter-002.png") no-repeat -9px 0;
}
#data-grid_paginate .ui-state-default {
	background: #555 url("/img/ui/data-table/paginate-bg.png") 0 0 repeat-x;
}
#data-grid_paginate .fg-button {
	border: 1px solid #d1d1d1;	
	padding: 4px 8px;
	margin: 0 0 0 1px;
	cursor: pointer;
	color: #555;
	font-size:11px;
}
#data-grid_paginate .fg-button:hover {
	border: 1px solid #aaa;
}
#data-grid_paginate span span.ui-state-disabled {
	color: #fff;
	border: 1px solid #4992c4;
	opacity: 1;
}
#data-grid_paginate span span.ui-state-disabled:hover {
	border: 1px solid #4992c4;
}
#data-grid_first, #data-grid_previous,
#data-grid_next, #data-grid_last {
	background: #f6f6f6 url("/img/ui/data-table/paginate-bg.png") 0 0 repeat-x !important;
	border: 1px solid #d1d1d1 !important;
}
.datatable-search-box {
    position: relative;
}

tr td.dataTables_empty:hover{
    cursor: none !important;
    background: none !important;
}

.data-grad-apps .app-icon-mini{
    float: left;
    margin-right: 15px;
}
.data-grid-apps .details {
    float: left;
}
.data-grid-container .app-icon-mini {
    float: left;
    margin-right: 15px;
}

.data-grid-no-toolbar table.display th {
    border-top: none !important;
}



/* end overrides */
.search_user_autocomplete {
  float: left;
  margin-right: 10px;
}
table.data-grid tfoot {
	display: none;
}

