/*
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=Caveat&family=Fjalla+One&family=Comfortaa&display=swap');
  
  @font-face {
    font-family: 'Sakana';
    src: url('fonts/FontA-Regular.woff2') format('woff2'),
        url('fonts/FontA-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
	--site-bg: #00749f;
	--text: #000000;
	--text-bg: #ffe8d1;
	--text-other: #3F537D;
	--link-menu: #000000;
	--link-text: #3F537D;
	--link-light: #ffffff;
	--accent-dark: #000000;
	--accent-light: #f26c4e;
	--font-text: 'Comfortaa', sans-serif;
	--font-fancy: 'Sakana', sans-serif;
	--font-fancier: 'Sakana', sans-serif;;
}


h1 {
	font-size: 48px;
	font-family: var(--font-fancier);
	text-transform: uppercase;
}

h2 {
	font-size: 32px;
	font-family: var(--font-fancier);
	letter-spacing: 2px;
}

select { max-width: 100%; }


/* GLOBAL */

html {
}

body {
	background: url(images/bgtile.jpg) var(--site-bg);
    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: 0 1em; vertical-align: top; }
#logo { 
	background: url(images/logo.png) no-repeat center/contain; 
	width: 370px; 
	height: 200px;
	margin: 0;
}
#logo a { display: block; width:100%; height: 100%; position: relative; z-index: 150; }

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

.space {
	background: var(--accent-light);
}
.space div { min-width: 0px !important; width: auto !important; }

/* HEADER */

#header {
    text-align: center;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	background: url(images/header-bg.png) no-repeat center/contain;
}

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

.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 */

#updates { 
	box-sizing: border-box;
	padding: 38px 70px;
	background: url(images/update.png) no-repeat center/contain; 
	width: 372px;
	height: 135px;
	font-size: 26px;
	font-family: var(--font-fancier);
	font-weight: bold;
	color: var(--link-menu);
	text-transform: uppercase;
}

.two {
	align-items: center;
	margin-top: -15px;
	margin-bottom: -50px;
	z-index: 100;
}

#mobmenu, #mmenu { display: none;}

#menu { 
	background-image: url(images/menu-left.png), url(images/menu-right.png), url(images/menu-center.png);
	background-repeat: no-repeat, no-repeat, repeat;
	background-position: left, right, center;
	background-size: contain;
	padding: 1.5em 1em 1em;
	border: 1px solid #000;
}
#menu a {
	display: inline-block;
	color: var(--link-menu);
	font-family: var(--font-fancy);
	padding: 0 0.6em;
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 1.25px;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
}

#menu div {
	position: relative;
}


/* MAIN CONTENT */

main#content {	
}

/* COMIC AREA */

.comic-row {
}

#comic-area {
    text-align:center;
}

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

#cc-comicbody {
	background: var(--text-bg);
	padding: 88px 16px;
	border-radius: 10px;
}


/* COMIC NAV */

.cc-nav {
	margin: 0 auto;
	display:flex;
	flex-wrap: initial;
	justify-content: space-around;
	font-family: var(--font-fancy);
	position: relative;
	top: -45px;
}

.cc-nav a, .cc-nav div {
	color: var(--link-menu);
	margin:0;
	display:block; 
	font-size: 20px;
	text-decoration: none;
	text-transform: uppercase;
	width: 120px;
	height: 100px;
}
.cc-nav a:hover { opacity: 1;}

	.cc-first, .cc-first-dis {
		background: url(images/first.png) no-repeat center/contain;
	}

	.cc-prev, .cc-prev-dis {
		background: url(images/back.png) no-repeat center/contain;
	}

	.cc-next,.cc-next-dis {
		background: url(images/next.png) no-repeat center/contain;
	}

	.cc-last,.cc-last-dis {
		background: url(images/last.png) no-repeat center/contain;
	}
	.cc-navaux {
	}

.cc-first-dis, .cc-prev-dis, .cc-next-dis, .cc-last-dis { 
	visibility: hidden;
}

.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;
	}

div.bee { 
	width: 100px; 
	height: 100px; 
	background: url(images/hiveworks.svg) 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: 50px;
	margin: 0 auto; 
}
#social img { max-width: 75px; max-height: 75px; margin: 0.5em 0; }

/* JUMPBAR */

#hw-jumpbar {
    background: var(--accent-dark);
}
.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;
	padding: 56px 1em;
	justify-content: space-between;
	
}
#bottom a { color: var(--text-dark); }
#bottom a:hover { color: var(--accent-light); }

#bottom-main, .text-box { width: 700px; box-sizing: border-box; padding: 0 1em; }
	
.bottom-side {
	width: 300px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	grid-gap: 1em;
	justify-content: center;
}
.bottom-side:last-child { width: 210px; }
.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;
	color: var(--accent-dark);
	font-family: var(--font-fancier);
	letter-spacing: 2px;
	text-transform: uppercase;
}

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

.cc-newsbody {
}

#bottom-space {
	width: 300px;
	height: auto;
}

#bee { text-align: center; }
#bee img { width: 120px; }

/* COMMENTS */

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

