.group.group--GRID {
  padding-left: 15px;
  padding-right: 15px;
}

.grid {
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  border-radius: 3px 3px 0 0;
}

table.grid--table {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
  border: 0;
  margin: 0;
}
.grid--head {
}
.grid--body {
}

.grid--row {
}
.grid--row__odd {
  background-color: #fafafa !important;
}
.grid--row__even {
  background-color: white !important;
}

.grid--row__is-selected {
}
.grid--row__is-expanded {
}

.grid--column {
}
.grid--column__has-sorting {
}
.grid--column__select {
  padding: 0;
  width: 24px;
  text-align: center;
}
th.grid--column__expand,
td.grid--column__expand {
  width: 20px;
  text-align: center;
  color: #468be1;
  font-size: 1.2em;
  outline: 0 none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.1s ease-in-out;
  cursor: pointer;
  padding: 4px 0 0 !important;
}
th.grid--column__expand {
  padding: 0 !important;
  color: #333;
}

.grid--column--title {
}
.grid--column--icon {
}
.grid--column--label {
  vertical-align: middle;
  display: inline-block;
  max-width: 68px;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  white-space: normal;
}

.grid--column--help {
}

/* ////////////////////////////////// EMPTY ///////////////////////////////// */
.grid--empty {
  background: white;
  text-align: center;
  color: #777;
  font-size: 1.1em;
  height: 120px;
  line-height: 120px;
}

/* //////////////////////////////// SPINNER ///////////////////////////////// */
.grid > .spinner .spinner--container {
  position: absolute;
  width: 100%;
  margin: 45px auto 0;
  min-height: 540px;
  height: calc(100vh);
  line-height: calc(100vh);
  background: white;
  z-index: 1;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 5px 0 rgba(0, 0, 0, 0.084);
}

/* ////////////////////////////// BASE COLUMN /////////////////////////////// */
.grid--column {
  text-align: center;
}

/* ////////////////////////////// MAIN COLUMN /////////////////////////////// */
.grid--column__main {
  text-align: left;
  padding-left: 6px;
}
.grid--column__main div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 15px;
  position: relative;
}
.grid--column__main div.title {
  font-weight: 400;
}
.grid--column__main div.description {
}
.grid--column__main div.description a {
  color: #3b84d7;
  font-weight: 300;
  font-size: 0.9em;
}

/* //////////////////////////////// TRENDING //////////////////////////////// */
.grid--column--trending {
}
.grid--column--trending .popover-title {
  background: white;
  border: 0 none;
  text-align: center;
  white-space: nowrap;
}
.grid--column--trending .popover-title h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
  margin: 0;
  padding: 0;
}

/* //////////////////////////////// OPTIONS ///////////////////////////////// */
.grid--column__keyword_sites {
  width: 30px !important;
}

/* ///////////////////////// EXPANDABLE / DETAILS /////////////////////////// */
.grid--row--expandable {
}
.grid--row--details td {
  border-top: 0 !important;
}

.grid--toolbar {
  padding: 4px;
}
.grid--toolbar .btn-group:not(:first-child) {
  margin-left: 4px;
}

.grid--table-fluid {
  table-layout: auto;
}

.grid--column--ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /*line-height: 15px;*/
  position: relative;
}

/* ==========================================================================
   Column title and sorting
   ========================================================================== */
table.grid--table > thead > tr > th {
  /*background: #f8f8f8;*/
  border-bottom: 1px solid #efefef;
  /*border-top: 1px solid #DFDFDF !important;*/
  /*color: #333;*/
  /*font-size: 10px;*/
  /*font-weight: 300;*/
  height: 44px;
  line-height: 1.2;
  padding: 0.5em 0;
  position: relative;
  text-align: center;
  vertical-align: middle;
}
table.grid--table > thead > tr > th:first-child {
  border-radius: 2px 0 0 0;
}
table.grid--table > thead > tr > th:last-child {
  border-radius: 0 2px 0 0;
}

