/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 100%;
  line-height: 1.4;
}

body {
  font-family: 'Libre Franklin', Arial, Helvetica, sans-serif;
  color: #03345f;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
.ui-autocomplete {
  z-index: 9999;
  max-height: 250px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
  height: 250px;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#phplive_btn_1595433047 {
  position: fixed;
  bottom: 7px;
  right: 120px;
  z-index: 99;
  width: 60px;
  height: 60px;
}

.card-generic-name {
  font-size: 1.5em;
  font-weight: 700;
}

.card-strength {
  font-size: 1.1em;
  font-weight: 700;
}

.atoz-search .btn-outline-secondary {
  color: transparent;
  border-color: transparent;
  border-radius: 0.5rem;
  background-color: #d6e7f7;
  background-image:url(../img/search-button-sm.png);
  background-position:right;
  background-repeat:no-repeat;
  min-width: 3rem;
}

.red {
  color: #ff0000;
}

textarea {
  resize: vertical;
}

.note-frame {
  border-radius: 0;
}

.underline {
  text-decoration: underline;
}

.pointer {
  cursor: pointer;
}

.content {
  /*min-height: 700px;*/
}

a:disabled {
  text-decoration: line-through;
  color: red;
}

*:disabled {
  cursor: not-allowed;
}

.no-wrap {
  white-space: nowrap !important;
}

.vertical-align {
  vertical-align: middle !important;
}

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

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.shadow-1 {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.shadow-1:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.shadow-2 {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.shadow-3 {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.shadow-4 {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.shadow-5 {
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

/*
.content a:link, h3, .alpha-letter {
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
*/

.designate-mark {
  font-size: 1.0em;
  font-weight: bold;
}

#agreement-box {
  border: 1px solid #888;
  padding: 20px;
  height: 300px;
  overflow-y: scroll;
}

/* ==========================================================================
   Cart
   ========================================================================== */
.optimize-button, #show-optimize {
  cursor: pointer !important;
}

.cancel-optimize {

}

/* ==========================================================================
   Scroll to top
   ========================================================================== */
#scrollTop {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  padding: 15px; /* Some padding */
  font-size: 18px; /* Increase font size */
  border-radius: 6px;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table thead th {
  color: #999;
  border-bottom: 0;
}

/* ==========================================================================
   Card
   ========================================================================== */
.drug-notes {
  font-size: 0.9em;
  padding: 0;
  margin: 0;
}

.account-card {
  height: 380px;
}

/* ==========================================================================
   Links
   ========================================================================== */
.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.shadow-bottom {
  box-shadow: 0 4px 2px -2px rgba(0, 0, 0, .2);
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
}

.alert-dark, .bg-dark {
  background-color: rgba(233, 236, 239, 0.2);
  color: white;
}

.navbar {
  background-color: #fbfbfc;
}

.breadcrumb {
  background-color: #fff;
  border-radius: 0;
  font-size: 0.9em;
}

.dropdown-menu {
  z-index: 1021;
}

/* ==========================================================================
   SEARCH
   ========================================================================== */
.search-container {
  border: 1px solid lightgray;
  padding: 10px;
  border-radius: 5px;
}

.icon-spacer {
  padding-left: 18px;
}

.drug-row {
  cursor: pointer;
}

.nav-search-container {
  width: 50%;
  max-width: 400px;
  margin-left: auto;
}

.search-control {
  width: 100%;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
#faq-list li {
  margin-bottom: 5px;
  list-style: lower-roman;
}

#hour-list {
  font-size: 0.9em;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  position: relative;
  padding: 70px 0;
}

.icon {
  font-size: 42px;
}

.icon-boxes {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
}

/* ==========================================================================
   Custom Headings
   ========================================================================== */
/*
h6 {
  text-decoration: underline;
  font-size: 1.2em;
}

h7 {
  text-decoration: underline;
  font-size: 1.1em;
}
*/

/* ==========================================================================
   Alert boxes
   ========================================================================== */
.alert {
  font-size: 0.75em;
  color: #222;
}

.alert p {
  margin: 2px 0;
  padding: 0;
}

/* ==========================================================================
   Alphabetical List
   ========================================================================== */
#alpha-list {
  /* We first create a flex layout context */
  display: flex;

  /* Then we define the flow direction
     and if we allow the items to wrap
   * Remember this is the same as:
   * flex-direction: row;
   * flex-wrap: wrap;
   */
  flex-flow: row wrap;
  justify-content: center;
}

.alpha-letter {
  font-size: 0.9em;
  text-decoration: underline;
  line-height: 26px;
  cursor: pointer;
}

.alpha-letter:hover {
  font-size: 1.2em;
  font-weight: bold;
}

.text-small {
  font-size: 0.9em;
}

.text-smaller {
  font-size: 0.8em;
}

.text-smallest {
  font-size: 0.7em;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
 Jumobotron
 ========================================================================== */
.jumbotron {
  font-family: 'Montserrat', sans-serif;
  color: #222;
  height: 100%;
  max-height: 500px;
  border-radius: 0;
}

/*
.jumbotron {
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background-image: url(../img/stock4.png);
    background-position: right 20%;
    background-repeat: no-repeat;
    height: 100%;
    max-height: 500px;
    border-radius: 0;
}
 */

#jumbo-text {
  background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1));
  padding: 10px;
  width: 60%;
  max-width: 700px;
  border-radius: 10px;
}

#jumbo-heading {
  color: #464a4e;
  font-weight: bold;
  margin-bottom: 10px;
}

#jumbo-subheading {

}

#jumbo-info {
  font-size: 1.0em;
}

#jumbo-extra {

}

/* ==========================================================================
  Social Icons
  ========================================================================== */
.social-icons {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.social-icons li {
  display: inline-block;
  margin-bottom: 10px;
}

.social-icons li a {
  display: block;
  margin-left: 10px;
  color: #fff;
}

/* ==========================================================================
  Helper classes
  ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.product-img {
  max-width: 150px !important;
  padding-right: 10px;
}

.product-img-lg {
  max-width: 200px !important;
  padding-right: 10px;
}

.progress-bar a, .progress-bar a:hover {
    color: white;
}

/**
 * Fix for navbar mobile?
 */
@media (max-width: 575.98px) {
  #search-form-nav {
    width: 100%;
  }
}
