* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
    background: #10556B;
}

a {
    color: #7f8c8d;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 0 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #2B687F;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: #FFAB80;
    color: white;
    border-radius: 5px;
    font-size: 120%;
}

a.pure-button-primary:hover {
    color: #2B687F;
}

/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */
.menu-wrapper {
    background-color: #10556B;
    /*margin-bottom: 1em;*/
    /*-webkit-font-smoothing: antialiased;*/
    height: 3.8em;
    padding: 8px 0;
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
    /*box-shadow: 0 1px 1px rgba(0,0,0, 0.10);*/
}

.pure-menu li a {
    color: #6FBEF3;
}

.pure-menu li a:hover,
.pure-menu li a:focus {
    color: white;
    background-color: #10556B;
}

.pure-menu-heading {
    color: #FFAB80;
    font-weight: 400;
    font-size: 120%;
}

.menu-wrapper.open {
    height: 12.5em;
}

.menu-can-transform {
    text-align: left;
}

.menu-toggle {
    width: 34px;
    height: 34px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    margin: 7px;
}

.menu-toggle .bar {
    background-color: #777;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.menu-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.menu-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */
.splash-container {
    background: #2B687F;
    padding: 80px 0 70px;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: 0 auto;
    /*position: absolute;*/
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    text-transform: uppercase;
}

.splash p {
    color: #D5E1E5;
    letter-spacing: 0.05em;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    color: white;
    border: 3px solid #FFAB80;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1.3em;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    /*position: absolute;*/
    /*top: 69%;*/
    /*width: 100%;*/
    /*min-height: 12%;*/
    /*z-index: 2;*/
    background: #2B687F;
    margin: 0 auto;
    /*padding-top: 51px;*/
}

/* We want to give the content area some more padding */
.content {
    padding: 1em;
    background: white;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #2B687F;
}
.content-subhead i {
    margin-right: 7px;
}

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #10556B;
    color: #aaa;
}

img.repo-avatar {
    vertical-align: middle;
    width: 25px;
}

.image-productivity,
.image-megaphone {
    display: none;
}

aside.feed {
    background: #2B687F;
    margin: 1em auto;
    padding: 0.3em 1em;
    border-radius: 3px;
    color: #fff;
    display: block;
}

aside.feed a {
    color: #FFAB80;
    text-decoration: none;
}

aside.feed a:hover {
    text-decoration: underline;
}

aside.feed b:after {
    content: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVQ4T53TX0hTURzA8e/d3XbnxLUlpaOkFZW0IQqJkQ8t6GHuodAX3YOi/aGQeqgnrd4iCOrVpIdhovUWIiQsoX9oPkSFPdjIbGrDJ3Pq5pzc/bk3NuWWNkI7T4dzzu9zfr8f5wg/b5a6VUV4jMBBdjZmUWkV5jvs0/8RvH6Vyoww32lXs3PDgWr0ZcdRFn+QCn9EiS9sKx8NMJ++RqHn1oaskpoeIzH6iOTk639CGmAsP4Op2oe+pBxxz2EtKPn1JSvPbqCsRvJCGvDnrljsoKD2EgUnWkA0kFmeI+pvJBOZ/QvRAKmqAaniHOm5ceTxgVyQ3u7C0tKDaCsjsxRmucuLkljahOTvgZJmbcxPfPgeusLdWNufI1r3I38JEHtyMT8g7j2K8YgbyenBcKg2dyj57S3Rvlb0die29iHQiSz7G0mF3mlI3h5IzjqKmroQjGYSI92sBu5S1HAfU00zyclXRHtb8gCCgFRxFjJp5GAAyenF0uyHTIrIg5PoTEXYrr8BJc3CHReqvJJDfjexsh6Lrzu3GOs/jxwcxnplEIOjJpdBNpPijg/orPuI9vhITo1sAaoasDQ93AAuIAdfYHZfpbDuNvLEELGnl9nV1k/2vcQHO1l737cZIFtCZf16CRNDoKroS49hdHrILIaRPw8gubyIJeWkvo+SCn/SgBnAsa2Hv/WQIISyv/EU0LvjHykIIRTafgEZntfprlNojgAAAABJRU5ErkJggg==');
    vertical-align: text-top;
    margin-left: 5px;
}

