
html, body {
    width: 100%;
    height: 100%;
}

/* Fix for off center glyphicons */
.glyphicon, .glyphicons { line-height: 1.28em; text-decoration: none !important; }

.btn label.checkbox-inline { vertical-align: top; }

/* Remove margin on glyphicons on buttons */
.btn .glyphicon, .btn .glyphicons { margin: 0; }

.btn-lg .glyphicon, .btn-lg .glyphicons { margin: 0; color: inherit !important; text-decoration: none; }

.file-count {
    font-style: italic;
}

.file-count:empty {
    display:none;
}

.file-count:before {
    content: "(";
}

.file-count:after {
    content: ")";
}

/* Modals */

.modal-dialog {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin-bottom: 30px !important;
    margin-top: 30px !important;
}

.modal-header {
    height: 55px;
    position: absolute;
    left:0px;
    right:0px;
    top:0;
    z-index: 9999;
}

/* Prevent window scroll when modal is opened */
body.modal-open { 
    overflow: hidden;
}

/* Make some room for fixed buttons in bottom */
.modal-body {
    padding-top:55px;
    padding-left: 0px;
    padding-right:0px;
    padding-bottom: 0px; 
    position: relative;
    box-sizing: border-box;
    height: 100%;
    background: white;
}

.modal-body .page {
    padding: 15px !important;
}

.modal-body .panel-body {
    top:55px;
    left: 0px;
    right:0px;
    bottom: 65px; 
    position: absolute;
    box-sizing: border-box;
    padding: 0px;
}

.modal-content {
    height: 100%;
    word-wrap: break-word;
}

/* Footer inside the content area */
.modal-footer { 
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    overflow: visible;
    text-align: left;
    background:white;
}

/* Footer inside the content area */
.modal-footer.fixed { 
    position: fixed;
}

.modal-footer.dialogue_footer {

}

.modal-lg {
    width: 96%;
}

/* General */

.navbar.navigation {
    /* margin-top: 50px; */
}

/* Remove blue outline in Safari */
.btn:focus {
    outline: none !important;
}

a:hover { text-decoration: none; cursor: pointer; }

/* Headers */

nav.navbar[role=banner] { 
    padding: 0px;
    margin: 0px;
}
nav.navbar[role=banner] .server-info {
    height: 100%;
    display: inline-block;
    color: red;
    font-size: 35px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    vertical-align: middle;
    z-index: -1;
    margin-top: 8px;
}
nav.navbar[role="banner"] .nps-header {
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 60%;
    background-origin:content-box;
}
nav.navbar[role="banner"] .navbar-brand {
    padding: 10px 20px;
}
nav.navbar[role="banner"] .navbar-brand > img {
    background-size: contain;
    background-repeat: no-repeat;
    width:640px;
}

nav.navbar[role=navigation] { padding: 0px; margin: 0px; }
nav.navbar[role=toolbar] { margin-bottom: 0; }


nav .icons a {
    font-size: 24px;
    padding: 10px 30px 30px 30px;
}
nav .icons label {
    position: absolute;
    bottom: 2px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-weight: normal;
}
nav.navigation .navbar-form {
    margin-top: 18px;
    margin-bottom: 18px;
}


nav[role='toolbar'] form[role='search'] .advancedsearch {
    position: relative;
    display: inline-block;
    width: auto;
    vertical-align: top;
}

nav[role='toolbar'] form[role='search'] .advancedsearch a {
    font-size: 14px;
    margin-left: 10px;
    text-transform: capitalize;
    margin-top: 0;
    vertical-align: middle;
    display: block;
    padding: 8px 0px;
}
nav[role='toolbar'] form[role='search'] .advancedsearch a + ul li a {
    background: transparent;
    padding: 5px 10px 5px 10px;
    margin-left: 0;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 14px;

}

