/*
 Main stylesheet for the project database. 
 The layout and styles are based on the YUI CSS framework. 
*/

@import url("reset-fonts-grids.css");
@import url("base.css");

* {
	box-sizing:border-box;
}

html {
	overflow-y: scroll; 
}

body {
	margin: 0;
	color: #333333;
	background:white;
	font-family: "Arial";
	font-size:14px;
}

input:focus, button:focus, a:focus, select:focus, .filterhead:focus {
	box-shadow: 0 0 14px rgba(64,64,128,0.4);
	outline:0;
}

input[type="text"]:focus {
	border:1px solid #0098cf;
}

h1,h2,h3 {
	color: #23099f;
	margin:15px 0 5px 0;
}

h1 {
	margin-top:20px;
}

a {
	color: #0066CC;
	text-decoration: none;
}

a.back {
	display: block;
	background: url("../images/back.gif") no-repeat scroll 0 2px transparent;
	padding-left: 12px;
	margin-bottom: 10px;
}

a:hover {
	color: #A67C52;
}

p {
	margin-bottom: 0.5em;
}

label, span.label {
	display: block;
	font-weight: bold;
	margin: 3px 0 1px 0;
	white-space:nowrap;
	overflow:hidden; 
}

label input[type="checkbox"] {
	margin:2px 5px 0px 2px;
	vertical-align:top;
}

div.checkboxes {
	margin-top: 5px;
}

div.checkboxes label {
	display: inline;
	font-weight: bold;
	margin: 5px 0 1px 10px;
}
		

.number {
	text-align: right;
}

#doc {
	width: 73.85em;
	*width: 72.00em;
}

#doc3 {
	margin: 0;
}

/* Define the background image for the header */
#hd {
	color:#333;
	text-align: center;
	margin: 0 auto;
	background:#f7f7f8;
	padding:10px 30px 10px;
	margin-bottom:1px;
	border-bottom:2px solid #0079ac;
}

.fixedwidth .fixedcontent {
	width:1170px;
	margin:0 auto;
	padding:0px 0px;
}

#hd #logo {
	margin:0;
	padding:0;
	float: left;
	z-index: 1;
	vertical-align:middle;
}

#hd #logo img {	
	float: left;
}

#hd #logo h1 {
	margin-left:50px;
	display:inline-block;
	font-size:36px;
	float: left;
	color:#0079ac;
}

.logoimg {
	height:75px;
	margin:4px 15px 0 0;
}

#hd #nordpluslogo {
	margin: 0;
	padding:0;
	float: right;
	z-index: 1;
}

#hd #usermenu {
	float:right;
	font-family:Arial,Helvetica,sans-serif;
	font-weight:normal;
	height:30px;
	margin:0;
	padding:0;
}

#breadcrumbs {
	margin:10px;
    padding: 8px 15px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 0;
}

#breadcrumbs ul {
	margin: 0;
	padding: 0.5em 0;	
}

#breadcrumbs ul li {
	background-image:none;
	float:left;
	list-style-image:none;
	list-style-type:none;
	margin:0;
	padding:0;
	color: #333;
}

#hd ul {
	margin:5px 0 5px 0;
	width:180px;
}

#hd ul li {
	background-image:none;
	float:right;
	list-style-image:none;
	list-style-type:none;
	margin:0 0 10px 0;
	padding:0;
	color: #333;
}

#hd ul li a {
	text-decoration: none;
	background:#0079ac;
	border-radius:4px;
	color:white;
	margin:0 2px;
	padding:6px 10px;
	display:block;
}

#hd ul li a:link,
#hd ul li a:hover,
#hd ul li a:visited {
	color:white;
}

#hd ul li span {
	padding: 0 5px;
}

#hd ul li a:hover {
	background:#00668E;
	text-decoration: none;
}

#hd ul li a.selected {
	font-weight: bold;
}

#bd {
	margin-top:10px;
	padding: 0 10px;
}

#ft {
	border-top: 1px solid #ccc;
	text-align: center;
	color: #999;
}

#ft p {
	margin-top: 10px;
}	

div.navigation {
	padding-right: 10px;
	padding-bottom: 100px;
}

input.search {
	font-size: 108%;
	width: 100%;
	height: 1.5em;
}

input.button  {
	color:#FFFFFF;
	font-size:16px;
	font-weight:bold;
	height:32px;
	margin:0;
	text-align:center;
	vertical-align:middle;
	width:120px;
	cursor: pointer;
	border-radius:4px;
    background: #0079ac;
}

