/*
Comic Title: Mac Hall
Author: Kevin Wilson & 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=Rubik:wght@300&display=swap');

h1 {
	font-size: 27.6px;
}

h2 {
	font-size: 19.2px;
}

h3 {
	
}

h4 {
	
}

hr { border-style: solid; border-width: 2px; margin-top: 1em; }

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


/* GLOBAL */

html {

}

body {
	background: #808080; 
    font-family: "Times New Roman", serif;
    padding:0;
    margin:0;
    box-sizing: border-box;
}

img {
    max-width:100%;
}

a {
    color:#000;
}

a:hover {
	opacity: .75;
}

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

select { max-width: 100%; }

.space {
	background: #ccc;
}


/* HEADER */

#header {
    text-align: center;
    padding: 0 30px 0;
    width: 100%;
    box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: -50px;
	background: url(images/left-techlines-top-piece.svg) top 0 left 135px no-repeat;
}

#header-left {
	
}

#logo {
	background: url(images/logo-seal.png) no-repeat center/contain;
	max-width: 500px;
	height: 250px;
	z-index: -10;
    position: relative;
    bottom: -65px;
	display: block;
}
a:hover #logo { opacity: 1; }

.site-title {
	text-align:center;
	font-weight:bold;
	display:block;
	width: 100%;
	max-width: 500px;
}

a.site-title {
	opacity: 1;
}

#header-right {

}

#top-space{
	max-width: 970px;
	height: 90px;
	margin: 0 auto;
	text-align:center;
}


/* MENU */

#menu {
	text-align: center;
	padding:0;
	margin:0;
	justify-content: center;
	background: url(images/menu-background-repeat.svg);
	width: 375px;
	height: 85px;
	border-radius: 15px 15px 0 0;
}
#menu #topper { background: url(images/header-menu-top-circle-style.svg) no-repeat center/contain; width: 100%; height: 34px; }

#menu div {
	position: relative;
}

#menu a {
	padding: 10px;
	display: inline-block;
	color: #000;
	cursor: pointer;
	text-decoration: none;
}

#mob-menu {

}


/* MAIN CONTENT */

main#content {
	display: flex;
	justify-content: space-between;
	background: url(images/left-techlines-repeat-slice.svg) top 0 left 135px repeat-y;
}

#primary { max-width: 700px;}

/* SIDE BAR */

#sidebar {
	margin-top: 85px;

}

.side-container {
	background-image: url(images/menu-bottom-bar.svg), url(images/sidebar-top.svg), url(images/menu-background-repeat.svg);
	background-position: center bottom -2px, center top, center;
	background-repeat: no-repeat, no-repeat, repeat;
	background-size: auto, contain, auto;
	box-sizing: border-box;
	width: 200px;
	border-radius: 15px;
	padding: 35px 10px;
	margin: 0 0 1em;
	text-align: center;
}

.side-top { 
    color: #80808E;
    font-size: 10px;
    text-align: right;
    display: block;
    margin: -30px 0 25px;
}

.gsc-control-cse { padding: 0 !important; background: none !important; border: 0 !important; }

/* COMIC AREA */

#comic-area {
    margin-bottom:30px;
    text-align:center;
	padding: 5px;
	background: #000;
	border-radius: 15px;
	box-shadow: -5px 5px 5px 2px #333;
}
#comic-wrap { 
	margin: 15px 15px 0;
    background-image: url(images/interior-content-top.svg), url(images/interior-content-bottom.svg), url(images/interior-content-border-single-line.svg), url(images/interior-content-border-single-line.svg);
    background-repeat: no-repeat, no-repeat, repeat-y, repeat-y;
    background-position: center top, center bottom, left, right;
    background-size: contain, contain, auto, auto;
    padding: 20px 45px 40px;
	border-radius: 17px;
}

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

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


/* COMIC NAV */

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

.cc-nav a, .cc-nav div {
	margin:0 10px;
	display:block;
	height: 30px;
	width: 60px;
	padding-top: 45px;
	color: #fff;
	box-sizing: border-box;
	text-decoration: none;
	font-family: 'Rubik', sans-serif;
	text-transform: uppercase;
	font-size: 10px;
}
#nav-small .cc-nav a, #nav-small  .cc-nav div { height: 20px; padding-top: 25px; }

.cc-nav a:hover {
	opacity: .75;
}


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

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

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

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

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

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

#hive-logo {

}


/* JUMPBAR */

#hw-jumpbar {
    background:#000;
    margin:20px 0;
	border-radius: 20px;
	box-shadow: -5px 5px 5px 2px #333;
}
.hw-jump-discover {
    background: #fff;
}
.hw-jump-discover a { color: #000; }
.hw-jump-desc-wrap {
    background:#000; color: #fff;
	border: 2px solid white;
	border-top: 0;
}
.hw-jump-title {
    background:#fff; color: #000;
}
.hw-jump-down {
    border-top:20px solid #fff;
}
.hw-jump-mid {
    background:#000;
}
.hw-jump-arrow-left {
	cursor: pointer;
}
.hw-jump-arrow-right {
	cursor: pointer;
}
.hw-jump-arrow-left:hover, .hw-jump-arrow-right:hover {
	opacity: .75;
}

#hivebee { width: 100px; margin: 0 auto; text-align: center;}

/* BOTTOM AREA */

#bottom {
	
}