/* Top Level Facets */
div[role='toplevelfacets'] {
    min-height: auto;
    width: 100%;
    border-bottom: 2px solid #e7e7e7;
    margin-top: 10px;
    margin-bottom: 35px;
}
div[role='toplevelfacets'] ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    margin-bottom: -2px;
}
div[role='toplevelfacets'] ul li {
    width: 100%;
    flex-grow: 1;
    float: none;
    text-align: center;
}
div[role='toplevelfacets'] ul li a,
div[role='toplevelfacets'] ul li a:active{
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    border-radius: 0px;
    border-bottom: 2px solid #e7e7e7;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
div[role='toplevelfacets'] ul li a:hover,
div[role='toplevelfacets'] ul li.active a,
div[role='toplevelfacets'] ul li.active:hover a,
div[role='toplevelfacets'] ul li:hover a{
}
div[role='toplevelfacets'] ul li a:focus{background: transparent; outline: none}

/* Navigation bar/Buttons */
#navigator_table .nav > li > a, 
#basketpanel .nav > li > a {
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav.icons label {
    overflow: hidden;
    text-overflow: ellipsis;
}

#togglePanelLeftBtn, #togglePanelTopBtn {
    border-radius: 100%;
    font-size: 20px;
    line-height: 20px;
    padding: 5px 7px;
    margin: 0 10px;
    position: relative;
    height: 32px;
    width: 32px;
    border-width:1px;
    vertical-align: top
}
#togglePanelLeftBtn:focus, #togglePanelTopBtn:focus {
    outline: none;
}
#togglePanelLeftBtn span, #togglePanelTopBtn span {
    display: block;
    position: absolute;
    top: 48%;
    left: 5px;
    right: 4px;
    height: 2px;
    background: #555;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition:  -moz-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    transition: transform 0.3s;
    font-size: 0px;
}
#togglePanelLeftBtn span:before,
#togglePanelLeftBtn span:after,
#togglePanelTopBtn span:before,
#togglePanelTopBtn span:after  {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #555;
    content: "";
}
#togglePanelLeftBtn span:before, #togglePanelTopBtn span:before {
    top: -6px;
    -webkit-transform-origin: top left;
    -moz-transform-origin: top left;
    -o-transform-origin: top left;
    transform-origin: top left;
    -webkit-transition: -webkit-transform 0.3s, width 0.3s, top 0.3s;
    -moz-transition: -moz-transform 0.3s, width 0.3s, top 0.3s;
    -o-transition:  -o-transform 0.3s, width 0.3s, top 0.3s;
    transition: transform 0.3s, width 0.3s, top 0.3s;
}
#togglePanelLeftBtn span:after, #togglePanelTopBtn span:after {
    bottom: -6px;
    -webkit-transform-origin: bottom left;
    -moz-transform-origin: bottom left;
    -o-transform-origin: bottom left;
    transform-origin: bottom left;

    -webkit-transition: -webkit-transform 0.3s, width 0.3s, bottom 0.3s;
    -moz-transition: -moz-transform 0.3s, width 0.3s, bottom 0.3s;
    -o-transition:  -o-transform 0.3s, width 0.3s, bottom 0.3s;
    transition: transform 0.3s, width 0.3s, bottom 0.3s;
}
#togglePanelLeftBtn span.is_active {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
#togglePanelTopBtn span.is_collapsed {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);		
}
#togglePanelLeftBtn span.is_active:before,
#togglePanelLeftBtn span.is_active:after,
#togglePanelTopBtn span.is_collapsed:before,
#togglePanelTopBtn span.is_collapsed:after {
    width: 50% ;
}
#togglePanelLeftBtn span.is_active:before, #togglePanelTopBtn span.is_collapsed:before {
    top: 0;
    -webkit-transform: translate(0, 0) rotate(-45deg);
    -moz-transform: translate(0, 0) rotate(-45deg);
    -o-transform: translate(0, 0) rotate(-45deg);
    transform: translate(0, 0) rotate(-45deg);
}
#togglePanelLeftBtn span.is_active:after, #togglePanelTopBtn span.is_collapsed:after {
    bottom: 0;
    -webkit-transform: translate(0, 0) rotate(45deg);
    -moz-transform: translate(0, 0) rotate(45deg);
    -o-transform: translate(0, 0) rotate(45deg);
    transform: translate(0, 0) rotate(45deg);
}

/* List View */
.table-listview {border:1px solid #ddd; margin-top:0}
.table-listview thead {border-radius: 0px;}
.table-listview thead .sortable {
    border-right: 1px solid #ddd;
}

.table-listview thead .nonsortable {
}

.table-listview thead .sortable:hover,
.table-listview thead .nonsortable:hover {
    cursor: pointer;
}

.table-listview thead span.glyphicons,
.table-listview thead span.glyphicon {
    float: right;
    margin-top: 2px;
    margin-right: 2px;
    margin-left: 2px;
    z-index: 999;
}

.table-listview > thead > tr > th {
    border-bottom-width: 2px;
    padding: 10px 8px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 0px;
}
.table-listview > thead > tr > th.active,
.table-listview > thead > tr > th:hover{ 
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.table-listview > tbody > tr > td {vertical-align: middle; border-top: 1px solid rgba(221, 221, 221, 0.2)}
.table-listview > tbody > tr > td > a.filename {display: inline-block !important}
.table-listview > tbody > tr > td > a.filename span {margin-right: 10px}


/* Sorting */
#sortoptions {
    float: right;
    font-size: 0.8em;
    padding: 0 15px;
    margin-bottom: 10px;
}

#sortoptions form {
    display:inline-block;
}

#sortoptions:before {
    content: "Sort By";
}

#sortoptions:empty {
    display: none !important;
}

/* Left panels */

.container-fluid,
.container-fluid > .row {
    height:100%;
}

/* Filters */
#datefiltersets_table {

}
.showmore { 
    margin-left: 20px; 
}
#panel-filter #filter-content {
}
.appliedfacet-top-wrapper {

}
.appliedfacet-top-wrapper:hover, .appliedfacet-top-wrapper:focus, .appliedfacet-top-wrapper.focus {

}
.appliedfacet-top {
    display:inline-block;
    margin-left: 3px;
}
.appliedfacet-top:hover {
    opacity: 0.8;
}
.appliedfacet-top-remove {
    margin-left: 3px;
}
.appliedfacet-top-remove {
    pointer-events: auto;
}

.tag {
    font-size: 16px;
}

.volume, .facet {

    width: 240px;
    height: 180px;
    padding: 15px 20px 25px 20px;
    position: relative;

    margin: 0 20px 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;

    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
    box-shadow: 0 1px 2px rgba(0,0,0,.075);
}

