/*
    Make sure these styles result in a consistent appearance regardless of browser used.
    Make page look as much like the PDF as possible:
        http://ipm.ucanr.edu/PDF/PMG/pmgavocado.pdf
*/
@media print {
  div.breadcrumb,
  button.btn,
  footer,
  .in-page-nav,
  nav {
    display: none !important;
  }
  div,
  span,
  article,
  table,
  p {
    display: block !important;
  }
  body {
    margin: 0 !important;
    background: white;
  }
  main {
    width: 100%;
    margin: 0;
    float: none;
  }
  main div.offset-lg-2 {
    margin: 0;
  }
  main table {
    border: 1px solid gray;
  }
}

#mobile-footer {
  display: none;
}

nav.contents-menu {
  display: none;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  footer#page-navigation,
  footer.copyright {
    display: none;
  }
  nav.contents-menu {
    display: block;
    position: fixed;
    left: -900px;
    top: 56px;
    height: 100%;
    background-color: white;
    overflow-y: scroll;
    overflow-x: visible;
    z-index: 999;
    -webkit-box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  nav.contents-menu.open {
    left: 0px;
  }
  nav.contents-menu div.menu-header {
    height: 80px;
    overflow-y: auto;
    background-color: #E88120;
    color: white;
  }
  nav.contents-menu div.menu-body {
    max-width: 300px;
  }
  nav.contents-menu div.menu-body h6.list-heading {
    max-width: 250px;
    color: gray;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
  }
  nav.contents-menu div.menu-body a {
    border: none;
    color: #5B8EAB;
  }
  nav.contents-menu div.menu-body ul {
    font-size: 1.2rem;
    list-style-type: none;
  }
  #sliderContainer div.background-shader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.3;
  }
  #sliderContainer div.panel-slider {
    overflow: hidden;
    display: none;
    position: fixed;
    bottom: 61px;
    left: 0;
    width: 100%;
    height: 470px;
    z-index: 1999;
  }
  #sliderContainer div.panel-slider div.panel-tab {
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2000;
    width: 50px;
    height: 20px;
    cursor: pointer;
    text-align: center;
    background-color: white;
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    -webkit-box-shadow: 0px -5px 17px -4px rgba(0, 0, 0, 0.46);
    -moz-box-shadow: 0px -5px 17px -4px rgba(0, 0, 0, 0.46);
    box-shadow: 0px -5px 17px -4px rgba(0, 0, 0, 0.46);
  }
  #sliderContainer div.panel-slider div.panel-tab i.fa {
    position: relative;
    top: -3px;
  }
  #sliderContainer div.panel-slider div.panel-body {
    overflow: auto;
    height: 100%;
    padding-top: 35px;
    background-color: white;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    -webkit-box-shadow: 0px -5px 17px -4px rgba(0, 0, 0, 0.46);
    -moz-box-shadow: 0px -5px 17px -4px rgba(0, 0, 0, 0.46);
    box-shadow: 0px -5px 17px -4px rgba(0, 0, 0, 0.46);
  }
  #sliderContainer div.panel-slider div.panel-body h1 {
    font-size: 2.0rem;
  }
  #sliderContainer div.panel-slider div.panel-body h4 {
    display: block;
    color: #E88120;
  }
  #sliderContainer div.panel-slider div.panel-body ul {
    font-size: 85%;
  }
  #sliderContainer div.panel-slider div.panel-body ul.social-media-list {
    margin: 0 auto;
    width: 150px;
    list-style-type: none;
    padding-left: 0;
    font-size: 1.2rem;
  }
  #sliderContainer div.panel-slider div.panel-body ul.social-media-list li a {
    color: #5B8EAB;
    text-decoration: none;
    border: none;
  }
  #sliderContainer div.panel-slider div.panel-body ul.social-media-list li a i {
    color: #004B76;
    margin-right: 5px;
  }
  #sliderContainer div.panel-slider div.panel-body ul.link-list {
    margin: 0 auto;
    padding-left: 0;
    font-size: 1.1rem;
    list-style-type: none;
    text-align: center;
  }
  #sliderContainer div.panel-slider div.panel-body ul.link-list li a {
    color: #5B8EAB;
    text-decoration: none;
    border: none;
  }
  footer#mobile-footer {
    display: block;
    width: 100%;
    padding: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 2000;
    text-align: center;
    background-color: #EEEEEE;
    border-top: 1px solid #B6B7B9;
  }
  footer#mobile-footer div.tab {
    padding: 10px 0;
    cursor: pointer;
    color: #5B5B5B;
    text-align: center;
    background-color: #EEEEEE;
  }
  footer#mobile-footer div.tab.active {
    background-color: #004B76;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  footer#mobile-footer div.tab.active i.fa,
  footer#mobile-footer div.tab.active > div {
    color: white;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  footer#mobile-footer div.tab i.fa {
    font-size: 1.4rem;
    color: #5B5B5B;
  }
  footer#mobile-footer div.tab a,
  footer#mobile-footer div.tab > div {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25px;
    color: #5B5B5B;
  }
}

footer {
  background-color: #005581;
  padding-top: 5px;
  padding-bottom: 15px;
}

footer.main-footer-content {
  position: relative;
  z-index: 2001;
}
