body {
    overflow-y: scroll !important;
    background-color: white;
    min-height: 100vh;
    position: relative;
}

a {
    cursor: pointer;
}

a.plain-link {
    color: #777;
}

.cursor-pointer {
    cursor: pointer;
}

.nopadding {
    padding: 0 !important;
}

div.loader {
    position: fixed;
    bottom: -1em;
    left: 0;
    z-index: 100;
    font-size: 16pt;
    width: 100%;
}

.navbar-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 120px;
}

.page-title {
    position: absolute;
    top: 10px;
    right: 30px;
    width: 100%;
    text-align: right;
    color: white;
}

.top-left-menu-container,
.top-right-menu-container {
    position: absolute;
    top: 0;
    color: white;
}

.top-right-menu-container {
    right: 0;
}

.btn-top-right,
.btn-top-left {
    padding: 30px 20px;
    border: 0;
    background-color: transparent;
    color: white;
}

.input-group > .btn-default.active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    position: relative;
}

.input-group > .btn-default:not(.active) {
    background-color: white !important;
    color: #666;
}

.input-group-addon-white {
    background-color: white;
}

.fa-stack {
    font-size: 1em;
}

.dropdown-inline {
    display: inline;
}

.nav .non-li-item {
    position: relative;
    display: block;
    padding: 10px 15px;
}

.navmenu-default {
    background-color: white;
    border-color: #eee;
}

.navmenu-brand {
    margin: 0;
    padding: 1.2em 1em;
}

.filtermenu {
    border-bottom: 0;
    background-color: white;
    margin: 0;
}

.nav-tabs {
    border: 1px solid #ddd;
    margin-bottom: 1em;
    background-color: white;
}

.nav-tabs li {
    margin-bottom: initial;
    padding: .5em;
}

.nav-tabs li:after {
    content: '';
    position: absolute;
    top: 1.5em;
    right: -7px;
    width: 0;
    height: 0;
    border-top: .5em solid transparent;
    border-bottom: .5em solid transparent;
    border-left: .5em solid #ccc;
}

a.active-breadcrumb {
    color: black;
    font-weight: bold;
}

a.active {
    font-weight: bold !important;
    background-color: #f2f2f2;
}

.nav-tabs li.disabled {
    display: none;
}

.navbar-inverse {
    background-color: #843487;
}

.navbar-inverse .navbar-brand,
.navbar-login .navbar-brand {
    color: #eeeeee;
}

.navbar-login {
    background-color: #009999;
}

@media screen and (max-width: 500px) {
    .navbar-brand-center {
        position: static;
        text-align: left !important;
    }
    .brand-center-logo {
        margin-left: 15px;
    }
}

.brand-logo {
    height: 40px;
    width: 50px;
    background-size: auto 40px;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url("../icons/Logo_NHG_RX_2017_paars.png");
    cursor: pointer;
}

.brand-logo .fa-caret-down {
    position: relative;
    top: 16px;
    left: 100%;
}

.navbar-toggle {
    z-index: 3;
}

@media screen and (min-width: 768px) {
    .navbar-toggle {
        margin-right: 0;
    }
}

dd,
dt,
li {
    line-height: 2em;
}

.btn,
.input,
.panel {
    border-radius: 3px;
}

.btn-menu {
    padding: 15px;
    margin: 0;
    border-radius: 0;
    border-top: 1px solid #ddd;
}

.nosideborders {
    border-left: 0;
    border-right: 0;
}

.btn-left {
    text-align: left;
}

.btn-menu-group-vertical>.btn:first-child:not(:last-child),
.first-item {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-bottom: -1px !important;
}

.first-sub-item {
    border-radius: 0 !important;
    margin-bottom: -1px !important;
}

