@import url("http://ifla.org/sites/ifla.org/themes/ifla/css/reset.css");

/**
 *	Stylesheet overruling some declarations in http://library.ifla.org/style/auto-#.#.##.css
 */

/* TO BE REMOVED before launch * /
#logo a img{
	margin-right: 375px;
}
#logo a{
	text-decoration: none;
}
#logo a:after{
	content: ' \00a0\00a0\00a0\00a0 Simon says: Content added through CSS';
	font: normal 1.4em arial, sans-serif;
	color: #c00;
}
/ * /TO BE REMOVED */



/**
 *	Generic elements (incl. CLASSed elements)
 */
body{
	font: normal 13px/1.5 georgia, serif;
	background-color: #f0edd4;
	color: #002d19;
}

a{
	text-decoration: none;
	color: #c90030;
}
a:visited{
	border-color: #b57;
	color: #900;
}
a:hover{
	text-decoration: underline;
	border-color: #009194;
	color: #009194;
}
a:active{
	color: #f00;
}
a.external:after{
	margin-left: 2px;
	content: url(extlink.png);
}
#mainnav a.external:after{
	margin-left: 5px;
	content: url(extlink_white.png);
}

h1,
h2,
h3,
h4,
h5,
h6{
	font-weight: bold;
	margin: 10px 0;
}
h1{
	margin: .6em 0 1.2em;
	font-weight: normal;
	font-size: 200%;
	line-height: normal;
	font-family: georgia, serif;
	color: #009194;
}
h2{
	margin-top: 1em;
	margin-bottom: .5em;
	font-size: 150%;
	font-weight: normal;
	line-height: 1.5;
	font-family: georgia, serif;
}
h3{
	font-size: 108.3%;
	font-weight: bold;
	line-height: 1.462;
	font-family: georgia, serif;
}
h4{
	font-size: 115.4%;
}
h5,
h6{
	font-size: 107.7%;
}
p{
	margin: 0 0 1em;
}
p,
li{
	max-width: 40em;
}
dl{
	margin: 0 0 20px;
}
dl dd,
dl dl{
	margin-left: 20px;
	margin-bottom: 10px;
}
li p, 
dt p, 
dd p, 
li li{
	font-size: 100%;
}
blockquote{
	margin: 1em 40px;
}
address{
	font-style: italic;
}
u,
ins{
	text-decoration: underline;
}
s,
strike,
del{
	text-decoration: line-through;
}
big,
.big{
	font-size: 20pt;
}
small{
	font-size: smaller;
}
sub{
	vertical-align: sub;
	font-size: smaller;
	line-height: normal;
}
sup{
	vertical-align: super;
	font-size: smaller;
	line-height: normal;
}
nobr{
	white-space: nowrap;
}
abbr,
acronym{
	border-bottom: dotted 1px;
}
quote,
code{
	margin: .5em 0;
}
code, .code,
pre,
kbd{
	font: normal 1.1em monospace;
}
kbd{
  padding: 0 .5em;
	background: #eee;
}
pre{
	margin: 0.5em 0;
	white-space: pre-wrap;
}

ul{
	list-style-type: disc;
	list-style-image: none;
	margin: 0.25em 0 0.25em 1.5em;
}
ol{
	list-style-type: decimal;
	margin: 0.25em 0 0.25em 2em;
}

legend{
	font-weight: bold;
}

hr{
	margin: 0;
	padding: 0;
	border: none;
	height: 1px;
	background: #009194;
}

.element-invisible{
	display: none;
}
.clear{
	clear: both;
}
.empty{
	height: 1px;
	overflow: hidden;
	visibility: hidden;
}
.left{
	float: left;
}
img.left{
	margin: 0 15px 5px 0;
}
.right{
	float: right;
}
img.right{
	margin: 0 0 5px 15px;
}
.align-center{
	text-align: center;
}
.aligh-right{
	text-align: right;
}

strong.important{
	padding-right: .5em;
	padding-left: .5em;
	font-style: italic;
	font-family: 'lucida sans', tahoma, calibri, sans-serif;
	letter-spacing: 0.1em;
	background-color: #c90030 !important;
	color: #fff !important;
}
div.important, 
td.important, 
p.important{
	clear: both;
	margin-bottom: 1em;
	padding: .1em 2em .5em;
	background-color: #d9f3ea;
	color: #000;
}
div.important.no-heading{
	padding-top: 1em;
}
p.important{
	padding: .5em 1em;
}
div.important h2{
	margin-top: 1em;
	text-align: center;
	background-color: inherit;
	color: #005b30;	/* special green for highlighting */
}
div.important h3{
	margin-top: 1em;
	text-align: left;
}

