.navbar-inverse {
	background-color: #336699;
}



img {
	max-width:100%;
}
.plabel {
	display:inline-block;
	width:7em;
}


.bidreport img {
	max-width:300px;
}

.navbar-brand {
	
	margin-top:-20px;
	margin-left:-20px;
}

.navbar {
	margin-bottom:75px;
	position: sticky;
    top: 0;
    z-index: 9;
}
.hasbid {
	opacity:0.5;
}

.jumbotron {
	padding-left:0 !important;
	padding-right:0 !important;
	padding:0 !important;
}

.jumbotron img {
	max-width:100%;
	margin:0 auto;
	display:block;
}

button[type=submit].submitbid, .editdetails {
	width:25%;
	display:block;
	margin:0 auto;
}

.details {
	padding:2em;
	border:1px solid #aaa;
}

label.disabled {
    color: #aaa !important;
}

.slidedown {
	max-height:0;
	overflow:hidden;
	transition:all 0.3s ease;
}
.slidedown.active {
	height:auto;
	max-height:2500px;
}
.bidnote {
	width:100%;
	border-radius:5px;
	border:1px solid #aaa;
	padding:0.5em;
	margin-bottom:5px;
}

.event {
	border:1px solid #ccc;
	background:#eee;
	padding:1em;
	margin-bottom:1em;
}
.allbidswrap {
	display:flex;
	flex-wrap: wrap;
}
.event .bid {
	width:22%;
}
.event .bid, .event_info {
	border:1px solid #ccc;
	padding:1em;
	margin:1em;
	background:#fff;	
}

.btn-success {
    color: #fff;
    background-color: #336699;
    border-color: #003366;
	border-radius:none;
}

h1 {
	    /* color: #20538d!important;
    font-weight: bold!important;
    font-family: sans-serif !important;
    font-size: 2.9em!important; */
}

h1 button, h1 .btn {
	font-family:sans-serif, 'sans-serif';
}

.jumbotron {
	background-color:#FFFFFF!important;
	
}

.jumbotron p {
	margin-bottom:30px;
}

.datelabel {
	width:10em;
	display:inline-block;
}

.bid .img {
	max-width:400px;
}

/* 2023 */
#navbar {
	padding:1rem;
}
#navbar form {
	display:flex;
	gap:2rem;
	margin:0;
	justify-content: end;
}

.navbar {
	margin-bottom:0;
}

.form-group {
	position: relative;
	margin-top: 1rem;
}

p.help-block, .help-block {
	font-size:0.8rem;
	opacity:0.5;
}


label {
	position:relative !important;
	display:block;
	font-size:1rem !important;
	transform:none !important;
}

ul.nav.navbar-nav.navbar-right {
	display:flex;
	gap:2rem;
	justify-content: end;
}
ul.nav.navbar-nav.navbar-right a {
	color:white;
}

.table {
	margin-top:2rem;
	width:100%;
}

td,th {
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 0.5rem;
}
th {
	border-bottom:2px solid #aaa;
	font-size:1rem;
}

.pull-right {
	float:right;
}

.event {
	background:#fafafa;
	padding: 1em; 
    padding-bottom: 1em;
    margin-bottom: 4em;
	border:none;
    border-bottom: 2px solid #aaa;
}

.ignoreform button {
	font-size:0.7rem !important;
	color:#888;
	border-color:#888 !important;
	opacity:0.8;
}
.col-6 {
	width:50%;
}

h1, .is-1 {
	font-family:var(--sansserif) !important; /* no cursive in h1 pls */
	font-weight:bold !important;
}

.container-fluid {
    max-width: 1200px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}
.container-fluid p {
	margin:0;
}

@media screen and (max-width: 1024px) {
	.row {
		display:block !important;
	}
}
/* added when the planner moved into the main site */
.stafflogin {
	color: white;
	margin-left: 1em;
	font-size: 0.9em;
}
.logoutform {
	display: inline;
}
.linkbutton {
	background: none;
	border: 0;
	color: white;
	cursor: pointer;
	font: inherit;
	padding: 15px;
}
.plannerform .form_contain .field {
	margin-bottom: 1em;
}
.plannerform .help {
	font-size: 0.9em;
	color: #555;
}
.bidtable {
	border: 1px solid #ccc;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	width: 100%;
	table-layout: fixed;
}
.bidtable caption {
	font-size: 1.5em;
	margin: .5em 0 .75em;
}
.bidtable tr {
	background: #f8f8f8;
	border: 1px solid #ddd;
	padding: .35em;
}
.bidtable th,
.bidtable td {
	padding: .625em;
	text-align: center;
}
.bidtable th {
	font-size: .85em;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* keep the footer at the bottom of the window on short pages (eg thank you) -
   body is already min-height:100vh in the site css, main soaks up the spare height */
body.planner {
	display: flex;
	flex-direction: column;
}
body.planner > * {
	flex-shrink: 0;
}
body.planner > #planner_main {
	flex-grow: 1;
}

/* alba textareas size to their content, so empty ones collapse - give them room */
.plannerform textarea {
	width: 100%;
	min-height: 8em;
	box-sizing: border-box;
}

/* login bar on phones/tablets - collapsed to logo + 'Vendor sign in' until opened */
.mobilebar {
	display: none;
}
@media screen and (max-width: 1024px) {
	.mobilebar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.75rem 0;
	}
	.mobilebar_logo img {
		display: block;
		height: 2.5rem;
		width: auto;
	}
	.mobilelogin_toggle {
		background: white;
		color: #336699;
		border: 0;
		border-radius: 2em;
		padding: 0.6em 1.2em;
		font: inherit;
		font-weight: bold;
		cursor: pointer;
	}
	#loginbar .contain {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	#navbar {
		padding: 0 0 1rem;
	}
	#loginbar.loggedout #navbar {
		display: none;
	}
	#loginbar.loggedout.open #navbar {
		display: block;
	}
	#navbar form {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}
	#navbar .form-group {
		margin: 0;
	}
	#navbar .form-group input {
		width: 100%;
		box-sizing: border-box;
	}
	.stafflogin {
		margin-left: 0;
		text-align: center;
	}
	ul.nav.navbar-nav.navbar-right {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0.25rem 1.5rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	ul.nav.navbar-nav.navbar-right a,
	.linkbutton {
		display: inline-block;
		padding: 0.5em 0;
	}
}

/* logout is a POST form button - make it look like the links next to it, not a site button */
#loginbar .linkbutton {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: white !important;
	font: inherit !important;
	min-width: 0 !important;
	height: auto !important;
	line-height: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
	text-decoration: underline;
	cursor: pointer;
}
#loginbar ul.nav.navbar-nav.navbar-right {
	align-items: center;
}
#loginbar ul.nav.navbar-nav.navbar-right li {
	margin: 0;
}

/* page title with its buttons - buttons sit right on wide screens, wrap under the title on phones */
.pagehead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin-bottom: 1.5rem;
}
.pagehead h1 {
	margin-right: auto;
}
.pagehead_actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.pagehead_actions .btn {
	margin: 0;
}
