html {
  height: 100%;
}
body {
  min-height: 100%;
}

.title-bar {
  background: #222b31;
  padding: 0.9rem;
}

.top-bar, .top-bar ul {
    margin-left: 0 !important;
    background-color: #121c23;
}

.dropdown ul {
    min-width: 150px !important;
}

.scroll-list > li {
    background-color: #1a1b1c;
}

.top-bar, .top-bar a {
    color: #fff;
}

.menu-text > a {
    padding: 0px !important;
    padding-left: 10px !important;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.menu-text > a:hover {
    color: lightblue;
}

.dropdown .scroll-list{
    max-height: 400px !important;
    /* Forced to use !important to overwrite Foundation styles */
    overflow-y: auto !important;
    font-size: 13px;
    border: none;
}

.has-dropdown > a:hover {
    color: lightblue;
}

.dropdown .scroll-list > li:hover{
    background-color: #222b31;
}

.dropdown .scroll-list > li:hover > a{
    color: lightblue;
}

.dropdown.menu .is-active > a {
    color: lightblue;
}

.delete-box > div > div > div > input[type=checkbox] {
    margin-left: 0px !important;
}

.formColumn > div > div > div > input[type=checkbox] {
    margin-left: 0px !important;
}

.formColumn> div > div > input[type=number]{
    height: 34px;
}

.progress {
    height: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.pad-right-0 {
    padding-right: 0 !important;
}

/* Tooltip container */
.tooltip {
    opacity: 1 !important;
    position: relative !important;
    display: inline-block !important;
    background-color: transparent !important;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden !important;
    width: 120px !important;
    background-color: black !important;
    color: #fff !important;
    text-align: center !important;
    padding: 5px 0 !important;
    border-radius: 6px !important;
    /* Position the tooltip text - see examples below! */
    position: absolute !important;
    z-index: 1 !important;
    top: 6px;
    left: 90%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible !important;
}

.select2-search__field {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: 34px !important;
}

.pad-down-btn {
    margin-top: 24px;
}

.enable-blue-hover {
    color: #1779ba !important;
}

.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}

.logout-btn {
    background-color: #333;
}

.logout-btn:hover{
    background-color: #686e7a;
}

.logout-btn:hover > a {
    color: lightblue;
}

.top-bar-left{
    width: 50%;
    text-align:center;
}

.top-bar-right{
    width: 50%;
    text-align: right;
}

.top-bar-left > ul {
    display: inline-flex;
}

.top-bar-right > ul {
    display: inline-flex;
}

.top-bar-left > ul >li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.top-bar-right > ul > li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.top-bar {
    padding:0px;
    margin: 0px;
    margin-bottom: 30px;
}

@media (min-width:640px) {
    .top-bar {
        box-shadow:0px 0px 17px #000;
    }
    .multilevel-offcanvas {
        border-right: 2px solid white;
    }
}

@media (min-width: 64em){
    #offcanvas-trigger{
        display: none;
    }
}

.nav-bar {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  background: #2c3840;
  height: 75px;
  margin-bottom: 75px;
}

.nav-bar .nav-bar-logo {
  padding: 1.8rem;
}

.nav-bar li {
  background: #2c3840;
}

.nav-bar a {
  color: #fefefe;
  transition: color 0.2s ease-in;
}

.nav-bar a:hover {
  color: #a8b8c3;
}

@media screen and (max-width: 39.9375em) {
  .nav-bar {
    height: 53.57143px;
  }
}

.nav-bar .offcanvas-trigger {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1.6rem;
  color: #fefefe;
  text-transform: uppercase;
  background-color: #566d7c;
  transition: background-color 0.2s ease-in;
  cursor: pointer;
}

.nav-bar .offcanvas-trigger .offcanvas-trigger-text {
  margin-right: 0.25rem;
  margin-top: 0.25rem;
}

.nav-bar .offcanvas-trigger:hover {
  background-color: #6b879a;
}

@media screen and (max-width: 39.9375em) {
  .nav-bar .offcanvas-trigger {
    padding: 0.9rem;
  }
}

.multilevel-offcanvas {
  background: #121c23;
  padding: 20px;
  color: #fefefe;
}

.multilevel-offcanvas > .menu {
  margin-bottom: 1rem;
}

.multilevel-offcanvas .menu a {
  color: rgba(254, 254, 254, 0.6);
  padding-top: 7px;
  padding-bottom: 7px;
  transition: color 0.2s ease-in;
}

