/*
 * IMPORTANT:
 * + The ORDER of the styles in this file matters in terms of precedence.
 * + use !important at the end of value to override inline styles
 */

/** General based styles **/
.afl_empty
{
	font-style: italic;
}

.afl_tables img, .afl_lists img
{
	margin: 1px 1px 1px 1px !important;
}


/** Table based styles **/
.afl_tables
{
	width: inherit; /* inherit is a good option to 100% */
	border-collapse: separate;
	border-spacing: 0px; /* Removes the extra spacing */
	text-align: left;
}

.afl_tables *
{
	/* Anything here will affect ALL elements in the table */
}

.afl_tables th
{
	padding: 4px;
	border-color: #FFFFFF !important;
	border-style: solid !important;
	border-width: 1px !important;
}

.afl_tables td
{
	padding: 1px;
	border-style: none !important;
}


/** Paginated-Table based styles **/
.afl_pagetables
{
	width: 100%; /* inherit is a good option to 100% */
	border-collapse: separate;
	border-spacing: 1px;
	text-align: left;
}

.afl_pagetables *
{
	/* Anything here will affect ALL elements in the paginated table */
}

.afl_pagetables th
{
	padding: 4px;
	border-color: #FFFFFF !important;
	border-style: solid !important;
	border-width: 1px !important;
}

.afl_pagetables td
{
	padding: 1px;
	border-style: none !important;
}

.afl_pagetables > tfoot td
{
	text-align: center;
}

.afl_pageoptions
{
	display: block;
	margin: 5px auto 5px;
	padding: 0;
	clear: both;
}

.afl_pagination
{
	display: block;
	margin: 5px auto 5px;
	padding: 0;
	clear: both;
}

.afl_pagelimit
{
	height: 20px;
	margin-left: 10px;
	margin-right: 10px;
	/*float: left;*/
	display: inline; /* handles IE quirk with inline-block */
	display: inline-block;
}

.afl_pagination div
{
	/*float: left;*/
	display: inline; /* handles IE quirk with inline-block */
	display: inline-block;
}

.afl_pagination div > span
{
	visibility: hidden;
	margin-left: 5px;
	margin-right: 5px;
	padding: 2px 25px 2px 10px;
}

/* Common characteristics of the 4 buttons */
a.afl_start, a.afl_prev, a.afl_next, a.afl_end
{
	height: 20px;
	margin-left: 5px;
	margin-right: 5px;
	border-color: #C2C2C2;
	border-style: solid;
	border-width: 1px;
	border-radius: 5px;
	text-decoration: none;
}

a.afl_start
{
	background: url("../images/resultset_first.png") no-repeat scroll 0% 0% transparent;
	padding: 2px 10px 2px 25px;
}

a.afl_start:link, a.afl_start:visited
{
}

a.afl_start:hover, a.afl_start:active, a.afl_start:focus
{
	background: url("../images/resultset_first.png") no-repeat scroll 0% 0% #7EC1E6 !important;
}

a.afl_prev
{
	background: url("../images/resultset_previous.png") no-repeat scroll 0% 0% transparent;
	padding: 2px 10px 2px 25px;
}

a.afl_prev:link, a.afl_prev:visited
{
}

a.afl_prev:hover, a.afl_prev:active, a.afl_prev:focus
{
	background: url("../images/resultset_previous.png") no-repeat scroll 0% 0% #7EC1E6 !important;
}

a.afl_next
{
	background: url("../images/resultset_next.png") no-repeat scroll 100% 0 transparent;
	padding: 2px 25px 2px 10px;
}

a.afl_next:link, a.afl_next:visited
{
}

a.afl_next:hover, a.afl_next:active, a.afl_next:focus
{
	background: url("../images/resultset_next.png") no-repeat scroll 100% 0 #7EC1E6 !important;
}

a.afl_end
{
	background: url("../images/resultset_last.png") no-repeat scroll 100% 0 transparent;
	padding: 2px 25px 2px 10px;
}

a.afl_end:link, a.afl_end:visited
{
}

a.afl_end:hover, a.afl_end:active, a.afl_end:focus
{
	background: url("../images/resultset_last.png") no-repeat scroll 100% 0 #7EC1E6 !important;
}

div.afl_pages
{
	max-width: 30%;
	min-height: 20px;
	margin-left: 0px;
	margin-right: 10px;
}

/*
div.afl_pages span
{
}

div.afl_pages a:link, div.afl_pages a:visited
{
	display: inline-block;
	text-decoration: none;
	padding: 2px;
	margin-left: 2px;
	margin-right: 2px;
	background-color: transparent;
	color: #0C96CC;
}

div.afl_pages a:hover, div.afl_pages a:active, div.afl_pages a:focus
{
	background: #5DCAF5 !important;
	color: #FFFFFF;
}
*/

/** Unordered List based styles **/
.afl_lists
{
	/*list-style-type: none !important;*/
	list-style-image: none;
	padding-left: 0px; 
}

.afl_lists *
{
	/* Anything here will affect ALL elements in the unordered list */
}

li > ul.afl_lists
{
	padding-left: 40px !important; 
}




/** Filter based styles **/
div.afl_filterdiv
{
	text-align: left;
}

span.afl_filterlabel
{
	font-weight: bold;
}

span.afl_notfound
{
	/*visibility: hidden;*/
	display:none;
	font-style: italic;
	color: red;
}

span.afl_success
{
	font-style: italic;
	color: green;
}

span.afl_fail
{
	font-style: italic;
	color: red;
}

input.afl_textboxes
{
}

img.afl_cancelimgs
{
	/*visibility: hidden;*/
	display:none;
}

a.afl_download
{
	display: inline;
	display: inline-block;
	background-color: transparent;
}

a.afl_download:hover
{
	text-decoration: none;
	border-color: transparent;
	background-color: transparent;
}

.afl_expandall, .afl_collapseall
{
	float: right;
	cursor: pointer;
}

.afl_expandall:hover, .afl_collapseall:hover
{
}