/* GENERAL */
html {
    overflow-y: scroll;
}

div#main-body h1 {
    padding-right: 35px;
}

#login {
	display: block;
	float: right;
	margin-top: 16px;
	margin-right: 2px;
}

#content {
	min-height: 400px;
}

#news-list-container {
	width: 70%;
	padding-top: 10px;
/* 	font-size: 0.8em; */
}

#news-list-container p {
	font-size: inherit;
}

#news-container {
	width: 80%;
	padding-top: 10px;
}

.news-date {
	font-style: italic;
	font-size: 0.8em;
}

.news-ingress {
	font-weight: bold;
	font-size: 80%;
	padding-bottom: 15px;
}

#news-container hr {
	width: 80%;
	color: #DFDFDF;
	border-top: 1px #DFDFDF dashed;
	text-align: left;
	margin: 0 auto 0 0;
}

.news {
	margin-bottom: 15px;
	margin-top: 10px;
}

.news-title {
	font-weight: bold;
}

#status-content p {
	margin: 1em;
}

/* CALENDAR */
table .cell { /* 	font-size: 0.7em; */
	padding: 4px;
	border: 1px solid #C0C0C0;
}

table .cell p { /* 	font-size: 1em; */
	
}

table .cell-current { /*   font-size: 0.7em; */
	padding: 4px;
	border: 1px solid #C0C0C0;
	background: #FBB917;
}

table .cell-after-current { /* 	font-size: 0.7em; */
	padding: 4px;
	border: 1px solid #C0C0C0;
	border-top: 3px solid #FBB917;
}

table .cell-title { /* 	font-size: 0.7em; */
	font-weight: bold;
	padding: 4px;
	border: 1px solid #C0C0C0;
	background-color: #E0E0E0;
}

table .cell-right {
	text-align: right;
}

/* KNOWN ERRORS AND IMPROVEMENTS*/

table.errors-and-improvements {
    width: 100%;
}

table.errors-and-improvements .date {
	width: 70px;
}

table.errors-and-improvements .subject {
    width: 120px;
}

table.errors-and-improvements td span {
    display: block;
    font-weight: bold;
}

/* LOGIN */
.field-container {
	margin-bottom: 10px;
}

.field-container input, .field-container select {
	border: 1px solid #C0C0C0;
	padding: 0.5em 0.5em;
	margin-right: 1em;
}

#authenticate label, #reset-password label, #change-pwd label {
	color: #5F5F5F;
	display: block;
}

form#authenticate, form#reset-password, form#change-pwd {
	margin-bottom: 1em;
}

#reset-password #new-password-container {
	margin-top: 30px;
}

#reset-password #new-password {
	font-size: 160%;
	color: green;
}

.pwd-error {
	color: red;
	font-weight: bold;
}

.pwd-ok {
	color: green;
	font-weight: bold;
	font-size: 0.8em;
}

.username {
	float: left;
	margin-bottom: 3px;
	padding: 5px;
	font-size: 1.3em;
	font-family: Arial,Helvetica,sans-serif;
	padding-right: 12px;
}


.username, .username a, .username a:link, .username a:hover, .username a:visited {
	color: #fff;
}

/* BUTTONS */
.form-styled .buttons a,.form-styled .buttons button {
	display: block;
	float: left;
	margin: 0 7px 0 0;
	background-color: #f5f5f5;
	border: 1px solid #dedede;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
	font-size: 100%;
	line-height: 130%;
	text-decoration: none;
	font-weight: bold;
	color: #565656;
	cursor: pointer;
	padding: 5px 10px 6px 7px; /* Links */
}

.form-styled  .buttons button {
	width: auto;
	overflow: visible;
	padding: 4px 10px 3px 7px; /* IE6 */
}

.form-styled .buttons button[type] {
	padding: 5px 10px 5px 7px; /* Firefox */
	line-height: 8px; /* Safari */
}

.form-styled *:first-child+html button[type] {
	padding: 4px 10px 3px 7px; /* IE7 */
}

.form-styled .buttons button img,.form-styled .buttons a img {
	margin: 0 3px -3px 0 !important;
	padding: 0;
	border: none;
	width: 16px;
	height: 16px;
}

/* STANDARD */
.form-styled button:hover,.form-styled .buttons a:hover {
	background-color: #dff4ff;
	border: 1px solid #c2e1ef;
	color: #336699;
}

.form-styled .buttons a:active {
	background-color: #6299c5;
	border: 1px solid #6299c5;
	color: #fff;
}

.sensitive-data {
    color: #FF0000;
}

/* POSITIVE */
button.positive,.buttons a.positive {
	color: #529214;
}

.form-styled .buttons a.positive:hover,.form-styled  button.positive:hover
	{
	background-color: #E6EFC2;
	border: 1px solid #C6D880;
	color: #529214;
}

.form-styled .buttons a.positive:active {
	background-color: #529214;
	border: 1px solid #529214;
	color: #fff;
}

/* STATUS TABLES*/
.centered-cell {
	text-align: center;
	vertical-align: middle;
}

.compact-table td, .compact-table th {
	padding: 3px !important;
}

.valign-top {
	vertical-align: top !important;
}

