body {
    line-height: normal;
    font-family: Lato,sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Hide unnecessary undo button */
._dash-undo-redo {
  display: none;
}

.report, .drilldown {
    /* Since the View Control is fixed-position */
    /*padding-left: 275px;*/
}


.drilldown-header, .report-header, .upcomers-header {
    position: fixed;
    z-index: 999; 
    background-color: white;
    padding-bottom: 5px;
    margin-top: 5px;
}

.report-header h4 {
    line-height: unset;
}
.drilldown-header h5 {
    position: relative;
    font-size: 2.0rem;
    margin-bottom: 5px;
}
.drilldown-header h5.origin-logo-Twitch:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://arena.superdataresearch.com/static/twitch_logo.svg');
    background-repeat: no-repeat;
    background-position: right;
    z-index: -1;
    opacity: 0.2;
}
.drilldown-header h5.origin-logo-YouTube {
    background-image: url('https://arena.superdataresearch.com/static/twitch_logo.svg');
}

.drilldown-header .drilldown-name {
    max-height: 60px;
    overflow-y: auto;
}

.drilldown-header h6 {
    margin-bottom: 5px;
}

.report-header div.range-label {
    display: inline-block;
    font-size: 1.5 rem;
    padding-right: 20px;
}

.report-header div.asof-label {
    display: inline-block;
    vertical-align: top;
    font-size: 1.5rem;
}

.drilldown-header div.range-label {
    font-size: 1.5rem;
    padding-bottom: 2px;
}

.drilldown-header div.asof-label {
    padding-bottom: 2px;
}

.drilldown-header .row, .report-header .row {
    border-bottom: 1px dotted rgba(1,1,1,0.25);
}

.drilldown-header .row {
    width: 960px;
}
.drilldown-header .row .columns {
    margin-left: 0;
}
.drilldown-header .row .two.columns{
    width: 16.66667%;
}
.drilldown-header .row .three.columns{
    width: 25%;
}
.drilldown-header .row .four.columns{
    width: 33.33333%;
}
.drilldown-header .row .seven.columns{
    width: 58.33333%;
}

#breadcrumb-content {
    font-size: 12px;
}

.title-and-export {
    vertical-align: bottom;
}

.title-and-export h2 {
    display: inline-block;
    vertical-align:text-bottom;
    margin: 0;
}
.title-and-export form {
    display: inline-block;
    vertical-align: text-bottom;
    margin-bottom: 5px;
    margin-left: 80px;
}
.title-and-export form fieldset {
    display: none;
    margin: 0;
    border: none;
}
.title-and-export form button {
    margin: 0;
}
.drilldown-body, .report-body {
    top: 200px;
}

.report-header, .report-body {
    max-width: unset;
}

.report-body {
    width: 1020px;
}

.report-header {
    width: 1035px;
}

.report-header .row .nine.columns {
    width: 75%;
}
.report-header .row .three.columns {
    width: 25%;
}

.container {
    margin-left: 10px;
    display: inline-block;
}

ul.nav {
    display: inline;
    list-style: none;
    margin-bottom: 0px;
}

ul.navbar-right{
    float: right;
}

ul.nav li {
    display: inline-block;
    font-size: 14px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 0px;
    /*color: white;*/
}

ul.nav li.nav-report-l {
    margin-right: 5px;
}

ul.nav li.nav-report-r {
    margin-left: 0px;
}

ul.nav-pages {
    list-style: none;
    margin-top: 5px;
    margin-bottom: 0px;
}

ul.nav-pages li {
    display: inline-block;
    font-size: 14px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 0px;
}

div.nav-background {
    z-index: 1;
    background-color: white;
    position: fixed;
    height: 155px;
    width: 100%;
}