.volume .caption, .facet .caption {
    position: absolute;
    width: 238px;
    bottom: 0;
    border-top: rgba(255,255,255,0.1) solid 1px;
    font-size: 18px;
}

/* Top Level Facet Values */
.facet.facetvalue {
    background-color: transparent;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 50px;
    padding: 10px 20px 20px;
}
.facet.facetvalue > div {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    float: left;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    padding: 10px;
}
.facet.facetvalue > div::before, .facet.facetvalue > div::after {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    box-sizing: content-box;
    content: "";
    height: 100%;
    left: -10px;
    position: absolute;
    top: -5px;
    transform: rotate(-5deg);
    width: 100%;
    z-index: -1;
}
.facet.facetvalue > div::after {
    left: 0;
    transform: rotate(4deg);
}
.facet.facetvalue > div a img {
    max-width: 160px;
    max-height: 120px;
}
.facet.facetvalue > div a img::before {
    font-size: 90%;
    opacity: 0.3;
}
.facet.facetvalue > div a + .caption {
    border: medium none;
    bottom: -52px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    width: 100%;
}

.volume {
    cursor: pointer;
}

/* Navigate */

#accordion > div {
    margin-bottom: 5px;
}

/*ACCORDION SECTION*/
#accordion .panel{
    padding:0;border-radius: 0px;border-color: rgba(221,221,221,0.6);
}
#accordion .panel .panel-heading{
    border-radius: 0;
    padding: 8px;
    padding-right: 6px;
    text-decoration: none;
    /* border-bottom: none; */
}
#accordion .panel-body{
    padding: 3px;
    border: none;
}
#accordion .panel-title {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
}
#accordion .panel-title .btn {
    padding: 0px;
    cursor: pointer;
    border: none;
    padding-right: 6px;
    padding-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    box-shadow: none !important;
    margin-left: 5px;
}
#accordion .panel-body ul {
    padding:0px
}
#accordion .panel-body ul li{
    margin: 1px 0 0 0;
    padding:0;
    position: relative;
}
#accordion .panel-body ul li a{
    padding: 3px 0px; 
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
    -webkit-transition:color .2s ease-out, background .2s ease-in;
    -moz-transition:color .2s ease-out, background .2s ease-in;
    -ms-transition:color .2s ease-out, background .2s ease-in;
    -o-transition:color .2s ease-out, background .2s ease-in;
} 
#accordion .panel-body ul li.navigator_active {
    font-weight: bold;
}
#accordion .panel-body ul li.navigator_active a, 
#accordion .panel-body ul li a:hover,
#accordion .panel-body ul li a:focus{
    border-radius:0px;
    margin:0;
    /*text-transform: capitalize;*/
}
#accordion .savetoggle .panel-body ul li a {
    display: block;
    width:100%;
    font-size: 12px;
    font-weight: 300;
    padding-right: 30px;
    white-space: nowrap !important;
    text-overflow: unset !important;
    word-break: normal !important;

}
#accordion .savetoggle .panel-body ul li > span{
    top: 21%;
    right: 10px !important;
    line-height: 1 !important;
}
#accordion .savetoggle #basketpanel ul li a {
    padding-right: 3px;
}

/*ADVANCED SEARCH PAGE*/
#searchfields .table{
    box-shadow: 0 1px 1px rgba(0,0,0,0.25), 0 0 1px rgba(0,0,0,0.35);
    margin-bottom:0;
    border-radius:4px;
}
#searchfields table:last-child{box-shadow: none}
#searchfields .table>tbody>tr:first-child>th{border-top:none}

/*METADATA FORM STYLING*/
form[name="metadataform"] input[type='text'],
form[name="metadataform"] textarea,
form[name="metadataform"] select:not([multiple]){
    background: transparent;
    font-size: 13px !important;
    line-height: 1.2;
    height: auto;
    width:100% !important;
    color: inherit;
    box-shadow: none;
}
form[name="metadataform"] textarea{line-height: 16px; height: 80px!important}
form[name="metadataform"] select:not([multiple]) {
    padding: 8px 10px;
    padding-right: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=) !important;

}
form[name="metadataform"] select:not([multiple]).datefield {
    border-radius: 0;
    border-left-width:0px;
    border-right-width:0px;
    width:auto !important;
    margin-left:-6px;
    padding-right: 19px !important
}
form[name="metadataform"] select:not([multiple]).datefield:first-of-type {
    border-right: 0px;
    border-left-width: 1px ;
    border-radius: 4px 0 0 4px;
    margin-left: 0 !important;
}
form[name="metadataform"] select:not([multiple]).datefield:last-of-type {
    border-left: 0px;
    border-right-width: 1px;
    border-radius: 0px 4px 4px 0px;
}
form[name="metadataform"] select:not([multiple]).datefield:last-of-type + input[type='button'] {
    background: transparent;
    border: 0px;
    padding: 8px 5px;
    font-weight: 300;
    font-size: 11px;
}
form[name="metadataform"] input[type='text']:focus,
form[name="metadataform"] select:not([multiple]):focus{
    box-shadow: none;
}

