/*** Page element ***/
div#search-bar {
    float: right;
}

.search-active {
    padding-left: 24px;
    padding-bottom: 0;
    background: url("../images/warning.png") no-repeat scroll 0 2px transparent;
}

div#total {
    float: left;
    width: 200px;
    padding-left: 14px;
    font-size: 90%;
    font-weight: bold;
}

.page {
    text-align: right;
    padding-right: 14px;
}

div#button-bar {
    float: left;
    /*padding-top: 4px;*/
}

.toolbar {
	vertical-align: middle;
	margin-bottom: .8em;
	font-size: 90%;
	background: #f5f5f5;
	padding: .8em;
	border: 1px #eee solid;
}

.toolbar select,
.toolbar input {
	font-family:	Arial, Helvetica, sans-serif;
	border: 1px solid #ccc;
	position: relative;
	padding: .12em;
}
.toolbar input {
	height: 17px;
}

.hint {
    margin: .5em 0;
    font-size: 12px;
    color: #a98011;
    font-style: italic;
}

.box.color-2 p.hint {
    color: #5a8d9c;
}

.empty-list {
    margin: 1.6em 0 0;
    text-align: center;
}

.no-margin {
    margin: 0;
}

.middle {
    margin: 5px 0;
}
/*** Table lists ***/
.table thead th {
    text-align: left;
}

.table thead th.operations {
    text-align: center;
}

th.name, th.email {
    width: 200px;
}

th.first-name, th.last-name {
    width: 150px;
}

th.number {
    width: 90px;
}

th.date {
    width: 100px;
}

th.operations {
}

/*** Table sorting ***/
a.sort-link, a.zs-sort-link ,
a.sort-asc, a.zs-sort-asc
a.sort-desc, a.zs-sort-desc {
    padding-left: 18px;
}

a.sort-link, a.zs-sort-link {
    background: url("../images/sortable-field.png") no-repeat;
}

a.sort-asc, a.zs-sort-asc {
    background: url("../images/sort-arr-asc.png") no-repeat;
}

a.sort-desc, a.zs-sort-desc {
    background: url("../images/sort-arr-desc.png") no-repeat;
}

/* List-like table */
.table-list td, .table-list th {
    border-top: 1px solid #e8caca;
}

.table-list th {
    text-align: right;
}

.table-list td {
    text-align: left;
}
/*** Buttons / links ***/
a.btn-add {
    padding-left: 18px;
    padding-bottom: 2px;
    background: url("../images/add-btn.png") no-repeat;
    color: green;
}

a.btn-import, a.btn-export,
a.btn-edit, a.btn-view, a.btn-send, a.btn-resume,
a.btn-pause, a.btn-cancel, a.btn-stats, a.btn-delete,
a.btn-subscribers, a.toggle-table, a.toggle-chart,
a.btn-fields, a.btn-edit-smtp, a.btn-edit-quota, a.btn-mask,
a.btn-disable-user, a.btn-enable-user, a.btn-edit-users, a.btn-sync,
a.btn-edit-resellers {
    padding: 0px 8px 2px 18px;
}

a.btn-import {
    background: url("../images/import.png") no-repeat;
}

a.btn-export {
    margin-left: 5px;
    background: url("../images/database-export.png") no-repeat;
}

a.toggle-chart {
    background: url("../images/chart-bar.png") no-repeat;
    position: absolute;
    right: 15px;
}

a.toggle-table {
    background: url("../images/table.gif") no-repeat;
    position: absolute;
    right: 15px;
}

a.btn-delete, a.btn-cancel {
    background: url("../images/status-canceled.png") no-repeat;
}

a.btn-subscribers {
    background: url("../images/cog_edit.png") no-repeat;
}

a.btn-sync {
    background: url("../images/refresh.png") no-repeat;
}

a.btn-edit {
    background: url("../images/page_edit.png") no-repeat;
}

a.btn-edit-users {
    background: url("../images/edit_users.png") no-repeat;
}

