/* -----------------------------------------------
Journal local stylesheet.
Author:   Paul Ryan
Version:  Jan 2017
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

	/* --- Meta styles and background --- */

body {
	/* style | variant | weight | stretch | size/line-height | family */
	font: normal 12px/1.5 Arial, Verdana, Helvetica, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: 
	url(../assets/md5images/5b414a0d5249a40ea5994c80de544003.gif) repeat-x left top,
	#cdcdcd url(../assets/md5images/0103deff0cd171d6c7fe3a9c2b4e05d0.gif) no-repeat 50% 143px; 
	background-size: auto auto, 100% auto;
}


/* ---------------- Header ---------------- */

#hwi #header {
	position: relative;  /* needed for logo positioning */ 
  	height: auto !important; /* !important overrides mbl styling */
}

#hwi #banner_image {
	display: block; 
	width: 980px !important;
	height: auto; /* avoids warping improperly sized header image */
}

#hwi #banner_link { line-height: 0; } /* removes header/nav gap in mbl */ 

	/* --- Logo --- */

#hwi #logo_image { /* include an image for accessibility */
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;  
	left: 0;  /* change to "left:" for left aligned logo */
	width: 24.387755102% !important;  /* 239 / 980 */
	height: auto; 
}


/* ---------------- Navigation ---------------- */

#hwi #navigation,
#hwi #navigation #tabs {
	height: 36px;
	overflow: hidden; } /* have seen issues with tabs extending below nav container */


#hwi #navigation #tabs,
#hwi #navigation #tabs ul,
#hwi #navigation #tabs ul li {
	padding: 0;
	margin: 0; }

#hwi #navigation #tabs { 
	width: 240px;
	background: #ced8e6; }

#hwi #navigation #tabs a {
	font: normal 12px Arial, Verdana, Helvetica, sans-serif;		
	display: block;
	width: auto !important; /* fixes "my account" not fitting in container on page load */	
	line-height: 22px;
	color: #062d64;
	background-color: #ced8e6;
	padding: 0 9px 0; 
	margin: 10px 0 0;
	border: 0;
	border-right: 1px solid #7e1928;
	float: left; }
	
#hwi #navigation #tabs a:hover,
#hwi #navigation #tabs a:active,
#hwi #navigation #tabs a:focus {
	text-decoration: underline;
}

#hwi #navigation #tabs li:last-child a {  /* remove 4th border for nav tab separators */
	border-right: none; } 

#hwi #navigation #tabs a span { font-size: 12px; }	/* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */

#hwi #navigation #tabs li:first-child a { padding-left: 15px; }

	
/* ---------------- Sidebar ---------------- */

#hwi #sidebar { padding-top: 16px; }

#hwi #sidebar a:link,
#hwi #sidebar a:visited {
	font: normal 13px Arial, Verdana, Helvetica, sans-serif;	
	color: #062d64;
	text-decoration: none; 
}

#hwi #sidebar a:hover,
#hwi #sidebar a:active,
#hwi #sidebar a:focus {
	color: #000;
	text-decoration: underline; 
}

	/* --- Highlighted sidebar links --- */

#hwi #sidebar ul#navlist {
	border-top: none; }	 /* border added by ir-custom.css by default */
#hwi #sidebar ul#navlist li:first-child a {
	border-top: 1.4px solid #8b3a48; /* border is removed if #navlist has no content */	
}	
	
#hwi #sidebar ul#navlist li a {
	color: #062d64;
	font-weight: normal;	
	background: #ced8e6;
	border-bottom: 1.4px solid #8b3a48; 
}	

		/* Sidebar link colors */
#hwi #sidebar ul#navlist li a:active,
#hwi #sidebar ul#navlist li a:hover,
#hwi #sidebar ul#navlist li a:focus {
	color: #062d64;
	background: #ced8e6; 
	font-weight: bold;
}	

	
	/* --- Sidebar text --- */
	
#hwi #sidebar #sidebar-search label,
#hwi .sidebar-search h2,
#hwi #sidebar #issn p {
	color: #000000; /* Search, "Enter search terms," ISSN" */
	border: 0; } 

#hwi .sidebar-search h2 { display: none; }	

#hwi #sidebar #browse,
#hwi #sidebar #sidebar-search { padding-left: 15px; } /* aligning sidebar search with rest of sidebar */	

#hwi #sidebar p.advanced + div { display: none; }


/* ---------------- Main Content ---------------- */

#hwi #content { background-color: transparent; }

#hwi #content .text { margin: 0 10px 0 32px; }	

#sub { 
	width: 672px;
	margin: 22px 0 10px; }

#main.text span.pull-right a.btn.followable { margin-right: 16px; }

	/* --- Breadcrumbs --- */

#hwi #main.text div.crumbs p { margin-bottom: 0; }

#hwi #main.text div.crumbs a {
	text-decoration: none;
	color: #083a81; 
}	
	