.refine-holder {
    /*position: fixed;*/
    left: 800px;
    width: 292px;
    display: inline-block;
    overflow: visible;
    vertical-align: top;
}
.refine {
    /*position: fixed;*/
    /*z-index: 999;*/
    background-color: white;
    display: inline-block;
    /*border: 1px solid black;*/
    margin-bottom: 5px;
    margin-left: 0;
    /*margin: 10px;*/
    /*width: 288px;*/
    vertical-align: top;
    text-align: right;
}

#timescale-period, #max-results-picker {
    min-width: 132px;
}

.period-dates-picker .Select-value-label {
    text-transform: capitalize;
}


div#category-picker {
    display: inline-block;
    min-width: 120px;
}

.drill-tools form {
    display: inline-block;
    vertical-align: top;
    padding-left: 0;
    margin-bottom: 0;
}
.drill-tools form button {
    background-position-y: center;
    background-repeat: no-repeat;
    background-image: url(https://arena.superdataresearch.com/static/icons/download.png);
    padding-left: 40px;
    padding-right: 10px;
    margin-bottom: 0px;
}

.drill-tools div#audience-button {
    display: inline-block;
    padding-left: 5px;
}
.drill-tools div.audience {
    display: inline-block;
    margin-left: 2px;
    line-height: 35px;
    height: 36px;
    background-position-y: center;
    background-repeat: no-repeat;
    background-image: url(https://arena.superdataresearch.com/static/icons/audience.png);
    padding-left: 40px;
    padding-right: 10px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background-repeat: no-repeat;        
}
.drill-tools div.audience a {
    color: #555;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}
div.view-control {
    display: inline-block;
    border-radius: 5px;
    background-color: #eee;
    padding: 5px 10px;
    text-align: left;
}

div.view-control h5 {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

div.view-control h6 {
    margin: 0;
    display: inline-block;
    vertical-align: top;
    line-height: 36px;
    padding-right: 10px;
    font-size: 14px;
}

div.view-control table {
    margin-bottom: unset;
}
div.view-control table tr td {
    padding: 0px;
    border: none;
}

div.view-control .DateInput {
    padding: 0px 4px;
    width: 90px;
    font-size: 15px;
    border-radius: 5px;
    border: 1px solid #ccc; /* to match the dropdowns */
}

div.view-control button.date-stepper {
    width: 30px;
    height: 34px;
    padding: 0px;
    background-color: white;
    margin: 0 0 0 2px;
    vertical-align: middle;
}

div.view-control .DateInput--with-caret div.DateInput__display-text {
    /*padding: unset;*/
}

div.view-control .DateRangePicker__picker {
    top: 38px;
}
div.view-control .SingleDatePicker__picker {
    top: 38px;
}
div.view-control .SingleDatePickerInput {
    border: unset;
    background-color: unset;
}


div.view-control .DateInput--with-caret::before {
    top: 28px; /* The caret [sp] on top of the months */
}
div.view-control .DateInput--with-caret::after {
    top: 29px;
    /* Not sure what this does, but for consistency. In  dash-core-components,
react-dates.css, it is also one px more than the before */
}


div.master {
    min-width: 1250px;
}
div#page-content {
    position: absolute;
    min-width: 1250px;
    /*overflow-y: scroll;*/
}
div.navbar-wrapper {
    z-index: 1000; /* Must be higher than the fixed headers */
    width: 100vw;
    min-width: 1250px;
    position: fixed;
    background-color: rgba(37,64,125,.25); /* SD Navy */
    /*background-color: rgba(22,15,71,.75);*/
    color: rgb(0,151,177); /* SD Teal */

}
@media screen and (min-width: 1181px){
    div#page-content, .refine {
        top: 150px; /* Give room for both navs */
    }
    div.navbar-wrapper {
        top: 111px; /* Give space for the superdata nav */
    }
}
@media screen and (max-width: 1180px){
    div#page-content, .refine {
        top: 129px; /* Give room for both navs */
    }
    div.navbar-wrapper {
        top: 90px; /* Give space for the superdata nav */
    }
}

