/* #6D8877 is salford color */ 

* {
	font-family: "VAG Rundschrift Light",sans-serif;
}

html {
	position: relative;
	min-height: 100%;
}
body {
	height: 100%;
	margin-bottom: 120px !important;
}

:focus {
	outline: 0 !important;
}

/* main wrapper */
#wrapper {
	min-height: 10;
	height: auto;
	margin: 0 auto -60px;
	padding: 0 0 60px;
}

/* Footer */
.footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 75px;
	background-color: white;
}
.footer > img {
	height: 60%; 
	margin-top: 1em;
	margin-right: 2em;
	float: right;
}
.footer > a {
	font-weight: bold;
	float: left;
	margin-left: 2em;
	display: block;
	margin-top: 1.5em;
}

/* loading message */
#loading-msg {
	text-align: center;
}

/* image slider */
.item > img {
	width: 100%;
	height: 100%;
}
.active > img {
	width: 100%;
	height: 100%;
}
.logo {
	position: absolute; 
	z-index: 100; 
	margin: 0px 0 -20px 2%;
	cursor: pointer;
}

.sliderbuffer {
	margin-top: 20px;
}
.navbar-form {
	border-color: #222 !important;
	border: 0;
	outline: 0;
}
.topnavbar {
	margin-bottom: 0px !important; 
	border-radius: 0px !important; 
	height: 120px !important;
	background-color: #222 !important; 
	border-color: #222 !important;
}
.btnnvabar {
	padding-left: 10% !important; 
	border-radius: 0px !important; 
	margin-bottom: 0px !important;
	
	min-height: 32px !important;
}
.btnnvabar > li > a {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

.nav-justified > li > a {
	color: #222;
	font-size: 14pt;
	outline: 0;
}
.nav-justified > li.active > a {
	color: grey;
}
.nav-justified > li > a:focus {
	background-color: inherit;
}

#input-grp {
	margin-top: 20px;
}
#top-search-bar-m, #top-search-btn-m {
	display: none;
}
#top-search-label {
	font-size: 16pt;
	vertical-align: bottom;
	margin-bottom: 2px;
	margin-right: 10px;
	color: #6D8877;
}

.top-navbar-title {
	margin-left: 10em;
	display: inline;
	float: left;
}
.top-navbar-title h1 {
	margin-bottom: 5px;
	color: #6D8877;
}
.top-navbar-title h3 {
	margin-top: 0;
	color: #6D8877;
}

.maincontent {
	padding-left: 0px !important;
	padding-right: 0px !important;
	outline: 0;
}
.maincontent:focus {
	outline: 0;
}

.fill { 
	min-height: 100% !important;
	height: 100% !important;
}
.boxtest {
	background-color: #000;
	height: 100px;
}

/* For the 'browse the collection page' */
#btcm-desc {
	word-wrap: break-word;
}
#collection-list-img-header {
    position: relative;
    width: 100%;
    overflow: hidden;
}
#collection-list-img-header > img {
    width: 100%;
    height: auto;
}
.collection-image {
	margin: 2em;
	padding: 0px;
	border: 1px solid #000;
	height: auto;
	width: 160px;
	float: left;
	text-align: left;
	background-color: black;
	overflow: hidden;
	max-height: 20em;
}
.collection-image img {
	display: inline;
	margin: 0px;
	border: 0px solid #000;
	width: 100%;
	/*height: 100%;*/
}
.collection-image img {
	border: 0px solid #000000;
}
.collection-image-desc {
	text-align: left;
	font-weight: normal;
	width: 80%;
	margin: 5px;
	color: white;
	background-color: black;
	font-weight: bold;
	font-size: 12pt;
}
.collection-image-desc-wrap {
	height: 5em;
}
.collection-image button {
	float: right; 
	margin-right: 2%;
	margin-bottom: 2%;
}
.collection-image-btn {
	border-color: black !important;
	background-color: black !important;
	float: right; 
	margin-right: 2%;
	margin-bottom: 2%;
}
#collection-btn {
	font-size: 20pt;
	padding: 0px;
	margin: 0px;
	color: #FFF;
}

/* Show more about the collection */
.collection-image-child {
	margin: 5px 2% 5% 5px;
	padding: 8px 0 8px 8px;
	border: 0px solid #000;
	height: 230px;
	width: 200px;
	float: left;
	text-align: left;
	background-color: white;
}	