.btn-menu-group-vertical>.btn:last-child,
.last-item {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.btn-menu-group-vertical>.btn:only-child {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.btn-heading {
    background-color: #F3F3F3;
}

.btn-block+.btn-block {
    margin-top: 0;
}

.btn-white {    
    background-color: white;
    color: #666;
}

.btn-white.active {
    background-color: white;
    color: black;
}

.btn-lightgrey {
    background-color: #f2f2f2;
}
.btn-lightgrey.active {
    background-color: #731A7D;
    color: white;
}

.top-right-menu-container .dropdown-menu {
    right: 4px;
    left: auto;
    top: 29px;
}

.searchbox .dropdown-menu {
    right: 0;
}

.dropdown-menu li a {
    padding: 1em 1em;
    top: 0;
}

.dropdown-menu>li {
    border-bottom: 1px solid #ddd;
}

.dropdown-menu>li:last-child {
    border-bottom: 0;
}

.dropdown-header {
    padding: 1em 1em;
}

.sidebar-header {
    margin-top: 1em;
    margin-bottom: -.5em;
}

#main-sidebar .dropdown-header {
    margin-bottom: -1em;
}

.top-right-menu-container ul.dropdown-menu:before {
    content: '';
    position: absolute;
    right: 23px;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.open>.dropdown-toggle.btn-default:hover {
    color: inherit;
    background-color: inherit;
    border-color: inherit;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
    color: #fff;
    background-color: rgb(91, 37, 93);
}

.navbar-inverse .navbar-nav>li>a {
    color: #eee;
}

.noborder {
    border: 0 !important;
}

.truncate-150 {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spacer {
    height: 41px;
}

.space-bottom {
    margin-bottom: 1em;
}

.indent-big {
    padding-left: 20px;
}

.dim {
    opacity: 0.3;
}

.semidim {
    opacity: 0.6;
}


/* always hamburger menu */

.navbar-header {
    float: none;
}

.navbar-toggle {
    display: block;
}

.navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.navbar-collapse.collapse.in {
    display: block !important;
}

.navbar-nav {
    float: none!important;
    margin: 7.5px -15px;
}

.navbar-nav>li {
    float: none;
}

.navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
}


/* end always hamburger */

.section-header {
    background-color: #731A7D;
    color: white;
    position: relative;
}

.close-btn-container {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 66px;
    cursor: pointer;
}

.close-btn-container > .fa-times {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    left: 22px;
}

.section-header .fa-sitemap,
.section-header .fa-caret-down {
    color: white !important;
}

.fa-sm {
    font-size: 0.63em;
}

.section-header-text {
    padding-left: 4px;
    margin-top: 4px;
    max-width: 80%;
}

.section-sub-header {
    border-top: 1px dotted white;
    padding-right: 60px;
}

.popover-title,
.popover-content {
    color: black;
}

.popover {
    top: 30px !important;
    left: -3px !important;
    width: 100vw;
}

.rx-group .popover {
    top: 35px !important;
    left: 7px !important;
}

li .fa.pull-right {
    margin-top: .5em;
}

.btn-menu .fa-chevron-right.pull-right {
    margin-top: .5em;
    margin-bottom: 1em;
}

dt {
    margin-bottom: .5em;
}

guidance {
    position: absolute; 
}

.guidance-0 {
    color: #fff;
}

.guidance-1 {
    color: #fff;
}

.guidance-1 i.fa.fa-circle.fa-stack-2x {
    color: transparent;
}

.guidance-3 {
    color: red;
}

.guidance-5 {
    color: orange;
}

.guidance-9 {
    color: #00bb00;
}

.text-grey {
    color: #cdcdcd;
}

.text-light-grey {
    color: #f2f2f2;
}

.text-disabled {
    opacity: .3;
}

.text-dark {
    color: #aaaaaa;
}

.text-darker {
    color: #888;
}

.rx-item,
a.rx-item {
    border-bottom: 1px solid #ddd;
    display: block;
    padding: 1em;
    color: black;
    position: relative;
}

.rx-group {
    margin-bottom: -1px;
}

.container-shadow {
    background-color: #eee;
    border: 1px solid #ccc;
}

.dropdown-header {
    font-style: italic;
    font-size: 14px;
}

.pressedbutton {
    color: white;
    background-color: rgba(0,0,0,.5);
}

.animate-rotate-180 {
    transform:             rotate( -180deg );            
    -moz-transform:    rotate( -180deg );            
    -ms-transform:     rotate( -180deg );            
    -o-transform:      rotate( -180deg );            
    -webkit-transform: rotate( -180deg ); 
    transition:             transform 300ms ease;
    -moz-transition:    -moz-transform 300ms ease;
    -ms-transition:     -ms-transform 300ms ease;
    -o-transition:      -o-transform 300ms ease;
    -webkit-transition: -webkit-transform 300ms ease;
}

.animate-rotate-0 {
    transform:             rotate( 0deg );            
    -moz-transform:    rotate( 0deg );            
    -ms-transform:     rotate( 0deg );            
    -o-transform:      rotate( 0deg );            
    -webkit-transform: rotate( 0deg );            
    transition:             transform 300ms ease;
    -moz-transition:    -moz-transform 300ms ease;
    -ms-transition:     -ms-transform 300ms ease;
    -o-transition:      -o-transform 300ms ease;
    -webkit-transition: -webkit-transform 300ms ease;
}

.branding-area {
    padding: 1em;
    background-color: #fff;
    border-bottom: 2px dotted #ccc;
}

.menu-footer {
    margin-top: auto;
    background-color: #fff;
    border-top: 2px dotted #ccc;
    margin-top: -170px;
}

.menu-footer a {
    display: block;
    width: 100%; 
    padding:1em;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.tree,
.tree ul {
    padding: 0;
    list-style: none;
    position: relative;
    margin-bottom: 0;
}

.tree ul {
    margin-left: 14px;
}

.tree ul:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: 1px;
    bottom: 0;
    left: 0;
    border-left: 2px solid #eee;
}

.tree li {
    margin: 0;
    padding: 13px;
    line-height: 2em;
    position: relative;
    cursor: pointer;
    border-bottom: 0px solid #eee;
}

.tree li li:before {
    content: "";
    display: block;
    width: 15px;
    height: 0;
    border-top: 2px solid #eee;
    margin-top: -1px;
    position: absolute;
    top: 35px;
    left: 0;
}

.tree .nonguidance {
    border-top: 0px solid #eee;
}

.tree li:last-child {
    border: 0;
}

.tree li:last-child:before {
    background: white;
    height: auto;
    top: 40px;
    bottom: 0;
}

.tree li li {
    padding-right: 0;
    padding-bottom: 4px;
    border:0;
}

.tree li li:last-child {
    padding-bottom: 20px;
}

.title-block {
    display: block;
    position: relative;
    margin-left: 32px;
    padding: 8px 0 8px 8px;
}
@media (min-width: 768px) {
    .title-block {
        margin-left: 40px;

    }
}

.tree guidance>span, .tree .nonguidance>span.fa-stack, item .fa-stack {
    position: absolute;
    margin-top: 8px;
}

.formularium-item .fa-stack 
{
    position: absolute;
}

.formularium-item>guidance .fa-stack,
.formularium-item .fa-sitemap
{
    margin-top: 4px; 
}

.rx-group .fa-stack {
    position:absolute; 
    margin-top: 10px; 
    margin-left: 10px;
}

.rx-group .title-block {
    margin-left: 40px;
}

.schema-item {
    border-bottom: 1px solid #ddd;
}

.schema-collapse {
    margin-bottom: -1px;
    overflow: hidden;
}


.partial-border-bottom {
    position: absolute;
    border-bottom: 1px solid #ddd;
    bottom: 0;
    left: 54px;
    width: 100%;
}

.notree ul,
.notree li {
    margin: initial;
    padding: initial;
    list-style: initial;
    position: initial;
    margin-left: 1em;
}

.notree li:before,
.notree ul:before {
    display: none;
}

.documentation-button {
    margin-top: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.therapy-step-title {
    padding-left: .5em;
}

.force-wrap {
    word-wrap: break-word;
    white-space: initial;
}

.digitalis-branding {
    z-index: 999;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 40px;
    background-image: url('images/logo-digitalis.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100px;
    background-color: #731A7D;
}

.fade.ng-hide {
    opacity: 0;
}

.fade.ng-hide-remove,
.fade.ng-hide-add {
    display: block !important;
}

.fade.ng-hide-remove {
    transition: all linear 1000ms;
}

.fade.ng-hide-add {
    transition: all linear 500ms;
}

.app-timestamp {
    position: absolute;
    bottom: 3em;
}

.hide-menu {
    position: relative;
    left: .5em;
}

.simplebox {
    outline: none;
    border: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.whitebox {
    background-color: white;
}

.searchbox {
    margin-top: 64px;
    margin-right: 10px;
    margin-bottom: -5px;
    margin-left: 10px;
}

.searchbox .input-lg {
    font-size: 14px;
    padding-right: 0;
}

.agebox {
    background-color: white;
    border: 2px solid #731A7D !important;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.container-fluid {
    padding: 0;
}

.fa-times {
    cursor: pointer;
}

.schema-title {
    font-size: 17px;
    font-weight: bold;
}

#main-sidebar {
    box-shadow: rgba(0, 0, 0, 0.0980392) 10px 0px 25px -10px;
    left: 0px;
    right: 139px;
    height: 100vh;
}

@media (min-width: 992px) {
    #main-sidebar {
        box-shadow: none;
    }
}

.main-sidebar-content {
    min-height: 100%;
    padding-bottom: 218px;
}

#options-screen {
    padding-top: 1.4rem;
}

#options-screen li a.active {
    background-color: #f2f2f2;
    font-weight: bold;
}

.collapsing {
    -webkit-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.alert-connectivity {
    position: fixed;
    z-index: 99999;
    margin: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    box-shadow: rgba(0, 0, 0, 0.0980392) 0 20px 30px 20px;
}

@media (min-width: 992px) {
    body {
        margin: 0 0 0 300px;
        overflow-y: scroll;
        overflow-x: hidden !important;
    }
    .container {
        max-width: 100%;
    }

    .top-left-menu-container {
        display: none;
    }

    .digitalis-branding {
        width: calc(100% - 300px);
    }
    .page-title {
        right: 330px;
    }
}

.filter-indicator-container {
    position: fixed;
    width: 100%;
    z-index: 1001;
    top: 0;
    padding: 17px;
    left: 300px;
    color: white;
    box-shadow: 0px 10px 30px -20px black;
}

.filter-indicator-container .badge, .top-bar .badge {
    background-color: white;
    color: black;
}

.filter-indicator-wrapper {
    margin-left:10px;
    display: inline-block;
}

@media (max-width: 992px) {
    .filter-indicator-container {
        left: 0;
    }
    .filter-indicator-wrapper {
        margin-left:45px;
    }
}

.filter-btn {
    position:absolute;
    top: 7px;
    left: 10px;
    z-index: 9999;
    background-color: transparent;
}

.filter-btn button {
    padding:10px;
    width: 200px;
    text-align: left;
    background-color: transparent;
    border: 0;
}

.top-bar {
    padding: 4px;
}

.top-bar a {
    color: white;
}

.flex-container {
    height: 100%;
    overflow: scroll;
    display: flex;
    width: 300px;
}


#instructions-modal .carousel-indicators {
    top: 25px;
    display: none;
}
#instructions-modal .below-carousel-caption {
    padding: 1em;
    background-color: white;
    min-height: 160px;
}

