/* Start: Left-align text in logo with text on page */
.maincontent, #globalactions, #footer {
  margin-left: 40px;
  margin-right: 40px;
}

#quicksearchwrapper {
  margin: 8px 40px 0 0;
}

a, a:active, .link, .link:active {
  color: #188bb3;
}

#globalnav ul li a, #globalnav ul li a:visited, #orgnav ul li a, #orgnav ul li a:visited {
  color: #188bb3;
  background: white;
}

.sectionnav a, .sectionnav a:visited {
  color: #188bb3;
}

#globalnav ul li a:hover, #globalnav ul li a:focus, #orgnav ul li a:hover, #orgnav ul li a:focus, .sectionnav a:hover, .sectionnav a:focus {
  background: #188bb3;
  color: white;
}

.pagenav ul li a:hover, .pagenav ul li a:focus {
  /* interaction style for prev/next nav */
  background: #188bb3;
  color: white;
}

#searchnav li a:hover, #browsenav li a:hover, #xcollsearchtabs li a:hover {
  background: #188bb3;
  /* White border around hover looks better -- rendering of rounded
     buttons with background and colored bordered is pixelated in 
     firefox */
  border: 1px solid white;
  border-bottom: 0;
  color: white;
}

#format-buttons a, #zoom a {
  background: #fff;
}
#format-buttons a:hover, #zoom a:hover {
  background: #188bb3;
  border-color: #188bb3;
  color: #fff;
}
#format-buttons a.current, #format-buttons a.current:hover, #zoom a.current, #zoom a.current:hover {
  background: #ddd;
  color: #188bb3;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
  background: #bbb;
}
#format-buttons a, #format-buttons a.current:hover, #zoom a, #zoom a.current:hover {
  border: 1px solid #aaa;
}

a, a:active, .link, .link:active {
  color: #bd1c54;
}

#globalnav ul li a, #globalnav ul li a:visited, #orgnav ul li a, #orgnav ul li a:visited {
  color: #bd1c54;
  background: white;
}

.sectionnav a, .sectionnav a:visited {
  color: #bd1c54;
}

#globalnav ul li a:hover, #globalnav ul li a:focus, #orgnav ul li a:hover, #orgnav ul li a:focus, .sectionnav a:hover, .sectionnav a:focus {
  background: #bd1c54;
  color: white;
}

.pagenav ul li a:hover, .pagenav ul li a:focus {
  /* interaction style for prev/next nav */
  background: #bd1c54;
  color: white;
}

#searchnav li a:hover, #browsenav li a:hover, #xcollsearchtabs li a:hover {
  background: #bd1c54;
  /* White border around hover looks better -- rendering of rounded
     buttons with background and colored bordered is pixelated in 
     firefox */
  border: 1px solid white;
  border-bottom: 0;
  color: white;
}

#format-buttons a, #zoom a {
  background: #fff;
}
#format-buttons a:hover, #zoom a:hover {
  background: #bd1c54;
  border-color: #bd1c54;
  color: #fff;
}
#format-buttons a.current, #format-buttons a.current:hover, #zoom a.current, #zoom a.current:hover {
  background: #ddd;
  color: #bd1c54;
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
  background: #bbb;
}
#format-buttons a, #format-buttons a.current:hover, #zoom a, #zoom a.current:hover {
  border: 1px solid #aaa;
}

#globalactions {
  margin-top: 1em;
  padding: 0px 40px 5px 40px;
  margin-left: 0;
  margin-right: 0;
  border-bottom: 4px solid #e5e5e5;
  font-size: .8em;
  height: 9.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

html, body {
  height: 100%;
}

body {
  background-color: #e5e5e5;
  font-family: "myriad-pro", arial, sans-serif;
  font-weight: 400;
}

#globalactions button {
  border: none;
  background: transparent;
  color: #bd1c54;
  cursor: pointer;
  font-size: 1.2em;
  display: inline-block;
  margin-right: 20px;
  margin-top: 1px;
  padding: 6px 5px 6px;
  vertical-align: top;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

#globalactions button:hover, #globalactions button:focus, #globalactions button:active {
  color: #fff;
  background: #bd1c54;
  outline: none;
}

#globalnav ul {
  margin-bottom: 0;
  margin-top: 2px;
  height: auto;
  line-height: inherit;
}

#globalnav ul li {
  margin-bottom: 0;
  height: auto;
  line-height: inherit;
}

