/*
 * Mobile Web Reader general styles
 */

body {
	margin: 0px;
	padding: 0px;
	overflow: hidden;
}

.lock-position {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: fixed;
}

#header {
  position: fixed !important;
  z-index: 2000 !important;
}

#pageLoader {
	z-index: 10000 !important;
}

#articlesHeadline {
  text-indent: 0px;
}

/*
 * Mobile webreader feedback form
 */
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
  /* prevent auto-zoom */
  font-size: 16px;
}
#mobileWebreaderFeedback {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .8);
  padding-top: 20px;
	z-index: 20000;
}
#mobileWebreaderFeedback form {
	position: relative;
	max-width: 280px;
	max-height: 90%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 20px;
	margin: 0 auto;
	background-color: #fff;
  font-family: 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
}
#mobileWebreaderFeedback .closeMobileWebreaderFeedback {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 10px;
}
#mobileWebreaderFeedback h1 {
	color: #AC1D1D;
	padding-bottom: 20px;
}
#mobileWebreaderFeedback h2 {
	padding-top: 0;
}
#mobileWebreaderFeedback label {
	display: block;
	margin-top: 15px;
	width: 100%;
}
#mobileWebreaderFeedback img {
	display: block;
	margin-top: 15px;
}
#mobileWebreaderFeedback input {
	display: block;
	width: 100%;
	box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 3px;
  margin-top: 6px;
}

#mobileWebreaderFeedback .invalid {
	border-color: #AC1D1D;
}
#mobileWebreaderFeedback .feedbackError {
  color: #AC1D1D;
  display: none;
}
#mobileWebreaderFeedback textarea {
	display: block;
	width: 100%;
	height: 60px;
	box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding:0;
  margin-top: 6px;
}
#mobileWebreaderFeedback select {
  margin-top: 6px;
}
#mobileWebreaderFeedback #mobileWebreaderFeedbackSubmit {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  margin-top: 20px;
  padding: 10px;
  font-size: 14px;
}
#mobileWebreaderFeedbackThankYou,
#mobileWebreaderFeedbackError {
	display: none;
}

/*
 * Mobile webreader lookinside form
 */

#mobileWebreaderLookinside {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  padding-top: 20px;
  z-index: 20000;
}
#mobileWebreaderLookinside form {
  position: relative;
  max-width: 280px;
  max-height: 90%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  margin: 0 auto;
  background-color: #fff;
  font-family: 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
}
#mobileWebreaderLookinside .closeMobileWebreaderLookinside {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 10px;
}
#mobileWebreaderLookinside h1 {
  color: #AC1D1D;
  padding-bottom: 20px;
}
#mobileWebreaderLookinside h2 {
  font: normal 21px "Avenir-Black", "HelveticaNeue-Bold", Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #34715b;
  padding-top: 0;
}
#mobileWebreaderLookinside label {
  display: block;
  margin-top: 15px;
  width: 100%;
}
#mobileWebreaderLookinside input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 3px;
  margin-top: 6px;
}

#mobileWebreaderLookinside #mobileWebreaderLookinsideSubmit {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  margin-top: 20px;
  padding: 10px;
  font-size: 14px;
}

#mobileWebreaderLookinside p {
  text-indent: 0;
}

.signUpLink {
  margin-right: 35px;
  font-weight: normal;
  margin-top: 10px;
  padding-top: 10px;
  display: block;
}

/*
 * Mobile Web Reader nav bar styles
 */
.navigatorHeader {
	z-index: 10 !important;
}
#articlePageView {
	overflow: hidden;
}
#articleHolder {
  position: absolute;
  padding-top: 50px;
  max-height: none;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
  z-index: 700;
}
#mobileWebreaderNavbar {
	position: absolute;
	right: 0;
	top: 0;
	padding: 0 3%;
	font-size: 24px;
}
#mobileWebreaderNavbar i {
	cursor: pointer;
	padding: 12px 10px;
}
#backButton {
	display: block;
}
#homeButton {
	display: block;
}
#mobileWebreaderNavbar .pdfDownload {
  margin: 10px 40px;
}
.pdfDownload {
  display: inline-block;
  font-size: 20px;
  font-weight: normal;
  text-align: center;
  margin: 8px 0 20px 0;
  padding: 8px 8px;
  box-sizing: border-box;
  width: 100%;
  background-color: #888;
  color: #eee;
}

#replicaTOC .pdfDownload,
#mobileWebreaderMenu .pdfDownload {
  margin: 0;
}

/*
 * MWR Menu overrides
 */

#articleTOC {
  z-index: 10000 !important;
}

