body {
  background: #F0F0F4 url("images/tangle4.gif");
  margin: 12px auto 18px auto;
  max-width: 47em;
  /* -webkit-box-shadow: 0px 4px 6px #BBD; */
}

body.admin {
  border-top-color: #800040;
}

img.e {
   margin: 0;
   vertical-align:baseline;
   position:relative;
   top:4px;
}

img {
  margin: 3px 10px;
  border: 0;
}

td img {
  margin: 1px !important;
}

#map_canvas {
  border: 1px solid #666680;
  width: auto;
  height: 400px;
}
.single_map#map_canvas {
  width:325px;
  height:250px; 
  float:right;
}

.youtube_selection {
  background: #eeeef4;
  padding-bottom: 20px
}

/* Fills out the white line to infinity.*/
.bannerback {
  position: relative;
  margin: 0;
  padding: 0;
  border-top: 8px solid #666680;
  background: #CCE url("images/banner-large-sm6b-fill.gif") repeat-x scroll 0 0px;
  border-bottom: 1px solid #666680;
}

.banner {
  margin: 0;
  padding: 71px 0 0 6px;
  height: 31px;
  background: url("images/banner-large-sm6b.gif") no-repeat scroll 0px 0px;
}

.bannerback img {
  margin: 0;
  vertical-align: text-top;
}

.navbar {
  margin-left: 150px; 
}
.navbar a {
  font-family: 'Optima', 'CG Omega', 'Zapf Humanist', serif;
  color: #224;
  padding: 0 11px 0 11px;
}
.navbar a:link    { color: #224; }
.navbar a:visited { color: #224; }
.navbar a +a {
  border-left: 1px solid white;
  margin-left: -1px;
}

a.navlink {
  display: inline;
  margin: 0 0 0 0;
  width: 0;
  padding-left: 11px !important;
  background-position: 11px 0;
  background-repeat:no-repeat;
  text-decoration: none;
}
a.navlink#Home {
  padding-right: 53px;  /* width + 12 */
  background-image:url(/images/Home.gif); 
}
a.navlink#RingingLocations {
  padding-right: 150px;
  background-image:url(/images/RingingLocations6.gif); 
}
a.navlink#Calendar {
  padding-right: 84px;
  background-image:url(/images/Calendar.gif); 
}
a.navlink#Store {
  padding-right: 55px;
  background-image:url(/images/Store2.gif); 
}
a.navlink#ContactUs {
  padding-right: 99px;
  background-image:url(/images/ContactUs2.gif); 
}
a.navlink .for_ie {
  display: none;
}
a.home_icon {
  display: none;
}

.navbox, .navbox a:link, .navbox a:visited { 
  color: #224; 
}
.navbox {
  position: absolute;
  right: 3px;
  top: 2px;
  font-size: small;
  max-width: 400px;
  display: block;
}
.navbox .jumpto {
  padding-right: 0.5em;
  float:left;
  height: 9ex;
}

