/* CUSTOM CSS STYLES */

@import url('https://fonts.googleapis.com/css?family=Manuale:400,400i,700,700i|PT+Sans:400,400i,700,700i');


/******************************************/
/* GENERAL + HOME PAGE STYLES */
/******************************************/

a, a:link, a:visited {
	color: #333793;
	text-decoration: underline;
}

a:hover, a:active {
	color: #333333;
	text-decoration: none;
}

#authorTabNav .nav-item {
	background-color: #EFEFEF;
}

#authorTabNav .nav-item a.active {
	font-weight: bold;
}

body {
	font-family: Manuale, Georgia, serif;
	font-size: 1rem;
	line-height: 1.4rem;
	background-color: #333793;
	background-image: url(images/Seal_of_Rassilon_bg.png);
	background-repeat: repeat-y;
	background-size: 30rem 30rem;
	background-position: -2rem;
}

.BGLavender {
	background-color: #EDF1FE;
}

.BGWhite {
	background-color: #FFFFFF;
}

.borderDottedLavenderBottom {
	border-bottom: 1px solid #CDD7FF;
}

.borderDottedLavenderTop {
	border-top: 1px solid #CDD7FF;
}

.box {
	border-radius: 4px;
	padding: 1rem;
}

#categoryListHome div {
	padding-bottom: 0.5rem;
}

code {
	color: #333333;
}

.dropdown-menu {
	background-color: #EDF1FE;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

a.dropdown-item, a.dropdown-item:link, a.dropdown-item:visited {
	color: #333793;
	text-decoration: none;
}

a.dropdown-item:hover, a.dropdown-item:active, .dropdown-menu a.active {
	color: #333333;
	background-color: #FFFFFF;
}

footer {
	font-size: 0.7rem;
	line-height: 0.9rem;
	background-color: #EFEFEF;
	padding: 1rem;
}

h1, div#pagetitle {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 1.6rem;
	font-weight: bold;
}

h2 {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.2rem;
}

h3 {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: bold;
	font-style: italic;
	line-height: 1.2rem;
	margin-bottom: 0;
	padding-bottom: 0;
}

#homeBox {
	padding: 3rem;
	background-image: url(images/Seal_of_Rassilon_bg_pale.png);
	background-repeat: no-repeat;
	background-position: center bottom;
}

#homeBox h1 {
	margin-bottom: 2rem;
}

.navbar {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.2rem;
}

.navbar-light .navbar-nav a.nav-link, .navbar-light .navbar-nav a.nav-link:link, .navbar-light .navbar-nav a.nav-link:visited {
	color: #333793;
	text-decoration: none;
}

.navbar-light .navbar-nav a.nav-link:hover, .navbar-light .navbar-nav a.nav-link:active, .navbar-light .navbar-nav a.active {
	color: #333333;
	text-decoration: none;
	background-color: #EDF1FE;
}

#news h2, #recentItems h2 {
	padding: 0.5rem 1rem;
	margin-top: -1rem;
	border-radius: 4px 4px 0px 0px;
	background-color: #FFFFFF;
}

#news p, #recentItems p {
		font-size: 0.95rem;
		margin: 1rem;
}

#newsarchive a {
	font-size: 0.95rem;
	margin-left: 1rem !important;
}

p {
	padding-bottom: 0rem !important;
}

.PTSans {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
}

.timestamp {
	font-size: 0.75rem;
	line-height: 1rem;
}

.toolbarNav {
	border-top: 2px dotted #9BA4EF;
	padding-top: 0.2rem;
}


/******************************************/
/* PAGINATION AND NAV STYLES */
/******************************************/

#alphabet {
	margin-bottom: 1rem;
}

#alphabet a, #pagelinks a {
	padding-right: 0.5rem;
}

ul.pagination {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
}

nav .page-item.active .page-link {
	font-weight: bold;
}

nav .page-item.disabled .page-link {
	color: #999999;
	text-decoration: none;
}

nav a.page-link, nav a.page-link:link, nav a.page-link:visited {
	padding-left: 0rem;
	border: 0px;
}

