/* CSS to fix problems with migrated pages using the WileyOTIS template */
.wileyotis-template table td, .wileyotis-template table th {
    padding: 5px;
    vertical-align: top;
}

.wileyotis-template table td img {
    max-width: none;
}

/* fix for image in tables */

table img {
	max-width: none;
}

/* Generic Styles & helper classes */

.reset-type {
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
}
.reset-type p {	
	margin-top: 0.5em;
	margin-bottom: 1em;
}
.reset-type a {
	text-decoration: underline;
}
.reset-type p a, .reset-type li a {	
	font-weight: bolder;
}
.reset-type h1, .reset-type h2, .reset-type h3, .reset-type h4, .reset-type h5, .reset-type h6 {
	margin-top: 0.75em;
	margin-bottom: 0.5em;
	font-weight: 300;
	line-height: 1.2;
}
.reset-type h1 {
	font-size: 2.5em;
}
.reset-type h2 {
	font-size: 2em;
}
.reset-type h3 {
	font-size: 1.75em;
}
.reset-type h4 {
	font-size: 1.5em;
}
.reset-type h5 {
	font-size: 1.25em;
}
.reset-type h6 {
	font-size: 1em;
}
/* Buttons */

.reset-type .btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	font-size: 16px;
	padding: .375em .75em;
	line-height: 1.5;
	text-decoration: none;
}
.reset-type .btn-block {
	display: block;
	width: 100%;
}

/*tables*/

.table-styled {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
}

.table-styled th,
.table-styled td {
  padding: 0.3rem;
  vertical-align: top;
  border-top: 1px solid rgba(0,0,0,0.25);
}

.table-styled thead th {
  vertical-align: bottom;
  border-bottom: 2px solid rgba(0,0,0,0.25);
}

.table-styled tbody+tbody {
  border-top: 2px solid rgba(0,0,0,0.25);
}

.table-styled .table-styled {
  background-color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-styled tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

/*make text serif at the correct font weight*/
.serif {
	font-family: 'Source Serif Pro', 'Times New Roman', Times, Baskerville, Georgia, serif;
	font-weight: 400;
}
/*make all headings within this wrapper serif with correct weight*/
.serif-headings h1, .serif-headings h2, .serif-headings h3, .serif-headings h4, .serif-headings h5, .serif-headings h6 {
	font-family: 'Source Serif Pro', 'Times New Roman', Times, Baskerville, Georgia, serif;
	font-weight: 400;
}

hr {
	box-sizing: content-box;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.15);
	height: 0;
    overflow: visible;
}

.border {
	border: 1px solid rgba(0,0,0,.15);
}
.border-top {
	border-top: 1px solid rgba(0,0,0,.15);
}
.border-right {
	border-right: 1px solid rgba(0,0,0,.15);
}
.border-bottom {
	border-bottom: 1px solid rgba(0,0,0,.15);
}
.border-left {
	border-left: 1px solid rgba(0,0,0,.15);
}

/* Styles that might need to be migrated into the entire new WOL platform, ie. pericles and hubs. */

.journal-banner-image {
	max-height: 80px;
    image-rendering: -webkit-optimize-contrast;
}
/* fix for society logos widget having two borders - the #societyText styles in the global CSS need to be formally removed, this is just a fix */
#societyText {
	margin: 0;
	padding: 0;
	border: none;
}

/* Template - basic-hero */

.hero {
	background-color: #005274;
	background-image: linear-gradient(45deg,#005274 0,#068853 100%);
	padding: 25px 0;
	color: #ffffff;
}

.hero h1 {
	position: relative;
    margin-bottom: 1em;
}
.hero h1:after {
	content: '';
    position: absolute;
    left: 0;
    bottom: -.2em;
    width: 1.5em;
    border-bottom: 1px solid;
}

/* INFO PAGE STYLES */
.full-width-header {
    padding-top: 50px;
    padding-bottom: 40px;
}

.librarians .full-width-header,
.researchers .full-width-header,
.societies .full-width-header {
    background: url(/pb-assets/hub-assets/pericles/info-pages-librarians.jpg) no-repeat center center,linear-gradient(45deg,#005274 0,#068853 100%);
    background-size: cover;
    color: #f1f1f1;
}

.librarians .full-width-header {
	background-image: url(/pb-assets/hub-assets/pericles/info-pages-librarians.jpg);
}
.researchers .full-width-header {
	background-image: url(/pb-assets/hub-assets/pericles/info-pages-researchers.jpg);
}
.societies .full-width-header {
	background-image: url(/pb-assets/hub-assets/pericles/info-pages-societies.jpg);
}

/* Main menu colors */
/*
.librarians .main-nav {
    background-color: orange;
}

.librarians .dropdown__menu {
    border-color: red;
}

.librarians .dropdown:hover {
    background-color: green;
}

.librarians .dropdown__menu li:hover {
    background-color: blue;
}
*/
