@media only screen, handheld {

h4 {
  margin:0;
  padding:0;
  font-weight:inherit;
  font-size:inherit;
}
h4.inline {
  display: inline;
}


.main {
  position: relative;
}

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

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



td img {
  margin: 1px !important;
}

body {
margin: 0;
}

.banner {
  margin: 0;
  height: 50px;
  background: url("images/banner-mobile50.png") no-repeat scroll 0px 0px;
  border-top: 1px solid #BBBBD0;
  border-bottom: 1px solid #BBBBD0;
}
.bannerback {
  background: #C4C4E6 url("images/banner-mobile50g.png") repeat-x 0px 1px;
}

.bannerback .login {
  visibility: visible !important;
  float: right;
  text-align: right;
  padding: 6px 6px 5px 0px; 
  color: #224;
  font-size: small;
}
.bannerback img {
  display: none;
}
.login a {
  color: #224;
}
a.home_icon {
  display:block;
  float:left;
  border:0;
  width:55px;
  height:50px;
}
.login .item +.item {
  margin-left: 0.5em;
  padding-left: 0.5em;
  border-left: 1px solid white;
}
.login .item#settings { /*, .login #administrator_mode_link {*/
  display: none;
}

.login #administrator_mode_link {
  margin-top: 12px;
}

a.navlink .for_ie {
  display: none;
}

.navbox {
  border: 1px dotted #666680;
  padding: 0 6px;
  max-width: 80%;
  margin: 25px auto -5px auto;
}
.navbox .jumpto {
  display: none;
}

.select_float {
  float:right;
}
.select_year {
  border: 1px dotted #666680;  
  float: right;
  padding: 6px;
}
.select_year .year, .navbox .jump_link {
  margin: 0 -6px;
  padding: 6px 0.3em;
  text-align: center;
  display: block;
}
.select_year .year {
  border-top: 1px dotted #666680;  
}
.navbox .separator {
  display: none;
}
.navbox .jump_link +.jump_link, .navbox .separator +.jump_link {
  border-top: 1px dotted #666680;  
}



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


.main {
  margin: 10px;
}

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



.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;
}
.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;
  max-width: 30%;
}
.select_float .contribedit3 {
  float: none;
  max-width: 100%;
  margin: 0 0 6px 0;
}
.record .contribedit3 {
  margin-right: 0px;
}
.contribedit3.top, adminedit3.top {
  margin-top: 10px;
}
.contribedit3.upperright, .adminedit3.upperright {
  position: absolute;
  right: 10px;
  top: 10px;
}

.odd .contribedit3 {
 background: #E4E4F0;
}
.contribedit3center {
  border: 1px dotted black;
  background: #F6F6FF;
  margin: 0 auto;
  display: table;
}
.adminedit2 {
  border-left: 4px solid #800040; 666680;
  padding: 5px 11px;
  font-size:small;
  font-weight:normal;
}
.contribedit2 {
  border-left: 4px solid #666680;
  padding: 5px 11px;
  font-size:small;
  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;
}

.hideable.headerbox h1, .hideable.headerbox h2 {
  display: none;
}
.hideable.headerbox {
  margin: 0;
}
h1 {
  margin-top: 0;
}
.headerbox h1 {
  margin-bottom: 0;
}
.headerbox h2 { 
  margin-top: 0.8ex;
  margin-left: 7px;
  border: 0;
}
.headerbox .author {
  margin-left: 7px;
}

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

.headerbox {
  color: #224;
  margin-left: -9px;
  margin-bottom: 4.5ex;
}
/*.headerbox.narrow h1 {
  margin-right: 185px;
}*/
.headerbox h1 {
  padding-bottom: 6px;
  padding-left: 3px;
  display: table;
  width: auto;
  border-bottom: 1px dotted #666680;
}
.headerbox .author {
  margin: 0ex 0 0 18px;
}

.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 1em; 
  margin-left: 0.5em;
  margin-right: 0.5em;
}
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;
  max-width: 140px;
}
img.right, .imgbox.right {
  float: right;
  margin-right:0;
  max-width: 150px;
}
img.center {
  max-width: 280px;
}
object, embed {
  max-width: 280px;
  max-height: 200px;
}


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


.author {
  font-style: italic;
}

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

.news_update {
  padding-left: 2ex;
}
.news_update .label {
  font-size: smaller;
}

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: left;
}


