/* Layout */
.charts {
    width: 100%;
}
.wrapper,
.wrapper-flex {
    margin: 0 auto;
    padding: 1px 3em;
}
.wrapper-flex {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.col {
    padding: 2%;
    width: 100%;

    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    -ms-flex-basis: 100%;
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
}
.col-table {
    padding: 0;
    margin: 2%;
    width: 96%;

    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    -ms-flex-basis: 96%;
    -webkit-flex-basis: 96%;
    flex-basis: 96%;
}

/* Header */

.brand {
    float: left;
    height: 80px;
    padding-left: 2%;
}
.brand p {
    margin: 0;
}
.logo {
    font-size: 1.4em;
    line-height: 40px;
    margin: 20px 0 0;
    width: 138px;
    height: 40px;
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-color: #a82180;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    float: left;
    text-decoration: none;
    color: #fff;
    padding: 0;
}

/* Responsive Menu */
.rm-nav {
    letter-spacing: 1px;
}
.rm-toggle.rm-button {
    margin-top: 25px;
}

.rm-css-animate.rm-menu-expanded {
    max-height: none;
    display: block;
}
.rm-container.rm-layout-expanded {
    float: right;
    padding-right: 2%;
}
.rm-nav ul {
    margin-bottom: 0;
}
.rm-nav a,
.rm-top-menu a {
    font-size: .9em;
    text-transform: uppercase;
}
.rm-container.rm-layout-expanded .rm-nav > ul > li > a,
.rm-container.rm-layout-expanded .rm-top-menu > .rm-menu-item > a {
    height: 80px;
    line-height: 80px;
}

.intro h1 {
    margin: 1.5em auto 0;
    text-align: center;
    font-size: 60px;
    font-weight: bold;
    line-height: .5;
    color: #a82180;
}
.charts h3,
.charts h4,
.charts caption {
    font-size: 20px;
}
caption {
    font-weight: bold;
}
.charts h3 {
    font-family: 'Roboto', Arial, Heletica, sans-serif;
    font-weight: bold;
    letter-spacing: 0;
    margin: 0;
}

/* Intro row */
.intro p {
    text-align: center;
    padding: 1em 2em 2em;
    background-color: #a82180;
    color: #fff;
    margin: 0 0 2em;
}
p.tagline {
    padding: 1em 2em;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    font-weight: bold;
}

/* Charts Rows */
.chart,
.data-table {
    width: 100%;
}

/* Tables */
.charts .google-visualization-table-table {
    font-size: 16px;
    width: 100%;
    background-color: #eee;
    border-collapse: collapse;
}
.charts th {
    background-color: #a82180;
    color: #fff;
}
.charts th,
.charts td {
    padding: .2em 1em;
    font-size: .9em;
}
#tableChart th {
    background-color: #3691ff;
}

/* Main content */
.main {
    padding-top: 1px;
}
.main .wrapper {
    max-width: 1060px;
}
.dev-output {
    background-color: rgba(255,255,255,.85);
    color: #000;
    padding: 0 2em 2em;
    margin-bottom: 2em;
}
#about pre {
    overflow: auto;
    max-height: 500px;
    background-color: #eee;
    padding: 0 1em 1em;
}

/* Media queries */
@media screen and ( min-width: 769px ) {
    .col {
        width: 50%;
        -ms-flex-basis: 50%;
        -webkit-flex-basis: 50%;
        flex-basis: 50%;
    }
    .col-table {
        width: 46%;
        -ms-flex-basis: 46%;
        -webkit-flex-basis: 46%;
        flex-basis: 46%;
    }
    .intro h1 {
        font-size: 80px;
    }
}
@media screen and ( min-width: 1401px ) {
    .col {
        width: 33.3333%;
        -ms-flex-basis: 33.3333%;
        -webkit-flex-basis: 33.3333%;
        flex-basis: 33.3333%;
    }
    .col-table {
        width: 29.3333%;
        -ms-flex-basis: 29.3333%;
        -webkit-flex-basis: 29.3333%;
        flex-basis: 29.3333%;
    }
}