/* general gubbins */

ul.list-adminLink,
ul.adminSection,
div.list-button-bar ul,
div.action-list ul {
  list-style-type:none;
  padding-left:0;
  margin-left:0;
}

ul.list-adminLink li,
ul.adminSection li,
div.list-button-bar ul li,
div.action-list ul li {
  display:inline-block;
  margin-bottom:4px;
}

ul.tags,
ul.keywords {
  display:inline;
  list-style-type:none;
  padding-left:0;
  margin-left:0;
}
ul.tags li,
ul.keywords li {
  display:inline;
  white-space: nowrap;
}
ul.tags li.active,
ul.keywords li.active {
  font-weight:bold;
}

form .form-hidden {
  display:none;
}

/* use 'natural' width of items in inline forms, rather than 100% width */
.form-inline .form-control {
  display:inline-block;
  width:auto;
}

/* we have div.pagination wrapping ul.pagination for bs 2.x and 3.x, so in 3.x take out
 * the margins around the inner */
.pagination .pagination {
  margin:0;
}

.user-message ul {
    list-style:none;
    padding-left:0;
}

table.fullWidth {
  width: 100%;
}

/* calendar */

table.calendar th,
table.calendar td {
  padding:4px 2px;
  text-align:center;
}

/* survey */

.question_number {
  display:none;
}
.surveyResponse .question {
  margin-bottom:20px;
  overflow:hidden;
  clear:both;
}
.surveyResponse .question_text {
  float:left;
  width:160px;
  text-align:right;
}
.surveyResponse .question_response,
.surveyResponse .btn {
  margin-left:180px;
}

div.question_text,
div.question_text p {
  display:inline;
}

table.blockWidget td {
  text-align:center;
}

/* forums */

#package-forums .message .details {
  display:block;
  width:100%;
  padding:0 0 5px;
  margin-bottom:20px;
  font-size:18px;
  line-height:24px;
  color:#333333;
  border:0;
  border-bottom:1px solid #e5e5e5;
}
#forum-thread .level0 {
  margin-left:0;
}
#forum-thread .level1 {
  margin-left:20px;
}
#forum-thread .level2 {
  margin-left:40px;
}
#forum-thread .level3 {
  margin-left:60px;
}
#forum-thread .level4 {
  margin-left:80px;
}
#forum-thread .level5 {
  margin-left:100px;
}
#forum-thread .level6 {
  margin-left:120px;
}
#forum-thread .level7 {
  margin-left:140px;
}
#forum-thread .level8 {
  margin-left:160px;
}
#forum-thread .level9 {
  margin-left:180px;
}
#forum-thread .level10 {
  margin-left:200px;
}

/* photo-album */

#package-photo-album #photoAlbum,
#package-photo-album #photoAlbumContents {
  margin-top:10px;
}

#package-photo-album .photo_album_nav {
  margin:0;
  width:100%;
  text-align: center;
}

#photoAlbum ul,
#photoAlbumContents ul {
  list-style:none;
  padding:0;
}

.thumbnail {
  text-align:center;
  margin-bottom:20px;
}

#package-photo-album .photo {
    max-width:100%;
    height:auto;
}

.blogger_title h2 {
    margin-top: 0;
}

/* polls */

.poll table {
  border-collapse:separate;
  width:100%;
}
.poll table tr td {
  border:0;
  padding:0 1em 3px 0;
}
.poll .progress {
  margin:0;
}
.poll table tr td.optionResult {
  width:3em;
}
.poll table tr td.optionBar {
  text-align:left;
  width:50%;
  padding:0;
}
.includelet.poll .control-label {
    display:none;
}

/* includelets (actually panels in bootstap speak) */

.panel {
  margin-bottom:20px;
}

/* clearfix includelet contents */
.panel .panel-body:before,
.panel .panel-body:after,
.panel .list-group:before,
.panel .list-group:after {
  display: table;
  content: " ";
}
.panel .panel-body:after,
.panel .list-group:after {
  clear: both;
}

.panel .content h1,
.panel .content h2,
.panel .content h3,
.panel .content h4, 
.panel .list-group h1,
.panel .list-group h2,
.panel .list-group h3,
.panel .list-group h4 {
  font-size:16px;
  line-height:20px;
  margin-top:0;
}

/* remove margin from the last thing in a panel or div
   (or the last paragraph inside the last thing) */
.panel-body > *:last-child,
.panel-body > *:last-child p:last-child,
.well > *:last-child,
.well > *:last-child p:last-child {
  margin-bottom:0;
}

img,
.panel img {
  height:auto;
  max-width:100%;
}

/* make tabs/pills a bit smaller in includelets */
.well .nav > li > a,
.panel .nav > li > a {
  padding:4px 7px;
}
.well .nav li.title,
.panel .nav li.title {
  padding:4px 7px;
  font-weight:bold;
}

.includelet .moreLink,
.panel .more,
.panel .moreEvent,
.panel .moreLink {
  text-align:right;
}

/* main title at top of well, no top margin */
.well .commonHeader h3 {
  margin-top:0;
}

.teaser .image {
  margin-right: 10px;
  float:left;
}
.thumbnail .teaser .image {
  margin-right: 0;
  float:none;
}
.teaser,
.teaser .itembody {
  overflow: hidden;
}
.teaser .metadata {
  border-top: 1px dotted #999999;
  color: #999;
  font-size: 75%;
  font-weight: bold;
  margin-top: 10px;
  padding-top: 2px;
  clear: left;
}
@media (max-width: 479px) {
    .teaser .image {
        display: none;
    }
}

/* quick fix to force forms in narrow columns to be non-horizontal */
.subcol .panelcol,
.subcol .control-label,
.subcol .controls,
.subcol .form-control,
.subcol .form-buttons {
  width:100%;
  margin-left:0;
  text-align:left;
}
.subcol .form-buttons {
  text-align:right;
}
.subcol a.btn {
  float:right;
}

.contactInformationEmail a {
  word-wrap:break-word;
}

/* directory */

.directorySearch .control-label {
    display:none;
}
.directoryList .pagination {
    margin-top:0;
}
.directoryList thead
{
	display:none;
}
.directoryList .logo {
	width:75px;
	height:75px;
	margin:10px 0;
	float:left;
	background:url(../../voiceWatermark80.png) no-repeat center top;
}
.directoryList .text {
	padding-left:85px;
}
.directoryList .name
{
	padding:5px 0;
	font-size:120%;
}
.page .directoryList TR TD .name A
{
	display:block;
}
.page .directoryList TR TD .description,
.page .directoryList TR TD .distance
{
	padding:0 5px 5px 5px;
}

/* notifications panel */
#package-notifications form .notification {
	width:100%;
	overflow:hidden;
}
#package-notifications form ul {
    list-style:none;
}
#package-notifications form .open {
	float:left;
	width:1em;
}
#package-notifications form .open a {
	font-weight:bold;
	text-align:center;
    text-decoration:none;
}
#package-notifications form .enabled {
	float:left;
}
#package-notifications form .interval {
	float:right;
}