/*
-----------------------------------------------
Client:Demand Local
Project:Dashboard

File Name:table.css
Notes:Styles all tables.

Author:Dayspring Technologies, Inc.
Email:info@dayspring-tech.com
Web:http://www.dayspring-tech.com/
----------------------------------------------- */

/* Default Styles
----------------------------------------------- */
table {
    border:0;
    border-collapse:collapse;
    empty-cells:show;
    margin:0;
    width:100%;
}
table td {
    border:0;
    overflow:show;
    vertical-align:top;
    white-space:wrap;
}
table td.middle {
    vertical-align:middle;
}
table td button {
    display:block;
    margin: 5px 10px 5px 0;
}

/* Data Styles
----------------------------------------------- */
table.table-data {
    border-bottom:10px #ccc solid;
    margin-bottom:10px;
}
.table-data caption {
    display:none;
}
.table-data img {
    display:inline;
    margin:0;
    vertical-align:top;
}

.table-data th {
    font-weight:bold;
    padding:8px 10px;
    width:auto;
}
.table-data thead th {
    background:#333;
    color:#fff;
    font-family:'trebuchet ms';
    font-size:138.5%;
    text-align:right;
}
.table-data thead th:first-child {
    text-align:left;
}
.table-data thead th img {
    margin:2px 5px 0 0;
}

.table-data tbody tr.hd th {
    background:#efefef;
    text-align:left;
}
.table-data tbody tr.summary th, .table-data tbody tr.summary td {
    padding-top: 14px;
    padding-bottom: 4px;
    border-bottom-color: #ccc;
}
.table-data tbody tr.image th, .table-data tbody tr.image td {
    padding: 4px 10px;
    color:#666;
}
.table-data thead th a {
    background:transparent;
    color: #ffffff;
    font-size: 13px;
}
.table-data thead th a.sortup {
    background:#333 url(/img/ic-arrow-up.gif) 0 50% no-repeat;
    padding-left:15px;
}
.table-data thead th a.sortdn {
    background:#333 url(/img/ic-arrow-dn.gif) 0 50% no-repeat;
    padding-left:15px;
}

.table-data tbody tr.hd a {
    background:transparent;
    color: #000000;
}
.table-data tbody tr.hd th a.sortup {
    background:#efefef url(/img/ic-arrow-up.gif) 100% 50% no-repeat;
    padding-right:15px;
}
.table-data tbody tr.hd th a.sortdn {
    background:#efefef url(/img/ic-arrow-dn.gif) 100% 50% no-repeat;
    padding-right:15px;
}
.table-data tbody tr.summary a.edit {
    float:left;
    margin-right:3px;
}

.table-data tbody tr.summary td.active {
    font-weight:bold;
    width: 84px;
}

.table-data tbody tr.hd th.mob {
    background:#efefef url(/img/ic-sm.png?v=1) no-repeat 10px -406px;
    padding-left:31px;
}
.table-data tbody tr.hd th.vid {
    background:#efefef url(/img/ic-sm.png?v=1) no-repeat 10px -488px;
    padding-left:31px;
}
.table-data tbody tr.hd th.sem {
    background:#efefef url(/img/ic-sm.png?v=1) no-repeat 10px -158px;
    padding-left:31px;
}
.table-data tbody tr.hd th.inv {
    background:#efefef url(/img/ic-sm.png?v=1) no-repeat 10px -240px;
    padding-left:31px;
}
.table-data tbody tr.hd th.dsp {
    background:#efefef url(/img/ic-sm.png?v=1) no-repeat 10px -323px;
    padding-left:31px;
}
.table-data tbody tr.hd th.trk {
    background:#efefef url(/img/ic-sm.png?v=1) no-repeat 10px -571px;
    padding-left:31px;
}

.table-data tbody tr.hd td {
    background:#efefef;
    font-weight:bold;
    text-align:right;
}
.table-data tbody tr.hd td a.sortup {
    background:#efefef url(/img/ic-arrow-up.gif) 0 50% no-repeat;
    padding-left:15px;
}
.table-data tbody tr.hd td a.sortdn {
    background:#efefef url(/img/ic-arrow-dn.gif) 0 50% no-repeat;
    padding-left:15px;
}

