/*
@import url(https://fonts.googleapis.com/css?family=Vollkorn);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Merriweather);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display);
@import url(https://fonts.googleapis.com/css?family=PT+Serif);
@import url(https://fonts.googleapis.com/css?family=Castoro);
@import url(https://fonts.googleapis.com/css?family=Raleway:400);
@import url(https://fonts.googleapis.com/css?family=Raleway:500);
@import url(https://fonts.googleapis.com/css?family=Raleway:600);
@import url(https://fonts.googleapis.com/css?family=Raleway:700);
@import url(https://fonts.googleapis.com/css?family=Libre+Baskerville:400);
@import url(https://fonts.googleapis.com/css?family=Libre+Baskerville:700);
@import url(https://fonts.googleapis.com/css?family=Libre+Baskerville:ital@1);
*/
body {
    font-family: "Raleway", "Libre Baskerville", "Times", "Georgia", "Helvetica-Light", "Sans-Serif";
    margin: 50px;
    font-weight: 400;
}

.headshot {
    margin: 24px; 
    margin-top: 10px;
    max-height: 196px;
    max-width: 196px;
}

@media (max-device-width: 512px) {
    body {
        font-family: "Raleway", "Libre Baskerville", "Times", "Georgia", "Helvetica-Light", "Sans-Serif";
        margin: 10px;
        font-weight: 400;
    }
    .headshot {
        margin: 24px; 
        margin-left: auto;
        max-height: 99%;
        max-width: 99%;
    }
}

@media (max-device-width: 512px) and (orientation:landscape) {
    .headshot {
        margin: 24px; 
        margin-top: 10px;
        max-height: 200px;
        max-width: 200px;
    }
}

strong {
    font-weight: 600;
}

nav ul,
footer ul {
    font-family: "Raleway", "Vollkorn", "Helvetica", "Arial", "Sans-Serif";
    padding: 0px;
    list-style: none;
    font-weight: bold;
}
a {
    text-decoration: none;
    color: #990000;
}

a:hover {
    border-bottom: 1px dotted black;
    text-decoration: none;
    color: #990000;
}

.audio:hover {
    border-bottom: 1px dotted black;
    text-decoration: none;
    cursor: pointer;
}

.btn-default {
    text-decoration: none;
    background: white;
}

.btn.outline {
    background: none;
    padding: 5px 15px;
    border-radius: 24px;
}

.topnav {
    background-color: #333;
    overflow: hidden;
}

.header {
    display: inline;
    list-style-type: none;
}

.horizlist {
    /*    padding: 5px; */
    font-family: "Raleway", "Vollkorn", "Helvetica", "Arial", "Sans-Serif";
}

.horizlist li {
    float: left;
    /*    padding: 10px; */
    padding-bottom: 15px;
    border-radius: 3px;
}

.horizlist li a:hover {
    border-top: 3px solid #ff6666;
    padding-top: 5px;
    background: white;
    text-decoration: none;
}

.image:hover {
    -webkit-filter: brightness(70%);
}
.social-icon {
    width: 5%;
    height: 5%;
}

.social-icon:hover {
    text-decoration: none;
    opacity: 0.7;
}

.social-set a:hover {
    text-decoration: none;
    background: transparent;
}

nav ul li,
footer ul li {
    display: inline;
    margin-right: 20px;
}

.equation {
    padding-bottom: 1rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 1.5em;
}

h1 {
    font-size: 1.65em;
    font-family: "Raleway", "Arial", "Sans-Serif";
    font-weight: 700;
}

h2 {
    font-size: 1.35em;
    font-family: "Raleway", "Helvetica", "Arial", "Sans-Serif";
    font-weight: 600;
}

h3 {
    font-size: 1.25em;
    font-family: "Raleway", "Helvetica", "Arial", "Sans-Serif";
    font-weight: 500;
}

p {
    font-size: 1.2em;
    line-height: 1.45em;
    color: #333;
}
footer {
    font-size: 0.9em;
}

ul.posts {
    margin: 20px auto 40px;
    font-size: 1.5em;
}

ul.posts li {
    list-style: none;
}

.padded-multiline {
    line-height: 1.3;
    padding: 2px 0;
    border-left: 20px solid #c0c;
    width: 400px;
    margin: 20px auto;
}

.btn-custom {
    color: #fff;
    background-color: #990000;
    border-color: #2e6da4;
}
.btn-custom:focus,
.btn-custom.focus {
    color: #fff;
    background-color: #61011c;
    border-color: #401212;
}
.btn-custom:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}
.btn-custom:active,
.btn-custom.active,
.open > .dropdown-toggle.btn-custom {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}
.btn-custom:active:hover,
.btn-custom.active:hover,
.open > .dropdown-toggle.btn-custom:hover,
.btn-custom:active:focus,
.btn-custom.active:focus,
.open > .dropdown-toggle.btn-custom:focus,
.btn-custom:active.focus,
.btn-custom.active.focus,
.open > .dropdown-toggle.btn-custom.focus {
    color: #fff;
    background-color: #204d74;
    border-color: #122b40;
}
.btn-custom:active,
.btn-custom.active,
.open > .dropdown-toggle.btn-custom {
    background-image: none;
}
.btn-custom.disabled:hover,
.btn-custom[disabled]:hover,
fieldset[disabled] .btn-custom:hover,
.btn-custom.disabled:focus,
.btn-custom[disabled]:focus,
fieldset[disabled] .btn-custom:focus,
.btn-custom.disabled.focus,
.btn-custom[disabled].focus,
fieldset[disabled] .btn-custom.focus {
    background-color: #337ab7;
    border-color: #2e6da4;
}
.btn-custom .badge {
    color: #337ab7;
    background-color: #fff;
}

/*substack feed overrides*/
.substack-feed-widget .text-lg {
    font-size: 1.2em !important;
    font-family: "Raleway" !important;
    font-weight: 500;
    color: #990000 !important;
}

.substack-feed-widget p {
    font-family: "Raleway" !important;
    font-size: 1em !important;
}

.substack-feed-widget .rounded {
    border-radius: 0.5rem !important;
    border: 1px solid !important;
}

/*timeline*/
ul.timeline {
    list-style-type: none;
    position: relative;
    font-size: 0.8em;
}
ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}
ul.timeline > li:before {
    content: ' ';
    background: #000000;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 2px solid white;
    left: 25px;
    width: 10px;
    height: 10px;
    z-index: 400;
}