/* Breadcrumb */
#breadcrumbs {
    padding-left: 15px;
    padding-right: 15px;
}

ol.breadcrumb {
    padding: 0 15px;
    line-height: 36px;
    margin-bottom: 10px;
}

/*THUMBNAILS*/

#thumbnails .thumbnail .thumbnailaction span.glyphicon,
#thumbnails .thumbnail .thumbnailaction span.glyphicons
{
    margin-top: 30px;
    text-decoration: none;
}

.volume span.glyphicon,
.volume span.glyphicons {
    text-decoration: none;
}

#thumbnails .thumbnail .filebuttons {}
#thumbnails .thumbnail .filebuttons > a span.glyphicon,
#thumbnails .thumbnail .filebuttons > a span.glyphicons {
    margin: 0;
}
#thumbnails .thumbnail .filebuttons > a {
    padding: 5px 0px;
}
#thumbnails .filebuttons.stripes {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    padding: 10px;
}	

/*ADDED BY LANDRY@NORTHPLAINS LONDON*/

/*THUMBNAILS*/

#thumbnails .thumbnail {
    position: relative;
    /*min-width: 285px; 
    width: 245px;*/
    margin: 0 5px 5px 0;
    vertical-align: top;
    display: inline-block;
    padding: 10px;
    /*border: 2px solid transparent;*/
}

#thumbnails .thumbnail .thumbnailaction {
    height: 130px !important;
    max-height: 230px;
    cursor: pointer;
    min-width: auto;
    border:4px 4px 0 0;
}

#thumbnails .thumbnail .thumbnailaction span {
    display: block;
    height: 100%;
    width: 100%;
    margin: 0;
    top:0;
    padding: 2%;
    position: relative

}
#thumbnails .thumbnail .thumbnailaction span:before{
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    font-size: 50px;
    line-height: 100px;
} 
#thumbnails .thumbnail .thumbnailaction a:before {
    display: block;
    height: 100%;
    vertical-align: middle;   
}

#thumbnails .thumbnail .thumbnailaction span:after,
#thumbnails .thumbnail .thumbnailaction a img {
    vertical-align: middle;
    display: inline-block;
    height: 100%;
    width: auto;
}
#thumbnails .thumbnail .caption {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    padding: 10px;
    text-align: center;
    /* border-top: 1px solid #000; */
}
#thumbnails .thumbnail .caption small {
    font-weight: normal;
    font-style: normal;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.2;
    display: block;
    word-break: normal;
    word-wrap: break-word;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 0px) and (max-width: 377px) {
    #main .volume,
    #thumbnails .thumbnail{
        width: -webkit-calc((100% - (1*10px))/2)!important;
        width: -moz-calc((100% - (1*10px))/2)!important;
        width: -o-calc((100% - (1*10px))/2)!important;
        width: -ms-calc((100% - (1*10px))/2)!important;
        width: calc((100% - (1*10px))/2)!important;
    }
    #main .volume:nth-child(2n),
    #thumbnails .thumbnail:nth-of-type(2n){
        margin-right: 0px !important;
    }
}

