/*
Comic Title: Base Template
Author: Kiri Yu
Description: Template developed for Comic Control installation on Hiveworks servers.  
Comic Control Version: 4.3
*/

/*TYPOGRAPHY*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

:root {
	--site-bg: #000000;
	--text: #FCC1BE;
	--text-bg: #ffffff;
	--text-other: #000000;
	--link-menu: #ffffff;
	--link-text: #ffffff;
	--accent-dark: #5B1F1B;
	--accent-light: #AE3934;
	--font-text: 'Roboto', sans-serif;
	--font-fancy: 'Fjalla One', sans-serif;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 32px;
}

h3 {
	
}

h4 {
	
}


/* GLOBAL */

html {
	background-color: var(--site-bg);
}

body {
    font-family: var(--font-text);
    padding:0;
    margin:0;
    box-sizing: border-box;
}

img {
    max-width:100%;
}

a {
    color: var(--link-menu);
}

a:hover {
	opacity: .75;
}
td { padding: 1em; }
#logo { 
	background: url(images/logotext.svg) no-repeat center/contain; 
	width: 890px; 
	height: 100px; 
	margin: 36px auto;
}
#logo a { display: block; width:100%; height: 100%; }

#wrapper {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
}

.space {
	background: var(--accent-light);
}

/* HEADER */

#header {
    text-align: center;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
}

.one {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	width: 100%;
}

#logo {

}

.site-title {
	text-align:center;
	font-weight:bold;
	display:block;
}

a.site-title {
	text-decoration:none;
	color:black;
}

#top-space {
	min-width: 728px;
	height: 90px;
}


/* MENU */

#menu-click,#mob-menu {
	cursor: pointer;
	display: none;
	color: var(--link-menu);
	font-family: var(--font-fancy);
	font-size: 48px;
	text-transform: lowercase;
	margin: 0.25em auto;
	width: 100%;
}

#menu {
	font-family: var(--font-fancy);
	text-align: center;
	padding:0;
	margin: 0 auto;
	display: block;
}

#menu div {
	position: relative;
}

#menu a {
	padding: 36px;
	display: inline-block;
	color: var(--link-menu);
	font-size: 1.25em;
	letter-spacing: 1.25px;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
}

#mob-menu {

}


/* MAIN CONTENT */

main#content {	
}

#main-left {

}

#main-right {

}

/* COMIC AREA */

.comic-row {
	display: flex;
	justify-content: space-around;
	/*flex-direction:row-reverse;
	 unset flex direction if you want ad column on left*/
}

#comic-area {
    text-align:center;
	width: 800px; 
}

#cc-comicbody a:hover {
	opacity: 1;
}

#cc-comicbody {
	text-align:center;
}


/* COMIC NAV */

.cc-nav {
	margin: 0 auto;
	padding:1em 5px;
	display:flex;
	flex-wrap: initial;
	justify-content: center;
	font-family: var(--font-fancy);
}

.cc-nav a, .cc-nav div {
	color: var(--link-menu);
	margin:0 10px;
	display:block; 
	padding:20px;
	font-size: 32px;
	text-decoration: none;
}

.cc-nav a {

}

	.cc-first, .cc-first-dis {
	}

	.cc-prev, .cc-prev-dis {
	}

	.cc-next,.cc-next-dis {
	}

	.cc-last,.cc-last-dis {
	}
	.cc-navaux {
	}

.cc-first-dis, .cc-prev-dis, .cc-next-dis, .cc-last-dis { 
	opacity: .5;
}

.cc-first, .cc-first-dis, .cc-prev, .cc-prev-dis {
	
}


.cc-first img, .cc-first-dis img, .cc-prev img, .cc-prev-dis img {
	
}

.cc-next,.cc-next-dis, .cc-last, .cc-last-dis {
	
}

.cc-next img,.cc-next-dis img, .cc-last img, .cc-last-dis img {
	
}


/* SIDEBAR */

aside.col { 
	width: 200px; 
	display: block;
	flex-shrink: 0;
	}
aside.col.social { 
	flex-shrink: 0; 
	width: 200px; 
	margin: 0 1em;
}

div.bee { 
	width: 100px; 
	height: 100px; 
	background: url(images/hiveworks.png) no-repeat center/contain; 
	margin: 2em auto; 
}
div.bee a { width: 100%; height: 100%; display: block; }


#middle-space {
	width: 160px;
	height: 600px;	
	display: block;
	margin: 0 auto;
}
#middle-space img { width: 160px; height: 600px; }

#social {
	display: flex;
    flex-wrap: wrap;
	justify-content: center;
    width: 104px;
	margin: 0 auto; 
}
#social img { max-width: 75px; max-height: 75px; margin: 0.5em 0; }

/* JUMPBAR */

#hw-jumpbar {
    background: var(--accent-dark);
    margin:20px 0;
}
.hw-jump-discover {
    background: var(--accent-dark);
}
.hw-jump-desc-wrap {
    background: var(--accent-light);
	text-transform: none;
	font-size: 12px;
}
.hw-jump-title {
    background: var(--accent-dark);
}
.hw-jump-down {
    border-top: 20px solid var(--accent-light);
}
.hw-jump-mid {
    background:var(--text);
}
.hw-jump-arrow-left {
	cursor: pointer;
}
.hw-jump-arrow-right {
	cursor: pointer;
}
.hw-jump-arrow-left:hover, .hw-jump-arrow-right:hover {
	opacity: .75;
}


/* BOTTOM AREA */

#bottom {
	background-color: var(--text-bg);
	color: var(--text-dark);
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
	justify-content: space-between;
}
#bottom a { color: var(--text-dark); }
#bottom a:hover { color: var(--accent-light); }

