/*
#pageWrapper {
	max-width: 1320px;
	margin: 20px auto;
	padding: 0 20px;
	transition: padding 0.5s;
}
@media (max-width: 767.98px) {
	#pageWrapper {
		padding: 0;
	}
}
String COLOR_MAIN_ONE         = "#717b54" ;
String COLOR_MAIN_ONE_RGB     = "161, 178, 163" ;

String COLOR_MAIN_TWO          = "#587b92" ;
String COLOR_MAIN_TWO_RGB      = "88, 123, 146" ;

String COLOR_MAIN_TWO_FOR_TEXT = "#65a6c6" ;
*/

body[class^="template"] #header,
body[class^="template"] #searchPlateWrapper,
body[class^="template"] #libraryInfo,
body[class^="template"] #footer,
.main #content.container,
.breadcrumbs .container,
#searchForm .container {
	width: 100% !important;
	max-width: 1320px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
body[class^="template"] #footer {
	margin-top: 0 !important;
}
body.template-dir-myresearch #footer {
	margin-top: 20px !important;
}

.main #content.container,
.breadcrumbs .container,
#searchForm .container {
	padding: 0 30px !important;
	background-color: #fcfcfc;
}
.lte-sm .breadcrumbs .container {
	padding: 0 10px !important;
}
.lte-sm #searchForm .container {
	margin-top: -20px !important;
	padding: 0 35px !important;
}

/* DISBALED FOR NOW...
body[class^="template"] #content {
	opacity: 0;
	transition: all .3s;
}
.loaded body[class^="template"] #content {
	opacity: 1;
}
*/


/* Search results */

#searchForm {
	padding: 10px 0;
}

.lte-sm .template-name-results .mainbody,
.lte-sm .template-name-results .mainbody .media,
.lte-sm .template-name-results .sidebar {
	padding: 0 !important;
}

.template-name-results .record-number {
	min-width: 30px;
	padding-right: 10px;
	text-align: right;
	padding-top: 15px;
}

.template-name-results .mainbody .result {
	border-bottom: 1px solid #ccc;
}
.template-name-results .mainbody #result0 {
	border-top: 1px solid #ccc;
	margin-top: 20px;
}

.template-name-results .mainbody .result:nth-child(odd) {
	background-color: rgba(70, 173, 173, .05);
}
.template-name-results .mainbody .result:hover {
	background-color: rgba(70, 173, 173, .15);
}

.lte-sm .template-name-results .mainbody .media {
	display: block !important;
}
.lte-sm .template-name-results .mainbody .result .media-left {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}
.lte-sm .template-name-results .mainbody .result .media-body {
	padding-bottom: 20px !important;
}

.template-name-results .mainbody.left {
	padding-bottom: 1.5rem;
}

.md .result-link-label {
	display: none;
}

.template-name-results .mainbody .result .media-left a {
	display: inline-block;
	width: 100%;
	margin: 4px 0 8px 0;
  padding: 4px;
  border: 1px solid #797979;
}
.lte-sm .template-name-results .mainbody .result .media-left a {
  border: 0;
	margin-bottom: 20px;
	padding: 10px;
}
.record .media-left.small,
.result .media-left.small,
.record .media-right.small,
.result .media-right.small {
	width: 160px;
}
.template-name-results .mainbody .result .media-left a img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.lte-sm .template-name-results .mainbody .result .media-left a img {
	max-height: 200px;
}


.lte-sm .template-dir-record .record .media-left {
	max-width: 100% !important;
}


#search-sidebar .collapse,
#search-sidebar .collapsing {
	padding: 0 5px;
}
#search-sidebar .collapse.show {
	padding: 5px 5px 15px 5px
}

#search-sidebar .facet,
.full-facets .facet {
	margin: 0 10px 7px 0;
}
#search-sidebar .facet:hover,
#search-sidebar .facet:focus,
#search-sidebar .facet:active {
	background-color: rgba(88, 123, 146, .15);
}
#search-sidebar .facet.active {
	background-color: rgba(88, 123, 146, .25);
	color: inherit !important;
}
#search-sidebar .facet .badge {
	position: relative;
	top: -2px;
}

.top-facets .facet,
.top-facets .narrow-toggle,
.top-facets > strong {
	padding-left: 0 !important;
}

nav.record-nav {
	display: none;
}

#pageWrapper .btn {
	border-radius: 0 !important;
}

a.btn {
	text-decoration: none !important;
}

.btn:focus {
	outline: none;
}

.btn-default,
a.btn-default {
  color: #333 !important;
}
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
a.btn-primary,
a.btn-success,
a.btn-info,
a.btn-warning,
a.btn-danger {
  color: #fff !important;
}

.btn-outline-primary {
	background-color: rgba(238, 114, 3, .1);
	border-color: rgb(238, 114, 3);
	color: rgb(238, 114, 3) !important;
}
.btn-outline-primary:hover {
	background-color: rgba(238, 114, 3, .8);
	border-color: rgba(238, 114, 3, .8);
	color: #fff !important;
}

.btn-primary {
	color: #fff;
	background-color: rgb(238, 114, 3);
	border-color: rgb(238, 114, 3);
	color: #fff !important;
}
.btn-primary:hover {
	background-color: rgba(238, 114, 3, .8);
	border-color: rgba(238, 114, 3, .8);
}

.pagination > .active > a,
.pagination > .active > span {
	background-color: rgb(238, 114, 3);
	border-color: rgb(238, 114, 3);
}
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
	background-color: rgba(238, 114, 3, .8);
	border-color: rgba(238, 114, 3, .8);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
	color: #fff;
	background-color: rgb(125, 137, 81);
	border-color: rgb(125, 137, 81);
}


