html,
body {
    padding: 0;
    margin: 0;
}

#ig-viewer {
    position: relative;
    height: 100%;
}

a {
    color: black;
    text-decoration-line: underline;
    text-decoration-thickness: 0.5px;

}

.navbar-default {
    background-color: white !important;
    display: flex;
    align-items: center;
}

.container,
.container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
    
}
.container{
position: relative;

}
#mainT{
    display: flex;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    background: white;
    filter: drop-shadow(grey 0rem 0.5rem 3px)
}

#ig-viewer {
    margin: 100px 0px 0px 0px;

}

.container {
    width: 100%;
    /* margin-top: 10px; */
}

.container .row {
    display: flex;
    align-items: center;
}

.container .col-md-4 {
    width: 43%;
}

.container .row .col-md-16 {
    text-align: left;
}

.container .row .col-md-16 a {
    font-size: 27px;
    font-style: bold;
    justify-self: center;
}

.footer .row {
    border-top: solid 2px;
    border-top-color: #cfdce4;
    padding-left: 20px;
    font-size: 13px;
}



#ig-viewer .ig-view-content #ig-view-twolevelmenu .header .navbar-header {
    background: url('https://www.prescribeit.ca/templates/gantry/images/logo/light/logo.png?v=3');
    background-position: left center;
    background-size: 180px;
    background-repeat: no-repeat;
    margin-top: 18px;
    margin-bottom: 18px;
}

#ig-viewer .ig-view-content #ig-view-twolevelmenu .header a.navbar-brand {
    width: 1000px;
    text-align: center;
    line-height: 1.2;
    color: white;
    padding-bottom: 5%;
}

#ig-viewer .ig-view-content #ig-view-twolevelmenu .header .navbar a {
    color: black;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    position: left top;
}


#ig-viewer .ig-view-content #ig-view-twolevelmenu .header .navbar {
    background-color: white;
    padding-bottom: 10px;
    border-bottom: solid 3px;
    border-bottom-color: #95C11E !important;

}

#ig-viewer .ig-view-content #ig-view-twolevelmenu .header .navbar-nav>li>a {
    color: black;
    font-weight: normal;
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #E2E2E2;
    font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

#ig-viewer .ig-view-content #ig-view-twolevelmenu .header .navbar-nav>li>a:hover {
    background-color: #D7D7D7;
    color: black;
    font-weight: normal;
    font-size: 16px;
}

#ig-viewer .ig-view-content #ig-view-twolevelmenu .header .navbar .dropdown-menu {
    background-color: white;
    font-weight: normal;
    font-size: 16px;
}

#ig-viewer .ig-view-content #ig-view-twolevelmenu .header .navbar .dropdown-menu a {
    color: black;
    font-weight: normal;
    font-size: 16px;
}

h1 {
    color: black;
    font-size: 170%;
    font-family: sans-serif;
    font-weight: bold;


}

h2 {
    color: black;
    font-size: 160%;
    font-family: sans-serif;

}

h3 {
    color: #e02e3b;
    font-size: 140%;
    font-family: sans-serif;
    padding-bottom: 10px;
}

h4 {
    color: black;
    font-size: 120%;
    font-family: sans-serif;
}

h5 {
    color: black;
    font-size: 110%;
    text-decoration-line: underline;
    font-family: sans-serif;
}

p {
    font-family: sans-serif;
    font-style: normal;
    font-size: 15px;
}

/* Set a background color to level 2 headers */
h1,
h2,
h3,
h4,
h5 {
    padding-top: 15px;
    padding-bottom: 5px;
    font-weight: bold;

}

#breadcrumb {
    color: #009EC9;
    background-color: white;
    font-family: sans-serif;
    font-style: normal;
}

#ig-viewer .ig-view-content {
    overflow: clip;
    min-height: 100%;
    position: relative;
    height: auto !important;
}

#ig-viewer .ig-view-content #ig-view-treetable {
    min-height: 100%;
}

