/* Top navigation - Hide default border to remove 1px line. */
.navbar-fixed-top {
    border: 0;
    // border-bottom: 1px solid #ddd;
    // background: transparent url(../icons/background-blue-light.png);
    background-color: #fffbf3 !important;
    top: 70px;
}

.navbar-header-container {
    padding-left: 20px;
    padding-right: 0px;
    position: relative;
    left: -20px;
    min-width: 198px;
}

.navbar-header {
    height: 60px;
}

.navbar-brand {
    height: 100% !important;
    float: none;
    margin-left: 0px !important;
    padding: 0px;
    display: inline-block;
}

.navbar-search-buttons img {
    width: 34px;
    height: 34px;
    padding: 0px;
}

.navbar-right a.navbar-brand {
    padding: 0px !important;
    margin-right: 20px;
}

.navbar-brand>img {
    display: inline-block;
}

.navbar {
    // background-color: #dfdfdf !important;
    border-bottom: 1px solid #ccc;
}

.navbar .nav img {
    width: 30px;
    height: 30px;
}

.navbar-logo {
    width: 60px !important;
    height: 60px !important;
    padding: 12px !important;
}

.navbar-search-buttons {
    height: 60px !important;
    width: 50px !important;
    display: inline-block;
    margin-left: -3px;
    padding: 6px 2px 0px 2px;
}

.navbar-search-buttons:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

.navbar-search-buttons img {
    height: 46px !important;
    width: 46px !important;
    margin-bottom: 3px;
    padding: 6px;
}

.navbar-search-separator {
    width: 50px;
    display: inline-block;
}

.navbar-logo:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

.navbar-form {
    margin: 0px;
    margin-left: 0px;
    height: 60px;
}

.navbar-form .form-control {
    height: 34px;
    display: inline-block;
}

.auto-suggest-menu {
    position: fixed !important;
    top: 118px !important;
}

#search-textbox {
    width: 300px;
    height: 34px;
    margin-top: 13px;
    margin-bottom: 13px;
    margin-right: 8px;
    border: 1px solid #eee;
    // color: #03709b;
    font-size: 11pt;
}

#search-submit-button {
    display: none;
}

/* Sidebar */

/* Hide for mobile, show later */
.sidebar {
    //display: none;
    //border-bottom: 15px solid #428bca;
    // background-color: #f6f6f6;
    // background: transparent url(../icons/background-gray.png);
    background-color: #F8F4EE;
    // border-top: 1px solid #ccc;
    z-index: 100;
}

.sidebar .panel {
    margin-bottom: 15px;
}

.sidebar .panel-body {
    padding: 5px;
    border-bottom: 1px solid #337ab7;
}

.panel-heading {
    // padding: 5px 15px;
    // height: 40px;
}

#add-note, #delete-note {
    float: right;
    margin-left: 10px;
    color: white;
    text-decoration: none;
    padding: 4px;
    padding-bottom: 7px;
    width: 30px;
    text-align: center;
    position: relative;
    top: -6px;
}

#add-note:hover, #delete-note:hover {
    background-color: white;
    color: #03709b;
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}

/* Main content */

.main {
    padding: 20px;
    top: 130px;
    bottom: 30px;
    margin-bottom: 30px;
}

.main .page-header {
    margin-top: 0;
}

/* Placeholder dashboard ideas */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}


/* Custom styles for proper tree displaying */
a {
    color: #03709b;
    text-decoration: none;
}

a:active, a:link, a:visited, a:focus {
    color: #03709b;
    text-decoration: none;
}

a:hover {
    color: #2390bb;
    text-decoration: underline;
}

a.cl, a.lnk {
    color: #0000ff;
}

a.cl:hover, a.lnk:hover {
    color: #0000cc;
}

.bp a.cl:hover {
    color: #99bbff;
}

a.csl {
    color: #ff0000;
}

.lp a.csl {
    font-size: 10pt;
    position: relative;
    top: -2px;
}

a.csl:hover {
    color: #ff0000;
}