#globalnav {
  height: auto;
  width: auto;
  display: inline-block;
  margin-bottom: 0;
}

#globalnav ul li a:link {
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}

#globalnav ul li a:link.current, #globalnav ul li a:visited.current, #orgnav ul li a:link.current, #orgnav ul li a:visited.current {
  border: 0;
}

#globalnav ul li a.current:hover, #globalnav ul li a.current:active, #globalnav ul li a.current:hover, a:focus, input:focus, .link:focus {
  color: #bd1c54 !important;
}

/* General styles for all menus */
.cbp-spmenu {
  position: fixed;
}

.cbp-spmenu h3 {
  color: #fff;
  font-size: 1.9em;
  padding: 20px;
  margin: 0;
  background: #f2c68a;
  font-weight: 700;
  letter-spacing: 3px;
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h3.title {
  font-weight: 700;
}

.cbp-spmenu a {
  display: block;
  color: #fff;
  font-size: 1.1em;
  font-weight: 400;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.cbp-spmenu a.toc {
  background: #bd1c54;
}

.cbp-spmenu a.front {
  background-color: #818285;
}

.cbp-spmenu a.ch-1 {
  background-color: #e1653a;
}

.cbp-spmenu a.ch-2 {
  background-color: #f2a94a;
}

.cbp-spmenu a.ch-3 {
  background-color: #6a9cb3;
}

.cbp-spmenu a.ch-4 {
  background-color: #d54a74;
}

.cbp-spmenu a.ch-5 {
  background-color: #8e80a4;
}

.cbp-spmenu a.ch-6 {
  background-color: #eb5124;
}

.cbp-spmenu a.ch-7 {
  background-color: #415749;
}

.cbp-spmenu a.ch-8 {
  background-color: #da6e27;
}

.cbp-spmenu a.ch-9 {
  background-color: #5e62ac;
}

.cbp-spmenu a.ch-10 {
  background-color: #86c46b;
}

.cbp-spmenu a.back {
  background-color: #818285;
}

.cbp-spmenu a:hover {
  background: #f2c68a;
}

.cbp-spmenu a:active {
  background: #afdefa;
  color: #47a3da;
}

/* Orientation-dependent styles for the content of the menu */
.cbp-spmenu-vertical {
  width: 240px;
  height: 100%;
  top: 0;
  z-index: 1000;
  overflow-y: scroll;
}

.cbp-spmenu-vertical a {
  padding: 1em;
}

.cbp-spmenu-horizontal {
  width: 100%;
  height: 150px;
  left: 0;
  z-index: 1000;
  overflow: hidden;
}

.cbp-spmenu-horizontal h3 {
  height: 100%;
  width: 20%;
  float: left;
}

.cbp-spmenu-horizontal a {
  float: left;
  width: 20%;
  padding: 0.8em;
  border-left: 1px solid #258ecd;
}

/* Vertical menu that slides from the left or right */
.cbp-spmenu-left {
  left: -240px;
}

.cbp-spmenu-right {
  right: -240px;
}

.cbp-spmenu-left.menu-open {
  left: 0px;
}

.cbp-spmenu-right.menu-open {
  right: 0px;
}

/* Horizontal menu that slides from the top or bottom */
.cbp-spmenu-top {
  top: -150px;
}

.cbp-spmenu-bottom {
  bottom: -150px;
}

.cbp-spmenu-top.menu-open {
  top: 0px;
}

.cbp-spmenu-bottom.menu-open {
  bottom: 0px;
}

/* Push classes applied to the body */
.push-body {
  overflow-x: hidden;
  position: relative;
  left: 0;
}

.push-body-toright {
  left: 240px;
}

.push-body-toleft {
  left: -240px;
}

/* Transitions */
.cbp-spmenu,
.push-body {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Example media queries */
@media screen and (max-width: 55.1875em) {
  .cbp-spmenu-horizontal {
    font-size: 75%;
    height: 110px;
  }

  .cbp-spmenu-top {
    top: -110px;
  }

  .cbp-spmenu-bottom {
    bottom: -110px;
  }
}
@media screen and (max-height: 26.375em) {
  .cbp-spmenu-vertical {
    font-size: 90%;
    width: 190px;
  }

  .cbp-spmenu-left,
  .push-body-toleft {
    left: -190px;
  }

  .cbp-spmenu-right {
    right: -190px;
  }

  .push-body-toright {
    left: 190px;
  }
}
#staticcontent p.blurb {
  margin: 0 2em 2em;
  font-size: 1.2em;
}

#staticcontent .jacket {
  float: left;
  margin: 20px 40px 20px 0px;
}

#staticcontent .jacket-copy {
  padding-top: 40px;
}