a.btn-edit-resellers {
    background: url("../images/reseller.png") no-repeat;
}

a.btn-send, a.btn-resume {
    background: url("../images/send.png") no-repeat;
}

a.btn-stats {
    background: url("../images/chart-bar.png") no-repeat;
}

a.btn-pause {
    background: url("../images/status-paused.png") no-repeat;
}

a.btn-view {
    background: url("../images/view.png") no-repeat;
}

a.btn-fields {
    background: url("../images/custom-fields.png") no-repeat;
}

a.btn-edit-smtp {
    background: url("../images/settings.png") no-repeat;
}

a.btn-edit-quota {
    background: url("../images/money.png") no-repeat;
}

a.btn-enable-user {
    background: url("../images/poweron.png") no-repeat;
}

a.btn-disable-user {
    background: url("../images/poweroff.png") no-repeat;
}

a.btn-mask {
    background: url("../images/anonymous.png") no-repeat;
}

/*** Menu in user/resellers list ***/
span.btn-edit, span.btn-send, span.btn-delete,
span.btn-edit-smtp, span.btn-edit-quota, span.btn-mask, span.btn-reputation,
span.btn-disable-user, span.btn-enable-user, span.btn-edit-users, span.btn-edit-resellers {
    padding: 0px 8px 2px 18px;
}

span.btn-delete {
    background: url("../images/status-canceled.png") no-repeat;
}

span.btn-edit {
    background: url("../images/page_edit.png") no-repeat;
}

span.btn-edit-smtp {
    background: url("../images/settings.png") no-repeat;
}

span.btn-send {
    background: url("../images/send.png") no-repeat;
}

span.btn-edit-quota {
    background: url("../images/money.png") no-repeat;
}

span.btn-enable-user {
    background: url("../images/poweron.png") no-repeat;
}

span.btn-disable-user {
    background: url("../images/poweroff.png") no-repeat;
}

span.btn-mask {
    background: url("../images/anonymous.png") no-repeat;
}

span.btn-edit-users {
    background: url("../images/edit_users.png") no-repeat;
}

span.btn-edit-resellers {
    background: url("../images/reseller.png") no-repeat;
}

span.btn-reputation {
    background: url("../images/black_mail.png") no-repeat;
}
/** Statistics period links **/
a.period, span.period {
    margin: 0 4px;
}

span.period {
    color: #666666;
}

.toolbar .label {
    color: #666666;
    font-weight: bold;
}
/*** Progress bar ***/
#progressBar{
	width:216px;
	height:41px;
	background:url("../images/bg_bar.gif") no-repeat 0 0;
	position: absolute;
        display: none;
}

#progressBar span{
	position:absolute;
	display:block;
	width:200px;
	height:25px;
	background:url("../images/bar.gif") no-repeat 0 0;
	top:8px;
	left:8px;
	overflow:hidden;
	text-indent:-8000px;
}

#progressBar em{
	position:absolute;
	display:block;
	width:200px;
	height:25px;
	background:url("../images/bg_cover.gif") repeat-x 0 0;
	top:0;
}

/*** Forms ***/
/*
.required {
    background-image: url(../images/asterisk.png);
    background-position:top right;
    background-repeat:no-repeat;
    padding-right:10px;
}*/
.form .type-check div {
    position: absolute;
    top: 0;
    left: 0;
}

.email-text-body {
    height: 250px;
}

.email-html-body {
    height: 350px;
}

.subscribers-list {
    height: 200px;
}

input.reset, input.zs-btn-reset,
input.search, input.zs-btn-search {
    vertical-align: text-bottom;
    border: 0 none;
    width: 16px;
    height: 16px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}

input.zs-btn-reset, input.zs-btn-search {
    padding:11px 0 0;
}

input.reset, input.zs-btn-reset,
input.reset:hover, input.zs-btn-reset:hover,
input.reset:focus, input.zs-btn-reset:focus,
input.reset:active, input.zs-btn-reset:active {
    background: transparent url("../images/search-clear-btn-2.png") no-repeat left top;
    border: 0 none;
}

