/* Tauranga Musica 2013 (tgamusica.co.nz) */
/* Palette: #F7F1D7 to #EEE0A8 */

/* Element styles */

h1 {
	font-size: 22px;
}
h2 {
	font-size: 18px;
}
a {
	color:darkblue;
}
a.btn {
	text-decoration: none;
}
small {
	color:grey;
}
ul {
	padding-left:0;
}
li {
	padding-bottom:3px;
}
em {
	display:block;
	font-style:normal;
	color:#9C1A20;
	margin:1.0em 0;
}
hr {
	height:0;
	border:0;
	border-bottom: 1px solid #DDD;
}
.center-contents {
	display:block;
	text-align:center;
}
.strike {
	text-decoration:line-through;
}
.inline {
	display:inline;
}
.pdf-inline {
	display:inline-block;
	height:16px;
	width:16px;
	vertical-align: bottom;
	margin-right: 6px;
	
	background: white url('pdf16.gif') no-repeat 0 0;
}
.sponsor-inline {
	display: inline-block;
	line-height: 16px;
	vertical-align: bottom;
	margin-right: 6px;
}
.concert-past {
	background: red;
	color: white;
	font-weight: bold;
	padding:0.5px 3px;
	border-radius:4px;
}

/* Page structure */

html, body {
	margin: 0; padding: 0; border: 0;
	height:100%;
	width:100%;
	
	font-size:14px;

	/*font-family:Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

	font-weight:normal;
}
html {
	/* Always show scrollbar, to prevent horizontal jank when switching to page with short content */
	overflow-y: scroll;
}
#container {
	min-height:100%;
	
	display: flex;
	flex-direction: column;
}
#header {
	flex-shrink: 0;

	height:120px;
	width:100%;
	
	margin-bottom:20px;

	position:relative;
	
	/*
	background: #5b3c9b url('header.jpg?2022') repeat-x center center;
	background-size: 100% 100%;
	*/

	background: #272325;

	border-bottom:1px solid lightgrey; /* #af5555; */

	overflow: hidden;
}

#logo {
	margin-top: 10px;
	height:100%;
	background: transparent url('logo.png?2021') no-repeat center 0;
}

#gold_border {
	display:block;
	width:100%;
	height:4px;
	margin:0;
	background:linear-gradient(90deg, #e09205, #f8e045, #e09205);
	position: absolute;
	top:116px;
}

#tabs {
	text-align:center;
	border-bottom:1px solid lightgrey;
	padding:0 0 2px 0;
	margin-bottom:24px;
}
#tabs a {
	position:relative;
	z-index:2;
	
	padding:0 10px;
	font-size:16px;
	color:#9C1A20;
	text-decoration:none;
	
	background:#FFF; /* IE10 */
	
	-webkit-transition:color 0.3s, background-color 0.3s;
	   -moz-transition:color 0.3s, background-color 0.3s;
	     -o-transition:color 0.3s, background-color 0.3s;
	        transition:color 0.3s, background-color 0.3s;
}
#tabs a:hover {
	color:#F25523;
}
#tabs a:active {
	background:#FFF;
}
.tab-selected {
	border-bottom:3px solid #9C1A20;
}

#content {
	flex: 1 0 auto;

	max-width:800px;
	width: 100%;
	
	margin:0 auto;
	text-align:center;
}
#content-inner {
	padding: 0 5px;	
	text-align:left;
}

#footer {
	flex-shrink: 0;

	width:calc(100% - 30px);
	padding:15px;

	background:#F8F8F8;
	text-align:center;
}
#footer-content {
	margin: 0 auto;	
	max-width:800px;
}
#footer-message {
	max-width: 800px;
	margin: 0 auto;

	text-align: left;
	margin-bottom: 0.5em;
	float:left;
}
#footer-message a {
	font-size: 11px;
	text-decoration: none;
	color: #333;

	-webkit-transition:0.3s;
	   -moz-transition:0.3s;
	        transition:0.3s;
}
#footer-message a:hover {
	text-decoration: underline;
	color: black;
}
#footer-logos {
	float:right;
}

/* Sponsors */

.sponsor {
	position:relative;
	display:inline-block;
	zoom:1;
	
	background:#F8F8F8 url('sponsors.png?2') no-repeat 0 0;
	height:47px;
	
	opacity:0.5;

	margin: 0 8px;
	
	-webkit-transition:0.3s;
	   -moz-transition:0.3s;
	        transition:0.3s;
}
.sponsor:hover {
	opacity:1;
	
	/* Instant on; animate off */
	-webkit-transition:0s;
	   -moz-transition:0s;
	        transition:0s;
}

/* Links page */

.thumb {
	display:inline-block;

	width:64px;
	height:64px;
	background:#4f4f4f no-repeat 0 0;
}