#staticcontent .jacket-copy p.book-meta-options {
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

#staticcontent .read a, #staticcontent .buy a, #staticcontent .download a {
  color: #fff;
  background: #bd1c54;
  padding: 5px 10px;
  margin-right: 20px;
  text-decoration: none;
  display: block;
  width: 45%;
  clear: left;
  margin-left: 0;
  margin-top: 20px;
}

#staticcontent .read a:hover, #staticcontent .read a:focus, #staticcontent .read a:active, #staticcontent .buy a:hover, #staticcontent .buy a:focus, #staticcontent .buy a:active, #staticcontent .download a:hover, #staticcontent .download a:focus, #staticcontent .download a:focus, #staticcontent .download a:active {
  color: #f2c68a;
}

#wrapper {
  background-color: #fff;
  -moz-box-shadow: 0 2px 6px -1px rgba(37, 36, 35, 0.5);
  -webkit-box-shadow: 0 2px 6px -1px rgba(37, 36, 35, 0.5);
  box-shadow: 0 2px 6px -1px rgba(37, 36, 35, 0.5);
  border-left: 1px solid rgba(37, 36, 35, 0.5);
  border-right: 1px solid rgba(37, 36, 35, 0.5);
  background: #fff;
  min-height: 100%;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  max-width: 70em;
  min-width: initial;
}

#masthead {
  height: 20em;
  background-color: #bd1c54;
  color: #fff;
}

#logo {
  margin-left: 2em;
  width: auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

#logo .crms-title {
  display: block;
  font-weight: 700;
  letter-spacing: 3px;
}

#logo .crms-subtitle {
  display: block;
  letter-spacing: 1px;
  font-size: 18px;
  color: #f2c68a;
}

#logo ul.contributors li {
  display: inline;
  margin-right: 10px;
  letter-spacing: 1px;
}

#logo ul.contributors li.lead {
  display: block;
  font-size: 20px;
}

#logo a {
  color: #fff;
  text-decoration: none;
}

#logo a:hover, #logo a:focus, #logo a:active {
  color: #f2c68a !important;
}

#logo img {
  display: none;
}

#logo h3.topheadlink {
  text-decoration: none;
  font-size: 40px;
  text-transform: uppercase;
  width: 300px;
  font-style: normal;
  margin: 10px 0px 0px 25px;
  text-shadow: 1px -1px 3px rgba(0, 0, 0, 0.15);
}

#logo .publisher {
  width: 300px;
  margin: 0 0 0 25px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

#quicksearch {
  float: right;
  margin-left: 20px;
}

#quicksearch input[type="text"] {
  font-size: 1em;
  padding: 1px 5px;
  margin-right: 5px;
  width: 105px;
  font-family: "myriad-pro", arial, sans-serif;
  font-weight: 400;
}

#quicksearch input[type="submit"] {
  font-size: 1em;
  padding: 3px 5px;
  background: #bd1c54;
  border: none;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "myriad-pro", arial, sans-serif;
  font-weight: 400;
}

#quicksearchwrapper .quicksearch-options {
  display: none !important;
}

#quicksearchtext {
  float: right;
  clear: right;
  margin-top: 3px;
}

#footer {
  text-align: left;
  margin-bottom: 0px;
  padding-bottom: 2em;
  background: none;
  height: 100%;
}

#footer .meta {
  text-align: left;
}

#footer .meta p {
  padding-top: 0;
}

#footer .meta p:first-child {
  font-weight: bold;
}

.content-top {
  display: none;
}

#cover-image-wrapper {
  float: none;
}

#cover-image-wrapper img, .book-img img {
  border: none;
  box-shadow: 0 2px 6px -1px rgba(37, 36, 35, 0.5);
}

#toc #header h1.title, #resultsbody .content-top #header h1.title {
  margin-bottom: 0;
  font-weight: 600;
}

#toc #header .authors, #resultsbody .content-top #header .authors {
  margin-bottom: 30px;
}

#tocbody .content-top + h1 {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

ul#toccontents {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#articlebody .arrowsectionnav + div {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#articlebody .arrowsectionnav + div h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  margin-top: 2em;
  margin-bottom: 1em;
  padding: 2em 1em 1em;
  color: #fff;
}

