/* 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;
}

/* try not to break in headers of lists where we have the sort button */
.list-header a {
    white-space: nowrap;
}

/* 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;
}

/* override width that wysiwyg might add, which breaks resposnive layout */
table {
  max-width: 100%;
}
table.fullWidth {
  width: 100% !important;
}

.breadcrumb > li.youarein {
  color: #666;
}
.breadcrumb > li.first::before {
  content: " ";
}

/* calendar */

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

.package-calendar table caption {
    text-align: center;
}

.cal-frm-compact .input-sm {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}


/* 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 */

@media (min-width: 768px) {
  #package-forums .list-paginator {
      float: left;
      margin: 10px 0;
  }
  #forumSearch {
      float: right;
      margin: 10px 0;
  }
  #forumSearch #search_text {
      width: 250px;
  }
}

#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;
}

/* makes them toooo big
#photoAlbum .thumbnail img {
  width: 100%;
}
*/

#package-photo-album .photo {
  height:auto;
  max-width:100%;
  opacity:1.0;
  filter:alpha(opacity=100);
}

.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, .includelet {
  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:18px;
  line-height:21px;
  margin-top:0;
}

/* two adjoining panel-body (can happen in weird case in filtered item list */
.panel-body + .panel-body {
    padding-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:not(.footer) > *:last-child,
.well:not(.footer) > *:last-child p:last-child {
  margin-bottom:0;
}

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

img.pull-left,
img[align="left"],
img[style*="float: left"],
img[style*="float:left"]{
    margin: 5px 15px 0px 0px;
}
img.pull-right,
img[align="right"],
img[style*="float: right"],
img[style*="float:right"]{
    margin: 5px 0px 0px 15px;
}

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

.includelet .sortOptions:not(.panel-body) {
    margin: 10px 0;
}

.includelet .more {
  margin-top:10px;
  text-align:right;
}

.includelet .thumbnail .more {
  margin-right:10px;
}

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

.subcol .well .commonHeader h3,
.subcol .thumbnail .commonHeader h3 {
    font-size: 18px;
}

.teaser .image {
  margin-right: 10px;
  float:left;
}
.thumbnail .teaser .image {
  margin-right: 0;
  float:none;
}
.teaser,
.teaser .itembody {
  overflow: hidden;
}
.metadata .image {
  margin-bottom: 20px;
}

.metadata-footer {
  border-top: 1px dotted #999999;
  color: #999;
  font-size: 75%;
  font-weight: bold;
  margin-top: 10px;
  padding-top: 2px;
  clear: left;
}

/* make some sub columns go wide when used in a narrow column */
.subcol .fullsubcol {
    width: 100%;
}

/* @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;
}

.contactInformation .panel-body {
    padding-bottom: 0;
}
.contactInformationMap,
.contactInformation address {
    margin-bottom: 15px;
}
.contactInformation address p {
    display: block;
    position: relative;
    padding-left: 28px;
}
.contactInformation address p svg {
    position: absolute;
    font-size: 18px;
    top: 3px;
    left: 0;
}
.contactInformationEmail a {
  word-wrap:break-word;
}

.customInclude img.graphic {
    width: 100%;
    margin-bottom: 10px;
}

.carousel-inner .item .slider-image {
    margin: 0 auto 10px;
}
.carousel-indicators {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: right;
}
.carousel-indicators li {
    border: 1px solid #555;
    width: 14px;
    height: 14px;
}
.carousel-indicators li.active {
    background-color: #555;
    width: 16px;
    height: 16px;
}
@media (max-width: 991px) {
    .slider h3,
    .slider p {
        text-align:center;
    }
}


/* 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(/resources/themes/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;
}

/* Inline Editing */

div.inline-edit {
    margin: 1em 0;
}

div.inline-edit-includelet {
    margin: 1em 0;
    width: 100%;
}

div.inline-edit-includelet-top {
    padding: 0.5em;
    background-color: #FFE2DF;
    border: 1px solid #FFC5BF;
    color: #333;
    border-radius: 0.6em 0.6em 0 0;
    -moz-border-radius: 0.6em 0.6em 0 0;
    -webkit-border-radius: 0.6em 0.6em 0 0;
}

div.inline-edit-includelet-bottom {
    padding: 0.5em;
    border: 1px solid #FFC5BF;
    border-top: 0;
}

div.inline-edit-includelet-top p {
    margin: 0;
}

div.inline-edit-includelet-top a {
    margin: 0 0 0 0.5em;
    float: right;
}
