.dfp .only-rtb,
.rtb .only-dfp,
.no-publisher-segments .only-with-publisher-segments,
.only-with-weather-segments,
.no-avg-feature-importances .only-with-avg-feature-importances,
.no-score-distribution .only-with-score-distribution,
.no-template-similarity .only-with-template-similarity,
.no-predictive-audience .only-with-predictive-audience,
.no-logit-aucs-progress .only-with-logit-aucs-progress,
.single-variation .multi-variation {
    display: none;
}

.content img {
    max-width: 100%;
}

.section > h2 {
    margin-top: 50px !important;
    margin-bottom: 20px !important;
    font-size: 28px;
}

.section > div > h3,
.section > h3 {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}

.section > h2,
.section > h3 {
    color: #333;
}

.hdr-selected {
    padding: 15px 30px;
    margin-left: -30px !important;
    background: #f9f9f9;
    border-left: 3px solid #dfdfdf;
}

.alert-text {
    color: red;
    font-weight: bold;
}

.native-ad-card {
    border: 1px solid #eee;
    padding: 10px !important;
    min-width: 300px;
    width: 300px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    background: white;
}

.native-ad-card > .ppm-rank-pad {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 100%;
    background: #ff6666;
}

.native-ad-card > .ppm-rank-value {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    background: #0080ff;
}

.native-ad-card > .header {
    display: flex;
    flex-direction: row;
}

.native-ad-card > .header > .icon-container {
    min-width: 50px;
    max-width: 50px;
}

.native-ad-card > .header > .title-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 10px;
}

.native-ad-card > .header > .title-container > .title {
    margin-top: 3px;
}

.native-ad-card > .header > .title-container > .text {
    font-size: 80%;
    color: #555;
    line-height: 1.1em;
}

.native-ad-card > .main-image-container {
    margin: 10px -10px;
}