.cssym {
    color: #ff0000;
}

#loading {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.3);
    background-image: url(../icons/spinner.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80px 80px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.list h1 {
    color: #808080;
    text-transform: uppercase;
    font-size: 24pt;
}

.list h2 {
    text-transform: uppercase;
    font-size: 18pt;
}

.list h3 {
    font-size: 14pt;
}

h1 a {
    color: #808080 !important;
}

h2 a {
    color #000000 !important;
}

h1 a.cl {
    color: #808080 !important;
}

h2 a.cl {
    color #000000 !important;
}

.wp {
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 5px;
    text-transform: uppercase;
}

.bp {
    background-color: black !important;
    color: white;
    border: 1px solid black;
    padding: 5px;
    text-transform: uppercase;
}

.gp {
    background-color: #cccccc;
    color: black;
    border: 1px solid black;
    padding: 5px;
    text-transform: uppercase;
}

.wp a {
    color: black;
}

.gp a {
    color: black;
}

.bp a {
    color: white;
}

.list .rt {
    padding-top: 10px;
    //margin-top: 10px;
}

.list li {
    margin: 0px;
    padding 0px;
}

span.cmc {
    color: red;
    border: 2px solid red;
    background-color: #ffaaff;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

div.lp {
    width: 128px;
    display: inline-block;
    text-align: right;
    margin-right: 20px;
}

div.lp:empty {
    width: 0px;
    margin-right: 0px;
}

div.rp {
    // display: inline-block;
    display: inline;
}

ul.icd-tabular div.rt, ul.achi-tabular div.rt, ul.ot-tabular div.rt {
    clear: both;
}

ul.icd-tabular div.lp, ul.achi-tabular div.lp, ul.ot-tabular div.lp {
    width: 15% !important;
    float: left !important;
    margin-right: 20px !important;
}

ul.icd-tabular div.lp:empty, ul.achi-tabular div.lp:empty, ul.ot-tabular div.lp:empty {
    height: 2px;
}

ul.icd-tabular div.rp, ul.achi-tabular div.rp, ul.ot-tabular div.rp {
    width: 80% !important;
    float: left !important;
}

ul.list li h1 {
    margin-top: 60px;
}

ul.list li:nth-child(1) h1 {
    margin-top: 20px !important;
}

ul.list li:nth-child(2) h1 {
    margin-top: 20px !important;
}

ul.list li:nth-child(3) h1 {
    margin-top: 20px !important;
}

#search-results-tree {
    display: none;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
}

.highlighted {
    // border: 2px dashed #555;
    // background-color: #9bc;
    background-color: #00cc00;
    // border: 1px solid #00aa00;
    color: black;
    padding: 1px;
}

.currently-selected {
    // border: 2px dashed #2390bb;
    // background-color: #63d0fb;
    background-color: #33ff33;
    padding: 1px;
}

.nav-tabs {
    position: absolute;
    bottom: -1px;
    right: 0px;
}

.nav-tabs a {
    outline: 0;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 130px;
        bottom: 30px;
        left: 0;
        z-index: 100;
        display: block;
        padding: 20px;
        padding-bottom: 0px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        // border-right: 1px solid #ddf;
    }
}

.sidebar-notepad, .sidebar-grouper {
    display: none;
}

.sidebar-notepad .panel-heading {
    background-color: #7ED0CA;
}

.sidebar-notepad .panel-primary {
    border-color: #7ED0CA;
}

.sidebar-notepad .panel-body {
    border: none;
}

.sidebar-notepad .panel-body, .sidebar-grouper .panel-body {
    padding: 0px;
}

@media (max-width: 1250px) {
    .navbar-title {
        display: none;
    }

    #search-textbox {
        width: 200px;
    }
}

@media (max-width: 1110px) {
    #search-textbox {
        width: 100px;
    }
}