/*
 * -- DASHBOARD TABLE --
 *
 * From https://codepen.io/geoffyuen/pen/FCBEg?editors=1100
 */
.pure-table-rwd {
    margin: 0 auto;
    min-width: 300px;
}

.pure-table-rwd tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.pure-table-rwd th {
    display: none;
}

.pure-table-rwd td {
    display: block;
}

.pure-table-rwd td:first-child {
    padding-top: .5em;
}

.pure-table-rwd td:last-child {
    padding-bottom: .5em;
}

.pure-table-rwd td:before {
    content: attr(data-th) ": ";
    font-weight: bold;
    width: 3.5em;
    display: inline-block;
}

.pure-table-rwd th, .pure-table-rwd td {
    text-align: left;
    border-left-width: 0;
}

/*
 * Pagination
 *
 * From https://www.bypeople.com/quick-and-simple-pagination-cssdeck/
 */
.pagination {
    text-align: center;
    margin: 20px
}

.pagination a.previous,
.pagination a.next {
    display: none;
}

.pagination a, .pagination strong {
    color: #4A4A4A;
    border: 0;
    outline: 0;
    background: #fff;
    display: inline-block;
    margin-right: 3px;
    padding: 4px 12px;
    text-decoration: none;
    line-height: 1.5em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.pagination a:hover {
    background-color: #10556B;
    color: #fff;
}

.pagination a:active {
    background: rgba(190, 190, 190, 0.75);
}

.pagination strong {
    color: #fff;
    background-color: #FFAB80;
}

/*
 * -- ALERTS --
 *
 * From https://isabelcastillo.com/error-info-messages-css
 */
.alert {
    margin: 10px 0;
    padding: 12px;
    border-radius: .5em;
}
.alert span {
    float: right;
    margin-top: -10px;
    padding-left: 5px;
    cursor: pointer;
    text-transform: uppercase;
}
.alert.info {
    color: #00529B;
    background-color: #BDE5F8;
}
.alert.success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.alert.warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.alert.error {
    color: #D8000C;
    background-color: #FFBABA;
}

/*
 * -- LABELS --
 *
 * From http://www.gumbyframework.com/docs/ui-kit/#!/indicators
 */
.label_info, .label_success, .label_warning, .label_error, .label_prerelease {
    padding: 0 5px;
    font-size: 12px;
    border-radius: 2px;
    height: 20px;
    display: inline-block;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    color: #fff;
}
.label_info {
    background: #4a4d50;
}
.label_success {
    background: #58c026;
}
.label_warning {
    background: #f6b83f;
    color: #644405;
}
.label_error {
    background: #ca3838;
}
.label_prerelease {
    background: #ffab80;
}

/* This is the class used for the footer */
.footer {
    background: #10556B;
    color: #E6E6E6;
    padding: 1em;
}

.footer a {
    color: #FFAB80;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 */
@media (min-width: 48em) {
    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the menu items to the right. */
    .home-menu {
        text-align: left;
    }

    .home-menu ul {
        float: right;
    }

    .pure-menu-item.item-logged-in,
    .pure-menu-item.item-github {
        display: inline-block;
    }

    .menu-can-transform {
        text-align: right;
    }

    .menu-toggle {
        display: none;
    }

    .splash-head {
        font-size: 250%;
    }

    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

    .content {
        padding: 1em 1em 3em;
    }

    .image-productivity,
    .image-megaphone {
        display: initial;
    }

    .pure-table td:before {
        display: none;
    }

    .pure-table tr {
        border-top: 0;
        border-bottom: 0;
    }

    .pure-table th, .pure-table td {
        display: table-cell;
        border-left: 1px solid #cbcbcb;
    }

    .pagination a.previous,
    .pagination a.next {
        display: inline-block;
    }
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }

    .middle-content {
        width: 980px;
        margin: 0 auto;
    }

    .l-box {
        padding: 1em;
    }
}