.column-title .column-label {
  vertical-align: middle;
  display: inline-block;
  max-width: 68px;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  white-space: normal;
}

table.grid--table td {
  padding: 6px 0;
}

table.grid--table th.grid--main-col,
table.grid--table td.grid--main-col {
  text-align: left;
  padding-left: 6px;
  width: 40%;
}

table.grid--table th.row-expand,
table.grid--table td.row-expand {
  width: 20px;
  padding: 0;
  text-align: center;
}

table.grid--table td.row-expand {
  color: #468be1;
  font-size: 1.2em;
  outline: 0 none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.1s ease-in-out;
  cursor: pointer;
  text-align: center;
  padding-top: 4px;
}

table.grid--table th.row-check,
table.grid--table td.row-check {
  padding: 0;
  width: 24px;
  text-align: center;
}

table.grid--table th.options-col,
table.grid--table td.options-col {
  width: 30px;
}

table.grid--table td.grid--main-col .title {
  font-weight: 400;
}

table.grid--table td.numbers-col {
  padding-left: 0;
  padding-right: 0;
}

.grid--main-col .title,
.grid--main-col .page-url {
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 15px;
  position: relative;
}

.grid--main-col .page-url a {
  color: #3b84d7;
  font-weight: 300;
}

.grid--main-col .expanded .title,
.grid--main-col .expanded .page-url {
  max-width: inherit;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}

#main-container.container,
.grid--container {
  padding: 0;
  /*box-shadow: 0 3px 1px -2px rgba(0,0,0,.14), 0 2px 2px 0 rgba(0,0,0,.098), 0 1px 5px 0 rgba(0,0,0,.084);*/
  /*box-shadow: 0 0 0 1px rgba(0,0,0,.2);*/
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  border-radius: 3px 3px 0 0;
}
#main-container.container {
  margin: 20px auto;
}

.grid--no-results {
  text-align: center;
  color: #777;
  font-size: 1.1em;
  height: 120px;
  line-height: 120px;
}

.grid--no-results-alt {
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
  background: white;
  border-radius: 0 0 3px 3px;
  text-align: center;
  color: #777;
  font-size: 1.1em;
  height: 120px;
  line-height: 120px;
}

table.grid--table > tbody + tbody {
  border-top: 1px solid rgba(0, 0, 0, 0.05); /*1px solid #DCE0E1;*/
}
table.grid--table.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: white;
}
table.grid--table.table-striped > tbody > tr:nth-of-type(even) {
  background-color: #fcfcfc;
}
table.grid--table.table-striped > tbody > tr.tr-odd {
  background-color: white;
}
table.grid--table.table-striped > tbody > tr.tr-even {
  background-color: #fafafa;
}

table.grid--table tbody:first-child tr:first-child td {
  border-top-color: #dce0e1;
}
table.grid--table > tbody > tr > td {
  border-top: 1px solid #efefef;
  /*line-height: 1.2;*/
  padding: 4px;
  vertical-align: middle;
}
/*table.grid--table > tbody > tr.expanded + tr > td {*/
/*border-top: 0;*/
/*padding: 0;*/
/*}*/
table.grid--table thead {
  padding-top: 4px;
}

table.grid--table.table-striped > tbody > tr.tr-odd {
  background-color: white;
}
table.grid--table.table-striped > tbody > tr.tr-even {
  background-color: #fafafa;
}

/* ==========================================================================
   Main Tables
   ========================================================================== */
table#stats-table {
  background: #dce0e1;
  border: 1px solid #dce0e1;
  border-color: #dce0e1;
  border-radius: 4px;
  margin: 0;
}
table#stats-table > tbody + tbody {
  border-top: 1px solid #dce0e1;
}
table#stats-table.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: white;
}
table#stats-table.table-striped > tbody > tr:nth-of-type(even) {
  background-color: #fafafa;
}
table#stats-table.table-striped > tbody > tr.tr-odd {
  background-color: white;
}
table#stats-table.table-striped > tbody > tr.tr-even {
  background-color: #fafafa;
}

