/*************************************************
 *  Hugo Academic: an academic theme for Hugo.
 *  https://github.com/gcushen/hugo-academic
 **************************************************/

/*************************************************
 *  Fonts
 **************************************************/

@import url(//fonts.googleapis.com/css?family=Lato:400,700|Merriweather|Roboto+Mono);

/*************************************************
 *  Core
 **************************************************/

html {
    box-sizing: border-box;
}

*, *::after, *::before {
    box-sizing: inherit;
}

.row:after, .row:before {
    content: " ";
    display: table;
}

html, body, p {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    line-height: 1.65;
    min-height: 100%;
}

body {
    /* Offset body content by navbar height. */
    margin-top: 71px;
    padding-top: 0;
}
@media screen and (max-width: 768px) {
    body {
        /* Offset body content by navbar height. */
        margin-top: 51px;
        padding-top: 0;
    }
}

h1, h2, h3, h4, h5, h6, .navbar-default {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.25;
    text-rendering: optimizeLegibility;
}

h1 {
    margin-bottom: 21px;
    font-size: 48px;
}

h3 {
    margin-bottom: 11px;
    font-weight: 700;
}

a, a:visited, h3.post-title a:hover {
    color: #0095eb;
    text-decoration:none;
    transition:color 0.6s ease;
    -webkit-transition:color 0.6s ease;
}

a:hover {
    color: #005181;
}

h3.post-title a {
    color: #151515;
    transition: color 0.6s ease;
    -webkit-transition: color 0.6s ease;
}

img, video {
    height: auto;
    max-width: 100%;
    display: block;
}

pre, code {
    font-family: 'Roboto Mono', 'Courier New', 'Courier', monospace;
}

pre {
    margin: 0 0 1.5rem;
    overflow: auto;
}

.space-below {
    margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
    .space-below {
        margin-bottom: 10px;
    }
}

/*************************************************
 *  Footer
 **************************************************/

footer {
    margin: 4rem 0 0;
    padding: 2rem 0;
    width: 100%;
}

footer p {
    font-size: 0.75rem;
    text-align: center;
}

.site-footer, footer a#back_to_top i {
    color: #899596;
}

/*************************************************
 *  Home Sections
 **************************************************/

.home-section {
    background-color: rgb(255, 255, 255);
    padding: 110px 0 110px 0;
}
@media screen and (max-width: 768px) {
    .home-section {
        padding: 60px 0 60px 0;
    }
}

.home-section:first-of-type {
    padding-top: 0;
}

.home-section:nth-of-type(even) {
    background-color: rgb(247, 247, 247);
}

/*************************************************
 *  Sharing
 **************************************************/

.share-box {
    float: right;
}

ul.share {
    list-style: none;
    text-align: right;
    margin: 0;
    padding: 0;
}

ul.share li {
    display: inline-block;
}

ul.share li .fa {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 37px;
    font-size: 18px;
    text-align: center;
    transition: all 150ms ease-in-out;
    color: #fff;
}

ul.share li a {
    background-color: #b5c6ce;
    display: inline-block;
    border-radius: 50%;
    text-decoration: none !important;
}

ul.share li:hover .fa {
    -moz-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    transform: scale(1.4)
}

/*************************************************
 *  Blog Articles
 **************************************************/

.article-metadata {
    margin-bottom: 20px;
    line-height: 37px; /* Match share bar line height. */
    font-size: 14px;
}

.article-list-item {
    margin-bottom: 40px;
}

.article-list-item:last-child {
    margin-bottom: 0 !important;
}

.article-list-item .article-metadata {
    margin-bottom: 5px;
}

.article-metadata .article-date, .article-metadata .article-tags {
    margin-right: 10px;
    color: #888;
}

.article-style img, .article-style video {
    box-shadow: 0 0 1px #edefed;
    -moz-box-shadow: 0 0 1px #edefed;
    -webkit-box-shadow: 0 0 1px #edefed;
    box-shadow: 1px 1px 0px #edefed,-1px -1px 0px #edefed,1px -1px 0px #edefed,-1px 1px 0px #edefed; */
    -moz-box-shadow: 1px 1px 0px #edefed,-1px -1px 0px #edefed,1px -1px 0px #edefed,-1px 1px 0px #edefed;
    -webkit-box-shadow: 1px 1px 0px #edefed,-1px -1px 0px #edefed,1px -1px 0px #edefed,-1px 1px 0px #edefed;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
}

