/*##### SST layout stuff #####*/

/* -- overrides -- */
.scrollSortTable,.scrollSortTable td,.scrollSortTable th,.tblHeader,.tblHeaderNoSort,.tblHeader2
	{
	border: 0;
}

table.scrollSortTable {
	margin-left: 0 !important;
	border-collapse: separate;
}

table.scrollSortTable td {
	padding: 0;
	border-collapse: separate;
}

.scrollSortDiv {
	min-width: auto;
}

.combo-list {
	z-index: 2500;
}

.calendar {
	z-index: 2500;
}

/*-- new layout --*/
.ssTableWrap {
	width: 100%;
	overflow: auto;
	/* height to be set on load after reading header and body desired heights */
}

table.ssTable {
	table-layout: fixed;
	overflow: hidden;
	border-radius: 0 0 3px 3px;
}

.ssTable thead {
	background: #eeeeee;
}

.ssTable.sstEmpty {
	border-radius: 0;
}

.ssTable thead.tblHeader tr th:not(.frozenShim ),
.ssTable.sstEmpty th.frozenShim {
	border-bottom: 1px solid #d3d3d3;
}

.ssTable thead.tblHeader tr th:not(.frozenShim ):not(.table-menu ) {
	padding-right: 15px;
}

.ssTable td,.ssTable th {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #d3d3d3;
}

table.scrollSortTable table.ssTable td {
	padding: 0 3px;
}

table.scrollSortTable .tblBody td>table tr>td {
	border-right: none;
}

.ssTable th {
	padding: 0 3px 3px 3px;
	vertical-align: top;
	text-align: left;
}

table.ssTable td[align="right"] {
	padding-right: 3px;
}

.ssTable,.ssTable td,.ssTable th,.tblHeader,.tblHeaderNoSort,.tblHeader2
	{
	border-collapse: separate !important;
	/* - for fixing moving borders when freezing columns - */
}

.ssTable td,.ssTable th {
	border-right-width: 1px;
	border-right-style: solid;
	border-top: 0;
	border-bottom: 0;
}

.table-filler-ne {
	position: absolute;
	top: 0;
	right: 0;
	background: #eeeeee;
	z-index: 10;
}

.table-filler-sw {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #eeeeee;
}

.resizable-s .table-filler-sw {
	bottom: 7px;
}

.sst-header {
	position: relative;
	border-radius: 3px 3px 0 0;
	background: #dedede;
	border: 1px solid #d3d3d3;
	border-bottom: 0;
	margin-bottom: 0;
}

.ssTableLight .sst-header {
	background: none;
	border: none;
	padding: 5px 0 10px 5px;
}

.ssTable-containing .ui-resizable-handle {
	background: #eeeeee;
	border-top: 1px solid lightgrey;
}

.ssTableLight .ssTable-containing .ui-resizable-handle {
	border-top: none;
}

.ssTable-containing .ui-resizable-handle:hover,.ssTableWrap .ui-resizable-handle.active,.ssTable th.frozenShim.active,.ssTable td.frozenShim.active,.ssTable th.frozenShim.active .frozenShimFill,.ssTable td.frozenShim.active .frozenShimFill,.dragtable-sortable th.frozenShim .frozenShimFill,.dragtable-sortable td.frozenShim .frozenShimFill
	{
	background: #9FC9EB !important;
}

.ssTable-containing .ui-resizable-s {
	height: 6px;
	bottom: 0;
}

.ssTable-containing.resizable-s {
	padding-bottom: 7px;
}

