/* width */
::-webkit-scrollbar {
  width: 7px;
  
}
/*
header{
	position: fixed;
}
*/
/* Track */
::-webkit-scrollbar-track {
  /* background: #fafafa;  */
  background: transparent;
  border-radius: 5px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #d6d6d6; 
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(187, 187, 187); 
}

body {
	padding-top:70px;
  min-height: 100vh;
  min-height: -webkit-fill-available;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}

html {
  height: -webkit-fill-available;
}

main {
  display: flex;
  flex-wrap: nowrap;
  height: 100vh;
  height: -webkit-fill-available;
/*  max-height: 100vh;*/
  overflow-x: auto;
  overflow-y: hidden;
}

.main-header{
	background:#FFF;
	z-index: 100;
}
#chapter-content,#category-content, #item-content{
	max-height: calc(100vh - 71px);
	overflow-y: auto;
	
}
#category-content{
	overflow: hidden;
}
.disabled_category{
	font-weight:bolder;
	color:#4E4E4E !important;
}
.subcat_link_item{
	text-indent: 20px;
}
.b-example-divider {
  flex-shrink: 0;
  width: 0.2rem;
  height: calc(100vh - 71px);
  background-color: rgba(0, 0, 0, .05);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .05), inset 0 .125em .5em rgba(0, 0, 0, .05);
}

.bi {
  vertical-align: -.125em;
  pointer-events: none;
  fill: currentColor;
}

.dropdown-toggle { outline: 0; }

.nav-flush .nav-link {
  border-radius: 0;
}

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
  border: 0;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, .85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.scrollarea {
  height: calc(100vh - 200px);
  overflow-y: auto;
  /* overflow-y: scroll; */
}
.scrollarea_drops{
    height: calc(100vh - 110px);
    overflow-y: auto;
}

#category-content .scrollarea {
	overflow: hidden;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}
#chapter-content .scrollarea{
	overflow: hidden;
}
#item-content .scrollarea{
	overflow: hidden;
}
.fw-semibold { font-weight: 600; }
.lh-tight { line-height: 1.25; }


#search_input{
	border: 1px solid rgba(0,0,0,.05);
    border-radius: 0.25rem;
	/*box-shadow: 0 0 3px rgba(3,3,3,0.2);*/ 
	background:rgba(255, 255, 255, 0.929);
	padding-top:7px;
	padding-bottom:7px;
}
#search_input:focus{
	box-shadow: 0 0 4px #0099ff; /* add box shadow */
	background:#FFF;
	border:1px solid rgba(0,0,0,.30);
}


#contain_search{
    width:100%;
    position: fixed;
    top:70px;
    z-index: 1000;
}

#search-results{
    display: none;
    width:95%;
    overflow-y: auto;
    border:1px solid #CCC;
    z-index: 999;
    max-height: 500px;
	margin: auto; /* center the box horizontally */
	background-color: #fff; /* set background color */
	box-shadow: 0 5px 3px rgba(5,5,5,0.2); /* add box shadow */
	border-radius: 5px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
#search-results #search-contents{
    padding:20px;
}
#search-text{
    color:teal;
    font-style: italic;
}

.search_loader {
    animation: pulse 1.5s infinite;
}

#search_top{
    padding-top:10px;
    padding-bottom:10px;
    border-bottom:1px solid #CCC;
    background:#FFF;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    margin-bottom:5px;
}
@keyframes fast-pulse {
  0% {
    background-color: #fffcad;
  }
  25% {
    background-color: white;
  }
  50% {
    background-color: #fffcad;
  }
  75% {
    background-color: white;
  }
  100% {
    background-color: #fffcad;
  }
}
.fast-pulse{
  animation: fast-pulse 1s linear infinite;
  background:red;
  padding:5px;
  border-radius: 5px;
}