/*
 * MWR search (for ToC search which isn't present in the regular turnstyle)
 */
.navigatorSearch {
 	background-color: #f1f1f1;
 	box-shadow: -3px 3px 9px rgba(0, 0, 0, 0.5);
 	margin-top: 48px;
}
.navigatorSearch #tocHeader {
	top: -48px;
}
#tocTitle {
  display: none;
  width: 100%;
  height: 0px;
  border-top: 1px solid #007aff;
  border-left: 1px solid #999;
  background-color: #ffffff;
  text-align: center;
  font-weight: normal;
  color: #ffffff;
  margin: 0px auto 0px auto;
  box-sizing: border-box;
  box-shadow: -3px 3px 9px rgba(0, 0, 0, 0.5);
  font: bold 16px "Helvetica Neue";
  line-height: 0px;
}
#articleTOC > #tocTitle {
  margin-top: 48px;
}
#articleTOC article.box.small {
  box-sizing: border-box;
  height: 90px;
}
#tocSearch {
  width: 100%;
  height: 48px;
  background-color: #c9c9c9;
  text-align: center;
  margin: 0px auto;
  padding-top: 9px;
  padding-left: 3%;
  padding-right: 3%;
  border-bottom: 1px solid #a5a5a5;
  border-left: 1px solid #999;
  box-sizing: border-box;
  box-shadow: -3px 3px 9px rgba(0, 0, 0, 0.5);
  position: relative;
}
#issueButtons {
  padding: 8px 0px;
}
.navigatorSearch #tocSearch {
	margin-top: 0 !important;
}
#articleTOC > #tocSearch {
  margin: 0;
  text-align: left;
  margin-top: 48px;
}
#searchForm {
  margin: 0;
}
#searchField {
  width: 100%;
  height: 30px;
  -webkit-appearance: inherit;
  padding: 6px;
  padding-left: 10px;
  box-sizing: border-box;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#searchField:focus {
  outline: none;
}
#clearSearch {
  position: absolute;
  display: none;
  top: 14px;
  right: 4.5%;
  height: 20px;
  width: 20px;
  border-radius: 11px;
  background-color: #8e8e8e;
  color: #fff;
  font-size: 18px;
  line-height: 19px;
  padding: 0px;
  box-sizing: border-box;
  font-family: sans-serif;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /*    -webkit-transform: rotate(90deg); */

}
#cancelSearch {
  position: absolute;
  display: inline-block;
  top: 9px;
  right: -100px;
  background-color: transparent;
  color: #007aff;
  font-family: "HelveticaNeue", Helvetica, Arial, san-serif;
  font-size: 17px;
  font-weight: normal;
  height: 30px;
  border-radius: 4px;
  box-sizing: border-box;
  /*    margin-left: 2px; */

  border: 0px solid #777;
  margin-right: 0px;
  padding-right: 0px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#searchResults {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  overflow: scroll;
  padding: 3%;
  margin: 0;
  background-color: #f1f1f1;
  font-family: 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
  font-size: 14px;
  color: #000000;
  border-left: 1px solid #999;
  box-shadow: -3px 3px 9px rgba(0, 0, 0, 0.5);
}
#searchResults a.adLink {
  display: block;
  text-align: center;
}
.navigatorSearch > #searchResults {
  top: 48px !important;
}
#blankSlate {
  position: absolute;
  display: none;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}
#searchCurtain {
  display: none;
  position: absolute;
  top: 96px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 6;
  background-color: #000000;
  margin: 0px;
  padding: 0px;
  opacity: 0.4;
}
#offTOC {
  right: 0 !important;
  background-color: rgba(0, 0, 0, .8) !important;
  padding-top: 20px;
  z-index: 750 !important;
}
.issueTitle {
  display: none;
}
.searchterm {
  color: #007aff;
  font-weight: bold;
}
.cssX {
  position: relative;
  height: 20px;
  width: 20px;
  margin: 0px auto;
}
.cssX1 {
  width: 2px;
  height: 14px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  bottom: 3px;
  left: 9px;
  -webkit-transform: rotate(-45deg);
}
.cssX2 {
  width: 2px;
  height: 14px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  bottom: 3px;
  left: 9px;
  -webkit-transform: rotate(45deg);
}

/*
 * Mobile Web Reader menu styles
 */

