/*** Box Content ***/

.box-content {
	position: relative;
}

#PanelMenu,
#ContentPlaceHolder1_PanelMenu,
.box-content/*:not(:last-child)*/ {
    margin-bottom: 2em;
}

.box-content.box-mt {
	margin-top: 3em;
}

.box-content a {
	color: #0095ec;
}

.box-content a:hover,
.box-content label a:hover {
	color: #0077bb;
}

.box-content.box-pretty-list ul {
	margin: 0;
	padding: 0;
}

.box-content.box-pretty-list ul {
	font-size: 0;
}

.box-content.box-pretty-list ul li {
	position: relative;
	display: inline-block;
	width: 20%;
	margin-bottom: 1em;
	font-size: 0.875rem;
}

.box-content p.description-text {
    font-size: 0.875rem;
    color: #777;
    text-align:center;
}

.box-content p.legend-text {
    font-size: 0.875rem;
    font-style: italic;
    color: #777;
}

/***  TableSaw override ***/

.grid--columns .fieldset > .tablesaw-overflow,
.tablesaw-overflow {
    margin-top: 0;
}

.tablesaw-bar.tablesaw-mode-columntoggle {
    position: relative;
    display: inline-block;
    width: 100%;
}

.tablesaw-overflow-container {
    overflow: auto;
}

.tablesaw {
	margin-bottom: 1em;
}

.tablesaw-bar.tablesaw-mode-columntoggle {
    position: relative;
}

.tablesaw-columntoggle-popup .tablesaw-btn-group > label input {
    min-height: inherit;
}

/*.tablesaw-advance {
    position: fixed;
    float: none !important;
    right: 1em;
    margin-top: -2.5em;
}*/

.tablesaw th,
.tablesaw td {
	white-space: nowrap;
	
    padding: 0.5em 0.25em;
    border: 0;
	/*border-bottom: 1px solid #dbdcdc;*/
    text-overflow: ellipsis;
	font-size: 0.875rem;
}

.tablesaw th {
    overflow: hidden;
}

.tablesaw thead th {
	border-top: 2px solid #babcbd;
	border-bottom: 2px solid #babcbd;
	background: #fff;
}

.tablesaw th a {
    color: #000;
}

/* Grid Sorting arrows */
.tablesaw th.AscendingHeaderStyle a:after,
.tablesaw th.DescendingHeaderStyle a:after {
    margin-left: 5px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tablesaw th.AscendingHeaderStyle a:after {
    content: "\f0de";
}

.tablesaw th.DescendingHeaderStyle a:after {
    content: "\f0dd";
}

.tablesaw tr {
    background: #fff;
}

.tablesaw tr:nth-child(2n):not(.commands) {
	background-color: #e8e8e8;
}

.tablesaw-swipe .tablesaw-cell-persist {
	width: 7.5em !important;
	border-right: 0;
	background: #d2f2ff;
}

.tablesaw > tbody tr > th:first-child,
.tablesaw > tbody tr > td:first-child {
	/*background: #fff;*/
	width: 3em;
}

.tablesaw tfoot tr > td > table tbody > tr td {
    border: 1px solid #ccc;
    padding: 0.5em 0.75em;
    font-size: 0.875rem;
}

.tablesaw.table-hover tr:hover {
    background: aliceblue;
}

.tablesaw td input {
    min-height: inherit;
    padding: 0.25em 0.5em;
}

.tablesaw-columntoggle-popup .btn-group > label input {
    min-height: inherit;
}

.tablesaw-columntoggle tbody td {
    line-height: 1;
}

/***  Pretty inputs override ***/

.box-content.box-pretty-list ul li.pretty {
	/*margin-right: -4px;*/
	margin-right: 0;
}

.box-content.box-pretty-list ul li.pretty [rel~=tooltip] {
	margin-left: 0.5em;
}

/* ellipsis single line */
.box-content.box-pretty-list ul.single-line-display li.pretty .state label {
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*
 * Media Queries
*/

@media only screen and (max-width: 414px) {
	/* Box Content */
	.box-content.box-pretty-list ul {
		border: 1px solid #e6e6e6;
		box-shadow: 0 15px 10px -15px rgba(0, 0, 0, 0.25);
	}

	.box-content.box-pretty-list ul li {
		width: 100%;
		margin-bottom: 0;
		border-bottom: 1px solid #d0d0d0;
		padding: 0.625em 1em;
	}

	.box-content.box-pretty-list ul li:last-child {
		border-bottom: 0;
	}

	/***  Pretty inputs override ***/
	.box-content.box-pretty-list ul li.pretty .state label {
		position: relative;
		padding-left: 1.5em;
	}

	.box-content.box-pretty-list ul li.pretty .state label:before {
		top: auto;
	}

	.box-content.box-pretty-list ul li.pretty .state label:after {
		top: 0;
	}

	.box-content .export-columns {
		margin-bottom: 2em;
	}
}

@media only screen and (min-width: 415px) and (max-width: 480px) {
	/* Box Content */
	.box-content.box-pretty-list ul li {
		width: 50%;
	}
}

@media only screen and (min-width: 481px) and (max-width: 640px) {
	/* Box Content */
	.box-content.box-pretty-list ul li {
		width: 33.333%;
	}
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
	/* Box Content */
	.box-content.box-pretty-list ul li {
		width: 25%;
	}
}

@media only screen and (min-width: 769px) {
	/* Box Content */
	.box-content.box-pretty-list ul li {
		width: 20%;
	}
}