.navbar-admin {
    background-color: rgba(37,64,125,.25); /* SD Navy */
}
div.navbar {
    line-height: 1 !important;
    font-size: 18px;
    text-transform: uppercase;
    width: 95%;
    min-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: 5px;
    padding-left: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-top: 0px;
    margin-bottom: 5px;
}

div.navbar.nav-maintenance {
    background-color: rgb(242, 106, 70);
    color: black;
}

div.navbar.nav-maintenance a {
    color: black;
}

div.navbar a {
    color: rgb(0,151,177); /* SD Teal */
    font-family: Lato,sans-serif;
    font-size: 13px;
    /*font-weight: 100;*/
    text-decoration: none;
}
div.navbar a:hover {
    color: #f57838;
    text-decoration: underline;
}

div.navbar a.navbar-brand {
    margin-right: 30px;
}

div.subnav div ul {
    display: inline;
    list-style: none;
    margin-bottom: 0px;
}
    
div.subnav div ul li.selected {
    background-color: #ddd;
}

li.nav-item {
    vertical-align: middle;
}
li.nav-item-search { /* why is this in right nav not left nav? */
    position: fixed;
    left: 770px;
}

li#user-profile {
    max-width: 75px;
    overflow: hidden;
}
/* Copied from react-autocomplete */
.autocomplete-search {
    border-radius: 3px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    font-size: 90%;
    position: fixed;
    z-index: 1000; /* has to sit on top of fixed header */
    overflow: auto;
    max-height: 50%
}

.autocomplete-search .item {
    color: rgb(37, 64, 125);
    padding: 5px;
}

.autocomplete-search .item-header {
    text-transform: uppercase;
}

.autocomplete-search .item-name {
    padding-left: 10px;
    text-transform: none;
}

.autocomplete-search .item-Channel.item-highlighted, .autocomplete-search .item-Title.item-highlighted  {
    background-color: rgb(239, 224, 68);
}

.autocomplete-search .item-Channel {
    background-color: #eee;
}

.autocomplete-search .item-Title {
    background-color: #fff;
}

div.navbar div#search-nav {
    min-width: 100px;
    text-transform: none;
}

div.navbar div#search-nav:focus-within {
    min-width: 400px;
    position: fixed;
}

div#search-nav .Select-menu-outer {
    z-index: 2000;
}
div#search-nav .Select-value-label {
    display: none;
}
div#search-nav .Select-control {
    height: 26px;
}

div#search-nav .Select-input {
    height: 24px;
}
div#search-nav .Select--single>.Select-control .Select-value, .Select-placeholder {
    line-height: 24px;
}
div#search-nav .Select-placeholder {
    line-height: 24px;
}


a:hover {
    cursor: pointer;
    text-decoration: underline;
}

button.sorter {
    text-transform: none;
    border: none;
    border-radius: unset;
    height: auto;
    line-height: normal;
    padding: unset;
    font-weight: bold;
    font-size: inherit;
    white-space: unset;
}

div.game_image_name, div.channel_image_name  {
    max-width: 150px;
}

div.game_image_name div, div.channel_image_name div {
    white-space: nowrap;
}

div.game_image_name img {
    max-height: 150px;
    padding-right: 5px;
}
div.channel_image_name img{
    height: 70px;
    padding-right: 5px;
}

img#game-image-medium {
    height: 190px;
    width: 136px;
}
div.game-image-title {
    height: 193px;
}
div.game-image-title img{
    height: 190px;
}

div.channel-image-title {
    height: 153px;
}

div.channel-image-title img {
    height: 150px;
    width: 150px;
}

.hidden {
    display: none;
    position: absolute;
}

div.graph-and-view .js-plotly-plot .plotly div.modebar--hover {
    /* So we don't sit on top of the metrics dropdown */
    z-index: unset;
}

.container.chiclets-container {
    width: 100%;
}

div.chiclet {
    background-color: #eee;
    padding: 10px;
    margin: 10px;
    display: table-cell;
    /*vertical-align: top;*/
    text-align: center;
    border-radius: 5px;
    /*height: 110px; */ /* So all chiclets are same height */
}