.cc-commentheader {
	font-family: var(--font-fancier);
	color: var(--accent-dark);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.cc-commentbody {
	
}

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

/* CAST */
table.table td:first-child { min-width: 200px; }
table.table td img { max-width: 200px; }
table h2 { margin: 0;}

/* FOOTER */

footer#global-footer{
	text-align: center;
	padding: 0 0 2em 0;
}
footer #footer-menu { margin-top: 2em; }
footer #footer-menu a {	
	font-family: var(--font-fancier);
	text-transform: uppercase;
	font-size: 22px;
	color: var(--link-light);
	text-decoration: none;
	padding: 0 1em;
	font-weight: bold;
	cursor: pointer;
}

/* TEXT PAGE */

#text-area, #text-interior {
	background: var(--text-bg);
	color: var(--text);
	box-sizing: border-box;	
	padding: 5em 1em 2em;
	width: 100%;
}
#text-interior { 
	display: flex;
	justify-content: space-between;
	}

.text-box h1 { margin-top: 0; }

.text-bottom {

}

.text-bottom img {

}

.text-right {
	
}

.text-left {
	
}

.text-left img {
	
}


/* ARCHIVE PAGE */

.cc-storyline-contain {
	
}

.cc-storyline-thumb {
	
}

.cc-storyline-text {
	float: none;
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	font-family: var(--font-fancier);
	
}

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

.cc-storyline-header a {
	color: var(--link-menu);
	text-decoration: none;
	padding: 0.25em 0.5em 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;
    display: block;
    font-family: var(--font-fancy);
    border-radius: 16px;
    background: var(--accent-light);
    padding: 0 10px 8px; }*/
/*.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(--light); padding: 0 10px; }*/
/*.cc-storyline-header a.thumb-open::after{ content: " -"; padding: 0 13px; }

.cc-storyline-thumbwrapper { display: none; }
.cc-storyline-thumbwrapper.flex  { display: flex !important; }

.cc-gallery a, .cc-storyline-pagethumb { text-align: center; }

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



/* MEDIA QUERIES */


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

	#bottom-main { width: 650px; }
	#comment-spot { width: 728px; height: 90px;}
}

@media screen and (max-width: 1024px){	
	.two { margin-top: 0; }
	#top-space { margin: 0; }
	#logo {
		max-width: 100%;
		height: 200px;
	}	
		
	#cc-comicbody, .cc-nav { margin: 0 16px; }

	#middle-space { width: 300px; height: auto; }
	div.bee { display: none; }
	
	.cc-nav div {
		margin:0;
	}
	
	#comic-area, #text-area, #text-interior { width: 100%; min-width: 0; } 
	
	#bottom{ width: 100%; padding: 1em; margin: 0 auto;}
	#bottom-main { width: 630px; }
	#bottom-space, #comment-spot { width: auto; height: auto;}
	#middle-space img { width: auto; height: auto; }
	footer #footer-menu a { padding: .5em; display: inline-block; }


}
@media screen and (max-width: 650px){
	
	#top-space {
		width: auto;
		height: auto;
		min-width: 0;
	}
	#menu { display: none; }
	#mobmenu { 
		display: block;
		box-sizing: border-box;
		padding: 28px 70px;
		background: url(images/update.png) no-repeat center/contain; 
		width: 372px;
		height: 105px;
		font-size: 48px;
		font-family: var(--font-fancier);
		font-weight: bold;
		color: var(--link-menu);
		text-transform: uppercase;
	}
	#mmenu { 	
		background-image: url(images/menu-top.png), url(images/menu-bot.png), url(images/menu-mid.png);
		background-repeat: no-repeat, no-repeat, repeat;
		background-position: top center, bottom center, center;
		background-size: contain;
		width: 372px;
	}
	#mmenu .wrap { margin-top: 13px; }
	#mmenu a { 
		text-decoration: none;
		font-size: 36px;
		font-weight: bold;
		display: block;
		font-family: var(--font-fancy);
		text-transform: uppercase;
		padding: 10px 0;
	
	}
}


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

	#menu { height: 166px; }
	#updates { height: 100px; padding: 20px 70px; }
	
	#text-area, #text-interior {			
		width: 100%;
		padding: 1em;
		flex-wrap: wrap;
	}
	#text-interior .bottom-side:first-child { display: none; }
	#text-interior .text-box { margin-top: 50px; }
	
	#social { width: 100%; flex-wrap: initial; }
	#middle-space {
		display: block;
		margin: 0 auto;
	}
	
	div.bee { display: block; text-align: center; }

	#comic-area { width: 100%; }
	.bottom-side{ width: 100%; justify-content: center; padding: 1em; }
	
	#bottom, #bottom-main { width: 100%; }
	
	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; }
	
	#cc-comicbody { margin: 0; padding-bottom: 36px; }
	.cc-nav { margin: 25px 5px 0; }
	.cc-nav a, .cc-nav div { height: 70px;}
	
	.cc-first, .cc-first-dis,
	.cc-prev, .cc-prev-dis,
	.cc-next,.cc-next-dis,
	.cc-last,.cc-last-dis {
		width: 75px;
		height: 60px;
	}
	.cc-storyline-text { clear: both;}	
}

@media screen and (max-width: 400px){	
	#mmenu { width: 90%; }
}


	