@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700';

/* RESETS */
* {
	margin: 0;
	padding: 0;
}

img {
	border: 0;
}

body {
	background-color: #81DBFE;
	font-family: "Open Sans", "Lucida Grande", Arial, sans-serif;
	font-size: 15px;
}

/* GLOBAL STYLES */
article {
	width: 825px;
	margin: auto;
}

h1, h2, h3, h4, h5, h6, p {
	margin-bottom: 10px;
}

h1.page-header, h2.page-header, h3.page-header, h4.page-header, h5.page-header, h6.page-header {
	background-color: #DDEAD7;
	padding: 2px 10px;
	margin-bottom: 10px;
	font-size: 22.5px;
}

.instructions {
	text-align: center;
	margin: 15px 0;
	font-style: italic;
}

.tinytext {
	margin-bottom: 5px;
	font-size: 9px;
}

.tinyheader {
	font-size: 10px;
	margin-bottom: 4px;
	text-align: center;
	text-transform: uppercase;
}

.clear {
	clear: left;
}

.float-left {
	float: left;
	margin-right: 10px;
}

.center {
	text-align: center;
	margin: auto;
}

/* MAIN PAGE CONTAINER */
#mainContainer {
	width: 1079px;
	margin: auto;
	background-color: #fff;
	-webkit-box-shadow:  0px 0px 3px 1px rgba(0, 0, 0, 0.5);
	box-shadow:  0px 0px 3px 1px rgba(0, 0, 0, 0.5);
	overflow: visible;
}

/* BANNER */
#banner {
	width: 1099px;
	height: 260px;
	padding-top: 10px;
	position: relative;
	z-index: 105;
	margin-left: -10px;
	overflow: hidden;
}

/* MAIN CONTENT AREA */
#content-area {
	width: 1079px;
	position: relative;
	z-index: 100;
	margin-top: -11px;
	padding-top: 11px;
	height: 100%;
	margin-bottom: 15px;
}

/* NAVIGATION MENU */
#menu {
	font-size: 14px;
	margin-bottom: 10px;
}

#menu a {
	color: #000;
	display: block;
	list-style-type: none;
	width: 160px;
	background-color: #effff2;
	border-radius: 4px;
	text-transform: uppercase;
	margin: 3px auto;
	overflow: hidden;
	padding: 3px 0;
	text-decoration: none;
}

#menu a:hover {
	background-color: #fff;
}

/* SIDEBAR */
.sidebar-content {
	width: 167px;
	padding: 0 4px;
	padding-top: 11px;
	position: absolute;
	top: 0;
	bottom: 0;
	text-align: center;
	border-radius: 0 0 5px	 5px;
	margin-left: 12px;
	background-color: #d1e5d4;
}

.sidebar-natani {
	position: absolute;
	bottom: 0;
	width: 200px;
	height: 521px;
	background: url(img/chars_menu.png) 0 100% no-repeat;
}

.incentive {
	width: 160px;
	margin: auto;
	margin-bottom: 10px;
}

.incentive .tinytext {
	margin-bottom: 2px;
}

.sidebar-content .full-width-img {
	margin-left: -5px;
}

#sidebar {
	width: 200px;
	display: inline-block;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
}

.paypal {
	margin-bottom: 20px;
	margin: auto;
}

.paypal-btn {
	display: inline-block;
	height: 26px;
	width: 92px;
	background: url(img/pixmap.png) 0 -32px no-repeat;
}

/* SOCIAL MEDIA */
.social {
	height: 32px;
	margin-bottom: 10px;
}

.social a {
	display: inline-block;
	background-image: url(/img/pixmap.png);
	height: 32px;
	width: 32px;
	margin: 0 1px;
}

.social .twitter {
	background-position: 0 0;
}

.social .rss {
	background-position: -32px 0;
}

.social .facebook {
	background-position: -64px 0;
}

.social .patreon {
	background-position: -96px 0;
}


#content {
	position: relative;
	left: 200px;
	display: inline-block;
	padding: 10px 15px;
	overflow: visible;
	min-height: 1260px;
	border: 1px solid #ccc;
	border-radius: 0 0 5px 5px;
	z-index: 102;
	top: 0;
	bottom: 0;
	margin-top: -11px;
	padding-top: 11px;
	width: 836px;
}

#content li {
	margin-bottom: 5px;
	list-style-position: inside;
	margin-left: 30px;
	margin-right: 30px;
}

#content ul {
margin-bottom: 10px;
}

#content table {
	border: 1px solid #000;
	border-collapse: collapse;
	margin: auto;
	margin-bottom: 10px;
}

#content th {
	background-color: #DDEAD7;
}

#content th, #content td {
	padding: 2px 7px;
	border: 1px solid #000;
}

.content-bottom {
width: 1079px;
height: 4px;
margin-bottom: 15px;
}