#provide_feedback_btn{
    background:#0d6efd;
    color:#FFF;
    font-weight:400;
    text-transform: capitalize;
    position: fixed;
    bottom: 5%;
    /* left: 92%; */
    right: 5%;
    padding:5px;
    padding-right:10px;
    padding-left:10px;
    z-index:999;
    text-decoration:none;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(5,5,5,0.2); /* add box shadow */
}
#provide_feedback_btn:hover{
    background:#054cb8;
}
#feedback_form_container{
	width:400px;
	position: fixed;
	bottom:5%;
	right:5%;
	z-index: 999;
	box-shadow: 0 0 15px 4px rgba(0,0,0,0.2);
}
a.exception_count_link{
	text-decoration: none;
}
a.hideArrows{
	color:#B50407 !important;
}
a.hideArrows::before{
	content: '';
}
#search_result_container a{
	text-decoration: none;
}
.items_toolbar_fonts{
	font-size: 1.1em;
}
#dnd_scrollarea{
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}
#do_not_dilate_for{
	color:#AA2124;
	font-variant: small-caps;
	font-size:0.6em;
}
.list-group-item > div > span::first-letter{
	text-transform: capitalize;
}
.dnd_h6_item{
	font-weight:400;
}
.abbr_color{
	color:firebrick;
	font-weight:600;
}
.item_note{
	cursor: pointer;
}
.small_pads{
	padding:3px !important;
	padding-left:10px !important;
	font-size:0.9em;
	padding-right:10px;
}
.only_for_text, .not_for_text{
	font-size:0.8em;
	font-weight: 500;
	font-variant: small-caps !important;
}
.item_value_holder{
	text-transform: capitalize;
}
.item_is_checked{
	text-decoration: line-through !important;
	color:#AD0D10 !important;
}
.main-header .navbar {
    padding: 2px;
}

.main-header .navbar-nav .nav-item {
    margin-bottom: 0;
}
.sub_gray_title{
	font-size:0.7em; 
	color:#555; 
	font-weight:500;
}

/* Medium devices (tablets, 768px and up) */
/*@media (min-width: 768px) and (max-width: 991.98px) {*/
@media screen and (max-width: 991.98px) {
    body{
        padding-top:55px;
    }
    .main-header .navbar {
		padding:7px !important;
    }
	.category_count{
		display:none;
	}
	.chapter_name_for_large{
		display:none;
	}
	.font_for_small{
		font-size:0.95em !important;
	}
    .hide_on_mobile{
        display:none !important;
    }
    .b-example-divider{
        display:none;
    }
}


/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) { 
    .main-header .navbar {
		padding:7px !important;
    }
	.chapter_name_for_small{
		display:none;
	}
    .hide_on_desktop{
        display:none;
    }
}

.control-search-input{
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding-left:40px;
}
.control-search-icon{
    
    padding: 0.375rem 0.75rem;
    margin-right:-40px;
    line-height: 1.5;
    color: #495057;
    pointer-events: none;
    z-index:999;
}
.custom-search-cancel-btn{
    text-decoration: none;
    font-weight: 500;
}

.bd-links-link {
    padding: 0.1875rem 0.5rem;
    margin-top: 0.125rem;
    /* margin-left: 1.125rem; */
    color: var(--bs-body-color);
    text-decoration: none;
}
.bd-links-link.active{
    background:#0D6EFC;
    color:#FFF;
}

