/*@import url(//fonts.googleapis.com/css?family=Exo:400,700|Trocchi|Quicksand:700|Droid+Sans:400,700|Droid+Serif:700|Open+Sans:400,700&subset=latin,latin-ext);
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url(//fontlibrary.org/face/didact-gothic);
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url(fonts/cm/Serif/cmun-serif.css);
@import url(mat-theme/light.2.css);
body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 100%;
}

#header h1 {
    color: var(--md-sys-color-on-primary); /*, #fefefe;*/
    font-size: 220%;
    font-family: 'Noto Serif',serif;
    font-weight: bold;
    margin: 0 1em;
}

a:link, a:visited {
    color: var(--md-sys-color-primary);
}

/*
 * Override the background image
 */
#header {
/*    background: #eee url('../images/cutoff_with_haze.jpg') no-repeat; */
    background: #eee url('../images/snow_evergreen_seamless.jpg') repeat-x;
      /*background: var(--md-sys-color-surface-variant) /*#eee url('../images/stone-background-lg.jpg');*/
}

img#portrait {
    display: block; 
    float: right; 
    margin: 0 1em 1em; 
    border: 1px solid rgb(192, 192, 192); 
    padding: .2em; 
    width: 31.121642969984202211%;
}

#content {
    text-align: left;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

#content a:hover {
    text-decoration: underline;
}

#content p {
/*    text-indent: 2em;*/
    text-align: justify;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5 {
    font-family: 'Noto Serif', serif;
}

#content h2 {
    font-size: 125%;
    /*font-style: italic;*/
    color: var(--md-sys-color-secondary);
    border-bottom: 1px solid black;
    clear: both;
}

#content h3 {
    color: var(--md-sys-color-tertiary);
}

/* Personalized for blog */
.comment .comment-body {
	background-color: rgb(255, 255, 170);
	padding: 10px;
}

.comment .comments-post {
	height: 40px;
	padding-top: 10px;
	padding-left: 50px;
	background-image: url(/images/comments-balloon-pointer.png);
	background-repeat: no-repeat;
}

.trackback {
	border: 1px dashed black;
	padding: 10px;
}

div.breadcrumb > div {
        display: inline;
}

img {
	border: 0;
}
div.image-frame {
    border: 1px solid rgb(192, 192, 192);
    margin: .5em auto;
    text-align: center;
    max-width: 100%;
}

div.image-frame > img {
    display: block;
    margin: .5em auto;
    max-width: 100%;
}

div.image-frame > span.caption {
    text-align: center;
    width: 95%;
    margin: .2em auto;
}

h2#about-jeremiah {
    padding-bottom: 16em;
    background: rgb(255, 255, 255) url('../images/cutoff_with_haze_643x270.jpg') no-repeat right bottom;
}

.badge {
    margin : 0 0 0 -17%;
    padding: 0;
    position: absolute;
    top: 1.5em;
    left: 100%;
}

#wrapper-content {
    position: relative;
    min-height: 35em;
}

#wrapper-menu-page {
    position: absolute;
    top: 1em;
    left: 100%;
    margin-left: -13em;
}

/* larger screens */
@media screen and (min-width: 1100px) {
    h2#about-jeremiah {
        background-position: center bottom;
    }
}

/* CSS for small screens (handheld in landscape mode) */
@media screen and (max-width: 850px) {
    #wrapper-menu-page {
        float: none;
        display: none;
    }
        
    #content {
        padding: 5px 40px;
    }
    
    #wrapper-content {
        min-height: inherit;
    }
}

@media screen and (max-width: 850px) and (min-aspect-ratio: 4/3) {
    #header h1 {
        height: inherit;
        line-height: 2em;
    }
}

/* CSS for even smaller screens (handheld in portrait mode */
@media screen and (max-width: 480px) {
    body {
        background-color: #eee;
    }

    #wrapper-menu-top, #header, #wrapper-content, #wrapper-footer {
        margin-right: auto;
        margin-left: auto;
        width: 97%;
    }

    #content {
        background: #fff none;
        border-radius: 15px;
        margin-top: 1em;
        margin-left: auto;
        margin-right: auto;
        padding-right: 1em;
        padding-left: 1em;
    }

    #wrapper-menu-top,
    #menu-top,
    #wrapper-header,
    #wrapper-header2,
    #wrapper-header3,
    #wrapper-content {
        background: transparent;
    }

    #header h1 {
        height: inherit;
        text-align: center;
        line-height: 2em;
        padding: 0;
    }
        
    #footer {
        margin: 0;
    }

    #header {
        background: #fff url('../images/stone-background-sm.jpg');
        margin-left: auto;
        margin-right: auto;
        border-radius: 15px;
    }

    #footer {
        border-radius: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    img#portrait {
        float: none;
        width: 80%;
        margin: 1em auto;
    }

    h2#about-jeremiah {
        padding-top: 5.5em;
        padding-bottom: inherit;
        background: #fff url('../images/cutoff_with_haze_small_380x88.jpg') no-repeat center top;
    }
}