input.search, input.zs-btn-search,
input.search:hover, input.zs-btn-search:hover,
input.searcht:focus, input.zs-btn-search:focus,
input.search:active, input.zs-btn-search:active {
    background: transparent url("../images/search-btn.png") no-repeat left top;
    border: 0 none;
}

.indent {
    padding-left: 25%;
}

#template_name {
    width: 30%;
}

#custom {
    width: 30px;
}

.form .type-text input.date-select,
.toolbar .date-select {
    background: #fff url("../images/calendar.png") no-repeat scroll 2px 2px;
    padding-left: 20px;
}

.form .type-text input.date-select-columnar {
    width: 100px;
}

.time-select,
.form .type-text input.date-select {
    height: 12px;
}

#date-time-box .date-select {
    background: #fff url("../images/calendar.png") no-repeat scroll 2px 2px;
    float: left;
    width: 120px;
}

#date-time-box .time-select {
    float: left;
    width: 36px;
    margin-left: 4px;
}

.form .message {
    margin-top: 0;
    padding: 0;
    list-style: none;
}

.form .indent .message {
    margin-left: 0;
}

.form .message li {
    font-weight: bold;
    color: #880000;
    list-style: none;
    line-height: normal;
}

.form .type-text ul.form-list {
    list-style: none;
    margin-left: 27%;
    margin-bottom: 0;
    font-size: 80%;
    padding: 0;
}

.form .type-text ul.form-list li {
    list-style: none;
}
/*** Misc app specific styles ***/
span.campaign-status-awaiting, span.campaign-status-paused, span.campaign-status-paused_resending {
    background: url("../images/status-paused.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
}

span.campaign-status-ready {
    background: url("../images/status-sending-2.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
}

span.campaign-status-scheduled {
    background: url("../images/status-scheduled-2.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
}

span.campaign-status-rescheduled {
    background: url("../images/status-rescheduled.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
}

span.campaign-status-sending {
    background: url("../images/status-sending-2.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
}

span.campaign-status-canceled, span.campaign-status-deleted {
    background: url("../images/status-canceled.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
}

span.campaign-status-sent {
    background: url("../images/status-sent-ok.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
}

span.campaign-status-resending {
    background: url("../images/error.png") no-repeat;
    padding-left: 24px;
    padding-bottom: 4px;
    color: #E25E52;
}

span.campaign-estimations {
    display: block;
    padding-top: 2px;
}

td.sub-bounced {
    color: #C67B7B;
}

table.users td a.acc-disabled {
    color: gray;
}

.table tbody tr.global-list {
    color: #C67B7B;
}

div#statistics-area {
    margin: 0 10px;
}

div#messages ul, div#messages ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/**/
dl.view {
    margin: 0 0 20px;
}

dl.view dt {
    color: #4682B4;
}

dl.view ul {
    margin: 0;
    padding: 0;
}

dl.view li {
    list-style: none outside;
    padding-left: 24px;
    background: url("../images/status-sent-ok.png") no-repeat 0 5px;
}

.stat-sending, .stat-tracking {
    float: left;
    margin: 0 10px;
    padding-top: 15px;
}

.stat-number {
    width: 15%;
}

/*** Copy to clipboard link ***/
#copy-link.hover { background-color: #DAB144; }
#copy-link.active { background-color: transparent; }

input.zs-search-datetime,
input.zs-search-date {
    width: 80px;
}

input.zs-search-text {
    width: 100px;
}

table.administrator {
    font-size: 90%;
}

table.event {
    font-size: 90%;
}

table.event thead th.hdr-message, table.event tbody td.col-message {
    white-space: normal;
}

table.users {
    font-size: 90%;
}

table.users-stats {
    font-size: 90%;
}

table.users-stats th, table.users-stats td {
    padding: 0.5em;
    white-space: normal;
}

table.users-reputation th, table.users-reputation td {
    font-size: 10px;
    padding: 3px;
    white-space: normal;
}

table.users-reputation td.warn {
    background-color: #FFCFCF;
}

div#search-bar input#from_address {
    width: 80px;
}

.form-markup {
    display: block;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 90%;
    padding-top: 2px;
}

/** Usage activity classes for user list **/
/*
tr.usage-high {
    background-color: #C7FFBF;
}
*/
tr.usage-medium {
    background-color: #FEFFBF;
}

tr.usage-low {
    background-color: #FFCFCF;
}

tr.usage-never {
    background-color: #FFCFCF;
}


body ul.cm_default li.icon {
    padding: 5px;
    width: 125px;
}

body ul.cm_default li.icon-wider {
    padding: 5px;
    width: 155px;
}

/**/
.global-stat-counter {
    position: absolute;
    top: 19px;
    left: 453px;
    width: 134px;
    height: 113px;
    padding: 15px 15px 0;
    background: url(../images/stat_bg.png) no-repeat left top;
    color: #016596;
    overflow: hidden;
    font-size: 12px;
    line-height: 13px;
    text-align: center;
}

.global-stat-counter span {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 1px 1px 0 #016596;
    display: block;
    white-space: nowrap;
    line-height: 20px;
    text-align: center;
}

.global-stat-counter table {
    width: 100%;
    margin-top: 11px;
}

.global-stat-counter td,
.global-stat-counter th {
    padding: 0 0 9px;
    line-height: 13px;
}

.global-stat-counter td {
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    text-align: left;
}

.global-stat-counter th {
    color: #016596;
    font-size: 12px;
    white-space: nowrap;
    padding-left: 5px;
    text-align: left;
}

a.lang-select-tr, a.lang-select-en {
    margin: 0 2px;
}

a.active {
    color: #FFB138;
}

#days-time {
    font-size: 90%;
    display: none;
    margin: 0;
}

#days-time label {
    display: inline;
    float: none;
    margin-left: 15px;
}

#days-time input {
    display: inline;
}

#days-time {
    margin-left: 10px;
}

#days-time .time {
    width: 40px;
    padding: 2px;
}