#hwi #main.text div.crumbs a:hover,
#hwi #main.text div.crumbs a:active,
#hwi #main.text div.crumbs a:focus {
	text-decoration: underline;	
	color: #000000; 
}

	/* --- Headers --- */

#hwi #main.text .article-list h1,    /* Current Issue - without cover art */
#alpha h1, #series-home h1 {   /* Journals with cover art */
	font: normal 22px Arial, Verdana, Helvetica, sans-serif; /* Current Issue */
}

#hwi .article-list h2,   /* Article, or other doctype */
#coverart #alpha .article-list h2 {   /* Journals with cover art */
	font: normal 21px Arial, Verdana, Helvetica, sans-serif;
	background: transparent;   /* removes background and adds a line under doctype header */
	border-bottom: 1px solid #bfbfbf; 
	padding-bottom: 0;
	margin-bottom: 25px;	
}	

	/* --- Links --- */

#hwi #main.text a:link,
#hwi #main.text a:visited {
	text-decoration: underline;
	color: #083a81; }

#hwi #main.text a:hover,
#hwi #main.text a:active,
#hwi #main.text a:focus { 
	color: #000000;
	text-decoration: underline;
}
#hwi #main.text .article-list a:link,
#hwi #main.text .article-list a:visited {
	text-decoration: none; }	
	
#hwi #main.text .article-list a:hover,
#hwi #main.text .article-list a:active,
#hwi #main.text .article-list a:focus { 
	color: #000000;
	text-decoration: underline;
}

	/* --- PDF icons and article lists --- */

#hwi #main.text div.doc { margin: 0 0 15px; }	
#hwi #main.text div.article-list .pdf { width: auto; }
#coverart #alpha .article-list p { margin-left: 48px; }
#hwi #main.text div.article-list .pdf a { text-decoration: none; } /* removes extra underline on PDF icon */	

	/* --- Editors and Cover art --- */ 

#coverart #beta { 
	float: right;
	margin-right: 15px; }
	
		/* Cover art */
#hwi #coverart #beta .coverart-box h4 {
    font: normal 18px Arial, Verdana, Helvetica, sans-serif; /* default is 18px */
    color: #000000;
    text-align: left;
    text-transform: none;
    border-bottom: 1px solid #bfbfbf; }

#hwi #coverart #beta .coverart-box {
	font: normal 12px Arial, Verdana, Helvetica, sans-serif;
	border: 0; }

#hwi #coverart #beta #coverart-box-container {
	border: 0; }

#coverart #beta	{ width: auto; }
#coverart #beta #coverart-misc { width:225px; }	

#hwi #coverart #beta dl  {
	margin-left: 0; }

#hwi #coverart #beta #coverart-editors dt {
	font-size: 12px;
	padding-top: 10px; }


/* ---------------- Footer ---------------- */	

#hwi #footer {
	height: 94px;
	background-color: #ced8e6;
	border-top: 8px solid #73000f; }

#hwi #footer p:first-of-type {
	padding-top: 40px; }

#hwi #footer p,
#hwi #footer p a  {
	font: normal 12px Arial, Verdana, Helvetica, sans-serif;
	color: #062d64;
	text-decoration: none; }

#hwi #footer #bepress a {
	height: 94px; }

#hwi #footer p a:hover,
#hwi #footer p a:active,
#hwi #footer p a:focus {
	text-decoration: underline; }

	/* Additional footer logo */

#hwi #footer { position: relative; }

a#footerlink { margin: 0; }

#footerlogo { 
	position: absolute;
	top: 0;
	right: 0;
 } 

.mbl #footerlink { display: none; } /* logos aren't hidden by mbl footer */



/* ---------------- Miscellaneous fixes ---------------- */
	
/* removing coverart misc margin for call for papers below coverart 2019.01.31 bnyikos */
#hwi div#coverart-misc.coverart-box p {
    margin: 0; }
   
/* DOI field 2019.01.31 bnyikos */
#hwi #doi.element h4 {
	color:#000;
	margin:0;
	padding:4px;
	padding-bottom:0;
	font-weight: bold;
	font-size: 13px; }

/* HWI sponsor logos 2019.08.28 bnyikos */	
#hwi #hwi-sponsors a.wide img {
	width:100%;
	height:auto;
	float:left;
	}
#hwi #hwi-sponsors img {
	width:50%;
	height:auto;
	float:left;
	border:1px solid #000;
	}
	
/* ---------------- Mobile ---------------- */

.mbl #navigation { display: none; }

/* call for papers under cover image Apr 10 2020 bnyikos */
#hwi #hwi-sponsors h4 {
    padding-top: 10px;
}

/* DOAJ image 2020.07.20 bnyikos */
#hwi #sidebar img#logo-doaj {
	height:auto;
    max-width: 220px;
    }

#hwi #sidebar a#doaj-link {
	display:block;
	margin-bottom:28px;
}