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

a {
    text-decoration: none;
    color: rgb(61, 146, 201);
}
a:hover,
a:focus {
    text-decoration: underline;
}

/* LAYOUT CSS */
.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

#layout {
    padding: 0;
}

.header {
    text-align: center;
    top: auto;
    margin: 3em auto;
}

.sidebar {
    background: rgb(61, 79, 93);
    color: #fff;
}

.brand-title,
.brand-tagline {
    margin: 0;
}
.brand-title {
    text-transform: uppercase;
}
.brand-tagline {
    font-weight: 300;
    color: rgb(176, 202, 219);
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item a, .nav-item button {
    background: transparent;
    border: 2px solid rgb(176, 202, 219);
    color: #fff;
    margin-top: 1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 85%;
	white-space:normal; 
	width:95%;
}
.nav-item a:hover,
.nav-item a:focus,
.nav-item button:hover,
.nav-item button:focus {
    border: 2px solid rgb(61, 146, 201);
    text-decoration: none;
}

#login-email-side, #login-pass-side {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
}

.pure-button,
.button-secondary,
.button-new,
.button-success,
.button-warning, 
.button-error {
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.button-secondary {
    background: rgb(66, 184, 221); /* this is a light blue */
}

.button-new, .button-success {
    background: rgb(28, 184, 65); /* this is a green */
}

.button-warning {
    background: rgb(223, 117, 20); /* this is an orange */
}

.button-error {
    background: rgb(202, 60, 60); /* this is a maroon */
}

@media screen and (min-width: 48em) {
	#login-email-side, #login-pass-side {
		margin-left: inherit;
		margin-right: inherit;
	}
	
	.nav-list button {
		text-align: left;
	}
}

.content-subhead {
    text-transform: uppercase;
    color: #aaa;
    border-bottom: 1px solid #eee;
    padding: 0.4em 0;
    font-size: 80%;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.content {
    padding: 2em 1em 0;
}

.post {
    padding-bottom: 1em;
}
.post-title {
    color: #222;
    margin-bottom: 0.2em;
}
.post-avatar {
	max-width: 150px;
    float: right;
    margin-left: 1em;
}
.post-description {
    font-family: Georgia, "Cambria", serif;
    color: #444;
    line-height: 1.8em;
}
.post-meta {
    color: #999;
    font-size: 90%;
    margin: 0;
}

.post-category {
    margin: 0 0.1em;
    padding: 0.3em 1em;
    color: #fff;
    background: #999;
    font-size: 80%;
}

.post-category-wag, .post-category-ccp  {
        background: #5aba59;
}
.post-category-interclub {
        background: #4d85d1;
}
.post-category-xcel {
	background: #668f61;
}
.post-category-hs, .post-category-highschool {
	background: #edc95e;
}
.post-category-mag {
        background: #8156a7;
}
.post-category-tg, .post-category-hp, .post-category-aspire {
        background: #df2d4f;
}

.post-images {
    margin: 1em 0;
}
.post-image-meta {
    margin-top: -3.5em;
    margin-left: 1em;
    color: #fff;
    text-shadow: 0 1px 1px #333;
}

.footer {
    text-align: center;
    padding: 1em 0;
    overflow: auto;
}
.footer a {
    color: #ccc;
    font-size: 80%;
}
.footer .pure-menu a:hover,
.footer .pure-menu a:focus {
    background: none;
}

.footer ul {
    padding-left: 0;
}

.centre-form {
	text-align: center;
}

.centre-form input[type=text], .centre-form input[type=email], .centre-form input[type=password] {
	margin-left: auto;
	margin-right: auto;
}

.dataTables_length, .dataTables_filter, table.dataTable {
    margin-bottom: 1em;
}

@keyframes throbbing  {
	0%   { opacity: 1; }
	100% { opacity: 0.4; }
}

img.wordmark {
    width: 200px;
    margin-bottom: 0.5em;
    display: inline;
}

.throb {
	-webkit-animation: throbbing .5s alternate infinite;
	animation: throbbing .5s alternate infinite;
}

@media (min-width: 48em) {
    .content {
        padding: 2em 3em 0;
        margin-left: 25%;
    }

    .header {
        margin: 40% 2em 0;
        text-align: left;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
    }
	
	.header a.pure-button {
		text-align: left;
	}
}

@media print {

    .sidebar, .pure-button {
        display: none;
    }
}