div.chiclet .label {
    font-size: 1.6rem; /* should be 1.6rem; but some metric names v. long */
    font-weight: bold;
    padding-bottom: 5px;
   /* min-height: 54px;*/ /* Push the values down to align */
}

div.chiclet .value {
    font-size: 1.4rem;
    line-height: 1.4;
}

div.chiclet .main-value {
    font-size: 1.2rem;
    padding-bottom: 2px;
}

.sorter {
    font-size: 2rem;
}

.main-value {
    padding-bottom: 5px;
}

.numeric-rightalign {
    text-align: right;
    width: 100px;
    /*padding-right: 50px;*/
}

.numeric-rightalign .main-value {
    font-family: Lato, Arial; /*'Roboto Mono', monospace;*/
    font-size: small;
}

.comp-value {
    font-size: smaller;
}

.comp-value-up {
    color: green;
}

.comp-value-down {
    color: red;
}

.comp-value-flat {
    color: grey;
}

.share-value {
    font-size: smaller;
}

div.removable-criterion {
    background-color: #eb8f50;
    border-radius: 10px;
    color: #fff;
    padding: 6px;
    margin: 3px;
    display: inline-block;
}

div.removable-criterion a {
    color: red;
}

div.inner-criterion {
    display: inline-block;
    margin-right: 5px;
}
/*** Login page ****/

div.login {
    text-align: center;
}

div.login img.logo {
    width: 618px;
    height: 114px;
    padding: 10px;
    margin-bottom: 60px;
}

div.login input[type="text"], div.login input[type="password"] {
    width: 300px;
}

div.login input::placeholder {
    font-style: italic;
}

div.login input[type="submit"] {
    width: 224px;
    background-color: #355c80;
    border-radius: unset;
    border: none;
    line-height: 34px;
    font-size: 18px;
    font-family: BentonSans-Book, Arial, Helvetica, sans-serif;
    color: #fff;
    margin-top: 15px;
    padding: 6px 50px;
    height: auto;
}

/* Override skeleton default */
/*table.arena-table thead {
    position: fixed;
    background-color: white;
}
table.arena-table tbody {
    top: 20px;
}*/
table.arena-table td:first-child {
    padding-left: 15px;
}

table.arena-table td:last-child {
    padding-right: 15px;
}

table.arena-table th, table.arena-table td {
    padding: 12px 5px;
}


.excessive-time-span {
    margin: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #eade29;
    font-size: 18px;
    font-weight: bold;
}

/** Sortables **/
table.sortables td {
    vertical-align: top;
    width: 450px;
}

ul.sortable {
    list-style: none;
    height: 100%;
    
}

ul.sortable li.item {
    background-color: #eee;
    padding: 5px;
    border: 1px solid #333;
    border-radius: 2px;
}

div#dirtyWarning {
    background-color: #d33;
    border-radius: 2px;
    font-weight: bold;
    padding: 5px;
}
.influencers-wrapper h4 {
    padding-left: 10px;
}
/* Don't cut off tooltips */
table.influencers .js-plotly-plot .plotly svg {
    overflow: visible;
}

/*table.influencers .js-plotly-plot .plotly svg .hoverlayer {
    z-index: 2000;
}*/
table.influencers tbody tr:nth-child(odd) {
    background: #eee;
}

table.influencers td {
    vertical-align: top;
}

table.influencers td.channel-details {
    text-align: center;
}

.influencers div.channel-display {
    text-align: center;
    padding: 3px;
}

.influencers div.channel-display img {
    border-radius: 3px;
    width: 150px;
}
.influencers div.channel-display div.name-wrapper {
    background-color: white;
    font-weight: bold;
    padding: 2px;
    width: 90%;
    text-align: center;
}

.influencers div.channel-display div.name-wrapper a {
    display: block;
    text-decoration: underline;
}
.influencers div.channel-display div.name-wrapper div.img-holder {
    width: 80px;
    padding-top: 5px;
}

