/* @override http://localhost:8080/css/search.css */

/*
==============================================================
File: search.css
Author: Ryan Powers, AidData.org
Date: 6 Feb 2010
Purpose: Style sheet for mains search form on aiddata.org.

Adapted from previous work done by 2paths.
Cleaned up selectors, removed duplicate elements.
Organized file for easier use by other developers.
==============================================================
*/

* {
	font-family: Helvetica, Arial, sans-serif;
/*	border: 1px solid red;*/
}

.clear {
	width: 100%;
	height: 0px;
	clear: both;
}

.hidden {
	display: none;
}

.fakeLink {
	color: #004296;

}

.nowrap {
	white-space:nowrap;
}

/*Make links feel more like buttons*/
.fakeLink a:active {
	  position: relative;
	  top: 1px;
}

.searchhelplink {
	color: #DDCA00;
	font-weight: bold;
	font-size: small;
}


/* ==============================
   DIRECTIONS
   ============================== */

#search_directions {

}

#search_directions h1{
	font-size: 30px;
	font-family: georgia, garamond, times new roman, serif;
	font-weight: normal;
	margin: 10px 0px 0px 0px
}

#search_directions p{
margin: 0px 0px 15px 0px;
font-size: 14px;
line-height: 18px;

}

/* ==============================
   FORM ELEMENTS
   ============================== */

input#text_search {
	width: 400px;
	border: 1px solid #ccc;
	font-size: 12px;
	background: #eee;
	padding: 5px;
	margin: 0px;
	float: left;
}

label#label_search {
	float: left;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	padding: 15px 5px 10px 10px;
}

input#searchButton,input#editButton,input#resetButton,input#nextButton{
    padding: 5px 10px;
    color: #fff;
    font-size: medium;
    font-weight: bold;
    background: #004296;
    margin: 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    border: 0px solid #3e78b5;
    cursor:pointer;

}

input#nextButton:hover, input#searchButton:hover, input#resetButton:hover, input#editButton:hover{
	background: #0059CD;

}


input.ac_input {
	width: 400px;
	background: #eee;
	padding: 3px;
	margin: 0px;
	font-size: small;
	color: #a0a0a0;
	border: 1px solid #ccc;
}



/* ==============================
   TABS
   ============================== */


.tabHeader, .tabHeader-selected  {
    background: #eee url('/images/backgrounds/tab_back.png');
    color: #000;
    border: 1px solid #bbb;
	border-bottom: 0px;
    font-size: small;
    font-weight: bold;
    line-height: 12px;
    padding: 5px 10px 0px 10px;
    cursor: pointer;
}

.tabHeader-selected {
    background: #111b27 !important;
    color: white;
	border: 0px;
	border-bottom: 0px;
}

/* Edit Button */
.editCriteria span {
float: right;
padding: 1px 4px;
background: #625C63;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
border-radius: 5px;
color: white;
border-bottom: 0px;
line-height: 14px;
text-transform: uppercase;
text-decoration: none !important;
font-size: x-small;
    padding-bottom:1px
}

.editCriteria a {
    text-decoration:none;
    color: white;
}

.editCriteria span:hover{
    cursor: pointer;
    background: #004296;
    text-decoration: none !important;

}

#tabContent {
	background: #111b27;
	padding: 4px 1px 1px 1px;
	margin:4px 0px 0px 0px;
	width:100%;
}

#tabContent p {
	line-height: 15px;
	font-size: small;
	background: #fff;
	margin: 0px;
	padding: 10px;
}

#tabContent h1 {
	background: #004296;
	color: #fff;
	font-size: small;
	text-transform: uppercase;
	padding: 6px 9px;
	margin: 0px;
}

/* ==============================
   Spacer between tabs and mains search form
   ============================== */

#criteriaTable tbody td.bottom, #criteriaTable tbody td.selected {
    height: 2px;
    background: none;
}

#criteriaTable tbody td.selected {
    background-color: #111b27;
}