.multilevel-offcanvas .menu a:hover {
  color: #fefefe;
}

.multilevel-offcanvas .fa {
  color: #fefefe;
}

.multilevel-offcanvas .is-accordion-submenu-parent > a::after {
  border-color: rgba(254, 254, 254, 0.6) transparent transparent;
}

.multilevel-offcanvas .social-links {
  margin-left: 20px;
}

.multilevel-offcanvas .social-links li {
  margin-right: 5px;
}

.multilevel-offcanvas .social-links a:hover .fa {
  color: #bebebe;
  transition: color .2s ease-in;
}

.multilevel-offcanvas .social-links .fa {
  font-size: 2.2rem;
}

.body-info {
  text-align: center;
  color: #2c3840;
}

.body-info .button {
  margin: 1rem 0;
  padding: 0.85em 2em;
}

.is-open + .off-canvas-content .hamburger .line:nth-child(1),
.is-open + .off-canvas-content .hamburger .line:nth-child(3) {
  width: 12px;
}

.is-open + .off-canvas-content .hamburger .line:nth-child(1) {
  -webkit-transform: translateX(-5px) rotate(-45deg);
      -ms-transform: translateX(-5px) rotate(-45deg);
          transform: translateX(-5px) rotate(-45deg);
}

.is-open + .off-canvas-content .hamburger .line:nth-child(3) {
  -webkit-transform: translateX(-5px) rotate(45deg);
      -ms-transform: translateX(-5px) rotate(45deg);
          transform: translateX(-5px) rotate(45deg);
}

.hamburger .line {
  width: 20px;
  height: 2px;
  background-color: #fefefe;
  display: block;
  margin: 3px auto;
  transition: all 0.3s ease-in-out;
}

.hamburger .line:last-child {
  margin-bottom: 0;
}


.dashboard-table {
  border-collapse: collapse;
  margin-bottom: 0;
}

.dashboard-table td {
  border-bottom: 1px dashed #d7d7d7;
}

.dashboard-table a {
  color: #242424;
}

.dashboard-table .bold {
  color: #0a0a0a;
  font-weight: 600;
}

.dashboard-table thead {
  background: none;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  color: #8a8a8a;
  font-size: 0.8rem;
}

.dashboard-table thead a {
  color: #8a8a8a;
}

