
body {
  font-size: 16px;
  text-rendering: optimizeLegibility;
  color: #5a5a5a;

  /* for some reason I need the margin set at 1 to get the gradient on firefox */
  margin: 1px;
  background-color: rgb(225, 225, 225);
  font-family: 'Lato', sans-serif;
}

.thp-viewbox {
  height: 100% !important;
  width: 100%;
  position: fixed !important;
  overflow: scroll !important;
}

.thp-beach-background {
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(https://images.thehawaiiproject.com/beachbook.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.font-bigger {
  font-size: 2rem !important;
}

.font-big {
  font-size: 1.5rem !important;
}

.font-medium {
  font-size: 1rem !important;
  line-height: 1.4;
}

.font-small {
  font-size: 0.75rem !important;
  line-height: 1.4;
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

.masonry-stamp a:hover,
.masonry-stamp a:focus {
  color: #D0D0D0;
}

hr {
  border: 0;
  border-top: 1px solid rgb(90 167 164 / 50%);
  margin: 2px 0;
}

hr.ornamentleft,
hr.ornamentright {
  width: 45%;
  float: left;
  margin-top: 32px;
  margin-bottom: 50px;
  padding: 0;
  border: none;
  height: 1px;
  color: #333;
  text-align: center;
}

hr.ornamentleft {
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgb(134, 131, 48));
  background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgb(134, 131, 48));
  background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgb(134, 131, 48));
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgb(134, 131, 48));
}

hr.ornamentright {
  background-image: -webkit-linear-gradient(left, rgb(134, 131, 48), rgba(0, 0, 0, 0));
  background-image: -moz-linear-gradient(left, rgb(134, 131, 48), rgba(0, 0, 0, 0));
  background-image: -ms-linear-gradient(left, rgb(134, 131, 48), rgba(0, 0, 0, 0));
  background-image: -o-linear-gradient(left, rgb(134, 131, 48), rgba(0, 0, 0, 0));
}

span.ornamentcenter {
  width: 10%;
  text-align: center;
  margin: 0;
  float: left;
}

h1 {
  font-size: 32px;
}

.fake-h1 {
  font-size: 36px;
  /* margin-top: 20px; */
  /* margin-bottom: 10px; */
  /* font-family: inherit; */
  /* font-weight: 500; */
  line-height: 1.1;
  color: white;
  margin: .67em 0;
}

/* Section: Books page and Book Card*/

