html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.horizont-menu.files li.active a {
    background-color: #43A6CC;
}
.horizont-menu.files li:not(.active) a {
    color: #fff;
    background-color: #B6B6B6;
}

.horizont-menu.files li a.first {
    border-radius: 7px 0 0 7px;
}
.horizont-menu.files li a.last {
    border-radius: 0 7px 7px 0;
}

.horizont-menu.files li {
    line-height: 28px;
}
.horizont-menu.files li a {
    padding: 6px 11px;
    font-size: 12px;
}

.form-group.half2 {
    width: 43%;
    float: left;
    margin-left: 4px;
}
.form-group.half1 {
    width: 55%;
    float: left;
}
.half1 {
    width: 55%;
    float: left;
}

.row.dc-row .col-md-3 {
    padding-left: 3px;
    padding-right: 3px;
}

.form-group.check {
    margin-bottom: 0;
}
.form-group.check .checkbox {
    margin-top: 5px;
    margin-bottom: 5px;
}

.box.file-box {
    height: 145px;
    margin: 0;
}
.box.file-box .box-heading {
    font-weight: bold;
    position: absolute;
}

.box .files-list {
    position: relative;
    margin-top: 0;
}
.box .files-list li {
    border: 1px solid #cdcdcd;
    font-weight: bold;
    background-color: #f5f5f5;
    margin-top: 1px;
    padding-left: 5px;
    cursor: pointer;
}
.box .files-list li a {
    color: #000000;
}
.box .files-list li:hover {
    background-color: #ebebeb;
}
.box .files-list li.active {
    background-color: #cdcdcd;
}

img.photo {
    width: 100%;
    max-height: 133px;
}
.tab-pane .photo-controls {
    bottom: 10px;
    left: 10px;
    position: absolute;
    width: 91%;
}
.tab-pane .add_btn {
    position: relative;
}
.tab-pane .add_btn input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    font-size: 2px;
}
.tab-pane .file-box {
    overflow: auto;
}

/** LIGHTBOX MARKUP **/
.lightbox {
    /** Default lightbox to hidden */
    display: none;
    /** Position and style */
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
}

.lightbox img {
    /** Pad the lightbox image */
    max-width: 90%;
    max-height: 80%;
    margin-top: 2%;
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;
    /** Unhide lightbox **/
    display: block;
}


#Einzeine .arrow-left {
    background: url(../img/sprite.png) no-repeat -124px -26px;
}
#Einzeine .arrow-left.rotate {
    background: url(../img/sprite.png) no-repeat -124px -27px;
}
#Einzeine .two-arrows.rotate {
    background: url(../img/sprite.png) no-repeat -106px -27px;
}

.btn.btn-search-green {
    background-color: #129C12;
    color: #ffffff;
}

#data_entry_nav i.arrow-left.rotate {
    background: url(../img/sprite.png) no-repeat -123px -27px;
}
#data_entry_nav i.two-arrows.rotate {
    background: url(../img/sprite.png) no-repeat -106px -27px;
}

.controls.data-entry i.two-arrows {
    background: url(../img/sprite.png) no-repeat -106px -26px;
}
.controls.data-entry i.arrow-left.rotate {
    background: url(../img/sprite.png) no-repeat -123px -27px;
}
.controls.data-entry i.two-arrows.rotate {
    background: url(../img/sprite.png) no-repeat -106px -27px;
}

.back-btn {
    font-size: 15pt;
    line-height: 16px;
    vertical-align: top;
}

#mass_changes .list-check div {
    cursor: pointer;
    padding: 6px 20px;
    background: none;
}
#mass_changes .list-check div.active {
    background-color: #57bbfb;
}

.box .error {
    color: red;
}

span.rep-left {
    width: 60px;
    display: inline-block;
}

#maintable-inventorydate {
    height: 34px;
}

.photo-num-block {
    font-size: 9pt;
    font-weight: bold;
}
.main-num-block {
    display: inline-block;
    margin: auto 20px;
}

.horizont-menu li {
    line-height: 26px!important;
}
.horizont-menu li a {
    padding: 7px 12px;
}
.bottom-nav.horizont-menu li a {
    font-size: 9pt;
}
.bottom-nav.horizont-menu li {
    line-height: 27px!important;
}