#criteriaTable p {
	margin: 4px 0px;
	font-weight: normal;
	font-size: 11px;
}

table#criteriaTable td.spacer {
    width: 6px;
    border: none;
    background: none;

}

/* ==============================
   Main Search Form
   ============================== */

table#criteriaTable {
    
    table-layout: fixed;
	width:1000px;
}

.roundedCorners {
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;

}

.roundedCorners_criteriaGroup {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
   

}

.criteriaBodyLayout {
	border: none !important;
	border-spacing: 0px;
	border-collapse: collapse;
	width: 100%;
}
.criteriaBodyLeft {
	font-size: small;
	font-weight: bold;
	padding: 10px;
	border-right: 1px solid #aaa;
	vertical-align: top;
	background: #eee;
	width:225px;
}

.criteriaBodyLeft .note {
	font-size:11px;
	font-weight:normal;
}

.criteriaBodyLeftKeywordSearch {
	font-size: 16px;
	font-weight: bold;
	padding: 10px;
	color: #fff;
	vertical-align: middle;

}

.criteriaBodyRight {
	vertical-align: top;
	background: #fff;
	padding: 10px;
	font-size: small;
	width: 775px;
}

form#searchForm{
	margin-bottom: 20px;
}

/* ==============================
   Current Selection
   ============================== */

.selectedMemberBlock {
	float
	position: relative;
	font-size: small;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	background: #fff;

}

.selectedMembers {
float: left;
    clear: both;
background: #fff;
 }

.selectedMember {
	float: left;
	margin: .5em .5em .5em .65em;
	padding: 0.3em 0.5em;
    background:#C1C1C1;
}

img.deleteSelectionButton {
    margin: 0px 0px 0px 3px;
    vertical-align: text-bottom;
}

.selectedClearSelectionBlock {
	padding: 0;
    background:#eee;
}

.clearSelection {
	background: #8f1700;
	color: #fff;
	text-decoration: none;
}

/* ==============================
   Quick Select
   ============================== */

.quickSelectOption {
	float: left;
	margin-right: 10px;
}
input.quickSelectCheck {
	padding-right: 20px;
}


/* ==============================
   Criteria Expandable Widgets
   ============================== */

.criteriaGroup {
    border: 1px solid #e4e4e4;
    margin-top: 0em;
    margin-bottom: 1em;
    background: #eee;
}

.actionsContainer {
margin: 0px;
padding: .5em 20px .5em .5em;
}

.actions {
    float: right
}

table.criteriaGroupsTable, table.criteriaGroupsTable td {
    border-spacing: 0px;
    border-collapse: collapse;
    table-layout: fixed;
    
}

table.criteriaGroupsTable td {
    padding: 0;
    padding-right: 1em;
    vertical-align: top;
}

table.criteriaGroupsTable td.last {
    padding-right: 0em;
    margin-left: 1px;
}

.selectedCriteria {
    float: right;
}

.criteriaGroupContainer {
    padding-left: .5em;
    padding-right: 20px;
    margin-top: .5em;
    margin-bottom: .5em;
}

.collapsed {
    background: url(/images/collapsed.gif) left no-repeat !important;
}

.groupToggle {
    padding-left: 1.5em;
    cursor: pointer;
    background: url(/images/expanded.gif) no-repeat;
}

.dimensionGroupLabel {
    font-weight: bold;
}

.deleteSelectionButton {
    cursor: pointer;
}

.criteria-content {
    
}

.dimensionGroupMemberList {
    height: 9.4em;
    overflow: auto;
    padding-left: 1em;
    padding-right: 1em;
    background: #fff;

}

/* ==============================
   Search Results
   ============================== */

.noData {
	color: #818181;
}

.result-filter-label {
	font-size: 0.9em;
	font-weight: bold;
}

select.result-filter {
	font-size: 0.9em;
}

.resultsTable {
    border: none;
    vertical-align:top;
   	width: 100%;
    border-spacing: 0px;
    border: 0px;
    line-height: 25px;
    border-collapse: collapse;
}

