@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Roboto-regular/Roboto-regular.eot');
    src: url('../fonts/Roboto-regular/Roboto-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Roboto-regular/Roboto-regular.woff2') format('woff2'),
    url('../fonts/Roboto-regular/Roboto-regular.woff') format('woff'),
    url('../fonts/Roboto-regular/Roboto-regular.ttf') format('truetype'),
    url('../fonts/Roboto-regular/Roboto-regular.svg#Roboto') format('svg');
}

html, body {
	width: 100%;
	height: 100%;
	font-family: 'Roboto', sans-serif;
}

/* Fix for off center glyphicons */
.glyphicons {
	line-height: 1.28em;
}

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

/* Modals */
/* Prevent window scroll when modal is opened */
body.modal-open { 
	overflow: hidden;
}
/* Make some room for fixed buttons in bottom */
.modal-body {
	padding-bottom: 65px;
}
.modal-footer {
	text-align: left;
}
/* Footer inside the content area */
.modal-content .modal-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}
/* Footer inside the content area */
.modal-content .modal-footer.fixed {
	position: fixed;
}
.modal-lg {
	width: 96%;
}

/* General */
.navbar.navigation {
}
/* Remove blue outline in Safari */
.btn:focus {
	outline: none !important;
}
a:hover {
	text-decoration: none; 
	cursor: pointer;
}
.text-indicator {
	color: #BB8838;
}

/* Login page */
/*html.loginpage,
html.loginpage body {
    width:100%;
    height: 100%;
    background: none;
    display: table;
    overflow: hidden;
}
html.loginpage {
    background: url(../images/backgrounds/background.png) no-repeat left center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
html.loginpage .container .panel.login {
	width: 400px;
	border: none;
	background: rgba(0, 0, 0, 0);
	box-shadow: none;
	color: #000;
	bottom: 0;
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	top: 0;
    height: 60%;
}
html.loginpage .container .panel.login > .panel-heading {
    color: #000;
    background:transparent;
    border:none;
}
html.loginpage .container .panel.login > .panel-heading h3 {
    font-family: Helvetica Neue, sans-serif;
    color: #000;
    font-size: 28px;
    font-weight: 500;
    line-height: 91px;
    letter-spacing: 0px;
    text-transform: uppercase;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.20);
    text-align: center;
}
html.loginpage form[role='form'] span {    
    width: 100%;
    height: inherit;
    position: relative;
    display: block;
    box-sizing: content-box;
    margin-bottom: 5px
}
html.loginpage form[role='form'] span:first-of-type {
	border-bottom: 1px solid rgba(255, 255, 255, 0.57);
}
html.loginpage form[role='form'] span input:not([type='checkbox']) + label {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    font-size: 0px;
}
html.loginpage form[role='form'] span input:not([type='checkbox']) + label:before {
    content: '\e008';
    position: absolute;
    width: 40px;
    height: 100%;
    color: #000;
    font-size: 20px;
    font-family: "Glyphicons Halflings";
    line-height: 39px;
    text-align: center;
}
html.loginpage form[role='form'] span input[type='password'] + label:before {
	content: '\e033';
}
html.loginpage form[role='form'] span div {
    width: 49%;
    position: relative;
    display: inline-block;
    margin: 20px 0;
    font-family: Helvetica Neue, sans-serif;
    font-size: 14px;
}
html.loginpage form[role='form'] span div.checkbox input[type=checkbox] {
    margin: 0px;
    opacity: 0;
    width: 30px;
    height: 30px;
    left: 11px;
    top: -5px;
    z-index: 100;
}
html.loginpage form[role='form'] span div.checkbox label {
	padding-left: 50px;
}
html.loginpage form[role='form'] span div.checkbox label:before,
html.loginpage form[role='form'] span div.checkbox label:after {
    content: '';
    border: 2px solid #000;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0);
    position: absolute;
    z-index: 1;
    left: 10px;
    border-radius: 3px;
    -webkit-transition: all, 0.2s, ease-in-out;
    transition: all, 0.2s, ease-in-out;
}
html.loginpage form[role='form'] span div.checkbox label:after {
    background: rgba(13, 95, 199, 0.57);
    z-index: 0;
    border-radius: 3px;
    border: none;
}
html.loginpage form[role='form'] span div.checkbox input[type=checkbox]:checked + label:before {
    transform: rotate(-53deg);
    -webkit-transform: rotate(-53deg);
    border-top-style: none;
    border-right-style: none;
    height: 15px;
    width: 24px;
    border-radius: 0px;
    border-width: 3px;
}
html.loginpage form[role='form'] span div:last-child {
    float: right;
    text-align: right;
}
html.loginpage form[role='form'] span div a {
    text-align: right;
    color: #000;
}
html.loginpage form[role='form'] input:not([type='checkbox']) {
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0);
    font-family: Helvetica Neue, sans-serif;
    font-size: 20px;
    height: auto;
    color: #000;
    box-shadow: none;
    padding-left: 50px;
    position: relative;
}
html.loginpage form[role='form'] button {
    background: #359dff;
    border-radius: 0px;
    width: 100%;
    text-align: center;
    height: auto;
    line-height: 26px;
    font-size: 17px;
    text-transform: uppercase;
    border: none;
    font-family: Helvetica Neue, sans-serif;
    font-size: 17px;
}*/
html.loginpage {
	/*	background: url(../images/backgrounds/background_demo2.jpg) no-repeat left center fixed; 
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover; */
	}

	html.loginpage body {
		background: none;
	}

	.panel.login {
		width: 250px;
		position: absolute;
		top: 150px;
		right: 30px;
	}