.dashboard-table tbody {
  border: 1px solid #e1e1e1;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

.dashboard-table tbody tr {
}

.dashboard-table tbody tr:hover {
  background: #fcf7da;
}

.dashboard-table tbody tr:nth-child(even) {
  background: none;
}

.dashboard-table tr:last-child td {
  border-bottom: 0;
}

.dashboard-table-text {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.dashboard-table-timestamp {
  color: #9a9a9a;
  font-size: 0.9rem;
  font-weight: 400;
}

.dashboard-table-image {
  display: inline;
  margin-right: 1rem;
  margin-top: 0.6rem;
  max-width: none;
}

hr.table-divider {
    width: 50%;
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.isDisabled {
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

.menu-hover-lines {
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.35s ease;
}

.menu-hover-lines li a {
  padding: 0.75rem 0;
  color: rgba(10, 10, 10, 0.5);
  position: relative;
  margin-left: 1rem;
}

.menu-hover-lines li:first-child a {
  margin-left: 0;
}

.menu-hover-lines li.active > a {
  background-color: transparent;
}

.menu-hover-lines a:before,
.menu-hover-lines a::after {
  height: 3px;
  position: absolute;
  content: '';
  transition: all 0.35s ease;
  background-color: #1779ba;
  width: 0;
}

.menu-hover-lines a::before {
  top: 0;
  left: 0;
}

.menu-hover-lines a::after {
  bottom: 0;
  right: 0;
}

.menu-hover-lines a:hover,
.menu-hover-lines li.active > a {
  color: #0a0a0a;
  transition: all 0.35s ease;
}

.menu-hover-lines a:hover::before,
.menu-hover-lines .active a::before,
.menu-hover-lines a:hover::after,
.menu-hover-lines .active a::after {
  width: 100%;
}


form .form-icons {
  text-align: center;
}

form .form-icons h4 {
  margin-bottom: 1rem;
}

form .form-icons .input-group-label {
  background-color: #384751;
  border-color: #384751;
}

form .form-icons .input-group-field {
  border-color: #384751;
}

form .form-icons .fa {
  color: white;
  width: 1rem;
}

.inlineformset-deletecheckbox{
    padding-top: 17px;
}

.rounded{
    border-radius: 4px;
}

.pagination > li {
    padding: 0px !important;
    border: 1px;
}

.k-panelbar .k-tabstrip>.k-content, .k-tabstrip>.k-content {
    padding: 0 !important;
}

.k-grouping-header {
    background-color: #333 !important;
}

.k-header .k-grid-toolbar{
    border-color: #222b31; !important;
}

.k-header {
    background-color: #222b31 !important;
}

li.k-state-hover {
    background-color: #1779ba !important;
    border-bottom-color: transparent !important;
}

.k-tabstrip-items .k-item {
    background-color: #222b31;
}

.k-tabstrip .k-tabstrip-items {
    margin-left: 2px !important;
    margin-right: 2px !important;
    border-bottom: 1px #222b31 solid !important;
}

.k-content .k-state-active {
    overflow-x: hidden !important;
}


.k-grid .k-header .k-button {
    background-color: #304451 !important;
    border-color: #222b31 !important;
}

.k-grid-header .k-header .k-link, .k-grid-header .k-link, .k-grid-header .k-link:link {
    color: white !important;
}

::placeholder {  /* Firefox */
    color: grey !important;
    opacity: 1;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: grey !important;
    opacity: 1;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: grey !important;
    opacity: 1;
}


.switch .switch-paddle {
  width: 3.25rem;
}

.switch input:checked ~ .switch-paddle::after {
  left: 1.3rem;
}

.block-list {
  width: 100%;
  line-height: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: #fefefe;
}

.block-list a {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: #1779ba;
}

.block-list img {
  margin-right: 1rem;
}

.block-list img.small-icon {
  margin-right: 0.3rem;
}

.block-list, .block-list ul {
  list-style-type: none;
}

.block-list ul {
  margin-left: 0;
  margin-bottom: 0;
}

.block-list ul li {
  height: 4.0625rem;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.block-list li > input[type="checkbox"], .block-list li > input[type="radio"] {
  position: absolute;
  left: -9999px;
}

.block-list li > input[type="checkbox"] + label, .block-list li > input[type="radio"] + label {
  margin: 0;
  margin-left: 0.5rem;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.block-list li > input[type="checkbox"] + label.list-header, .block-list li > input[type="radio"] + label.list-header {
  margin: 0;
}

.block-list li > input[type="checkbox"]:checked + label::before, .block-list li > input[type="radio"]:checked + label::before {
  font: normal normal normal 14px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f00c";
  background-size: 100% 100%;
  width: 1.5em;
  height: 1.5em;
  color: #1779ba;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 1rem;
  pointer-events: none;
}

.block-list .switch {
  -webkit-align-self: center;
      -ms-flex-item-align: center;
              -ms-grid-row-align: center;
          align-self: center;
  margin: 0;
}

.block-list li {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.block-list li p {
  margin: 0;
}

.block-list .section-header-bg {
  width: 100%;
  height: 1.25rem;
  border-bottom: none;
  border-top: none;
  color: #fefefe;
}

.block-list .section-header-bg p {
  z-index: 10;
}

.block-list .section-header-bg.gray {
  background: #cacaca;
}

.block-list .section-header-bg.gray:before {
  content: '';
  height: 1.25rem;
  position: absolute;
  width: 1.25rem;
  background: #cacaca;
  left: -rem-calc(20);
}

.block-list .section-header-bg.gray:after {
  content: '';
  height: 1.25rem;
  position: absolute;
  width: 1.25rem;
  background: #cacaca;
  right: -rem-calc(20);
}

.block-list.block-list-short {
  margin-top: 2rem;
  border-top: 1px solid #e6e6e6;
}

.block-list.block-list-short li {
  height: 2.5rem;
}

.block-list.block-list-padded {
  padding: 0 1.25rem;
}

.block-list.block-list-padded p {
  margin-left: 0;
}

.block-list.with-icons li > a, .block-list.with-icons li > span, .block-list.with-icons li > label {
  padding-left: 8.925rem;
}

.block-list.with-icons li img, .block-list.with-icons li .iconic {
  position: absolute;
  top: 0.08;
  left: 0.08;
  width: 0.64;
  height: 0.64;
  border-radius: 8px;
  pointer-events: none;
}

.block-list header {
  padding-left: 0.75rem;
  padding-bottom: 0.5rem;
  height: 45px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  cursor: default;
  background-color: #e6e6e6;
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
}

.block-list li {
  position: relative;
  border-bottom: 1px solid #e6e6e6;
}

.block-list li label {
  color: #0a0a0a;
  font-size: 0.875rem;
  letter-spacing: 0;
  margin: 0;
}

.block-list li input, .block-list li select {
  margin: 0;
}

.block-list li button {
  padding: 1rem;
}

.block-list li button img {
  margin: 0;
}

.block-list li:first-child {
  border-top: none;
}

.block-list li > a,
.block-list li > span,
.block-list li > label {
  margin-bottom: 0;
}

.block-list li p {
  margin-bottom: 0;
}

.block-list li > span {
  cursor: default;
}

.block-list li > a, .block-list li > label {
  cursor: pointer;
}

.block-list li.block-list-time-item {
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.block-list li.block-list-time-item div:first-of-type {
  border-right: 1px solid #1779ba;
  padding-right: 1.25rem;
  margin-right: 0.625rem;
}

.block-list li .list-form {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.block-list li .list-form label {
  -webkit-flex-basis: 100%;
      -ms-flex-preferred-size: 100%;
          flex-basis: 100%;
  text-align: right;
  color: #4D4D4E;
  font-weight: 400;
}

.block-list li .list-form [type="text"], .block-list li .list-form [type="tel"] {
  border: none;
  box-shadow: none;
  text-align: center;
}

.block-list li p {
  margin-left: 0.5rem;
}

.block-list li.list-header-selected {
  padding: 1.25rem 2rem 1.25rem;
  border: none;
}

.block-list li.with-chevron::after {
  font: normal normal normal 14px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f054";
  display: block;
  right: 1rem;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  font-weight: bold;
  font-size: 1em;
  color: #8a8a8a;
}

.block-list li.with-chevron a {
  color: #8a8a8a;
}

.block-list li.with-chevron img {
  vertical-align: bottom;
}

.block-list li .block-list-label {
  display: inline-block;
  float: right;
  padding: 0;
  pointer-events: none;
}

.block-list-item-highlight span,
.block-list-item-highlight p {
  color: #1779ba;
}


.switch input:checked ~ .switch-paddle, .switch.primary input:checked ~ .switch-paddle {
  background: #1779ba;
}

.switch.secondary input:checked ~ .switch-paddle {
  background: #767676;
}

.switch.success input:checked ~ .switch-paddle {
  background: #3adb76;
}

.switch.alert input:checked ~ .switch-paddle {
  background: #cc4b37;
}

.switch.warning input:checked ~ .switch-paddle {
  background: #ffae00;
}

form ul {
    list-style: none !important;
}

td > ul {
    margin-left: 0;
}

table tbody td, table tbody th {
    padding: .3rem .625rem .3rem;
}

[type=text] {
    height: 32px !important;
}

.position-left {
    width: 255px !important;
}

.k-grid-filter.k-state-active {
    background-color: transparent !important;
}

[aria-sort] {
    background-color: #1779ba !important;
}

[aria-sort] > .k-link {
    font-weight: bold;
}

[aria-selected].k-state-active {
    background-color: #1779ba !important;
    border-bottom-color: transparent !important;
}

a > .k-icon {
    background-image: url(Black/sprite.png);
}

.k-pager-wrap > a > .k-icon {
    background-image: url(Material/sprite.png);
}

#id-drug_manager-tabstrip-3 > form > div > div > div > div > div > div > .k-button-icontext {
    background-color: #1779ba !important;
    float: right !important;
}

.is-dropdown-submenu {
    z-index: 2 !important;
}

.cursor-parent > span {
    cursor: pointer;
}

@media (max-width:639px) {
    .top-bar-left{
        text-align: left;
    }

    .top-bar-left > ul {
        display: block;
    }

    .dropdown ul {
        width: 100%;
    }

    .top-bar-right {
        text-align: left;
        width:100%;
        margin-top: 15px;
    }

    .top-bar-right > ul {
        display: flex;
    }

    .top-bar-right > ul > li {
        width: 100%;
    }

    .menu-text > a {
        padding-left: 0 !important;
    }
}