@media (min-width: 378px) and (max-width: 501px) {
    #main .volume,
    #thumbnails .thumbnail{
        width: -webkit-calc((100% - (1*10px))/2)!important;
        width: -moz-calc((100% - (1*10px))/2)!important;
        width: -o-calc((100% - (1*10px))/2)!important;
        width: -ms-calc((100% - (1*10px))/2)!important;
        width: calc((100% - (1*10px))/2)!important;
    }
    #main .volume:nth-child(3n),
    #thumbnails .thumbnail:nth-of-type(2n){
        margin-right: 0px !important;
    }
}
@media (min-width: 502px) and (max-width: 625px) {
    #main .volume,
    .col-sm-6 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (1*10px))/2)!important;
        width: -moz-calc((100% - (1*10px))/2)!important;
        width: -o-calc((100% - (1*10px))/2)!important;
        width: -ms-calc((100% - (1*10px))/2)!important;
        width: calc((100% - (1*10px))/2)!important;
    }
    #main .volume:nth-child(3n),
    .col-sm-6 #thumbnails .thumbnail:nth-of-type(2n){
        margin-right: 0px !important;
    }

    .col-sm-9 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (1*10px))/2)!important;
        width: -moz-calc((100% - (1*10px))/2)!important;
        width: -o-calc((100% - (1*10px))/2)!important;
        width: -ms-calc((100% - (1*10px))/2)!important;
        width: calc((100% - (1*10px))/2)!important;
    }
    .col-sm-9 #thumbnails .thumbnail:nth-of-type(2n){
        margin-right: 0px !important;
    }

    .col-sm-12 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (2*10px))/3)!important;
        width: -moz-calc((100% - (2*10px))/3)!important;
        width: -o-calc((100% - (2*10px))/3)!important;
        width: -ms-calc((100% - (2*10px))/3)!important;
        width: calc((100% - (2*10px))/3)!important;
    }
    .col-sm-12 #thumbnails .thumbnail:nth-of-type(3n){
        margin-right: 0px !important;
    }
}
@media (min-width: 626px) and (max-width: 1003px) {
    #main .volume,
    .col-sm-6 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (1*10px))/2)!important;
        width: -moz-calc((100% - (1*10px))/2)!important;
        width: -o-calc((100% - (1*10px))/2)!important;
        width: -ms-calc((100% - (1*10px))/2)!important;
        width: calc((100% - (1*10px))/2)!important;
    }
    #main .volume:nth-child(3n),
    .col-sm-6 #thumbnails .thumbnail:nth-of-type(2n){
        margin-right: 0px !important;
    }

    .col-sm-9 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (2*10px))/3)!important;
        width: -moz-calc((100% - (2*10px))/3)!important;
        width: -o-calc((100% - (2*10px))/3)!important;
        width: -ms-calc((100% - (2*10px))/3)!important;
        width: calc((100% - (2*10px))/3)!important;
    }
    .col-sm-9 #thumbnails .thumbnail:nth-of-type(3n){
        margin-right: 0px !important;
    }

    .col-sm-12 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (3*10px))/4)!important;
        width: -moz-calc((100% - (3*10px))/4)!important;
        width: -o-calc((100% - (3*10px))/4)!important;
        width: -ms-calc((100% - (3*10px))/4)!important;
        width: calc((100% - (3*10px))/4)!important;
    }
    .col-sm-12 #thumbnails .thumbnail:nth-of-type(4n){
        margin-right: 0px !important;
    }
}
@media (min-width: 1004px) and (max-width: 1251px) {
    .col-sm-6 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (2*10px))/3)!important;
        width: -moz-calc((100% - (2*10px))/3)!important;
        width: -o-calc((100% - (2*10px))/3)!important;
        width: -ms-calc((100% - (2*10px))/3)!important;
        width: calc((100% - (2*10px))/3)!important;
    }
    .col-sm-6 #thumbnails .thumbnail:nth-of-type(3n){
        margin-right: 0px !important;
    }

    .col-sm-9 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (3*10px))/4)!important;
        width: -moz-calc((100% - (3*10px))/4)!important;
        width: -o-calc((100% - (3*10px))/4)!important;
        width: -ms-calc((100% - (3*10px))/4)!important;
        width: calc((100% - (3*10px))/4)!important;
    }
    .col-sm-9 #thumbnails .thumbnail:nth-of-type(4n){
        margin-right: 0px !important;
    }

    .col-sm-12 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (4*10px))/5)!important;
        width: -moz-calc((100% - (4*10px))/5)!important;
        width: -o-calc((100% - (4*10px))/5)!important;
        width: -ms-calc((100% - (4*10px))/5)!important;
        width: calc((100% - (4*10px))/5)!important;
    }
    .col-sm-12 #thumbnails .thumbnail:nth-of-type(5n){
        margin-right: 0px !important;
    }
}
@media (min-width: 1252px) and (max-width: 1499px) {
    .col-sm-6 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (3*10px))/4)!important;
        width: -moz-calc((100% - (3*10px))/4)!important;
        width: -o-calc((100% - (3*10px))/4)!important;
        width: -ms-calc((100% - (3*10px))/4)!important;
        width: calc((100% - (3*10px))/4)!important;
    }
    .col-sm-6 #thumbnails .thumbnail:nth-of-type(4n){
        margin-right: 0px !important;
    }

    .col-sm-9 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (4*10px))/5)!important;
        width: -moz-calc((100% - (4*10px))/5)!important;
        width: -o-calc((100% - (4*10px))/5)!important;
        width: -ms-calc((100% - (4*10px))/5)!important;
        width: calc((100% - (4*10px))/5)!important;
    }
    .col-sm-9 #thumbnails .thumbnail:nth-of-type(5n){
        margin-right: 0px !important;
    }

    .col-sm-12 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (5*10px))/6)!important;
        width: -moz-calc((100% - (5*10px))/6)!important;
        width: -o-calc((100% - (5*10px))/6)!important;
        width: -ms-calc((100% - (5*10px))/6)!important;
        width: calc((100% - (5*10px))/6)!important;
    }
    .col-sm-12 #thumbnails .thumbnail:nth-of-type(6n){
        margin-right: 0px !important;
    }
}
@media (min-width: 1500px) and (max-width: 4000px) {
    .col-sm-6 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (4*10px))/5)!important;
        width: -moz-calc((100% - (4*10px))/5)!important;
        width: -o-calc((100% - (4*10px))/5)!important;
        width: -ms-calc((100% - (4*10px))/5)!important;
        width: calc((100% - (4*10px))/5)!important;
    }
    .col-sm-6 #thumbnails .thumbnail:nth-of-type(5n){
        margin-right: 0px !important;
    }

    .col-sm-9 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (5*10px))/6)!important;
        width: -moz-calc((100% - (5*10px))/6)!important;
        width: -o-calc((100% - (5*10px))/6)!important;
        width: -ms-calc((100% - (5*10px))/6)!important;
        width: calc((100% - (5*10px))/6)!important;
    }
    .col-sm-9 #thumbnails .thumbnail:nth-of-type(6n){
        margin-right: 0px !important;
    }

    .col-sm-12 #thumbnails .thumbnail{
        width: -webkit-calc((100% - (7*10px))/8)!important;
        width: -moz-calc((100% - (7*10px))/8)!important;
        width: -o-calc((100% - (7*10px))/8)!important;
        width: -ms-calc((100% - (7*10px))/8)!important;
        width: calc((100% - (7*10px))/8)!important;
    }
    .col-sm-12 #thumbnails .thumbnail:nth-of-type(8n){
        margin-right: 0px !important;
    }
}


