/* BEGIN: GRID PAGER */

/* GENERAL RULES */
#paginglinks {
  margin: 5px auto 5px auto;
  clear: both;
}

.pagelink,
.pagelinklast,
.pagecurrent {
  background: transparent;
  border: 1px solid #212121;
  padding: 1px 3px 1px 3px;
}

.pagelinklast {
  background: #999;
}

.pagecurrent {
  background: #999;
}

/* \GENERAL RULES */

/* PUB NEW GRID RULES */
#pubGridPager {
  padding: 8px 10px 5px 10px;
  border-top: 0 none;
  background: #fff url("/images/bg-pager-top.gif") repeat-x 0 0;
}

#pubGridPager #paginglinks {
  font-size: 8pt;
  font-weight: 700;
  color: #999;
}

#pubGridPager .pagertitle {
  display: inline-block;
  margin-right: 5px;
  font-weight: normal;
}

#pubGridPager .pagelink,
#pubGridPager .pagelinklast,
#pubGridPager .pageellipsis,
#pubGridPager .pagecurrent {
  border: 1px solid #ddd;
  padding: 1px 3px 1px 3px;
  display: inline-block;
  width: 33px;
  font-size: 8pt;
  font-weight: 700;
  text-align: center;
  background-color: transparent;
  color: #D87126;
}

#pubGridPager .pageellipsis {
  color: #999;
  cursor: default;
  margin-left: -1px;
}

#pubGridPager .rightmost {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

#pubGridPager .leftmost {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

#pubGridPager #paginglinks a {
  text-decoration: none;
  text-transform: uppercase;
  margin-left: -1px;
}

#pubGridPager #paginglinks a span:hover {
  background-color: #f5f5f5;
}

#pubGridPager .pagecurrent {
  color: #999;
  cursor: default;
  background-color: #f5f5f5;
  margin-left: -1px;
}

/* \PUB NEW GRID RULES */

/* END: GRID PAGER */

/* BEGIN GRID TABLE */

div.grid-header-button {
  background-color: transparent;
  text-align: right;
  padding: 0;
  margin: 0;
}

div.grid-header-button input {
  margin: 5px;
}

tr.rowHead {
  background-color: #fff;
}

.table_wrapper {
  border: 1px solid #D1D2D3;
  padding: 1px;
}

table.grid {
  width: 100%;
  border-collapse: collapse;
  /*font-size: 12px;*/
  border: none;
}

table.grid * {
  /*background: white;*/
}

table.grid a, table.grid img {
  background: none;
}

table.grid a, input[readonly].hasDatepicker, input[readonly="readonly"].hasDatepicker, input[readonly="1"].hasDatepicker {
  color: black;
}

table.grid a.previewAdIframe, table.grid a.edit_ad_link {
  color: #F26521;
}

table.grid thead tr th {
  background: #fff;
  padding: 10px 5px 13px;
  vertical-align: middle;
  font: 400 14px "Roboto Medium";
  border-right: 1px solid #F37227;
  border-bottom: 1px solid #F37227;
}

table.grid thead tr th * {

}

table.grid thead tr th span {
  display: block;
}

table.grid thead tr th:last-child {
  border-right: 0 none;
}

/*table.grid thead tr th:first-child {*/
/*background: url(/images/bg-thead-l.gif) no-repeat bottom left;*/
/*}*/
/**/
/*table.grid thead tr th:last-child {*/
/*background: url(/images/bg-thead-r.gif) no-repeat bottom right;*/
/*}*/

table.grid tbody tr:hover {
  background-color: #eee;
}

table.grid tbody tr, table.grid tbody tr.no_records_found:hover {
  background-color: #fff;
}

table.grid tbody tr.no_records_found {
  text-align: center;
}

table.grid tbody tr:last-child:hover {
  background: none;
}

table.grid tbody tr td {
  border: 1px solid #f3c8af;
  /*color: #787878;*/
  font-size: 12px;
  padding: 3px 16px;
}