#ig-viewer .ig-view-content #ig-view-treetable .segment-default-header {
    margin-bottom: 0;
    margin-left: 10px;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid {
    padding: 0;
    width: 100%;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel {
    width: 100%;
    height: 100%;
    position: relative;
    display: table;
    border-top: 1px solid #e6e6e6;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .tree-panel {
    width: 300px;
    height: 100%;
    float: left;
    padding: 10px;
    overflow: clip;
    position: relative;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .tree-panel .treenode a {
    color: black;
    cursor: pointer;
    text-decoration: none;
    text-overflow: clip;
    overflow: clip;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .tree-panel .ui-resizable-handle {
    right: 0;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .tree-panel table {
    width: 100%;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .tree-panel table td:first-child {
    min-width: 170px;
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: clip;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .preview-panel {
    width: 40%;
    height: 100%;
    float: right;
    padding: 10px;
    position: relative;
    border-left: 1px solid #e6e6e6;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .preview-panel table {
    width: 100%;
    overflow: clip;
    display: block;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .preview-panel .preview-bar {
    overflow: clip;
}

#ig-viewer .ig-view-content #ig-view-treetable .container-fluid #guide-panel .preview-panel.full-width {
    width: auto;
    overflow: clip;
    float: none;
}

#ig-viewer .ig-view-footer {
    background-color: white;
    color: black;
    height: 145px;
    position: relative;
    border-top: solid 10px;
    border-top-color: #95C11E !important;
    padding-top: 40px;
}

.header .navbar-nav li:first-child {
    display: none;
}


/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

#tocCon {
    display: flex;
    height: fit-content;

}

/* Page contents */
#PCon {
    height: unset;
    background-color: #F0F2F5!important;
    
    width: 200px;
    display: ruby;
}

#toc {
    display: block;
    /* margin-top: 30px; */
    min-width: 200px !important;
    padding-bottom: 10px;
    color: black;
    margin-right: 30px;
    position: sticky;
    height: max-content;
    width: 200px !important;
    /* white-space: nowrap; */

    top: 103px;
}

/* all links will have this css on hover */
a:hover {
    padding-bottom: 1px;
    /* border-bottom: 3px ridge #231f20; */
    text-decoration: none;
    color: white!important;
    background-color: black!important;

}

/* .navbar-nav {
    float: right;
} */

#guide-title {
    font-size: medium;
    padding-top: 40px;
    width: 100%;
    text-align: right;

    color: black !important;

}

#guide-title a {
    /* color: #95C11E; */
    text-decoration: none;
}

.col-md-4 {
    z-index: 1;
}

#preview-content {
    padding-top: 0 !important;
}

#header-container {
    display: flex;
    /* Use flexbox for horizontal layout */
    align-items: center;
    /* Vertically center the content */
    flex-wrap: nowrap;
}

/* Adjust styles for the first child div with the logo */
.col-md-4.PrescribeIT-logo {
    display: block;
    align-self: flex-start;
    padding: 10px;
    /* Optional: Add padding for
       spacing */
    padding-right: 0px;

}

@media (min-width: 992px) {
    .col-md-4 {
        width: auto !important;
    }
}



@media (min-width: 768px) {
    .navbar {
        border-radius: 0px;
        min-height: 62px;
    }
}

/* Adjust styles for the second child div with the dropdown navigation */
#navigation-cont {
    flex: 2;
    /* Allow it to grow to fill available space */
    padding: 10px;
    padding-left: 0;
    /* Optional: Add padding for spacing */
}

#nav-Logo {
    background-color: white;
    /* padding-left:20px; 
    padding-top:10px;  */
    max-height: 50px;
}

/* @media (max-width: 1050px) {
       Styles for screens with a width of 768 pixels or less 
      .navbar-nav {
        display:none;
        height: 62px;
        width: 100%;
        text-align: center;
      }
  
      .navbar-nav > li {
        display:inline-flex;
        flex-direction: row;
        width: 100%;
      }
      .navbar-toggle {
      position: relative;
      float: right;
      display: block;
      margin-right: 15px;
      padding: 9px 10px;
      margin-top: 8px;
      margin-bottom: 8px;
      background-color: transparent;
      border: 1px solid transparent;
      border-radius: 4px;
      }
      
      .navbar-header {
         float:right;
      }
  
     } */
/* table header */
#ig-editor table.regular thead th,
#ig-viewer table.regular thead th,
#preview-content table.regular thead th,
.rendered-resource table.regular thead th {
    background-color:#E02E3B !important;
    color: white;
}


table.guide, table.guide th, table.guide td
{ border-collapse:collapse;
 padding:5px; 
border:1px solid #ccc; 
border-top:none; }
table.guide th
{ background-color:#E02E3B!important; color:white; border:1px solid #ccc; }
#mPage {
    padding-left: 50px;
    width: 80%;
}


.PG-links:hover {
    background-color: black !important;
    color: white !important;
    cursor: pointer;
    font-weight: bold !important;
}
.PG-links{
    padding-left: 30px!important;
}
.PG-linksShown {
    background-color: black !important;
    color: white !important;
    cursor: pointer;
    font-weight: bold !important;
}

blockquote strong {
    color: red;
}

blockquote {

    display: block;
    position: relative;
    padding: 1.222rem;
    font-style: italic !important;

    padding-right: 10rem !important;
}

blockquote p {
    font-style: italic !important;
}

/* #test {
    width: 300px;
} */

#Home-guide-title {
    padding-top: 30px;
    display: none;
    width: 100%;
    height: 100%;
}
#guide-img{
    display: none;

  padding: 5px;
  margin-left: 20px;
  color: black;
font-family: Arial;
font-size: min(max(10px, 3vw), 50px);
font-style: normal;
font-weight: 700;
padding-right: 0px;
line-height: normal;
width: 70%;
margin: 30px;
text-align: left;
}
#mainTITLE{
    /* text-align: right; */
}
#guide-subtitle{
font-weight: normal;
padding-top: 3%;
font-size: min(max(3px, 2vw), 20px);
width: 100%;
margin-bottom: 15px;
}
.versionText{
    font-weight: normal;
    margin-top: 3px;
    color: #19202E;
    font-size:15px;
    /* text-align: right; */
}
.navbar-nav>li>a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.dropdown-menu {
    /* right: 0 !important; */
    left: 0;
}

.navbar {
    margin-bottom: initial !important;
}