﻿@charset "utf-8";

html {
    background: #87CFF4 url('../graphics/background.png') no-repeat center top;
}

html, input, select, option {
    font-family: Lato, sans-serif;
    font-weight: 300;
}

html, body, .wrap {
    margin: 0;
    padding: 0;
    height: 100%;
}

    body > .wrap {
        height: auto;
        min-height: 100%;
    }

.wrap {
    position: relative;
}

.main {
    width: 800px;
    margin: 0 auto;
    padding-bottom: 100px;
    font-size: 120%;
}

a:link {
    color: #000;
}

a:visited {
    color: #000;
}

a:hover {
    color: #000;
}

a:active {
    color: #000;
}

.title {
    margin: 1.5em 0 0 0;
    font-size: 25px;
    font-weight: 900;
}

.subtitle {
    margin: 0.2em 0 1.5em 0;
    font-size: 22px;
    font-weight: 300;
    color: #666666;
}

.sourcetext {
    line-height: 2;
    font-size: 10px;
    text-align: center;
}

.boldtext {
    font-weight: 900;
}

.footer {
    position: absolute;
    bottom: 0;
    background: url('../graphics/footerDropshadow.png') repeat-x top left;
    width: 100%;
    text-align: center;
    font-size: 90%;
    color: #666;
    padding-top: 3px;
}

    .footer div {
        line-height: 1.5;
        padding: 10px 0;
        background-color: #fff;
    }


    .footer a:link {
        color: #0e76bc;
        text-decoration: none;
    }

    .footer a:visited {
        color: #0e76bc;
        text-decoration: none;
    }

    .footer a:hover {
        text-decoration: underline;
        color: #0e76bc;
    }

    .footer a:active {
        color: #0e76bc;
        text-decoration: none;
    }


.header {
    background: #fff;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
}

.nav-logo {
    display: block;
}

ul.header-nav {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: 800px;
}

ul.header-nav:after {
  content: "";
  display: table;
  clear: both;
}

ul.header-nav li {
    border-right: 1px solid #eee;
    float: left;
    height: 40px;
    margin: 4px 0;
    padding: 0;
}

ul.header-nav li:last-child {
    border-right: none;
}

ul.header-nav li a {
    color: #0e76bc;
    display: block;
    font-size: 20px;
    font-weight: 300;
    line-height: 34px;
    padding: 0 16px;
    text-decoration: none;
}

ul.header-nav li a b {
    font-weight: 400;
}

.header-account {
    color: #666;
    float: right;
}

.header-account-avatar {
    float: right;
    margin: 6px;
    width: 36px;
    height: 36px;
    border-radius: 18px;
}

.header-account-email {
    margin: 6px 54px 0 0;
    display: block;
    font-size: 14px;
    text-align: right;
}

.header-account a
{
    color: #666;
    text-decoration: none;
}

.header-account-sign-out {
    font-size: 12px;
}

.header-account-sign-in {
    margin-right: 10px;
    display: block;
    font-size: 14px;
    line-height: 40px;
    text-align: right;
    text-decoration: none;
}

.creators-section {
    margin: 2em 0;
    padding: 1em 0;
    border-top: 1px solid #7FC1E4;
    border-bottom: 1px solid #7FC1E4;
}

a.add-channel-button,
a.register-button {
    background: #357BB0;
    color: #fff;
    display: block;
    margin: 10px auto;
    width: 500px;
    font-size: 30px;
    line-height: 60px;
    text-align:center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
}

a.add-channel-button:hover,
a.register-button:hover {
    background: #0C5790;
}


a.google-sign-in-button {
    background: #dd4e41;
    color: #fff;
    display: block;
    margin: 30px auto;
    width: 402px;
    font-size: 30px;
    line-height: 50px;
    text-align:center;
    text-decoration: none;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.25);
}

a.google-sign-in-button:hover {
    background: #C23326;
}

.channel-list {
    border-collapse: collapse;
    width: 100%;
}

.channel-list tr {
}

.channel-list td {
    padding: 1em;
    background: #fff;
}

.channel-list td.channel-list-spacer {
    background: none;
    padding: 0;
}

.channel-list-thumb {
    text-align: center;
}

.channel-list-thumb img {
    width: 60px;
}

.channel-list-title {
    width: 60%;
    font-size: 24px;
    font-weight: 400;
}

.channel-list-stats {
    font-size: 16px;
    font-weight: 300;
}

.channel-list-button {
    text-align: center;
}

.analysis {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
}

.analysis-body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
}