table.grid tbody tr td,
table.grid tr.rowEven td,
table.grid tr.rowOdd td {
  border: 1px solid #f3c8af;
  font-size: 12px;
  padding: 3px 16px;
}

table.grid tbody tr.odd,
table.grid tbody tr.rowOdd {
  background-color: #fff1eb;
}

table.grid tr.app-container-row td {
  background-color: #fff;
}

table.grid tr.container-row td {
  background-color: #f4d5c9;
}

table.grid tr.app-no-container-row td {
  background-color: #f7f7b5;
}

/*table.grid tbody tr:first-child td{*/
/*border-top: none;*/
/*}*/
table.grid tbody tr td:first-child {
  border-left: none;
}

table.grid tbody tr td:last-child {
  border-right: none;
}

table.grid tr td:first-child {
  border-left: none;
}

table.grid tr td:last-child {
  border-right: none;
}

table.grid tr.rowTotals {
  overflow: hidden;
  width: 100%;
  padding: 15px 0;
  margin: 0 0 10px !important;
  text-align: right;
}
table.grid tr.unblocked {
  border-bottom: 1px solid #F37227;
}

table.grid tr.rowTotals td {
  border: 0;
  padding: 11px 4px !important;
}

table.grid tr.rowTotals td:first-child {
  text-indent: 23px;
  text-align: left;
}

table.grid tr:last-child {
  background: none;
}

#sessionValueStatsHolder table.grid tr:last-child,
#trafficSourcesStatsHolder table.grid tr:last-child,
#sessionValueBySourceStatsHolder table.grid tr:last-child,
#refUrlStatsHolder table.grid tr:last-child {
  background: #fff;
}

#sessionValueStatsGrid div table tbody tr td:nth-child(1),
#trafficSourcesStatsGrid div table tbody tr td:nth-child(1) {
  max-width: 480px;
  overflow: auto;
}

table.grid tbody tr.table-totals {
  overflow: hidden;
  width: 100%;
  padding: 15px 0;
  margin: 0 0 10px;
}

table.grid tbody tr.table-totals td {
  border: 0;
  padding: 13px 15px;
  color: #1a1e25 !important;
}

table.grid tbody tr:last-child td {
  border-bottom: none;
}

.a-center {
  text-align: center;
}

/* BEGIN: GRID EXPORT SECTION */
table.grid a.export {
  color: #D87126;
  background: url("/images/design/icons/documents-icons-sprite-16px.png") 0 -34px no-repeat transparent;
  padding: 0 0 2px 16px;
  text-decoration: none;
}

table.grid a.export:hover {
  background-position: 0 0;
  text-decoration: underline;
}

table.grid a.export.export-all {
  background-position: 0 -51px;
  margin: 0 5px 0 4px;
  padding: 0 0 4px 18px;
}

table.grid a.export.export-all:hover {
  background-position: 0 -17px;
}

/* END: GRID EXPORT SECTION */

/* END GRID TABLE */

/* BEGIN: search box */
/*.filter-search-block {*/
/*width: 100%;*/
/*color: #000;*/
/*border-top: solid 2px #959595;*/
/*padding: 10px 16px;*/
/*border: none;*/
/*font-size: 12px;*/
/*background-color: #90A2B8;*/
/*-webkit-border-top-left-radius: 4px;*/
/*-webkit-border-top-right-radius: 4px;*/
/*-moz-border-radius-topleft: 4px;*/
/*-moz-border-radius-topright: 4px;*/
/*border-top-left-radius: 4px;*/
/*border-top-right-radius: 4px;*/
/*behavior: url(/js/pie/PIE.htc);*/
/*}*/
.filter-search-block {
  width: 100%;
  padding: 10px 16px;
  background-color: #fff7f3;
  border-bottom: 1px solid #F37227;
  font: 14px "Roboto Medium";
}