input.button:hover  {
	background:#00668E;
}

select.multi {
	font-size: 108%;
	width: 100%;
	height: 7em;
}

table.noborder, table.noborder th, table.noborder td {
	border: 0;
	margin: 0;
	padding: 0;
}

table.noborder th, table.noborder td {
	padding-right: 10px;
	padding-bottom: 10px;
}

table.searchbutton {
	border: 0;
	margin: 10px 0;
	padding: 0;
	display: block;
	float: right;
}

table.searchbutton td {
	border: 0;
	margin: 0;
	padding: 5px 0 0 0;
	text-align: center;
}

table.searchresults {
	margin-top: 10px;
	width:100%;
}

table.searchresults td, table.searchresults th {
	border: 0;
}

table.searchresults tbody td {
	border: 1px solid #CCD8DD;
}

table.searchresults thead td, table.searchresults tfoot td, table.searchresults thead th, table.searchresults tfoot th {
	background-color: white;
	font-weight: bold;
	text-align: left;
}

table.searchresults tr.odd {
	background-color:#F5F4E7;
}

table.searchresults td.index {
	vertical-align: top; 
	padding-top: 1em;
}

table.resultinfo, table.resultinfo th, table.resultinfo td {
	border: 0;
	margin: 0;
	padding: 0;
}

table.resultinfo th, table.resultinfo td {
	padding-bottom: 4px;
}

table.resultinfo th {
	text-align: left;
	width: 10em;
	vertical-align: top;
}

table.resultinfo {

}

table ul {
	margin: 0;
	list-style: none;
}

table ul li  {
	list-style: none;
}

/** Mark sortable columns in Wicket DataTable **/
th.wicket_orderUp a {
	padding-right: 12px;
	background: url("../images/sort-order-up.png") no-repeat right center;
}
th.wicket_orderUp a:hover, th.wicket_orderUp a:focus {
	background: url("../images/sort-order-up-hover.png") no-repeat right center;
}

th.wicket_orderDown a {
	padding-right: 12px;
	background: url("../images/sort-order-down.png") no-repeat right center;
}

th.wicket_orderDown a:hover, th.wicket_orderDown a:focus {
	background: url("../images/sort-order-down-hover.png") no-repeat right center;
}

/* Expandable panel */
div.expandable {
	margin: 10px 0;
}

div.expandableContent {
	padding-left: 15px;
	padding-top: 2px;
}

div.expandable a {
	padding-left: 15px;
	background-repeat: no-repeat;
	text-decoration: none;
	font-weight: bold;
	color: #333333;
}

div.expandable a.open {
	background-image: url("../images/li-open.gif");
	background-position: left 0px;
}


div.expandable a.closed {
	background-image: url("../images/li-closed.gif");
	background-position: left 2px;
}

div.buttonrow {
	padding: 10px 0;
	text-align: right;
	width: 100%;
}

div.resulttitle {
	font-weight: bold;
	margin-bottom: 2px;
	max-width: 60em;
}

div.resultinfo table {
	float: left;
	text-align: left;
	margin: 0;
	padding: 0;
	width:390px;
}

div.resultinfo table th, div.resultinfo table td {
	text-align: left;
	vertical-align: top;
	border: none;
	margin: 0;
	padding: 0 10px 2px 0;
}

.resultinfo table td:nth-child(1) {
	width: 100px;
	text-align:right;
	color:#666;
	font-weight:normal;
	font-size:10pt;
}

.resultinfo table td:nth-child(2) {
	width: 290px;
}

.resultinfo .widerfirst {
	width:100%;
}

.resultinfo .widerfirst td:first-child {
	width:30%;
}

.resultinfo .widerfirst td:nth-child(2) {
	width:70%;
}

div.column {
	float: left;
	min-width: 450px;
	width:46%;
	padding-right: 30px;
}

ul.totalallocation {
	margin: 0;
	padding: 0;
}

ul.totalallocation li {
	list-style: none;
}

hr.dotted {
	display: none;
}

.panel {
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid #CCD8DD;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    overflow:hidden;
}

.panel-info > .panel-heading {
	padding: 10px 15px;
	color:#0079ac;
    background-color:#E4F2F8;
    border-color: #CCD8DD;
}

.panel-body {
    padding: 10px 20px;
}