a:link    { color: #04B; }
a:visited { color: #40B; }
a:active  { color: #B04; }
a:hover   { color: #B04; }

.main {
  position: relative; /* For navbox positioning */
  margin: 0;
  padding: 1px 20px 15px 20px;
  line-height: 1.3;
  background: white;
  border-bottom: 8px solid #666680;
  min-height:400px;
}
body.admin .main {
  border-bottom-color: #800040;
}

.commentsmain {
  margin: 23px 13px 0 13px;
  padding: 1px 20px 15px 20px;
  line-height: 1.3;
  background: white;
  border: 8px solid #666680;
}
.comment {
  border-left: 4px solid #666680;
  padding-left: 6px;
}
.comment +.comment {
  margin-top: 4ex;
}
.comment h3 {
  color: #666680;
  border-left: 6px solid #666680;
  margin-top: 0;
  margin-left: -6px;
  margin-bottom: 0.5ex;
  padding-left: 8px;
}
.comment .commentdate {
  margin-left: 1em;
  font-weight: normal;
  font-size: small;
}
.commentsmain h2 {
  margin-top: 6px;
  margin-left: -7px;
}
.commentsmain textarea {
  margin: 3px 1px;
}


.main , .banner {
  border-left: 10px solid #666680;
  border-right: 10px solid #666680;
}
body.admin .main, body.admin .banner {
  border-left-color: #800040;
  border-right-color: #800040;
}

.login {
  float:right; 
  text-align: right;
  padding: 6px 18px 12px 12px; 
  color: #224;
  font-size: small;
}
.login a {
  color: #224;
}
.login .item +.item {
  margin-left: 0.5em;
  padding-left: 0.5em;
  border-left: 1px solid white;
}

.inthisissue {
  font-weight: bold;
  margin-bottom: 0;
}
.inthisissue +* {
  margin-top: 0;
}

.adminwarning {
  float:right; 
  padding: 6px 12px 12px 12px; 
  background:#800040;
  color: white;
}
.adminwarning a {
  color:white;
}

.adminedit {
  float:right;
  position: relative;
  right: -15px;
  color:white; 
  background: #800040; 
  padding: 5px 10px;
  font-size:medium;
  font-weight:normal;
}
.adminedit a {
  color:white;
}

.adminedit3 {
  float:right;
  border: 1px dotted black;
  background: #FFF4FA; 
  margin-right: 8px;
  margin-left: 10px;
}
.record.odd .adminedit3 {
 background: #F4E8F0;
}
.adminedit3center {
  border: 1px dotted black;
  background: #FFF8FC;
  margin: 0 auto;
  display: table;
}
.contribedit3 {
  float:right;
  border: 1px dotted black;
  background: #F6F6FF; 
  margin-right: 8px;
  margin-left: 10px;
  display: table;
}
.contribedit3.top, adminedit3.top {
  margin-top: 10px;
}
.contribedit3.upperright, .adminedit3.upperright {
  position: absolute;
  right: 10px;
  top: 10px;
}

.record.odd .contribedit3 {
 background: #E4E4F0;
}
.contribedit3center {
  border: 1px dotted black;
  background: #F6F6FF;
  margin: 0 auto;
  display: table;
}
.adminedit2 {
  border-left: 4px solid #800040;
  padding: 5px 11px;
  font-size:medium;
  font-weight:normal;
}
.contribedit2 {
  border-left: 4px solid #666680;
  padding: 5px 11px;
  font-size:medium;
  font-weight:normal;
}
.contribedit3center .contribedit2 {
  border-right: 4px solid #666680;
  padding: 5px 11px;
}
.adminedit2 a, a.adminedit4 {
  color:#800040 !important;
}
.contribedit2 a {
  color:#224;
}

.admincomment, .contribcomment {
  color:#800040;
}

.date {
  text-align: right;
  font-size: small;
}

h1.supertitle {
  margin-bottom: 0;
}
h2.subtitle { 
  margin-top: 0.5ex;
}

h1, h2, h3 {
  color: #224;
}

h4 {  /* Will be overridden by anything with a class. */
  margin:0;
  padding:0;
  font-weight:inherit;
  font-size:inherit;
}
h4.inline {
  display: inline;
}

.headerbox {
  /*margin: -18px -16px 0 -16px;*/
  margin: 0 0 4.5ex 0;
  color: #224;
}
.headerbox.narrow h1 {
  margin-right: 185px;
}
.headerbox h1 {
  padding-bottom: 6px;
  margin: 8px 40px 8px -20px;
  padding: 0 20px 3px 7px;
  display: table;
  width: auto;
  border-bottom: 1px dotted #666680;
}
.headerbox h2 {
  padding: 0;
  margin: 0 70px 0 0;
  border: 0;
}
.headerbox .author {
  margin: 1ex 0 0 0ex;
}

.commentsmain h2 {
  border-bottom: 1px dotted #666680;
  margin-top: 10px;
  margin-left: -20px;
  padding: 0px 18px 3px 10px;
  display: table;	      
}

h2 { /* only if not headerbox, which overrides these */
  border-bottom: 1px dotted #666680;
  margin-top: 30px;
  margin-left: -20px;
  margin-bottom: 1.3ex;
  padding-left: 11px;
  padding-right: 10px;
  display: table;
}

.headerbox +h2, .headerbox +.adminedit +h2 {
  margin-top: 0;
}

h3 {
  margin-top: 3ex;
  margin-bottom: 1.5ex;
}
h3 +p, h3 +.p {
  margin-top: 1.5ex;
}

.highlight, .highlightc, .indent {
  padding: 1ex 2em; 
  margin-left: 1em;
  margin-right: 1em;
}
p.highlight +p.highlight, 
p.highlightc +p.highlightc, 
p.indent +p.indent { /* Fixes <p> padding between highlights */
  margin-top: -4ex;
  padding-top: 3ex;
  z-index: -1;
}
.highlightc, .highlightc p {
  text-align: center;
}
.highlight, .highlightc {
  background: #fcdddd;
}

img.left, .imgbox.left {
  float: left;
  margin-left:0;
}
img.right, .imgbox.right {
  float: right;
  margin-right:0;
}


table {
  border-collapse:collapse;
}
td {
  padding: 4px;
}

.author {
  font-style: italic;
}
.spaced {
  padding-left: 0.8em;
}

.dateline {
  text-align: right;
  font-size: small;
}

pre {
  font-family: monospace;
  padding-left: 1em;
  padding-right: 1em;
  margin-bottom: 0;
}
pre +pre {
  margin-top: 0;
}

/*hr {
  border: 0px solid black;
  width: 85%;
  margin-top: 4.5ex;
  margin-bottom: 4ex;
  display: block;
}*/

hr, hr.solid {
  border: 1px solid black;
  margin-top: 3ex;
  margin-bottom: 1ex;
}

hr.full {
  border: 2px solid #666680;
  width: 100%;
  margin-top: 3ex;
  margin-bottom: 3ex;
}

h2 +p, h2 +.p {
  margin-top: 0;
}

.nav_bottom {
  margin: 8ex 0 -8px 0;
}

.nomargin +p, .nomargin +.p {
 margin-top: 0;
}

p, .p {
 text-align: justify;
}


/* Hacky hacky hacks for <noscript> inside <p>, since safari implicitly
   closes <p> but not <div>. */
.p {
  display: block;
  margin: 1em 0px;
}

.p p {
  display:inline;
  margin: 0 !important;
}

h2 +.blurb +.p {
  margin-top: -1ex;
}
.blurb p, .blurb .p {
  margin-top: 1ex;
  margin-bottom: 1ex;
}

/* For tower list pages */
.status_inactive {
  color: #602;
  font-weight: bold;
}
.distance {
  color: #555;
  font-weight: bold;
}
.seealso {
  margin-left: 3em;
  font-style: italic;
}
.moreinfo {
  font-style: italic;
}

.practice_time {
  margin-left: 1.5em;
  text-indent: -1.5em;
}

/* Record stuff. */
.record {
  padding-left: 105px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-right: 2px;
  position: relative;
  background: #f4aaaa;
}
.record.even, tr.even {
  background: #ffffff;
}
.record.odd, tr.odd {
  background: #eeeef4;
}

.record p, .record ul, .record .blurb {
  margin-top: 1ex;
  margin-bottom: 1ex;
}

.record .price {
  margin-top: 1.1ex;
}

.main#pr .record, .main#education .record, .main#library .record  {
  padding-left: 135px;
  height: 145px;
}

.main#pr .author, .main#education .author, main#library .author  {
  font-style: italic;
  margin-bottom: 1ex;
}

.main#clapper .record {
  padding-left: 135px;
  min-height: 130px;
}

.large_clapper .big_thumb {
  width: 348px;
}

/*.record.neither {
  background: #f4aaaa;
}*/
img.thumb {
  border: 1px #777 solid;
  position: absolute;
  left: 3px;
  top: 11px;  
}
.video_highlight img.thumb {
  border: 1px #AAA solid;
}

.header {
  font-weight: bold;
}

.select_year .year {
  padding-right: 0.3em;
}
.select_year .year +.year {
  border-left: 1px solid black;
  padding-left: 0.3em;
}

.relatedalbums {
  margin: 23px 13px 0 13px;
  padding: 1px 9px 15px 9px;
  line-height: 1.3;
  background: white;
  border: 8px solid #666680;
}
.relatedalbums h2 {
  margin-top: 6px;
  margin-left: -7px;
}

.album_date {
  color: #444466;
}

.album_outer {
  margin: -8px 0 3px -5px;
}
.album_header {
  margin-bottom:1px; margin-left: 5px;
}

.contact_details {
  border: 1px dotted #666680;
  width: 100%;
}
.contact_details h3 {
  margin: 0 0 0 3px;
}
.contact_details td.contact_column {
  padding: 5px 5px 8px 20px;
  vertical-align: top;
}
.address, .telephone_email, .membership_info {
  margin-top: 4px;
}
.zipcode {
  margin-left: 0.5em;
}
.td_old, .td_new {
  vertical-align: top;
}
.diff_star_explanation {
  margin-top: 4px;
  font-size: small;
  text-align: right;
  padding: 2px 7px 2px 2px !important;
}
.hidden_field_explanation {
  margin-top: 4px;
  font-size: small;
  padding: 2px 7px 2px 7px !important;
  font-style: italic;
}
.diff_star {
  color: #800040;
  margin-left: 2px;
}
.profile {
  margin: 1ex 0px 8ex 0px;
  color: #000;
}
.profile .template_value {
  color: #000;
  font-weight: 500;
}

.editpreview td.contact_column, .record td.contact_column {
  display: block;
  padding: 5px 10px 5px 10px;
}

.process.loginbox {
  width: 27em;
  margin: 100px auto 0px auto;
}

.record .perf_dateline {
  margin-left: -2em;
}

.performance { 
  line-height: 1.3;
}
.perf_guild {
  font-variant: small-caps;
  margin-bottom: 1.8ex;
}
.perf_unverified {
  font-size: smaller;
  font-variant: normal;
  color: #444466;  
  padding-left: 1em;
}
.perf_loc {
  font-weight: bolder;
}
.perf_date {
  font-style: italic;
}
.perf_meth {
  font-weight: bolder;
  font-size: larger;
  margin-top: 0.6ex;
}
.perf_details {
  !white-space: pre;
}
.perf_composer {
}
.perf_band {
  margin-left: 0.4em;
}
.perf_bells {
  text-align: right;
}
.perf_ringer {
  text-align: left;
  padding-left: 0.6em;
}
.perf_foot {
  !white-space: pre;
  margin-top: 1ex;
}
.perf_submit {
  font-size: smaller;
  font-weight: lighter;
  font-style: italic;
  margin-top: 4ex;
}
hr.perf_separator {
  margin-top: 4ex;
  margin-bottom: 3ex;
}
.perf_box {
  margin: 0 auto;
  width: 27em;
  display: table;
}