/* Headers */
nav.navbar[role=banner] { 
    background: rgba(0, 0, 0, 0) url("../images/banner/bannerImg.png") repeat scroll 0 0;
    margin-bottom: 0;
}
nav.navbar[role="banner"] .nps-header {
    background-image: url("../images/banner/MAL_header.png");
    background-size: auto 80%;
    padding-left: 30px;
}
nav.navbar[role="banner"] .navbar-brand {
    padding: 10px 20px;
}
nav.navbar[role="banner"] .navbar-brand > img {
    /* background-image: url("../images/banner/xinet_logo.png"); */
    background-size: auto auto;
}
nav.navbar[role=navigation] { 
	margin-bottom: 0; 
}
nav.navbar[role=toolbar] { 
	margin-bottom: 0; 
}
nav .icons a {
	font-size: 24px;
	padding: 12px 27px 28px 23px;
}
nav .icons label {
	position: absolute;
	bottom: 2px;
	width: 74px;
	text-align: center;
	white-space: nowrap;
	opacity: 0.4;
	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 {
}
nav[role='toolbar'] form[role='search'] .advancedsearch a + ul li a {
    color: #333;
    background: transparent;
    padding: 5px 10px 5px 10px;
    margin-left: 0;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 14px;

}

/* Top Level Facets */
#toplevelfacets-scrollLeft {
    left:0px;
}
#toplevelfacets-scrollRight {
    right:0px;
}
div[role='toplevelfacets'] .scrollarrow {
	position: absolute;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.015em;
    z-index: 1;
    margin: 0;
    border-bottom: 2px solid #F5F5F5;
    padding: 10px 15px;
}
div[role='toplevelfacets'] .scrollarrow:hover {
    color: #337ab7 !important;
}
div[role='toplevelfacets'] .scrollarrow:focus {
	background: transparent; 
	outline: none;
}
div[role='toplevelfacets'] {
    min-height: auto;
    width: 100%;
    border-bottom: 2px solid #e7e7e7;
    margin-top: 10px;
    background-color:#f8f8f8;
    margin-bottom: 35px;
    position: relative;
}
div[role='toplevelfacets'] ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    margin-bottom: -2px;
    overflow: hidden;
}
div[role='toplevelfacets'] ul li {
    width: 100%;
    flex-grow: 1;
    float: none;
    text-align: center;
    white-space: nowrap;
}
div[role='toplevelfacets'] ul li a,
div[role='toplevelfacets'] ul li a:active {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0.015em;
	border-radius: 0px;
	color: #555;
	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 {
    color: #337ab7 !important;
    background:#fff !important;
    border-bottom: 2px solid #337ab7 !important;
}
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;
}
#togglePannelLeftBtn, #togglePannelTopBtn {
    background: transparent;
    color: #fff;
    border-radius: 100%;
    font-size: 20px;
    line-height: 20px;
    padding: 5px 7px;
    margin: 0 10px;
    position: relative;
    height: 32px;
    width: 32px;
    border-width:2px;
    border-color:#555;
    vertical-align: top;
}
#togglePannelLeftBtn:focus, #togglePannelTopBtn:focus {
	outline: none;
}
#togglePannelLeftBtn span, #togglePannelTopBtn 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;
}
#togglePannelLeftBtn span:before,
#togglePannelLeftBtn span:after,
#togglePannelTopBtn span:before,
#togglePannelTopBtn span:after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #555;
    content: "";
}
#togglePannelLeftBtn span:before, #togglePannelTopBtn 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;
}
#togglePannelLeftBtn span:after, #togglePannelTopBtn 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;
}
#togglePannelLeftBtn span.is_active {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}
#togglePannelTopBtn span.is_active {
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	-o-transform: rotate(270deg);
	transform: rotate(270deg);	
}
#togglePannelLeftBtn span.is_active:before,
#togglePannelLeftBtn span.is_active:after,
#togglePannelTopBtn span.is_active:before,
#togglePannelTopBtn span.is_active:after {
	width: 50%;
}
#togglePannelLeftBtn span.is_active:before, #togglePannelTopBtn span.is_active: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);
}
#togglePannelLeftBtn span.is_active:after, #togglePannelTopBtn span.is_active: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 {
	background-color: #f8f8f8;
	border-right: 1px solid #ddd;
}
.table-listview thead .nonsortable {
	background-color: #f8f8f8;
}
.table-listview thead .sortable:hover,
.table-listview thead .nonsortable:hover {
    background-color: rgb(231, 231, 231);
    cursor: pointer;
}
.table-listview thead span.glyphicons {
	float: right;
	margin-top: 2px;
	margin-right: 2px;
	margin-left: 2px;
	color: #337ab7;
	z-index: 999;
}
.table-listview > thead > tr > th {
	border-bottom-width: 2px;
	padding: 10px 8px;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.015em;
	border-radius: 0px;
	border-right-color: rgba(221, 221, 221, 0.2) !important;
}
.table-listview > thead > tr > th.active,
.table-listview > thead > tr > th:hover{
	background-color:#fff !important; 
	border-bottom-color:#367AB7;
	-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 */
#viewbuttons {
	display: inline-block;
}	
#sorting-list {
	top: 38px;
}
.sorting-list-hidden {
    display: none;
}
.sorting-wrapper {
    position: absolute;
    right: 0;
    width: auto;
    max-width: 254px;
    min-width: 178px;
    padding-top: 2px;
    z-index: 999;	
    background: white none repeat scroll 0 0;
    border: 1px solid #ccc;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
	text-align: left;
	border-radius: 4px;
	max-height: 500px;
	overflow-y: auto;
}
.sorting-wrapper .sorting-wrapper-sub {
    border-bottom: 1px solid #ccc;
    width: auto;
}
.sorting-wrapper .sorting-wrapper-sub a.checked {
    color: #333;
    font-weight: bold;
}
.sorting-wrapper .sorting-wrapper-sub > * {	    
    position: relative;
    padding: 0 10px 2px 36px;
    margin-top: 0;
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: normal;
    line-height: 26px;
}
.sorting-wrapper .sorting-wrapper-sub a span {
    position: absolute;
    left: 10px;
    top: 6px;
	color: #337ab7;
	font-size: 14px;
}	