@media (min-width: 0px) and (max-width: 768px) {

    nav[role="toolbar"] .navbar-form {
        border: 0 none;
        box-shadow: none;
        vertical-align: top;
        display: inline-block;
        width: auto;
    }
    nav[role="toolbar"] form[role="search"] button + .input-group {
        display: inline-block;
        width: auto;
    } 
    nav[role="toolbar"] form[role="search"] button + .input-group .input-group-btn {
        display: inline-block;
        float: left;
        width: auto;
    }

    nav[role='navigation'],
    nav[role='toolbar'] .navbar-form:nth-child(2),
    nav[role='toolbar'] .navbar-form.navbar-right,
    nav[role='toolbar'] .filtersets,
    nav[role='toolbar'] form[role='search'] .btn.btn-default:nth-child(3),
    nav[role='toolbar'] form[role='search'] .btn.btn-default:nth-child(4) {
        display: none;
    }

    nav[role='toolbar'] form[role='search'] button + .input-group input[type='text'],
    nav[role='toolbar'] form[role='search'] button + .input-group input[type='text']:focus {
        width:100px;
    }
}


/* Highlighting of search results in popup over thumbnails */

.image + .tooltip > .tooltip-inner, .filebox .filename + .tooltip > .tooltip-inner {
    text-align: left;
    border: 1px solid;
    border-color: inherit;
    padding: 10px;
    font-size: 12px;
    white-space:pre-wrap;
    max-width: 500px;
    z-index: 2147483646;
}
.image + .tooltip > .tooltip-inner > span, .filebox .filename + .tooltip > .tooltip-inner > span {
    padding: 2px;
    cursor: pointer;
}
.folder + .tooltip > .tooltip-inner {
    text-align: left;
    border: 1px solid;
    border-color: inherit;
    padding: 10px;
    font-size: 12px;
    white-space:pre-wrap;
    max-width: 500px;
    z-index: 2147483646;
}
.folder + .tooltip > .tooltip-inner > span {
    padding: 2px;
    cursor: pointer;
}

/* File details */

#thumbnails .thumbnail .keywords {

}
#thumbnails .thumbnail .keywords, 
#thumbnails .thumbnail .dates {
    margin: 0;
    padding: 0;
}
#thumbnails .thumbnail .keywords hr,
#thumbnails .thumbnail .dates hr { /* Ruler */
    margin: 0;
    padding: 0;
}
#thumbnails .thumbnail .keywords dl,
#thumbnails .thumbnail .dates dl {
    margin: 0;
    padding: 0;
}

#thumbnails .thumbnail .keywords dt,
#thumbnails .thumbnail .dates dt { /* Title cell */
    white-space: nowrap;
    max-width: 219px;
    text-overflow: ellipsis;
    overflow-x: hidden;

}
#thumbnails .thumbnail .keywords dd,
#thumbnails .thumbnail .dates dd { /* Value cell */
    text-overflow: ellipsis;
    overflow-x: hidden;
    max-width: 219px;
}
#thumbnails .thumbnail .fileinfoicons {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
}

/* Thumbnail page controls */
#thumbnails .thumbnail .pagectrl {
    text-align: center;
    line-height: 16px;
    position: absolute;
    /*padding: 0 2px;*/
    border-radius: 11px;
    box-shadow: -1px -1px 6px rgba(0, 0, 0, 0.2), inset 1px 1px 1px #fff, 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 0 inherit;
}
#thumbnails .thumbnail .pagectrl .glyphicon, 
#thumbnails .thumbnail .pagectrl .glyphicons {
    font-size: 10px;
    line-height: 16px;
}

#thumbnails .thumbnail .pagectrl,
#details-thumbnail .lgpreview .pagectrl {
    display: none;
}

#thumbnails .thumbnail .pagectrl {
    right: 5px;
    top: 85px;
}
#thumbnails .thumbnail .pagectrl {
    border-radius: 11px;
    box-shadow: -1px -1px 6px rgba(0, 0, 0, 0.2), 1px 1px 1px #fff inset, 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 16px;
    position: absolute;
    text-align: center;
    text-shadow: 0 1px 0 inherit;
}
#thumbnails .thumbnail .control_count {
    text-align: center;
    font-size: 10px;
    font-weight: bold;
}

/* details */
#details-thumbnail .lgpreview .pagectrl,
.annotations .pagectrl {
    text-align: center;
    line-height: 32px;
    position: absolute;
    padding: 0 10px;
    border-radius: 19px;
    box-shadow: -1px -1px 6px rgba(0,0,0,0.2),inset 1px 1px 1px #fff,1px 1px 2px rgba(0,0,0,0.2);
    text-shadow: 0 1px 0 inherit;
}	
#details-thumbnail .lgpreview .pagectrl .glyphicon,
#details-thumbnail .lgpreview .pagectrl .glyphicons,
.annotations .pagectrl .glyphicon,
.annotations .pagectrl .glyphicons {
    font-size: 16px;
    line-height: 32px;
}
#thumbnails .thumbnail .pagectrl.prev .glyphicon,
#thumbnails .thumbnail .pagectrl.prev .glyphicons,
#details-thumbnail .lgpreview .pagectrl.prev .glyphicon,
#details-thumbnail .lgpreview .pagectrl.prev .glyphicons {

}