.link1  { background:url('/res/thumbs.png') no-repeat 0 0; background-position: -256px     0; }
.link2  { background:url('/res/thumbs.png') no-repeat 0 0; background-position: -256px -64px; }
.link3  { background:url('/res/thumbs.png') no-repeat 0 0; background-position: -320px     0; }
.link4  { background:url('/res/thumbs.png') no-repeat 0 0; background-position: -320px -64px; }
.link5  { background:url('/res/thumbs.png') no-repeat 0 0; background-position: -384px     0; }

/* Concerts page */

.concert {
	display: inline-block;
	position: relative;
	margin: 8px;

	width: 320px;
	
	background: #404040;

	transition: 0.1s linear box-shadow;
}
.concert:hover {
	box-shadow: 0 0 4px black;
}
.concert-left {
	position:absolute;
	left:0;
	top:0;
	height:180px;
}
.concert-left .sponsor-area {
	background-color: white;
	padding: 4px;
	
	position: absolute;
	bottom: 4px;
	right: 4px;
}
.concert-left .sponsor-area .sponsor-inline {
	padding: 0;
	margin: 0;
}

.concert-right {
	color: #eee;

	line-height: 22px;
	text-align: left;
	padding: 188px 4px 8px 8px;
}
.concert-right a {
	color: white;
}

/* Forms used on Contact and Order pages */

.form-row {
	position:relative;
}
.form-row-left {
	position:absolute;
	left:0;
	top:0;
	width:100px;
	
	font-weight:bold;
	padding:8px 0;
}
.form-row-right {
	padding-left:100px;
	padding-right: 16px;
}
.form-row.wider .form-row-left {
	width:170px;
}
.form-row.wider .form-row-right {
	padding-left:170px;
}
.form-row-right .expand-width {
	max-width:100%;
	width:100%;
}
textarea.short-height {
	height:50px;
}
textarea.full-height {	
	height:100px;
}

/* Concert pages */

.concertbanner {
	display:block;
	width:100%;
	background:#404040;
	margin-bottom:1.0em;
	
	position:relative;
}
.concertbanner img {
	width:100%;
	background:black;
}
.concertbanner-body {
	padding:4px;
	color:white;
}
.concertbanner-body a {
	color:#DDD;
}
.concertbanner-body small {
	color: #BBB;
}

/* Sponsors page */

.sponsors-table td:first-child {
	padding-right: 14px;
}
.sponsors-table td:first-child div {
	margin: 0 auto;
}
.sponsors-table td {
	padding-bottom: 1em;
}

/* Small screens */

@media screen and (max-width: 600px) {
	#tabs a {
		padding:0 4px; /* reduce from 10px */
	}
	
	/* Footer: center content */

	#footer-message, #footer-logos {
		width: 100%;
		text-align: center;
	}	

}

@media screen and (max-width: 500px) {

	/* Core layout */

	ul {
		padding-left:20px;
	}
	
	#content-inner {
		width:auto !important;
	}
	
	/* Move tabs to block */
	
	#tabs {
		border:0;
	}
	#tabs a {
		display:block;
		padding: 4px;
	}
	#tabs a:hover {
		background:#F8F8F8;
	}
	.tab-selected {
		border:0;
		background:#9C1A20 !important;
		color:#EEE !important;
	}
	.tab-selected:hover {
		background:#F25523 !important;
		color:white !important;
	}
	
	/* Move form elements to block */
		
	.form-row {
		position:relative;
	}
	.form-row-left {
		position:relative !important;
		width:100%;
		
		/*font-weight:bold;*/
		padding:8px 0 !important;
	}
	.form-row-right {
		padding-left:0 !important;
	}
	.form-row-right .expand-width {
		width:auto !important;
	}
}

/* Print styles */

@media print {
	#header, #logo, #tabs, #footer {
		display:none;
	}
	#content {
		width:100% !important;
	}
	#content-inner {
		width:100% !important;
	}

	.concert-left {
		display:none;
	}
	.concert-right {
		padding-left:4px;
	}
}

/* ... */

.review {
	/*border:1px solid darkgrey;*/
	box-shadow: 0 2px 5px 1px #cecece;
	background:#F8F8F8;
	padding:1em;
}
.review em {
	display:inline;
}

.warning-box {
	box-shadow: 0 2px 5px 1px #cecece;
	background:#ffffe0; /* lightyellow */
	padding:1em;
}
.warning-box a {
	color: black;
	text-decoration: none;
	background: #ffffbd; /* subtle highlight */
}

/* Admin areas */

.admin-table {
	width: 100%;
}

.admin-table {
	border-collapse: collapse;
}

.admin-table th:last-child, .admin-table td:last-child {
	text-align: right;
}

.admin-table tbody tr:hover {
	background: lightyellow;
}