* {
    font-family: "sans";
}

body > p {
    margin-left: 8em;
}

a img {
    border: 0;
}

form img {
    cursor: pointer;
    line-height: 16px;
    vertical-align: middle;
}

.paypal {
    margin-top: 1em;
    margin-left: 14em;
}

.gallery {
    margin-left: 8em;
    margin-right: 3em;
}

.gallery li {
    list-style: none;
    display: inline-block;
    margin: 1em;
}

.gallery li div {
    min-width: 112px; /* force it into neat columns */
}

.tn img {
    border: 1px solid black;
}

.tn-label form {
    display: inline;
    margin: 0;
}

.tn-label input[type=text] {
    height: 16px;
    width: 32px;
    line-height: 16px;
    font-size: 70%;
    border: 1px solid #AAA;
    margin: 0;
}

#back {
    padding: 0.3em;
    margin-right: 3em;
    float: right;
    border: 1px solid #DDD;
    background: #EEE;
}

#back a {
    text-decoration: none;
}

#latest-events .tn-label {
    max-width: 144px;
    text-align: center;
}

#basket-summary {
    font-size: 70%;
    line-height: 16px;
}

#basket-summary img {
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    border: 1px solid #9AE;
    margin-left: 8em;
}

#basket form { 
    display: inline;
}

#basket input {
    vertical-align: middle;
    position: relative;
}

#basket input[type=text] {
    border: 1px solid #AAA;
}

td, th {
    padding: 0.4em 0.7em;
    border: 1px solid #9BF;
}

th.e {
    background: #9BF;
}

th.o {
    background: #CCF;
}

td.e {
    background: #BDF;
}

td.o {
    background: #EEF;
}

td.t-e {
    background: #BDF;
}

#confirmation-details {
    margin-left: 8em;
}

#confirmation-details td.o {
    text-align: right;
    font-weight: bold;
}

#header {
    display: block;
    text-align: right;
}

#header img {
    float: left;
}

#header ul {
    list-style: none;
    margin-bottom: 0;
}

#footer {
    clear:both;
    text-align: center;
    font-size: 0.7em;
    color: gray;
    margin: 2em 12.5%;
}

#logout {
    font-size: 74%;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

tr.event-row form {
    display: inline;
}

tr.event-row form img.upload-gallery {
    cursor: pointer;
}