/* 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;
}
.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, .video_highlight.even {
  background: #ffffff;
}
.record.odd, tr.odd, .video_highlight.odd {
  background: #eeeef4;
}

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

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

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

.header {
  font-weight: bold;
}

h1 {
  font-size: x-large;
}

h3, h2 {
  font-size: large;
}

.relatedalbums {
  margin: 23px 5px 10px 5px;
  padding: 5px 10px;
  line-height: 1.3;
  background: white;
  border: 1px dotted #666680;
}
.relatedalbums h2 { /* Make it blend in with the h3s. */
  margin-top: 6px;
  margin-left: 0;
  border: 0;  
  margin: 0 0 0.5ex 0;
  padding: 0;
}
.spaced {
  display: block;
}

.album_date {
  color: #444466;
}

.contact_details {
  border: 1px dotted #666680;
  width: 100%;
}
.contact_details h3 {
  margin: 0 0 0 3px;
}
.contact_details td.contact_column {
  display: block;
  padding: 5px 10px 5px 10px;
  !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;
}
.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;
}

.record .address, .record .mail, .record .moreinfo {
  display: none;
}

.record .practice_time {
  margin-left: 0 !important;
  text-indent: 0 !important;  
}

#map_canvas {
  border: 1px solid #666680;
  height: 150px;
  width: 100%;
  max-width: 300px;
  margin: 5px auto;
  background: white;
}
#map_canvas +h1 {
  margin-top: 7px;
}

.youtube_selection {
  display: none;
}

table.video_table, table.video_table tr, table.video_table tbody {
  text-align: left;
  display: block;
}
td.video_highlight {
  display: block;
}

.record {
  padding-left: 10px !important;
  min-height: 0 !important;
}

img.thumb, img.video_thumb {
  float: left;
  position: static !important;
  margin: 1px 5px 5px 0px;
}
.main#posts .record {
  min-height: 70px !important;
}
.main#posts .record .thumb {
  max-height: 70px;
  width: auto;
}
.main#blended .record {
  min-height: 65px !important;
}
.main#blended .record .thumb {
  max-height: 65px;
  width: auto;
  float: right;
  margin: 1px 5px 5px 5px;
}
.main#video .video_highlight {
  min-height: 60px !important;
}
.main#video .video_thumb {
  margin-right: 10px !important;
  max-height: 60px;
  width: auto;
}
.main#pr .record, .main#education .record, .main#clapper .record {
  min-height: 90px !important;
}
.main#pr .record .thumb, 
.main#education .record .thumb,
.main#clapper .record .thumb {
  float: right;
  margin: 1px 5px 5px 5px;
  max-height: 90px;
  width: auto;
}

.main#books .record {
  min-height: 105px !important;
}
.main#books .record .thumb{
  max-height: 105px;
  margin-right: 8px;
  width: auto;
}

.record.attachment {
  min-height: 90px !important;
}
.record.attachment .thumb {
  max-height: 90px;
  width: auto;
}

table.large_clapper, table.large_clapper tbody, table.large_clapper tr, table.large_clapper td {
  display: block;
  text-align: center;
  width: 100%;
}
table.large_clapper td +td {
  text-align: left;
}
.large_clapper img {
  max-width: 60%;
}

.loginbox {
  margin-top: 40px !important;
}

input.login_input {
  width: 100%;
}

.album.record table {
  margin-top: 6px;
  max-height: 50px;
}
.album.record img {
  max-width: 47px;
  max-height: 47px;
}

.process.loginbox input {
  max-width: 120px;
}

.record .perf_what {
  margin-left: 1em;
}


hr.perf_separator {
  margin-top: 2ex;
  margin-bottom: 2ex;
}
.perf_guild {
  font-variant: small-caps;
  margin-bottom: 1.8ex;
}
.perf_loc {
  font-weight: bolder;
}
.perf_date {
  font-style: italic;
}
.perf_meth {
  font-weight: bolder;
  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: 2ex;
}




}  /* media */




@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {

.banner {
  background: url("images/banner-mobile75.png") no-repeat scroll 0px 0px;
  background-size: auto 100%;
}
.bannerback {
  background: url("images/banner-mobile75g.png") repeat-x 0px 0px;
  background-size: auto 100%;
}

}

@media only screen and (-webkit-min-device-pixel-ratio: 2.0), only screen and (min-device-pixel-ratio: 2.0) {

.banner {
  background: url("images/banner-mobile100.png") no-repeat scroll 0px 0px;
  background-size: auto 100%;
}
.bannerback {
  background: url("images/banner-mobile100g.png") repeat-x 0px 0px;
  background-size: auto 100%;
}

}