.table-data tbody th {
    border-bottom:1px solid #ededed;
    text-align:left;
    text-overflow: ellipsis;
    overflow:hidden;
    vertical-align: top;
}
.table-data td {
    border-bottom:1px solid #ededed;
    padding:8px 10px;
    text-align:right;
}
.table-data tr.image td.actions {
    padding-left:0;
    padding-right:24px;
}
.table-data td.left {
    text-align:left;
}
.table-data td.center, table td.center, .table-data tbody tr.hd th.center {
    text-align:center;
}
.table-data tbody tr.hd td.left {
    text-align:left;
}
.table-data td:first-child { /* For numeration column */
    font-weight:bold;
}
.table-data td:first-child.image-name {
    font-weight:normal;
    padding-left:2.5em;
}
.table-data td.typecol {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 0;
    padding-left: 20px;
    width: 45px;
}

.table-data td.typecol.mob {
    background:transparent url(/img/ic-sm.png?v=1) 4px -406px no-repeat;
}
.table-data td.typecol.vid {
    background:transparent url(/img/ic-sm.png?v=1) 4px -488px no-repeat;
}
.table-data td.typecol.sem {
    background:transparent url(/img/ic-sm.png?v=1) 4px -158px no-repeat;
}
.table-data td.typecol.inv {
    background:transparent url(/img/ic-sm.png?v=1) 4px -240px no-repeat;
}
.table-data td.typecol.dsp {
    background:transparent url(/img/ic-sm.png?v=1) 4px -323px no-repeat;
}
.table-data td.typecol.trk {
    background:transparent url(/img/ic-sm.png?v=1) 4px -571px no-repeat;
}
.table-data td.typecol a.link-daterange {
    background:transparent url(/img/ic-blu.png?v=1) no-repeat -3px -111px;
    display:block;
    float: left;
    padding: 0;
    margin-left: 3px;
    width: 23px;
    height:16px;
}
.table-data td.typecol a.link-daterange:hover, .table-data td.typecol a.link-daterange:focus, .table-data td.typecol a.link-daterange.open {
    background:transparent url(/img/ic-blu.png) no-repeat -3px -3px;
}
.table-data td.typecol a.link-internaldata {
}

#client-overview.table-data td {
    width:auto;
}
#client-overview.table-data td:first-child {
    width:5%;
}

.table-data a	{
    text-decoration:none;
}

.table-data tbody tr.hilite {
    background-color:#c4e4f3;
}
.table-data tbody tr.inactive {
    display:none;
}
.table-data tbody tr.inactive th, .table-data tbody tr.inactive td {
    color:#ababab;
}
.table-data tbody tr.show.inactive {
    display:table-row;
}

.table-data#order-overview td.typecol {
    border-left: 10px;
    padding-right: 10px;
    width: 16px;
}
.table-data#order-overview a.link-internaldata {
    float: none;
    margin: 0;
    padding: 0;
}
.table-data#order-overview thead th {
    text-align: left;
}

/* Pagination Styles
----------------------------------------------- */
.pagination {
    float:left;
    margin:-7px 5px 0;
    font-family:'trebuchet ms';
}
.pagination .page-picker {
    display:inline;
    margin: 0 10px;
}
.pagination button {
    font-family:'trebuchet ms';
}
.pagination input {
    width:2em;
    text-align: center;
}

ul.view {
    float:right;
    font-size:93%;
    margin:0 10px 25px;
}
.view li {
    float:left;
    font-family:'trebuchet ms';
    list-style:none;
    margin:0 0 0 15px;
}
.view li .active {
    text-decoration:none;
    color: black;
}
tr.clientcreativehd {
    background-color:#fafafa;
}

/* Highcharts Styles
----------------------------------------------- */
.sparkline {
    min-width:46px;
    display:inline-block;
}


/* Goals dialog Styles
----------------------------------------------- */
#goal-dialog {
    display:none;
}

#goal-dialog .right {
    float:right;
}

#goal-dialog p:first-child {
    font-size: 110%;
}

#goal-dialog p:last-child {
    margin-bottom:0;
}


/* editable styles
------------------------------------------------ */
.editable-campaign-name,
.editable-client-name,
.editable-campaign-name form,
.editable-client-name form {
    margin:0;
}