@media (max-width: 900px) {
    .navbar-logo {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .sidebar {
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
    }

    .nav-tabs {
        left: 50px;
        width: 200px;
    }

    .sidebar {
        top: 80px;
        padding-top: 15px;
    }

    #search-textbox {
        width: 100%;
        margin-bottom: 10px;
    }
}

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

ul#document-tree, ul#document-tree ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul#document-tree li {
  padding-left: 1.5em;
  padding-top: 3px;
  width: 100%;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

ul#document-tree .handle {
    background: transparent url(../icons/page.png);
    // background: transparent url(../images/arrow-down.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    display: block;
    float: left;
    width: 20px;
    height: 19px;
    margin-right: 8px;
}

ul#document-tree .collapsed {
    background: transparent url(../icons/book-closed.png);
    // background: transparent url(../images/arrow-down.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}

ul#document-tree .expanded {
    background: transparent url(../icons/book-opened.png);
    // background: transparent url(../images/arrow.png);
    background-repeat: no-repeat;
    background-position: center bottom;
}

ul#document-tree {
    margin-top: 5px;
}

.docgrp {
    margin-bottom: 5px;
    margin-top: 5px;
}

table {
    margin-bottom: 10px;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 5px;
}

td {
    // white-space: pre;
    vertical-align: top;
}

table.cs, table.it, table.at, table.ot {
    table-layout: fixed;
    width: 100%;
}

table.cs td, table.it td, table.at td, table.ot td {
    // word-wrap: break-word;
    // word-break: break-all;
    // overflow-x: scroll;
}

a.dot {
    //background: transparent url(../icons/green_dot.png);
    background: transparent url(../images/dot.png);
    background-repeat: no-repeat;
    background-position: right center;
    width: 42px !important;
    display: inline-block;
    margin-right: 10px;
    text-align: right;
    padding-right: 22px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
}

a.dot:hover {
    border-bottom: 1px solid #2390bb;
    text-decoration: none;
}

span.nodot {
    width: 42px !important;
    display: inline-block;
    margin-right: 10px;
    text-align: right;
    padding-right: 22px;
}

#home-div {
    text-align: center;
}

#home-div h1 {
    color: #03709b;
}

#home-tree {
    padding: 0px;
    margin-top: 40px;
}

#home-tree li {
    margin-bottom: 10px;
    font-size: 16pt;
}

div.block span.cmc {
    display: none;
}

div.block b {
    font-weight: normal !important;
}

a.all-caps {
    text-transform: uppercase;
}

.letter {
    color: #03709b;
}

.drag-handle-l {
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0px;
    right: 0px;
    cursor: ew-resize;
    border-right: 1px solid #ccc;
    margin-right: 5px;
    background-color: #F8F4EE;
}

.drag-handle-r {
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0px;
    right: 0px;
    cursor: ew-resize;
    background-color: white;
}

.tab a {
    background-color: white !important;
    border-color: #ccc !important;
}

.tab.active a {
    // background-color: #f5f5f5 !important;
    border-color: #ccc !important;
    border-bottom: 1px solid #f5f5f5 !important;
    // background: transparent url(../icons/background-gray.png);
    background-color: #F8F4EE !important;
}

.tab a:hover {
    // background: transparent url(../icons/background-gray.png);
    background-color: #F8F4EE !important;
}

.root-link {
    font-weight: bold;
    font-size: 12pt;
    margin-bottom: 5px;
    display: block;
}

.root-link img {
    width: 20px;
    height: 19px;
    padding: 0px;
    margin-bottom: 2px;
    margin-right: 10px;
}

.root-dot {
    display: none;
    // background: transparent url(../icons/green_dot.png);
    background: transparent url(../images/dot.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
    margin-left: 10px;
    color: #03709b;
}

.tabular-contents a {
    color: #0000ff !important;
    display: block;
    margin-left: 20px;
    margin-top: 9px;
}

.tabular-contents a:hover {
    color: #0000cc !important;
}

#search-current-location {
    position: fixed;
    right: 5px;
    bottom: 40px;
    background-color: #eee;
    display: block;
    width: 100px;
    border: 1px solid #bbb;
    text-align: center;
    color: #777;
}

