/** STYLES TO ADD TO THINGS **/
.sr-only {
    position: absolute;
    right: 100000em;
}

ol.no-padding, ul.no-padding {
	padding: 0px;
}

form.bolded-labels label {
	font-weight: bold;
}

.page-title {
	margin: 0 8px;
}

.form-item {
    margin-top: 8px;
    margin-bottom: 8px;
}

.form-actions {
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
}

.gutter-horizontal {
    margin-left: 8px;
    margin-right: 8px;
}

	.gutter-horizontal:first-child {
		margin-left: 0;
	}

	.gutter-horizontal:last-child {
		margin-right: 0;
	}

/** APPLYABLE STYLES **/
.mdl-card-row {
    display: flex;
    flex-flow: row wrap;
}

	.mdl-card-row > h1, 
	.mdl-card-row > h2, 
	.mdl-card-row > h3, 
	.mdl-card-row > h4, 
	.mdl-card-row > h5, 
	.mdl-card-row > h6 {
		width: 100%;
	}

.mdl-card {
    box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
    margin: 8px;
	width: calc(100% - 16px);
	box-sizing: border-box;
	margin-bottom: 16px;
	position: relative;
	padding: 8px 0px;
	display: flex;
	flex-direction: column;
    background-color: white;
}

	.mdl-card h1, .mdl-card h2, .mdl-card h3 {
		margin: 0;
		margin-bottom: 16px;
	}
	
	.mdl-card h2, .mdl-card h3 {
		padding-top: 8px;
	}

	.mdl-card p {
		margin: 18px 0px;
	}

	.mdl-card .expanded {
		flex: 1 0 auto;
	}

	.mdl-card > * {
		padding-left: 16px;
		padding-right: 16px;
	}

	.mdl-card .mdl-card-image {
		margin: 0;
		margin-top: -8px;
		padding: 0;
	}
	
		.mdl-card .mdl-card-image img {
			width: 100%;
			height: auto;
		}

	.mdl-card-actions {
		border-top: 1px solid rgba(0,0,0,.1);
		padding-top: 8px;
	}
	

	
@media (max-width: 720px) and (min-width: 480px) {
	.mdl-card-row .mdl-card {
		width: calc(50% - 16px);
	}
}

@media only screen and (min-width: 720px) {
	.mdl-card.vertical-card {
		width: calc(33.3333333333% - 16px);
	}
	
	.mdl-card.full-width {
		width: calc(100% - 16px);
		display: block;
	}

	.mdl-card .mdl-card-image.aside {
		float: left;
		margin: 8px 16px;
	}

	.mdl-card:nth-child(odd) .mdl-card-image.aside {
		float: right;
	}
}
	
.mdl-button, .mdl-text-button a, a.mdl-text-button, .mdl-text-button button, button.mdl-text-button {
    display: inline-block;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    text-transform: uppercase;
    font-weight: 500;
	border-radius: 2px;
	border: none;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
}

.mdl-button {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
	will-change: box-shadow;
}

a.mdl-button, a.mdl-text-button, .mdl-button a, .mdl-text-button a,
input.mdl-button, input.mdl-text-button, .mdl-button input, .mdl-text-button input {
    text-decoration: none;
    line-height: 37px;
    padding: 0 9px;
    display: inline-block;
    font-size: 14px;
}

a.mdl-button:hover, a.mdl-button:focus, 
a.mdl-text-button:hover, a.mdl-text-button:focus, 
.mdl-button a:hover, .mdl-button a:focus, 
.mdl-text-button a:hover, .mdl-text-button a:focus {
	text-decoration: underline;
}

.mdl-button.blue {
    background-color: #332DCD;
    color: white;
}

.mdl-button.blue a {
    color: white;
}

.mdl-button.blue:hover, .mdl-button.blue:focus {
    background-color: #5752D1;
}

.mdl-button.bottom-right {
    float: right;
	margin: 8px;
}

	.bottom-right {
		float: right;
	}

.mdl-text-button a, a.mdl-text-button, .mdl-text-button button, button.mdl-text-button {
	font-size: .9em;
}

.mdl-text-button:hover a, a.mdl-text-button:hover, .mdl-text-button button:hover, button.mdl-text-button:hover, .mdl-text-button:focus {
	background-color: rgba(158,158,158,.2);
}

.mdl-text-button.blue, a.mdl-text-button.blue {
    color: #332DCD;
}

.mdl-full-width-element {
    max-width: none;
    width: calc(100% + 32px);
    margin: -8px -16px 0 -16px;
}

figure.mdl-full-width-element figcaption.aside {
    float: right;
    font-size: .9em;
    margin: .5em 1em 0 0;
    font-style: italic;
}

/* Home page announcement styles */
.fakeHeading {
    font-size: 1.2em;
    font-weight: 400;
}

.homepage-articles .article-header {
    margin-bottom: .2em;
}

.author-info {
    font-size: .85em;
    text-align: right;
    margin-bottom: .5em;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: .5em;
    padding-top: .5em;
    border-top: 1px solid #ccc;
}


.floatRight {
	float: right;
    margin: 0 0 1em 1em;
}

#calendar .fc-event a {
    color: white;
}

.add-content > div {
    display: flex;
    flex-direction: row;
    margin: .5em 0;
    align-items: center;
    /* flex-wrap: wrap; */
}

	.add-content > div:not(:last-child) {
		border-bottom: 1px solid #ccc;
		padding-bottom: 1em;
	}

	.add-content a.mdl-button {
		flex: 1 0 auto;
		margin-right: 1.5em;
		min-width: 12em;
		text-align: center;
	}
	
.field-tags {
    float: left;
}

    .field-tags, .field-tags ul {
        display: flex;
        flex-wrap: wrap;
        font-size: .85em;
    }

    .field-tags ul {
        margin: 0;
        list-style: none;
        padding: 0;
        margin-left: .5em;
    }

    .field-tags li {
        background: #dcdada;
        padding: .3em .5em;
        border-radius: .7em;
    }
	
.views-exposed-form.mdl-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}