.collection-image-child img {
	display: inline;
	margin: 0px;
	border: 4px solid grey;
	width: 100%;
	cursor: pointer;
}
.collection-image-child-desc {
	text-align: left;
	font-weight: normal;
	width: auto;
	margin: 1px;
	color: grey;
	background-color: white;
	font-size: 10pt;
	border: 2px solid white;
	max-height: 3em;
}
.collection-image-child-desc-head {
	text-align: left;
	font-weight: normal;
	font-size: 12pt;
	color: black;
}

/* Advance search styling */
#adv-body {
	padding: 2em;
	border: 4px solid grey;
	height: auto !important;
}
#adv-body > .holder > .table > .row {
	margin-left: 0;
	margin-right: 0;
}
#adv-body > form { display: table; width: 100%; }
#adv-body > form > p { display: table-row; width: inherit; }

#adv-body > #adv-slider-section > div.slider-holder { margin: 0 20%; }
#adv-body > #adv-slider-section > div.slider-holder > div.slider-over {
	position: absolute;
	z-index: 100;
} 
#adv-body > #adv-slider-section > div.slider-title { 
	width: 100%; 
	margin: 1% auto 1% auto; 
	text-align: center;
	font-weight: bold;
}
#adv-body > #adv-slider-section > div.slider-title > input {
	margin: 0 2%;
	vertical-align: -1.5px;
}

#adv-body > div.spacer2 { 
	width: inherit; 
	height: 50px;
}
#adv-body > form > div.spacer { 
	width: inherit; 
	height: 10px;
}
#adv-body > form > p > test-div { 
	display: table-cell;
	width: 50%; 
	margin-left: 1em; 
}
#adv-body > form > p > label { 
	display: table-cell; 
	text-align: right; 
	width: 30%; 
}
#adv-body > form > p > input { 
	display: table-cell; 
	width: 65%;
	margin-left: 1em;
	border: none;
	background-color: lightgray;
}
#adv-body > form > clearFix {
	clear: both;
}
#adv-body > ul { 
	width: 100%;
	list-style-type: none;
}
#adv-body > ul > li { 
	float: left; 
	padding: 10px;
}
#adv-body > .adv-btn-wrapper {
	margin: 0 auto;
	width: 100%;
	text-align: center;
	margin-top: 3em;
	font-weight: bold;
}
.adv-btn-wrapper > button {
	margin: 0 auto;
	width: 25%;
}
#adv-clear-search-a {
	display: block;	
}

/* Record styling */
#rec-inner-body h1 {
	margin: 1% 0;
	font-weight: normal;
	display: inline;
}
#rec-inner-body a {
	margin-left: .2em;
}
#rec-inner-body #rec-more-detail {
	background-color: lightgray;
	padding: 1%;
	font-size: 14pt;
	width: 10em;
}
#rec-more-detail {
	cursor: pointer;
}
#rec-inner-body i {
	float: right;
	margin-right: 2%;
	margin-top: 1%;
}
#rec-title-div a h1 {
	display: inline;
}
#rec-title-div a {
	margin: 0 2px;
	float: right;
	margin-left: 2px;
	margin-right: 2px;
	margin-top: 1em;
}
#rec-title-div img {
	width: 24px;
	height: 24px;
}
#rec-more-detail-cont {
	border: 4px solid lightgray;
	padding: 4px 4px 4px 8px;
	font-weight: bold;
}
#rec-desc {
	margin-left: 2px;
	margin-top: 1em;
	font-weight: bold;
}

#rec-next, #rec-prev {
	position: absolute;
	z-index: 1;
	width: 2em;
	font-size: 40pt;
	opacity: 0.2;
	cursor: pointer;
}
#rec-next {
	right: 0px;
}
#rec-next span {
	float: right;
	top: 50%;
}
#rec-prev span {
	float: left;
	top: 50%;
}


#rec-inner-body {
	width: 100%;
}
#rec-share-inputbox {
	margin-left: .25em;
	margin-top: .25em;
	width: 95%;
}
#rec-body-div {
	margin-right: auto;
	margin-left: auto;
	margin-top: 1%;
	width: 100%;
}
#rec-heading-div h2 {
	margin: 0 auto;
}
#rec-back-to-search {
	margin: 0 auto;
	width: 100%;
}
#rec-heading-div {
	margin: 0 auto;
	width: 100%;
}

#rec-img-container {
	margin: 0px auto;
	background-color: #D3D3D3;
	height: 500px;
	width: 100%;
	position: relative;
}
#rec-img {
	width: auto;
	height: 100%;
	margin: 0 auto;
	display: block;
	position: relative;
}
#rec-title-div {
	margin-bottom: 1em;
}

