/*
|--------------------------------------------------------------------------
| general styles
|--------------------------------------------------------------------------
*/
.minwidth {
	min-width: 960px;
}

#toplogo {
	padding-top: 6px;
}

.minimal #toplogo {
    padding-top: 1px;
}

#taskbar a.button-selected {
	color: #fce300;
}

/*
|--------------------------------------------------------------------------
| mail css
|--------------------------------------------------------------------------
*/

#mailboxlist li.mailbox .unreadcount,
#mailboxlist li.mailbox.recent > a .unreadcount {
	background: #777;
	color: #fce300;
	border: 1px solid #222;
	box-shadow: 0 0 2px #000 inset;
	text-shadow: 0 0 1px #000;
}
#mailboxlist li.mailbox.selected > a .unreadcount {
	background: #fce300;
	box-shadow: 0 0 2px #000 inset;
	color: #000;
}
#mailboxlist li.recent > a {
	color: #ffffff;
}
#compose-contacts #directorylist {
	border-bottom: 4px solid #999;
	color: #fce300;
	background: #444;
}


/*
|--------------------------------------------------------------------------
| listbox css
|--------------------------------------------------------------------------
*/

.listbox {
	background: #444 !important;
	background-color: #444 !important;
}

.listbox table.listing {
	background-color: #444;
}

.listbox .tablink,
.listbox .listitem {
	color: #fff;
	border-bottom: 1px solid #fff;
}

.listbox .listitem.selected,
.listbox .tablink.selected,
.listbox .listitem.selected > a,
.listbox .tablink.selected > a,
.listing tbody tr.unfocused td,
.listing tbody tr.selected td,
.listing li.selected,
.listing li.selected > a {
    background-color: #777 !important;
    color: #fce300;
    font-weight: bold;
}

/* selected background shadow */
.listbox .listitem.selected a {
	text-shadow: 0 0 2px #000;
}

/* not selected background shadow */
.listbox .tablink a,
.listbox .listitem a,
.listbox tbody tr td,
.listing li a {
	color: #fff;
	text-shadow: 0 -1px 0 #000;
}

.uibox .listing td.contact a {
    color: #fff;
}



a.iconlink.upload {
	border-bottom: 1px solid #fce300;
}

.uibox .boxtitle,
.uibox .listing thead td {
	background: #555;
	color: #fce300;
	text-shadow: 0 -1px 0 #000;
}

.listing li {
	border-top: 1px solid #777;
	border-bottom: 1px solid #000;
}

.listing tbody td,
.listing li a,
.listing td a {
	text-shadow: 0 -1px 0 #000 !important;
	background-color: #444 !important;
}

#mailboxlist li.mailbox ul {
	border-top: 1px solid #999;
}

ul.listing li {
	background-color: #595959;
}

.listing tbody tr.selected td,
.listing li.selected,
.listing li.selected > a {
	color: #fce300;
	background-color: #777;
	text-shadow: 0 1px 2px #000;
}

.listbox .boxfooter {
	border-top: 1px solid #999;
	background: #555;
	box-shadow: 0 0 10px #000;
}
.boxfooter .listbutton {
	background: #555;
	border-right: 1px solid #999;
}
.boxfooter .countdisplay {
	color: #fce300;
}
#quotadisplay {
	text-shadow: 0 1px 1px #000;
}
table.records-table {
	border: 1px solid #fce300;
}

.records-table thead td,  .records-table thead th {
	color: #000;
	background: #555;
	border-left: 1px solid #777;
}

.boxfooter .listbutton,
.records-table thead td,
.records-table thead th,
.records-table thead td a,
.records-table thead th a,
.records-table thead td span,
.records-table thead th span {
	color: #fff;
}

.messagelist thead tr th.sortedASC a,
.messagelist thead tr th.sortedDESC a {
	color: #fce300;
}


.records-table tbody td {
	border-left: 1px dotted #fce300;
}

.records-table tr.selected td,
.records-table tr.unfocused td,
.records-table tr.unfocused td a,
.records-table tr.unfocused td span {
	background: #FFF4A0 !important;
	color: #000 !important;
}

.records-table tr.selected td a,
.records-table tr.selected td span {
	color: #000 !important;
}

/*
|--------------------------------------------------------------------------
| images
|--------------------------------------------------------------------------
*/

a.iconbutton,
a.iconlink,
#topline a.button-logout,
.attachmentslist li a.delete,
.attachmentslist li a.cancelupload,
#taskbar .button-mail span.button-inner,
#taskbar .button-selected span.button-inner,
#taskbar .button-addressbook span.button-inner,
#taskbar .button-settings span.button-inner,
#taskbar a span.button-inner,
.pagenav a.button span.inner,
#mailpreviewtoggle,
#previewheaderstoggle .iconlink,
.boxfooter .listbutton .inner,
.draglayercopy:before {
	background-image: url(/plugins/xs4all_css/images/buttons.png);
}

.messagelist tr th div.collapsed,
.messagelist tr th div.expanded,
.messagelist tr th.threads a.listmenu,
.messagelist tr th.attachment span.attachment,
.messagelist tr th.attachment span.report,
.messagelist tr th.priority span.priority,
.messagelist tr th.priority span.prio1,
.messagelist tr th.priority span.prio2,
.messagelist tr th.priority span.prio3,
.messagelist tr th.priority span.prio4,
.messagelist tr th.priority span.prio5,
.messagelist tr th.flag span.flagged,
.messagelist tr th.flag span.unflagged,
.messagelist tr th.flag span.unflagged:hover,
.messagelist tr th.status span.status,
.messagelist tr th.status span.msgicon,
.messagelist tr th.status span.deleted,
.messagelist tr th.status span.unread,
.messagelist tr th.status span.unreadchildren,
.messagelist tr th.subject span.msgicon,
.messagelist tr th.subject span.deleted,
.messagelist tr th.subject span.unread,
.messagelist tr th.subject span.replied,
.messagelist tr th.subject span.forwarded,
.messagelist tr th.subject span.unreadchildren,
.messagelist thead tr th.sortedASC a,
.messagelist thead tr th.sortedDESC a,
/* mail.css */
#compose-contacts li a,
#mailboxlist li.mailbox div.collapsed,
#mailboxlist li.mailbox div.expanded,
#mailboxlist li.mailbox a,
/* settings.css */
#sections-table tbody td.section,
#settings-sections li.listitem a,
#settings-sections span.listitem a,
#settings-sections span.tablink a,
/* addressbook.css */
#directorylist li a,
#contacts-table .contact td.name,
ul.toolbarmenu li span.icon {
	background-image: url(/plugins/xs4all_css/images/listicons.png);
}

#quotadisplay {
	background-image: url(/plugins/xs4all_css/images/quota.png);
}

#xs4all_motd {
	left: 50%;
	margin-top: 10px;
	padding: 10px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
	filter: alpha(opacity=85);
	opacity: 0.85;
	top: -1px;
	z-index: 5000;
	font-weight: bold;
	background-color: orange;
	border: 2px solid black;
	z-index: 4000;
	border-radius: 8px;
}

/* managesieve */

#filtersetslist tbody tr td {
	color: #fce300;
}

#filtersetslist tbody tr.disabled td
{
  color: #aaa !important;
}

#filterslist tbody tr td {
	color: #fff;
}

.xs4all_last_login {
	position: relative;
	left: 10px;
	top: -10px;
	padding-left: 25px;
	color: #fce300;
}