.scrollSortTable td.ssTable-containing {
	position: relative;
	border: 1px solid #d3d3d3;
	vertical-align: top;
	border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.ssTableLight td.ssTable-containing {
	border: none;
}

table.ssTable tr th:last-child,table.ssTable tr td:last-child {
	border-right: 0;
}

li>table.ssTable {
	border-radius: 0;
}

li>table.ssTable tr th:last-child {
	border-right: 1px solid #d3d3d3;
}

.table-scroller-h {
	overflow-x: scroll;
	overflow-y: hidden;
	position: absolute;
	bottom: 0;
	z-index: 10;
}

.resizable-s .table-scroller-h {
	bottom: 7px;
}

.table-scroller-v {
	overflow-x: hidden;
	overflow-y: scroll;
	position: absolute;
	right: 0;
	z-index: 10;
}

/*##### the table menu stuff #####*/
.title-menu,.footer-menu,th.table-menu,td.row-menu {
	width: 20px !important;
	min-width: 20px !important;
	text-align: center;
	vertical-align: middle;
}

.title-menu.double-menu, .footer-menu.double-menu {
	width: 49px !important;
	min-width: 49px !important;
	text-align: left;
}

.title-menu.double-menu .menu-icon, .footer-menu.double-menu .menu-icon {
	min-width: 13px;
	display: inline-block;
	text-align: center;
}

th.table-menu.double-menu {
	width: 43px !important;
	min-width: 43px !important;
}

th.table-menu {
	padding: 3px 0 0 5px;
}

.title-menu {
	display: inline-block;
	margin: -7px 3px -5px -3px;
}

.footer-menu {
	float: left;
	border: 1px solid #d3d3d3;
	border-radius: 0 0 3px 3px;
	margin-top: -1px;
}

div.menu-icon {
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 4px 3px 3px 3px;
}

td.row-menu div.menu-icon {
	display: none;
	/*visibility: hidden;*/
	width: 13px;
	min-width: 13px;
}

td.row-menu div.menu-icon.visible-menu-icon {
	display: inline-block;
}

td.row-menu div.menu-icon.menu-disabled {
	display: none;
}

tr:hover>td.row-menu div.menu-icon,
td.row-menu div.menu-icon.active {
	visibility: visible;
}

div.menu-icon:hover {
	border: 1px solid #d3d3d3;
	background: white;
	cursor: pointer;
}

.footer-menu div.menu-icon:hover,.footer-menu div.menu-icon.active {
	background: #eee;
	border-radius: 0;
}

/*
th.table-menu div.menu-icon.active, td.row-menu div.menu-icon.active {
    border-radius: 3px 3px 0 0;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid white;
    background: white;
}*/
div.menu-icon.active {
	border: 1px solid #d3d3d3;
	background: white;
	box-shadow: inset 0 0px 5px 0px rgba(39, 128, 248, 0.15);
}

th.table-menu div.menu-icon.active {
	border-radius: 3px 3px 0 0;
	border-bottom: 1px solid white;
}

td.row-menu div.menu-icon.active {
	border-radius: 3px 0 0 3px;
	border-right: 1px solid white;
}
/*##### the resize stuff #####*/
.JCLRgrip {
	z-index: 3;
	margin-left: -4px !important;
}

.JCLRgrip .JColResizer {
	width: 6px !important;
}

table.measure-width {
	table-layout: auto !important;
	white-space: normal;
}

table.measure-width.no-wrap,table.measure-width.no-wrap td,table.measure-width td.no-wrap-col,table.measure-width.no-wrap td.no-wrap-col
	{
	white-space: normal;
}

table.mw-enforce-nowrap td,table.measure-width.mw-enforce-nowrap td,table.measure-width.mw-enforce-nowrap td.do-wrap-col
	{
	white-space: nowrap;
}

table.measure-width,table.measure-width tr,table.measure-width th,table.measure-width td
	{
	width: 1px !important;
}

table.measure-width th,table.measure-width td {
	display: table-cell;
}

.set-sizing {
	width: 0 !important;
	table-layout: fixed !important;
}

.auto-sizing {
	width: 100% !important;
	table-layout: auto !important;
}

.no-wrap td {
	white-space: nowrap;
}

.auto-sizing tr:first-child th:not(.table-menu ):not(.frozenShim ) {
	width: auto !important;
}

td.no-wrap-col,table.measure-width.mw-enforce-nowrap td.no-wrap-col {
	white-space: nowrap;
}

table.set-sizing td.no-wrap-col,table.measure-width td.no-wrap-col {
	white-space: normal;
}

td.do-wrap-col,table.no-wrap .do-wrap-col {
	white-space: normal;
}

.ssTable tr {
	table-layout: fixed;
}

.ssTable tfoot .frozenShim {
	border-top: 0;
	box-shadow: none;
}

.ssTable tr td:not(.row-menu) {
	overflow: hidden;
	text-overflow: ellipsis;
}

/*##### the dragtable stuff #####*/
li .ssTable thead {
	width: 100%;
}

.dragtable-sortable {
	list-style-type: none;
	margin: 0;
	padding: 0;
	-moz-user-select: none;
}

.dragtable-sortable li table.ssTable {
	width: 100% !important;
}

.dragtable-container {
	position: absolute;
	z-index: 6;
	overflow-x: hidden;
	overflow-y: hidden;
}

.dragtable-container>div {
	overflow-x: auto;
}

.dragtable-sortable li {
	margin: 0;
	padding: 0;
	float: left;
	font-size: 1em;
	background: white;
	list-style-type: none;
	list-style-image: none;
}

.dragtable-sortable th,.dragtable-sortable td {
	border-left: 0px;
}

.dragtable-sortable li:first-child th,.dragtable-sortable li:first-child td
	{
	border-left: 1px solid #CCC;
}

.dragtable-sortable .frozen-cell {
	left: 0 !important;
}

.dragtable-sortable th:not(.frozenShim ):not(.table-menu ) {
	position: relative;
	padding-right: 12px;
}

.ui-sortable-helper {
	opacity: 0.7;
	filter: alpha(opacity = 70);
	z-index: 1;
}

.ui-sortable-placeholder {
	-moz-box-shadow: 4px 5px 4px #C6C6C6 inset;
	-webkit-box-shadow: 4px 5px 4px #C6C6C6 inset;
	box-shadow: 4px 5px 4px #C6C6C6 inset;
	border-bottom: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
	visibility: visible !important;
	background: #EFEFEF !important;
	visibility: visible !important;
}

.ui-sortable-placeholder * {
	opacity: 0.0;
	visibility: hidden;
}
/*#### end dragtable stuff ####*/
.dragaccept div.table-handle {
	/*background: #c1c1c1;
	height: 12px;
	margin: 0 -3px;*/
	cursor: move !important;
}

/*#### the freeze stuff ####*/
.frozenShim {
	width: 6px !important;
	min-width: 6px !important;
	padding: 0 !important;
	margin: 0 !important;
	background: #eeeeee !important;
	overflow: hidden;
	/* border: 0!important; */
}

.frozenShimFill {
	width: 6px;
	height: 100%;
	position: absolute;
	top: 0;
	overflow: hidden;
	background: #eeeeee;
}

.frozenShimFill.table-handle {
	margin: 0;
}

.frozen-cell,.frozen-row th,.frozen-row td,.frozen-row-bottom th,.frozen-row-bottom td
	{
	position: relative;
	z-index: 2;
}

.frozen-row .frozen-cell,.frozen-row-bottom .frozen-cell {
	z-index: 4;
}

.tblHeader .frozen-cell,.frozen-row th,.frozen-row-bottom th,.frozen-row-bottom td
	{
	background: #eeeeee;
}

.ssTableLight .frozen-row th {
	box-shadow: 0 4px 4px 1px #dedede;
}

.frozen-row-bottom th,.frozen-row-bottom td {
	border-top: 1px solid #d3d3d3;
	box-shadow: 0 -1px 5px 0 #d3d3d3;
}

.frozen-grip {
	z-index: 5;
}

.frozen-overlaps {
	box-shadow: 2px 0 5px 0 #d3d3d3;
}

/*#### dialog styles ####*/
.sst-dialog {
	background: #fff;
	z-index: 2000 !important;
}

ul.sst-sortby-list,ul.sst-sortby-list li {
	list-style: none;
}

.tms-simple-select-wrapper:after {
	content: '\f107';
	font: normal normal normal 24px/1 FontAwesome;
	color: #b0b0b0;
	right: 6px;
	top: 1px;
	padding: 0 0 2px;
	position: absolute;
	pointer-events: none;
}

.tms-simple-select-wrapper {
	position: relative;
	float: left;
}

.tms-simple-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* Add some styling */
	display: block;
	width: 240px;
	height: 26px;
	float: right;
	padding-left: 4px;
	color: #404040;
	background-color: #ffffff;
	background-image: none;
	border: 1px solid #d3d3d3;
	-ms-word-break: normal;
	word-break: normal;
	border-radius: 3px;
	/* vertical-align: middle; */
}

