
/*******************************************************************************
general
*******************************************************************************/
* {
	margin:0;
	padding:0;
}

body	{
	background: #f0fbfb url(img/header_bg.gif) repeat-x;
	color:#333;
	font:75% Arial,Helvetica,sans-serif;
	padding:0;
}

h1,h2,h3,h4,h5,h6{margin:0;}

h1{font-size:18px;color:#332d2d;}
h2{font-size:14px;color:#615e5e;}
h4{font-size:12px;}

a:link,a:visited {color:#0192ff;text-decoration:none;}
a:focus{outline:1px dotted;}
a:hover,a:active,li a.active{color:#f89100;outline:none;text-decoration:none;}

img {
	border: 0;
}

table, tr, td {
	border-width: 0px;
	border-spacing: 0px;
	border-collapse: collapse; /* border-spacing should be enough, but added for IE compatibility */
	padding: 0px;
	vertical-align: top; /*ETJ*/
}

td.padded-content-box {
	border-style: solid;
	border-width: 1px;
	padding: 4px;
}

th {
	text-align: left;
	border-width: 0px;
	border-spacing: 0px;
	border-collapse: collapse; /* border-spacing should be enough, but added for IE compatibility */
	font-size: 0.9em;
	font-weight: normal;
	font-style: normal;
}

.arrow {
	/*background: url('images/arrow.gif') no-repeat;*/
	background: url("http://www.wfp.org/sites/default/themes/wfp/images/arrow_grey.gif") no-repeat 0 4px;
	color: #0192ff;
	font-size: 90%;
	font-weight: bold;
	line-height: 1.2em;
	margin-left: 8px;
	padding:4px 0 3px 10px;
}	

/*******************************************************************************
header
*******************************************************************************/


#header{
	float:left;
  	margin: 0;
  	height:125px;
  	line-height:0;
}
#header_top {
	height:35px;
	padding-top:3px;
}
#top_menu {
	color:white;
	float:left;
	font-size:1em;
	font-weight:bold;
}

#top_menu li {
	margin:0;
	padding:0;
	display:inline;
}
#top_menu ul {
	margin:0;
	padding:0;
}

#top_menu li {
	display:block;
	color:#FFF;
	float:left;
	background:#41aeff;
	margin-top:3px;
	border-right:1px solid #81caff;
	padding:13px 9px 9px 9px;
}

#top_menu li a {
	background:#41aeff;
	color:#FFF;
}

#top_menu li a:hover {color:#a4d8ff;}
#top_menu li.active{background:#FFF;color:#000;}

#top_search {
	color:white;
	float:right;
	margin-top:5px;
}

#search-theme-form {margin:0px;}
#search-theme-form .form-button,#search-theme-form .form-submit{margin:0;padding:0;}
#top_donate{float:right;margin-left:10px;}
#top_donate a{display:block;height:31px;width:100px;margin-top:-1px;background-image:url(http://www.wfp.org/sites/default/themes/wfp/images/button_donate.gif);text-indent:-9000px;}
#top_donate a:hover{display:block;background-image:url(http://www.wfp.org/sites/default/themes/wfp/images/button_donate_ON.gif);}

#header_bottom{}
#wfp_logo{color:white;float:left;}

.search-label {
	font-weight: bold;
	margin-right: 4px;
}

.button {
	background: #0192ff;
	border: 0;
	color: #fff;
	font-size: 9px;
	padding: 4px 8px 4px 8px;
	text-transform: uppercase;
}

/*******************************************************************************
main
*******************************************************************************/
#resultList p {
	font-size: 75%;
	line-height: 1.7em;
	list-style-type: none;
	margin-left: 20px;
}

#resultList li {
	font-size: 75%;
	line-height: 1.7em;
	list-style-type: none;
	margin-left: 20px;
}

.geosearchfields h1 {
	background:none repeat scroll 0 0 #D0E8E8;
	color:#344C4C;
	font-size:11px;
	font-weight:bold;
	margin:0;
	padding:7px;
	text-transform:uppercase;
}


/*******************************************************************************
content
*******************************************************************************/

td.content {
	background: #fff;
}

.padded-content {
	background: #fff;
	padding: 5px;
}

.hit {
	border-top: 1px solid silver;
	padding-top: 5px;
}

td.green-content {
	color: #ffffff;
	background: #beb800;
	font-weight: bold;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 4px;
	padding-right: 4px;
}

td.blue-content {
	color: #ffffff;
	background: #266397;
	height: 30px;
}

input.content, select.content, textarea.content {
	font-family: Verdana;
	font-size: 9pt;
	color: #064377;
	max-width: 400px;
	/*border: 1px solid #266397;*/ /* moved here from tr since IE accepts it only here */
}