/* Left panels */
.container-fluid,
.container-fluid > .row,
#left-pannel,
#main{
	height:100%;
}
#left-pannel {
	padding-right: 0;
}
#accordion {
	position: fixed;
	overflow-y: hidden;
	height: 650px;
	z-index:1;
	left: 0;
	padding-right:0;
}
#accordion:hover {
	overflow-y: auto;
}
#accordion.unpaddme:hover {
	padding-right: 0px;
}
	
/* Filters */
.showmore { 
	margin-left: 20px; 
}
.appliedfacet-top-wrapper {
   	background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;	
}
.appliedfacet-top-wrapper:hover, .appliedfacet-top-wrapper:focus, .appliedfacet-top-wrapper.focus {
   	background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
}
.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;
}
	
/* Add all to basket button */
#main #addalltobasket {
    bottom: 26px;
    right: 15px;
    font-size: inherit;
    background: #292929;
    border-radius: 100%;
    vertical-align: middle;
    padding: 20px;
    z-index: 1;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}
#main #addalltobasket span {
    color: #fefefe;
    vertical-align: middle;
    line-height: 25px;
    font-size: 25px;
}
#main #addalltobasket:hover{
    background: #337ab7;
}

/* Toplevel */
.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 {
	position: absolute;
	width: 238px;
	bottom: 0;
	border-top: rgba(255,255,255,0.1) solid 1px;
	margin-left: -20px;
	font-size: 18px;
}

