body {
    background: #fff;
    color: #313447;
    font-size: 1.25em;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    /* Set your content font stack here: */
    font-family: 'Open Sans', sans-serif;
}

/* Typo */
a {
    text-decoration: underline;
    color: #0078e7;
}

h1 {
    font-size: 2em;
    margin: 1.8em 0 1.2em 0;
    font-weight: lighter;
}

h2 {
    font-size: 1.6em;
    font-weight: lighter;
    margin-top: 1.7em;
}

h3 {
    font-size: 1em;
    font-weight: bold;
}

p {
    margin: 0 0 1.4em 0;
    font-size: 1em;
    line-height: 1.5em;
}

li {
    line-height: 1.5em;
}

p + ul {
    margin-top: -0.5em;
}

ul.posts {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

table {
    margin-bottom: 2.6em;
    font-size: 0.88em;
}

pre {
    padding: 1.4em;
    margin: 1.4em 0;
    background-color: #E6E6E6;
}

code {
    padding: 0.1em 0.2em;
    background-color: #E6E6E6;
}

pre code {
    padding: 0;
}

/* Container */
.container {
    /*max-width:1170px;*/
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.pure-menu {
    /*border-bottom: 1px solid #E3E0D8;*/
    padding-top: 2.7em;
    padding-bottom: 2.7em;
}

.pure-menu-heading {
    font-size: 1.2em;
    padding: 0;
    font-weight: bold;
    line-height:40px;
}

.pure-menu-heading img {
    display:inline-block;
    float:left;
    width:40px;
    height:40px;
    padding-right:0.5em;
}

.header {
    background-color: #6082bb;
}

.header .container {
}

.header .inner-container {
    padding-top: 35px;
    padding-bottom: 23px;
}

.header .pure-menu-list {
    float: right;
}

.header .pure-menu li {
    font-size: 0.9em;
}

.header .pure-menu a {
}

.header .pure-menu-selected a {
    background-color: #eee;
}

body.default .header {
    /*background-color:#757994;*/
}

.pure-form fieldset {
    margin-bottom: 1em;
}

.pure-form legend {
    margin-bottom: 0.75em;
}

.buttons {
    margin-top: 0.25em;
}

/* Footer */
.footer {
    background-color: #313447;
    margin-top: 75px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5em;
    padding-bottom: 3em;
}

.footer a {
    color: #ffffff;
}

.footer a:hover {
    color: #cccccc;
}

.footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer li {
    line-height: 1.6em;
}

.footer h3 {
    color: #ffffff;
}

.footer p {
    padding-right: 5em;
}

.footer hr {
    margin-top: 5em;
    margin-bottom: 3em;
    background-color: #999;
    border: none;
    height: 1px;
}

/* Content */
.content {
    padding-right: 55px;
}

.content li {
    display: list-item;
    line-height: 1.8;
    padding: 0;
}

.content-container {
    margin-top: 75px;
}

/* Pure */
.pure-menu-active > .pure-menu-link, .pure-menu-link:hover, .pure-menu-link:focus {
    background: none;
}

.pure-menu-link {
    color: #ffffff;
}

a.pure-button-primary {
    background: #313447;
}

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

.button-xsmall {
    font-size: 70%;
}

.button-small {
    font-size: 85%;
}

.button-large {
    font-size: 110%;
}

.button-xlarge {
    font-size: 125%;
}

span.e {
    color: #fff;
    background: #bb4444;
    padding: 0px 10px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    display: inline-block;
    margin: 0;
}

.demo {
    margin-top: 4em;
}

.demo.first {
    margin-top: 2em;
}

.demo img {
    border: 1px solid #E3E0D8;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 560px;
}

.text-right {
    text-align: right;
}

.menu-link {
    position: absolute;
    display: block; /* show this only on small screens */
    top: 9px;
    right: 0; /* "#menu width" */
    background: #fff;
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 10;
    width: 2em;
    height: auto;
    padding: 2.1em 1.6em;
}

.menu-link:hover,
.menu-link:focus {
    background: #fff;
}

.menu-link span {
    position: relative;
    display: block;
}

.menu-link span,
.menu-link span:before,
.menu-link span:after {
    background-color: #bbb;
    width: 100%;
    height: 0.3em;
}

.menu-link span:before,
.menu-link span:after {
    position: absolute;
    margin-top: -0.6em;
    content: " ";
}

.menu-link span:after {
    margin-top: 0.6em;
}

/* Mobile Menu */
#mobile-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#mobile-menu a {
    display: block;
    color: white;
    background-color: #2d3138;
    padding: 0.5em 1em;
    border-bottom: 1px solid #ccc;
    text-align: center;
    text-transform: uppercase;
}

#mobile-menu a:hover {
    background-color: #4d5158;
}

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

.slider {
    background: #ff6f69;
    background: #e86e54;
    background: #4dbc84;
    background: #757994;
    background: #e8548f;
    padding: 3em 0 3em 0;
    margin-top: -1px;
    margin-bottom: 3em;
}

.slider h2 {
    color: white;
    text-align: center;
    margin: 1em 0 0 0;
}

.slider p {
    font-size: 1.2em;
    color: white;
    -webkit-font-smoothing: antialiased;
    margin: 1em auto;
    text-align: center;
}

.errors {
    color: #a94442;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    padding: 24px;
    margin: 1em 0;
}

.errors ul, .errors p {
    margin: 0;
}

.pure-form legend {
    font-size: 1em;
}

/* Media Queries */
@media (min-width: 980px) {
}

@media (min-width: 768px) and (max-width: 979px) {
    body {
        font-size: 1.1em;
    }

    .content {
        padding-right: 25px;
    }

    .sidebar {
        padding-left: 25px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 1.1em;
    }

    .content {
        padding-right: 0;
    }

    .sidebar {
        border-left: none;
        padding-left: 0;
        padding-top: 60px;
        display: none;
    }

    .content-container {
        margin-top: 2em;
    }

    .container {
        padding: 0 15px;
    }

    .header .inner-container {
        padding-top: 25px;
        padding-bottom: 23px;
    }

    .slider {
        padding-top: 1em;
        padding-bottom: 1em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 1em !important;
    }

    .container {
        padding: 0 10px;
    }

    pre {
        padding: 10px;
    }

    .slider {
        padding-top: 1em;
        padding-bottom: 1em;
    }
}

@media (min-width: 980px) {
    .pure-visible-phone {
        display: none;
    }

    .pure-visible-tablet {
        display: none;
    }

    .pure-hidden-desktop {
        display: none;
    }
}

@media (max-width: 480px) {
    .pure-g-r > .pure-u,
    .pure-g-r > [class *= "pure-u-"] {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .pure-g-r > .pure-u,
    .pure-g-r > [class *= "pure-u-"] {
        width: 100%;
    }

    .pure-hidden-phone {
        display: none;
    }

    .pure-visible-desktop {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .pure-hidden-tablet {
        display: none;
    }

    .pure-visible-desktop {
        display: none;
    }
}