#articlebody.front .arrowsectionnav + div h2 {
  background-color: #818285;
}

#articlebody.ch-1 .arrowsectionnav + div h2 {
  background-color: #e1653a;
}

#articlebody.ch-2 .arrowsectionnav + div h2 {
  background-color: #f2a94a;
}

#articlebody.ch-3 .arrowsectionnav + div h2 {
  background-color: #6a9cb3;
}

#articlebody.ch-4 .arrowsectionnav + div h2 {
  background-color: #d54a74;
}

#articlebody.ch-5 .arrowsectionnav + div h2 {
  background-color: #8e80a4;
}

#articlebody.ch-6 .arrowsectionnav + div h2 {
  background-color: #eb5124;
}

#articlebody.ch-7 .arrowsectionnav + div h2 {
  background-color: #415749;
}

#articlebody.ch-8 .arrowsectionnav + div h2 {
  background-color: #da6e27;
}

#articlebody.ch-9 .arrowsectionnav + div h2 {
  background-color: #5e62ac;
}

#articlebody.ch-10 .arrowsectionnav + div h2 {
  background-color: #86c46b;
}

#articlebody.back .arrowsectionnav + div h2 {
  background-color: #818285;
}

#articlebody .arrowsectionnav {
  position: fixed;
  margin-left: -25px;
  width: 93%;
}

#articlebody a.arrow-docnavbutton {
  text-decoration: none;
  font-size: 80px;
  text-shadow: 0 1px 2px grey;
  background-color: transparent;
  border: 0;
  z-index: 10;
  -o-transition: .3s;
  -ms-transition: .3s;
  -moz-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  color: #e5e5e5;
  opacity: 0.9;
}

.sectionnav a {
  font-size: .8em;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

#articlebody a.arrow-docnavbutton:hover {
  opacity: 0.9;
  transition: .8s;
  color: #bd1c54;
}

#articlebody a#next_link.arrow-docnavbutton {
  float: right;
}

#articlebody .content-top {
  margin-bottom: 3em;
}

#articlebody p, #articlebody ul, #articlebody ol, #articlebody li, #articlebody .q1-block, #articlebody .q1-poem {
  letter-spacing: 0.02rem;
  line-height: 1.6em;
  font-size: 17px;
  margin-bottom: 30px;
}

#article li {
  margin-bottom: 20px;
}

#articlebody p.rend-right, #articlebody .rend-right {
  text-align: right;
}

#articlebody h1, #articlebody h2, #articlebody h3, #articlebody h4, #articlebody h5, #articlebody h6 {
  line-height: 1.6em;
}

#articlebody h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: #818285;
}

#articlebody h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #818285;
}

#articlebody h4 .rend-i {
  font-style: normal;
}

#articlebody h5 {
  font-size: 17px;
}

#articlebody .content-top #header h1.title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px;
}

#articlebody .content-top #header .authors {
  font-size: 14px;
  margin: .1em 0 .5em 0;
}

#articlebody .content-top #header #doi, #articlebody .content-top #header #licenseinfo, #articlebody .content-top #header .toc {
  font-size: 12px;
  float: left;
}

#articlebody .content-top #header #licenseinfo, #articlebody .content-top #header .toc {
  margin-left: 15px;
}

#articlebody .content-top #header #publisher-and-date, #articlebody .content-top #cover-image-wrapper {
  display: none;
}

.content-top #header {
  display: none;
}

#extras {
  float: none;
  margin: .1em 0 .2em;
  display: block;
  clear: none;
  width: auto;
  padding-bottom: 0;
  border-top: solid 1px #e5e5e5;
  padding-top: 9px;
  font-family: "myriad-pro", arial, sans-serif;
  font-weight: 400;
}

#extras ul {
  margin: 0;
}

#extras .ui-corner-all {
  border-radius: 0;
}

#extras .altmetric-embed {
  padding-top: 0;
  float: left;
  margin-right: 10px;
}

#articlebody table ul li {
  font-size: 16px;
  letter-spacing: 0;
}

#articlebody .figure p {
  font-size: .9em;
  letter-spacing: 0;
}

#articlebody .q1-block .lg {
  width: auto !important;
}

#articlebody table th, #articlebody table td {
  padding: 20px;
}

#articlebody .sidebar {
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border: 0.3em solid #818285;
  border-left: 5em solid #818285;
  background: #fff;
  font-family: "myriad-pro", arial, sans-serif;
  font-weight: 300;
}