#footer {
	color:white;
	background:#23099f;
	padding:20px 0px;
	border-top:2px solid #0079ac;
}

#footer p {
}

#footer img {
	float:left;
	height:90px;
	width: 393.48px;
}

.footerdivs {
	margin-top:10px;
	float:right;
}

.footerdivs div {
	float:left;
	width:250px;
}

#footer a {
	color:white;	
}

#footer a:hover {
	text-decoration: underline;
}

div.filterpanel {
	margin-bottom:10px;
}

div.filterhead {
    background-color:#0079ac;
    border: 1px solid #00668E;
    border-top-left-radius:4px;
    border-top-right-radius:4px;
	padding:8px 15px;
	overflow:hidden;
	color:white;
	font-size:12pt;
	font-weight: bold;	
}

.filterhead img {
	margin-top:2px;
	float:right;
}

.filterpanel .filteropen {
	background:#007ab1; 	
}

.disabled .filterpanel {
	opacity:0.4;
}

.disabled .filterbody {
	display:none;
}

.disabled div.filterexpand:hover {
	cursor:default;
	background:#0079ac;
}

div.filterexpand:hover {
	background:#00668E;
	cursor:pointer;
}

div.filterhead span {
	display:inline-block;
}

div.filterhead a {
	float:right;
	display:block;
	background:#0079ac;
	padding:2px 10px;
}

div.filterbody {
	background:#f7f7f8;
	padding:10px;
	border:1px solid #00668E;
	border-top:0;	
	overflow:hidden;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;	
}

div.filterbody table {
	width:100%;
	border-collapse:collapse;
	border:0;
	margin:0;
}

div.filterbody span {
	margin-left:10px;
}

div.filterbody table td {
	border:0;
	border-bottom:1px solid #ddd;
}

div.filterbody table tr:last-child td {
	border:0;
}

div.filterbody table td:first-child {
	width:90%;
}

div.filterbody table td:last-child {
	width:10%;
	text-align:right;
}

div.filterbody table td img {
	opacity:0.8;
}

div.filterbody table td img:hover {
	opacity:1.0;
	cursor:pointer;
}

div.filtersearch {
	display:none;
	background:#E4F2F8;
	padding:0 10px;
	border:1px solid #00668E;
	border-top:0;
	overflow:hidden;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;	
}

div.filtersearch input[type="text"] {
	padding: 3px 5px;
	border-radius:4px;
	border:1px solid #0079ac;
}

div.filtersearch table {
	width:100%;
	border-collapse:collapse;
	border:0;
	margin:0;
}

div.filtersearch table td {
	border:0;
	padding:0;
	margin:0;
}

div.filtersearch label {
	font-weight: normal;
}

div.filtersearchlist {
	clear:both;
	padding:5px 10px;
	margin:10px 0px;
	height:168px;
	border:1px solid #aaa;
	background:white;
	overflow-y:scroll;
	overflow-x:hidden;
}

.button  {
	border:0;
	display:inline-block;
	border-radius:4px;
	color:#FFFFFF;
	font-size:11pt;
	font-weight:bold;
	margin:0;
	text-align:center;
	cursor: pointer;
    background:#0079ac;
    padding:6px 0px;
    overflow:hidden;
}

.navbutton {
	width:120px;
	text-align: center;
}

.button.navbutton img {
	margin-left:0;
	margin-right:0;
} 

span.button  {
	opacity:0.4;
	cursor:default;
}

.button img {
	height:18px;
	vertical-align: middle;
	margin-left:5px;
	margin-right:5px;
	margin-top:-2px;
}

a.button:hover  {
	background:#00668E;
	color:white;
}

tr.navigation .navigatorLabel {
	text-align:center;
	margin-bottom:5px;
}

tr.navigation .navigator {
	text-align:center;
}

tr.navigation .navigator a, tr.navigation .navigator span.goto em {	
	display:inline-block;
	padding:5px 10px;
	margin:2px 2px;
	background:#E4F2F8;
	color:#0079AC;
	font-size:12pt;
	border-radius:4px;
}

tr.navigation .navigator span.goto em {	
	background: #0079AC;
	color:white;
}

tr.navigation .navigator a:hover {	
	background: #00668E;	
	color:white;
}

tr.navigation .navigator span.first em, 
tr.navigation .navigator span.prev em,
tr.navigation .navigator span.next em,
tr.navigation .navigator span.last em {
	display:inline-block;
	padding:5px 10px;
	margin:2px 2px;
	background:#f7f7f8;
	color:#ccc;
	border-radius:4px;
	font-size:12pt;
} 