.influencers div.channel-display div.name-wrapper img {
    width: 80px;
}
.influencers .channel-details {
}

.influencers .channel-details a.details-button {
    display: block;
    /*background-color: #4d4f53;*/
    border-radius: 3px;
    width: 95%;
    margin: 0px;
    padding: 10px;
    /*color: white;*/
    font-size: 15px;
    text-decoration: underline;
    /*color: darkblue;*/
    background-color: #efefef;
}
/*.influencers .channel-details button.closed-details {
    background-image: url('https://arena.superdataresearch.com/static/circarr_r_blue.png');
}
.influencers .channel-details button.open-details {
    background-image: url('https://arena.superdataresearch.com/static/circarr_d_blue.png');
}*/


.influencers-wrapper div.cell .header {
    color: white;
    background-color: #4d4f53;
    border-radius: 3px;
    border-color: #4d4f53;
    font-weight: bold;
    padding: 2px;
}

.influencers-wrapper div.games-cell {
    max-width: 200px;
}
.influencers-wrapper div.list-counts-cell {
    /*max-width: 200px;*/
    color: #4d4f53;
    font-size: 14px;
}
.influencers-wrapper div.list-counts-cell ul {
    list-style-type: none;
    max-height: 145px;
    overflow: auto;
    padding-left: 3px;
    margin-top: 1rem;
}