.login-logo {
    text-align: center;
    padding-top: 15px;
}
.login-logo .ttl {
    font-size: 22pt;
    font-weight: bold;
}
.login-logo .desc {
    color: #8c161f;
    font-size: 10pt;
    font-weight: bold;
}
.inputs .login {
    margin: 8% auto;
}
.login-footer {
    text-align: center;
    bottom: 0;
    position: fixed;
    width: 55%;
}
.login-btn {
    background-color: #009e00!important;
}

ul.top-menu {
    width: max-content;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
ul.top-menu li {
    position: relative;
}
ul.top-menu li:hover ul {
    display: block;
    left: -10px;
}
ul.top-menu ul {
    position: absolute;
    display: none;
    background-color: #E7E7E7;
    z-index: 1;
    font-size: 12px;
    font-weight: bold;
}
ul.top-menu ul li {
    width: 100px;
    padding: 2px;
}
ul.top-menu ul li {
    border-bottom: 1px solid #b8b8b8;
}
ul.top-menu ul li:last-child {
    border-bottom: none;
}

.modal-dialog {
    z-index: 9999!important;
}
.modal-dialog .modal-footer {
    text-align: center;
}
.modal-dialog .modal-body {
    text-align: center;
}
.modal-dialog .modal-body img {
    width: 200px;
}
.modal-dialog .modal-body h5 {
    font-weight: bold;
}
.modal-dialog .modal-body .copyright {
    font-size: 10pt;
}

.top-username {
    font-size: 16px;
    margin-left: 188px;
    line-height: 30px;
}

.login-img img {
    width: 100%;
    height: 100%;
}

.last-inv-num {
    margin-top: -10px;
    color: blue;
}

.dc-row .form-group.required label {
    color: red;
}

.top-datetime {
    margin-left: 15px;
}

.main-img-name {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.85);
    font-size: 9pt;
    font-weight: bold;
    text-decoration: underline;
}

.tile-content .item {
    float: left;
    width: 240px;
    height: 80px;
    background-color: #A8D08E;
    margin: 15px;
    padding: 29px 10px 25px 15px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 15px;
    cursor: pointer;
}
.tile-content .item.green {
    background-color: #A8D08E;
}
.tile-content .item.orange {
    background-color: #F4B084;
}
.tile-content .item.blue {
    background-color: #9CC2E5;
}
.tile-content .item a {
    color: #000;
    font-size: 14px;
}
.tile-content .item.back {
    text-align: center;
    padding: 14px;
}

i.menu-img {
    background: url(../img/menu.png) no-repeat 0 0;
    width: 21px;
    height: 16px;
}

.main-table.one-column-table tr td div {
    outline: none;
}

table.table thead th,
table.table thead th a,
table.main-table thead th,
table.main-table thead th a {
    color: #000;
}

.nav-bar {
    z-index: 10;
}

.gallery-image-preview img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Login screen css */
.global-header {
    background: #f5f9fc;
    padding: 15px 0;
}
.header-inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

div#language-selector button img {
    max-width: 35px;
}
span#selected-lang-code {
    font-weight: 700;
    /* font-family: cursive; */
    text-transform: lowercase;
}
div#language-selector button {
    background: transparent;
    border: none;
}
.login-content {
    padding: 0 30px;
}
.basic-info-application {
    text-align: center;
    margin-bottom: 20px;
}
.basic-info-application h2 {
    font-size: 34px;
    line-height: 34px;
    margin-top: 30px;
    font-weight: 700;
}
.basic-info-application p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}
.login-content-inner-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}
.login-image-block img {
    width: 100%;
    max-width: 100%;
}
form#login-form {
    width: 100%;
    margin: 0;
}
.content-section-screen {
    background: linear-gradient(to top left, #5785ff, #ffffff);
}
.footer-login-screen p {
    text-align: center;
    color: #000;
    font-weight: 700;
    margin-top: 10px;
}
form#login-form input {
    background: #fff;
    height: 40px;
}
.form-group.field-loginform-rememberme input {
    height: auto !important;
}
.btn-wrap.login-form-submit button {
    background: #0e6dfd !important;
    border-radius: 0px;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 24px;
}
.btn-wrap.login-form-submit {
    text-align: right !important;
}
form#login-form label {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.6px;
}