table#stats-table tbody:first-child tr:first-child td {
  border-top-color: #dce0e1;
}
table#stats-table > tbody > tr > td {
  border-top-color: #efefef;
  padding: 6px;
}
table#stats-table thead tr {
  background: #efefef;
}
table#stats-table thead th {
  font-size: 0.8em;
  font-weight: 300;
  margin-bottom: 7px;
  color: #333;
  border-bottom: 0;
  text-align: center;
  vertical-align: middle;
  /*line-height: 24px;*/
  /*position: relative;*/
}
table#stats-table thead th span.column-title {
  white-space: nowrap;
}
table#stats-table thead th:first-child {
  border-radius: 5px 0 0 0;
}
table#stats-table thead th:last-child {
  border-radius: 0 5px 0 0;
}
/* ==========================================================================
   Specific Keywords Table Style
   ========================================================================== */
td > .links,
td.links {
  text-align: center;
}
td > .links a,
td.links a {
  color: #333;
  display: block;
  margin-right: 3px;
}
td > .links a:last-child,
td.links a:last-child {
  margin: 0;
}
td > .links a.link-google-site,
td.links a.link-google-site {
  color: #468be1;
}
td > .links a.link-ranks,
td.links a.link-ranks {
  color: yellowgreen;
  margin-right: 6px;
}
td > .links a.link-disabled,
td.links a.link-disabled {
  color: #ddd;
}
td > .links a.link-relevance,
td.links a.link-relevance {
  color: #333;
}

table#stats-table .row-check,
table#stats-table .row-expand {
  text-align: center;
}
table#stats-table .row-options {
  text-align: right;
}

/* Layout */
table#stats-table .row-check,
table#stats-table .row-expand {
  /*width: 1%;*/
}

/*table#stats-table .row-options,*/
.options-col {
  text-align: right;
}

.name {
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Column with numbers */
.numbers-col {
  text-align: center;
}
.numbers-col a {
  transition: all 0.2s ease-in-out;
  border-radius: 2px;
  color: #333;
  display: block;
  margin: 0;
  min-width: 50px;
  outline: 0 none;
  padding: 0;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
}
.location__ranks .numbers-col a {
  /*max-width: 70px;*/
}
.text-muted .numbers-col a {
  color: #777;
}
.numbers-col a:hover {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.75);
}
.numbers-col.numbers-cost a:hover,
.numbers-col.numbers-clicks a:hover,
.numbers-col.numbers-actions a:hover {
  box-shadow: none;
  border: 0 none;
}
.numbers-col .title {
  font-size: 13px;
  font-weight: 300;
  display: none;
  margin-bottom: 7px;
  color: #333;
}
.numbers-col .numbers .trend-arrow {
  display: inline;
  padding: 1.75px 6px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.numbers-col .numbers .trend-arrow:hover {
}

#adwords-query-volume {
  max-width: none;
}
#adwords-query-volume .table {
  border-color: #ddd;
  border-width: 1px;
  border-radius: 4px 4px 0 0;
}
.numbers-col .numbers .value {
  /*color: #222;*/
  font-size: 12px;
  font-weight: 400;
  line-height: 1em;
  margin-right: 5px;
}
.numbers-col .numbers a.info {
  color: #7f8c8d;
  font-size: 11px;
  line-height: 13px;
  text-align: center;
}
.numbers-col .numbers .info strong {
  color: #7f8c8d;
}
.numbers-col .numbers .zmdi {
  font-weight: bolder;
}

.grid-table .numbers-col .numbers .glyphicon-pushpin {
  color: #999;
  font-size: 60%;
}
.grid-table .trending .trending-static {
  color: #999;
  -webkit-transform: rotate(24deg);
  transform: rotate(24deg);
}
.numbers-query-volume a {
  /*cursor: pointer;*/
  /*box-shadow: 0 none;*/
}
.numbers-col .numbers .value {
  margin-right: 0;
}
.grid-value-container .grid-icon {
  font-size: 11px;
  top: -4px;
  position: relative;
  line-height: 15px;
}

