@media screen and (max-width: 650px) {
    .agarcia-site .mdl-layout__header-row  {
	display: none;
    }
}

.agarcia-site .mdl-layout__header .mdl-layout-title a {
    color: white;
    text-decoration: none;
}

.agarcia-site .mdl-layout__drawer {
    width: 280px;
    -webkit-transform: translateX(-290px);
    -ms-transform: translateX(-290px);
    transform: translateX(-290px);
}

.agarcia-site .mdl-layout__drawer.is-visible {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.agarcia-site .mdl-layout__drawer .mdl-layout-title a {
    color: #757575;
    text-decoration: none;
}

.agarcia-site .mdl-mini-footer {
    flex-shrink: 0;
}

.agarcia-site .mdl-mini-footer a {
    color: white;
}

.agarcia-site .mdl-mini-footer__left-section {
    margin-top: auto;
    margin-bottom: auto;
}

.agarcia-site .mdl-navigation__link {
    position: relative;
    font-size: medium;
}

.agarcia-site .mdl-layout__header .mdl-navigation .is-active::after {
    content: "";
    background-color: white;
    height: 4px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.agarcia-site .mdl-mini-footer {
    padding: 8px;
}

.agarcia-site .mdl-mini-footer__right-section i {
    padding: 2px;
    line-height: 42px;
}

.agarcia-photo {
    text-align: center;
}

.agarcia-site a {
    text-decoration: none;
}

.agarcia-selfintro p {
    font-size: large;
}

.csl-entry {
    margin: 1em 0 0 1em;
}

.csl-paper-conference .csl-left-margin::before {
    content: "conference";
    background: red;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-article-journal .csl-left-margin::before {
    content: "journal";
    background: green;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-chapter .csl-left-margin::before {
    content: "book chapter";
    background: blue;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-thesis .csl-left-margin::before {
    content: "thesis";
    background: black;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-preprint .csl-left-margin::before {
    content: "preprint";
    background: cadetblue;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-speech .csl-left-margin::before {
    content: "presentation";
    background: orange;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-article-magazine .csl-left-margin::before {
    content: "magazine";
    background: purple;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-book .csl-left-margin::before {
    content: "book";
    background: brown;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.csl-webpage .csl-left-margin::before {
    content: "web page";
    background: gray;

    color: white;
    text-shadow: 1px 1px 2px black;
    margin-right: .5em;
    border-radius: 5px;
    display: inline-block;
    width: 7em;
    font-variant: small-caps;
    text-align: center;
    line-height: .9em;
    padding-bottom: .2em;
}

.agarcia-year-range {
    width: 80%;
    margin: auto;
}

.agarcia-year-range__slider {
    height: .2em;
    margin: 1em 0;
}

.agarcia-year-range__slider .ui-slider-handle {
    top: -.6em;
}

.agarcia-year-range__slider .ui-slider-range {
    background: rgb(96,125,139);
}

.agarcia-year-range__range {
    text-align: center;
}

.agarcia-card-container {
    padding-top: 12px;
    margin: auto;
}

.agarcia-square-card.mdl-card {
    width: 320px;
    height: 235px;
    margin: 0 6px 6px 0;
    display: inline-block;
}

@media screen and (max-width: 659px) {
    .agarcia-card-container {
	width: 326px;
    }
}

@media screen and (min-width: 660px) and (max-width: 999px) {
    .agarcia-card-container {
	width: 660px;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1329px) {
    .agarcia-card-container {
	width: 1000px;
    }
}

@media screen and (min-width: 1330px) {
    .agarcia-card-container {
	width: 1330px;
    }
}

.agarcia-square-card > .mdl-card__title {
    color: #fff;
    background: bottom right 15% no-repeat #46B6AC;
}

.agarcia-square-card > .mdl-card__supporting-text {
    height: 90px;
}

@media screen and (min-width: 650px) {
    .agarcia-post-image--right-float {
	float:right;
	margin-left:2em;
	margin-bottom:2em;
    }
}