table#results.resultsTable th {
	font-size: .9em;
	text-align: left;
	color: #fff;
	line-height: 16px;
	padding: 0px 10px;
	background: #004296;
	border-right: 1px solid #111b27;
	border-bottom: 1px solid #111b27;
	vertical-align: middle;
}


table#results.resultsTable th a {
	width: 100%;
	padding: 3px 10px;
	margin-left: -10px;
	color: #fff;
	text-decoration: none;
	display: block;

}

.sortable a:hover {
	display: block;
	background-color: #0059CD;
}

.amountUnitsFilter {
	float: right;
}

table#results.resultsTable th.sortable a {

}


table#results.resultsTable th.asc a {
    background: url('/images/asc.png') right no-repeat !important;
	padding-right:5px;
	margin-right:-5px;	
	min-width:100px;
}

table#results.resultsTable th.desc a {
    background: url('/images/desc.png') right no-repeat !important;
	padding-right:5px;
		margin-right:-5px;	
	min-width:100px;
}

table#results.resultsTable td {
	border: 0;
	vertical-align: top;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 14px;
}

table#results.resultsTable tr.even td {
	background: #ddd;
}

td#resultsFooter {
 padding: 10px !important;
 text-align: right;
 background-color: #111b27;
}

td#resultsFooter a{
color:#c7c324;
font-weight:bold;
}

/* ==============================
   Search Result Tabs (Project View / Aggregate View)
   ============================== */

#tabs ul {
	display: inline;
	font-size: small;
	padding: 0px;
}

#tabs li {
	display: inline;
	padding: 2px 10px;
}

#tabs {
	padding: 0px;
}

.resultsSpacer {
	background-color: #111b27;
	height: 10px;
}

div.translucent { /* this class makes a window partially transparent */
    opacity: .5;               /* Standard style for transparency */
    -moz-opacity: .5;          /* Transparency for older Mozillas */
    filter: alpha(opacity=50);  /* Transparency for IE */
}
table.translucent { /* this class makes a window partially transparent */
    opacity: .5;               /* Standard style for transparency */
    -moz-opacity: .5;          /* Transparency for older Mozillas */
    filter: alpha(opacity=50);  /* Transparency for IE */
}


.ui-tabs { padding: .1em; zoom: 1; overflow: hidden; }

.ui-tabs .ui-tabs-nav { float: left; list-style: none; position: relative; bottom: 0px; padding: .2em .2em 0; width: 500px; overflow: hidden;}
.ui-tabs .ui-tabs-nav li { position: relative; float: left; margin: 0 1.5em 0 0; padding: 0px; font-weight: bold; border-bottom: 0px !important;}
.ui-tabs .ui-tabs-nav li:first-child { margin-left: 2em; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .3em 1em; }

.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { padding: 0; display: block; border-width: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }


.ui-state-default, .ui-widget-content .ui-state-default { background-image: url('/images/backgrounds/tab_back.png'); background-position: 0 0; font-weight: normal; color: #000; outline: none; border:1px solid #aaa; border-bottom:0px;}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #303030; text-decoration: none; outline: none; font-weight: strong;}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {background: #111b27; font-weight: normal; color: #212121; outline: none; }
.ui-state-hover a, .ui-state-hover a:hover { color: #fff; text-decoration: none;}
.ui-state-active, .ui-widget-content .ui-state-active { border-color: #111b27; background: #111b27; font-weight: normal; color: #fff; outline: none;}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #fff; outline: none; text-decoration: none; }

#prices_filter {
	float: right;
	font-size: 12px;
}


.paginateButtons {
    border-top: 0;
    color: #666;
    font-size: 12px;
    overflow: hidden;
    padding: 10px 3px;
    text-align:center;
   	font-weight: bold;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    text-decoration: none;
    padding: 2px 6px;

}
.paginateButtons a:hover {
	background:#111b27;
	color: #fff;

}
.paginateButtons span {
    padding: 2px 3px;
}