.influencers-wrapper div.list-counts-cell ul li {
    margin-bottom: 1px;
    font-size: 10pt;
    padding-left: 40px;
    /* override for mini chart*/
    background-image: url(https://arena.superdataresearch.com/static/pixels/cloud.png);
    background-size: 1%; 
    background-repeat: repeat-y;
    
}

.influencers-wrapper .purchase-intent-tables td {
    vertical-align: top;
}
.influencers-wrapper .purchase-intent-tables table {
    margin-left: 2px;
}
.influencers-wrapper .purchase-intent-tables table thead td{
    color: white;
    background-color: #4d4f53;
    font-weight: bold;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border: none;
}

.influencers-wrapper .purchase-intent-tables table tbody {
    border: 1px solid #eee;
}

.influencers-wrapper table.arena-table tr td.purchase-intent-label {
    padding-left: 15px;
}
.influencers-wrapper table.arena-table td.purchase-intent-group {
    background-color: white;
    background-repeat: no-repeat;
    background-position-y: center;
    padding-left: 80px;
    background-size: 60px;
    vertical-align: middle;
    width: 110px;
}
.influencers-wrapper .purchase-intent-group.purchase-intent-auto {
    background-image: url(https://arena.superdataresearch.com/static/icons/auto.png);
}
.influencers-wrapper .purchase-intent-group.purchase-intent-cpg {
    text-transform: uppercase;
    background-image: url(https://arena.superdataresearch.com/static/icons/cpg.png);
}
.influencers-wrapper .purchase-intent-group.purchase-intent-electronics {
    background-image: url(https://arena.superdataresearch.com/static/icons/electronics.png);   
}

.influencers-wrapper .purchase-intent-group.purchase-intent-dining {
    background-image: url(https://arena.superdataresearch.com/static/icons/dining.png);
}
.influencers-wrapper .purchase-intent-group.purchase-intent-fashion {
    background-image: url(https://arena.superdataresearch.com/static/icons/fashion.png);
}
.influencers-wrapper .purchase-intent-group.purchase-intent-travel {
    background-image: url(https://arena.superdataresearch.com/static/icons/travel.png);
}


.influencers-wrapper .purchase-intent-value {
    background-repeat-x: no-repeat;
    color: white;
    background-color: white;
    text-transform: uppercase;
    width: 120px;
}
/*
magick -size 1x1 xc:'#25407dff' navy.png
magick -size 1x1 xc:'#25407d55' navy55.png
magick -size 1x1 xc:'#25407d77' navy77.png
magick -size 1x1 xc:'#25407daa' navyaa.png
magick -size 1x1 xc:'#25407dcc' navycc.png
*/
.influencers-wrapper .purchase-intent-value.pi-index-1 {
    background-size: 20%;
    background-image: url(https://arena.superdataresearch.com/static/pixels/navy55.png);
    font-size: 10px;
    color: #4d4f53;
}
.influencers-wrapper .purchase-intent-value.pi-index-2 {
    background-size: 40%;
    background-image: url(https://arena.superdataresearch.com/static/pixels/navy77.png);
    font-size: 10px;
}
.influencers-wrapper .purchase-intent-value.pi-index-3 {
    background-size: 60%;
    background-image: url(https://arena.superdataresearch.com/static/pixels/navyaa.png);
    font-size: 12px;
}
.influencers-wrapper .purchase-intent-value.pi-index-4 {
    background-size: 80%;
    background-image: url(https://arena.superdataresearch.com/static/pixels/navycc.png);
}
.influencers-wrapper .purchase-intent-value.pi-index-5 {
    background-size: 100%;
    background-image: url(https://arena.superdataresearch.com/static/pixels/navy.png);
}


/* charting */

.graph-box {
    border: 1px solid black;
}

.graph-and-view {
    padding: 2px;
    page-break-inside: avoid;
}

.arena-table {
    page-break-inside: avoid;
}

.arena-table tbody tr:nth-child(odd) {
    background: #eee;
}

div#game-graphs .columns, div#channel-graphs .columns {
    margin-left: 0;
}

.modify-content-header > div, .modify-view > div {
    display: inline-block;
}

.docswrapper {
    padding-top: 4em;
    width: 100%;
    text-align: center;
}
.docsheader, #docs {
    text-align: left;
}

.docsheader h1 {
    color: #25407d;
    font-size: 3.0rem;
    font-weight: bold;
    letter-spacing: normal;
}

.docsheader row {
    line-height: 1.2;
    padding-bottom: 2em;
}

#docs h2 {
    color: #f26a46;
    font-size: 2.5rem;
    letter-spacing: normal;
}

#docs row {
    padding: 1em 0;
}

#docs .metric-doc {
    padding-bottom: 2em;
    border-bottom: thin dotted #eee;
}

#docs .metric-doc .metric-name {
    font-weight: bold;
}
/** Printer-friendly */
@media print {
    .pageBreak { page-break-before: always; }
    .labelPdf { font-weight: bold; font-size: 20px; }
    .noPrintPdf { display: none; }
}


/* Admin */
div.division_check_label {
    background-color: #4d4f53;
    color: white;
    font-weight: bold;
    border-radius: 3px;
    padding: 5px;
    display: inline-block;
}

ul.flashes {
    list-style: none;
}

ul.flashes li {
    color: red;
    background-color: #eee;
    padding: 10px;
    font-weight: bold;
}

.container.admin table tr td form {
    margin-bottom: unset;
}

.container.admin table tr td form input {
    margin-bottom: unset;
}

.container.admin input.simple {
    display: unset;
    height: unset;
    padding: 1px 7px 2px;
    margin-bottom: unset;
    text-transform: unset;
    line-height: unset;
}

.scrolling-list {
    max-height: 500px;
    overflow: auto;
    list-style-type: none;
}

.upcomers-picker {
    display: inline-block;
    vertical-align: top;
    padding-right: 25px;
}

.upcomers-picker input[type="radio"] {
    margin-right: 5px;
}
.upcomers-picker table.upcomers-dates-picker {
    border-collapse: unset;
    border-spacing: 5px;
}
.upcomers input[type="checkbox"] {
    margin-right: 2px;
    margin-bottom: 0px;
}

.upcomers-picker-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.upcomers-body {
    top: 215px;
}

#upcomers-table {
    min-width: 575px;
}

#upcomers-table thead td {
    font-weight: bold;
    text-align: center;
}

.upcomers-value {
    text-align: right;
    width: 100px;
}