@-webkit-viewport {
  width: device-width;
}
@-moz-viewport {
  width: device-width;
}
@-o-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}

@media print {
  .container {width: auto;}
  #myCarousel {display:none;}
  #print-heading {display:block;}
  footer {display:none;}
}
@media not print {
  #print-heading {display:none;}
}

* {
  margin: 0px;
  padding: 0px;
  border-radius: 0px;
}

html {
  font-size: 62.5% !important;
}
/*12px = 1.2rem*/

body {
    background: #eee;
	/*Older browsers*/background-color: #eee;
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
	font-size: 1.6rem;
	color: #111111;
}

h1, h2 {color:#c01;}

h1.welcome {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
	text-shadow: 0px 0px 150px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 0px;
}

h1, h2, h3, h4 {font-weight: 700;} /*{font-family: 'Georgia', 'Times New Roman', 'Times', serif;} */
h5, h5 {font-weight: 600;}

h1 {font-size: 3.0rem; line-height: 4.0rem; margin-bottom: 2.4rem !important;}
h2 {font-size: 2.4rem; line-height: 3.0rem; margin-bottom: 1.0rem;}
h3 {font-size: 2.0rem; line-height: 2.4rem; margin-bottom: 1.0rem;}
h4 {font-size: 1.6rem; line-height: 2.0rem;}
h5 {font-size: 1.4rem; line-height: 2.9rem;}
h6 {font-size: 1.2rem; line-height: 1.4rem;}


a {color: #cc0011;}
a:hover, .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus
{color: #818181; text-decoration: none;}
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus
{background: #cc0011; 	/*Older browsers*/background-color: #cc0011;}
.fa-external-link:hover {color: #818181;}
.btn {font-size: 1.3rem;}


.popover-header {
    font-size: 1.4rem;
}
.popover-body {
    font-size: 1.3rem;
}


.dropdown-menu {
	font-size: 1.5rem;
}

/*Primary button - light grey background, red text */

.btn-primary {
	color: #c01;
	background: #eee;
    /*Older browsers*/background-color: #eee;
    border-color: #ddd;
	box-shadow: none;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:focus, .btn-primary:active:focus, .btn-primary.disabled, .btn-primary:disabled, .btn-primary.disabled, .btn-primary:disabled {
    color: #ae0311;
	border-color: #ddd;
	background: #ddd;
	/*Older browsers*/background-color: #ddd;
}

.btn-primary.focus, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(204,0,17,.5);
}

/*Info button - red background, white text*/

.btn-info {
	color: #fff;
	background: #c01;
    /*Older browsers*/background-color: #c01;
    border-color: #ae0311;
	box-shadow: none;
}

.btn-info:hover, .btn-info:active, .btn-info:focus, .btn-info:active:focus, .btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show>.btn-info.dropdown-toggle {

	background: #ae0311;
	/*Older browsers*/background-color: #ae0311;
	border-color: #ae0311;
}

.btn-info.disabled, .btn-info:disabled {
	background-color: #999;
    border-color: #808080;
}
}

.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show>.btn-info.dropdown-toggle {
	
}

.btn-info.focus, .btn-info:focus, .btn-info:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(204,0,17,.5);
}

/*Secondary button - mid-grey background, white text*/

.btn-secondary {
	color: #fff;
	background: #999;
    /*Older browsers*/background-color: #999;
    border-color: #808080;
	box-shadow: none;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:focus, .btn-secondary:active:focus {

	background: #808080;
	/*Older browsers*/background-color: #808080;
	border-color: #808080;
}

.btn-secondary.focus, .btn-secondary:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(204,0,17,.5);
}

/*Light button - white background, red text */

.btn-light {
	color: #c01;
	background: #fff;
    /*Older browsers*/background-color: #fff;
    border-color: #dcdcdc;
	box-shadow: none;
}

.btn-light:hover, .btn-light:active, .btn-light:focus, .btn-light:active:focus, .btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active, .show>.btn-light.dropdown-toggle {

	color: #c01;
	background: #dcdcdc;
	/*Older browsers*/ background-color: #dcdcdc;
	border-color: #dcdcdc;
}

.btn-light.focus, .btn-light:focus, .btn-light:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(204,0,17,.5);
}


/*
.thumbnail {margin-bottom: 10px;}
.pull-left {margin-right: 15px;}
.pull-right {margin-left: 15px;}
*/
.uc-header-wrapper {background: #cc0011; /*Older browsers*/background: #cc0011; height: 55px;}

.uc-header .client.brand  {
	background: url('/opac_canterbury/img/logo_sm.png') 0px 6px/130px no-repeat;
	/*Older browsers*/
	  background-image: url('/opac_canterbury/img/logo_sm.png');
	  background-position: 0px 2px;
	  background-size: 100px;
	  background-repeat: no-repeat;
	width: 100px;
    height: 46px;
	margin-top: -5px;
	float: left;
}

.uc-header .uc.brand {
	background: url('/opac_canterbury/img/uc-logo-s.png') 10px 10px/100px no-repeat;
	/*Older browsers*/
	  background-image: url('/opac_canterbury/img/uc-logo-s.png');
	  background-position: 10px 10px;
	  background-size: 100px;
	  background-repeat: no-repeat;
    width: 120px;
    height: 55px;
	float: right;
}

.uc-nav {display: none;}
.navbar {margin-bottom: 0px; border-radius: 0px;}

.navbar-dark .navbar-nav .nav-link {
    color: #9d9d9d!important;
}

.navbar.navbar-dark {
    background-color: #222222!important;
	border-color: #080808!important;
}

a.nav-link, .dropdown-menu > li > a{
  text-transform: uppercase;
  font-size: 1.4rem;
  font-size: 14px;
  font-weight: 600;
  color: #9d9d9d;
  }
  
a.nav-link:hover {color: #cc0011!important;}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  color: #c01;
  background: #cc0011;
  /*Older browsers*/background-color: #cc0011;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

/*
 .main-banner {
	

  left: 50%;
   margin-left: -350px;
    margin-right: -350px; 
	overflow: hidden;
}*/

.banner-img {
	position:relative;
}

.banner-search {
	position: relative;
	width: 100%;
}

.banner-filter-light {
	 -webkit-filter: brightness(90%);
	filter: brightness(90%);
}

.banner-filter-dark {
	 -webkit-filter: brightness(70%);
	filter: brightness(70%);
}

.search-box {
	position: absolute; 
	bottom: 35%;
	transform: translateY(-35%);
	-webkit-transform: translateY(-35%);
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
    z-index: 1;
}


.search_label {
	padding-right: .5rem;
}

#toppanel {
    color: #222;
}

.card.bg-light {
	box-shadow: none;
}

.bg-light {
    background-color: #eee!important;
}

.form-control:focus {
    box-shadow: 0 0 5px rgba(174, 3, 17, 0.8);
    border: 1px solid rgba(174, 3, 17, 0.8);
}

.search-tools {
	text-transform: uppercase;
}


.input-group-lg>.form-control, button.btn.btn-secondary.input-group-btn {

    font-size: 18px;
    border-radius: 3px;
	border: 0px;
}

button.btn.btn-secondary.input-group-btn {
    border-radius: 0 3px 3px 0;
	text-transform: uppercase;
}

.search-input {
	opacity: 0.85;
	border: none;
}

.search-input:focus, .search-input:focus-within {
	opacity: 1;
}


/*advanced search panel */
.advanced-search {
	background: #ddd;


}


/* filters */

label.label_check {
    margin-bottom: 0rem;
}

.filter_help {
	color:#808080;
}


/* forms */

form {
	font-size: 1.4rem;
}
.custom-select {
    font-size: 1.2rem;
}

/* Collection image hover */

.img_container {
  position: relative;
/*  width: 50%;*/
}

/*
.image_overlay {
  display: block;
  width: 100%;
  height: auto;
}
*/
.overlay {
  color: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #666;
}

.img_container:hover .overlay {
  opacity: .8;
}

.text_overlay {
	color: #fff;
	font-size: 1.5rem ;
	text-align: center;
}

.ftd-text {
	font-size: 1.4rem;
}

.ftd-slides {
	margin: 3rem;
	}

img.ftd-img {
	max-height: 300px;
	object-fit: cover;
	overflow: hidden;
	padding-bottom: 2rem;
	}

.carousel-item > img.img-fluid  {
    width: 200%;
} 

.carousel-indicators--round li {
    border-radius: 10px;
    margin: 1px 3px;
    height: 10px;
    max-width: 10px;
    border: 1px solid #ccc;
    background-color: transparent;
}
.carousel-indicators .active {
    background-color: #e6e6e6;
    max-width: 12px;
    margin: 0 3px;
    height: 12px;
}

.carousel-control-next, .carousel-control-prev {
	color: #999;
}

.carousel-control-next:focus, .carousel-control-next:hover, .carousel-control-prev:focus, .carousel-control-prev:hover {
	color: #666;
}


.featured-item {
	background-color: #eee!important;
	border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
	padding: 2rem;
}

.carousel-control-prev.featured-control {
    margin-left: -7rem;
}

.carousel-control-next.featured-control {
    margin-right: -7rem;
}

html.ie .carousel_credit {
     display:none;
  }

.carousel_credit {
	display:none;
}

.content {background: #fff; /*Older browsers*/background-color: #fff; padding-top: 15px; min-height: 650px;}

/*lightgallery*/
	img.detail_img {
		overflow: hidden;
		object-fit: contain;
		object-position: top;
	/*	min-height: 100%; */
		width: 100%;
		height:100%; 
		cursor: pointer;
	}

/*footer*/

footer {
	border-top: 4px solid #cc0011;
	background: #292929; 
	/*Older browsers*/background-color: #292929; 
	display: block;
    position: relative;
	}
	
footer:before {
    background: rgba(0, 0, 0, 0) url(https://static.canterbury.ac.nz/frontend/ui/images/Braided-rivers.png) repeat scroll 0 0 / 180px auto;
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    opacity: 0.04;
}

footer ul {
    list-style-type: none;
    margin-left: 15px;
}
	
footer li {
    margin-bottom: 4px;
}	

footer, footer li {
  line-height: 1.4;
  font-size: 1.4rem;
}	
	
	
footer, footer a, footer a:visited {
    color: #fff;
}

footer a:focus {
    color: #eee;
}

footer a:hover {
    color: #818181;
}

footer li.header {
    color: #b1b1b1;
    margin-top: 30px;
    margin-bottom: 30px;
	text-transform:	uppercase;
}

footer .hr {
    height: 2px;
    background: #fff;
    margin-top: 25px;
}

.header.copyright {
	text-transform:	none;
}


	.clickableIcon, .kklogin {
		cursor: pointer
	}

/*Arrangement tree*/ 


#arrangement-structure p {
    line-height: 1;
	}

	
	.lvl-1 {
	font-size: 2.2rem;
	line-height: 4rem;
	}
	
	.lvl-2:before {
	border-top: 1px solid #eee
	}
	
	.lvl-2 {
	margin-left: 2rem;
	font-size: 1.8rem;
	line-height: 3.4rem;
	}
	
	.lvl-3 {
	margin-left: 3.8rem;
	font-size: 1.6rem;
	line-height: 3.2rem;
	}
	
	.lvl-4 {
	margin-left: 5.5rem;
	font-size: 1.4rem;
	line-height: 3.2rem;

	}
	
	.lvl-5 {
	margin-left: 7.5rem;
	font-size: 1.4rem;	
	line-height: 3.2rem;
	}

	.lvl-6 {
	margin-left: 9.5rem;
	font-size: 1.4rem;	
	line-height: 3.2rem;	

	}

	.lvl-7 {
	margin-left: 11.5rem;
	font-size: 1.4rem;
	line-height: 3.2rem;
	}

	.lvl-8 {
	margin-left: 13.5rem;
	font-size: 1.4rem;
	line-height: 3.2rem;
	}

	.lvl-9 {
	margin-left: 15.5rem;
	font-size: 1.4rem;
	line-height: 3.2rem;
	}

	.active-record {
	font-weight: 700;
	}
	
	.tree-icon {
		font-size: 2.5rem!important;
		margin-right: .5rem;
		vertical-align: middle;
	}
	
	.tree-icon-example:before {
		content: "\f196"; /* plus */
		color: c01;
	}
	
	[data-toggle="collapse"] .tree-icon.fa:before {   
	content: "\f147"; /* minus */
	}

	[data-toggle="collapse"].collapsed .tree-icon.fa:before {
	content: "\f196"; /* plus */
	}
	
	i.tree-icon.tree-end.fa:before {   
	content: "\f147"!important; /* minus */
	font-size: 2rem!important;
	}

	.tree-link:before {
		font-size: 1.5rem!important;
		margin-left: .5rem;
		vertical-align: middle;
		content: "\f08e"; /* external link icon */
	}

	
/*Summary & Detail Results*/
	
	.bookmarking {
    padding-bottom: 1rem;
	}
	
	.hide-checkbox input[type="checkbox"] {
    display: none;
	}
	
	/*Highlight search term*/
	.highlight{
		background-color:#ffffcc;
		
	}
	
	.btn-default:disabled {
    border: 1px solid #ccc;
	}

	.coll-img {
		float:left; 
		max-width:40%;
	}
	
	.dataLabel, .dataDetail, .dataTitle {
		margin-bottom: 1.5rem;
	}
	
	.dataDetail {
		list-style: none;
	}
	
	.desc {
    font-size: 1.5rem;
	}

	.dataTitle, .modal-title {
		font-weight: 600;
		font-size: 2rem;
		color: #666;
		/*font-family: 'Georgia', 'Times New Roman', 'Times', serif;*/
	}
	
	.dataLabel {
		color: #666;
	}
	
	.dataIcon {
    margin-left: 1.5rem;
    color: #666;
	}
	
	.gridDetail {
		list-style: none;
		font-size:1.2rem;
	}
	.gridTitle {
		font-weight: 600;
		font-size: 1.5rem;
		color: #666;
		/*font-family: 'Georgia', 'Times New Roman', 'Times', serif;*/
	}
	
	.img-grid {
		height: 120px;
		background-color: #eee;
		border-radius: .25rem;
	}
	.grid-thumb {
		max-height: 110px;
		padding: 0px 5px;
	}
	
	.no-image-icon, .grid-view-active, .row-view-active {
		color: #ccc;
	}
	
	.no-image {
		font-weight: 700;
		font-size: 1.2rem;
		color: #b8b8b8;
	}
	
	.search-filters-sum, .form-control {
		font-size: 1.3rem;
	}
	
	.form-control {
		height: calc(2.75rem + 2px);
	}
	
	.moreInfo {
		color:#aaa;
	}
	
	.moreInfo:hover {
		color:#888;
	}
	
	.pagination.btn-toolbar a {
		margin: 10px 0px;
		border: 1px solid #ced4da;
	}
	
	.row.summaryResult {
		padding: 20px 0px;
		border-bottom: #ddd 1px solid;
	}
	
	.back-links > .btn, .back-links > span > .btn {
    margin-bottom: 1rem;
	}   
		
	.sort {
		padding-bottom: 1em;
	}
	
	.gj-icon {
    top: 5px!important;
	}

	.lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a {
		background-color: #c01!important;
	}	
		
	.lSSlideOuter .lSPager.lSpg > li a {
		background-color: #999!important;	
	}

	.unesco {
		max-height:150px;
	}
	
	img.unesco-coll {
		height:60px;
	}

/*Very small screens only*/
@media (max-width: 575.98px) { 
	.banner-img {
		min-height: 250px;
		max-height: 300px;
		max-width: none;
		left:-55%;
	}
	

}

/*Small screens only*/
@media (max-width: 767.98px) { 
	.banner-img {
		min-height: 300px;
		max-height: 400px;
		max-width: none;
		left:-65%;
		
	}

}

/*Tablet*/
@media only screen and (min-width : 768px) {
	.uc-nav {display: block;}
	.uc-mobile-nav {display: none;}
	
h1.welcome {
    margin-bottom: 20px;
    font-size: 4.0rem;
}
	/*
	.main-banner {
	  margin-left: 0px;
	  margin-right: 0px;
	} 
	*/
	.uc-header-wrapper {background: #cc0011; /*Older browsers*/background-color: #cc0011; height: 98px;}
	
	.uc-header .client.brand  {
	  background: url('/opac_canterbury/img/logo.png') 0px 5px/275px no-repeat;
	  /*Older browsers*/
	    background-image: url('/opac_canterbury/img/logo.png');
	    background-position: 0px 5px;
	    background-size: 400px;
	    background-repeat: no-repeat;
      width: 400px;
      height: 92px;
	  margin-top: 3px;
	  float: left;
	}

	.uc-header .uc.brand {
      background: url('/opac_canterbury/img/uc-logo.png') 10px 10px/100px no-repeat;
	  /*Older browsers*/
	    background-image: url('/opac_canterbury/img/uc-logo.png'));
	    background-position: 10px 10px;
	    background-size: 100px;
	    background-repeat: no-repeat;
      width: 120px;
      height: 92px;
	  float: right;
	}
	
	
/*	
	.carousel-item > img.img-fluid, .banner-img {
    width: 100%;
	}
	*/
	
.carousel_credit {
    position: absolute;
	top: unset;
	bottom: 1%;
    left: 1%;
    max-width: 35%;
	display:block;
	color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.6;
}


.collection-label {
	padding: .8rem;
	}
	
.collection-label h4 {
	font-size: 1.2rem;
	}
	
	
	
	.navbar-collapse {padding-left: 0px;}
	
	.thumbnail.right-caption img, .thumbnail.right-caption iframe {float: left; margin-right: 15px; margin-bottom: 15px;}
	.thumbnail.right-caption a img {float: left; margin-right: 15px; margin-bottom: 15px;}
	.thumbnail.left-caption img, .thumbnail.left-caption iframe {float: right; margin-left: 15px; margin-bottom: 15px;}
	.thumbnail.left-caption a img {float: right; margin-left: 15px; margin-bottom: 15px;}
	
	.ftd-slides {
		margin: 3rem;
	}
	
	.img-grid {
		height: 180px;
	}
	.grid-thumb {
		max-height: 170px;
	}
	
	img.unesco-coll {
		height:120px;
	}
	
}

/*Desktop*/
    @media only screen and (min-width : 992px) {
		
	h1.welcome {
		font-size: 5.0rem;
		margin-bottom: 30px;
	}

	.navbar.navbar-dark {
		min-height: 50px;
	}

	li.nav-item {
		padding: 0 12px;
	}

	div#featured-slides {
		margin-left: 4.0rem;
		margin-right: 4.0rem;
	}


	.carousel-control-prev.featured-control {
		margin-left: -9rem;
	}

	.carousel-control-next.featured-control {
		margin-right: -9rem;
	}

    .main-banner {
		  margin-left: 0px;
		  margin-right: 0px;
		}
		
	.video-wrapper iframe{
		  width: 560px;
		  height: 315px;
		}
	
	.carousel_credit {
		top: 1%;
		bottom: unset;
		left: unset;
		right: 30px;
		transform: rotateZ(270deg);
		transform-origin: right;
		max-width: 25%;
	}

	.text_overlay {
		font-size: 1.1rem;
		padding: .2rem!important;
	}			
	
	.ftd-slides {
		margin: 6rem;
	}
	
	img.ftd-img {
		padding-bottom: unset;
	}
	
	.img-grid {
		height: 200px;
	}
	.grid-thumb {
		max-height: 190px;
	}
	
	
}
		
	
/*Large Desktop*/
    @media only screen and (min-width : 1200px) {
	
	.container {
		width: 1170px;
	}	

	h1.welcome {
		font-size: 6.0rem;
	}

	.carousel-control-prev.featured-control {
		margin-left: -10rem;
	}

	.carousel-control-next.featured-control {
		margin-right: -10rem;
	}
	
	.carousel_credit {
    max-width: 28%;
}
	
    .main-banner {
		margin-left: 0px;
		margin-right: 0px;
	}
		
	.video-wrapper iframe{
		width: 560px;
		height: 315px;
	}

	.text_overlay {
	font-size: 1.2rem;
	padding: .5rem!important;
}	
	
}

/*Registration Form */

.required-fields {
	color:#c01;
}

/*Registration Form privacy panel*/

	#privacy {
        	background-color:#ffffff;
        	overflow:visible;
        	position:fixed;
        	left:0;
        	top:0;
        	text-align:center;
        	padding:15px;
        	font-size:18px;
        	border-bottom:2px solid #789;
        	width:100%;
        	display:none;
        	z-index:1000;
}


/*Registration Form validation checks*/

	#drawer, #drawer1 {
  		/*position: relative;*/
  
		/*display: -ms-flexbox;*/
  
		/*display: flex;*/
  
		/*-ms-flex-direction: column;*/

		/*flex-direction: column;*/
  
		min-width: 0;
  
		word-wrap: break-word;
  
		background-color: #fff;
  
		background-clip: border-box;
  
		border: 1px solid;
  
		border-color: #dc3545;
		border-radius: 0.25rem;
		display:none;
	}

/* Registration form test */
	
	 /* Mark input boxes that gets an error on validation: */
	 input.invalid {
	   background-color: #ffdddd;
	 }

	 /* Hide all steps by default: */
	 .tab {
	   display: none;
	 }

	 /* Make circles that indicate the steps of the form: */
	 .step {
	   height: 15px;
	   width: 15px;
	   margin: 0 2px;
	   background-color: #C01;
	   border: none;
	   border-radius: 50%;
	   display: inline-block;
	   opacity: 0.2;
	 }

	 /* Mark the active step: */
	 .step.active {
	   opacity: 1;
	 }

	 /* Mark the steps that are finished and valid: */
	 .step.finish {
	   background-color: #666;
	 }
	