/* BANNER ADS */
.abg-sidebar {
	height: 614px;
	width: 160px;
	margin: auto;
	overflow: hidden;
	background: url(/img/tower_placeholder.png) 0 0 no-repeat;
}

.abg-sidebar .advertisement {
	padding-top: 14px;
	background: #D1E5D4 url(/img/advert_blk.gif) 50% 4px no-repeat;
}

.av2 {
	margin: auto;
	width: 300px;
	height: 268px;
	overflow: hidden;
	margin-bottom: 3px;
}

.av2-child {
	position: relative;
	width: 300px;
	height: 250px;
	overflow: hidden;
}

.av2-child .advertisement {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
	background-color: #fff;
}

.ad-top {
	margin: auto;
	height: 90px;
	width: 728px;
	padding: 5px 14px;
	background: url(img/advert_blk_rot.gif) 4px 50% no-repeat;
	overflow: hidden;
}

/* Bottom portion */

.bottom {
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 1039px;
	margin: auto;
	min-height: 350px;
	padding: 8px 8px;
	margin-bottom: 10px;
}

.bottom-left {
	width: 160px;
	margin-right: 12px;
	float: left;
}

.keenspot {
	height: 337px;
	width: 160px;
	margin: auto;
	text-align: left;
}

.bottom-ctr {
	width: 555px;
	overflow: hidden;
	float: left;
	padding-top: 5px;
	margin-right: 12px;
}

/* Make Twitter widget as wide as possible */
iframe[id^='twitter-widget-'] {
	width:100% !important;
}

.bottom-right {
	width: 300px;
	float: left;
}

.donate-box {
	width: 300px;
	height: 250px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
}

.rec-comic {
	width: 285px;
	margin: 0 auto;
}

.rec-comic-row {
	clear: both;
	margin-bottom: 3px;
	height: 31px;
}

.rec-comic-btn {
	float: left;
	width: 88px;
	height: 31px;
	margin: 0 3px;
	background-color: #ccc;
}

/* FANART PAGE */
.fanart-row {
	text-align: center;
}

/* NEWS SECTION */
#news {
	overflow: hidden;
}

.news-item, .news-even {
	margin: auto;
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 5px;
	background-color: #FFF;
}

.news-even {
	background-color: #D0E5D4;
}

.news-date {
	float: right;
	font-size: 13px;
	padding: 3px;
	margin-top: -2px;
	margin-bottom: 5px;
	margin-left: 5px;
	margin-right: 0;
}

.news-item h6 {
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 5px;
}

.news-item h6 a {
	color: #000;
	text-decoration: none;
}

.news-item h6 a:hover {
	text-decoration: underline;
}

.news-item p {
	margin-bottom: 0;
	margin-top: 5px;
}

.news-story {
	margin: auto;
}

.news-item img.float-right {
	float: left;
	margin: 10px;
}

.news-story img.upper-corner {
	float: right;
	margin-left: 5px;
	margin-bottom: 5px;
}

.pagination {
	display: table;
	text-align: center;
	margin: auto;
	font-size: 15px;
	background-color: #fff;
	margin-bottom: 10px;
	padding: 3px 10px;
	border: 1px solid #000;
	border-radius: 5px;
}

.pagination span {
	margin-left: 4px;
	margin-right: 4px;
	display: inline-block;
}

.pagination a {
	color: #00f;
	text-decoration: none;
}

.pagination h4 {
	font-weight: normal;
}

/* COMIC SECTION */
.comic {
	text-align: center;
	margin: auto;
}

.comic h1 {
	font-weight: normal;
	font-size: 18px;
	margin-bottom: 5px;
}

.comic header {
	margin-bottom: 15px;
}

.comicnav {
	width: 825px;
	height: 30px;
	background-color: #d1e5d4;
	-webkit-box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, 0.4);
	box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, 0.4);
	border-radius: 5px;
	margin: auto;
	text-align: center;
	padding-top: 8px;
	margin-top: 15px;
}

.comicnav img {
	margin: 0 4px;
}

.comicnav a {
	color: #000;
	text-decoration: none;
}

.comicnav a, .comicnav span {
	margin: 0 5px;
}

.comicnav .navbegin {
	display: inline-block;
	background: url(img/comic-nav-begin.png) 0 50% no-repeat;
	padding-left: 33px;
}

.comicnav .navprev {
	display: inline-block;
	background: url(img/comic-nav-arrow-left.png) 0 50% no-repeat;
	padding-left: 24px;
}

.comicnav .navnext {
	display: inline-block;
	background: url(img/comic-nav-arrow-right-disabled.png) 100% 50% no-repeat;
	padding-right: 24px;
}

.comicnav .navend {
	display: inline-block;
	background: url(img/comic-nav-end-disabled.png) 100% 50% no-repeat;
	text-align: right;
	padding-right: 33px;
}

.comicnav .navarchive {
	width: 77px;
	border-radius: 11px;
	color: #fff;
	background-color: #688f6d;
	text-align: center;
	padding: 0 12px;
}

