/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.container-fluid {
    max-width: 1600px;
    padding-left: 0;
    padding-right: 0;
}

/* Globals */
.logo {
    max-height: 100px;
    margin-top: -15px;
}

.main-content {
    background-color: #fff;
    padding-bottom: 20px;
    margin-right: 0;
    margin-left: 0;
}

.whiteBg {
    background-color: #fff;
}

.form-control {
    border-radius: 0;
}


.form-signin input {
    margin-bottom: 5px;
}

.btn {
    border-radius: 0 !important;
}

.btn-gruyter, .btn-gruyter:hover {
    background-color: #00627d;
    color: #fff;
}

.well {
    border-radius: 0;
    border: none;
}

/* Header */
.masthead .navbar-default {
    background-color: #f5f5f5;
    padding-left: 15px;
    padding-right: 15px;
    background-image: url(../images/header-image.jpg);
    background-position: 270px 0%;
    background-repeat: no-repeat;
}

.goto-page {
    width: 80px;
}

.mainmenu > .active > a, .mainmenu > .active > a:focus, .mainmenu > .active > a:hover {
    color: #000 !important;
    background-color: inherit !important;
    font-weight: bold !important;
}

.mainmenu > li > a {
    text-transform: uppercase;
    font-size: 16px;
}

.navbar-default .navbar-nav > li > a {
    color: #000;
}

.navbar {
    border-radius: 0;
    border: none;
}

.navbar-header {
    width: 100%;
}

.mainmenu {
    /*padding-top: 75px;*/
}

.container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header {
    margin: 0;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #000;
}

.footer-links {
    padding-top: 20px;
    padding-left: 10px;
}

.vertical-separator {
    padding-left: 20px;
    padding-right: 20px;
}

.footer-links, .footer-links a, .footer-links a:hover, .footer-links a:visited {
    color: #fff;
}

/* search result */
table.table-responsive .checkbox input[type=checkbox] {
    margin-top: -6px;
    margin-left: 0;
}

.search-form-group {
    margin-bottom: 15px !important;
}

.search-button {
    margin-left: 15px;
}

.result-pagination {
    margin: 5px 0;
}

/* Breadcrumb */

.breadcrumb {
    background-color: white;
    margin-left: -8px;
}

.breadcrumb a {
    cursor: pointer;
}

/* DocView */
.dl-horizontal dt {
    max-width: 230px;
    overflow: visible;
}

/* search pages */

.btn-search-index {
    margin-left: -4px;
}

.clear-search-buttons {
    margin-left: 35px;
}

@media (min-width: 1350px) and (max-width: 1500px) {
    .clear-search-buttons {
        margin-left: 40px;
    }
}

@media (min-width: 1060px) and (max-width: 1349px) {
    .clear-search-buttons {
        margin-left: 50px;
    }
}

@media (min-width: 768px) and (max-width: 1059px) {
    .clear-search-buttons {
        margin-left: 55px;
    }
}

@media (min-width: 967px) {
    .mainmenu li.active .triangle-up {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 15px solid white;
        display: block;
        margin: -15px auto 0;
    }
}

@media (max-width: 767px) {
    .mainmenu {
        padding-top: 5px;
    }

    .logo {
        height: 50px;
    }

    .vertical-separator {
        padding-left: 5px;
        padding-right: 5px;
    }

    .footer-links {
        padding-top: 10px;
        padding-left: 10px;
        text-align: center;
    }

    .masthead .navbar-default {
        background-image: none;
    }

    .small-logo {
        font-size: 14px;
        width: 50%;
        line-height: 14px;
    }

}

@media (min-width: 768px) {
    .navbar {
        /*margin-bottom: 60px;*/
    }

    #navbar {
        margin-left: 50px;
    }

    .masthead .navbar-default {
        min-height: 150px
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .form-inline .input-group .form-control, .form-inline .input-group .input-group-btn {
        width: 100%;
    }
}

@media (min-width: 1263px) {
    .navbar-right {
        margin-top: -50px;
    }
}

@media (min-width: 970px) and (max-width: 1262px) {
    .navbar-right {
        margin-top: -50px;
    }

    .masthead .navbar-default {
        background-position: 270px 0%;
    }
}

@media (min-width: 768px) and (max-width: 969px) {
    .navbar-right {
        margin-top: -50px;
    }

    .masthead .navbar-default {
        background-position: 270px 0%;
    }
}