#details-thumbnail .lgpreview .control_count,
.annotations .control_count {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

#thumbnails .thumbnail .pagectrl.next, 
#details-thumbnail .lgpreview .pagectrl.next {
}

/* No more files message */
#nomorefilesmsg {
    /*position: absolute;*/
    /*bottom: -80px;*/
    line-height: 69px;
    /*width: inherit;*/
    /*padding: 0;*/
    /*margin-left: 40%;*/
    border-top: rgba(125,125,125,0.2) dashed 1px;
}

/* Folders */
#folders {
    margin-bottom: 10px;
}

#folders .thumbnail {
    display: block;
    float: left;
    height: 56px;
    min-width: 58px;
    vertical-align: top;
    /* 		overflow: hidden; */
    position: relative;
    margin: 0 10px 10px 0;
    /* 		padding: 0; */
    line-height: 46px;
    cursor: pointer;
}

#folders .thumbnail .icon {
    width: 48px;
    font-size: 28px;
    text-align: center;
    line-height: inherit;
}
#folders .thumbnail .icon .glyphicon,
#folders .thumbnail .icon .glyphicons { line-height: inherit;margin: -1px 0 0 -2px; }

#folders .thumbnail .name {
    padding: 0 20px;
    line-height: inherit;
}
.thumbnail .previewPadColor .glyphicon,
.thumbnail .previewPadColor .glyphicons {
    text-shadow: 0 1px 1px inherit;
}

/* Archive ribbon */

#thumbnails .thumbnail .archive {
    position: absolute;
    top: -6px;
    right: 10px;
    font-size: 28px;
    z-index: 1;
}
#folders .thumbnail .archive {
    position: absolute;
    top: -4px;
    right: 4px;
    font-size: 20px;
    z-index: 1;
}
.nearline { color: rgb(68,117,71) !important; }
.offline { color: rgb(189,76,76) !important; }
.restored { color: rgb(169,169,169) !important; }

/* Details preview */

#details-thumbnail {
    opacity: 0;
    transition: opacity 0.5s linear;
    height: 100%;
}

#details-thumbnail .lgpreview { /* Outer preview container */
    width: 100%;
    height: 100%;
}

#details-thumbnail .image {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center; 
    border-radius: 2px;
    width: 100%;
    height: 80%;
    /* 		padding: 10px; */
    padding: 0;
    margin: 0;
}

#details-thumbnail .largepreview {

}

/* Details thumbnails */

#details-files {
    padding: 10px 40px;
    margin-top: 20px;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
}

#details-files .thumbnail {
    zoom: 0.5;
    margin: 0 5px 5px 0 !important;

    display: inline-block;
    float: none !important;
}

#details-files .thumbnail .btn-group,
#details-files .thumbnail .caption {
    display: none;
}	

/* Details info */
.details #details-info .details-tabs {
    height: 10%;
}
.details #details-info .content {
    display: none;
    position: absolute;
    top: 42px;
    right: 15px;
    bottom: 0;
    left: 15px;
    overflow-x: auto;
    margin-bottom: 0;
}
#details-info {
    height: 100%;	
}
.details.left.column {
    height: 100%;
}
.details.right.column {
    height: 100%;
}
.details.top.row {
    height: 60%;
    overflow: visible;
}
.details.bottom.row {
    height: 40%;
    overflow: auto;
}

/*
    .details.row div[class*=col-] {
        height: 100%;
    }
*/
/* Comments */

#details-info .comment .delete {
    font-size: 16px;
}
#details-info .addcomment {

    padding: 6px;
}
/* Pages */
#details-info .pages > div {
    padding: 4px 0 0 1px;

}
#details-info .pages .thumbnail {
    width: 118px;
    height: 118px;
    display: inline-block;
    margin: 0;
    padding: 2px;
}
.modal-open #details-info .details-tabs {
    height: auto !important
}
.modal-open #details-info .details-tabs li > a {
    border:0px; 
    border-radius: 0px;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 4%;
    border-bottom: 2px solid rgba(221, 221, 221, 0.40);
}
.modal-open #details-info .details-tabs li > span {
    border:0px; 
    border-radius: 0px;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 4%;
    border-bottom: 2px solid rgba(221, 221, 221, 0.40);
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.42857;
    display: block;
    position: relative;
    text-decoration: none;
    cursor:pointer;
}

.modal-open #details-info .list-group .list-group-item{border:0px; padding-bottom: 5px}
.modal-open #details-info .list-group.metadata-info .list-group-item p{
    width: 60%;
    margin: 0;
    overflow: hidden;}

.modal-open #details-info .list-group.metadata-info .list-group-item p select:not([multiple]).datefield{margin-left: -5px}

.modal-open #details-info .list-group.history .list-group-item,
.modal-open #details-info .list-group.comments .list-group-item{border-bottom: 1px solid rgba(221, 221, 221, 0.40);}