/* Top Level Facet Values */
.facet.facetvalue {
    background-color: transparent;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 40px;
    padding: 10px 20px 20px;
}
.facet.facetvalue .preview {
    background: whitesmoke none repeat scroll 0 0;
    border: 6px solid #fff;
    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 .preview::before, .facet.facetvalue .preview::after {
    background: #cccccc none repeat scroll 0 0;
    border: 6px solid #fff;
    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 .preview::after {
    background: #a5a5a5 none repeat scroll 0 0;
    left: 0;
    transform: rotate(4deg);
}
.facet.facetvalue .preview a img {
	max-width: 160px;
	max-height: 120px;
}
.facet.facetvalue .preview a img::before {
    color: #848282;
    font-size: 90%;
    opacity: 0.3;
}
.facet.facetvalue .caption {
	float: left;
    border: medium none;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
}

/* Volume - hover */
.volume .lefty, 
.volume .righty {
	display: none;
	position: absolute;
	width: 50%;
	height: 178px;
	background: rgba(0,0,0,0.9);
	color: #ffffff;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.volume .lefty > div, 
.volume .righty > div {
	position: relative;
	top: 50%;
	margin-top: -50px;
}
.volume .lefty {
	top: 0;
	left: 0;
	width: 119px;
	border-radius: 4px 0 0 4px;
	padding-left: 15px;
}
.volume .righty {
	top: 0;
	right: 0;
	width: 119px;
	border-radius: 0 4px 4px 0;
	padding-right: 15px;
}
.volume .lefty .glyphicons, 
.volume .righty .glyphicons {
	display: block;
	clear: right;
}
.volume .lefty small, 
.volume .righty small {
	line-height: 30px;
}

/* Navigate */
#accordion > div {
	margin-bottom: 10px;
}

/*ACCORDION SECTION*/
#accordion .panel {
	padding: 0;
	border-radius: 0px;
	border-color: rgba(221,221,221,0.6);
}
#accordion .panel .panel-heading {
    border-radius: 0;
    border-left: 2px solid #6f0606;
    padding: 8px 15px;
    margin-left: -1px;
}
#accordion .panel .panel-heading .badge {
    border: 1px solid #fff;
    background: #d81b21;
    background: -webkit-gradient(linear, left top, left bottom, from(#ed1c24), to(#aa1317));
    background: -moz-linear-gradient(top, #ed1c24, #aa1317);
    filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317')";
}
#accordion .panel-body {
	padding: 0 0 0 4px;
	border: none;
}
#accordion .panel-title {
    font-weight: 400;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    color: gray;
    font-size: 13px;
}
#accordion .panel-title .btn {
    line-height: 14px;
    font-size: 14px;
    padding: 0 5px;
    color: #2e6da4;
    cursor: pointer;
    background: transparent;
    border: none;
    padding-right: 0px;
    padding-left: 15px;
    margin-top: -4px;
    margin-right: -12px;
}
#accordion .panel-title .btn .glyphicon {
	top: 6px; 
}
#accordion .panel-body ul {
	padding:0px;
}
#accordion .panel-body ul li:first-child {
	margin-top:5px;
}
#accordion .panel-body ul li {
    margin: 1px 0 0 0 !important;
    padding:0 !important;
    position: relative;
}
#accordion .panel-body ul li[style="padding-left: 40px;"] a {
	padding-left: 40px !important;
}
#accordion .panel-body ul li[style="padding-left: 60px;"] a {
	padding-left: 60px !important;
}
#accordion .panel-body ul li[style="padding-left: 80px;"] a {
	padding-left: 80px !important;
}
#accordion .panel-body ul li[style="padding-left: 100px;"] a {
	padding-left: 100px !important;
}
#accordion .panel-body ul li a{
	padding: 3px 0px; 
	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 a, 