@media (min-width: 835px) and (max-width: 969px) {
    .masthead .navbar-default {
        background-position: 270px 0%;
    }
}

@media (min-width: 768px) and (max-width: 835px) {
    .masthead .navbar-default {
        background-position: 270px 0%;
    }
}

.language-selected {
    font-weight: bold !important;
}

.hits-box {
    width: 50px !important;
}

.validation-error {
    border-color: red;
}

.error-message {
    color: red;
    font-weight: bold;
}

.field-error-message {
    color: red;
    font-weight: bold;
    display: none;
}

.pagination-panel {
    display: flex;
    align-items: center;
    min-width: 489px;
}

.pagination-panel > span {
    margin: 0px 5px 0px 0px;
}

.hits-sort-panel {
    display: flex;
    align-items: center;
    min-width: 255px;
    height: 54px;
}

.hits-sort-panel > span {
    margin: 0px 0px 0px 5px;
}

.hits-sort-panel select {
    display: inline-block;
    width: auto;
}

@media (min-width: 768px) {
    .hits-sort-panel {
        float: right;
    }

    .mainmenu {
        margin-left: -75px;
    }
}

@media (max-width: 767px) {
    .hits-sort-panel {
        float: left;
        margin-left: 45px;
    }
}

.image-nav-button {
    padding: 5px;
    font-weight: bold;

}

.image-nav-button:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.tree-panel {
    height: 50vh;
    overflow-y: auto;
}

.tree-header-button {
    margin-bottom: 5px;
}

.text-align-center {
    text-align: center;
}

.subscriptions-list {
    height: 50vh;
    overflow-y: auto;
}

.subscriptions-list-item {
    background-color: #f7f7f7;
    padding: 2px 5px 2px 15px;
    margin-bottom: 3px;
}

.marked-bio-header {
    font-size: 20px;
    font-weight: normal;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: -1px;
    background-color: #fafafa;
}

.marked-bio-header a {
    font-size: 14px;
    font-weight: bold;
}

.image-container {
    background-color: #f0f0f0;
    margin-top: 10px;
}

.image-container img {
    margin-top: 20px;
    margin-bottom: 10px;
}

.image-container p {
    font-weight: bold;
}

.image-container span {
    font-weight: normal;
}

.rotate-controls-container {
    margin-left: 5px;
    margin-top: -7px;
}

.rotate-controls-container i {
    cursor: pointer;
    padding: 2px;
    border: 1px solid white;
}

.rotate-controls-container i:hover {
    background-color: #f0f0f0;
    border: 1px solid black;
}

a.disabled {
    color: gray !important;
    cursor: default;
}

li.disabled {
    color: gray !important;
}

.pages-panel {
    display: inline-block;
    margin-top: -33px;
    vertical-align: middle;
}

.search-summary {
    padding: 5px;
    background-color: #fafafa;
    width: 100%;
}

#ddlArchives {
    height: 300px;
}

@media (max-width: 767px) {
    .form-control {
        font-size: 11px;
        padding: 3px 6px;
    }

    .well {
        padding: 5px;
    }
}

.pages-counter {
    margin-top: 0px;
}

table.table.document-view td, table.table.document-view th {
    border: none;
}

table.table.document-view th {
    white-space: nowrap;
}

.login-as-guest {
    margin-top: 5px;
    display: block;
}

.list-group li {
    overflow: auto;
}

.image-controls-panel {
    margin-top:18px;
}

.mark-document-panel {
    margin-top: 10px;
}

tr.sources-short-title td, tr.sources-short-title th{
    padding: 0 0 0 8px !important;
}

tr.sources-source-citation td, tr.sources-source-citation th{
    padding: 0 0 0 8px !important;
}

.navbar-menu-panel {
    background-color: #f5f5f5;
}

.navbar-menu-panel > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

a {
    color: #00627d
}

.btn-recommed-to-librarian {
    float:right;
    margin-top:8px;
}

@media (max-width: 1140px) and (min-width: 950px) {
    .btn-recommed-to-librarian {
        margin-top: -96px;
    }
}

@media (max-width: 911px)  {
    .btn-recommed-to-librarian {
        margin-top: -42px;
    }
}

.wbis-breadcrumb {
    margin-top: -8px;
    margin-left: 17px;
    margin-right: 10px;
    padding: 3px;
    /*background-color: #f5f5f5;*/
}

.form-signin-heading {
    margin-top: 0;
}