/*
Comic Title: In Blood We Rise
Author: Kevin Wilson & Kiri Yu
Description: Template developed for Comic Control installation on Hiveworks servers.  
Comic Control Version: 4.2.9
*/

/* TYPOGRAPHY */
@font-face {
    font-family: 'Crimson Pro';
    src: url('fonts/CrimsonPro-Regular.woff2') format('woff2'),
        url('fonts/CrimsonPro-Regular.woff') format('woff'),
		url('fonts/CrimsonPro.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Della Respira';
    src: url('fonts/DellaRespira-Regular.woff2') format('woff2'),
        url('fonts/DellaRespira-Regular.woff') format('woff'),
		url('fonts/DellaRespira.ttf') format('ttf');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


:root {
	--site-bg: #021032;
	--text: #ffffff;
	--link: #ffffff;
	--dark: #18348f;
	--light: #3363D2;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 32px;
}

h3 {
	
}

h4 {
	
}


/* GLOBAL */

html {
	background: url(images/top-clouds.jpg) 0 96px repeat-x scroll;
	background-color: var(--site-bg); 
}

body {
    /* background: bg-color bg-image position/bg-size bg-repeat bg-origin bg-clip bg-attachment initial|inherit; */	
    font-family: "Crimson Pro", "Open Sans", sans-serif;
    padding:0;
    margin:0;
    box-sizing: border-box;
}

img {
    max-width:100%;
}

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

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

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

.space {
	background: var(--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{
	width:100%;
	height:50px;
}


/* MENU */

#menu-click,#mob-menu {
	cursor: pointer;
	display: block;
	color: var(--link);
	margin: 0 auto;
	font-size: 48px;
	text-transform: lowercase;
	margin: 0.5em auto;
}

#menu {
	font-family: 'Della Respira', sans-serif;
	text-align: center;
	padding:0;
	margin: 0 auto;
	display: none;
}

#menu div {
	position: relative;
}

#menu a {
	padding: 24px;
	display: inline-block;
	color: var(--text);
	font-size: 1.5em;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
}

#mob-menu {

}


/* MAIN CONTENT */

main#content {	
}

#main-left {

}

#main-right {

}

/* COMIC AREA */

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

#comic-area {
    text-align:center;
	width: 100%;
}

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

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


/* COMIC NAV */

.cc-nav {
	margin: 0 auto;
	padding:20px;
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
}

.cc-nav a, .cc-nav div {
	margin:0 10px;
	display:block;
}

.cc-nav a {

}

.cc-nav div {

}

.cc-first, .cc-first-dis {
	background-image:url('images/first.png');
	width: 218px; height: 66px;
}
.cc-first:hover { background-position: 0 66px; }

.cc-prev, .cc-prev-dis {
	background-image:url('images/previous.png');
	width: 175px; height: 66px;
}
.cc-prev:hover { background-position: 0 66px; }

.cc-next,.cc-next-dis {
	background-image:url('images/next.png');
	width: 175px; height: 66px;
}
.cc-next:hover { background-position: 0 66px; }

.cc-last,.cc-last-dis {
	background-image:url('images/latest.png');
	width: 218px; height: 66px;
}
.cc-last:hover { background-position: 0 66px; }

.cc-navaux {
	display: none;
}

.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 { display: none; }

#right-space {
	width: 160px;
	height: 600px;	
	display: none;
}
#right-space img { width: 160px; height: 600px; }

#social {
	display: flex;
    flex-wrap: wrap;
    width: 104px;
    margin: 2em auto;
}


/* JUMPBAR */

#hw-jumpbar {
    background: var(--dark);
    margin:20px 0;
}
.hw-jump-discover {
    background: var(--dark);
}
.hw-jump-desc-wrap {
    background: var(--light);
	text-transform: none;
	font-size: 12px;
}
.hw-jump-title {
    background: var(--dark);
}
.hw-jump-down {
    border-top: 20px solid var(--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(--site-bg);
	color: var(--text);
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
	justify-content: center;
}

#bottom-main {
	padding: 1em;
	
}

.cc-newsarea {
	margin-right: 1em;
}

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

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

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

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

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



/* COMMENTS */

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

.cc-commentheader {
	
}

.cc-commentbody {
	
}




/* FOOTER */

footer#global-footer{
	text-align: center;
	padding: 2em 1em;
}
footer #footer-menu a {
	font-family: 'Della Respira', sans-serif;
	font-size: 18px;
	text-decoration: none;
	text-transform: lowercase;
	padding: 0 1em;
}

/* TEXT PAGE */

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

.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 {

}

.cc-storyline-header {
	border-bottom: 2px dashed var(--light);
}

.cc-storyline-header a {
	text-decoration: none;
}

.cc-storyline-pagetitles {

}

.cc-pagerow {

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



/* MEDIA QUERIES */

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

	
	#menu-click,#mob-menu {
		display: none;
	}
	#menu { display: block; }
	
	#top-space {
		width: 728px;
		height: 90px;
	}

	aside.col { display: block; }
	
	#wrapper { margin-top: 1.5em; }

	#right-space {
		display: block;
	}
	.one, .comic-row, #bottom, .cc-nav {
		flex-wrap: initial;
	}
	#bottom {
		padding: 3em;
		justify-content: space-between;
	}
	#bottom-main { width: 100%; }
	.cc-newsarea {
		margin-right: 3em;
	}
	
	#text-area {
		padding: 0 2em 2em;
		margin-right: 1em;
	}
	footer #footer-menu a { padding: 0 2em; }

}

@media screen and (min-width: 768px){	
	#header { margin-bottom: 1em; }
	#menu a { padding: 8px; }
	#right-space { display: none; }
	.comic-row { flex-wrap: wrap-reverse; }
	#social { flex-wrap: initial; width: 85%; margin: 0 auto; }

}

@media screen and (min-width: 1024px){	
	.one { flex-wrap: wrap; }
	#logo { width: 500px; }
	#menu { margin-top: 1em; }
	#bottom { flex-wrap: initial; }
}

@media screen and (min-width: 1280px){	
	.one { flex-wrap: initial; }
	#logo { width: 400px; }
	.comic-row { flex-wrap: initial;}
	#right-space { display: block; }
	#social { flex-wrap: wrap; width: 104px; margin: 2em auto; }
}
@media screen and (min-width: 1600px) {	
	body {
		background: url(images/bottom-right-clouds.png) right bottom no-repeat scroll, url(images/bottom-left-clouds.png) left bottom no-repeat scroll;
	}
	#fates {
		background:url(images/fates.png); 
		width:1px; 
		height: 247px; 
		opacity: 0;
		transition: all 2.5s ease;
		visibility:hidden;
	}
	#fates.show {
		opacity: 1;
		width: 400px;		
		visibility:visible;
	}
}

	