/*
Comic Title: Girls With Slingshots
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');
  

:root {
	--site-bg: #666c3c;
	--text: #000000;
	--text-bg: #e9d481;
	--text-other: #b9bf91;
	--link-menu: #f6ecc8;
	--link-text: #b25355;
	--link-light: #ffffff;
	--title: #692818;
	--accent-dark: #808e5b;
	--accent-light: #c3c998;
	--accent-medium: #808e5b;
	--font-text: 'Georgia' ,serif;
	--font-fancy: 'Impact', sans-serif;
	--font-fancier: 'Impact', sans-serif;;
}


h1 {
	font-size: 38px;
	color:var(--title);
	margin: 0.25em 0 0.5em 0;
}

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

select { max-width: 100%; }


/* GLOBAL */

html {
}

body {
	background-color: var(--bg-color);
	background-image: url(images/background-overlay.png), url(images/background.jpg);
	background-repeat: repeat-x, repeat;
	background-position: top center, auto;
    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: 274px; 
	height: 120px;
	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: 1100px;
}

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

/* HEADER */

#header {
    text-align: center;
    padding: 0;
	margin-bottom: 0.5em;
    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;
	border: 3px solid var(--accent-light);
	border-radius: 5px;
}


/* MENU */

#menu { 
	background: #cdae35;
	padding: 5px;
	width: 100%;
}
#bottom #menu a {
	display: inline-block;
	color: var(--link-menu);
	background: #a88b16;
	font-family: var(--font-fancy);
	padding: 5px 10px;
	font-size: 18px;
	cursor: pointer;
	text-decoration: none;
	text-transform: lowercase;
	margin-right: 2px;
	letter-spacing: 0.05em;
	z-index: 30;
	position: relative;
}
#bottom #menu a.secondary { background: #b25355; float: right;}
#bottom #menu a.rss { background: url(images/rss.png) no-repeat left #c57e28; padding-left: 30px}

#bottom #menu a:hover { color: var(--link-light) !important; background-color: #e3585d; }

#menu div {
	position: relative;
}
#bottom cc-title { margin: 0; }

/* MAIN CONTENT */

main#content {	
}

/* COMIC AREA */

.comic-row {
}

#comic-area {
    text-align:center;	
	background: #ffffff;
	padding: 36px 24px 16px;
	box-shadow: 2px 5px 5px #333;
	border-radius: 10px;
	position: relative;
	z-index: 10;
}

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

#cc-comicbody {
	margin-bottom: 5px;
}


/* COMIC NAV */

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

.cc-nav a, .cc-nav div {
	color: var(--accent-dark);
	display:block; 
	font-size: 20px;
	text-decoration: none;
	text-transform: uppercase;
	width: 120px;
}
.cc-nav div { opacity: 0.25; }
.cc-nav a:hover { opacity: 0.75;}

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

	.cc-prev, .cc-prev-dis {
		background: url(images/previous.png) no-repeat left;
		padding-left: 20px;
	}

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

	.cc-last,.cc-last-dis {
		background: url(images/last.png) no-repeat right;
	}
	.cc-navaux {
		background: url(images/archive.png) no-repeat left;
		padding-left: 10px;
	}

.flex { display: flex; flex-wrap: wrap; justify-content: space-evenly; }
.cast { display: block; width: 250px; }
.vol { display: block; }

.row { display: flex; justify-content: space-between; }
.pic { margin-right: 1em; }
.pic img { min-width: 220px; }
.desc { margin-bottom: 1em; }
.desc p:first-child { margin-top: 0;}

/* 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: 0 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; }

/* JUMPBAR */

#hw-jumpbar {
    background: var(--accent-dark);
}
.hw-jump-discover {
    background: var(--accent-light);
}
.hw-jump-discover a{
    color: var(--text) !important;
}
.hw-jump-desc-wrap {
    background: var(--accent-light);
	color: var(--text);
	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: 1070px;
	box-sizing: border-box;
	justify-content: space-between;
	padding: 36px 8px 16px;
	box-shadow: 2px 5px 5px;
	border-radius: 10px;
	margin: -20px auto 0;
	gap: 5px; 
	
}
#bottom a { color: var(--link-text); }

#bottom.interior { padding: 16px 8px 16px; margin: auto 0; }

#bottom-main-wrapper {	
	background: url('images/blogheader.png') no-repeat top center;
	padding-top: 150px; 
	margin-top: -43px;
	max-width: 100%;
}

#bottom-main, .text-box { 
	background: #f0e1a7;
	width: 564px; 
	box-sizing: border-box; 
	padding: 10px; 
	box-shadow: 3px 3px 3px #cdae35;
	border-radius: 3px 3px 10px 10px;
	position: relative;
	z-index: 50;
}
#bottom.interior #bottom-main, #bottom.interior .text-box { width: 885px; }

