* {
    margin: 0;
    padding: 0;
}
body {
    width: 600;
    margin:13px auto 40px auto;
    background-color: white;
    font-family: Lucida Sans, Arial, Helvetica, sans-serif;
    color: #505050;
    -webkit-text-size-adjust: 100%;
}
p {
    font-size: 12px;
    line-height: 14px;
    text-align: justify;
    margin: 12px 0;
}
p.no-justify {
    text-align: left
}
p.small {
    font-size: 10px;
    line-height: 12px;
}
ul {
    font-size: 12px;
    line-height: 14px;
    list-style-type: disc;
}
li {
    clear: both;
}
h1 {
    font-size: 20px;
    line-height: 22px;
    font-weight: bold;
}
h2 {
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    margin: 12px 0;
}
h3 {
    display: inline;
    font-size: 12px;
    line-height: 14px;
    font-weight: bold;
}
a {
    text-decoration: none;
    color: #5050ff;
}
img {
    border: none;
}

/* header */
#profile-picture {
    margin:0px 6px 0px 0px;
    width: 220;
    float: left;
}
#navigation {
    clear: both;
    font-size: 14px;
    list-style-type: none;
    text-align: center;
    padding: 22px;
}
#navigation li {
    display: inline-block
}
#navigation .separator::before {
    content: "-";
}

/* footer */
#footer {
    padding: 12px 0;
}
#footer p {
    text-align: center;
}

/* sections */
#sections {
    list-style-type: none;
}

/* publications */
.publications {
    margin: 0 0 0 40px;
}
.publication {
    /*overflow: hidden;*/
    margin: 0 0 12px 0;
    text-align: justify;
}
.note {
    list-style-type: none;
    margin: 0px 0px 12px -14px;
}

/* projects */
.projects {
    list-style-type: none;
    margin: 0 0 0 28px;
}
.project {
    clear: both;
    overflow: hidden;
    margin: 0 0 35px 0;
}
.project-thumb {
    overflow: hidden;
    position: relative; 
    float: left;
    display: inline-block;
    margin: 0 6px 0 0;
    width: 250;
}
.project-thumb a {
    position: absolute;
    left:0px;
    top:0px;
    width: 100%;
    height: 100%;
    z-index: 10;
}
.project-thumb .popup-youtube {
    opacity: 0.8;
    background: url("images/play_button_overlay.png");
    background-repeat: no-repeat;
    background-position: center center;
}
.project p {
    margin-bottom: 0px;
}

/* Teaching */
.teaching {
    margin: 0 0 0 40px;
    padding: 11px 0;
}

/* Employment */
.employment {
    margin: 0 0 0 40px;
}
.employment li {
    text-align: justify;
}

/* Fade transition for magnifo popup */
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out; 
    -moz-transition: all 0.15s ease-out; 
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out; 
    -moz-transition: all 0.15s ease-out; 
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}