.active-filters {
	align-items: center !important;
}
.active-filters .reset-filters-btn {
	margin-top: 5px;
}
.active-filters .filters .title-value-pair {
	float: left;
	margin: 10px 10px 0 0;
	padding: 3px 5px;
	background-color: #e9ecef;
	border: 1px solid rgba(161, 178, 163, .3);
	border-left: 2px solid rgb(161, 178, 163);
	font-size: 12px;
}
.active-filters .filters .title-value-pair .filter-value {
	padding: 2px 8px;
	margin: 3px;
	font-size: 11px;
}
.active-filters .filters .title-value-pair .filter-value .text {
	font-weight: 600;
}

.active-filters .filters .filter-value {
	background: rgb(88, 123, 146);
	color: #fff !important;
}

.record .img-col {
	padding: 10px 10px 0 0;
}
.record .img-col a {
	display: inline-block;
	width: 100%;
	margin-left: 6px;
  padding: 4px;
  border: 1px solid #797979;
}
.record .img-col img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.grid-body img.recordcover {
	width: auto;
	max-width: 100%;
	height: 130px;
}
.record .media-body {
	padding-left: 25px;/* col default + 10 */
}
.lte-sm .record .media-body {
	padding-left: 15px;/* col default */
}


.result .checkbox {
	display: block !important;
}


.grid-result {
	margin-top: 10px;
	border-top: 1px solid rgba(0,0,0,.1);
}
.grid-result .grid-body {
	padding: 10px;
	margin: 0 10px 10px 10px;
}

.facet .text,
.facet-group .title .text,
.facet-load-indicator .text {
	font-size: 14px;
}

.view-buttons > a,
.view-buttons > span {
	margin-left: 10px;
}

.wikipedia.well img.pull-left {
	margin: 2px 15px 15px 0;
}
.wikipedia.well figure.record-image {
	float: left;
	width: 10vw;
	max-width: 250px;
	min-width: 100px;
	margin: 2px 15px 15px 0;
  padding: 4px;
  border: 1px solid #797979;
	transition: all .3s;
}
@media (max-width: 450px) {
	.wikipedia.well figure.record-image {
		float: none;
		width: 100%;
		max-width: none;
		min-width: 0;
		margin: 0 0 25px 0;
	}
}
.wikipedia.well figure.record-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.bulk-checkbox, .bulkActionButtons label {
	display: inline-block;
}
.search-filter-remove {
	color: #fff !important;
}
.result-link-label {
	font-size: 90%;
}
.result-body .last {
	font-size: 95%;
}

.record-tabs {
	margin-top: 25px;
}
.nav-tabs {
	margin-bottom: 15px;
	border-bottom-color: rgb(238, 114, 3);
}
.nav-tabs > li > a {
	position: relative;
	top: 1px;
	color: #666;
	font-size: 15px;
	text-decoration: none !important;
	margin-right: 0;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, .06);
	border-bottom-color: rgb(238, 114, 3);
	background-color: rgba(0, 0, 0, .02);
}
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus,
.nav-tabs > li > a:active {
	top: 0;
	color: #000;
	text-decoration: underline !important;
	border-color: rgba(0, 0, 0, .06);
	border-bottom-color: rgb(238, 114, 3);
	border-top: 2px solid rgba(238, 114, 3, .5);
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
	top: 0;
	border-top: 2px solid rgb(238, 114, 3);
	border-bottom-color: transparent;
	background-color: rgb(255, 255, 255);
}


.tab-pane h3 {
	margin-bottom: 0;
	padding: 8px;
	color: #000;
	background-color: rgba(238, 114, 3, .5);
	border: 1px solid #ddd;
	border-bottom: 0;
}
.tab-pane table {
	border-collapse: collapse;
}
.tab-pane table th,
.tab-pane table td {
	border: 1px solid #ddd;
}



.lte-sm .template-dir-record .table.table-striped,
.lte-sm .template-dir-record .table.table-striped thead,
.lte-sm .template-dir-record .table.table-striped tbody,
.lte-sm .template-dir-record .table.table-striped tr,
.lte-sm .template-dir-record .table.table-striped th,
.lte-sm .template-dir-record .table.table-striped td {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
}
.lte-sm .template-dir-record .table.table-striped tr,
.lte-sm .template-dir-record .table.table-striped td {
	background-color: white !important;
}
.lte-sm .template-dir-record .table.table-striped th {
	background-color: rgba(0,0,0,.05) !important;
}

.lte-sm .template-dir-record .record .media,
.lte-sm .template-dir-record .record .media-body {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.template-name-results .mainbody .result:nth-child(2n+1) {/*
	background-color: rgba(70, 173, 173, .05);*/
	background-color: rgba(238, 114, 3, .04);
}
.template-name-results .mainbody .result:hover {/*
	background-color: rgba(70, 173, 173, .15);*/
	background-color: rgba(238, 114, 3, .10);
}



/*
.template-name-historicloans .record-list {
	padding-left: 0;
}
.template-name-historicloans .result .media-left img {
	max-height: 150px;
}
*/



.alert {
	border-radius: 0;
}
.alert-info {
    color: rgb(53, 118, 187);
    background-color: rgba(53, 118, 187, .2);
    border-color: rgba(53, 118, 187, .5);
}

.breadcrumb {
	background-color: rgba(125, 137, 81, .2);
}




#modal {
	opacity: 0;
}
#modal.show {
	opacity: 1;
}