#rec-comm-div {
	float: right;
}
#rec-comm-div-nest {
	position: absolute;
	width: 30%;
	height: 25%;
	background-color: #222; 
}
#rec-comm-anc {
	cursor: pointer;
}
.rec-comm-input-p {
	margin-top: 1em;
	margin-left: 1em;
}
.rec-comm-title-p {
	margin-top: 8px;
	margin-left: 10px;
	color: #6D8877;
	font-size: 12pt;
}
.rec-comm-input-txt {
	float: right;
	margin-right: 3em;
	width: 70%;
}
.rec-comm-lbl {
	margin-right: 1em;
	color: #6D8877;
}
#rec-comm-body-lbl {
	vertical-align: top;
}
#rec-comm-body-textarea {
	width: 70%;
	resize: none;
	float: right;
	margin-right: 3em;
}
#rec-comm-submit-btn {
	bottom: 0px;
	position: absolute;
	right: 0px;
	margin-right: 3em;
	margin-bottom: 1em;
}
#rec-comm-error-p {
	bottom: 0px;
	position: absolute;
	margin-left: 2em;
	margin-bottom: 1em;
	color: red;
}

.rec-img-w-overflow
{
	width: 100% !important;
	height: auto !important;
}
.rec-img-h-overflow
{
	width: auto !important;
	height: 100% !important;
}

/* Remove mobile loading text */
.ui-loading .ui-loader { display: block; }
.ui-loader { display: none; position: absolute; opacity: .85; z-index: 100; left: 50%; width: 200px; margin-left: -130px; margin-top: -35px; padding: 10px 30px; }

/* Slider */
table.date-range {
	width: 90%;
}

/* About */
.about-br {
	margin: 1em 0;
}
.about-desc-p {
	font-weight: bold;
}

@media only screen and (max-width: 768px)
{
	.top-navbar-title {
		margin-left: 8em;
	}
	.top-navbar-title h1 {
		font-size: 20pt;
	}
	.top-navbar-title h3 {
		font-size: 12pt;
	}
	/*#top-search-label {
		font-size: 10pt;
	}*/
	.navbar-search {
		margin-right: -40px;
	}
}

@media only screen and (min-width: 2560px), screen and (min-height: 1600px)
{
	h1 {
		/*font-size: 66pt;*/
		font-size: 62pt;
	}
	h2 {
		font-size: 40pt;
	}
	h3 {
		/*font-size: 34pt;*/
		font-size: 32pt;
	}
	p {
		font-size: 20pt;	
	}
	.navbar {
		height: 100% !important;
	}
	.logo {
		width: 10em;
	}
	.top-navbar-title {
		margin-left: 15em;
		margin-bottom: 3em;
	}
	.top-navbar-title h1 {
		font-size: 62pt;
	}
	.top-navbar-title h3 {
		font-size: 32pt;
	}
	.nav-justified > li > a {
		font-size: 26pt;
	}
	#top-search-label {
		font-size: 26pt;
	}
	#input-grp {
    	margin-top: 60px;
		width: 30em;
		height: 5em;
	}
	#top-search-bar {
		height: 80px;
		width: 100%;
		font-size: 30pt;
	}
	#top-search-btn {
		display: block;
		padding: 2px 10px;
		height: 80px;
		width: 80px;
		font-size: 20pt;
	}
	#top-search-btn-grp {
		display: inline;
	}
	#carousel-about-cont-div
	, #search-result-body
	, #rec-body {
		/*width: 1920px;*/
		width: 100%;
	}
	.slider-title
	, .adv-btn-wrapper {
		font-size: 20pt;
	}
	input[type=checkbox]
	{
		/* Double-sized Checkboxes */
		-ms-transform: scale(2); /* IE */
		-moz-transform: scale(2); /* FF */
		-webkit-transform: scale(2); /* Safari and Chrome */
		-o-transform: scale(2); /* Opera */
		padding: 10px;
	}
	.collection-image-child {
		width: 370px;
		height: 300px;
		margin-right: 2px;
		float: left;
		margin-bottom: 8%;
	}
	.collection-image-child img {
		width: 70%;
	}
	.collection-image-child-desc-head {
		font-size: 22pt;
	}
	.collection-image-child-desc {
		font-size: 20pt;
	}
	#rec-title-div a {
		margin-top: 2em;
	}
	#rec-title-div img {
		width: 48px;
		height: 48px;
	}
	#rec-inner-body
	, #rec-more-detail
	, #rec-more-detail > span
	, #rec-body-div {
		font-size: 20pt !important;
	}
	.footer {
		height: 150px;
	}
	.footer > a {
		font-size: 28pt;
		margin-top: 0.5em;
	}
}