/* Forms */
input, textarea, button, select{
	border: 1px solid #7fa495;
	font: 1em/normal arial,sans-serif;
}
input, textarea, button{
	background: #fff;
	padding: 2px;
}
input.form-text,
input.form-file,
textarea.form-textarea,
select.form-select{
	border: solid 1px #00492c;
	padding: 3px;
	background: #fff;
	color: #333;
}
input.form-text:focus,
input.form-file:focus,
textarea.form-textarea:focus,
select.form-select:focus{
	color: #000;
	border-color: #c90030;
}
input.form-radio, 
input.form-checkbox{
	width: 1em !important;
	border: none;
	background-color: transparent;
}
button,
a.button,
input.button,
input.form-submit{
	cursor: pointer;
	border: 1px solid #e4e4e4;
	border-bottom: 1px solid #b4b4b4;
	border-right-color: #d2d2d2;
	border-left-color: #d2d2d2;
	border-radius: 20px;
	padding: 4px 15px;
	font: normal 1em "Lucida Grande", Verdana, sans-serif;
	text-align: center;
	text-transform: uppercase;
	text-transform: none;
	background: #00492c;
	color: #fff;
}
button:hover, input.button:hover, input.form-submit:hover{
	background-color: #009194;
	color: #fff;
}
input[readonly]{
	border: none;
	cursor: default;
}
.form-required{
	font: .917em/normal arial,sans-serif;
	font-size: 2em !important;
	vertical-align: -20%;
	color: #c90030;
}

/* Tables */
table{
	width: 100%;
	font-size: 100%;
	margin: 0 0 10px;
	border: 1px solid #eee;
}
table.autocolumn{
	table-layout: auto;
	width: auto;
	max-width: 100%;
}
table td,
table th{
	vertical-align: top;
	border: 1px solid #eee;
	padding: 8px 10px;
	color: #000;
}
tr.even,
tr.odd{
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-color: #eee;
	background: #f3f4ee;
}
tr.odd{
	background: #fff;
}
tr.drag{
	background: #fe7;
}
tr.drag-previous{
	background: #ffb;
}
table th{
	text-transform: uppercase;
	background: #e1e2dc;
	font-weight: normal;
	border-width: 1px;
	border-style: solid;
	border-color: #eee;
	padding: 3px 10px;
}
table th.active{
	background: #bdbeb9;
}
table th a{
	display: block;
	position: relative;
}
table th.active a{
	padding: 0 25px 0 0;
}
table th.active img{
	position: absolute;
	top: 3px;
	right: 3px;
}
table td.active{
	background: #e9e9dd;
}
table td a{
	text-decoration: none;
}
table tr.odd td.active{
	background: #f3f4ee;
}
table tr.selected td.active,
table tr.selected td{
	background: #ffc;
	border-color: #eeb;
}
table.system-status-report tr{
	border-bottom: 1px solid #ccc;
}
table.system-status-report tr.ok{
	color: #255b1e;
	background-color: #e5ffe2;
}
table.system-status-report tr.info{
	color: #040f37;
	background-color: #bdf;
}
table.system-status-report tr.warning{
	color: #840;
	background-color: #fffce5;
}
table.system-status-report tr.error{
	color: #8c2e0b;
	background-color: #fef5f1;
}
/**
 * Exception for webkit bug with the right border of the last cell
 * in some tables, since it's webkit only, we can use :last-child
 */
tr td:last-child{
	border-right: 1px solid #eee;
}



/**
 *	Specific IDs
 */
#page-top,
#skip-link{
	display: none;
}
#page{
	z-index: 10;
	margin: 0 auto;
	width: 991px;	// was 961
	background-color: inherit;
	color: inherit;
}

/* Header */
#header{
	clear: both;
	position: relative;
	margin: 0;
	border-top: 10px solid #00492c;
	padding-top: 30px;
	width: 100%;
	height: 122px;	/* + padding-top = mainnav height */
	overflow: visible;
	background: #fff url(http://www.ifla.org/sites/www.ifla.org/themes/ifla/images/curly_bracket.png) 100% 100% no-repeat;
	color: inherit;
}
#logo{
	margin-top: 10px;
	margin-left: 30px;
}
#mainnav{
	position: absolute;
	left: 174px;
	top: 0;
	width: 325px;
	height: 152px;	/* take child UL margin into account */
	font: bold 1em/1.5 arial,sans-serif;
	background: #c90030;
	z-index: 20;
}
#mainnav ul{
	position: absolute;
	top: 0px;
	margin: 20px 0 20px 0;
	padding-left: 12px;
}
#mainnav li{
	float: left;
	margin-right: 11px;
	width: 145px;
	list-style: none;
}
#mainnav li a,
#mainnav li a:visited{
	display: block;
	padding: 4px 0;
	text-decoration: none;
	border-bottom: 1px solid #e47f97;
	color: #fff;
}
#mainnav li.first a{}
#mainnav li.last a{
	border-color: #c90030;
}
#mainnav li a.active{
	background: url(http://www.ifla.org/sites/www.ifla.org/themes/ifla/images/mainnav_star.png) 0 .8em no-repeat;
	color: #f0edd4;
	text-indent: 10px;
}
#mainnav li a:hover{
	background: url(http://www.ifla.org/sites/www.ifla.org/themes/ifla/images/mainnav_star.png) 100% .8em no-repeat;
	color: #f0edd4;
	border-color: #fff;
}

