/*****************************************************************
 ------------------------------------------------------------------
 CSS for Desktop and iPad landscape
 ------------------------------------------------------------------
 *****************************************************************/
@media only screen and (min-width: 1000px), only screen and (min-device-width: 1000px) and (orientation: landscape) {
  .ui-tooltip {
    min-width: 615px;
    padding: 25px 25px;
    border: 5px solid #000;
    position: absolute;
    top: 50px !important;
    left: -45px;
    display: none;
    background: #fff;
    color: #4c4c4c;
    line-height: normal;
    z-index: 1;
    cursor: auto;
    border-radius: 0;
    border-width: 5px !important;
    box-shadow: none;
  }

  .safety-header-links ul.menu li.indications-desktop-nav {
    position: relative;
    border-right: 5px solid #0093d3;
    border-left: 5px solid #0093d3;
    cursor: pointer;
  }

  .safety-header-links ul.menu li.indications-desktop-nav:after {
    content: '';
    width: 100%;
    height: 5px;
    position: absolute;
    left: 0;
    bottom: -5px;
    background: #fff;
    z-index: 12;
  }

  .safety-header-links ul.menu li.indications-desktop-nav:hover {
    border-right: 5px solid #000;
    border-left: 5px solid #000;
    background: #fff;
  }

  .safety-header-links ul.menu li.indications-desktop-nav:hover a {
    color: #0649bd;
  }

  .safety-header-links ul.menu li.indications-desktop-nav a:hover {
    text-decoration: none;
  }
}

/*****************************************************************
 ------------------------------------------------------------------
 CSS for Mobile and iPad potrait
 ------------------------------------------------------------------
 *****************************************************************/
@media only screen and (max-width: 999px) , only screen and (max-device-width: 999px) and (orientation: portrait) {
  .ui-tooltip {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 25px 25px;
    border: 3px solid #000;
    position: absolute;
    left: 0 !important;
    display: none;
    background: #fff;
    color: #4c4c4c;
    line-height: normal;
    z-index: 1;
    cursor: auto;
    border-radius: 0;
    border-width: 3px !important;
    box-shadow: none;
  }

  .indications-mob-nav a.add-border {
    padding: 20px 10px 20px 22px !important;
    border-top: 3px solid #000 !important;
    border-right: 3px solid #000 !important;
    border-left: 3px solid #000 !important;
  }

  .indications-mob-nav a.add-border:after {
    content: '';
    width: calc(50% - 6px);
    height: 3px;
    position: absolute;
    left: 3px;
    bottom: -3px;
    background: #fff;
    z-index: 2;
  }
}

@media only screen and (max-width: 999px) , only screen and (max-device-width: 999px) and (orientation: portrait) {
  .safety-header-links ul.menu li.indications-desktop-nav {
    position: absolute;
    border: none !important;
  }
  
  .safety-header-links ul.menu li.medication-desktop-nav {
    position: absolute;
  }
  .safety-header-links ul.menu li.indications-desktop-nav:after {
    display: none;
  }
  .safety-header-links ul.menu li.indications-desktop-nav:hover {
    border: none;
    background: none;
  }
  .safety-header-links ul.menu li.indications-desktop-nav:hover a {
    color: #fff;
    text-decoration: underline;
  }
}

/*****************************************************************
 ------------------------------------------------------------------
 CSS for Mobile and iPad potrait
 ------------------------------------------------------------------
 *****************************************************************/
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait), only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
  .ui-tooltip {
    top: 564px !important;
  }
}