/*
Theme Name: Sunspot
Template: twentyeleven
Text Domain: sunspot
Version: 2.1.24
*/
@import url("../twentyeleven/style.css");

#site-title a,
#site-description {
    color: #d6d6d6;
}

/* Block Dropdowns */
.wp-block-details {
	border-left: 2px solid transparent;
}

.wp-block-details > :where( :not( summary ) ) {
	margin-left: 2rem;
	margin-right: 2rem;
	padding-left: 1rem;
}

.wp-block-details > :where( :not( summary ) ):first-of-type {
    margin-top: 1.5rem;
}

.wp-block-details[open] {
	border-color: lightgray;
	border-top-left-radius: 20px;
}

.wp-block-details summary {
	font-weight: 500;
	font-size: 1.1em;
	width: fit-content;
	padding: .3rem .5rem .3rem;
	border-radius: 20px;
	list-style: none;
	text-decoration: underline;
}

.wp-block-details[open] summary,
.wp-block-details summary:hover,
.wp-block-details summary:focus {
	background: lightgray;
	color: black;
	text-decoration: none;
}

.wp-block-details[open] summary {
	border-bottom-left-radius: 0;
}

.wp-block-details[open] .wp-block-heading {
	margin-left: 0;
}

.wp-block-details[open] p {
	padding-left: 0;
}

.wp-block-details summary::before {
    content: "❯";
    margin-right: 8px;
    display: inline-block;
    transition: transform 0.2s;
}

.wp-block-details summary::-webkit-details-marker,
.wp-block-details summary::marker {
    display: none;
}

.wp-block-details[open] summary::before {
    transform: rotate(90deg);
}

.wp-block-quote {
/*	border: 3px dotted #333 !important; TODO: keep? */
	padding: 20px !important;
	padding-bottom: 0px !important;
	margin-bottom: 10px !important;
	margin-left: -10px !important;
	margin-right: -10px !important;
}

/* chapter boilerplate (?) */

.boilerplate-column p:first-of-type {
  margin-bottom: 0.25rem;
}

/* Header */
#site-title,
#site-description {
    display: none !important;
}

#branding {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 0;
	border-top: none !important;
	padding-top: 4px;
}

#branding img {
    display: none;
}

.custom-logo {
	background-image: url('media/logos/logo-dark.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-origin: border-box;
	display: block !important;
	height: 140px;
	margin-bottom: 10px;
	z-index: 2;
	overflow: visible;
}

.custom-logo:hover {
	background-image: url('media/logos/logo-trans-dark.png');
    cursor: pointer;
}

#latest-chapter,
#latest-chapter-link,
#hiatus-announcement {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin: 2px 0;
	width: 100%;
	text-align: center;
}

#hiatus-announcement {
	font-size: 20px;
	font-weight: bold;
	color: #EFEFEF;
}
			
#latest-chapter {
	z-index: -1;
	margin-right: 270px;
	padding: 50px 0 0;
	font-size: 20px;
	font-weight: bold;
	color: #EFEFEF;
	margin-top: -90px
}
	
#latest-chapter-link {
	margin: 0 0px 20px 0;
}

#latest-chapter-link a {
	padding: 1em;
	padding-top: 2.4em;
	margin: -1em;
	margin-top: -2.4em;
	font-weight: bold !important;
	font-size: 15px;
	margin: 0 0px 20px 0;
	text-decoration: underline solid;
}

#searchform {
	display: none;
}

/* Navigation Menu */
#access ul{
    text-align: center;
}

#access li{
    float: none;
    display: inline-block;
    *display: inline;
    *vertical-align: middle;
}

#access ul li:hover > a,
#access ul li.current_page_item > a,
#access ul li.current-menu-item > a {
    border-radius: 6px 6px 0 0;
}

#access ul li:not(:has(ul)):hover > a,
#access ul li:not(:has(ul)).current_page_item > a,
#access ul li:not(:has(ul)).current-menu-item > a {
    border-radius: 6px;
}

#access ul ul {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: inherit;
}

#access ul ul li {
    text-align: center;
    width: auto;
}

#access ul ul a {
    width: max-content;
    padding-left: 15px;
    padding-right: 15px;
    min-width: 6rem;
}

#access ul ul li:first-child a {
    margin-top: -1px;
    border-radius: 6px 6px 0 0;
}

#access ul ul li:last-child a {
    border-radius: 0 0 6px 6px;
}

#access ul ul li:only-child a {
    border-radius: 6px;
}

/* homepage stuff
 * 
 * */
#start-reading {
	font-size: 1.5rem;
	vertical-align: middle;
}
	
/* brackets */
.brackets:before,
.brackets:after {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	z-index: 1;
	font-size: 2rem;
	font-family: "Georgia";
	transform: translateY(-5px) scaleY(2);
}
.brackets:before {
	content: '{';
}
.brackets:after {
	content: '}';
}

.synopsis { /* also used in table of contents */
	margin-top: 1rem;
	font-style: italic;
	text-align: left;
}

/* disclaimers
 * home and toc*/
.disclaimer {
	font-size: .8rem;
	font-style: italic;
	font-variant: normal;
	font-weight: 300;
	opacity: 60%;
}

/* discord+patreon buttons */
figure.patreon-button,
figure.discord-button {
	padding: 0;
}

/* Patreon decorators */

.patreon {
	--orange: #fe7000; /* patreon orange */
	text-decoration: none;
	color: var(--orange);
	font-weight: 600;
}

#latest-chapter-link a.patreon {
	text-decoration: underline dotted var(--orange) !important;
}

a.patreon {
	text-decoration: underline dotted var(--orange) !important;
}

/* External Links */

a[href*="//"]:not([href*="sunspot.gay"]):not([href*="staging.mariathedinkus.com"]):not([href*="discord.gg"]) {
	
}

/* indicator symbol */
a[href*="//"]:not([href*="sunspot.gay"]):not([href*="staging.mariathedinkus.com"]):not([href*="discord.gg"]):after {
	float: none;
	display: inline-flex;
	vertical-align: 35%;
	font-size: .6rem;
	font-style: italic;
	content: 'ext';
}

/* Home Page Changes */
body.home .entry-title {
	display: none !important;
}

body.home #access {
	margin-bottom: -3rem !important;
}

body:not(.single-post):has(.entry-title) #access {
    margin-bottom: -3rem !important;
}

/* Footer Changes */
#site-generator {
	color: #FFFFFF;
}

footer a[href*="privacy-policy"]:not(:hover) {
	color: #46c3d6 !important;
}

/* Comment Section Changes */
input[type="submit"][name="submit"] {
	text-align: center !important;
  padding-left: 20px !important;
	padding-right: 20px !important;
}

input[type="submit"][name="submit"]:hover {
	background-color: #A2A2A2 !important;
}

/* CHAPTER STYLING */

/* section separator flame */
img.section {
	width: 64px;
	margin: auto;
	display: block;
}