.bottom-left {
	width: 160px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	grid-gap: 1em;
	justify-content: center;
}
.bottom-right { 
	width: 300px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: center;
}
.bottom-right p { margin: 0; }
#social{
	width: 160px;
	height: 303px;
	display:block;
	background:url('images/twitter.jpg') no-repeat;
	margin:0 auto 10px;
	position:relative;
	z-index:5;
}
#sociallinks{
	width:160px;
	height:46px;
	margin-top:21px;
	float:left;
	position:relative;
}
#sociallinks a{
	position:relative;
	display:block;
	height:46px;
	z-index:20;
	float:left;
}
#facebook{
	width:55px;
}
#instagram{
	width:54px;
}
#twitter{
	width:51px;
}
.cc-newsarea {
	margin-right: 1em;
	margin-bottom: 1em;
	border-bottom: 1px solid var(--accent-light);
}
.cc-newsheader{
	margin:5px 0px 0px 0px;
	padding:5px 0 0 0;
	font-size:28px;
	line-height:26px;
	font-weight:bold;
	color:var(--title);
	letter-spacing:-1px
}
#newsheader a{
	color:#692818;
}


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

.cc-newsbody {
}

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

/* COMMENTS */

.cc-commentlink {
	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; }
table.table td img { max-width: 200px; }
table h2 { margin: 0;}

/* FOOTER */

footer#global-footer{
	text-align: center;
	padding: 0 0 2em 0;
	margin: 2em 0;
	position: relative;
	z-index: 99;
}
footer p { color: var(--text-other); }
footer p a { color: var(--link-light); }

footer #footer-menu { margin-top: 2em;  }
footer #footer-menu a {	
	color: var(--link-light);
	text-decoration: none;
	padding: 0 1em;
	font-weight: bold;
	cursor: pointer;
}

/* TEXT PAGE */

#text-area {
	background: var(--text-bg);
	color: var(--text);
	box-sizing: border-box;	
	padding: 5em 1em 2em;
	width: 100%;
}

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


/* 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; }

.cc-searchcomicname { color: var(--link-text); }
.cc-searchcomicimgbox { height: auto; }
.cc-searchbody { display: flex; flex-wrap: wrap; justify-content: space-around; }
.cc-prevnext { display: flex; justify-content: space-between; margin: 1em; font-size: 18px; font-weight: bold; }
.cc-pagelist { font-size: 18px; font-weight: bold; }
.cc-pagelist a { font-weight: normal; }

/* MEDIA QUERIES */



@media screen and (max-width: 1024px){	
	#logo {max-width: 100%;	}
	
	#bottom-main-wrapper { margin-top: 0; }
			
	.cc-nav div {
		margin:0;
	}
	
	.page .bottom-left { order: 2; width: 100%; }
	#comic-area, #text-area { max-width: 100%; min-width: 0; padding: 0.5em; } 
	
	#bottom{ width: 100%; padding: 1em; margin: 0 auto;}
	#bottom-main { width: calc(100vw - 250px); }
	#bottom-space, #middle-space { width: auto; height: auto;}
	footer #footer-menu a { padding: .5em; display: inline-block; }


}
@media screen and (max-width: 850px){
	
	#top-space {
		width: auto;
		height: auto;
		min-width: 0;
	}
	
	#middle-space-2 { margin: 1em auto; }
	#bottom #menu a.secondary { float: none; }
	#bottom-main { width: 100%; }
	.bottom-left { order: 2; width: 100%; }
	.bottom-right { order: 3; width: 100%; }
	
	#menu { display: flex; flex-wrap: wrap; justify-content: center; }
	#bottom #menu a { margin: 5px; font-size: 22px; }
}


@media screen and (max-width: 600px){	
	
	#text-area {			
		width: 100%;
		padding: 1em;
		flex-wrap: wrap;
	}	
	.row { flex-wrap: wrap; justify-content: space-between; }
		
	div#bee { 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 a, .cc-nav div { max-width: 20%; font-size: 15px; }	
	.cc-navaux { padding-left: 20px; }
	.cc-storyline-text { clear: both;}	
}

@media screen and (max-width: 450px){	
	.cc-first, .cc-prev, .cc-first-dis, .cc-prev-dis { padding-left: 30px; }
	.cc-next, .cc-last, .cc-next-dis, .cc-last-dis { padding-right: 30px; }
	.cc-navaux { font-size: 0px !important; background-position: center; }
	.cast { width: 100%; }
}


	