html {
  height: 100%;
  overflow: hidden;
}
body {
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

a:link {
  color: #15c;
  font-family: Arial;
  font-size: 13px;
  text-decoration: none;
}
a:visited {
  color: #61c;
}
a:active {
  color: #dd4b39;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0;
  padding: 0 0 1em;
}

#google_pubconsole_header {
  height: 44px; /* Modify the g-wrapper top position also */
  background-color: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
}

#google_pubconsole_troubleshoot_button,
.google_pubconsole_button {
  background-color: #4285f4;
  border: none;
  color: #fff;
  cursor: pointer;
  float: right;
  font-family: sans-serif;
  font-size: 12px !important;
  font-weight: 500;
  height: 40px;
  margin: 2px 5px 0 0;
  overflow: hidden;
  position: relative;
  z-index: 9;
}

#google_pubconsole_feedback_button {
  margin-top: 13px;
  height: 21px;
}

/* The below CSS modified the <a> buttons to appear identical to the
 * <button> troubleshoot_button. */
a.google_pubconsole_button {
  align-items: center;
  color: #fff;
  display: flex;
  flex: 1;
  justify-content: center;
  margin: 2px 5px 0 0;
  max-width: 100%;
  text-decoration: none;
  text-align: center;
  padding: 0 7px;
}

.new:after {
  background: #db4437;
  content: "NEW";
  color: #fff;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 8px;
  padding: 2px 2px 2px 4px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
}

#google_pubconsole_collapse,
#google_pubconsole_expand{
  height: 21px;
  cursor: pointer;
}
#google_pubconsole_expand{
}
#google_pubconsole_collapse{
  display:none;
}

#google_pubconsole_resize {
  position: absolute;
  top: 12px;
  left: 50%;
  cursor: ns-resize;
  z-index: 9;
}

#google_pubconsole_close {
  padding-top: 8px;
}

#google_pubconsole_reload_div {
  display: inline-block;
}

/**************************** g-doc Structure ****************************/
/* g-tpl-250-alt g-unit */
.g-tpl-250-alt .g-unit,
.g-unit .g-tpl-250-alt .g-unit,
.g-unit .g-unit .g-tpl-250-alt .g-unit,
.g-unit .g-unit .g-unit .g-tpl-250-alt .g-unit {
  display: block;
  margin: 0 0 0 0;
  width: auto;
  height: 100%;
  float: none;
  overflow: auto;
}

.g-wrapper {
  position: absolute;
  top: 44px; /* Needs to be the header height */
  bottom: 0;
  right: 0;
  left: 0;
}

.g-border {
  height: 100%;
}

.g-doc {
  height: 100%;
}

.g-section.g-tpl-250-alt {
  height: 100%;
}

.top_right_buttons {
  position: relative;
  float: right;
  right: 6px;
  margin-top: 5px;
  cursor: pointer;
  z-index: 9;
}

.top_right_buttons span {
  vertical-align: top;
  color: #fff;
}

.g-wrapper {
  background-color: #fff;
  padding: 6px;
  border-bottom: 1px solid #ccc
}
.g-border {
  background-color: #fff;
}
.g-content {
  padding: 5px;
}
.content-divs {
  position: relative;
}