.modal-open #details-info .addcomment,
.modal-open #details-info .addcomment:hover{
    margin-top: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.modal-open #details-info .addcomment input[type='text'] {
    width: 100% !important;
}
.modal-open #details-info .addcomment input[type='text'] + span button {
    border-radius: 0!important;
    /*font-size: 13px;*/
    text-transform: initial;
}
form[name="metadataform"] .table>tbody>tr>td label, 
.table tr th,
.modal-open #details-info .list-group .list-group-item h5 {
    padding: 5px 0;
    font-weight: 400;
}
.modal-open #details-info .list-group .list-group-item.keyword h5{width:40%; float: left}
.modal-open #details-info .list-group .list-group-item p{font-size: 13px}

/* info modal responsiveness */
.col-md-6 {
    width:50%
}
.details.column {
    float: left
}

form[name="metadataform"] input[type='text'],
form[name="metadataform"] textarea,
form[name="metadataform"] select:not([multiple]){
    background: transparent;
    font-size: 13px !important;
    line-height: 1.2;
    height: auto;
    width:100% !important;
    color: inherit;
    box-shadow: none;
}
form[name="metadataform"] textarea{line-height: 16px; height: 80px!important}
form[name="metadataform"] select:not([multiple]) {
    padding: 8px 10px;
    padding-right: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=) !important;

}
form[name="metadataform"] select:not([multiple]).datefield {
    border-radius: 0;
    border-left-width:0px;
    border-right-width:0px;
    width:auto !important;
    margin-left:-6px;
    padding-right: 19px !important
}
form[name="metadataform"] select:not([multiple]).datefield:first-of-type {
    border-right: 0px;
    border-left-width: 1px ;
    border-radius: 4px 0 0 4px;
    margin-left: 0 !important;
}
form[name="metadataform"] select:not([multiple]).datefield:last-of-type {
    border-left: 0px;
    border-right-width: 1px;
    border-radius: 0px 4px 4px 0px;
}
form[name="metadataform"] select:not([multiple]).datefield:last-of-type + input[type='button'] {
    background: transparent;
    border: 0px;
    padding: 8px 5px;
    font-weight: 300;
    font-size: 11px;
}
form[name="metadataform"] input[type='text']:focus,
form[name="metadataform"] select:not([multiple]):focus{
    box-shadow: none;
}

form[name="metadataform"] .table>tbody>tr>td, 
form[name="metadataform"] .table>tbody>tr>th, 
form[name="metadataform"] .table>tfoot>tr>td, 
form[name="metadataform"] .table>tfoot>tr>th, 
form[name="metadataform"] .table>thead>tr>td, 
form[name="metadataform"] .table>thead>tr>th{border:none}



/* Search */

.filetype_disabled, .archived_disabled {
    display: none;
}

#savedialogue {
    display: none;
}

.match_highlight{
    background-color: #ffff00;
    color: #000000;
}

/* Advanced search */

#searchfields .table th {
    white-space: nowrap;
}

/* Hiding stuff */

.navbar.navigation .icons .button_noshow { /* .button_noshow behavior in header menu */
    pointer-events: none;
    cursor: not-allowed !important;
    display: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.content .button_noshow, .modal .button_noshow, .popover-content .button_noshow {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* video */

video { background: white; }

/* Straight from old */

.noshow, .div_noshow, .options_noshow {
    display: none;
}

.action_disable {
    display: none;
}

/* Basket plugins */
.modal-body form {
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.modal-body form:after {
    content: "";
    display: block;
    height: 20px;
}

/* Hide file checkbox if you cannot annotate or manage files */
a.checkbox.annotatebutton_noshow.filemgrbutton_noshow {
    display:none !important;
}

.prev-next-buttons {
    float:left;
}

.prev-next-buttons[data-next-file=""] button.next {
    display: none !important;
}

.prev-next-buttons[data-prev-file=""] button.prev {
    display: none !important;
}

.modal-body #imageorder {
    height: 100%;
}

body > .popover {
    z-index: inherit;
}

body.modal-open > .popover {
    z-index: 999999;
}

#search-volumes #navigate .btn-link.basket {
    display: none !important;
}

.tooltip {
    word-break: break-all;
    word-wrap: break-word;
}

.btn.icon_locked, .syncbuttons.icon_locked, .approvalbuttons.icon_locked {
    display: none !important;
}

a.showATrequest > span.glyphicons-lock {
    padding: 10px;
}

div.terms {
    padding-top: 20px;
    padding-bottom: 20px;
    height: 75%;
    width: 100%;
    box-sizing: border-box;
}

div.terms textarea {
    width:100%;
    height: 100%; 
    box-sizing: border-box; 
    resize: none;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden !important;
}

#panel-filter li.collapse {
    display: none;
}

#panel-filter li.collapse.in {
    display: block;
}

.open-force > .dropdown-menu {
    display:block;
}

.dropdown-menu {
    min-width: 100%;
}

#uploadfilenamemodal {
    height: 100%;
    height: calc(100% - 65px) !important;
    overflow: auto !important;
}

#navigate-content {
    display: table;
    width: 100%;
}