.lang-btn.active {
    border: 3px solid #b80031 !important;
    border-radius: 5px;
    padding: 8px;
}
.header-language-flags {
    display: flex;
    align-items: center;
    gap: 15px;
}
.remember-me .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px; /* spacing between checkbox and text */
    cursor: pointer;
}
.header-logo img {
    max-width: 190px;
}
.remember-me input[type="checkbox"] {
    margin: 0;
}
.forgot-password-container {
    margin-bottom: 10px;
}
.password-reset-token .main-menu .sub-header, .reset-password .main-menu .sub-header {
    display: none;
}
.password-reset-token a#open-mnu, .password-reset-token a.open-mnu {
    display: none;
}
.reset-password a#open-mnu, .reset-password a.open-mnu {
    display: none;
}
.password-reset-token ul.top-menu li:first-child, .reset-password ul.top-menu li:first-child {
    display: none;
}
.label-language p {
    margin: 0;
    font-weight: 600;
}
.label-language {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: right;
    width: 50%;
}
.table-cell-full-current-logo {
    padding: 15px 10px;
}
.field-museumparameter-frontend_emails .hint-block {
    margin-left: 10px;
}
a.a-img.gallery-image-preview img {
    max-height: 380px !important;
    object-fit: cover;
}
.file-checkbox:checked + .file-name {
    color: #007bff;
}
.column-image-box ul.horizont-menu.files li a {
    border-radius: 7px;
}
/*.action-controls-buttons button {
  background: #efefef;
  border: 1px solid #000;
  color: #000;
}*/
ul#dropbox_list li {
    font-size: 16px;
}
.mass-changes-select-text {
    font-size: 16px;
    line-height: 26px;
}

@media (max-width: 767px) {
    /* Styles for mobile devices */
    .top-line {
        background-color: #E7E7E7;
        height: 55px !important;
        border-bottom: 1px solid #D8D8D8;
        padding-left: 10px !important;
        padding-right: 10px !important;
        display: flex;
        flex-wrap: wrap;
    }
    a.a-img.gallery-image-preview img {
        max-height: 100% !important;
        object-fit: cover;
    }

    .top-line .top-line-left {
        display: inline-flex !important;
        width: 100%;
        gap: 5px;
        align-items: center;
    }

    .top-username {
        margin-left: 4px !important;
    }
    
    .top-line .top-line-right {;
        font-size: 14px;
        margin-right: 0px !important;
        width: 100%;
    }    

    ul.top-menu {
        width: 100% !important;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;     
    }
    .top-datetime {
        margin-left: 10px;
    }
    .one-line-inputs .first-col {
        width: auto !important;
        white-space: normal !important;
    }

    #Institution .one-line-inputs input[type="text"] {
        max-width: 50% !important;
        margin-left: 10px;
    }


  }

@media screen and (min-width: 993px) and (min-height: 640px) {
    .nav-bar {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 60px;
    }
    .tab-h {
        height: 230px;
        overflow: auto;
        min-height: 100px;
    }
}

@media (min-width:993px) and (max-width: 1299px) { 
    .label-language {
        width: 40%;
    }
}
@media (min-width:993px) and (max-width: 1024px) { 
    a.a-img.gallery-image-preview img {
        max-height: 100% !important;
        object-fit: cover;
    }
}
@media screen and (max-width: 992px) {
    .login-img {
        display: none;
    }
    .login-footer {
        width: 100%;
    }
    .label-language {
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }
    .header-inner-container {
        flex-direction: column;
        gap: 20px;
    }
}
@media screen and (max-height: 715px) {

    .login-footer {
        position: relative;
        width: 100%;
    }
}
@media screen and (max-width: 600px) { 
    .header-inner-container {
        flex-direction: column;
        gap: 20px;
    }
    .login-content-inner-container {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width: 535px) { 
    .top-line .top-line-left {
        flex-wrap: wrap;
        justify-content: center;
    }
    .top-line {
        height: 90px !important;
    }
} 
@media screen and (max-width: 480px) { 
    .top-username {
        font-size:12px;
    }
    ul.top-menu li {
        font-size: 12px;
    }
}
@media screen and (max-width: 370px) { 
    .top-username {
        font-size:10px;
    }
    ul.top-menu li {
        font-size: 10px;
    }
}