/* Schedule CSS */
h1.my_appointments button {
  float: right;
  margin-top: 25px;
  display: none;
}

.schedule-step {
  font-size: 120%;
  line-height: 160%;
  margin-bottom: 8px;
}


.schedule-step label {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block;
  padding: 15px;
}

.schedule-step select {
  color: #767561;
  font-size: 22px;
  padding: 4px;
  text-align: center;
  width: 100%;
}

.calendar-step .step-title {
  font-weight: bold;
}

.credit-card-required-for-scheduling {
  color: #f30;
  font-size: 120%;
  font-weight: bold;
  line-height: 1.4em;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 60%;
  padding: 50px 0;
  text-align: center;
}

#details-about-appointment-type {
  background-color: #fff;
  border-radius: 3px;
  border-radius: 4px;
  border: 1px solid #cecece;
  color: #848484;
  display: none;
  font-size: 14px;
  font-weight: normal;
  margin: 10px 0;
  padding: 6px 8px 6px 30px;
  position: relative;
}

#details-about-appointment-type:before {
  -webkit-font-smoothing: antialiased;
  color: #fdbf00;
  content: '\f05a';
  display: inline-block;
  font: normal normal normal 22px/1 FontAwesome;
  left: 5px;
  text-rendering: auto;
  visibility: visible;
  width: 30px;
  position: absolute;
}

.appointments_messages ul li.request .subject a {
  color: #48767;
}

.requested_appointment_details p {
  padding-bottom: 0;
  margin-bottom: 0;
}

.schedule-step select {
  background-size: 4%;
}

#open_dates_f .appointment_form {
  padding: 15px;
}

/* Calendar View of upcoming appointments */

.inbox-schedule-tile {
  display: flex;
  margin: 0 -15px 20px 0px;
}

.inbox-schedule-tile .my-appointments {
  flex: 0 0 98%;
}

.block-header {
  background: #486a70;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 13px 20px;
  text-decoration: none;
  font-size: 18px;
}

.block-header span {
  margin-right: 8px;
}

.block-header a {
  color: white;
}

/* My Appointments */

.appointments {
  display: flex;
  flex-wrap: wrap;
  flex-flow: row wrap;
  justify-content: space-between;
}

.appointment-tile {
  -ms-flex-direction: column;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  background: #FFFFFF;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  display: flex;
  flex-basis: 49%;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
  margin: 0 0 15px;
  min-width: 0;
  padding: 25px 13px 13px;
  position: relative;
  width: 100%;
  word-wrap: break-word;
}

.appointment-tile:nth-child(2n) {
  margin-left: 12px;
}

.appointment-tile.no-appointments-scheduled {
  width: 100%;
  margin-right: 0;
}

.appointment-tile.no-appointments-scheduled {
  width: 100%;
}