#replicaTOC,
#mobileWebreaderMenu {
	position: fixed;
	top: 0;
	bottom: 0;
	overflow-y: auto;
	margin-top: 49px;
	background-color: #fff;
	border: 1px solid #ccc;
	right: -100%;
	width: 320px;
}
#replicaTOC,
#mobileWebreaderMenu.active {
	z-index: 900;
}
#mobileWebreaderSearch {
	height: auto;
}
#mobileWebreaderMenuFooter {
	position: absolute;
	display: none;
	box-sizing: border-box;
	bottom: 49px;
	right: 0;
	width: 320px;
	min-height: 45px;
	padding: 15px;
	border-top: 1px solid #ccc;
	z-index: 900;
	background-color: #fff;
	font-family: 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
}
#mobileWebreaderMenuFooter.active {
	display: block;
}

#searchResults, #scrollWrapper {
	padding-bottom: 55px;
}

/*
 * Mobile Web Reader Nav Help
 */
.horizontalSwipeArrow {
  display: none;
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 20px;
  height: 40px;
  -webkit-mask-box-image: url(/images/navigator/horizontalArrow.png);
  background: #000;
  box-sizing: border-box;
  margin: 2px;
  z-index: 100;
}
#pageBack .horizontalSwipeArrow {
  bottom: 50%;
  left: 0;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
#pageForward .horizontalSwipeArrow {
  bottom: 50%;
  right: 0;
}

/*
 * Mobile Web Reader search styles. Inserted into the search iframe.
 */

#blankSlate {
	display: none !important;
}

/*
 * Mobile Web Reader article list styles
 */
body > #scrollWrapper {
	top: 50px;
}
.navigatorHeader #headerLogoImage {
	position: relative;
	right: 50px;
}
#searchResults {
	overflow-x: hidden !important;
}
#replicaTOCList,
#mobileWebreaderArticleList {
  box-sizing: border-box;
  padding: 0 6px 92px 6px;
  max-height: 100%;
  overflow-y: scroll;
}
#replicaTOCList>ol,
#mobileWebreaderArticleList>ol {
	padding: 10px 12px;
}
#replicaTOCList ol,
#mobileWebreaderArticleList ol {
	list-style-type: none;
	padding: 0;
}
#replicaTOCList li,
#mobileWebreaderArticleList li {
	max-width: 300px;
}
#replicaTOCList li a,
#mobileWebreaderArticleList li a {
	font-weight: bold;
}
#replicaTOCList li li a,
#mobileWebreaderArticleList li li a {
	font-weight: normal;
}
#replicaTOCList .toc_link,
#mobileWebreaderArticleList .toc_link {
	position: relative;
	padding: 5px 0;
	cursor: pointer;
}
#replicaTOCList .toc_link:hover,
#mobileWebreaderArticleList .toc_link:hover {
	background-color: #ffffcc;
}
#replicaTOCList .page_start,
#mobileWebreaderArticleList .page_start {
	position: absolute;
	overflow: hidden;
	top: 5px;
	left: 5px;
	width: 40px;
}
#replicaTOCList .toc_entry,
#mobileWebreaderArticleList .toc_entry {
	margin-left: 5px;
}
#replicaTOCList li li .toc_entry,
#mobileWebreaderArticleList li li .toc_entry {
	margin-left: 50px;
}
#replicaTOCList .hidden,
#mobileWebreaderArticleList .hidden {
	display: none !important;
}

#replicaTOC #searchResults .headline {
	font-family: 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
	font-weight: normal;
	font-size: 16px;
	color: #000000;
	margin: 0 0 3% 0;
}


/*
 * MWR Turnstyle overrides
 */

.layout_verticalScroll .articleContent {
  padding: 0px;
  box-sizing: border-box;
  max-width: 100%;
}


/*
 * Utility class styles
 */

/*
 * Radio buttons that look like regular buttons, but still act as
 * radio buttons in that only one can be selected at a time.
 * Similar to bootstrap data-toggle="buttons"
 */
.group-buttons {
	color: #4679cc;
	font-family: 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
	font-size: 0px;
}
.group-buttons .group-button {
	display: inline-block;
	border: 1px solid #4679cc;
	margin-left: -1px;	/* overlap left/right border for adjacent buttons */
	padding: 5px 8px;
	border-radius: 0px;
	font-size: 14px;
	cursor: pointer;
}
/* hide the radio button circle, but allow it to be tab-focused */
.group-buttons .group-button input[type=radio] {
	position: absolute;
	clip: rect(0px,0px,0px,0px);
	pointer-events: none;
}
.group-buttons .group-button:first-child {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.group-buttons .group-button:last-child {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.group-buttons .group-button.selected {
	background-color: #e6e6e6;
	color: #333333;
	box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
.group-buttons .group-button:hover,
.group-buttons .group-button:focus,
.group-buttons .group-button.focus {
	background-color: #D4D4D4;
}