.sst-dialog-header {
	text-align: left;
}

.sst-dialog-header span {
	display: inline-block;
	padding: 8px;
	line-height: 1.5em;
}

.sst-dialog-title {
	font-weight: bold;
	margin-left: 5px;
}

.sst-dialog-close {
	cursor: pointer;
	float: right;
}

.sst-sortby-level {
	padding: 4px 0;
	margin: 0;
	height: 26px;
	background: white;
	text-align: left;
}

.sst-sortby-level i {
	display: inline-block;
	padding: 7px 6px;
	float: left;
}

.sst-sortby-level>i:first-child {
	margin-right: 5px;
	cursor: move;
}

.sst-sortby-level i:last-child {
	cursor: pointer;
}

.sst-sortby-level:only-child>i:last-child {
	display: none;
}

.sst-sortby-level:first-child:not(:only-child )>i.fa-sort:before {
	content: '\f0dd';
}

.sst-sortby-level:last-child:not(:only-child )>i.fa-sort:before {
	content: '\f0de';
}

.sst-sortby-list {
	max-height: 236px;
	overflow-y: auto;
	overflow-x: hidden;
}

.sst-sortby-direction-toggle {
	margin: 0 10px 0 6px;
	display: inline-block;
	float: left;
}

.sst-sortby-direction-toggle i {
	display: inline-block;
	cursor: pointer;
}