.appointments {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.appointment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.appointment .appointment_date {
  height: 122px;
  width: 122px;
  background-size: contain !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: -10px;
}

.appointment .appointment_date.appointment_date_pending {
  background: url(/images/icons/icon-calendar-alt-grey.svg) 0 0 no-repeat transparent;
}

.appointment .appointment_date.appointment_date_confirmed {
  background: url(/images/icons/icon-calendar.png) 0 0 no-repeat transparent;
}

.appointment .appointment_date-month {
  color: #fff;
  font-size: 28px;
  line-height: 0.2;
  font-weight: lighter;
  height: 20px;
}

.appointment .appointment_date-number {
  color: #9b9b9b;
  font-size: 45px;
  line-height: 1.2;
  height: 34px;
}

.appointment .appointment_info {
  -ms-flex-wrap: wrap;
  color: #9b9b9b;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  flex-basis: 150px;
  flex-wrap: wrap;
  padding-left: 15px;
  text-align: left;
  flex-grow: 2;
}

/* Video Link */

.appointment .video-link {
  padding: 8px 12px;
  border: solid 1px #1e7db5;
  margin: 12px auto 0;
  border-radius: 4px;
  background-color: #1e7db5
}

.appointment .video-link a {
  display: block;
  width: 100%;
  height: 100%;
  color: white;
  position: relative;
  transition: all .2s;
  font-weight: bold;
}

.appointment .video-link a i {
  background-color: white;
  border-radius: 4px;
  color: #1e7db5;
  padding: 4px;
  font-size: 22px;
  margin-right: 8px;
  display: inline-block;
}

.appointment .video-link a:hover {
  text-decoration: underline;
}

.appointment .telemedicine-note {
  font-size: 16px;
  line-height: 24px;
  margin-top: 12px;
  text-align: left;
}

.appointment .telemedicine-note i {
  font-size: 20px;
  margin-right: 4px;
  color: #e7b415;
}

.pt_cancellation_forbidden {
  margin-bottom: 0;
}

.appointment_icons a {
  display: inline-block;
  margin-left: 10px;
}

.appointment_details {
  display: block;
}

.appointment_status {
  width: 100%;
  display: block;
  font-weight: bold;
}

.timezone-notice {
  display: inline-block;
  color: white;
  font-size: 13px;
  margin-left: 10px;
  font-style: italic;
}
.timezone-notice.alert {
    color: #c00;
    font-size: 100%;
}

/*Icons */

button.schedule_cancel_appt,
button.schedule_cancel_appt_request {
  background-color: transparent;
  position: absolute;
  padding: 10px 18px 10px 10px;
  right: 0;
  top: 2px;
  background-repeat: no-repeat;
  color: #ababab;
  background-position: right 7px;
  margin-right: 12px;
  transition: all .2s;
}

button.schedule_cancel_appt:hover,
button.schedule_cancel_appt_request:hover {
  background-color: transparent !important;
  color: #e9604c;
}

.icon-trash-grey {
  background-image: url(/images/icons/trash-icon.svg);
}

.icon-clock {
  background-image: url(/images/icons/icon-clock.svg);
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

/* Past Appointments Link */
p.past_appointments {
  font-size: 16px;
  text-decoration: underline;
  margin-bottom: 18px;
}

/* Privacy Notice */
.privacy-notice {
  padding: 30px 0 20px;
}

.privacy-notice h5 {
  font-size: 14px;
  color: #54565A;
  margin: 6px 0;
}

.privacy-notice p {
  font-size: 10px;
  margin-bottom: 0;
  padding-bottom: 0;
}


@media only screen and (max-width: 680px) {
  h1.my_appointments button {
    float: none;
    margin-top: 8px;
  }

  .get-started-tiles {
    display: block !important
  }

  .get-started-tiles .tile {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 40px;
  }

  .appointments {
    display: block
  }

  .row.inbox-schedule-tile {
    display: block;
    margin: 0;
  }

  .row.inbox-schedule-tile .inbox-schedule-tile,
  .row.inbox-schedule-tile .schedule-tile,
  .row.inbox-schedule-tile .inbox-block {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: auto;
  }

  .row.inbox-schedule-tile .inbox-schedule-tile {
    border-bottom: 20px;
  }

  .inbox-block-wrapper {
    margin-bottom: 30px;
  }

  .my-appointments .appointments {
    display: block;
    width: 100%;
  }

  .appointments .appointment-tile {
    width: 100%;
    display: block;
    box-sizing: border-box;
    min-width: 300px;
  }

  .appointment-tile:nth-child(2n) {
    margin-left: 0px;
  }

  .schedule-tile {
    padding: 30px 0 0;
  }

  .schedule-tile a {
    margin-bottom: 0;
  }

  .sub_foot .locations .hours {
    display: inline-block;
    float: none;
  }

  .privacy-notice {
    padding: 12px 0 0px;
  }
}

/* Moved from the schedule page. Some is calendar, some is likely deprecated */
.alt td {
  background-color: #D5E1EA;
}

.open {
  background-image: url(/images/icons/check.gif);
  background-repeat: no-repeat;
  text-indent: 18px;
  color: #339900;
  cursor: pointer;
}

.closed {
  background-image: url(/images/icons/cross.gif);
  background-repeat: no-repeat;
  text-indent: 18px;
  color: #CC0000;
}

#schedule_table {
  font-size: 11px;
}

#schedule_table th {
  font-weight: normal;
  color: #FFFFFF;
}

#schedule_table td {
  border-right: 1px solid #ccc;
  padding: 4px;
}

#calendar_inside {
  width: 100%;
  clear: left;
  margin-top: 8px;
}

.calendar_holder {
  width: 44%;
  padding: 0 3%;
  float: left;
}

.calendar_holder table {
  margin: auto;
}

.upcoming {
  padding: 15px;
  margin: 10px 10px 15px;
  border: 2px solid #cecece;
}

.mini_calendar table td {
  border-color: -moz-use-text-color -moz-use-text-color #003366 #003366;
  border-style: none none solid solid;
  border-width: medium medium 1px 1px;
  font-size: 10px;
  height: 42px;
  padding: 0 3px;
  vertical-align: top
}

.mini_calendar table td span {
  float: right;
  color: #666;
  height:
}

.mini_calendar table th {
  background-color: #0080C0;
  color: white;
  padding: 3px;
  text-align: center;
}

.mini_calendar table {
  border-right: 1px solid #0080C0;
  width: 100%;
}

.mini_calendar h4 {
  margin: 0;
}

.mini_calendar .past {
  background-color: #E4E4E4;
}

.mini_calendar .future {
  background-color: #E4E4E4;
}

.mini_calendar .available {
  background-color: #FFF;
  cursor: pointer;
  background-image: url(/images/icons/check.gif);
  background-repeat: no-repeat;
  background-position: center center;
}

.mini_calendar .unavailable {
  background-color: #FFF;
  background-image: url(/images/icons/cross.gif);
  background-repeat: no-repeat;
  background-position: center center;
}

.mini_calendar .invalid {
  border-left: none;
  background: #BAC8D6;
}

.none_available {
  font-weight: bold;
  text-align: center;
  color: #c0392b;
  padding: 7px;
  margin: 20px 10px;
  border: 2px solid #c0392b;
}

/* Character Limiting */
.char-limit {
  font-size: 11px;
  margin: -3px 0;
  opacity: 0.7;
  padding: 0;
  text-align: right;
}

.char-limit.limit-reached {
  font-weight: bold;
  opacity: 1;
  color: #c0392b;
}