html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(245,245,245,0.6) url("/images/book-loader.webp") center no-repeat;
}

.hand {
    cursor: pointer;
}

/*****************************/
/*   SPINNER OVERLAY         */
/*****************************/

body {
}
    /* Turn off scrollbar when body element has the loading class */
    body.loading {
        overflow: hidden;
    }
        /* Make spinner image visible when body element has the loading class */
        body.loading .overlay {
            display: block;
        }

a {
    text-decoration: none;
}

.tree-link {
    color: blue;
}

/*****************************/
/*   BOOTSTRAP OVERRIDE      */
/*****************************/

.navbar {
    background-color: #7B7260 !important;
}

.nav-link {
    color: #fff !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #3D5B3D !important;    
}

.btn-primary {
    color: #fff !important;
    background-color: #3D5B3D !important;
    border-color: #3D5B3D !important;
}

.btn-outline-primary {
    color: #3D5B3D !important;
    background-color: #fff !important;
    border-color: #3D5B3D !important;
}

.btn-group-sm > .btn, .btn-sm {
    padding: .1rem .5rem;
}

.form-control {
border: 1px solid #3D5B3D !important;
background-color: #ddbe9255 !important;
}
.form-control:disabled, .form-control[readonly] {
    border: 1px solid #ddbe92 !important;
    background-color: #ddbe92 !important;
    opacity: 0.8;
    font-weight: 700 !important;
}

select:not(:-internal-list-box) {
    overflow: visible !important;
    overflow-x:;
    overflow-y:;
}

user agent stylesheet
select:disabled {
    color: -internal-light-dark(graytext, rgb(170, 170, 170));
    opacity: 0.7;
    border-color: rgba(118, 118, 118, 0.3);
}

.control-label {
    font-style: italic;
    font-size: 90%;
}


/*****************************/
/*   VIEWER STYLES           */
/*****************************/
.viewer-canvas {
    background-color: #ffffff;
    background-image: linear-gradient(#D6CAB488 2px, transparent 2px), linear-gradient(90deg, #D6CAB488 2px, transparent 2px), linear-gradient(#D6CAB4aa 1px, transparent 1px), linear-gradient(90deg, #D6CAB4aa 1px, #ffffff 1px);
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}

.viewer-container {
    border: 5px solid #7B7260;
}

.viewer-toolbar > ul > li {
    background-color: rgba(61, 91, 61, 100%) !important;
    cursor: pointer;
    float: left;
    height: 44px !important;
    width: 44px !important;
    overflow: hidden;
    transition: background-color 0.15s;
    border-radius: .25rem !important;
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

    .viewer-toolbar > ul > li::before {
        margin: 12px !important;
    }

.viewer-title {
    color: white !important;
    background-color: #3D5B3D !important;
    opacity: 1 !important;
    padding: 3px 10px;
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;

    cursor: pointer !important;
    position: relative !important;
}

#tweede {
    color: aliceblue;
    background-color: red;
    width: 50px;
    height: 50px;
}

/* When finished downloading previous and next-scan make them normal until then faded */
/*.viewer-prev::before, .viewer-next::before {
    opacity: 0.5 !important;
}

li.viewer-next, li.viewer-prev {
    opacity: 0.5 !important;
    cursor: default !important;
}*/
.disableViewerButton {
    opacity: 0.5 !important;
    cursor: default !important;
}



/*****************************/
/*   GIJGO STYLES            */
/*****************************/

.gj-icon {
    color: blue !important;
}

.gj-tree-bootstrap-5 ul.gj-list-bootstrap li.active {
    color: #000 !important;
    background-color: #ddbe92 !important;
}

.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #7B7260 !important;
    border-color: #7B7260 !important;
}

.list-group-item {
    font-size: large !important;
}

.relatedRecordsDropDown {
    font-size: 11pt;
    padding: 1px 5px 2px 5px;
    border: 2px solid #3D5B3D;
    border-radius: .2rem;
}