.gray-bg {
    background-color: #cccccc;
    padding-top: 0px !important;
    padding-bottom: 10px !important;
}

.gray-bg h2 {
    margin-bottom: 0px;
    margin-top: 0px;
    padding-left: 10px;
}

.f7 {
    font-size: 9pt !important;
}

.f8 {
    font-size: 10pt !important;
}

.f9 {
    font-size: 11pt !important;
}

.f10 {
    font-size: 12pt !important;
}

.f11 {
    font-size: 13pt !important;
}

.f12 {
    font-size: 14pt !important;
}

.f13 {
    font-size: 15pt !important;
}

.f14 {
    font-size: 16pt !important;
}

.f15 {
    font-size: 17pt !important;
}

.f16 {
    font-size: 18pt !important;
}

#notes {
    width: 100%;
    margin: 0px;
    border: none;
    padding: 0px;
}

#notes:focus, #notes:active {
    border: none;
    outline-width: 0px;
}

#notes option {
    padding: 4px 10px;
    color: #03709b;
}

.notesEntry {
    width: 100%;
    padding: 10px 5px;
    color: #03709b;
    font-weight: bold;
}

.notesContents {
    width :100%;
    min-width: 100%;
    max-width: 100%;
    background-color: #eee;
    border: 1px solid #03709b;;
}

.sidebar a {
    color: #666 !important;
}

.button-right {
    float: right;
    padding-top: 7px;
}

table.grouper-table {
    width: 100%;
    border: none;
}

table.grouper-table td {
    border: none;
    padding: 3px;
}

table.grouper-table span {
    width: 100%;
    vertical-align: middle;
    display: block;
    line-height: 30px;
}

.inputTitle {
    text-align: right;
}

table.grouper-table input, table.grouper-table select {
    height: 26px;
    border-radius: 5px;
}

table.grouper-table select {
    padding: 2px 6px !important;
}

table.grouper-table input[type="submit"] {
    background-color: #7ED0CA;
    height: 28px;
    margin-right: 20px;
    margin-bottom: 10px;
    padding: 0px 20px;
}

table.grouper-table input[type="submit"]:hover {
    background-color: #9EF0EA;
}

table#grouper-output textarea, table#grouper-output input {
    background-color: #D5EEEE;
    color: #555;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 4px 8px;
    border: 1px solid #7ED0CA;
}

table#grouper-output textarea {
    height: 30px;
    border-radius: 5px;
}

table#grouper-output {
    margin-bottom: 30px;
}

table#grouper-title, table#grouper-results-title {
    margin-bottom: 0px;
    font-size: 12pt;
}

table#grouper-buttons {
    border-bottom: 1px solid #ccc;
}

.pr-row, .dx-row {
    display: none;
}

#pr-row-main, #dx-row-main, #dx-row-first {
    display: table-row !important;
}

#myModal .modal-dialog {
    margin-top: 150px;
}

#myModalLogout .modal-dialog {
    margin-top: 150px;
    width: 400px;
}

img.document-image {
    height: 400px;
    margin: 20px;
}

.MsoTableGrid {
    padding: 0px !important;
    margin: 0px !important;
}

.MsoTableGrid td, .MsoTableGrid tr, .MsoTableGrid p, .MsoTableGrid span {
    height: 20px !important;
    padding: 0px !important;
    margin: 0px !important;
    white-space: normal !important;
    border: none !important;
    vertical-align: middle;
    line-height: 20px !important;
}

#abort-table td {
    text-align: center;
}

#abort-table td:first-child {
    text-align: left !important;
}

table#neoplazma {
    table-layout: fixed;
    border: none;
}

table#neoplazma td, table#neoplazma th {
    border: none;
    padding-top: 0px;
    padding-bottom: 0px;
}

table#neoplazma th.opis {
    width: 520px;
    background-color: yellow;
}

table#neoplazma th.kod {
    width: 100px;
}
