/* Rxs CSS */

.page-rxs .text .pt_rxs:before {
  background: #73306b url(/images/icons/rxs.png) no-repeat center;
  content: '';
}

.pt_rxs h2 {
  border-bottom: solid 1px #A2A3A5;
  padding: 12px;
}

.pt_rxs h2,
.pt_rxs h4 {
  text-align: center;
}

.medications_header .drug_name {
  float: left;
  overflow: hidden;
  width: calc(25% - 15px);
  padding-right: 15px;
}

.medications .amount {
  width: calc(25% - 15px);
  overflow: hidden;
}

.medications_header div,
.medications_header div.generated {
  color: #A2A3A5;
  font-size: 14px
}

.medications_header div.generated,
div.actions {
  width: calc(25% - 15px);
}

.medications {
  background-repeat: no-repeat;
  border-bottom: solid 1px #e8e8e8;
  color: #54565A;
  overflow: hidden;
  padding: 8px 8px 8px 25px;
  vertical-align: top
}

.medications.medications_header,
.medications.alt {
  background-color: #f1f1f1;
}

.medications:last-child {
  border-bottom: none;
}

.medications a {
  color: #0066CC;
  display: inline-block;
  overflow: hidden;
  width: calc(25% - 15px);
  padding-right: 15px;
}

.medications .rx-fact-sheet a {
  display: inline;
  width: auto;
}

.medications div {
  display: inline-block;
  vertical-align: top;
}

.medications .drug_name {
  cursor: pointer;
}

.medications .expires {
  width: calc(25% - 15px);
}

.discontinued .drug_name {
  color: #d42626;
}

.discontinued .date-generated {
  display: none
}

.medications .renew {
  background: white;
  border-radius: 6px;
  clear: both;
  color: #617b52;
  float: left;
  font-size: 11px;
  font-weight: bold;
  height: 20px;
  overflow: visible;
  padding: 4px 6px 4px 26px;
  position: relative;
  text-decoration: none;
  width: 78px;
  border: solid 1px #d0d0d0;
}

.medications .renew:before {
  -webkit-font-smoothing: antialiased;
  color: #70BA44;
  content: '\f021';
  display: inline-block;
  font: normal normal normal 20px/1 FontAwesome;
  left: 5px;
  position: absolute;
  text-rendering: auto;
  visibility: visible;
}

.medications .renew:hover,
.medications .renew:hover:before {
  color: #58a22b;
}

.medications .renewed {
  color: #ff7300;
  width: auto;

}

.medications .renewed:before {
  color: #f99c50;
  content: '\f017';
  visibility: visible;
  display: inline-block;
  font: normal normal normal 25px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  margin-right: 4px
}

.medications .description {
  background-color: #ececec;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  clear: left;
  display: none;
  margin: 8px;
  padding: 8px;
  position: relative;
  top: 8px;
}

.expired {
  opacity: .7;
  moz-opacity: .7;
  filter: alpha(opacity=70);
}

.expired .medications {}

.clickable {
  cursor: pointer;
}

.expired_medications_header {
  border-bottom: solid 1px #b3b3b3;
  font-size: 18px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  padding-top: 20px;
}

#rx_loading_block {
  padding: 15px;
}

#rx_selector {
  font-size: 120%;
}

.search>span {
  display: block;
  font-weight: bold;
  padding-top: 10px;
}

strong.drug_name {
  font-size: 120%;
  padding-right: 10px;
}

.selected_rx {
  display: block;
  padding: 10px;
  text-align: center;
}

.medications .rx-dispense-hx {
  cursor:pointer;
}

.medications .rx-dispense-hx.dispensed i {
  color:#739a64;
}

.medications a.rx-dispense-show-additional {
  display:block;
  width: 100%;
  font-size: 13px;
  cursor:pointer;
}

.medications .rx-dispense-hx-additional {
  display:none; /* we show this on click */
}

/*hide label on desktop */
.medications label {
  display: none;
}

.expired .medications label.drug_expires_label {
  display: inline-block;
}

/* rx box forms */
.rxs_box_form p {
  line-height: 19px;
  font-size: 13px;
  padding: 11px 0;
}

.none {
  text-align: center;
  padding: 5px;
}

/* option/display for "I'm not taking any medications" */
.pt_rxs_none_checkbox {
  margin: 10px 5px;
  padding: 5px 7px;
  border: solid 1px #d8d8d8;
  border-radius: 8px;
  background-color: #FFF;
  display: block;
  text-align:center;
}

.pt_rxs_none_checkbox input {
  margin:0 5px;
}

.pt_rxs_none_checkbox.pt_rxs_none_checkbox_disabled {
  background-color: inherit;
  border: none;
  opacity: 0.7;
}

/*********** BOX FORMS *****************/
.draggable.rxs_box_form.rxs_renew_box_form form {
  padding: 15px;
}

/*********** RESPONSIVE *****************/

@media screen and (max-width: 600px) {
  .medications_header {
    display: none
  }

  .medications .drug_name,
  .medications .amount,
  .medications .expires,
  .medications .actions {
    display: block;
    width: 100%;
  }

  .medications label {
    display: inline-block;
    margin-right: 10px;
    color: #424242;
    font-weight: bold;
  }

  .medications {
    border-bottom: solid 1px #f7f7f7;
  }

  .medications:last-child {
    border-bottom: none
  }

}

/*********** PRINT *****************/

@media print {

  .harass_notice,
  .rx_button_box,
  .portal_menu,
  a.renew {
    display: none;
  }

  .pt_rxs h2,
  .pt_rxs h4 {
    text-align: left;
  }

  .medications .description {
    display: block;
  }

  .text {
    width: auto;
    max-width: none;
  }

  .medications a {
    width: 40%;
  }

  .medications .description {
    border-radius: 0;
    border: 0;
    top: 0;
    padding: 2px 0;
  }
}