#articlebody.ch-1 .sidebar {
  border-color: #e1653a;
}

#articlebody.ch-2 .sidebar {
  border-color: #f2a94a;
}

#articlebody.ch-3 .sidebar {
  border-color: #6a9cb3;
}

#articlebody.ch-4 .sidebar {
  border-color: #d54a74;
}

#articlebody.ch-5 .sidebar {
  border-color: #8e80a4;
}

#articlebody.ch-6 .sidebar {
  border-color: #eb5124;
}

#articlebody.ch-7 .sidebar {
  border-color: #415749;
}

#articlebody.ch-8 .sidebar {
  border-color: #da6e27;
}

#articlebody.ch-9 .sidebar {
  border-color: #5e62ac;
}

#articlebody.ch-10 .sidebar {
  border-color: #86c46b;
}

#articlebody .q1-callout {
  font-family: "myriad-pro", arial, sans-serif;
  font-weight: 300;
  padding: 1.5em;
  margin: .5em 1.5em .5em 0;
}

#articlebody .q1-callout p {
  font-weight: normal;
  font-size: .9em;
  margin-bottom: 1em;
}

#articlebody .q1-callout + ol.numbered li {
  list-style-position: inside;
}

#articlebody ul.monograph-navigation {
  list-style: none;
}

#articlebody ul.monograph-navigation li {
  margin-bottom: 10px;
  line-height: .9em;
  font-size: .9em;
}

#articlebody .line {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 3em;
  text-indent: -3em;
}

#articlebody p.numberednote, #articlebody li.bibl {
  -ms-word-break: break-all;
  /* Be VERY careful with this, breaks normal words wh_erever */
  /* word-break: break-all; */
  /* Non standard for webkit */
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}

@media screen and (min-width: 33.125em) {
  #masthead {
    height: 20em;
  }

  #cover-image-wrapper {
    float: left;
  }

  #quicksearchwrapper {
    margin: 8px 30px 0 0;
    clear: right;
    float: right;
    font-size: 0.8em;
    position: relative;
    width: auto;
    top: 0;
    left: 0;
  }

  #quicksearchtext {
    float: none;
    clear: none;
    margin-top: 0.5em;
  }

  #footer {
    padding-bottom: 2em;
  }

  #globalactions {
    height: 6.5em;
  }
}
@media screen and (min-width: 36.188em) {
  #staticcontent .read a, #staticcontent .buy a, #staticcontent .download a {
    display: block;
    width: 20%;
    margin-left: 340px;
    margin-top: 20px;
    clear: none;
  }
}
@media screen and (min-width: 40.625em) {
  #quicksearchwrapper {
    margin: 8px 40px 0 0;
  }

  #quicksearchwrapper .quicksearch-options {
    display: inline !important;
  }

  .content-top {
    padding-bottom: 0;
  }

  .title .book-meta {
    margin-left: 200px;
  }

  .title .book-img {
    float: left;
  }
}
@media screen and (min-width: 44.375em) {
  #wrapper {
    width: 100%;
  }

  #articlebody .arrowsectionnav {
    margin-left: -10px;
    width: 91%;
  }

  #articlebody a.arrow-docnavbutton {
    font-size: 120px;
  }

  #articlebody .arrowsectionnav + div {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  #footer {
    background: url(/m/mpubs/graphics/mpub-logo-bw.png) no-repeat transparent 100% 8px;
  }

  #masthead {
    height: 16em;
  }
}
@media screen and (min-width: 50.625em) {
  #wrapper {
    width: 90%;
  }

  #articlebody .arrowsectionnav {
    width: 84%;
  }

  #masthead {
    height: 12em;
  }
}
@media screen and (min-width: 63.5em) {
  #extras {
    float: right;
    margin: .1em 0 .2em;
    display: inline-block;
    clear: none;
    width: auto;
    padding-bottom: 0;
    border-top: none;
    padding-top: 0;
    font-family: "myriad-pro", arial, sans-serif;
    font-weight: 400;
  }

  #globalactions {
    height: auto;
  }

  #staticcontent .read a, #staticcontent .buy a, #staticcontent .download a {
    display: inline;
    width: auto;
    margin-left: 0;
    margin-top: 0;
  }
}
@media screen and (min-width: 77.812em) {
  #articlebody .arrowsectionnav {
    width: 85%;
  }
}
@media screen and (min-width: 77.82em) {
  #articlebody .arrowsectionnav {
    width: 1060px;
  }
}