.comicnav .disabled {
	color: #88958a;
	cursor: default;
}

/* FOOTER */
footer {
	text-align: center;
	font-size: 12px;
}

.footer-img {
	width: 100%;
	height: 89px;
	background: transparent url(/img/footer.png) 50% 0 no-repeat;
	margin-top: 5px;
}

/* BEGIN ALTERNATE PAGES */

.fanart-row img {
	border: 1px solid #cccccc;
	padding: 10px;
	margin: 3px;
	width: 75px;
	height: 75px;
}

/* LINKS PAGE */
.link-segment {
	border: 2px solid #FFF;
	border-top-width: 1px;
	border-bottom-width: 1px;
	margin: 5px 0;
	margin-bottom: 10px;
}

.link-segment p {
	margin: 0;
	margin-top: -3px;
}

.imggroup {
	margin: auto;
	text-align: center;
}

.imggroup img {
	cursor: pointer;
}

.dual-img img, .many-img img {
	margin-left: 5px;
	margin-right: 5px;
}

.link-img {
	height: 100%;
	width: 200px;
	float: left;
	margin-left: 10px;
	margin-right: 20px;
}

/* POPUP DIALOG */
.dialog * {
	margin: 0;
}

.dialog {
	border-radius: 5px;
	background: #FFF;
	width: 490px;
	position: fixed;
	margin: auto;
	display: none;
	z-index: 105;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.6);
}

.dialog-body {
	padding: 10px;
	padding-top: 0;
}

.dialog-title {
	background-color: #B1CAB5;
	border-radius: 3px 3px 0 0;
	padding: 5px 10px;
	margin-bottom: 10px;
	margin-left: -10px;
	width: 470px;
}

.dialog a {
	color: #000;
	text-decoration: none;
}

.dialog-center {
	text-align: center;
	margin-bottom: 5px;
}

.dialog-x {
	display: inline-block;
	background: #FFF;
	color: #555;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
	cursor: pointer;
	line-height: 13px;
	height: 1.1em;
	width: 1.1em;
	padding: 3px;
	margin-top: 1px;
	margin-right: -5px;
	border-radius: 2px;
}

.dialog-title .dialog-x {
	float: right;
}

.dialog .dialog-input-header {
	font-weight: bold;
}

input.embed {
	padding: 2px;
	font-size: 14px;
	margin-top: 2px;
	margin-bottom: 5px;
	width: 465px;
}

/* ARCHIVE PAGE */
.archive {
	font-size: 14px;
}

.chapter {
	margin-bottom: 15px;
}

.chapter p a {
	color: #000;
}

.chapter p {
	margin-left: 8px;
	margin-right: 8px;
	text-align: justify;
}

.chapter h2 {
	display: inline-block;
	margin: 0;
	cursor: pointer;
	color: #000;
	font-size: 1.2em;
}

.chapter h4:hover {
	text-decoration: underline;
}

.chapter .arrow-down, .chapter .arrow-left {
	display: inline-block;
	width: 16px;
	height: 0.8em;
	background: transparent url(/img/dropdown.png) 0 50% no-repeat;
}

.chapter .arrow-down {
	background-position: -16px 50%;
}

.chapter .chapter-links {
	margin-left: 8px;
	margin-right: 8px;
	display: none;
}

.chapter .chapter-links a {
	display: inline-block;
	width: 50px;
	height: 65px;
	background-color: #eee;
	text-decoration: none;
	color: #000;
	font-size: 1.2em;
	position: relative;
	margin-right: 3px;
	margin-bottom: 3px;
}

.chapter .chapter-links a span {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding-top: 22px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 80;
}

.chapter .chapter-links img {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
}

.chapter .chapter-links a.loaded span {
	height: calc(100% - 22px);
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	display: none;
	z-index: 100;
}

.chapter .chapter-links a.loaded.hover span {
	display: inline-block;
}

@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 2){
  .chapter h2 {
		font-size: 2em;
	}

	.chapter .chapter-links a {
		zoom: 2.0;
	}
}

/* FAQ */
article.faq section {
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #ccc;
}

article.faq section h2 {
	font-size: 15px;
	margin-bottom: 5px;
}

/* CHAT PAGE */
article.chat section {
	margin-bottom: 15px;
}

/* CHARACTER PAGE */
.char-img {
	float: left;
	width: 125px;
	margin-right: 20px;
	text-align: center;
}

.char-info {
	float: left;
	width: 650px;
}

.char-detail {
	padding: 10px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
}

.char-detail:last-of-type {
	margin-bottom: 0;
	border: none;
}

.char-detail h3 img {
	vertical-align: middle;
}

.char-detail h3, .char-detail p {
	margin-bottom: 10px;
	text-align: justify;
}

.char-detail img.portrait {
	margin-top: 0;
}
