


.post-item.current {
    background-color: #d1eeff;
}



.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.nav-button {
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f3f3f3;
    transition: background-color 0.3s;
    width: 48%;
    box-sizing: border-box;
}
.nav-button:hover {
    background-color: #e0e0e0;
}


.nav-button.notavailable {
/*    opacity: .35;*/
    visibility: hidden;
    cursor: initial;
    pointer-events: none;
}
.nav-button.notavailable:hover {
    background-color: #f3f3f3;
}


.nav-date {
    color: #666;
    line-height: 1.3em;
    font-size: 0.9em;
    font-family: georgia;
}

.nav-title {
    font-weight: bold;
    font-family: georgia;
    font-style: italic;
    line-height: 1.3em;
}






* {
	box-sizing: border-box;
    font-family: "Courier Prime", monospace;
}
body {
    font-family: "Courier Prime", monospace;
    line-height: 1.7em;
    margin: 0;
}
.header {
	padding: 15px;
	background: #f8f8f8;
	width: 100%;
	display: block;
	padding: 20px;
	padding-left: 40px;
}
.header h1 {
	margin: 0;
}
#menubutton {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}
.belowheader {
	display: flex;
	margin: 40px;
}


/*
.content {
    max-width: 400px;
	margin-left: 100px;
}
*/
.content {
    width: 420px;
	margin-left: 40px;
}
.attachment {
    margin-top: 30px;
    margin-bottom: 20px;
}
.attachment .caption {
    font-size: .9em;
    line-height: 1.5em;
    opacity: .6;
}
.attachment * {
    max-width: 100%;
}




video {
	max-width: 100%;
}
.entry {
    display: none; /* Hide all posts initially */
    padding: 20px;
}
.title {
	font-weight: bold;
	font-size: 1.6em;
	font-family: georgia;
	font-style: italic;
	line-height: 1.3em;
}
.entry.active {
    display: block; /* Only the active post is shown */
}



/*
.sidebar {
    width: 250px;
    padding-right: 20px;
    border-right: 2px solid #ddd;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding-top: 60px;
}
*/
.sidebar {
    width: 300px;
    flex-shrink: 0;
    border-right: 2px solid #ddd;
    overflow-y: auto;
    padding-right: 20px;
}



#search {
	width: calc(100% - 40px);
	padding: 8px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
}
.post-list {
    list-style: none;
    padding: 0;
}
.post-list .date {
    font-size: .9em;
    font-family: georgia;
    letter-spacing: .01em;
    line-height: 1.4em;
}
.post-list .title {
    display: block;
    margin-bottom: 1px;
}
.post-list li {
    margin-bottom: 18px;
    line-height: 1.2em;
}
.post-list a {
    text-decoration: none;
    color: #2183ca;
    font-weight: bold;
    font-size: 1.1em;
    font-family: georgia;
    font-style: italic;
}
.post-list .excerpt {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4em;
}


/* Hide sidebar by default on small screens */
@media (max-width: 768px) {
    .sidebar {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: white;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        padding: 20px;
    }
    /* Show menu when menu-open class is added */
    .sidebar.menu-open {
        display: block;
        z-index: 1000;
    }
    #menubutton {
        display: block; /* Hidden by default */
        color: #2183ca; /* Default link color */
        text-decoration: underline; /* Underline like a link */
        cursor: pointer; /* Pointer cursor like a link */
    }
    .content {
    	width: 100%;
    	margin: 0;
    }
    .belowheader {
    	margin: 10px;

        /* fix scrolling down to header is hidden */
        margin-top: 0;
        
    }
    .entry {

        /* fix scrolling down to header is hidden */
/*        padding-top: 80px;*/

    }
    .header h1 {
    	display: none;
    }
    .header {
    	padding: 20px;

        /* fix scrolling down to header is hidden */
        /*
        position: absolute;
        top: 0;
        */


        padding-left: 30px;
        padding-right: 30px;
    }
}