.article-style figure {
    margin-top: 60px;
    margin-bottom: 60px;
}

.article-style figure img {
    margin-top: 0;
    margin-bottom: 0;
}

#comments {
    padding: 20px;
}

/*************************************************
 *  Publications
 **************************************************/

#pub_list h3 {
    margin-top: 0;
}

.pub-icon {
    color: #03396c;
    font-size: 0.81em;
    padding-top: 6px;
}

.citation_authors {
    font-style: italic;
}

/*************************************************
 *  Projects
 **************************************************/

section#projects.home-section li {
    margin-bottom: 20px;
}

section#projects.home-section li:last-of-type {
    margin-bottom: 0;
}

section#projects.home-section .project-title {
    display: inline-block;
    margin-bottom: 6px;
}

section#projects.home-section .project-summary {
    font-size: 16px;
    margin-bottom: 6px;
}

section#projects.home-section .project-tags {
    font-size: 14px;
    color: #9c9c9c;
}

/*************************************************
 *  Contact
 **************************************************/

#contact li span {
    padding-left: 10px;
}

/*************************************************
 *  Profile
 **************************************************/

#profile {
    text-align: center;
    padding: 30px 10px;
    position: relative;
}

#profile .portrait {
    background-image: url('../img/portrait.jpg');
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
}

#profile .portrait-title h2 {
    font-size: 1.75em;
    font-weight: 300;
    color: #000000;
    margin: 20px 0 10px 0;
}

#profile .portrait-title h3 {
    font-size: 1.13em;
    font-weight: 300;
    color: #AAAAAA;
    margin: 0px 0 10px 0;
}

#profile .social-icon li {
    margin: 30px 5px 5px 5px;
}

.fa-4x {
    font-size: 40px;
}

/*************************************************
 *  Education
 **************************************************/

ul.ul-edu {
    list-style: none;
}

ul.ul-edu li {
    position: relative;
    padding: 0px 15px 4px 3px;
    color: #333333;
}

ul.ul-edu li .description p {
    margin: 0;
}

ul.ul-edu li .description p.course {
    font-size: 1em;
}

ul.ul-edu li .description p.institution {
    font-size: 0.88em;
}

/*************************************************
 *  Button Primary: Color Override
 **************************************************/

.btn-primary {
    border-color: #0095eb;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
    background: #0095eb;
}

/*************************************************
 *  Button Outlines
 **************************************************/

.btn-outline {
    background-color: transparent;
    color: inherit;
    transition: all .5s;
}

.btn-primary.btn-outline {
    /*color: #428bca;*/
    color: #0095eb;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

/*************************************************
 *  Navigation Bar
 **************************************************/

.navbar {
    min-height:60px !important;
}

.navbar-default {
    background: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

nav#navbar-main li {
    font-size: 16px;
}

.navbar-default .navbar-nav li a, .navbar-default .navbar-nav li a:visited {
    white-space: nowrap;
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
    color: #565a5f;
}

.navbar-default .navbar-nav li a:hover {
    color: #0095eb;
}

.navbar-brand, .navbar-nav li a {
    line-height: 60px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-brand {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
    color: #2b2b2b;
}

@media screen and (max-width: 768px) {
    .navbar {
        min-height: 50px !important;
    }
    .navbar-header {
        float: none;
        min-height: inherit;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: normal;
    }
    .collapse.in{
        display:block !important;
    }
}

/*************************************************
 *  Tables
 **************************************************/

table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    font-size: 0.93rem;
}

table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.43;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > th,
table > caption + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > td,
table > thead:first-child > tr:first-child > td {
    border-top: 0;
}

table > tbody + tbody {
    border-top: 2px solid #ddd;
}

table table {
    background-color: #fff;
}


/* Table Striped */
table > tbody > tr:nth-child(odd) > td,
table > tbody > tr:nth-child(odd) > th {
    background-color: #f9f9f9;
}

/* Table Hover */
table > tbody > tr:hover > td,
table > tbody > tr:hover > th {
    background-color: #e5e5e5;
}