.sst-sortby-direction-toggle i.active {
	background: #9fc9eb;
	border-radius: 3px;
}

.panelContainer .buttonContainer.sst-sortby-list-actions {
	margin: 0 8px;
}

.sst-sortby-list-actions i {
	padding: 5px;
	cursor: pointer;
}

.sst-sortby-list-actions i:hover, .sst-sortby-level i:hover {
	cursor: pointer;
	background: #9FC9EB;
	border-radius: 3px;
}

/*#### header menus styles ####*/
.th-actions {
	position: absolute;
	top: 1px;
	right: 1px;
	border: 1px solid #d3d3d3;
	border-radius: 3px;
	width: 12px;
	height: 12px;
	background-color: #fff;
	text-align: center;
	cursor: pointer;
	z-index: 5;
	/* display: none; */
}

.ssTable .tblHeader tr th:hover .th-actions,
.ssTable .tblHeader tr th .th-actions.active,
.ssTable .tblHeader tr th .th-actions.filter-on:not(.filter-suspended ) {
	display: initial;
}

.th-actions:hover {
	background-color: #d3d3d3;
	color: #fff;
}

.th-actions i {
	line-height: 1.3em;
}

.th-indicator {
	position: absolute;
	bottom: 2px;
	right: 0;
	font-weight: lighter;
	font-size: 10px;
}

.th-sort-index {
	line-height: 1em;
}

.tm-sep {
	border-bottom: 1px solid #eee;
}

.iw-cm-menu li.th-filter {
	padding-left: 0;
}

.filter-widge-wrapper .teamsRadio {
	margin-right: 1px;
}