#accordion .panel-body ul li a:hover,
#accordion .panel-body ul li a:focus {
    border-radius:0px;
    margin:0;
}
#accordion .savetoggle .panel-body ul li a {
    width:100%;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.035em;
    padding-right: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#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;
}
#accordion .panel-body ul li.navigator_active a {
	color:#fff; 
	background-color: #d50032;
}

/*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;
	letter-spacing: 0.035em;
	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;
	color: #337ab7;
	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 .thumbnail .folder span.glyphicons {
	margin-top: 30px;
}
#thumbnails .thumbnail .folder a.glyphicons {
    margin-top: 30px;
	color: #333;
	text-decoration: none;
}
#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;
	margin: 0 10px 10px 0;
    vertical-align: top;
    display: inline-block;
    padding: 0;
}
#thumbnails .thumbnail .folder,
#thumbnails .thumbnail .image {
    height: 130px !important;
    max-height: 230px;
    cursor: pointer;
    min-width: auto;
    border:4px 4px 0 0;
}
#thumbnails .thumbnail .folder span,
#thumbnails .thumbnail .image a {
    display: block;
    height: 100%;
    width: 100%;
    margin: 0;
    top:0;
    padding: 2%;
    position: relative;

}
#thumbnails .thumbnail .folder span:before {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    font-size: 50px;
    line-height: 100px;
} 
#thumbnails .thumbnail .image a:before {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    content:'';    
}
#thumbnails .thumbnail .folder span:after,
#thumbnails .thumbnail .image 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;
}
#thumbnails .thumbnail .caption small {
    font-weight: normal;
    font-style: normal;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.2;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
}
@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;
	background-color: rgba(0, 0, 0, 0.9);
	color: #fff;
	border: 1px solid #fff;
	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 {
	background-color: #337ab7;
	padding: 2px;
	cursor: pointer;
}
.folder + .tooltip > .tooltip-inner {
	text-align: left;
	background-color: rgba(0, 0, 0, 0.9);
	color: #fff;
	border: 1px solid #fff;
	padding: 10px;
	font-size: 12px;
	white-space:pre-wrap;
	max-width: 500px;
	z-index: 2147483646;
}
.folder + .tooltip > .tooltip-inner > span {
	background-color: #337ab7;
	padding: 2px;
	cursor: pointer;
}

/* File details */
#thumbnails .thumbnail .keywords, 
#thumbnails .thumbnail .dates {
	padding: 0 8px;
}
#thumbnails .thumbnail .keywords hr,
#thumbnails .thumbnail .dates hr {
	margin: 0 0 8px 0;
}
#thumbnails .thumbnail .keywords dl,
#thumbnails .thumbnail .dates dl {
	margin: 0 0 8px 0;
}
#thumbnails .thumbnail .keywords dt,
#thumbnails .thumbnail .dates dt {
	white-space: nowrap;
	max-width: 219px;
	text-overflow: ellipsis;
	overflow-x: hidden;
}
#thumbnails .thumbnail .keywords dd,
#thumbnails .thumbnail .dates dd {
	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;
    background: rgba(255, 255, 255, 0.8);
    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 #fff;
    color: black;
}
#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 {
	background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
	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);
	color: black;
	line-height: 16px;
	position: absolute;
	text-align: center;
	text-shadow: 0 1px 0 #fff;
}
#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;
	background: rgba(255,255,255,0.8);
	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 #fff;
}	
#details-thumbnail .lgpreview .pagectrl .glyphicons,
.annotations .pagectrl .glyphicons {
	font-size: 16px;
	line-height: 32px;
}
#details-thumbnail .lgpreview .control_count,
.annotations .control_count {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}

