.chapter-container {
    margin: 0 auto;
}
.chapter-container p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.chapter-container img {
	max-width: 50%;
	height: auto;
}

@media (max-width: 1024px) and (pointer: coarse) {
	.chapter-container img {
		max-width: 100%;
		height: auto;
	}
}

/* Line */
.line {
    display: block;
    width: 100%;
    height: 29px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 1rem 0;
}

.chapter-container h1 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
	font-family: Georgia, serif !important;
    font-weight: bold;
	text-align: center;
}

.chapter-container h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    font-family: Georgia, serif !important;
	text-decoration: underline;
}

.story-tmot, .story-tmot a:link{
    color: #74bcee;
}

.story-tmot a:visited {
    color: #347cae;
}

.story-tmot a:hover {
    color: #84ccfe;
}

.line-tmot { background-image: url('/pkmn/tmot/line.png'); }

.line-tgos { background-image: url('/pkmn/tgos/line.png'); }

.line-dod { background-image: url('/pkmn/dod/line.png'); }

.story-tms, .story-tms a:link{
    color: #ffffff;
}

.story-tms a:visited {
    color: #eeeeee;
}

.story-tms a:hover {
    color: #aaaaaa;
}

.line-ns { background-image: url('/pkmn/ns/line.png'); }


.story-mr, .story-mr a:link{
    color: #7072cb;
}

story-mr a:visited {
    color: #30329b;
}

.story-mr a:hover {
    color: #8082db;
}

.story-ets, .story-ets a:link{
    color: #efbf60;
}

.story-ets a:visited {
    color: #bf8f30;
}

.story-ets a:hover {
    color: #ffef90;
}

.story-re, .story-re a:link{
    color: #ff0000;
}

.story-re a:visited {
    color: #cc0000;
}

.story-re a:hover {
    color: #ff3333;
}

.story-sotl, .story-sotl a:link{
    color: #943fbe;
}

.story-sotl a:visited {
    color: #741f9e;
}

.story-sotl a:hover {
    color: #c46fee;
}

.story-wr, .story-wr a:link{
    color: #9945c5;
}

.story-wr a:visited {
    color: #7925a5;
}

.story-wr a:hover {
    color: #b965e5;
}

.story-ams, .story-ams a:link{
    color: #aaccff;
}

.story-ams a:visited {
    color: #6699bb;
}

.story-ams a:hover {
    color: #eeffff;
}

.story-wl, .story-wl a:link{
    color: #7072cb;
}

.story-wl a:visited {
    color: #30329b;
}

.story-wl a:hover {
    color: #8082db;
}

.story-dotb, .story-dotb a:link{
    color: #8baa4e;
}

.story-dotb a:visited {
    color: #4b6a0e;
}

.story-dotb a:hover {
    color: #cbea8e;
}

.line-om { background-image: url('/pkmn/om/line.png'); }

.story-ld, .story-ld a:link{
    color: #00aaff;
}

.story-ld a:visited {
    color: #0066bb;
}

.story-ld a:hover {
    color: #44eeff;
}

.story-ef, .story-ef a:link{
    color: #b75878;
}

.story-ef a:visited {
    color: #771838;
}

.story-ef a:hover {
    color: #f798ab;
}

.story-ts, .story-ts a:link{
    color: #0099ff;
}

.story-ts a:visited {
    color: #0033ff;
}

.story-ts a:hover {
    color: #40ddff;
}

.story-wa, .story-wa a:link{
    color: #c3af4b;
}

.story-wa a:visited {
    color: #936f0b;
}

.story-wa a:hover {
    color: #f3ef8b;
}

.story-votow, .story-votow a:link{
    color: #6040ff;
}

.story-votow a:visited {
    color: #4020df;
}

.story-votow a:hover {
    color: #8060ff;
}

.story-wa h2 {
    font-family: Georgia, serif !important;
}

.story-sw, .story-sw a:link{
    color: #cdb16a;
}

.story-sw a:visited {
    color: #9d813a;
}

.story-sw a:hover {
    color: #fde19a;
}

.story-fairy, .story-fairy a:link{
    color: #ff80ff;
}

.story-fairy a:visited {
    color: #ff00ff;
}

.story-fairy a:hover {
    color: #ffc8ff;
}