/* Hidden elements */
.hide, [data-template] {
  display: none !important;
}

li button.icon-call:before {
  background-image: url("/shared/style/contacts/images/call.png") !important;
}

li button.icon-message:before {
  background-image: url("/shared/style/contacts/images/sms.png") !important;
}

li button.send-sms {
  width: 0;
}
li button.icon-email:before {
  background-image: url("/shared/style/contacts/images/mail.png") !important;
}

.has-preferred-sim .icon-call b {
  right: 6.5rem;
}

.has-preferred-sim .icon-call:before {
  width: 9.5rem !important;
  background-size: 3rem !important;
}

.call-action .js-sim-indication {
  display: none;
  font-size: 1.3rem;
  color: #5F5F5F;
  font-style: normal;
  line-height: 4rem;
  height: 4rem;
  text-align: right;
  width: 5.5rem;
  right: 1rem;
  top: 0;
  margin: 0;
  position: absolute;
  background: url("/shared/elements/gaia_sim_picker/images/long-tap-indicator.png") no-repeat right bottom 0.2rem / 1.4rem 1rem;
}

.has-preferred-sim .call-action .js-sim-indication {
  display: block;
}

#sim-picker {
  text-align: left;
}

#contact-detail h2 {
  display: flex;
  margin: 0 1.5rem 0.2rem;

  text-transform: uppercase;
  font-size: 1.8rem;
  color: #4997a7;
  font-weight: normal;
}

#contact-detail .carrier {
  font-size: 1.4rem;
  color: #5f5f5f;
  text-transform: none;
}

/* LAYOUT */
/* ITEM: The smallest complete structure; */
.item {
  display: block;
  overflow: hidden;
}

#contact-detail .item {
  display: flex;
}

.item-media {
  float: left;
  margin-right: 1rem;
}

.item-media.pull-right {
  margin-left: 1rem;
  margin-right: 0;
}

.item-media.pull-right button {
  padding-right: 3rem;
}

.item-body {
  display: table;
}

.item-body-exp {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

#contact-detail .item-body-exp {
  flex-grow: 1;
}

/* PULLS: Float an element to the desired position; */
.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

li button.activity > b {
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  position: absolute;
  left: 1.5rem;
  right: 3rem;
  top: 1rem;
  bottom: 0;
}

.remark {
  color: #339999 !important;
}

.remark-missed {
  color: #CC0000 !important;
}