/* full preview browsing menu and arrows */
#arrowBrowseLeft, #arrowBrowseRight {
	width: 100px;
	height: 100%;
}
#arrowBrowseLeft span.glyphicons {
	position: absolute;
	top: 50%;
	border-radius: 0 3px 3px 0;
	font-size: 50px;
	margin-top: -50px;
	width: 100px;
	cursor: pointer;
}
#arrowBrowseRight span.glyphicons {
	position: absolute;
	top: 50%;
	border-radius: 3px 0 0 3px;
	font-size: 50px;
	margin-top: -50px;
	width: 100px;
	cursor: pointer;
}
#arrowBrowseLeft span.glyphicons:hover, #arrowBrowseRight span.glyphicons:hover {
	background-color: #337ab7;
	color: white;
}
#browsemenuwrapper {
	width: 100%;
	height: 136px;
	position: absolute;
	bottom: 0px;
	overflow: hidden;
}
#browsemenuwrapper:hover .browsemenu {
	opacity: 1;
    transition: opacity 0.2s linear 0s;
}
#browsemenu {
	width: 100%;
	height: 136px;
	background-color: #F2F2F2;
	position: absolute;
	bottom: 0px;
	opacity: 0;
	border-top: #e5e5e5 solid 1px;
	overflow: hidden;
	white-space: nowrap;
}
#browsemenu .browsemenucolumn {
	position: relative;
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    opacity: .65;
}
#browsemenu .browsemenucolumn:hover {
   opacity: 1;
}
#browsemenu .browsemenucolumn.selected {
	/*height: 132px;*/
	border: #0e90d2 solid 1px;
    border-radius: 3px;
	opacity: 1;
	cursor: default;
}
#browsemenuwrapper .slide-control {
    position: absolute;
    top: 42%;
    width: 20px;
    height: 35px;
    cursor: pointer;
    z-index: 5;
    padding: 2px;
}
#browsemenuwrapper .slide-control.left {
    left: 10px;
    background: url(../images/arrows.png) no-repeat scroll 0 0 transparent;
    text-indent: -100%;
}
#browsemenuwrapper .slide-control.right {
    right: 10px;
    background: url(../images/arrows.png) no-repeat scroll 0 -44px transparent;
    text-indent: 100%;
}


/* No more files message */
#nomorefilesmsg {
	line-height: 69px;
	border-top: rgba(125,125,125,0.2) dashed 1px;
}

/* Add all files to basket */
#addalltobasket {
	position: fixed;
	bottom: 5px;
	right: 5px;
	font-size: 24px;
}
#details-addalltobasket {
	font-size: 24px;
	padding: 0;
}