.masonrygradient {
  box-shadow: 0 5px 5px 2px rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

  background: -moz-linear-gradient(left, #8B8B76, #A39F33);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #8B8B76), color-stop(100%, #A39F33));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #8B8B76, #A39F33);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #8B8B76, #A39F33);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #8B8B76, #A39F33);
  /* IE10+ */
  background: linear-gradient(to right, #8B8B76, #A39F33);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8B8B76', endColorstr='#A39F33', GradientType=1);
  /* IE6-9 */
}

.masonryitem {
  /* width: 200px; */
  /* width: 172px; */
  /* width: 18%; */
  width: 260px;

  margin: 3px;
  margin-top: 10px;
  padding-bottom: 8px;

  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: white;
}

.masonryitem_33 {
  width: 270px;
}

.masonryitem_20 {
  width: 220px;
}

.masonrystorygradient {
  padding: 5px;
  box-shadow: 0 5px 5px 2px rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

  background: -moz-linear-gradient(left, #FFFFFF, #EAEAEA);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #FFFFFF), color-stop(100%, #EAEAEA));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #FFFFFF, #EAEAEA);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #FFFFFF, #EAEAEA);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #FFFFFF, #EAEAEA);
  /* IE10+ */
  background: linear-gradient(to right, #FFFFFF, #EAEAEA);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#EAEAEA', GradientType=1);
  /* IE6-9 */
}

.masonry-stamp {
  background: #408b82;
  float: right;
}

.compact-coverimage-link {
  width: 8vh;
  height: calc(1.6 * 8vh);
  display: block;
}

.image-covers {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.top-left-tag {

  background-color: var(--my-color);
  background-color: #f89406;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.8);
  height: 10em;
  left: -5em;
  position: absolute;
  top: -5em;
  width: 10em;
  z-index: 98;
  /* buttons are 99 so this goes under the buttons */
  text-align: bottom;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.top-left-tag span {
  font-family: Quando !important;
  font-weight: bold;
  bottom: 0;
  position: absolute;
  /* left: 50%; */
  width: 100%;
  text-align: center !important;
  padding-bottom: 5px;

  /* color: #f5f5f5; */
  /* color: var(--text-color); */
  color: white;

  font-family: sans-serif;
  font-size: 1.005em;
}


.storypanel-text {
  color: white;
}

.storypanel-image {
  background-position: center;
  background-size: cover;
  display: block;
  height: 160px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.static-storypanel-image {
  display: block;
  height: 160px;
  overflow: hidden;
}

.storypanel-title {
  font-size: 16px;
  margin-bottom: 0px;
  margin-top: 5px;
  font-weight: bold;
}

.storypanel-source {
  font-size: 12px;
  margin-bottom: 0px;
}

.storypanel-teaser {
  color: white !important;
  font-size: 12px;
  padding-top: 20px;
}

.storypanel-avatar {
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
  width: 40px;
  height: 40px;
  border: 2px solid #408b82 !important;
  margin-top: -15px !important;
  margin-left: 5px !important;
}

.highlightbook {
  opacity: 0.3 !important;
}

.gracenote {
  position: absolute;
  right: 15px;
  top: 45px;
  height: 60px;
  width: 60px;
  padding-top: 19px;
  text-align: center;
  font-size: 16px;
  color: white;

  background-image: -webkit-linear-gradient(top, hsla(173, 37%, 62%, 1), #408b82);
  background-image: -moz-linear-gradient(top, hsla(173, 37%, 62%, 1), #408b82);
  background-image: -ms-linear-gradient(top, hsla(173, 37%, 62%, 1), #408b82);
  background-image: -o-linear-gradient(top, hsla(173, 37%, 62%, 1), #408b82);
  border-radius: 50%;
  z-index: 1;
}

.nahant-gracenote {
  background-image: -webkit-linear-gradient(top, #78B33A, hsla(89, 51%, 37%, 1));
  background-image: -moz-linear-gradient(top, #78B33A, hsla(89, 51%, 37%, 1));
  background-image: -ms-linear-gradient(top, #78B33A, hsla(89, 51%, 37%, 1));
  background-image: -o-linear-gradient(top, #78B33A, hsla(89, 51%, 37%, 1));
}

.glyphicon-border {
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

a.gracenote:hover,
a.gracenote:focus {
  /* color: inherit; */
  color: white;
  text-decoration: none;
}


.userbook {
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  opacity: 0.8;
  border: 2px solid #01baa5;
  -webkit-box-shadow: 0px 0px 1px 2px rgba(1, 186, 165, 0.26);
  -moz-box-shadow: 0px 0px 1px 2px rgba(1, 186, 165, 0.26);
  box-shadow: 0px 0px 1px 2px rgba(1, 186, 165, 0.26);
}

.glow {
  border: 1px solid #01baa5;
  -webkit-box-shadow: 0px 0px 15px 1px rgba(1, 186, 165, 0.66);
  -moz-box-shadow: 0px 0px 15px 1px rgba(1, 186, 165, 0.66);
  box-shadow: 0px 0px 15px 1px rgba(1, 186, 165, 0.66);
}

.stream_cover_image {
  width: 100%;
  margin-left: 0px;
  /* border-radius: 1rem; */
}

.storyimage {
  max-width: 25%;
  padding: 1px;
}

.hoverfade img.hoverfade {
  opacity: 1;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.hoverfade:hover img.hoverfade {
  opacity: 0.85;
}


.caption-padding {
  padding-top: 2px;
  padding-right: 6px;
  padding-left: 8px;
  padding-right: 8px;
}

/* book description in card */
.card-text {
  color: #000000;
  font-family: 'Special Elite', Courier, cursive;
  padding-top: 11px;
  padding-right: 10px;
  margin-bottom: 0px;
}

/* for display-on-hover of descriptions */


/* related books display */

.related_card {
  padding-left: 0px;
  padding-right: 10px;
  padding-bottom: 20px;
}

.related-card-title {
  /* color: #D4E2E2; */
  color: black;
  font-weight: bold;
  font-size: 12px;
}

.related-card-author {
  color: black;
  font-size: 12px;
}

.related-card-occurtext {
  color: black;
  font-size: 12px;
  padding-top: 5px;
}

.related-card-text {
  color: black;
  font-size: 12px;
  padding-top: 5px;
}

/* Readings Stylings */

.comments-top-level {
  background: #ffffff;
  padding-top: 5px;
  border-radius: 5px;
  margin-bottom: 5px;
  border: 1px solid #e6e6e6;
}

.comment-box {
  padding-left: 5px;
  padding-right: 10px;
  border-bottom: 1px solid #e6e6e6;
}

.comment-username {
  line-height: 35px;
  /* padding-left: 4px; */
  font-weight: bold;
}

.comment-input {
  margin-left: auto;
  margin-right: auto;
  float: left;
  width: 100%;
  text-align: left;
}

.comment-textarea {
  width: 90%;
}

.comment-offscreen-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.comment-input2 {
  display: inline;
  width: 90%;
}

.comment-indent {
  width: 100%;
  padding-left: 5%;
  background-color: #efefef;
}

.book_button_padding {
  padding-top: 10px;
}

.view-container {
  position: relative;
}

.mainview {
  position: inherit;
  left: 0px;
  /*Set left value to WidthOfFrameDiv*/
  padding-top: 95px;
  padding-bottom: 50px;
  overflow: auto;
  width: 100%;
}

.main {
  width: 95%;
  max-width: 960px;
  padding: 0 10px;
  margin: 0 auto;
  margin-top: 80px;
  position: relative;
}

.booklist {
  padding-left: 1%;
  padding-right: 1%;
}


.container {
  width: 100%;
  position: relative;
  /* padding-right: 0px; */
}

.container-noleftpadding {
  padding-left: 0px;
  padding-right: 0px;
}


.row_nomargin {
  margin-left: 0px;
  /* override bootstraps row margins */
  margin-right: 0px;
  /* override bootstraps row margins */
}

.nopad {
  padding-left: 0px;
  padding-right: 0px;
}

.no-border {
  border: none;
}

.table-middle {
  display: table-cell;
  vertical-align: middle;
}

.card_row {
  margin-left: 0px;
  /* override bootstraps row margins */
  margin-right: 0px;
  /* override bootstraps row margins */
  padding-left: 8px;
  padding-right: 8px;
}

.card_title {
  color: black;
  font-size: 16px;
}

.book_title {
  font-size: 28px;
  font-weight: bold;
  color: black;
}

.publication_date {
  font-style: italic;
  font-size: 12px;
  color: black;
}

.attribution_text {
  /* color: rgb(160,160,160); */
  color: rgb(111, 111, 111);
  font-size: 12px;
}

.book-detail-cover {
  width: 200px;
  float: left;
  margin-right: 10px;
}


/* via https://blog.fullstackdigital.com/how-to-create-a-flawless-responsive-post-grid-with-flexbox-e5c7cc9d28e */
.grid-container {
  max-width: 1335px;
  margin: 0 auto;
  width: 100%;
  padding-left: 5rem;
  padding-right: 5rem;
  padding-bottom: 80px;
}

.grid-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.grid-item {
  width: 20rem;
  height: calc(1.5 * 20rem);
  margin: 0.5rem;
  flex-basis: 20%;
  -ms-flex: auto;
  flex: auto;
  position: relative;
  box-sizing: border-box;
}

.inline-flex {
  display: inline-flex !important;
}

.masonryitem-small {
  border: 1px solid rgba(107, 107, 107, 0.5);
  -webkit-border-radius: 0.75rem;
  -khtml-border-radius: 0.75rem;
  -moz-border-radius: 0.75rem;
  border-radius: 0.75rem;
  background-color: white;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
}

.masonryitem-small-follow {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  border: 1px solid #01baa5;
  -webkit-box-shadow: 0px 0px 5px 3px rgba(1, 186, 165, 0.66);
  -moz-box-shadow: 0px 0px 5px 3px rgba(1, 186, 165, 0.66);
  box-shadow: 0px 0px 5px 3px rgba(1, 186, 165, 0.66);
}


.masonrysmall-cover {
  display: flex;
  vertical-align: bottom;
  background-position: center;
  background-size: cover;
  min-width: 100%;
  min-height: 100%;
}

.triangle-isosceles {
  display: inline;
  position: relative;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  color: #000;
  background: linear-gradient(#f9d835, #f3921c);
  border-radius: 10px;
  background: white;
  border: 1px solid lightgray;
}

.triangle-isosceles:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50px;
  display: block;
  width: 0;
  height: 0;

  border-top: 15px solid #f3921c;

  border-left: 15px solid transparent;
  border-right: 15px solid transparent;

}

.triangle-isosceles.left {
  /* background: #f3921c; */
  margin-left: 15px;
}

.triangle-isosceles.left:after {
  top: auto;
  right: auto;
  bottom: 5px;
  left: -10px;
  border-bottom: 10px solid transparent;
  border-left: 0;
  border-right: 15px solid #ffffff;
  border-top: 10px solid transparent;

}


/* personalization wizard stuff */
.wizard-container {
  display: flex;
  justify-content: center;
  margin: 1rem;
  color: rgb(225, 225, 225);
}

.wizard-progress {
  position: relative;
  display: flex;
}

/* based on width of the progress steps */
.wizard-progress .progress-track {
  position: absolute;
  top: 15px;
  width: calc(100% - 18rem);
  height: 1px;
  margin-left: 10rem;
  background-color: #f89406;
  z-index: -1;
}

.wizard-progress .progress-step {
  position: relative;
  width: 10rem;
  font-size: 16px;
  text-align: center;
}

.wizard-progress .progress-step:last-child:after {
  display: none;
}

.wizard-progress .progress-step:before,
.wizard-help .progress-step:before {
  content: "";
  display: flex;
  margin: 0 auto;
  margin-bottom: 10px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #dfe3e4;
  border-radius: 100%;
  color: #fff;
}

.wizard-help .progress-step-width {
  width: 10rem;
}

.wizard-help .progress-step :nth-child(1) :before {
  content: " \2190";
  font-size: 2rem;
}

.wizard-progress .progress-step:after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 0%;
  transition: width 1s ease-in;
  height: 5px;
  background: #dfe3e4;
  z-index: -1;
}

.wizard-progress .progress-step.is-active {
  color: #f89406;
}

.wizard-progress .progress-step.is-active:before {
  border: 1px solid #ffffff;
  animation: pulse 2s infinite;
  background: #f89406;
}

.wizard-progress .progress-step.is-complete {
  color: #01baa5;
}

.wizard-progress .progress-step.is-complete:before {
  font-family: FontAwesome;
  font-size: 10px;
  color: #fff;
  background: #01baa5;
  border: 4px solid transparent;
}

.wizard-progress .progress-step.is-complete:after {
  background: #01baa5;
  animation: nextStep 1s;
  animation-fill-mode: forwards;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(33, 131, 221, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(33, 131, 221, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(33, 131, 221, 0);
  }
}

@keyframes nextStep {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.wizard-button {
  margin-left: auto;
}

/* https://stackoverflow.com/questions/38948102/center-and-right-align-flexbox-elements */
.wizard-container-grid {
  display: grid;
  grid-template-columns: 1fr repeat(1, auto) 1fr;
  grid-column-gap: 5px;
  justify-items: center;
}

.wizard-container-grid li:nth-child(1) {
  grid-column-start: 2;
  width: 60vw;
}

.wizard-container-grid li:nth-child(2) {
  margin-left: auto;
  padding-right: 2rem;
}

.wizard-container-grid {
  padding: 0;
  margin: 0;
  list-style: none;
}

.wizard-help {
  display: flex;
  align-items: center;
  color: rgb(225, 225, 225);
}

.wizard-icon {
  font-size: 28px;
  color: #0044cc;
  color: white;
}

.wizard-icon>.glyphicon {
  top: -2px;
}

.personalizeHelp {
  position: fixed;
  top: 140px;
  width: 80%;
  max-width: 60rem;
  left: 50%;
  transform: translateX(-50%);

  padding: 1.25rem;
  color: white;
  background-color: #333;
  border: 2px solid #01baa5;
  border-radius: 1rem;
  /* big enough to get it on top of the modal */
  z-index: 10000;
}

.personalizeHelp li {
  /* gives clearance for the buttons with icons in them. */
  line-height: 2;
}

.sidecar-reading-card,
.private-reading-card {
  display: flex;
  height: calc(1.55 * 11rem);
}

.sidecar-cover {
  width: 11rem;
  min-height: calc(1.55 * 11rem);
  height: calc(1.55 * 11rem);
  background-size: cover;
}

.sidecar-content {
  width: 50%;
  flex-grow: 1;
  margin-left: 0.5rem;
  padding-top: 5px;
}

.masonryitem-wide {
  width: 45rem !important;
  margin: 1rem;
}

.cardBookActions {
  padding: 10px;
  padding-bottom: 15px;
}

.threeLines {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  /* number of lines to show */
  -webkit-line-clamp: 2;
  /* number of lines to show */
  -webkit-box-orient: vertical;
  font-size: 12px;
  padding-right: 0px;

  /* safari seems to bork sometimes on the line clamp. a little extra protection */
  max-height: 6rem;
}

.title_personalized {
  margin-bottom: 0px;
  font-weight: bold;
}

.ol_decoration_span {
  color: #D4E2E2;
}

#founder_badge {
  display: block;
  width: 200px;
  overflow: hidden;
  height: 200px;
  z-index: 9999;
}

#founder_badge a {
  background: #f89406;
  color: #fff;
  text-decoration: none;
  font-family: "HelveticaNeue-Bold", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 5px 40px;
  line-height: 3rem;
  position: relative;
  transition: 0.5s;
  width: 280px;
  display: inline-block;
  top: 60px;
  left: -60px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
}

#founder_badge a:hover {
  background: #fbb450;
  color: #fff;
}

#founder_badge a::before,
#founder_badge a::after {
  content: "";
  width: 100%;
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  height: 1px;
  background: #fff;
}

#founder_badge a::after {
  bottom: 1px;
  top: auto;
}


.badge {
  vertical-align: 10%;
}

.fourohfourbackground {
  background: url(https://images.thehawaiiproject.com/404.jpg) no-repeat center center fixed;
}

.bookbackground {
  background: url(https://images.thehawaiiproject.com/covers_dim.jpg) no-repeat top center;
  -webkit-animation: scrollBgGridLinks 35s linear;
  animation: scrollBgGridLinks 35s linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;

}

.bookshipbackground {
  z-index: -1;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1.0)), url(https://images.thehawaiiproject.com/reading1.jpg);
  background-position: center top;
  -webkit-animation: scrollBgGridLinks 35s linear;
  animation: scrollBgGridLinks 35s linear;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  height: 100%;
  width: 100%;
  position: fixed !important;
}

.bookship-top {
  font-size: 10vh;
  font-weight: bold;
  padding-top: 25vh;
  margin-bottom: 0px;
}

.bookship-quotes-row {
  width: 75% !important;
  /* padding-top: 30px; */
  /* padding-top: 2vh; */
}

.bookship-quote {
  font-size: 2vh;
  min-height: 6vh;
  font-style: italic;
  padding-bottom: 2px;
}

.bookship-quote-image {
  padding-top: 5px;
  padding-bottom: 5px;
}


.bookship-img {
  height: 4vh;
  height: 4vh;
  padding: 2px;
  background-color: #fff;
  border-radius: 4px;
}

.bookship-appstore-logo {
  width: 20%;
}

.bookship-appstore-logo-fire {
  width: 18% !important;
}

.jumbotron {
  padding: 5%;
  padding-top: 5%;
  height: 625px;
  color: white;
  text-shadow: #444 1px 1px 1px;
  position: fixed;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: fixed;
}

.panel_view {
  height: 100%;
  width: 100%;
  position: fixed;
}

.chat_splash {
  width: 50%;
}

.chat_panel {
  width: 50%;
  float: right;
}


.panel-body {
  padding-top: 8px;
  background: whitesmoke;

}

.panel-book {
  border-color: #bce8f1;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 0px;

}

.panel-heading {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.panel-book>.panel-heading {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);

  background-color: #0044cc;
  background-image: -moz-linear-gradient(top, #0044cc, #0088cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0044cc), to(#0088cc));
  background-image: -webkit-linear-gradient(top, #0044cc, #0088cc);
  background-image: -o-linear-gradient(top, #0044cc, #0088cc);
  background-image: linear-gradient(to bottom, #0044cc, #0088cc);
  background-repeat: repeat-x;
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.panel-book>.panel-heading-grey {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #D2D2D2;
  background-image: -moz-linear-gradient(top, #D2D2D2, #939393);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#D2D2D2), to(#939393));
  background-image: -webkit-linear-gradient(top, #D2D2D2, #939393);
  background-image: -o-linear-gradient(top, #D2D2D2, #939393);
  background-image: linear-gradient(to bottom, #D2D2D2, #939393);
  background-repeat: repeat-x;
  border-color: #D2D2D2 #D2D2D2 #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff939393', endColorstr='#ffD2D2D2', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}



.panel-book>.panel-heading+.panel-collapse .panel-body {
  border-top-color: #bce8f1;
}

.panel-book>.panel-footer+.panel-collapse .panel-body {
  border-bottom-color: #bce8f1;
}

.panel-logo-header {
  margin-top: -40px;
  border: 4px #01baa5 solid;
}

/* --- or --- type of display */

.separatorWrapper {
  -webkit-transition: opacity .5s linear;
  transition: opacity .5s linear;
}

.separatorWrapper .separator {
  color: rgba(0, 0, 0, 0.9);
  font-weight: bold;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  /* display: none; */
  /* margin-top: -13px;  */
}

.separatorWrapper .separator p {
  overflow: hidden;
  margin-bottom: 10px;
  text-align: center;
}

.separatorWrapper .separator p:before,
.separatorWrapper .separator p:after {
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 25%;
  background: rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.separator p:before {
  margin-right: 10px;
}

.separator p:after {
  margin-left: 10px;
}

.separator {
  display: block;
}

.img-thumbnail {
  padding: 1px;
  border-radius: 1rem;
}

#sourceslist {
  background-color: white;
  padding-top: 5%;
  padding-left: 5%;
  padding-right: 5%;
}

.question {
  font-weight: bold;
  line-height: 2.5;
}

.answer {
  font-weight: normal;
  line-height: 1.4;
}

.question_id_offset {
  padding-top: 75px;
  margin-top: -75px;
}



/* Button stuff */

.btn-primary.active,
.btn-danger.active,
.btn-success.active,
.btn-info.active,
.btn-inverse.active {
  color: rgba(255, 255, 255, 0.75);
}

.btn {
  padding: 4px 12px;
  font-size: 14px;
  /* font-size: 16px; */
  line-height: 20px;
  color: #333333;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
  color: #333333;
  background-color: #e6e6e6;
}

.btn:active,
.btn.active {
  background-color: #cccccc \9;
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);

}

.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
  -moz-transition: background-position 0.1s linear;
  -o-transition: background-position 0.1s linear;
  transition: background-position 0.1s linear;
}

.btn-facebook:hover,
.btn-facebook:focus {
  background-position: 5% 60%;
  background-position: -webkit-calc(50% - 5em) 50%;
  background-position: calc(50% - 5em) 50%;
  padding-left: 3em;

}

.btn:focus,
.btn:active {
  outline: none;
}

.btn.disabled,
.btn[disabled] {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #006dcc;
  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-color: #0044cc;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #003399 \9;
}


.btn-info {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #A39F33;
  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #CAC437, #A39F33);
  background-repeat: repeat-x;
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
  color: #ffffff;
  background-color: #A39F33;
}

.btn-info:active,
.btn-info.active {
  background-color: #003399 \9;
}


.btn-warning {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #f89406;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(to bottom, #fbb450, #f89406);
  background-repeat: repeat-x;
  border-color: #f89406 #f89406 #ad6704;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
  color: #ffffff;
  background-color: #f89406;
}

.btn-warning:active,
.btn-warning.active {
  background-color: #c67605 \9;
}

.nahant-color {
  background-color: #78B33A !important;
}

.btn-nahant {
  color: #ffffff;
  background-color: #78B33A;
  background-image: -moz-linear-gradient(top, #89c44a, #78B33A);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#89c44a), to(#78B33A));
  background-image: -webkit-linear-gradient(top, #89c44a, #78B33A);
  background-image: -o-linear-gradient(top, #89c44a, #78B33A);
  background-image: linear-gradient(to bottom, #89c44a, #78B33A);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.btn-nahant:hover,
.btn-nahant:focus,
.btn-nahant:active,
.btn-nahant.active,
.btn-seagreennahant.disabled,
.btn-nahant[disabled] {
  color: #ffffff;
  background-color: #78B33A;
}

.btn-nahant:active,
.btn-nahant.active {
  background-color: #78B33A \9;
}

.btn-seagreen {
  color: #ffffff;
  background-color: #01baa5;
  background-image: -moz-linear-gradient(top, #01e4ca, #01baa5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#01e4ca), to(#01baa5));
  background-image: -webkit-linear-gradient(top, #01e4ca, #01baa5);
  background-image: -o-linear-gradient(top, #01e4ca, #01baa5);
  background-image: linear-gradient(to bottom, #01e4ca, #01baa5);
  background-repeat: repeat-x;
  border-color: #01e4ca #01baa5 #01e4ca;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.btn-seagreen:hover,
.btn-seagreen:focus,
.btn-seagreen:active,
.btn-seagreen.active,
.btn-seagreen.disabled,
.btn-seagreen[disabled] {
  color: #ffffff;
  background-color: #01baa5;
}

.btn-seagreen:active,
.btn-seagreen.active {
  background-color: #01baa5 \9;
}

.btn-facebook {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #3854ac;
  background-image: -moz-linear-gradient(top, #3854ac, #2d4388);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3854ac), to(#2d4388));
  background-image: -webkit-linear-gradient(top, #3854ac, #2d4388);
  background-image: -o-linear-gradient(top, #3854ac, #2d4388);
  background-image: linear-gradient(to bottom, #3854ac, #2d4388);
  background-repeat: repeat-x;
  border-color: #2d4388 #2d4388 #ad6704;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3854ac', endColorstr='#ff2d4388', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}


.btn-facebook:hover,
.btn-facebook:focus,
.btn-facebook:active,
.btn-facebook.active,
.btn-facebook.disabled,
.btn-facebook[disabled] {
  color: #ffffff;
  background-color: #2d4388;
}

.btn-pushed-state {
  opacity: 0.5;
}

.btn-right {
  float: right;
  margin-right: 3px;
}


.fbicon {
  background-image: url('https://images.thehawaiiproject.com/fbicon.png');
  background-repeat: no-repeat;
  background-position: 5% 60%;
  background-position: -webkit-calc(50% - 5em) 50%;
  background-position: calc(50% - 5em) 50%;
  padding-left: 3em;
}

.btn-fix {
  padding: 4px 4px;
}

.btn-glyph {
  font-size: 20px;
  padding-top: 3px;
  padding-bottom: 2px;
  padding-left: 2px;
  padding-right: 2px;
}


.btn-love:hover,
.btn-love:focus {
  color: #FF1A1A !important;
  background-image: none;
}


.btn-link {
  font-weight: normal;
  /* color: #428bca; */
  color: black;
  cursor: pointer;
  border-radius: 0;
  background-image: none;
}

.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}

.btn-link:hover,
.btn-link:focus {
  color: #2a6496;
  text-decoration: underline;
  background-color: transparent;
}

.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
  color: #999;
  text-decoration: none;
}

.btn-glight {
  color: #dadada;
}

.btn-love {
  color: #FF1A1A !important;
}

/* button glyph light */
.btn-mobile-full-width {
  /* width: 50% !important; */
  width: 50%;
  display: inline;
  font-size: 28px;
  line-height: 28px;
}


.button {
  color: #221F1F;
  display: inline-block;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: "HelveticaNeue-Bold", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* font-size: 14px; */
  font-size: 12px;
  padding: .25em 0.5em .25em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
  -webkit-border-radius: .5em;
  -moz-border-radius: .5em;
  border-radius: .5em;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  box-shadow: 0 1px 0px rgba(0, 0, 0, .2);
}

.button:hover {
  text-decoration: none;
}

.button:active {
  position: relative;
  top: 1px;
}

button.close {
  color: white;
}

button:focus {
  outline: 0 !important;
}

.hoverbutton {
  position: absolute;
  top: 8px;
  margin: 3px;
  left: 0px;
  /* width: 235px;  */
  width: 95%;
  color: black;
  z-index: 99;
}

.orange {
  color: #fef4e9;
  border: solid 1px #da7c0c;
  background: #f78d1d;
  background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
  background: -moz-linear-gradient(top, #faa51a, #f47a20);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
}

.orange:hover {
  background: #f47c20;
  background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
  background: -moz-linear-gradient(top, #f88e11, #f06015);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
}

.orange:active {
  color: #fcd3a5;
  background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
  background: -moz-linear-gradient(top, #f47a20, #faa51a);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
}

#fb-root {
  display: inline;
}

.og_share {
  display: inline;
  padding-left: 30px;
}

/* UI Utilities */

.next-arrow {
  position: fixed;
  top: 45%;
  right: 1px;
}

.next {
  background: transparent url(https://images.thehawaiiproject.com/pagin-assetview-arrows2.png) no-repeat;
  background-position: 12px -98px;
  height: 78px;
  width: 48px;
  display: block;
}

.next-arrow a:hover {
  background-position: -70px -98px;
}

.prev-arrow {
  position: fixed;
  top: 45%;
  left: -11px;
}

.prev {
  background: transparent url(https://images.thehawaiiproject.com/pagin-assetview-arrows2.png) no-repeat;
  background-position: 10px 0px;
  height: 78px;
  width: 55px;
  display: block;
}

.prev-arrow a:hover {
  background-position: -75px 0px;
}

.xframetakeover {
  position: fixed;
  /* top: 50px; */
  top: 40%;
  left: 0px;
  right: 0;
  bottom: 0;
  overflow: auto;
  border: 1px solid black;
  width: 100%;
  background: white;
}

.xframetakeovermsg {
  width: 20em;
  padding-top: 20%;
}

/* simplemodal styling */
#basic-modal-content {
  display: none;
}

#simplemodal-overlay {
  background-color: #000;
  cursor: wait;
}

#simplemodal-container {
  height: 320px;
  width: 800px;
  color: #bbb;
  background-color: #333;
  border: 2px solid #01baa5;
  padding: 12px;
  border-radius: 6px;
  overflow: display;
}

#simplemodal-container h3 {
  color: #01baa5;
  /* font-size: 20px; */
  font-size: 21px;
}

#simplemodal-container p.opentext {
  font-family: "HelveticaNeue-Bold", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#simplemodal-container p.opentext {
  /* font-size: 14px; */
  font-size: 16px;
  line-height: 22px;
}

#simplemodal-container p.opentext {
  margin-top: 10px;
  margin-bottom: 15px
}

#simplemodal-container a.modalCloseImg {
  background: url(https://images.thehawaiiproject.com/x.png) no-repeat;
  width: 25px;
  height: 29px;
  display: inline;
  z-index: 3200;
  position: absolute;
  top: -15px;
  right: -14px;
  cursor: pointer;
}

#simplemodal-container #basic-modal-content {
  padding: 8px;
}

.simplemodal-wrap {
  overflow: hidden;
}

.progress-bar-sand {
  background-color: #A79A5D;
}

.email_freq_input {
  margin-bottom: 5px;
}

#authorsdiv {
  border-radius: 4px;
  height: 50rem;
  /* height: 190px; */
  margin-top: 5px;
  background-color: #4A5358;
  overflow-y: scroll;
  padding: 5px;
  border: 1px solid #0975A5;
  background-color: #4A5358;
}

.author_checkbox {
  margin-bottom: 4px;
  margin-top: 0px;
}

.author-bio-collapsed {
  /* display: -webkit-box !important;
       -webkit-line-clamp: 5;
       -webkit-box-orient: vertical;
       overflow: hidden; */
  max-height: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Channels / Browse page */

.browse_picker_label {
  width: 228px;
  background-color: white;
  font-size: 28px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding-bottom: 5px;
}

.browse_picker_image {
  /* height: 340px; */
  /* width: 228px; */
  /* margin: 0px auto; */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-radius: 1rem;
}

.browse_button_link {
  position: absolute;
  width: 100%;
  padding-top: 250px;
  bottom: 15px;
  left: 0;
  display: table;
  vertical-align: bottom;
  text-decoration: none !important;
  color: white !important;
  border: none !important;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 21px;
  background: rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -ms-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -o-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 0 black;
}

.personalize_button_link {
  position: absolute;
  display: inline-block;
  text-align: center;
  width: 100%;
  bottom: 1rem;
  line-height: 1.4;
  vertical-align: text-bottom;
  color: white !important;
  border: none !important;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 2rem;
  -webkit-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -ms-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -o-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 0 black;
}

/* .masonryitem-small-follow > .personalize_button_link {
   color: grey !important;
   }
 */
.giftbrowse_panel {
  padding-left: 3%;
  padding-right: 3%;
  background: rgba(0, 67, 169, 0.75);
  border-radius: 4px;
  width: 100%;
}

.giftbrowse_button_link {
  /* position: absolute; */
  /* width: 100%; */
  /* line-height: 45px; */
  /* padding-top: 250px; */
  /* bottom: 15px;  */
  /* left: 0; */
  /* display:table;  */
  /* vertical-align: bottom; */
  text-decoration: none !important;
  color: white !important;
  border: none !important;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -ms-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  -o-box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0px 100px 71px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 0 black;
}

.giftbrowser-sizer {
  height: 70px;
  width: 140px;
  /* height: 55px;  */
  /* width: 125px; */
}

.giftbrowser-chicklet {
  margin: 10px;
  padding: 2%;
  position: relative;
  text-align: center;
  border: 1px solid white;

}

.bubble {
  position: absolute;
  left: 0px;
  top: -1px;
  /* width: 125px; */
  /* height: 55px; */
  display: table;

}

.bubble p {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  margin: 0px 0px 0px 0px;
  line-height: normal;
  font-weight: bold;
}


.slick-prev,
.slick-next {
  width: 40px !important;
  height: 40px !important;
}


.slick-prev:before,
.slick-next:before {
  font-family: 'slick';
  font-size: 40px !important;
}

.slick-prev {
  left: -40px;
}

[dir='rtl'] .slick-prev {
  right: -40px;
  left: auto;
}

.slick-next {
  right: -40px;
}

[dir='rtl'] .slick-next {
  right: auto;
  left: -40px;
}




.img-fade {
  opacity: 0.2;
}

/* single page story view */

.review {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 50px;
  left: 0px;
  /*Set left value to WidthOfFrameDiv*/
  right: 0;
  bottom: 0;
  overflow: auto;
  border: 1px solid black;
  background: white;
}

.home-page-footer-link {
  padding: 0 10px 0 10px;
  white-space: nowrap;
}

/* CUSTOMIZE THE NAVBAR -------------------------------------------------- */

.navbar-inverse {
  /* background-color: black; */
  /* background-color: rgb(0, 109, 204); */
  background: #080808 url('https://images.thehawaiiproject.com/beach.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
}

/* make navbar buttons look like links. needed because show books in story needed to be a button instead of a link for event handling */
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav>li>a,
.navbar-inverse .navbar-nav>li>button {
  color: #D4E2E2;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.navbar-inverse .navbar-nav>li>button:hover,
.navbar-inverse .navbar-nav>li>button:focus {
  text-decoration: none;
  color: #fff;
  background-color: transparent;
}

.navbar {
  border: 0px solid transparent;
}

/* Remove border and change up box shadow for more contrast */
.navbar-brand {
  border: 0;
}

/* Downsize the brand/project name a bit */
.navbar-brand {
  padding: 14px 10px 16px;
  /* Increase vertical padding to match navbar links */
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
}

/* Navbar links: increase padding for taller navbar */
.navbar .navbar-nav>li>a,
.navbar-inverse .navbar-nav>li>button {
  padding: 15px 8px;
}

.navbar-center {
  position: absolute;
  margin-left: 40%;
  top: 0;
  text-align: center;
  height: 100%;
}

.navbar-right {
  padding-right: 15px;
}

.navbar-toggle {
  margin-right: 20px;
}

.static-navbar {
  height: fit-content !important;
}

.static-navbar .navbar-nav, .static-navbar .navbar-right {
  display: inherit;
}

.nav>.active>a {
  color: white !important;
  background-color: rgba(255, 255, 255, 0) !important;
  font-weight: bold;
}

.secondary-nav>ul>li.active {
  border-bottom: 2px solid #01baa5 !important;
}

.tabnav>a {
  color: black;
  text-decoration: none;
  margin-right: 10px;
}

.tabnav>a.active {
  border-bottom: 1px solid #01baa5 !important;
}

.secondary-nav-item {
  display: inline-block;
  padding: 10px;
}

.secondary-nav-icon {
  height: 24px;
  width: 24px;
  display: flex;
  justify-content: center;
}

.secondary-nav>ul>li>a {
  color: black !important;
  text-decoration: none !important;
}

.secondary-nav>ul>li.active>a {
  color: black !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.nav>li>a {
  text-decoration: none;
}


.dropdown-menu>li>div>ul>li>a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;

}

.dropdown-menu-center {
  left: 80%;
  right: auto;
  width: 700px;
  text-align: center;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
}

/* Books in this story panel */
/* good for 5 images */

.popover {
  max-width: 675px;
  width: 675px;
  z-index: 0;
}

.popover-title {
  font-weight: bold;
}

.popover-content {
  background-color: rgb(0, 0, 0);
  background-image: url(https://images.thehawaiiproject.com/blinds.jpg);
  background-position: top left;
  background-repeat: repeat;
  height: 175px;
}


/* Carousel base class */
.carousel .container {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.carousel-inner {
  padding-left: 12px;
}

.carousel img {
  /* removed to stop the images from wrapping onto second line */
  /* min-width: 100%; */
  height: 160px;
  width: 106px;
}

.carousel-caption {
  background-color: transparent;
  position: static;
  max-width: 550px;
  padding: 0 20px;
  margin-bottom: 100px;
}

.carousel-caption h1,
.carousel-caption .lead {
  margin: 0;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}

.carousel-caption .btn {
  margin-top: 10px;
}

.carousel-control.left {
  left: 0px;
  padding-right: 2px;
}

.carousel-control.right {
  right: 0px;
}

/* stolen from bootstrap 2 - I like the look better */

.carousel-control {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 40px;
  height: 40px;
  margin-top: -33px;
  font-size: 60px;
  font-weight: 100;
  line-height: 22px;
  color: #ffffff;
  text-align: center;
  background: #222222;
  border: 3px solid #ffffff;
  -webkit-border-radius: 23px;
  -moz-border-radius: 23px;
  border-radius: 23px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.carousel-control:hover,
.carousel-control:focus {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}


.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
  height: 100%;
  /* defined as auto in bootstrap. messing up my carousel */
}


.carousel-inner ul {
  padding-left: 0px;
}

/* makes the images on one line in the carousel */

.thumbnails>li {
  float: left;
  margin-bottom: 20px;
  margin-left: 15px;
}

/* Section: Typeahead for search */

.twitter-typeahead {
  display: block;
}

.typeahead,
.tt-query,
.tt-hint {
  width: 100%;
  color: black;
  border: 2px solid #cccccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  outline: none;
}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

span.twitter-typeahead .tt-suggestion>p {

  padding: 0px 0px;
}

.tt-dropdown-menu {
  width: 100%;
}



.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;
}

.tt-suggestion p {
  margin: 0;
}

.categoryinput {
  width: 50%;
}

.searchinput {
  width: 600px;
}

.searchinputx {
  background: url(https://images.thehawaiiproject.com/x.png) no-repeat;
  width: 25px;
  height: 29px;
  display: inline;
  z-index: 3200;
  position: absolute;
  top: -15px;
  right: -14px;
  cursor: pointer;
  top: 18px;
  left: 616px;
}

.thex {
  background: url(https://images.thehawaiiproject.com/x.png) no-repeat;
  width: 25px;
  height: 29px;
  display: inline;
  z-index: 3200;
  position: absolute;
  margin-left: 5px;
  cursor: pointer;
}

.form-signin {
  max-width: 330px;
  padding: 0px;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


.white-text {
  color: white;
  text-shadow: #444 1px 1px 1px;
}

/* panels */

.thp-panel-title {
  color: white;
  margin-top: 5%;
  text-shadow: #444 1px 1px 1px;
  margin-bottom: -5px;
}

.thp-panel-subtitle {
  color: #f89406;
  margin-top: 0%;
  text-shadow: #444 1px 1px 1px;
  padding-left: 50px;
  margin-bottom: 5px;
}

h2.alt {
  margin: -8px 0 10px 0;
  /* font-size: 19px; */
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

h3.sub {
  margin: -8px 0 20px 0;
  /* font-size: 14px; */
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
  color: #777;
}

h3.basic {
  color: black;
}

.tiers {
  background: white;
}
div.tiers div.tier span.tiers-price,
div.tiers-teams div.tier span.tiers-price {
  display: block;
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1;
  font-weight: normal;
}

div.tiers div.tier h3 span.badge-basic,
div.tiers-teams div.tier h3 span.badge-basic {
  background: white;
  color: black;
}

div.tiers div.tier h3 span.badge-pro,
div.tiers-teams div.tier h3 span.badge-pro {
  background: #A39F33;
}

div.tiers div.tier h3 span.badge,
div.tiers-teams div.tier h3 span.badge,
div.tiers div.tier h3 span.badge-sale,
div.tiers-teams div.tier h3 span.badge-sale {
  padding: 2px 6px 4px 6px;
  /* font-size: 20px; */
  font-size: 21px;
  line-height: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.mypanel {
  width: 60%;
  float: left;
  margin-top: 0%;
  margin-right: 0px;
}

.thp-panel {
  padding-left: 10%;
  padding-top: 1%;
}

.mypanelbody {
  padding: 15px;
}



.signup_message_overlay.ng-hide {
  opacity: 0;
}

.signup_message_overlay span,
.signup_overlay span {
  /* font-size: 20px;  */
  font-size: 21px;
  vertical-align: middle;
  color: white;
  padding-right: 5px;

}

.signup_message_overlay {
  width: 100%;
  /* margin-left: -3%; */
  background: rgba(0, 0, 0, 0.75);
  border-top: solid 1px black;
  top: 50px;
  position: fixed;
  -webkit-transition: opacity 0.8s ease 0.8s;
  transition: opacity 0.8s ease 0.8s;
  z-index: 100;
}

.signup_overlay {
  background: rgba(0, 0, 0, 0.85);
  border-top: solid 1px black;
  -webkit-transition: opacity 0.8s ease 0.8s;
  transition: opacity 0.8s ease 0.8s;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 10px;
  padding-left: 2%;
  padding-right: 2%;
  width: 101%;
  margin: 0 auto;
  z-index: 100;
  transform: translateY(0px);
  animation: comeau 0.5s;
}

@keyframes comeau {
  0% {
      transform: translateY(calc(-16px + 20rem));
  }

  100% {
      transform: translateY(0px);
  }
}

.overlay_link {
  width: 25px;
  height: 29px;
  z-index: 3200;
  position: absolute;
  right: 3px;
  top: -12px;
  cursor: pointer;
}

.educate_overlay {
  width: 106%;
  margin-left: -3%;
  background: rgba(0, 0, 0, 0.85);
  border-top: solid 1px black;
  padding-bottom: 10px;
  top: 40%;
  position: fixed;
  -webkit-transition: opacity 0.8s ease 0.8s;
  transition: opacity 0.8s ease 0.8s;
}


.bar-both-sides {
  border-right: 1px solid rgb(194, 194, 194);
  border-left: 1px solid rgb(194, 194, 194);
}

.bar-right-side {
  border-right: 1px solid rgb(194, 194, 194);
}

/* .vertical-bar { */
/*     display: none; */
/*     position:absolute; */
/*     left:50%; */
/*     top:25%; */
/*     bottom:25%; */
/*     border-left:1px solid rgb(194,194,194); */
/* } */


.panel-sidebar-bar {
  border-bottom: 1px solid lightblue;
  padding-bottom: 5px;
  color: #f89406;
  text-shadow: #444 0px 0px 0px;
}

div.tiers div.tier ul.features-list li,
div.tiers-teams div.tier ul.features-list li {
  margin: 0 0 5px 0;
}

div.tiers div.tier ul.features-list,
div.tiers-teams div.tier ul.features-list {
  margin-left: 20px;
  padding-left: 0px;
  padding-bottom: 7em;
  text-align: left;
  list-style: disc;
}

div.tiers div.tier em,
div.tiers-teams div.tier em {
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  color: #444;
}

.compactview {
  display: block;
}

.compact-book {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 10px;
}

.want-list-headers {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.want-list-headers :not(:last-child) {
  margin-right: 1rem;
}

.want-list-headers :last-child {
  margin-left: auto;
}


.readingbadge {
  position: absolute;
  top: 8%;
  right: 4%;
  height: 60px;
  width: 60px;
  padding: 0px 0px 0px 0px;
  border: 2px solid #408b82;
}

.readingbadge-whitelabel {
  top: 16% !important;
  right: 6%;
}

.readingbadge>a {
  padding-top: 8px;
  font-size: 32px;
  line-height: 45px;

}

.readingbadge-icon {
  background: url(images/paper.svg);
  filter: invert(100%);
  background-size: cover;
  color: white;
  height: 42px;
  margin: 8px;
}


a.readingbadge:hover,
a.readingbadge:focus {
  border: 2px solid #408b82;
}

.sidebar-icon {
  background: url('../images/sidebar.svg');
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
}

.button-float-style {
  color: white !important;
  min-width: 26px !important;
  z-index: 12 !important;
  /* min-height: 40px; */
  font-size: 20px;
  line-height: 29px;
  border-radius: 50% !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26) !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
  -webkit-transition: 0.2s linear !important;
  transition: 0.2s linear !important;
  -webkit-transition-property: -webkit-transform, all !important;
  transition-property: transform, all !important;
}

div.secondary {
  float: left;
  font-size: 16px;
  background: rgb(225, 225, 225);
  margin-left: -15px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.panel-btn-2col {
  width: 49%;
}

.vertical-align-row {
  display: flex;
  align-items: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

p.copy {
  font-size: 12px;
}

.img-background-cover {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  opacity: 0.4;
  background: black;
}

.h3-panel {
  margin-top: 5px;
}

.panel-span {
  padding-bottom: 50px;
}

.panel-button {
  margin-top: 14px;
  position: absolute;
  bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  padding-left: 10px;
  padding-right: 10px;
}


/* firefox fix */
.img-responsive {
  width: 100%;
}

.mbody {
  display: block;
  max-width: 100%;
  min-width: 220px;
  padding: 0;
  position: static;
  visibility: visible;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-color: #eee #ddd #bbb;
  border-width: 1px;
  border-style: solid;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  margin: 0;
  /* font-family: "jaf-bernino-sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif; */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.thp-hero--withImage {
  padding-top: 0;
}

.thp-hero--profile {
  padding-top: 30px;
  padding-bottom: 40px;
}

.thp-hero {
  text-align: center;
  /* padding: 0 0 80px; */
  padding: 0 0 8px;
}

.thp-source-hero {
  width: fit-content;

  max-width: 75%;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 1rem;

  border-radius: 1rem;
  border: 1px solid #01baa5;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px;
  overflow: hidden;
  background: #fff;
}

.thp-source-hero .avatar-large {
  width: 5rem;
  height: 5rem;
}

.thp-bucket {
  margin: 0 auto;
  padding: 0 20px 5px;
  /* overflow: auto; */
  text-align: left;
}

.thp-bucket-label:first-child {
  margin-top: 0;
}

.thp-bucket-list {
  margin: 0;
  padding: 0;
}

.thp-bucket-listItem {
  list-style: none;
  margin: 0;
  padding: 0;
}

.thp-bucket-listItem a {
  text-decoration: none;
  outline: none;
}

.thp-hero-image {
  height: 100px;
}

.thp-imageCover {
  background-color: #000;
  background-position: center;
  background-size: cover;
}

.thp-hero--withImage .thp-avatar {
  margin-top: -80px;
}

.thp-hero--withImage .avatar-large {
  margin-top: -4rem !important;
}

.thp-avatar,
.thp-avatar-small {
  margin-top: 20px;
  display: inline-block;
  overflow: hidden;
  border: 3px solid #fff;
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border-radius: 100%;
}

.thp-avatar>img {
  display: block;
  width: 100px;
  height: 100px;
}

.thp-avatar-small>img {
  display: block;
  width: 80px;
  height: 80px;
}

.thp-logo-avatar {
  /* background-image: url("https://images.thehawaiiproject.com/logos/thpSmall.svg"); */
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}

.thp-hero-title {
  letter-spacing: -0.04em;
  margin: 0 0 8px 0;
  padding: 0 40px;
  line-height: 1;
}

.thp-hero-title>a {
  color: rgba(0, 0, 0, 0.8);
  /* font-size: 24px; */
  font-size: 21px;
  text-decoration: none;
}

.thp-hero-metaInfo,
.thp-hero-subtitle,
.thp-hero-description {
  display: block;
  color: rgba(0, 0, 0, 0.6);
  word-wrap: break-word;
  word-break: break-word;
  letter-spacing: -0.02em;
  /* font-size: 14px; */
  font-size: 16px;
  margin: 0;
  /* padding: 0 40px; */
  padding: 0 10px;
  line-height: 1.4;
  /* max-width: 640px; */
  max-width: 95%;
  margin: 0 auto;
}

.thp-bucket-label:first-child {
  margin-top: 0;
}

.thp-bucket-label {
  color: rgba(0, 0, 0, 0.3);
  font-size: 9px;
  text-transform: uppercase;
  margin: 30px 0 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 15px;
  font-weight: 700;
  letter-spacing: .2em;
}

.thp-bucket-listItemPostTitle {
  /* font-size: 18px; */
  font-size: 16px;
  line-height: 1.2;
  margin: 5px 0 2px;
  color: rgba(0, 0, 0, 0.8);
}

.thp-bucket-listItem:last-child .thp-bucket-listItemPostSnippet {
  margin-bottom: 0;
}

.thp-bucket-listItemPostSnippet {
  display: block;
  color: rgba(0, 0, 0, 0.3);
  margin: 0 0 22px;
  color: rgba(0, 0, 0, 0.6);
  /* font-size: 14px; */
  font-size: 12px;
  letter-spacing: -0.02em;
}

.thp-user-avatar {
  margin-top: 4px;
  display: inline-block;
  /* overflow: hidden; */
  border: 1px solid #fff;
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border-radius: 100%;
}

/* fixup file input styling */
/* via https://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/ */

.GRBox {
  padding: 6.25rem 1.25rem;
  text-align: center;
}

.GRBox .inputfile {
  width: 0.1px !important;
  height: 0.1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  z-index: -1 !important;
}

.inputfile:focus+label,
.inputfile.has-focus+label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}

/* end of file input styling */


/* RESPONSIVE CSS
   -------------------------------------------------- */

@media (max-width: 1100px) {
  .masonryitem {
    width: 225px;
  }

  .dropdown-menu-center {
    left: -40%;
  }

  .storiesview {
    margin-left: 5%;
    width: 90%;
  }

}

@media (min-width: 992px) {
  .container-md-height {
    display: table;
  }

  .row-md-height {
    display: table-row;
  }

  .col-md-height {
    display: table-cell;
    float: none;
  }
}

@media (max-width: 900px) {
  .dropdown-menu-center {
    width: auto;
  }

  .tt-dropdown-menu {
    padding: 2px 0;
  }

  .masonryitem {
    width: 180px;
  }

  .searchinput {
    width: 400px;
  }

  .searchinputx {
    left: 416px;
  }


  .secondary-dropdown {
    width: 600px;
    font-size: 16px;
  }


  /* .storyimage { */
  /* 	max-width: 15%; */
  /* } */

}

@media (max-width: 768px) {
  .btn-responsive {
    padding: 2px 4px;
    font-size: 80%;
    line-height: 1.5;
    border-radius: 3px;
  }

  .btn-group-lg>.btn {
    font-size: 9px;
    padding: 2px 4px;
    line-height: 2;
    border-radius: 3px;
  }

  .masonryitem {
    width: 225px;
  }

  .signup_message_overlay>span,
  .signup_overlay>span {
    font-size: 14px;
  }

  .dropdown-menu>li>div>ul>li>a {
    /* color: white; */
    white-space: nowrap;
  }

  .navbar-inverse {
    /* background-size: initial; */
    background-size: 100% 50px;
  }

  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: white;
    /* font-size: smaller; */
    display: block;
    padding: 3px 20px;
    /* clear: both; */
    /* font-weight: normal; */
    /* line-height: 1.42857143; */
    /* color: #333; */

  }

  .panel-btn-2col {
    width: 100%;
  }

  .panel-body {
    padding: 5px;
    margin: 0px;
  }

  .compactview {
    display: block;
  }

  .tier {
    padding-bottom: 20px;
    margin-bottom: 5px;
    /* border: 1px solid #e0e0e0; */
  }

  .bar-both-sides {
    border-right: 0px solid rgb(194, 194, 194);
    border-left: 0px solid rgb(194, 194, 194);
  }

  .mypanel {
    width: 85%;
  }

  .thp-panel {
    padding-left: 2%;
    padding-right: 2%;
  }

  .thp-panel-title {
    font-size: 30px;
  }

  .thp-panel-subtitle {
    font-size: 18px;
  }


  hr.ornamentleft,
  hr.ornamentright {
    width: 40%;
  }

  span.ornamentcenter {
    width: 20%;
  }

  .book-cover-panel {
    text-align: center;
    padding-bottom: 15px;
  }

  .book-detail-cover {
    float: none;
    width: 60%;
  }

  .tabnav>a {
    font-size: 12px;
  }

  .related_card {
    text-align: center;
  }

  .chat_splash {
    display: none;
  }

  .chat_panel {
    width: 100%;
  }


  .bookship-top {
    padding-top: 25vh;
  }

  .bookship-quotes-row {
    width: 100% !important;
  }

  .bookship-quote {
    font-size: 8px;
  }

  .bookship-appstore-logo {
    width: 30%;
  }

  .bookship-appstore-logo-fire {
    width: 26% !important;
  }

  .bookship-quote {
    min-height: 5vh;
  }

  .secondary-nav-item {
    padding: 5px;
    font-size: 14px;
  }

  .thp-source-hero {
    max-width: 95%;
    width: 95%;
    padding: 5px;
    margin-top: 0px;
  }

  .thp-hero-description {
    font-size: 14px;
  }

  /* .thp-hero-image {
       height: 50px;
       } */
  .secondary-nav-icon {
    height: 20px;
    width: 20px;
  }

  .wizard-progress .progress-step,
  .progress-step-nextprev,
  .wizard-help {
    font-size: 12px;
  }

  .wizard-progress .progress-step {
    width: 7rem;
  }

  .wizard-help .progress-step-width {
    width: 4rem;
  }

  .wizard-help {
    padding-right: 5px;
  }

  .wizard-container-grid li:nth-child(1) {
    width: 100%;
  }

  .wizard-progress .progress-track {
    width: calc(100% - 10rem);
    margin-left: 5rem;
    margin-right: 5rem;
  }

  .masonryitem-wide {
    width: 35rem !important;
    margin: 5px !important;
  }

  .personalizeHelp {
    width: 95%;
  }

  .static-navbar {
    height: 0 !important;
  }
  
  .static-navbar .navbar-nav, .static-navbar .navbar-right {
    display: none;
  }
}

.newsheader {
  line-height: 1;
}

.bookdesc-small {
  font-size: 14px;
}

@media (max-width: 600px) {

  /* .giftbrowse_panel { */
  /* 	width: 120%; */
  /* } */

  .usermenu {
    float: right !important;
    top: 50px !important;
    right: 0 !important;
    position: absolute !important;
  }

  .usermenu-avatar {
    float: right;
  }

  .giftbrowser-sizer {
    height: 40px;
    width: 95px;
  }

  .btn-mobile-full-width {
    width: 100%;
    display: block;
    font-size: 22px;
  }

  .comment-textarea {
    width: 100%;
  }

  .small-centered {
    float: none;
    margin: 0px auto;
  }

  .searchinput {
    width: 255px;
  }

  .searchinputx {
    left: 271px;
  }

  .navbar-center {
    display: none;
  }

  .secondary-dropdown {
    width: 350px;
    font-size: 9px;
  }

  .browse_button_link,
  .book_title {
    font-size: 16px;
  }

  .thp-avatar>img {
    width: 75px;
    height: 75px;
  }

  h1,
  .fake-h1 {
    font-size: 16px;
  }

  h4,
  .book_description,
  .form-signin .form-control {
    font-size: 12px;
  }

  .home-page-footer-link {
    font-size: 12px;
  }

  .panel_view {
    height: 150%;
  }

  .panel_view {
    position: inherit;
  }

  /* hide storypanel on phones */
  .masonry-stamp {
    display: none;
  }

  .storiesview {
    margin-left: 5%;
    width: 90%;
  }

  .storiesview-image {
    width: 50px;
    height: 50px;
  }

  .storiesview-entry {
    margin-right: 55px;
    font-size: 16px;
  }

  .storiesview-teaser {
    font-size: 12px;
  }

  .storiesview-opener,
  .storiesview-bookpanel {
    display: none;
  }

  #authorsdiv {
    height: 30rem;
  }

  .thp-chat-avatar {
    height: 75px;
    width: 75px;
  }

  .xframetakeover {
    top: 50px;
  }

  .newsitem {
    width: 40rem !important;
  }

  .bookHeaderBackground {
    height: 20rem;
  }

}

/* iphohe 6plus, nexus */
@media (max-width: 428px) {
  .masonryitem {
    width: 185px;
  }

  .wizard-container {
    margin: 1rem;
  }

  .wizard-progress .progress-step,
  .progress-step-nextprev,
  .wizard-help {
    font-size: 12px;
  }

  .wizard-progress .progress-step {
    width: 7rem;
  }

  .wizard-help .progress-step-width {
    width: 4rem;
  }

  .wizard-help {
    padding-right: 5px;
  }

  .wizard-container-grid li:nth-child(1) {
    width: 100%;
  }

  .wizard-progress .progress-track {
    width: calc(100% - 10rem);
    margin-left: 5rem;
    margin-right: 5rem;
  }

  .grid-container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .grid-item {
    width: 15rem;
    height: calc(1.6 * 15rem);
    margin: 0.15rem;
  }

  .sidecar-reading-card {
    height: calc(1.555 * 11rem);
  }

  /* .sidecar-cover {
       width: 10rem;
       min-height: calc(1.55 * 10rem);
       height: calc(1.55 * 10rem);
       }
     */

  .title_personalized {
    margin-top: 0px;
  }

  .personalizeHelp ul {
    padding-left: 20px;
  }

  .masonryitem-wide {
    width: 35rem !important;
    margin: 5px !important;
  }

  .threeLines {
    line-clamp: 2;
    /* number of lines to show */
    -webkit-line-clamp: 2;
    /* number of lines to show */
  }

  .newsitem {
    width: 38rem !important;
  }

}

@media (max-width: 400px) {

  .btn-responsive {
    font-size: 50%;
  }

  .btn-responsive-bigger {
    font-size: 75%;
  }

  #simplemodal-container p.opentext {
    font-size: 10px;
    line-height: 1.5;
  }

  #simplemodal-container {
    font-size: 10px;
  }

  .masonryitem {
    /* width: 300px; */
    width: 180px;
  }

  .card_title {
    font-size: 14px;
  }

  .publication_date {
    font-size: 10px;
  }

  .card-text {
    font-size: 12px;
  }

  .stream_cover_image {
    width: 100%;
  }

  simplemodal-container {
    width: 75%;
  }

  .tt-dropdown-menu {
    font-size: .4em;
    padding: 2px 0;
  }

  .tt-suggestion {
    padding: 3px 2px;
  }

  .searchinput {
    width: 200px;
  }

  .searchinputx {
    left: 216px;
  }

  .navbar-inverse {
    /* background-size: inherit; */
    background-size: 100% 50px;

  }

  .mypanelbody {
    padding: 15px;
  }

  .sub {
    font-size: 12px;
  }

  .story_thumbnail {
    display: none;
  }
}




/* iphone 6 */
@media (max-width: 375px) {
  .masonryitem {
    width: 178px;
  }

  .newsitem {
    width: 35rem !important;
  }

}

/* galaxy s5 */
@media (max-width: 360px) {
  .masonryitem {
    width: 170px;
  }

  .newsitem {
    width: 30rem !important;
  }
}

/* iphone 5 */
@media (max-width: 320px) {
  .masonryitem {
    width: 150px;
  }
}

/* via https://codepen.io/NickyCDK/pen/AIonk */
#snow {
  background: rgba(0, 67, 169, 0.75);
  font-family: Androgyne;
  background-image: url('https://images.thehawaiiproject.com/snow1.png'), url('https://images.thehawaiiproject.com/snow2.png'), url('https://images.thehawaiiproject.com/snow3.png');
  height: 100%;
  left: 0;
  position: absolute;
  top: 330px;
  width: 100%;
  z-index: -100;
  -webkit-animation: snow 10s linear infinite;
  -moz-animation: snow 10s linear infinite;
  -ms-animation: snow 10s linear infinite;
  animation: snow 10s linear infinite;
}

@keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }

  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }

  100% {
    background-position: 500px 1000px, 200px 400px, -100px 300px;
  }
}

@-moz-keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }

  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }

  100% {
    background-position: 400px 1000px, 200px 400px, 100px 300px;
  }
}

@-webkit-keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }

  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }

  100% {
    background-position: 500px 1000px, 200px 400px, -100px 300px;
  }
}

@-ms-keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }

  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }

  100% {
    background-position: 500px 1000px, 200px 400px, -100px 300px;
  }
}

/* via https://medium.com/-atsign-beyondborders/building-a-responsive-progress-bar-ea5a0ecabe91 */


.sidecar-content {

  /* what's left after sidecar-cover */
  width: calc(100% - 5rem);

  margin-left: 1rem;
  padding-top: 10px;
  margin: 0 auto;
  padding: 10px;
}

.avatar-medium {
  width: 3rem;
  height: 3rem;
}

.overflow-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.expandable-paragraph {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.expandable-paragraph .content {
  margin: 0;
  padding: 0;
  transition: max-height 0.5s ease;
  overflow: hidden;
  padding-bottom: 4rem;
}

.expandable-paragraph input[type="checkbox"] {
  display: none;
}

.expandable-paragraph label {
  position: absolute;
  bottom: 0rem;
  right: 0;
  background-color: grey;
  padding: 0 5px;
  cursor: pointer;
  z-index: 2;
  /* color: #333333; */
  background-color: #f5f5f5;
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  font-weight: normal;
}

.expandable-paragraph input[type="checkbox"]:not(:checked) + .content {
  max-height: 15rem; /* Approximately 10 lines of text */
}

.expandable-paragraph input[type="checkbox"]:not(:checked) + .content::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5em; /* Height of one line */
  background: linear-gradient(transparent, rgb(225, 225, 225));
  z-index: 1;
}

.expandable-paragraph input[type="checkbox"]:checked + .content {
  max-height: 1000px; /* A large value to ensure full expansion */
}

.expandable-paragraph input[type="checkbox"]:not(:checked) ~ label::after {
  content: "Read More";
}

.expandable-paragraph input[type="checkbox"]:checked ~ label::after {
  content: "Read Less";
}