.native-ad-card > .footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.native-ad-card > .footer > .details {
    font-size: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.native-ad-card > .footer > .details > .variation-name {
    color: #aaa;
    margin-bottom: -5px;
}

.native-ad-card > .footer > .details > .ppm-value {
    color: #0000cd;
}

.native-ad-card > .footer > .cta {
    border: 1px solid #ddd;
    padding: 8px 10px;
    border-radius: 2px;
    font-size: 90%;
}

.banner > .main-image-container,
.wildcard-variation > .main-image-container {
    margin: -10px -10px 10px -10px;
}

.wildcard-variation {
    width: auto;
}

.banner > .main-image-container {
    border-bottom: 1px solid #efefef;
}

.banner iframe {
    border: none;
}

.wildcard-variation > .footer > .details > .alert-text {
    margin-bottom: -5px;
}

.feature-list {
    margin: 0 !important;
    padding: 0 40px !important;
    list-style: none !important;
    color: #888;
    font-size: 13px;
    display: flex;
    max-height: 200px;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: start;
}

.feature-list > li {
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.feature-au-list {
    margin: 0 !important;
    padding: 0 0px !important;
    list-style: none !important;
    color: #888;
    font-size: 13px;
    display: flex;
    max-height: 350px;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: start;
}

.feature-au-list > li {
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.cluster-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    font-size: 13px;
    display: flex;
    height: 130px;
    flex-direction: row;
    flex-wrap: wrap;
}

.cluster-list > li {
    margin-bottom: 5px;
    width: 300px;
}

.variation-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 30px !important;
}

.variation-list > li {
    margin-right: 5px;
    margin-bottom: 5px;
}

.audience-card {
    padding: 33px !important;
    border: 1px solid #eee;
}

.audience-card > .header {
    border-bottom: 1px solid #efefef;
    margin: 0 -33px 33px;
    padding: 0 33px 33px;
}

.audience-card > .header .title {
    font-size: 19px;
    margin: 0;
}

.audience-card > .header > .title-container .ppm-value,
.cluster-list > li > .ppm-value {
    color: #0000cd;
    font-size: 11px;
}

.audience-card > .header > .title-container .gain-value,
.cluster-list > li > .gain-value {
    font-size: 19px;
    font-weight: bold;
}

.audience-card > .header > .title-container .tooltip {
    position: fixed;
    padding: 10px 20px;
    border: 1px solid #b3c9ce;
    border-radius: 4px;
    text-align: center;
    font: italic 14px/1.3 sans-serif;
    color: #333;
    background: #fff;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.tooltip {
    position: fixed;
    padding: 10px 20px;
    border: 1px solid #b3c9ce;
    border-radius: 4px;
    text-align: center;
    font: italic 14px/1.3 sans-serif;
    color: #333;
    background: #fff;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

.audience-card > .header > .title-container .nt-cards-data,
.cluster-list > li > .nt-cards-data {
    color: #0000cd;
    font-size: 11px;
    float: left;
}

.audience-card .single-variation-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.audience-card .secondary-text {
    color: #999;
    font-weight: bold;
    font-size: 10px;
    margin-bottom: 10px;
}

.audience-card .best-variation {
    margin-right: 80px;
}

.audience-card > .header > .title-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    margin: -33px -33px 20px;
    padding: 20px 33px;
    background: #fbfbfb;
}

.audience-card .status {
    margin-right: 33px;
    padding-right: 33px;
    border-right: 1px solid #eee;
}

.audience-card .feature-list {
    list-style: none;
    padding: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 700px;
}

.audience-card .feature-list > li {
    margin-right: 20px;
    margin-bottom: 20px;
}

.audience-card .feature-list .title {
    margin: 0;
    margin-bottom: 5px;
    line-height: 1.1em;
}

.audience-card .feature-list .title-sm {
    margin: 0;
    margin-bottom: 5px;
    line-height: 1.1em;
    font-size: smaller;
    color: #aaa;
}

.audience-card .feature-list .value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audience-card .feature-list .value-list > li {
    color: #888;
    font-size: 12px;
    line-height: 1.2em;
}

.audience-card .feature-list .value-list > li:not(:last-child) {
    margin-bottom: 5px;
}

.audience-card .feature-list {
    list-style: none;
    padding: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 700px;
}

.audience-card .feature-au-list > li {
    margin-right: 20px;
    margin-bottom: 20px;
}

.audience-card .feature-au-list .title {
    margin: 0;
    margin-bottom: 5px;
    line-height: 1.1em;
}

.audience-card .feature-au-list .title-sm {
    margin: 0;
    margin-bottom: 5px;
    line-height: 1.1em;
    font-size: smaller;
    color: #aaa;
}

.audience-card .feature-au-list .value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.audience-card .feature-au-list .value-list > li {
    color: #888;
    font-size: 12px;
    line-height: 1.2em;
}

.audience-card .feature-au-list .value-list > li:not(:last-child) {
    margin-bottom: 5px;
}

.audience-card .variation-pie {
}

.details-card {
    padding: 0px 5px !important;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 30px;
}

.details-value {
    font-size: 21px;
    font-weight: normal;
    color: #333;
}

.details-key {
    font-size: 11px;
    color: #aaa;
}

.details-info {
    position: absolute;
    right: 0;
    top: -20px;
    color: #bbb;
    font-size: 9px;
    display: block;
    border: 2px solid #bbb;
    width: 15px;
    height: 15px;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    line-height: 15px;
    cursor: default;
}

.details-info .tooltip-icon {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.details-info .tooltip-text {
    display: none;
    background: white;
    padding: 14px;
    z-index: 999;
    text-align: left;
    font-size: 11px;
    border-top-left-radius: 4px;
    position: absolute;
    left: 7px;
    top: 20px;
    width: 222px;
    border: 1px solid #ccc;
}

.details-info:hover {
    color: #666;
    border-color: #666;
}

.details-info:hover .tooltip-text {
    display: block;
}

.details-item {
    margin: 25px 5px 20px 15px;
    width: 230px;
    position: relative;
}
.details-item-5 {
    margin: 25px 5px 20px 15px;
    width: 175px;
}

.details-item-sm {
    margin: 10px 5px 0px 5px;
    width: 235px;
}
.details-item-sm-5 {
    margin: 10px 5px 0px 5px;
    width: 180px;
}

.details-separator {
    width: 1px;
    height: 100%;
    background-color: #eee;
}

.details-separator-horz {
    height: 1px;
    width: 100%;
    background-color: #eee;
}

.audience-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.audience-list > li:not(:last-child) {
    margin-bottom: 10px;
}

.dco-list {
    list-style: none !important;
    margin: 0 !important;
    border-left: 1px solid #eee;
    padding: 20px 33px !important;
}

.dco-list > li:not(:last-child) {
    margin-bottom: 40px;
}

.dco-list .header {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}

.dco-list > li > .header > .ppm-value {
    width: 35px;
    height: 35px;
    border: 2px solid #0080ff;
    border-radius: 50%;
    background: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #777;
    position: absolute;
    left: -53px;
}

.dco-list .title {
    font-size: 16px;
}

.dco-list .item-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dco-list .item-list > li {
    margin-top: 20px;
}

.dco-list .item-list .value-label {
    margin-bottom: 5px;
    font-size: 12px;
}

.tooltip-container img {
    max-width: 100%;
}

.tooltip-container {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 20px;
    font-size: 14px;
    background: white;
}

.audience-tooltip {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #ccc;
}

.audience-tooltip > .name {
    font-weight: bold;
    margin-bottom: -5px;
}

.audience-tooltip > .ppm-value {
    font-size: 70%;
    color: #0000cd;
}

.summary-table {
    border-collapse: collapse;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

th.summary-cell {
    text-align: center;
    font-size: 12px;
    color: #333;
    padding: 8px;
    border: 1px solid #f8f8f8;
    background-color: #fafafa;
}

td.summary-cell {
    text-align: center;
    font-size: 12px;
    color: #000;
    padding: 8px;
    border: 1px solid #f8f8f8;
    background-color: #ffffff;
}

.activity-table {
    border-collapse: collapse;
    margin-bottom: 30px;
    border: 0;
}

th.activity-cell {
    text-align: left;
    font-size: 11px;
    color: #aaa;
    padding: 8px;
    border: 0;
    background-color: #fff;
}

td.activity-cell {
    text-align: left;
    font-size: 13px;
    color: #555;
    padding: 8px;
    border: 0;
    background-color: #fff;
}

.no-border-table {
    border-collapse: collapse;
    margin-bottom: 30px;
}
.no-border-no-spacing-table {
    border-collapse: collapse;
    margin-bottom: 30px;
    border-spacing: 0px;
}

td.no-border-cell {
    text-align: center;
    font-size: 13px;
    padding: 8px;
    border: 0;
    background-color: #fff;
}
td.no-border-no-pad-cell {
    text-align: center;
    font-size: 13px;
    padding: 0;
    border: 0;
    background-color: #fff;
}

a.no-decor {
    text-decoration: none;
    color: #888 !important;
    cursor: pointer;
}

.report-period {
    color: #777;
    margin-left: 33px;
    font-weight: normal;
    font-size: 11px;
}

.progress-bar {
    height: 14px;
    background: #f2f2f2;
}

.progress-bar > div {
    height: 100%;
}

.custom-bidding-table {
    width: 100%;
    font-size: 12px;
    border-spacing: 0;
}

.dummy-columns-hidden th:first-child,
.dummy-columns-hidden th:last-child,
.dummy-columns-hidden td:first-child,
.dummy-columns-hidden td:last-child {
    display: none;
}

.dummy-columns-hidden td:nth-last-child(2) {
    padding-right: 40px;
}

.custom-bidding-table th,
.custom-bidding-table td {
    padding: 4px 35px;
}
.custom-bidding_cell-no-padding {
    padding: 0 !important;
    max-width: 268px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.custom-bidding-table th {
    text-align: left;
}

.custom-bidding-table tr:nth-child(odd) {
    background: #fafafa;
}

.custom-bidding-table td:not(:first-child):not(:last-child) {
    width: 20%;
}

.custom-bidding-table td:nth-child(2) {
    width: 18% !important;
    text-align: right;
}

.custom-bidding-table td > div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.custom-bidding-table td > div > div {
    flex-grow: 1;
    margin-right: 8px;
}

.custom-bidding-table td > div > span {
    font-size: 11px;
}

.custom-bidding-table a {
    text-decoration: none;
    color: #337ab7;
}
.custom-bidding-table a:hover {
    text-decoration: underline !important;
}

.custom-bidding-table .sub-header {
    text-align: right;
    font-weight: normal;
    color: #888;
}

.custom-bidding-separator {
    width: 2px;
    background-color: #ddd;
}

.summary-table .sub-header {
    font-weight: normal;
    color: #888;
}

.summary-table .sub-row-header {
    font-weight: normal;
}

div.variation-pie g.mpld3-xaxis,
div.variation-pie g.mpld3-yaxis {
    display: none;
}

.optimization-status-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
}

.optimization-status-section .plots {
    flex: 65%;
    border-right: 1px solid #efefef;
}

.optimization-status-section .status {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 50px 0;
    width: 31%;
    position: relative;
    overflow: hidden;
}

.optimization-status-section .status .bk {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 45%;
    background: #f9f9f9;
}

.status {
    /*flex: 35%;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status .status-circle {
    position: relative;
}

.optimization-status-section .status .status-circle {
    border-radius: 50%;
    background: white;
    border: 10px solid white;
}

.status .status-circle small {
    font-size: 14px;
}

.status .status-circle strong {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: "Oswald", sans-serif;
    top: calc(50% - 14px);
    font-size: 22px;
    color: #555;
    left: 0;
}

.optimization-status-section .status .status-circle strong {
    top: calc(50% - 13px);
    font-size: 26px;
}

.status .status-label {
    width: 120px;
    font-weight: bold;
    color: #999;
    margin-top: 5px;
    text-align: center;
    line-height: 1.2em;
}

.optimization-status-section .status .status-label {
    color: #666;
}

.optimization-status-section .plots > div {
    display: inline-block;
}

.legend {
    font-size: 10px;
    line-height: 1.1em;
    color: #888;
    margin-top: 15px;
    margin-right: 10px;
}
.legend-lg {
    font-size: 11px;
}

.key-learning {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.key-learning .nb-output {
    position: fixed;
    top: 65px;
    width: 375px;
    left: 750px;
    background: white;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.31);
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-radius: 10px;
    opacity: 0;
}

.key-learning .nb-output > h4 {
    margin: 0 0 10px;
    text-align: center;
    color: #555;
}

.key-learning .nb-output > div {
    display: flex;
    justify-content: space-between;
}

.key-learning > div {
    display: flex;
    flex-direction: row;
    padding: 20px 20px 20px 33px;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

.key-learning .controls {
    flex: 1 0 685px;
    max-width: 685px;
    min-width: 685px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.key-learning .controls > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.key-learning .controls .footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #666;
    font-size: 12px;
    font-weight: bold;
}

.key-learning .output {
    flex: 0 1 auto;
    border-left: 1px solid #eee;
    padding-left: 20px;
    margin-left: 20px;
}

.key-learning .output {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
}

.key-learning .output .status {
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
    /*padding-left: 105px;*/
}

.key-learning .output .status:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.key-learning .output .status-circle {
    margin-right: 20px;
}

.key-learning .output .status-label {
    flex: 0 1;
    color: #666;
    font-size: 12px;
    text-align: left;
}

.key-learning .multi-feature-controls {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.key-learning .multi-feature-controls > div {
    flex: 0.5;
}

.key-learning .nb-output .status-circle strong {
    font-size: 19px;
}

.key-learning .multi-feature-controls > div:first-child {
    padding-right: 10px;
    border-right: 1px solid #eee;
}

.key-learning .multi-feature-controls > div:last-child {
    margin-left: 10px;
}

.key-learning .multi-feature-controls h5 {
    margin: 0 0 5px;
}

.campaign-thumb-card {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px !important;
    width: 257px;
    position: relative;
    height: 192px;
    box-sizing: border-box;
}
.campaign-thumb-card:hover {
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.15);
}

.campaign-thumb-name {
    font-size: 12px;
    color: #333;
}

span.campaign-tile-key {
    font-weight: normal;
    font-size: 11px;
    color: #aaa;
}
span.campaign-tile-value {
    font-size: 21px;
    color: #333;
}
span.campaign-tile-value-sm {
    font-size: 16.5px;
    color: #333;
    font-weight: bold;
}

.activity-table a {
    text-decoration: none;
    color: #555;
}

.activity-table a:hover {
    text-decoration: underline !important;
}

.creative-elements {
    display: flex;
    flex-direction: row;
}

.creative-elements > .templates-section {
    flex: 1.3 0;
}

.creative-elements > .elements-section {
    flex: 1 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.creative-elements > .items-section {
    flex: 1.3 0;
}

.creative-elements tr:not(:first-child):hover {
    background: #edf5fd !important;
    cursor: pointer;
}

.creative-elements-preview {
    display: flex;
    justify-content: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 25px;
    margin-bottom: 30px;
}

tr[data-row-selected="1"] {
    background: #e7f3ff !important;
}

tr[data-row-selected="1"] > td:nth-last-child(2) {
    position: relative;
}

.creative-elements > div:not(:last-child) tr[data-row-selected="1"] > td:nth-last-child(2)::after {
    content: "\276F";
    position: absolute;
    right: -8px;
    top: 5px;
    color: #aaa;
    font-size: 37px;
}
span.audience-percent {
    font-size: 26px;
    font-weight: bold;
    color: #0b5394;
    --color: #345c82;
}
span.audience-percent-small {
    font-size: 20px;
    font-weight: bold;
    color: #0b5394;
}
span.audience-absolute {
    font-size: 14px;
    font-weight: normal;
    color: #999999;
}

span.audience-absolute-small {
    font-size: 12px;
    font-weight: bold;
    color: #777777;
}

.pixel-distribution-tool .output {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
}

.pixel-distribution-tool .output .status {
    flex: 100%;
}

.pixel-distribution-tool .output .status:not(:last-child) {
    border-right: 1px solid #eee;
}

.pixel-distribution-tool {
    margin-bottom: 20px;
}

.score-distribution .controls {
    display: flex;
    flex-direction: row;
}

.score-distribution .chart {
    max-width--: 740px;
    min-width: 740px;
    width: 100%;
}

.score-distribution .output {
    display: flex;
    width: 280px;
    flex-direction: column;
    justify-content: space-evenly;
    border-left: 1px solid #eee;
    margin-left: 20px;
}

.score-distribution .footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-weight: bold;
}

.hseparator {
    border-bottom: 1px solid #eee;
    margin: 20px;
}

.template-similarity {
    display: flex;
    flex-direction: row;
    height: 500px;
    margin-bottom: 15px;
}

.heatmap-section {
    display: flex;
    flex-direction: column;
    flex: 0.5;
}

.heatmap-section div {
    width: 100%;
    height: 100%;
}

.heatmap-section h4 {
    margin: 0;
}

.heatmap-section small {
    height: 50px;
}

.trends-selector {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0px;
    margin-bottom: 0px;
}
.trends-selector li {
    list-style: none;
    margin: 0 5px;
    font-size: 12px;
    color: #999;
}
.trends-selector-a {
    text-decoration: none;
    cursor: pointer;
}
a.trends-selector-a:hover {
    color: #333;
}
.trends-selector li.active {
    color: #5c81ff;
}
li.option-separator {
    color: #eee;
}

.suppression-list-a {
    text-decoration: none;
    cursor: pointer;
    color: #999;
    font-size: 12px;
}

.suppression-list-a:hover {
    color: #333;
}

.targeting-list-a {
    text-decoration: none;
    cursor: pointer;
    color: #999;
    font-size: 12px;
}

.targeting-list-a:hover {
    color: #333;
    text-decoration: underline;
}

span.variation-item-head {
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

small.hint {
    display: block;
    margin-top: -15px;
    margin-bottom: 15px;
    margin-right: 250px;
}

.m-b-20 {
    margin-bottom: 20px;
}
