body {
  font-family: Roboto, Helvetica, Arial, sans-serif;
}

.nick-resume p {
  line-height: 1.5;
}

.nick-resume .mdl-card {
    min-height: 160px;
}

.sidebar {
    background-color: #2196F3;
}

.resume-content {
    position: relative;
    box-shadow: 0px 0px 80px rgba(0, 0, 0, .75);
    margin: 50px auto;
    padding: 16px 16px 16px 16px;
    background-color: #ededed;
    box-sizing: border-box;
    height: 2200px;
}

.sidebar .profile-section--skills {
  display: none;
}

.profile-header {
    color: white;
    display: block;
    background: -webkit-gradient(linear, 0 70%, 0 bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,.8))) 0 0 no-repeat;
    background-size: 100% 100%;
    position: relative;
    margin-bottom: 12px;
}

.profile-section .mdl-slider, .profile-section .mdl-slider__background-lower {
    color: white;
    background: white;
}

.profile-header img {
    width: 100%;
}

.profile-header .profile-name, .profile-header .profile-subtitle {
    margin-bottom: 0;
    line-height: 1;
    font-weight: bold;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .6),
        -1px 1px 2px rgba(0, 0, 0, .6),
        -1px -1px 1px rgba(0, 0, 0, .3),
        1px -1px 1px rgba(0, 0, 0, .3)
}

.profile-subtitle {
    font-size: .8em;
}

.profile-details {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 24px;
}

.mdl-card {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.mdl-card.mdl-card__icon-title {
    position: relative;
}

.mdl-card--border {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.mdl-card__title i {
    font-size: 1.2em;
}

.mdl-card__employment {
}

.mdl-card.mdl-card__icon-title .mdl-card__title .material-icons {
    position: absolute;
    left: 16px;
}

.mdl-card__icon-title .mdl-card__title {
    padding-left: 3.6em;
}

.mdl-card h3 {
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 0 1em;
    line-height: 1em;
}

.mdl-card__supporting-text p {
    margin-bottom: 0px;
}

.mdl-card h3 small {
    font-size: .85em;
    padding-left: 1em;
}

.mdl-card h4 {
    font-size: .9em;
    font-weight: bold;
    margin: 0 0 .75em;
    line-height: 1em;
}

.mdl-card__interests .mdl-card__supporting-text i {
    font-size: 3em;
}

.profile-section {
    position: relative;
    line-height: 1.5em;
    color: white;
    font-size: 13px;
    padding: 0px 16px 0px 16px;
}

.profile-section-content {
    border-bottom: 2px solid rgba(0, 0, 0, .1);
}

.profile-section p {
    text-align: justify;
}

.profile-section > i {
    position: absolute;
    font-size: 3em;
    opacity: .2;
    top: -6px;
}

.profile-section-content {
    margin-top: 6px;
    margin-bottom: 6px;
}

.profile--item-content {
    font-size: 1.1em;
}

.profile-section--address .profile-section-content {
    padding-bottom: 14px;
}

.profile-section--address address {
    white-space: pre-line;
    line-height: 1.2em;
}

.profile--skill {
    margin-bottom: 8px;
}

.profile-section h2 {
    margin-top: 0;
    font-size: 20px;
    line-height: 20px;
}

.mdl-card__interests .mdl-card__supporting-text {
    display: flex;
}

.interest i {
    margin: 0 auto;
    display: block;
}

.interest {
    flex: 1;
    text-align: center;
}



@media(min-width: 700px) {
    .mdl-card__icon-title .mdl-card__supporting-text {
        padding-left: 3.6em;
        box-sizing: border-box;
        width: 100%;
    }

    .profile-section > i {
        opacity: 1;
        font-size: 2em;
        top: 0;
        left: 16px;
    }

    .profile-section {
        padding: 0px 32px 0px 64px;
    }

    .profile-section-content {
        margin-top: 0px;
        margin-bottom: 6px;
    }

    .profile--item {
        margin-bottom: 0px;
    }

    .sidebar {
        height: 100%;
        position: absolute;
        width: 300px;
        top: 0;
        left: 0;
    }

    .resume-content {
        padding-left: 316px;
        max-width: 860px;
        height: 1160px;
    }

    .sidebar .profile-section--skills {
        display: block;
    }

    .mdl-card__skills {
        display: none;
    }
}