/* Folders */
#folders {
	margin-bottom: 10px;
}
#folders .thumbnail {
	display: block;
	float: left;
	height: 56px;
	min-width: 58px;
	vertical-align: top;
	position: relative;
	margin: 0 10px 10px 0;
	line-height: 46px;
	cursor: pointer;
}
#folders .thumbnail .icon {
	width: 48px;
	font-size: 28px;
	text-align: center;
	line-height: inherit;
	color: #777777;
}
#folders .thumbnail .icon .glyphicons {
	line-height: inherit;
	margin: -1px 0 0 -2px;
}
#folders .thumbnail .name {
	padding: 0 20px;
	line-height: inherit;
}
.thumbnail .previewPadColor .glyphicons {
	text-shadow: 0 1px 1px #fff;
}

/* 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 {
	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: 85%;
	padding: 0;
	margin: 0;
}

/* Details thumbnails */
#details-files {
	background: #000000;
	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: auto;
}
.details #details-info .content {
	display: none;
	right: 15px;
	left: 15px;
	overflow-y: auto;
	height: 90%;
}
#details-info {
	height: 100%;	
}
.details.left.column {
	height: 100%;
}
.details.right.column {
	height: 100%;
}
.details.top.row {
	height: 60%;
	overflow: hidden;
}
.details.bottom.row {
	height: 40%;
	overflow: auto;
}

/* Comments */
#comments-wrapper {
	margin-bottom: 45px;
}
#details-info .comment .delete {
	margin-top: 10px;
}
#details-info .addcomment {
	padding: 5px;
}

/* 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;
}
#details-info .pages .thumbnail.currentspread {
	background: #337ab7;
}
.modal-open #details-info {
    border: 1px solid #ddd;
    padding: 0;
    background: #fff;
}
.modal-open #details-info .details-tabs li span {
    border:0px; 
    border-radius: 0px;
    font-size: 14px;
    background: #fafafa;
    font-weight: 300;
    padding: 10px 4%;
    letter-spacing: 0.035em;
    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;
	color: #337ab7;
	text-decoration: none;
	cursor:pointer;
}
.modal-open #details-info .details-tabs li.active span {
	background: #fff;
	border-bottom: 2px solid #337ab7;
}
.modal-open #details-info .list-group .list-group-item {
	border: 0px;
	padding: 5px 10px;
	margin-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 input[type='text'], 
.modal-open #details-info .list-group.metadata-info .list-group-item p textarea,
.modal-open #details-info .list-group.metadata-info .list-group-item p select:not([multiple]) {
    color:#292929;
    border-color: #ddd;
}
.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 {
    position: absolute;
    bottom: 0;
    background-color: #337ab7 !important;
    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;
    text-transform: initial;
}
form[name="metadataform"] .table>tbody>tr>td label, 
.table tr th,
.modal-open #details-info .list-group .list-group-item h5 {
    letter-spacing: 0.025em;
    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;
}
.modal-content .modal-footer {
    background: #fafafa;
    border-top: 1px solid #ddd;
}
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;
	letter-spacing: 0.035em;
	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;
    color: #337ab7;
    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;
}

/* Advanced search */
#searchfields .table th {
	white-space: nowrap;
}

/* Messages and notifications */
div.alert {
	width: 400px;
	position: absolute;
	top: 5px;
	left: 50%;
	margin-left: -200px;
}

/* Hiding stuff */
.navbar.navigation .icons .button_noshow {
	pointer-events: none;
	cursor: not-allowed !important;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	box-shadow: none;
	opacity: .65;
}
.content .button_noshow, .modal .button_noshow, .popover-content .button_noshow {
	width: 0 !important;
	height: 0 !important;
	display: none !important;
}

/* Straight from old */
.noshow, .div_noshow, .options_noshow {
	display: none;
}
.action_disable {
	display: none;
}

/* Basket plugins */
#batchapply, #batchorder, #contactsheet, #downloadbasket, #downloadbasketfpo {
	overflow: hidden;
	overflow-y: scroll;
	height: 96%;
}