#bottom {
	padding: 3em;
	justify-content: space-between;
}
#bottom-main { width: 750px; }
	
.cc-newsarea {
	margin-right: 1em;
	margin-bottom: 1em;
	border-bottom: 1px solid var(--accent-light);
}

.cc-newsheader, .cc-newsheader a {
	text-decoration: none;
	font-size: 40px;
}

.cc-publishtime, .cc-tagline {
	font-size: 18px;
	opacity: 0.75;
}

.cc-newsbody {
	font-size: 22px;
}

#bottom-side {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 300px;
}

#bottom-space {
	width: 300px;
	min-height: 250px;
	margin: 20px 0;	
}

/* COMMENTS */

.cc-commentlink {
	padding-top: 1em;
	font-size: 1.5em;
}

.cc-commentheader {
	
}

.cc-commentbody {
	
}

#comment-space {
		max-width: 728px;
		overflow: hidden;
	}
#floater-space {}

/* CAST */
table.table td:first-child { min-width: 200px; }

/* FOOTER */

footer#global-footer{
	text-align: center;
	padding: 2em 1em;
}
footer #footer-menu a {	
	font-family: var(--font-fancy);
	font-size: 18px;
	color: var(--link-menu);
	text-decoration: none;
	text-transform: uppercase;
	padding: 0 1em;
}

/* TEXT PAGE */

#text-area {
	background: var(--site-bg);
	color: var(--text-bg);
	box-sizing: border-box;	
	padding: 0 2em 2em;
	min-width: 800px;
}

.text-box {

}

.text-bottom {

}

.text-bottom img {

}

.text-right {
	
}

.text-left {
	
}

.text-left img {
	
}


/* ARCHIVE PAGE */

.cc-storyline-contain {
	
}

.cc-storyline-thumb {
	
}

.cc-storyline-text {
	background: url(images/archive-bar.png) no-repeat left/contain;
	float: none;
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	padding: 1em;
	height: 90px;
	
}

.cc-storyline-header {
	border-bottom: 0;
	font-weight: normal;
	width: 100%;
}

.cc-storyline-header a {
	color: var(--link-menu);
	text-decoration: none;
	padding: 1em 0;
	display: block;
	width: 100%;
}
.cc-gallery a, .cc-storyline-pagethumb { text-align: center; }

/* ARCHIVE - COLLAPSE CHAPTER SHENANIGANS */

.cc-storyline-header a::after{ content: " +"; float: right; font-size: 32px; font-weight: bold; background: var(--accent-light); padding: 0 10px; }
.cc-storyline-contain:nth-child(2) .cc-storyline-header a::after { content: " -"; padding: 0 13px; }
.cc-storyline-contain:nth-child(2) .cc-storyline-header a.override::after { content: " +"; float: right; font-size: 32px; font-weight: bold; background: var(--accent-light); padding: 0 10px; }
.cc-storyline-header a.thumb-open::after, .cc-storyline-contain:nth-child(2) .cc-storyline-header a.override.thumb-open::after{ content: " -"; padding: 0 13px; }

.cc-storyline-thumbwrapper { display: none; }

.cc-storyline-contain:nth-child(2) .cc-storyline-thumbwrapper,
.cc-storyline-contain:nth-child(2) .cc-storyline-thumbwrapper { display: flex; }

.cc-storyline-pagetitles {

}

.cc-pagerow {

}
.cc-storyline-caption { font-size: 1.2em; }



/* MEDIA QUERIES */


@media screen and (max-width: 1280px){	

#logo {
	background: url(images/logotext.svg) no-repeat center/contain;
	width: 100%;
	height: 200px;
}
	#menu-click,#mob-menu {
		display: block;
	}
	#menu { display: none; margin-top: 1em; }
	main#content { margin-top: 32px;}
	
	.comic-row { flex-wrap: wrap; flex-direction: column-reverse;}
	aside.col { width: auto; min-height: 0; margin-top: 32px; }
	#middle-space { width: 300px; height: auto; }
	aside.col.social { display: block; background: none; width: 100%; min-height: 0; margin: 0; }
	#social { width: 100%; margin: 0 0 1em; justify-content: space-evenly; }
	aside.col, div.page aside.col.social, div.page aside.col { background: none;}
	
	#comic-area, #text-area { width: 100%; min-width: 0; } 
	#comment-spot { width: 728px; height: 90px;}
	#bottom-side{ width: 100%; justify-content: space-between; padding: 1em; }
}

@media screen and (max-width: 768px){	

	#header { margin-bottom: 1em; }
	#menu a { padding: 16px 24px; font-size: 2.5em; }
	
	.cc-nav div {
		margin:0;
	}
	
	#bottom, #bottom-main { width: 100%; padding: 1em; }
	#comment-spot { width: auto; height: auto;}
	footer #footer-menu a { padding: 1.5em 1em; display: inline-block; }


}


@media screen and (max-width: 600px){	

	#top-space {
		width: auto;
		min-width: 0;
		height: auto;
	}
	#text-area {			
		width: 100%;
		padding: 0 1em 1em;
	}
	
	#social { width: 100%; flex-wrap: initial; }
	#middle-space {
		display: block;
		margin: 0 auto;
	}
	div.bee { display: block; text-align: center; }

	#comic-area { width: 100%; }
	#social img { max-height: 50px; max-width: 50px; }
	#bottom-side { justify-content: center; }
	
	table.table tr { display: flex; flex-wrap: wrap; }
	table.table tr td { display: block; }
	table.table tr td:first-child { width: 100%; text-align: center; }

}

	