.highlighted-cell {
	background-color: #FFC2A5;
	font-weight: bold;
}

.number-cell {
    text-align:right;
}

.status-innsamling-table td,
.status-innsamling-table th {
    vertical-align: middle !important;
    padding: 6px 6px;
}

.status-innsamling-table td.status-unitstate-0,
.my-status-table td.status-unitstate-0 {
	background: none;
	padding-left: 22px;
}

.status-innsamling-table td.status-unitstate-1, 
.my-status-table td.status-unitstate-1 {
	background: url("../img/unitstate_1.gif") no-repeat scroll 4px;
	padding-left: 22px;
}

.status-innsamling-table td.status-unitstate-2, 
.my-status-table td.status-unitstate-2 {
	background: url("../img/unitstate_2.gif") no-repeat scroll 4px;
	padding-left: 22px;
}

.status-innsamling-table td.status-unitstate-3, 
.my-status-table td.status-unitstate-3 {
	background: url("../img/unitstate_3.gif") no-repeat scroll 4px;
	padding-left: 22px;
}

.status-innsamling-table td.date-cell {
	white-space: nowrap;
}

table.tablesorter thead tr th.centered-cell {
    padding-right: 18px;
}

/* Form selector*/

#form-selector {
	margin-bottom: 1em;
}
#form-selector form {
	margin-bottom: 1em;
}

/* LINK LISTS */
ul.linkList {
	list-style: none outside none;
}

/* RESET PASSWORD FEEDBACK */

.pwd-ok {
	font-weight: bold;
	line-height: 20px;
	color: #4C914C;
}

.pwd-error {
    font-weight: bold;
    line-height: 20px;
    color: #E74242;
}

/* CONTROLS - LIST*/
#control-list-form fieldset:last-child {
    margin-bottom: 2em;
    
}

#control-list-form label:first-child {
	display:block;
	float: left;
    width:75px;
    
}

#control-list-form input, #control-list-form select {
    margin-right: 1em;   
}

/* CONTACT */
div#personalia span {
    display: inline-block;   
    width: 400px;
    vertical-align: top;
    padding: 0.2em 0.5em;
}
div#personalia span.label {
	width: 100px;
}

/* CONTROL DETAILS */

table#control-detail td:first-child,
table#collection-detail td:first-child{
	font-weight: bold;
    background-color: #E0E0E0;	
}

/* IMPORT FILE VALIDATION */
div.import-feedback {
	margin-top: 20px;
	padding-top: 10px;
	border-radius: 6px;
}
.import-feedback-error {
    background: url(../img/error24.gif) 4px 50% no-repeat;
	color: #B94A48;
	background-color: #F2DEDE;
	border-color: #EED3D7;    
    position:relative;
}

.import-feedback-warning {
    background: url(../img/warning24.gif) 4px 50% no-repeat;
    position:relative;
}

.import-feedback-info {
	color: #468847;
	border-color: #D6E9C6;	
    background: url(../img/info24.gif) 4px 50% no-repeat;
    background-color: #DFF0D8;
    position:relative;
}

.import-feedback {
    min-height: 24px;
/*     padding-top: 17px; */
    padding: 4px;
    padding-left: 34px;
    
    border: 1px solid silver;
    vertical-align: middle;    
    margin-top: 6px;
}

/* IMPORT LOG */
table#importlog-detail td:first-child {
    font-weight: bold;
    background-color: #E0E0E0;  
}

/* CUSTOMIZED JQUERY COMPONENTS */
#my-page-content, #history-content {
    border: none !important;	
}

#my-page-content .ui-widget-header,
#history-content .ui-widget-header {
    border: none !important;
    border-bottom: 1px solid #AAA !important;
    border-radius: 0px !important;
    background: none !important;	
}

.ui-tabs .ui-tabs-nav li {
    margin: 0 .2em 1px 0 !important;	
}

.paginated-table .paginated-hidden {
    display: none;
}

td.value-is-null {
    background-color: #FFE7E7;
}

/* TABLESORTER OVERRIDES (Should use custom CSS classname in tablesorter options instead) */
table.tablesorter{
    border-collapse: collapse;
    border:1px solid #C0C0C0;
}

table.tablesorter thead tr th{
    background-color: #E0E0E0 !important;
    border:1px solid #C0C0C0 !important;
    text-align: left;
    font-weight: bold;
    padding:8px 17px 8px 8px !important;
}

table.tablesorter tbody td{
    padding:5px;
}
/* jQuery UI dialog CSS */
.gsi-dialog {
    border-radius: 0;
    padding: 0;
}

.gsi-dialog .ui-dialog-titlebar {
    border-radius: 0;
    border: 0;
    height: 20px;
}

.gsi-dialog .ui-dialog-title {
    margin-top: 4px;
}

/* Calculators */
#sfo .block, #voksen .block, #assistent .block{
    display: block;
    font-weight: bold;
    margin-top: 15px;
}

div.edit-exception-message {
	border: 3px solid #9d4848;
	background-color: #ffbaba;
	padding: 4px;
	font-weight: bold;
	color: #9d4848;
	margin-bottom: 10px;
}

table.no-border, table.no-border tr, table.no-border td {
	border:none;
}