#instructions-modal .modal-body { 
    padding: 0;
    background-color: #d0d0d0;
    /* background-image: url('../howto/wood.jpg'); */
    /* bacbackground-size: cover; */
}

#instructions-modal .carousel-control {
    opacity: 1;
    text-shadow: 0 0px 5px black;
}

#instructions-modal .carousel-control.left ,
#instructions-modal .carousel-control.right {
    background: none !important;
}

#instructions-modal .carousel-control .glyphicon-chevron-left {
    left: 15px;
}
#instructions-modal .carousel-control .glyphicon-chevron-right {
    right: 15px;
}

#instructions-modal .close {
    opacity: 1;
}
#instructions-modal .modal-dialog {
    width: 90vw;
    max-width: 1024px;
}

.slide-img-container {
    max-height: calc(100vh - 300px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding: 1em 1em 0 1em;
}

.slide-img-container.img-fullwidth {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

#instructions-modal .img-responsive {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}
#instructions-modal .img-fullwidth .img-responsive {
    width: 100%;
    margin: 0;
}

@media screen and (max-width: 666px) {
    .slide-img-container {
        max-height: calc(100vh - 250px);
        max-width: 85vw;
        overflow: hidden;
        padding-bottom: 0;
    }
    #instructions-modal .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    #instructions-modal .modal-body {
        background-size: 100vw 100vh;
    }
    #instructions-modal .modal-content {
        height: auto;
        min-height: 100%;
        border-radius: 0;
        border: 0;
    }
    #instructions-modal .img-responsive {
        width: 100%;
    }

}


@media screen and (max-width: 320px) {
    .page-title {
        right: 15px;
        max-width: 50%;
    }
    .filter-btn {
        left: 0;
    }
    .filter-indicator-wrapper {
        margin-left: 30px;
    }
}