input.error, textarea.error, select.error {
    color: #FF2211 !important;
    border: 3px solid #FF2211 !important;
}

button.content {
	font-family: Verdana;
	font-size: 9pt;
	color: #064377;
	max-width: 400px;
	cursor: pointer;
	cursor: hand;
	border: 1px solid #266397; /* moved here from tr since IE accepts it only here */
	background-color: #e7e7e7;
	text-shadow: gray 2px 2px 3px;
}

input.content-small, button.content-small {
	font-family: Verdana;
	font-size: 7pt;
	color: #064377;
	min-width: 150px;
	cursor: pointer;
	cursor: hand;
	border: 1px solid #266397; /* moved here from tr since IE accepts it only here */
}

legend.block-legend {
	font-weight: bold;
}

/*******************************************************************************
footer
*******************************************************************************/

td.footer {
	font-size: 8pt;
	background: #beb800;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 8px;
	padding-right: 8px;
}

a.footer {
	color: #064377;
}

a.footer:hover
{
	text-decoration: underline;
}

/*******************************************************************************
metadata
*******************************************************************************/

table.md {
	font-size: 8pt;
}

th.md {
	text-align: left;
}

input.md, select.md, textarea.md {
	font-family: Verdana;
	font-size: 8pt;
	color: #064377;
	/* max-width: 400; */
	border: 1px solid #266397; /* moved here from tr since IE accepts it only here */
}

button.md {
	font-family: Verdana;
	font-size: 8pt;
	color: #064377;
	/* max-width: 400; */
	cursor: pointer;
	cursor: hand;
	border: 1px solid #266397; /* moved here from tr since IE accepts it only here */
}

/*******************************************************************************
editor
*******************************************************************************/

#editorBusy {
  z-index: 100;
	position: fixed;
	top: 45%;
	left: 45%;
	background: transparent;
}

#editorOverlay {
	position: absolute;
	margin: auto;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 9999;
	background-color: #000!important;
}
#editorOverlay[id] { position: fixed; }

span.toolTipOverlay {
	background: #fff;
	position: absolute;
	border-style: solid;
	margin: 2px;
	padding: 2px;
}


/*******************************************************************************
utilities
*******************************************************************************/

font.error, font.warning {
	color: #ff4040;
}

.missing {
    color: #ff4040;
    font-style: italic;
}

.info {
    font-style: italic;
}


td.box {
	border: 2px solid #266397;
	background: #4683b7;
}

td.separator {
	background: #ffffff;
	height: 4px;
	width: 4px;
}

td.dots {
	width: 0;
	height: 0;
	border-top: 1px inset #266397;
}

th.padded, td.padded {
	padding: 2px;
}

th.padded-center {
	text-align:  center;
	padding: 2px;
}

a.image:hover
{
	background: transparent;
}

td.spacer {
	height: 16px;
}

div.track  {
	background: #064377;
	margin-top:2px;
}

div.handle {
	background: #beb800;
	cursor:move;
}

.dots 
{
	height: 1px;
	width: 1px;
	border-left: 1px solid #266397;
}

/*******************************************************************************
Ajax styles
*******************************************************************************/

.tooltip
{
	position: absolute;
	background-color: #f0f0ff;
	border:  solid black 1px;
	padding: 4px;
}

.tipRow
{
	margin: 10px;
	padding: 15px;
}

.tipHeader
{
	text-align:    left;
	font-weight:   bold;
	padding-left:  2px;
	padding-right: 2px;
}

.tipCell
{
	text-align: left;
}

.policyGroup 
{
	margin: 5px;
	border-style:dashed;
	border-width:0px 0px 1px 0px;
}

/*******************************************************************************
Other action buttons
*******************************************************************************/

.oAcEle {
    border: 1px solid #266397;
    background-color: #e7e7e7;
    position: absolute;
    opacity: .9;
    filter: alpha(opacity=90);
    -moz-opacity: 0.9;
}

.oAcEle button {
    text-align:left;
    font-family: Verdana;
    color: #064377;
    font-size: 9pt;
    cursor: pointer;
    cursor: hand;
    width:90%;
    border-width: 0px;
}
.oAcEle button:hover {
	text-decoration: underline;
}

/*******************************************************************************
Ajax Keyword list
*******************************************************************************/
div.keywordSelectorFrame {
        background: #fff;
		position: absolute;
		padding: 2px;
		left: 300px;
		top: 225px;
}

div.keywordSelector {
        background: #fff;
        border: 4px solid #064377;
		margin: 2px;
		padding: 5px;
        cursor: pointer;
        overflow: auto;
		max-height: 200px;
		max-width: 300px;
		width: 300px;
}