.th-filter.th-filter-loading {
	height: 50px;
	width: 269px;
	overflow: hidden;
}

.th-filter.th-filter-loading > * {
	display: none;
}

.th-filter.th-filter-loading > .th-filter-spinner {
	display: inline-block;
	position: absolute;
	top: calc(50% - 10px);
    left: calc(50% - 10px);
}

.th-filter.iw-mSelected {
	background-color: transparent;
	cursor: auto;
}

.th-filter-variant-wrapper {
	padding-left: 22px;
}

.th-filter .buttonContainerCenter {
	margin-right: -28px;
}

div.filter-section-header i,div.filter-section-header.ui-accordion-header-active.applied i
	{
	font-size: 15px;
	padding: 5px 15px 5px 8px;
	margin-left: -12px;
}

.ui-accordion .ui-accordion-header.filter-section-header {
	padding: .5em 25px .5em 0;
}

div.filter-section-header.ui-state-focus,div.filter-section-header.ui-state-active,div.filter-section-header.ui-state-hover,div.filter-section-header:focus,div.filter-section-header:hover
	{
	color: #404040;
	border: 0;
	outline: 0;
}

div.filter-section-header i {
	padding-left: 12px;
	padding-right: 18px;
}

div.filter-section-header.ui-accordion-header-active i {
	padding-right: 14px;
}

div.filter-section-header i:before {
	content: '\f0da'; /* caret-right */
}

div.filter-section-header.ui-accordion-header-active i:before {
	content: '\f0d7'; /* caret-down */
}

div.filter-section-header.applied i:before {
	content: '\f0b0'; /* filter */
	color: #9FC9EB;
}

.iw-contextMenu .ui-icon,.iw-contextMenu .ui-state-hover .ui-icon {
	background: none;
}

div.filter-section-header,div.filter-section-body {
	border: 0;
	background: none;
	width: 244px;
}

.ui-accordion-content.filter-section-body {
	padding: .5em 2px .5em 23px;
}

div.filter-section-body:empty {
	padding: 0;
}

.input-option {
	padding: .5em 0;
	clear: both;
}

.input-option input:not(.checkbox ) {
	margin: 5px 0;
	width: 142px;
}

.ui-widget-content {
	color: #4d4d4d;
	border: 0;
	background: none;
}

.wildcard-toggle {
	display: inline-block;
	cursor: pointer;
	padding-left: 7px;
}

.wildcard-info {
	background: #eee;
	display: block;
	padding: 3px;
	border-radius: 5px;
	display: none;
}

.wildcard-info:before {
	content: '';
	width: 0;
	height: 0;
	position: relative;
	top: -10px;
	left: 150px;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 7px solid #eee;
	z-index: -1;
	font-size: 0px;
}

.ms-container,.ms-container .search-input {
	width: 246px;
	margin-top: 3px;
}

.ms-container .ms-list {
	margin-top: 3px;
}

.ui-widget,.ms-container .ms-selectable li.ms-elem-selectable {
	font-family: inherit;
	font-size: inherit;
}

.ms-container .ms-selectable li.ms-elem-selectable {
	padding-right: 20px;
}

.ms-container .ms-selectable li.ms-elem-selectable .pull-right {
	margin-right: -10px;
}

.ms-container .ms-selectable li.ms-elem-selectable span:not(.pull-right) {
	vertical-align: text-top;
	display: inline-block;
	width: calc(100% -   5px);
	overflow: hidden;
	text-overflow: ellipsis;
}

.ms-container .ms-list.ms-focus {
	border-color: #b0b0b0;
	-webkit-box-shadow: 0 0 5px 3px rgba(128, 128, 128, 0.15);
	-moz-box-shadow: 0 0 5px 3px rgba(128, 128, 128, 0.15);
	box-shadow: 0 0 5px 3px rgba(128, 128, 128, 0.15);
	outline: 0;
}