/* ==========================================================================
   Specific Pages Table Style
   ========================================================================== */
span.page-columns-filter {
  position: absolute;
  top: 10px;
  right: 1px;
  z-index: 200;
}
#columns-filter .label-column {
  display: block;
  font-weight: normal;
  margin: 0;
}
#columns-filter .label-column.disabled {
  color: #888;
}
#columns-filter .label-column input[type='checkbox'] {
  margin: 0;
}
.pages-col {
}
.pages-col .name {
  font-weight: bold;
}
.pages-col label {
  margin: 0;
}
.page-keywords {
  display: inline;
}
.page-keywords a {
  cursor: pointer;
  margin-left: 4px;
}
.page-keywords.active a {
  cursor: pointer;
}
.page-keywords:hover {
  text-decoration: none;
}
.page-keywords.active {
  padding-left: 0px;
  display: list-item;
  list-style-type: disc;
  list-style-position: inside;
  text-decoration: none;
}
.page-outlinks a.active,
.page-inlinks a.active {
  /*color: #337ab7;*/
}
.page-summary {
  border: none;
  margin: 0 auto;
}
.page-summary td {
  border-bottom: 1px solid #dedede;
}
.page-summary tr:last-child td {
  border-bottom: 0;
}

.grid-value-container i.zmdi-info-outline {
  color: #247bdf;
  font-size: 11px;
}

.modal .page-url {
  width: 500px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
}

.page-options .btn,
#advanced-options .btn {
  border-radius: 2px;
}

.grid-editable {
}
.grid-editable__value {
  border-bottom: dashed 1px #0088cc;
  color: #0088cc;
}
.disabled .grid-editable__value {
  border-bottom: dashed 1px #aaa;
  color: #aaa;
}
.grid-editable label {
  padding: 0;
}

@media (min-width: 1366px) {
  .container {
    width: 1318px;
  }
}
@media (min-width: 1600px) {
  .container {
    width: 1518px;
  }
}
@media (min-width: 1900px) {
  .container {
    width: 1718px;
  }
}

.thermometer-container {
  display: block;
}
.thermometer {
  background: #ddd;
  border-radius: 2px;
  color: white;
  display: inline-block;
  font-size: 0.65em;
  font-weight: 600;
  min-height: 22px;
  min-width: 29px;
  padding: 5px 10px;
}
.highcharts-xaxis-labels .thermometer {
  min-width: 16px;
  min-height: 16px;
}
.thermometer-LOW,
.thermometer-1 {
  background: #f38a78;
}
.thermometer-MEDIUM,
.thermometer-2 {
  background: #f0c23b;
}
.thermometer-HIGH,
.thermometer-3 {
  background: #cee4a3;
}
.thermometer-PERFORMANT,
.thermometer-4 {
  background: #8bc34a;
}

.trending .grid-value-container {
  display: inline-block;
}
.grid-value-container {
  border-radius: 2px;
  color: #555;
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
  outline: 0 none;
  padding: 2px 4px;
  text-align: center;
  text-decoration: none;
}
.grid-clickable {
  /*box-shadow: 0 0 1px #ddd;*/
  cursor: pointer;
  padding: 2px 4px;
}
.grid-clickable .grid-value {
  transition: all 0.5s ease-in-out;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 1px;
}
.trending.grid-clickable,
.trending .grid-clickable {
  display: block;
  cursor: pointer;
  padding: 0;
}
.grid-clickable.grid-value-container,
.grid-clickable .grid-value-container {
  color: #656565;
  padding: 0;
}
.grid-clickable:hover {
  box-shadow: 0 0 1px #333;
  border-radius: 3px;
  text-decoration: none;
}
.grid-clickable:hover .grid-value {
  transition: none;
  border-bottom: 1px dotted transparent;
  padding-bottom: 2px;
}

.grid-text {
  color: #777;
  font-weight: 400;
  font-size: 0.8em;
  white-space: nowrap;
}