@media only screen and (min-width: 760px)
{
	#btn-nav-bar-cont {
		width: auto;
	}
}

@media only screen and (max-width: 760px)
{
	.footer > a {
		margin-left: 6px;
		margin-top: 0;
		font-size: 9pt;
	}
	#top-search-label {
		display: none;
	}
	.top-navbar-title {
		margin-left: 8em;
		display: inline;
		float: left;
	}
	.top-navbar-title h1 {
		margin-bottom: 5px;
		color: #6D8877;
		font-size: 28pt;
	}
	.top-navbar-title h3 {
		margin-top: 0;
		margin-left: 1px;
		color: #6D8877;
		font-size: 14pt;
	}
	.navbar-form {
		margin-top: 0;
	}
	#btn-nav-bar-nav {
		padding-left: 0 !important;
	}
	#btn-nav-bar-cont {
		overflow-x: scroll;
		padding-right: 1px;
		padding-left: 1px;
		margin-top: 2em;
	}
	#btn-nav-bar {
		overflow-x: scroll;
		width: auto;
		white-space: nowrap;
	}
	#btn-nav-bar > li {
		display: inline-block;
		margin-left: 2em;
	}
	#btn-nav-bar > li > a {
		display: inline-block;
	}
	#input-grp {
		width: 30%;
    	float: right;
	}
	.collection-image-child
	{
		margin-top: 20%;
	}
	#rec-comm-div-nest {
		width: 90%;
		height: 30%;
	}
	.rec-comm-input-txt {
		margin-right: 1em;
	}
	#rec-comm-body-textarea {
		margin-right: 1em;
	}
}

@media only screen and (max-width: 599px)
{
	.input-group-btn {
		float: left; /* TODO need to check all res */
	}
	.top-navbar-title {
		margin-left: 7em;
	}
	.top-navbar-title h1 {
		margin-bottom: 5px;
		color: #6D8877;
		font-size: 20pt;
	}
	.top-navbar-title h3 {
		margin-top: 0;
		margin-left: 1px;
		color: #6D8877;
		font-size: 12pt;
	}
	#top-search-bar {
		display: block;
		float: left;
		margin-left: 7.25em;
		height: 26px;
		width: 70%;
	}
	#btn-nav-bar-nav {
		padding-left: 0 !important;
	}
	#btn-nav-bar-cont {
		overflow-x: scroll;
		padding-right: 1px;
		padding-left: 1px;
		margin-top: 2em;
	}
	#btn-nav-bar {
		overflow-x: scroll;
		width: auto;
		white-space: nowrap;
	}
	#btn-nav-bar > li {
		display: inline-block;
		margin-left: 0;
	}
	#btn-nav-bar > li > a {
		display: inline-block;
	}
	.collection-image-child {
		width: 100%;
		height: 300px;
	}
	.collection-image-child img {
		width: 60%;
	}
	#rec-heading-div {
		margin: 0 auto;
		width: auto;
	}
	#rec-img-container {
		width: 100%;
		height: 25em;
		overflow: hidden;
	}
	#rec-img {
		height: auto;
		width: 100%;
	}
	#rec-body-div, #rec-back-to-search {
    	width: 100% !important;
	}
	#top-search-btn {
		display: block;
		padding: 2px 10px;
		height: 26px;
	}
	#top-search-btn-grp {
		display: inline;
	}
	#navbar-search-m {
		border-color: #000 !important;
	}
	#input-grp {
		display: block;
		width: auto;
		float: none;
	}
	.footer {
		height: 65px;
	}
	#rec-inner-body h1 {
		display: block;
	}
	#rec-title-div a {
		margin-bottom: 1em;
	}
}

@media only screen and (max-width: 450px) and (min-width: 385px) {
	.top-navbar-title h1 {
		font-size: 30pt;
		margin-top: 8px;
	}
	.top-navbar-title h3 {
		font-size: 14pt;
	}
	#top-search-bar {
		width: 60%;
	}
}
@media only screen and (max-width: 385px) and (min-width: 355px) {

	.top-navbar-title h1 {
		font-size: 25pt;
	}
	.top-navbar-title h3 {
		font-size: 12pt;
	}
	#top-search-bar {
		width: 57%;
	}
}
@media only screen and (max-width: 355px)
{
	.top-navbar-title h1 {
		font-size: 22pt;
	}
	.top-navbar-title h3 {
		font-size: 10pt;
	}
	#top-search-bar {
		width: 50%;
	}
}