.ms-container .ms-selectable li.ms-hover {
	background-color: #9FC9EB;
}

.ms-container .ms-selectable li span.ms-elem-selected {
	padding-top: 5px;
}

.filter-on.th-actions:not(.filter-suspended) {
	background: #9FC9EB;
	color: white;
}

.row-details {
	background: white;
	padding: 0 .5em;
}

.row-details-label {
	font-weight: bold;
	font-size: 1.1em;
	margin-top: 1.2em;
	white-space: nowrap;
}

.row-details-value {
	font-size: 1.2em;
	margin-top: .4em;
}

.row-details-column {
	min-width: 250px;
	margin-bottom: 1em;
}

.detail-view-toggle {
	float: right;
	padding: 6px 0 0 6px;
}

.detail-view-toggle i {
	padding: 7px;
	cursor: pointer;
}

.detail-view-toggle i.active {
	background: #9fc9eb;
	border-radius: 3px;
}

.close-row-details {
	background: white;
	padding: 4px 6px 3px 7px;
	border-radius: 3px 0 0 3px;
	border: 1px solid #d3d3d3;
	border-right: snow;
	position: fixed;
	margin-top: -1px;
	cursor: pointer;
}

.close-row-details:hover {
	background: #eee;
}

.iw-contextMenu .close-row-details {
	margin-left: -23px;
}

.iw-contextMenu.row-details .close-row-details {
	margin-left: -28px;
}

.tms-layer,.blockOverlay {
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
	-ms-transform: translatez(0);
	-o-transform: translatez(0);
	transform: translatez(0);
}

.tms-hide {
	display: none !important;
}

.rec-count {
	background: transparent;
}

.rec-count.rec-count-top {
	background: #dedede;
	position: absolute;
	right: 17px;
	top: 0;
	padding: 6px;
	border-right: 1px solid #dedede;
	border-radius: 4px 0 0 4px;
	width: initial;
	font-weight: lighter;
}

.ssTableLight .rec-count.rec-count-top {
	background: none;
	border-right: none;
	top: 0px;
}

.rec-count .fa-filter {
	color: #9FC9EB;
}

.rec-count .fa-exclamation-triangle {
	color: orange;
}

.hidden-input, input[type="text"].hidden-input, label.hidden-input-label {
	padding: 0;
	margin: 0;
	z-index: -1;
	width: 0px;
	height: 0px;
	border: none;
	font-size: 0;
}

.ssTableLight .table-scroller-v::-webkit-scrollbar-track, .ssTableLight .table-scroller-h::-webkit-scrollbar-track
{
	border-radius: 5px;
	background-color: #F5F5F5;
}

.ssTableLight .table-scroller-v::-webkit-scrollbar, .ssTableLight .table-scroller-h::-webkit-scrollbar
{
	width: 16px;
	border-radius: 5px;
	background-color: #F5F5F5;
}

.ssTableLight .table-scroller-v::-webkit-scrollbar-thumb:hover, .ssTableLight .table-scroller-h::-webkit-scrollbar-thumb:hover {
	background-color: #d3d3d3;
}

.ssTableLight .table-scroller-v::-webkit-scrollbar-thumb, .ssTableLight .table-scroller-h::-webkit-scrollbar-thumb
{
	border-radius: 5px;
	background-color: #dedede;
}

.ssTableLight #h1Tag1Toggle {
	display: none;
}

/* -- force scrollbars on ssts on OSX w/ webkit -- */
html[data-useragent*='Mac OS X'] .scrollSortTable ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 7px;
}
html[data-useragent*='Mac OS X'] .measure-scrollbar::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 7px;
}
html[data-useragent*='Mac OS X'] .scrollSortTable ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    box-shadow: 0 0 1px rgba(255,255,255,.5);
}
html[data-useragent*='Mac OS X'] .scrollSortTable ::-webkit-scrollbar-track {
    background-color: #eee;
}