.analysis-left {
    -webkit-flex-basis: 500px;
        -ms-flex-preferred-size: 500px;
            flex-basis: 500px;
    -webkit-box-flex: 2;
    -webkit-flex-grow: 2;
        -ms-flex-positive: 2;
            flex-grow: 2;
}

.analysis-right {
    -webkit-flex-basis: 300px;
        -ms-flex-preferred-size: 300px;
            flex-basis: 300px;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.analysis-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
}

.analysis-row > * {
    margin: 0 12px 12px 0;
}

.analysis .yt-icon {
    background: #cc181e;
    border-radius: 10px;
    color: #fff;
    height: 60px;
    width: 60px;
    font-size: 50px;
    line-height: 60px;
    text-align: center;
}

.analysis .channel-icon {
    height: 60px;
    width: 60px;
}

.analysis .channel-icon > img {
    height: 100%;
    width: 100%;
}

.analysis .channel-title {
    font-size: 30px;
    font-weight: 400;
}

.analysis .channel-url {
    font-size: 16px;
    font-weight: 300;
}

.analysis .channel-url a {
    color: #555;
    text-decoration: none;
}

.analysis .channel-likes,
.analysis .channel-views {
    background: #eee;
    color: #555;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-basis: 250px;
        -ms-flex-preferred-size: 250px;
            flex-basis: 250px;
}

.analysis .channel-comments,
.analysis .channel-subscribers {
    background: #555;
    color: #fafafa;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-basis: 250px;
        -ms-flex-preferred-size: 250px;
            flex-basis: 250px;
}

.analysis .channel-retention {
    background: #F0CB2B;
    color: #555;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 2;
    -webkit-flex-grow: 2;
        -ms-flex-positive: 2;
            flex-grow: 2;
}

.analysis .channel-highest-views {
    background: #2F87C8;
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.analysis .channel-highest-views table {
    width: 100%;
}
.analysis .channel-highest-views td {
    padding: 0 12px;
}

.analysis .channel-highest-views td.stat {
    text-align: right;
}

.analysis .channel-videos {
    background: #fff;
    color: #555;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}
.analysis .channel-videos table {
    border-collapse: collapse;
    width: 100%;
}

.analysis .channel-videos th,
.analysis .channel-videos td {
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
}

.analysis .channel-videos th {
    padding: 12px;
    text-align: left;
}

.analysis .channel-videos .video-title {
    font-weight: 400;
    padding-top: 6px;
}

.analysis .channel-videos .video-title a {
    text-decoration: none;
}

.analysis .channel-videos .video-detail {
    padding-bottom: 6px;
}

.analysis .channel-videos tbody:nth-child(even) tr {
    background: #eee;
}

.analysis .channel-share {
    background: #428600;
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.analysis .channel-charts {
    background: #fff;
    color: #555;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding: 6px;
}

.analysis .channel-charts .bar-chart {
    margin: 8px 6px;
    position: relative;
}

.analysis .channel-charts .bar-chart-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
}

.analysis .channel-charts .bars {
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
}

.analysis .channel-charts .bars:after {
    content: "";
    display: table;
    clear: both;
}

.analysis .channel-charts .bar {
    background: #ccc;
    color: #fff;
    height: 40px;
    float: left;
    overflow: hidden;
    white-space: nowrap;
}

.analysis .channel-charts .bar-0 {
    background: #E48445;
}
.analysis .channel-charts .bar-1 {
    background: #2F87C8;
}
.analysis .channel-charts .bar-2 {
    background: #F0CB2B;
}
.analysis .channel-charts .bar-3 {
    background: #A33734;
}
.analysis .channel-charts .bar-4 {
    background: #6AB7F0;
}
.analysis .channel-charts .bar-5 {
    background: #428600;
}

.analysis .channel-charts .bar-label {
    margin: 2px 4px;
    line-height: 36px;
    font-size: 18px;
    font-weight: 400;
}

.analysis .icon {
    font-size: 36px;
    margin: 8px;
}

.analysis .label {
    font-size: 14px;
    font-weight: 300;
    margin: 0 6px 6px 0;
}

.analysis .stat {
    font-size: 24px;
    font-weight: bold;
    margin: 6px 6px 0 0;
}

.analysis .chart-data {
    background: #fff;
    border: 1px solid #555;
    display: none;
    position: absolute;
    z-index: 100;
}
.analysis .bar-chart:hover .chart-data {
    display: block;
}

.analysis .chart-data .legend {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: text-top;
}

.analysis .chart-data td {
    padding: 3px;
}

.analysis .chart-data .stat {
    font-size: 14px;
    text-align: right;
}

.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}