div.keywordList {
        background: #fff;
        cursor: pointer;
        overflow: auto;
		max-height: 200px;
}


div.keywordList ul {
        border: 1px solid #888;
        margin: 0;
        padding: 0;
        width: 100%;
        list-style-type: circle;
        cursor: pointer;
        overflow: hidden;
}

div.keywordList ul li {
        margin: 0;
        padding: 1px;
        cursor: pointer;
	 	list-style-type:none;
}

div.keywordList ul li.selected {
        background-color: #beb800;
        cursor: pointer;
}

div.keywordList ul strong.highlight {
        color: #800;
        margin: 0;
        padding: 0;
        cursor: pointer;
}

div.keywordList ul li span {
	display :none;
}

div.keywordResults ul {
        margin: 3px;
        padding: 0;
		border-style:dashed;
		border-width:1px 0px 0px 1px;
		list-style-type:none;
}

div.keywordResults ul li {
        margin: 4px;
		list-style-type:none;
}

div.legend {
        margin: 3px;
        padding: 3px;
		border-style:dashed;
		border-width:1px 1px 1px 1px;
		font-style: italic;
}
div.broader {
        background-color: #8ba4c5;
}
div.related {
        background-color: #d5dfec;
}
div.narrower {
        background-color: #f7faff;
}

div.important {
	width: 70%;
	border-style: inset;
	border-width: 1px;
	text-align: justify;
	margin: 15px;
	padding: 10px;
}

div.keywordResults ul li.selected {
        background-color: #beb800;
        cursor: pointer;
}


/* GEOGRAPHIC SEARCH */


.geosearchmain{
    border-bottom: 2px;
    margin-bottom: 1px;

    vertical-align: top;
    
}

.geosearch{
    border-bottom: 2px;
    margin-bottom: 1px;
}

.geosearchfields{
    padding-bottom: 10px;
    border-bottom: 1px solid;
    margin-bottom: 10px;
}

.geosearchfields a{
/*    text-decoration: none; */
    margin-top: 5px;
}

td.advsearchfields {
    padding-bottom: 10px;
    border-bottom: 1px solid;
/*    margin-bottom: 10px;*/

    border-left: 1px solid;
    padding-left: 5px;
    padding-right: 5px;
}

/*.advsearchfields > tbody > tr > td {
    padding-bottom: 10px;
    border-left: 1px solid;
    padding-left: 5px;

}
*/

#coords{
    text-align:center;
    margin-top: 5px;
}

.IMBtn{
	font-family: Verdana;
	font-size: 9px;
	color: #064377;
	cursor: pointer;
	padding: 2px 8px 2px 2px;
}



#openIMBtn{
	background: url(images/arrow.gif) no-repeat right;
}

#closeIMBtn{
	background: url(images/arrow_inv.gif) no-repeat right;
}

#closeIMBtn:hover {
	text-decoration: underline;
}

#openIMBtn:hover {
	text-decoration: underline;
}

imenabled {
	color: #064377;
	cursor: pointer;
}

imdisabled {
	color: #434343;
    cursor: progress;
}

div.metadata_current {
    padding: 3px;
    position: relative;
}

div.metadata_current table,
div.metadata_current td
{
}

/* This will fix some redraw problems with gn setting */
.calendar table ,
.calendar tr ,
.calendar td  {
	border-collapse: separate;
}

.ilwhiteboard {
    position:relative;
	border: 1px solid #266397;
	margin: 4px;
}

/* Rating popup */

button.rating 
{
	font-family: Verdana;
	font-size: 9pt;
	color: #064377;
	max-width: 400px;
	width: 100px;
	cursor: pointer;
	cursor: hand;
	border: 1px solid #266397; /* moved here from tr since IE accepts it only here */
	margin-bottom: 4px;
}

.ratingBox
{
	position: absolute;
	background-color: #E0E0FF;
	border:  solid black 1px;
	padding: 0px;
	margin: 0px;
}

.ratingCloser 
{
    position: absolute;
    top:     1px;
    right:   3px;
    width:  16px;
    height: 16px;
    cursor: pointer;
    
    z-index: 20;    
}

div#error {
	margin: 2em;
}

#stacktrace {
	font-size: 0.75em;
}

#featured {
	background-color: #f6fcff;
	width: 400px;
	margin: 10px;
	padding: 5px;
	border-width: 1px;
	border-style: inset;
}

#advancedsearch {
	margin: 20px;
}

#resultList {
	/*border-top: 1px solid #2a628f;*/
	padding-top: 10px;
}

#leftcolumn {
	margin: 20px;
	/*border-right: 1px solid #2a628f;*/
}

#sortBy.live {
	font-weight: normal;
	font-style: normal;
	font-size: 0.9em;
}