nav .page-item.active .page-link, nav a.page-link:hover, nav a.page-link:active {
	color: #333333;
	text-decoration: none;
	background-color: inherit;
	padding-left: 0rem;
	border: 0px;
}

ul.pipe li:not(:first-child):before {
	padding-right: 0.5rem;
	content: " | ";
}

ul.pipe {
	margin-top: 0.3rem;
	margin-bottom: 0.3rem;
}


/******************************************/
/* FORM AND BUTTON STYLES */
/******************************************/

.btn-primary, a.btn-primary, a.btn-primary:link, a.btn-primary:visited {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	color: #FFFFFF;
	text-decoration: none;
	background-color: #333793;
	border: 1px solid #333793;
}

.btn-primary:hover, a.btn-primary:hover, a.btn-primary:active {
	color: #333793;
	text-decoration: none;
	background-color: #FFFFFF;
	border: 1px solid #333793;
}

.btn-secondary {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 0.9rem;
	color: #333793;
	background-color: #EDF1FE;
	border: 1px solid #333793;
}

.btn-secondary:hover {
	color: #FFFFFF;
	background-color: #9BA4EF;
}

.btn-tertiary {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
	font-size: 0.9rem;
	color: #333793;
	background-color: #FFFFFF;
	border: 1px solid #333793;
}

.btn-tertiary:hover {
	color: #333793;
	background-color: #EDF1FE;
}

.form-text {
	margin-top: 0rem;
}

input, select, textarea {
		font-family: "PT Sans", Helvetica, Arial, sans-serif;
		font-size: 0.9rem;
}

label {
	font-weight: bold;
	margin-bottom: 0rem;
}


/******************************************/
/* STORY PAGE & OTHER DISPLAY STYLES */
/******************************************/

#authorNotes {
	padding: 1rem 1rem 0.5rem 1rem;
	background-color: #EDF1FE;
	border-radius: 4px;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.reviewBlock {
	margin-bottom: 2rem;
}	

/* seriesblock overrides because it's a jerk */
.seriesBlock .adminoptions {
	padding-bottom: 1rem;
}

.seriesBlock p, .seriesBlock ul {
	padding-bottom: 0rem !important;
	-webkit-margin-after: 0em;
	-webkit-margin-before: 0em;
}

.seriesBlock ul.pipe {
	margin-top: 0rem;
	margin-bottom: 0rem;
}
/* end seriesBlock overrides */

.storyBlock {
	margin-top: 1.5rem;
}

.storyBlock:last-child {
	margin-bottom: 3rem;
}

.storyBlock p {
	margin-bottom: 0rem;
	padding-bottom: 0rem;
}

.storyBlock .small {
	font-size: 0.8rem;
	line-height: 1.15rem;
}

.storyBlock ul.pipe {
	line-height: 1.2rem;
	margin-top: 0rem;
	margin-bottom: 0rem;
}

#storyHeader {
	font-family: "PT Sans", Helvetica, Arial, sans-serif;
}

#storyHeader .breadcrumb {
	font-size: 1rem;
	font-weight: bold;
	background-color: inherit;
	padding-left: 0rem;
	margin-left: 0rem;
}


/* CATEGORY PAGE STYLES */

.categoryGrid {
	margin-right: 2rem;
	margin-bottom: 2rem;
}


/* SEARCH PAGE STYLES */

.card {
	border: 0px;
}

.card-header {
	padding: 0.25rem 0rem;
	margin-top: 0.75rem;
	background-color: inherit;
	border-top: 1px solid rgba(0,0,0,.125);
}

#searchBox, #searchTerm {
	border-radius: 4px;
}

/******************************************/
/* BREAKPOINT OVERRIDES */
/******************************************/

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) { 

footer {
	padding: 1rem 8rem;
}

.navbar-brand {
	padding-top: 0.1rem;
}

#recentItems {
	margin-right: 3rem;
}

.storyBlock ul.pipe {
	line-height: 1.4rem;
	margin-top: 0rem;
	margin-bottom: 0rem;
}

.toolbarNav {
	border-top: none;
	padding-top: 0;
}


}
