/* Foundation Center Grant Search Plugin
*  Version: 1.0
*  Author: foundationcenter
*  Notes: Required Web Builder theme
*/

/* Field Wrappers */
span.fc-grant-search-keywords-wrapper,
span.fc-grant-search-category-wrapper, 
span.fc-grant-search-amount-wrapper,
span.fc-grant-search-year-wrapper,
span.fc-grant-search-submit-wrapper,
span.fc-grant-search-clear-wrapper {display:block;float:left;margin-top:.25em;}

span.fc-grant-search-keywords-wrapper, 
span.fc-grant-search-amount-wrapper {width:100%;}
span.fc-grant-search-category-wrapper {width:60%;}
span.fc-grant-search-year-wrapper  {width:40%;}

/* Fields */
input.fc-grant-search-keywords,
select.fc-grant-search-category, 
select.fc-grant-search-year, 
select.fc-grant-amount-operator,
input.fc-grant-search-amount,
input.fc-grant-search-submit,
input.fc-grant-search-clear,
select.fc-grant-search-order-by {padding:2px 2.5%;border:1px #ccc solid;margin:1px;vertical-align:top;box-sizing:border-box;-moz-box-sizing:border-box;}

select.fc-grant-search-category, 
select.fc-grant-search-year, 
select.fc-grant-amount-operator,
select.fc-grant-search-order-by {padding:2px 1%;}

input.fc-grant-search-keywords,
select.fc-grant-search-category,
select.fc-grant-search-year {width:98%;width:calc(100% - 2px);}

input.fc-grant-search-amount {width:58%;width:calc(60% - 2px);}
select.fc-grant-amount-operator {width:38%;width:calc(40% - 2px);}

input.fc-grant-search-submit,
input.fc-grant-search-clear {padding:5% 8%;}

/* Labels */
label.fc-grant-search-label {display:none;line-height:1.25em;}
form.fc-grant-search-show-labels label.fc-grant-search-label {display:block;clear:both;}

/* Criteria */
div.twoColumnTbl.fc-grant-search-criteria {width:95%;padding:2.5%;margin:.75em 0 0 0;font-size:.75em;background:url("images/bg_translucent-black-5.png");font-size:12px;line-height:1.25em;}
div.twoColumnTbl.fc-grant-search-criteria>div {margin:1px 0;}
div.twoColumnTbl.fc-grant-search-criteria>div.column1 {font-weight:bold;padding-right:1em;clear:left;}
div.twoColumnTbl.fc-grant-search-criteria>div.column2 {clear:right;font-weight:normal;}
div.twoColumnTbl.fc-grant-search-criteria>div.column2 a {font-weight:normal;}
div.twoColumnTbl.fc-grant-search-criteria + div.twoColumnTbl.fc-grants-found {clear:both;margin:0;border-top:1px #ccc solid;}

/* Order By */
p.fc-grant-search-order-by-wrapper {width: 100%;text-align: right;margin: 1em 0px 0.5em;float: right;}
p.fc-grant-search-order-by-wrapper label {font-weight:bold;vertical-align: middle;}

/* Paging */
p.fc-grant-search-paging {width:97%;float:left;clear:both;position:relative;text-align:center;margin:0;padding:.5em 1.5%;margin-top:.75em;font-size:.85em;background-image:url("images/bg_translucent-white-95.png");}
p.fc-grant-search-paging a {color:inherit;}
p.fc-grant-search-paging a:hover {color:#777;text-decoration:none;}
span.fc-grant-search-previous, span.fc-grant-search-next {cursor:default;display:block;color:inherit;font-weight:bold;position:absolute;top:.5em;}
span.fc-grant-search-previous {left:.5em;}
span.fc-grant-search-next {right:.5em;}
span.fc-grant-search-arrow {display:inline-block;font-family:Arial, Helvetica, sans-serif;width:1.25em;height:1.25em;line-height:1.25;border-radius:.625em;border-width:1px;border-style:solid;border-color:inherit;color:inherit;background-color:#fff;font-weight:bold;}
span.fc-grant-search-previous span.fc-grant-search-arrow {margin-right:.5em;}
span.fc-grant-search-next span.fc-grant-search-arrow {margin-left:.5em;}

div.fc-grant-search-results-wrapper {float:left;width:100%;margin:.5em 0;}
