html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


body {
  font-size: 100%;
  font-family: "Droid Serif", serif;
  color: #7f8c97;
  background-color: #e9f0f5;
}

a {
  color: #acb7c0;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
}

img {
  max-width: 100%;
}

h1, h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

.gift-container {
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}
.gift-container::after {
  content: '';
  display: table;
  clear: both;
}

header {
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #303e49; /*dark blue*/
}
header h1 {
  color: white;
  font-size: 18px;
  font-size: 1.125rem;
}

#gift-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}

#gift-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #d7e4ed;
}

.gift-block {
  position: relative;
  margin: 2em 0;
}
.gift-block:after {
  content: "";
  display: table;
  clear: both;
}
.gift-block:first-child {
  margin-top: 0;
}
.gift-block:last-child {
  margin-bottom: 0;
}

.gift-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

i.fa {
  position: absolute;
  left: 35%;
  top: 33.3%;
}

i.fa-times {
  left: 4%;
  top: -11.7%;
  color: #c03b44;
}

i.fa-spinner {
  left: 24%;
  top: 31.3%;
}

.gift-icon.unread {
  background: #75ce66;
  color: #303e49;
}

.gift-icon.unread .fa-play {
  display: inherit;
}

.gift-icon.caution {
  background: #f0ca45;
  color: #303e49;
}

.gift-icon.caution i.fa-pause {
  display: inherit;
}

.gift-icon.read {
  background: #c03b44;
  color: #e9f0f5;
}

.gift-icon.read i.fa-stop {
  display: inherit;
}

.gift-icon.read i.fa-play {
  display: none;
}
.gift-icon.read i.fa-pause {
  display: none;
}
.gift-icon.read i.fa-spinner {
  display: none;
}

.gift-icon.waiting i.fa-spinner {
  display: inherit;
}

.gift-icon.waiting i.fa-play {
  display: none;
}
.gift-icon.waiting i.fa-pause {
  display: none;
}
.gift-icon.waiting i.fa-stop {
  display: none;
}


.gift-content {
  position: relative;
  margin-left: 60px;
  background: white;
  border-radius: 0.25em;
  padding: 1em;
  box-shadow: 0 3px 0 #d7e4ed;
}
.gift-content:after {
  content: "";
  display: table;
  clear: both;
}
.gift-content h2 {
  color: #303e49;
}
.gift-content p, .gift-content .gift-read-more, .gift-content .gift-reviewed, .gift-content .gift-date {
  font-size: 13px;
  font-size: 0.8125rem;
}
.gift-content .gift-read-more, .gift-content .gift-reviewed, .gift-content .gift-date {
  display: inline-block;
}
.gift-content p {
  margin: 1em 0;
  line-height: 1.6;
}
.gift-content .gift-read-more, .gift-content .gift-reviewed {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: white;
  border-radius: 0.25em;
}
.no-touch .gift-content .gift-read-more:hover {
  background-color: #bac4cb;
}
.no-touch .gift-content .gift-reviewed .red:hover {
  background-color: #ba343b;
}
.no-touch .gift-content .gift-reviewed .greed:hover {
  background-color: #34ba34;
}
.gift-content .gift-date {
  float: left;
  padding: .8em 0;
  opacity: .7;
}
.gift-content::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid white;
}

i.fa.hidden {
  display: none;
}

.bhidden {
  display: none !important;
}