#days-time #repeat_time {
    display: inline;
    width: 36px;
    margin-left: 10px;
}

/* Home page stats */
div.tabs-stats-container {
    width: 300px;
    float: left;
    margin: 5px
}

div.tabs-stats-container div.tabs-stats div {
    border: 1px solid #CCCCCC;
    padding: 4px;
}

div.tabs-stats-container div.tabs-stats ul.ui-corner-all {
    border: none;
}

div.tabs-stats-container div.tabs-stats table {
    margin-bottom: 0;
}

div.tabs-stats .ui-tabs-panel p {
    font-size: 12px;
}

span.proxy-load-alarm {
    color: red;
    font-weight: bold;
}

span.proxy-load-ok {
    color: green;
}

table.event td.col-message {
    white-space: normal;
}

.ui-dialog-titlebar {
    display: none;
}

td.inline-msg-edit {
    padding: 0;
}

td.inline-msg-edit span {
    padding: 0.75em 1em;
}

td.inline-msg-edit input {
    margin: 0 2px;
    width: 98%;
    border: 1px solid #CCCCCC;
}

tr.spammer {
    background-color: #FFCFCF;
}

div.box .ui-widget-content {
    background: none;
}

#tabs .ui-tabs-panel {
    border: 1px solid #AAAAAA;
    border-top: none;
}

div.tabs-stats div.top {
    position: absolute;
    right: 10px;
    top: 8px;
    border: 1px solid #FEFEFE !important;
}

div.top a {
    padding: 0 4px;
}

div.top a.selected {
    background-color: #FEFEFE;
    text-decoration: none;
}

table.dating-stats th, table.dating-stats td {
    font-size: 10px;
    padding: 4px;
    white-space: normal;
}

span.dating-user {
    color: #222222;
    font-weight: bold;
}