#bottom-left {
	
}

.cc-newsarea {
	
}

.cc-newsheader, .cc-newsheader a {

}

.cc-publishtime{

}

.cc-newsbody {
	
}

#bottom-right {
	
}

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



/* FOOTER */

footer#global-footer{
	text-align: center;
	padding: 20px;
}


/* TEXT PAGE */

#text-area, #news-area {

    margin-bottom:30px;
    text-align:center;
	padding: 5px;
	background: #000;
	color: #fff;
	border-radius: 15px;
	box-shadow: -5px 5px 5px 2px #333;
	max-width: 100%;
}

#text-wrap, #news-wrap {	
	background: #000;
	background-image: url(images/interior-content-top.svg), url(images/interior-content-bottom.svg), url(images/interior-content-border-single-line.svg), url(images/interior-content-border-single-line.svg);
    background-repeat: no-repeat, no-repeat, repeat-y, repeat-y;
    background-position: center top, center bottom, left, right;
    background-size: contain, contain, auto, auto;
    padding: 20px 45px 40px;
	border-radius: 17px;
	margin: 1em;
}
#text-wrap a, #news-wrap a { color: #fff;}
.cc-newsheader a { text-decoration: none; }
.cc-blogcontent { text-align: left; }

.text-box {

}
#bottom-decor { background: url(images/left-techlines-left-lower-corner-piece.svg) bottom left 135px no-repeat; height: 80px; }
#cc-footer {
	background-image: url(images/footer-menu-bottom-bar.svg), url(images/menu-background-repeat.svg);
    background-repeat: no-repeat, repeat;
	background-size:  100%, auto;
	background-position: bottom -2px center, center;
    padding: 50px 0 2em;
    margin: -120px auto 2em;
	box-shadow: -5px 5px 7px 3px #333;
	border-radius: 20px;
    position: relative;
    left: 30px;
    width: 350px;
    text-align: center;
	z-index: -10;

}


/* BLOG */

.cc-blogpost {
	background-color: #e7e7e7;
	background-image: url(images/news-menu-top.svg), url(images/news-menu-bottom.svg), url(images/news-bg2.svg);
	background-repeat: no-repeat, no-repeat, repeat;
	background-size: auto;
	background-position: top -2px center, bottom -8px center, center;
	color: #000;
	margin: .5em 0 1em;
	padding: 35px 10px; 
	border-radius: 19px 19px 25px 25px; 
	border: 5px solid black;
}
.cc-blogtitle { text-align: left; }
#news-wrap .cc-blogpost a { color: #000; }
.cc-blogtitle a { text-decoration: none; font-size: 20px; font-style: italic;}
.cc-blogtitle a:hover { text-decoration: underline; }
.cc-blog-publishtime { color: #BA004E; text-align: right; font-size: 14px; }

#cc-transcriptclick { padding: 0; border: 0; text-align: center; }


#text-area td p, #news-area td p {
	padding: 0;
}

#text-area p, #news-area p {
}

#text-area h2, #news-area h2 {
	margin: 0 0 8px 0;	
}


@media screen and (min-width: 600px){
	#text-area, #news-area {
		width: 700px;
		box-sizing: border-box;
	}

	#text-area table tr, #news-area table tr {
		flex-direction: row;
	}

	#text-area p, #news-area p {
		margin: 0;
	}

}

/* ARCHIVE PAGE */

.cc-storyline-contain {
	border-bottom: 3px solid #fff;
    padding-bottom: 20px;
    margin-bottom: 20px;
}


.cc-storyline-text {
	float: none;

}

.cc-storyline-header {
	border: 0; 

}


/* MEDIA QUERIES */


@media screen and (max-width: 900px){
	
	#top-space {		
		width:320px;
		height:50px;
	}
	#header { margin: 3em auto 0; padding: 0; flex-wrap: wrap; justify-content: space-evenly; background: none; }
	#logo { bottom: auto; }
	#menu, #sidebar { margin: 0 auto; }
	
	main#content { flex-wrap: wrap; flex-direction: column-reverse; background: none; }
	#primary { max-width: 90%; margin: 0 auto;}
	#sidebar { width: 90%; }
	.side-container { width: 100%; border-radius: 40px 40px 20px 20px; }
	.side-top { font-size: 16px; margin: -20px 20px 25px; }
	
	#bottom-decor { display: none; }
	#cc-footer { margin: 0 auto 2em; padding-top: 0.5em; border-radius: 20px; width: 90%; box-shadow: none; position: revert; }

}