tr.navigation .navigator .prev {
	margin-right:20px;
}

tr.navigation .navigator .next {
	margin-left:20px;
}

div.resulttitle {
	color: #007ab1;
}

div.resultinfo {
	color:black;	
}

table.searchresults tbody tr:hover {
	background: #E4F2F8;
}

div.mainpanel {
}

div.leftpanel {
	float:left;
	width:340px;
	margin-bottom:15px;
}

div.rightpanel {
	margin-left:350px;
	padding-top:10px;
}

div.partnerpanel table {
	border: 0;
	margin: 0;
	padding: 0;
}

div.partnerpanel table td {
	border: 0;
	margin: 0;
	padding: 0;
}

div.partnerpanel table .labelrow td {
	width: 20%;
	color:#666;
	font-weight:bold;
}

div.partnerpanel table .labelrow td:first-child {
	padding-left:0px;	
}

div.partnerpanel table td:first-child {
	padding-left:10px;	
}

.projectinfotable td {
	vertical-align:top;
	border:0;
	padding:0;
}

.projectinfotable > tbody > tr > td:first-child {
	width:54%;
}

.projectinfotable > tbody > tr > td:nth-child(2) {
	width:46%;
}

.searchblock {
	height:24px;
}

.searchblock input[type="text"] {
	width:170px;
	margin-left:5px;
}

.searchblock input[type="checkbox"] {
	margin:5px 5px 0px 20px;
}

.searchblock * {
	float:left;
}

.mainPartnerPanel {
	margin-left:35px;
	margin-top:10px;
}

.summarytable
{
	border-collapse:collapse;
	border:0;
	margin-bottom:0;
	width:100%;
}

.summarytable th
{
	background:#E4F2F8;
	color:#0079AC;
	border:1px solid #CCD8DD;
	padding:3px 15px;
}

.summarytable th:first-child {
	width:80px;
}

.summarytable thead tr:first-child th:first-child {
	background: white;
	border:0;
}

.summarytable td
{
	border:1px solid #CCD8DD;
	text-align:right;
	width:100px;
	padding:4px 10px;
}

.radiobuttons input {
	margin:2px;
	display:none;
}

.radiobuttons input:checked+label {
	background:#0079ac;
	color:white;
}

.radiobuttons label {
	display:inline-block;
	margin-left:5px;
	float:left;	
	padding:5px;
	border: 1px solid #0079ac;
	width:31%;
	text-align: center;
	color:#0079ac;
	border-radius:4px;
}

.radiobuttons label:hover {
	background:#00668E;	
	color:white;
	cursor:pointer;
}

.radiobuttons br {
	display:none;
}

.freetextsearch {
	padding:10px;	
}

.searchtextwrapper {
	margin-right: 110px;
}

.searchtext {
	border-radius:4px;
	border:1px solid #0079ac;
	width:auto;
	display:block;
	padding:6px;
}

.searchbutton {
	width:30%;
}
	
.feedbackPanelERROR {
	color: red;
}

.freetextsearch a span {
	color:white;
}

.freetextsearch a img {
	display:none;
}

.freetextsearch a {
	float:right;
	display:inline-block;
	box-sizing:border-box;
	margin:0;
	width:100px;
	height:30px;
	margin-left:10px;	
	padding:5px 5px;
}

a.deletelink {
	display:inline-block;
	width:16px;
	height:16px;
	background-image:url(../images/delete.png);
	background-repeat:no-repeat;
	opacity:0.8;
}

a.deletelink:hover {
	opacity:1.0;
}

.leftnavbutton, .middlenavbutton, .rightnavbutton {
	float:left;
	width:33%;
	text-align:center;
}

.middlenavbutton img {
	height:15px;
}

.help-body {
	padding:10px 20px;
}

.help-body > h2 {
	display:none;
}

.navbuttons {
	padding:10px;
	margin:0;
	width:100%;
	min-height:50px;
}

.sortresult {
	float:right;	
}

.exportToExcel {
	margin-top:10px;
}
	
.searchbutton {
	height:33px !important;
	margin-top:-3px !important;
}

.copylink {
	float:right;
	margin-top:-5px;
	padding:3px 10px;
}

.copylink img {
	margin:0;
	margin-top:-2px;
	height:16px;
}