#header-message-block{
	position: absolute;
	top: 10px;
	left: 530px;
	width: 370px;
	height: 130px;
	border: none !important;
	font: normal 100% "Lucida Grande", "Lucida Sans Unicode", sans-serif;;
}
#header-message-block td{
	border: none !important;
	padding: 0;
	vertical-align: middle;
}
#header-message-block td p{
	margin: 0 !important;
}

/* Search bar */
#search{
	background: #f0edd4;
	margin: 0;
	padding: 12px 0;
	height: 26px;
}
#search form{
	float: right;
	text-align: right;
}
#search legend, #search label{
	display: none;
}
#search .form-text{
	width: 150px;
}
#search .form-submit{
	border: none;
	margin: 0 0 0 5px;
}

/* Content */
#content-wrapper{
	position: relative;
	clear: both;
	padding: 20px 0;
	background-color: #fff;
}

#sidebar-left{
	position: absolute;
	top: 0;
	left: 0;
	border-style: solid;
	border-color: #f0edd4;
	border-width: 0 1px 1px 0;
	padding-top: 0;
	width: 174px;
	font-size: 90%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	background-color: #f9f7e5;
}
.ep_tm_key_tools{
	clear: none;
	display: block;
	margin: 0 10px;
	padding: 10px 0;
}
.ep_tm_key_tools li{
	list-style: none;
	display: list-item;
	margin: 0;
	border: none;
	border-bottom: 1px solid #d1de94;
	padding: .1em 0;
}
.ep_tm_key_tools li:last-child{
	border: none;
}
.ep_tm_key_tools li a,
.ep_tm_key_tools li a:visited,
.ep_tm_key_tools li .ep_name_citation .person_name{
	font: bold 1em/2 arial, sans-serif;
}
.ep_tm_key_tools li a,
.ep_tm_key_tools li a:visited,
.ep_tm_key_tools li a:hover{
	display: block;
	border: none;
	padding-top: 2px;
	text-decoration: none;
	color: #00492c;
}
.ep_tm_key_tools li .ep_name_citation .person_name{
	display: block;
	margin-bottom: 15px;
	font-weight: normal;
	font-size: 140%;
	color: #c90030;
}

#content{
	position: relative;
	margin-left: 194px;
	width: 777px;	/* max 797px */
	min-height: 270px;
}
#content h1{
	margin-top: 0;
	text-align: left;
}

#sidebar-right{
	display: none;
	float: right;
	width: 150px;
background-color: gold;
}

/* Frontpage */
.front-block{
	margin: 1.5em 0;
	border: dotted 1px #d1de94;
	padding: .7em 1em;
}
.front-block h2{
	margin-top: 0;
	color: #444;
}
#latest-additions-block{
	background-color: #f0edd4;
	background-color: #f9f7e5;
	color: #fff;
}
#latest-additions-block table,
#latest-additions-block table td,
#latest-additions-block table th{
	border-color: #d1de94;
}

p#colofon{
	max-width: 100%;
}

/* Login page */
#login-block table{
	margin-bottom: 1em;
}

/* Footer */
#footer{
	position: relative;
	padding: 20px;
	background-color: #009194;
	color: #f0edd4;
}
#footer a{
	color: #fff;
}
#footer #official-ifla-website{
	width: 30%;
}
#footer #official-ifla-website img{
	margin-right: 10px;
	vertical-align: middle;
}

#ifla_footer_links{
	position: absolute;
	top: 2.8em;
	left: 30%;
	left: 40%;
}
#ifla_footer_links a{
	margin-left: 15px;
}

#footer #secondary-menu{
	position: absolute;
	top: 35px;
	right: 20px;
	margin: 0;
	padding: 0;
}
#footer #secondary-menu li{
	display: inline;
	list-style: none;
}
#footer #secondary-menu li a{
	display: inline-block;
	margin-left: 20px;
}