/**************************** Headers ****************************/
h1,
.pub-h1 { /* pub-h1 */
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.primary {
  font-weight: bold;
}
.primary .help {
  color: #888;
  font-size: 10px;
}
.secondary {
  color: #888;
  font-weight: normal;
}

h1 div,
.pub-h1 div {
  display: inline;
}

h2,
.pub-h2 {
  font-size: 14px;
  font-weight: bold;
  color: #4d90fe;
}

.no-text-decoration {
  text-decoration: none;
}

h5 {
  font-size: 13px;
  margin: 0;
  padding: 0 0 0.1em; /* was 0 0 0.2em in AW css - reduced it to make things fit - also makes content look more coherent, actually*/
}

.inline-details {
  margin-left: 10px;
  vertical-align: middle;
}

.inline-details.first {
  margin-left: 0;
}

.gbox {
  margin-bottom: 10px;
}

.gbox-body {
  padding: 5px;
}

.gbox-body-short{
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 5px;
  padding-left: 5px;
}

.big {
  font-size: 13px;
}
.small {
  font-size: 12px;
}

/**************************** Sortable Tables *****************************/
.sortable_table {
  border-collapse: collapse;
  border: 1px solid #e6e6e6;
  font-size: 13px;
  font-weight: normal;
  clear: both;
}

.sortable_table thead {
  background-color: #e6e6e6;
  cursor: pointer;
}

.sortable_table tfoot {
  background-color: #dcdcdc;
}

.sortable_table td, th {
  border: 1px solid #e6e6e6;
  padding: 10px;
}

.sortable_table td {
  text-align: left;
  position: relative;
}

.sortable_table th {
  font-size: 11px;
  color: #333;
  background-color: #f6f6f6;
  font-weight: bold;
  position: relative;
}

th.goog-tablesorter-sorted {
  background-color: #e6e6e6;
  border: 1px solid #ccc;
  border-left: 2px;
  -webkit-box-shadow: inset 1px 1px 6px 2px rgba(204, 204, 204, 0.5);
  box-shadow: inset 1px 1px 6px 2px rgba(204, 204, 204, 0.5);
}

th.goog-tablesorter-sorted-reverse {
  background-color: #e6e6e6;
  border: 1px solid #ccc;
  border-left: 2px;
  -webkit-box-shadow: inset 1px 1px 6px 2px rgba(204, 204, 204, 0.5);
  box-shadow: inset 1px 1px 6px 2px rgba(204, 204, 204, 0.5);
}

/**************************** Loading *****************************/
.cover {
  position:fixed;
  z-index:99;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:white;
}

/**************************** Targeting **************************/
.targeting-button {
  background-color: #eee;
  border: none;
  border-radius: 8px;
  color: #52565a;
  cursor: pointer;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
  padding: 8px;
  text-align: left;
}

.targeting-chip {
  background-color: #eee;
  border-radius: 8px;
  color: #52565a;
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  margin: 0 8px 8px 0;
  padding: 3px 9px;
  white-space: nowrap;
}

.targeting-chip-key {
  font-weight: bold;
}

.targeting-collapsed .targeting-info,
.targeting-collapsed .targeting-button-opened,
.targeting-button .targeting-button-closed {
  display: none;
}

.targeting-collapsed .targeting-button .targeting-button-closed {
  display: block;
}

/******************************* Login Box ********************************/
#google_pubconsole_tagging_report_div {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

.tagging-report-text {
  margin-left: 5px;
}

/********************************* Trace **********************************/
.trace-load-times {
  line-height: 110%;
}

/********************************* About *********************************/
.about {
  background-color: #fff;
  font-size: 13px;
  padding: 7px;
}

.icon {
  float: left; /*isn't there a better way that uses the normal flow?*/
  font-size: 0.85em;
  height: 120px;
  margin: 0.3em 1.5em 0 1em; /*these feel like hacks - I'd like to 'center' components with auto margins! */
  text-align: center;
}

.icon p {
  margin: 0;
  padding: .5em 0 0.5em;
}

.icon img {
  height: 80px;
  width: 80px;
}

.fine-print {
  font-size: .75em; /* is this too small? */
}

div.card {
  border: 1px #e6e6e6 solid;
  width: 500px;
  overflow: hidden;
}

.card .header {
  background-color: #e6e6e6;
  padding: 5px;
  font-weight: bold;
}

.card .body {
  color: #000;
}

.card .key {
  margin-right: 5px;
}

.card .body div {
  padding: 5px;
}

.float-right {
  float: right;
  color: #888;
  margin-right: 0.5em;
}

.ad-button {
  display: inline-block;
  white-space: nowrap;
  background: #f5f5f5 -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 2px;
  box-sizing: border-box;
  color: #444;
  font-family: arial, helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  height: 29px;
  line-height: 27px;
  margin: 0;
  min-width: 54px;
  outline: none;
  padding: 0 8px;
  position: relative;
  text-align: center;
  user-select: none;
  -webkit-transition: all .218s;
  -webkit-user-select: none;
  margin-top: 3px;
  margin-right: 3px;
}

.status-icon {
  vertical-align: middle;
}

.scorecard {
  padding: 15px 10px;
  border: 1px solid #e6e6e6;
  width: 190px;
  border-radius: 3px;
  background: #fff;
  font-family: "Arial", "Helvetica", sans-serif;
  color: #222;
  font-size: 13px;
  position: relative;
  display: block;
  clear: both;
}

.right-menu {
  margin-left: 0;
}

.right-menu:last-of-type {
  margin-left: 19px;
}

@media (min-width: 650px) {
  #google_pubconsole_buttons{
    position: absolute;
    justify-content: flex-end;
    right: 122px;
    top:0;
  }
}

@media (max-width: 650px) {
  .new:after {
    display: none; /* Hide the new badge on smaller widths . */
  }
  #google_pubconsole_gwrapper{
    top: 88px;
  }
  #google_pubconsole_buttons{
    display: flex;
    flex-direction: row-reverse;
  }
  #google_pubconsole_troubleshoot_button,
  .google_pubconsole_button {
    flex: 1 1 0;
    float: none;
    max-width: inherit;
  }
}