.filter-search-block img {
  border: 0;
}

.filter-search-block td {
  vertical-align: top;
}

.filter-search-block .filter-by {
  margin: 0;
  background: none;
  width: 56px;
  padding: 0;
}

/*.filter-search-block .filter-form {*/
/*font-size: 12px;*/
/*color: #000;*/
/*}*/

.filter-search-block .filter-form td {
  vertical-align: top;
}

.filter-search-block .filter-form label {
  /*color: #787878;*/
  margin-top: -3px;
  margin-right: 6px;
}

.filter-search-block .filter-form .datepicker {
  padding: 2px;
  background-position-x: 71px;
  background-position-y: center;
  background-image: url(/images/calendar_view_month.png);
  border: solid 1px #ccc;
  width: 85px;
  background-repeat: no-repeat;
}

.filter-search-block .filter-form .submit-button {
  float: right;
}

.filter-search-block .filter-form div.filter {
  padding: 0 5px;
  vertical-align: top;
  margin-bottom: 6px;
}

.filter-search-block .filter-form div.filter,
.filter-search-block .filter-form div.filter > input,
.filter-search-block .filter-form div.filter > label,
.filter-search-block .filter-form div.filter > select,
.filter-search-block .filter-form div.filter > .mdash {
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.filter-search-block .filter-form div.filter > .mdash {
  margin: -3px 4px 0px 4px;
}

.filter-search-block .filter-form div.activity-types select,
.filter-search-block .filter-form div.payment-types select {
  height: 65px;
}

.filter-search-block .filter-form div.activity-types,
.filter-search-block .filter-form div.payment-types {
  height: 70px;
  vertical-align: middle;
}

.filter-search-block .filter-form input.dateRangerButton {
  margin: 3px 3px 0 12px;
  padding: 0;
  width: 16px;
  height: 16px;
  position: relative;
  top: 3px;
}

.filter-search-block .filter-form select#standardDateRange {
  width: auto;
}

.filter-search-block .filter,
.filter-search-block .filter-by {
  height: 31px;
  vertical-align: middle;
  line-height: 31px;
}

/* END: search box */
/* =========================================== */
/* BEGIN: pub_index_page */
#pub_index_page table.grid {
  width: 100%;
  max-width: 100%;
  /*table-layout: fixed;*/
}

#pub_index_page table.grid td.has_sub_apps:hover {
  text-decoration: underline;
}

#pub_index_page table.grid td.has_sub_apps .toggle_sub_apps {
  background-image: url(/images/arrow_down_10x10.png);
  background-repeat: no-repeat;
  background-position: 0px center;
  cursor: pointer;
  width: 10px;
  height: 10px;
  padding: 3px 0;
  display: inline-block;
  *display: inline;
  zoom: 1;
  text-decoration: none;
  margin-bottom: -4px;
  margin-right: 5px;
}

#pub_index_page table.grid td.has_sub_apps.opened .toggle_sub_apps {
  background-image: url(/images/arrow_up_10x10.png);
}

#pub_index_page table.grid .sub_app_row {
  display: none;
}

#pub_index_page table.grid tr.sub_app_row .sub_app_id, #pub_index_page table.grid tr td.main_app_row {
  min-width: 350px;
  width: 350px;
  max-width: 350px;
  padding: 2px;
}

#pub_index_page table.grid tr.sub_app_row .sub_app_id {
  word-wrap: break-word;
}

#pub_index_page table.grid tbody tr td {
  font-size: 12px;
  padding: 3px 16px;
}

#pub_index_page table.grid tbody tr.rowTotals td, table.grid tbody tr.rowTotals td {
  font-weight: bold;
}

/* END:  */

.grid .a-right {
  text-align: right;
}

.grid .a-center {
  text-align: center;
}

.grid .a-left {
  text-align: left;
}

.grid .in-grid-icons a {
  text-decoration: none;
}