.title-text{
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.menu-link{
    text-decoration:none !important;
    padding:5px;
    color:#333;
    font-weight:400;
    text-transform:capitalize;

}
.menu-link.active{
    background:rgba(13, 110, 252,0.15);
    font-weight:500;
}
.main-menu-link{
    font-weight:500;
}
.chapter_cat_list li{
    list-style:none;
}
.subcat_list_link{
    text-indent: 10px;
}

.subcat_list_link.active::before{
    color:#FFF;
}
.list-group-item.disabled{
    background-color:#f5f5f5;
    color:#333;
    font-weight: 500;
}
.subcat_container:last-child{
    /* border-bottom:4px solid #df0505 !important; */
}
.subcat_divider{
    /* border-bottom:1px solid #888888 !important; */
}
.exception_value{
    text-indent: 10px;
}
.exception_arrow{
    padding-right:5px;
    /* color:red; */
}
.exception_link.active{
    color:rgb(187, 0, 0);
    text-decoration: underline !important;
}
.super-title-text{
    font-size: 0.7rem;
    font-weight: 700;
    color: #333;
    text-transform:uppercase;
}
.sub-title-text{
    display: inline-block;
    color:rgb(70, 70, 70);
    text-transform:capitalize;
    font-weight:500;
    font-size:1rem;
}
.todo-items{
    font-size: 0.7rem;
    font-weight: 700;
    color: #5e5e5e;
    text-transform:uppercase;
    margin-top:-10px;
    margin-bottom: 10px;
}
.custom-search-icon{
    padding: 10px;
    pointer-events: none;
    margin-right:-38px;
    z-index:100;
    color:#0D6EFC;
  }
  .search-input {
    position: relative;
    padding-left: 2.5rem;
    border-radius: 0.25rem !important;
    border:2px solid #0D6EFC;
}
.search_res_a{
    display:block;
    text-decoration:none;
    padding:3px;
    border-bottom:1px solid #DDD;
    padding-top:5px;
}
.item_type_span{
    font-size:0.6em;
    color:#888;
    font-weight:500;
    text-transform: uppercase;
    display: block;
}
.item_type_span::after{
    content:":";
}
a b{
    font-weight:500;
    color:#333;
    text-decoration: underline;
}
.drug_gname{
    font-size:0.84em;
}
.active_cat{
    background:#e3f3ff;
}
.drop_bottle_name{
    font-size:0.7em;
    color:#888;
    /* position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-path: path('M0 75 Q 50 50 100 75 Q 150 100 200 75 Q 250 50 300 75'); */
}
.btn-sm-even-smaller {
    padding: 0.25rem 0.35rem;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 0.2rem;
}
.small-text{
    font-size:0.65em;
    color:#888;
    font-weight:400;
}
#notification_bubble{
    position: relative;
    top: -7px;
    right: -15px;
    background: #ff0000;
    color: #fff;
    font-size: 0.6em;
    padding: 0.2em 0.6em;
    border-radius: 50%;
    font-weight: 500;
    text-decoration: none;
}
#tech_dropdown{
    margin-left:-100px;
    margin-top:19px;
}
.dropdown-toggle::after {
    display: none;
  }
#notification_nav_btn{
    font-size:1.3em;
    color:#222;
    margin-right:10px;
    font-weight:100;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
}
#notification_nav_btn i{
    margin-right:-20px ;
}
#notification_nav_btn:hover{
    color:#FFF;
    background: #0d6efd;
}

#notification_nav_btn[aria-expanded="true"]{
    color:#FFF;
    background: #0d6efd;
}
#notifications_holder{
    position: absolute;
    left:calc(100% - 480px);
    top:60px;
    width: 480px;
}
.name-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #222;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border:1px solid #222;
}

.name-circle:hover{
    background: #0d6efd;
    color:#FFF;
    border:0px;
}
#dropdownUser1[aria-expanded="true"] .name-circle{
    background: #0d6efd;
    color:#FFF;
    border:0px;
}
.no_bubble i{
    margin-left:-19px;
}
.notification_cog{
    text-decoration:none;
    color:#555;
    font-size:1.1em;
    margin-top:-5px;
}
span.item_value_span_holder::first-letter{
    text-transform: capitalize !important;
}
.tech_toolbar_btn{
    color:#555;
    text-decoration:none;
    display:inline-block;
    font-size:1.1em;
    margin-top:-9px;
}
.bottom_toolbar_link{
    color:#555;
    text-decoration:none;
    display:inline-block;
    font-size:0.8em;
}
.only_not_for_text{
    font-weight:bolder;
}

.category_link::first-letter{
    text-transform: capitalize !important;
}
.do_not_dilate_for_doctor_name{

}
.my_vr{
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px; 
    color:#999;
}
.smaller_breadcrumb{
    font-size:0.85em;
    margin-bottom:5px;
    color:#999;
}
.notes_count_badge{
    color:#888;
    font-size:0.85em;
    font-weight:300;
}

.chapters_main_links.active .notes_count_badge, 
.category_link.active .notes_count_badge,
.subcat_list_link.active .notes_count_badge
{
    color:#FFF !important;
    font-weight:700 !important;
}
.edit_do_not_dilate_btn{
    font-size:0.7em;
    text-decoration:none;
}
.dnd_category_desc{
    font-size:0.9em;
    color:#888;
    font-weight:400;
}
.category_includes_text{
    font-size:0.8em;
    color:#888;
    font-weight:400;
    display: block !important;
}
a.category_link.active > span.category_includes_text {
    color: rgb(255, 255, 255);
}
a.category_link.active:hover > span.category_includes_text {
    color: rgb(255, 255, 255);
}
a.category_link:hover > span.category_includes_text {
    color: #054cb8;
}