/*
 * Responsive TeamRaiser Participant Center
 * Version: 1.7 (05-JUN-2014)
 */

/* ***** */
/* login */
/* ***** */

#pc-open-auth .loginLinks .loginHref {
  margin-right: 0.5em;
}

/* ********* */
/* pc header */
/* ********* */

#pc-header-photo {
  margin: -15px 15px -15px -15px;
}
#pc-header-photo img {
  height: 60px;
}
#pc-header-badges {
  margin-left: 0.75em;
}
#pc-header-badges img {
  height: 30px;
}
#pc-header-text {
  font-size: bold;
  margin-top: 5px;
}

/* ****** */
/* pc nav */
/* ****** */

#pc-nav-utils {
  text-align: right;
}
#pc-btn-group {
  margin-bottom: 20px;
  width: 100%;
}
#pc-btn-group .btn {
  width: 25%;
}
#pc-container .popover-content {
  padding: 0;
}
#notifications-list {
  margin-bottom: 0;
}
#notifications-list .list-group-item {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  width: 200px;
}
#notifications-list .list-group-item:first-child {
  border-radius: 0;
  border-top: 0;
}
#notifications-list .list-group-item:last-child {
  border-radius: 0;
}
.notification-date {
  color: #999999;
  display: block;
  font-size: 0.9em;
  margin-top: 5px;
}
.notifications-more {
  padding: 0;
}
.notifications-more a {
  display: block;
  padding: 10px 15px;
  text-align: center;
}

/* ****** */
/* panels */
/* ****** */

#pc-container .panel-heading .btn {
  margin-top: -2px;
  margin-right: -8px;
}

/* ************ */
/* thermometers */
/* ************ */

.pc-thermometer-raised, .pc-thermometer-goal {
  font-weight: bold;
}

/* ****** */
/* modals */
/* ****** */

#loading-modal .modal-dialog {
  width: 220px;
  text-align: center;
  margin: 20% auto;
}
#loading-modal p {
  margin: 0;
}
#loading-modal img {
  width: auto;
  margin-right: 5px;
}
#timeout-modal .modal-body {
  padding-bottom: 0;
}
.dashboard-video-modal .modal-dialog {
  margin-right: auto;
  margin-left: auto;
  /* workaround to make youtube videos work correctly in modals */
  -webkit-transform: none !important;
  -ms-transform: none !important;
  transform: none !important;
  width: 562px;
}
.dashboard-video-modal .modal-content {
  border-radius: 6px 6px 0 0;
}
.dashboard-video-modal .modal-body {
  padding: 0;
}
.dashboard-video-modal iframe {
  height: 315px;
  width: 560px;
}
#email-preview-modal .modal-dialog {
  max-width: 748px;
  width: auto;
}
#email-preview-modal .modal-footer {
  margin-top: 0;
}
#email-preview-wrap {
  height: 500px;
  overflow: auto;
  width: 100%;
}
#email-add-contacts-modal .modal-body {
  padding-bottom: 5px;
}
#add-contacts-import-events ul {
  margin: 0;
  padding: 0;
}
#add-contacts-import-events ul li {
  list-style: none;
}
.ab-import-grid {
  margin-top: 1em;
}
.ab-import-header-wrap {
  border-bottom: 1px solid #dddddd;
  display: table;
  width: 100%;
}
.ab-import-list-wrap {
  height: 200px;
  overflow-y: scroll;
}
.ab-import-list {
  display: table;
  width: 100%;
}
.ab-import-row {
  display: table-row;
  font-size: 0.9em;
}
.ab-import-header-row {
  font-size: 1em;
}
.ab-import-row > div {
  border-right: 4px solid #ffffff;
  display: table-cell;
  padding: 8px 12px;
  vertical-align: top;
}
.ab-import-header-row > div {
  background: #f0f0f0;
  font-weight: bold;
  height: 20px;
  padding: 12px;
  text-align: center;
}
.ab-import-row-even > div {
  background: #f5f5f5;
}
.ab-import-checkbox-col {
  width: 4%;
}
.ab-import-name-col, 
.ab-import-email-col {
  width: 47%;
}
.ab-import-row .ab-import-checkbox-col {
  text-align: right;
}
.ab-import-row .ab-import-email-col {
  border-right: 0;
}
.ab-import-header-row .ab-import-name-col {
  width: 44.5%;
}
.ab-import-header-row .ab-import-email-col {
  width: 49.5%;
}
#manage-drafts-header-wrap {
  border-bottom: 1px solid #dddddd;
  display: table;
  width: 100%;
}
#manage-drafts-list-wrap {
  height: 200px;
  overflow-y: scroll;
}
#manage-drafts-list {
  display: table;
  width: 100%;
}
.manage-drafts-row {
  display: table-row;
  font-size: 0.9em;
}
.manage-drafts-header-row {
  font-size: 1em;
}
.manage-drafts-row > div {
  border-right: 4px solid #ffffff;
  display: table-cell;
  padding: 8px 12px;
  vertical-align: top;
}
.manage-drafts-header-row > div {
  background: #f0f0f0;
  font-weight: bold;
  height: 20px;
  padding: 12px;
  text-align: center;
}
.manage-drafts-row-even > div {
  background: #f5f5f5;
}
.manage-drafts-checkbox-col {
  width: 4%;
}
.manage-drafts-date-col {
  text-align: center;
  width: 40%;
}
.manage-drafts-subject-col {
  width: 54%;
}
.manage-drafts-row .manage-drafts-checkbox-col {
  text-align: right;
}
.manage-drafts-row .manage-drafts-email-col {
  border-right: 0;
}
.manage-drafts-header-row .manage-drafts-date-col {
  width: 35.5%;
}
.manage-drafts-header-row .manage-drafts-subject-col {
  width: 49.5%;
}

/* ********************* */
/* scrollbars for webkit */
/* ********************* */

.force-scrollbar::-webkit-scrollbar {
  width: 8px;
}
.force-scrollbar::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.force-scrollbar::-webkit-scrollbar-thumb {
  background-color: #666666;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}

/* ***** */
/* forms */
/* ***** */

.field-help {
  margin: 0.6em 0 0 0.3em;
}
.field-help p {
  font-size: 0.8em;
  margin-bottom: 0;
}

/* ************ */
/* text editors */
/* ************ */

.jqte {
  border: 1px solid #cccccc;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  margin: 0;
}
.jqte_tool.jqte_tool_1 .jqte_tool_label {
  height: 22px;
}
.jqte_editor {
  height: 250px;
  resize: none;
}

/* *********** */
/* list groups */
/* *********** */

.list-group-item h4 {
  color: inherit;
}

/* *************** */
/* unordered lists */
/* *************** */

.links-list {
  margin: 0;
  padding: 0;
}
.links-list li {
  list-style: none;
}

/* ************ */
/* social share */
/* ************ */

.pc-social-share div {
  float: left;
  text-align: center;
  width: 25%;
}
.pc-social-share .shareDialog {
  display: none;
}
.yui-panel-container.yui-overlay-hidden {
  display: none;
}

/* ********************** */
/* registered events list */
/* ********************** */

#registered-events-view .panel-body p {
  margin-bottom: 0;
}

/* ********* */
/* dashboard */
/* ********* */
/*
@media (min-width: 768px) {
  .js--steps-to-success .col-sm-offset-0:first-child, .js--captain .col-sm-offset-0:first-child { margin-left: 3.5%; }
}*/

#pc-dashboard-progress-panel .panel-body {
  padding-bottom: 0;
}
#pc-dashboard-progress-panel .nav-tabs {
  margin-bottom: 1em;
}
#dashboard-days-left-wrap p {
  font-weight: bold;
}
#dashboard-days-left-wrap .pc-days-left {
  display: block;
}
#dashboard-self-donation-wrap {
  text-align: center;
}
#dashboard-self-donation-wrap button {
  font-size: inherit;
}
#pc-dashboard-news-feeds-panel .panel-body {
  padding-bottom: 0;
}
#pc-dashboard-tips-panel .panel-body {
  padding-bottom: 0;
}
.pc-dashboard-tip-thumb {
  margin-bottom: 10px;
  margin-left: 1em;
  width: 171px;
}
.pc-dashboard-tip-thumb img {
  width: 100%;
}
#pc-dashboard-links-panel p button {
  font-size: inherit;
}

/* *********** */
/* team roster */
/* *********** */

#team-roster-email-btn {
  margin-bottom: 1em;
  width: 100%;
}
#team-roster-panel .panel-body {
  padding: 0;
}
#team-roster-table {
  margin-bottom: 0;
}
#team-roster-table th:first-child, 
#team-roster-table td:first-child {
  padding-left: 15px;
}
#team-roster-table th:last-child, 
#team-roster-table td:last-child {
  padding-right: 15px;
}

/* ********* */
/* scheduler */
/* ********* */

#scheduler-grid {
  display: table;
  margin-top: 1em;
  width: 100%;
}
.scheduler-row {
  display: table-row;
  font-size: 0.9em;
}
.scheduler-header-row {
  font-size: 1em;
}
.scheduler-row > div {
  border-right: 4px solid #ffffff;
  display: table-cell;
  padding: 8px;
  vertical-align: top;
}
.scheduler-header-row > div {
  background: #f0f0f0;
  font-weight: bold;
  height: 20px;
  padding: 12px;
  text-align: center;
}
.scheduler-row-even > div {
  background: #f5f5f5;
}
.scheduler-btn-col, 
.scheduler-name-col, 
.scheduler-activity-col {
  width: 20%;
}
.scheduler-row .scheduler-btn-col {
  text-align: right;
}
.scheduler-btn-col button {
  font-size: inherit;
}
.scheduler-btn-remove {
  margin-left: 0.3em;
  padding: 6px 8px;
}
.scheduler-time-col {
  font-weight: bold;
  text-align: center;
  width: 10%;
}
.scheduler-row .scheduler-notes-col {
  border-right: 0;
  width: 28%;
}

/* ************** */
/* tools and tips */
/* ************** */

#pc-tips-panel .panel-body {
  padding-bottom: 2em;
}
#pc-tips-panel .panel-body a {
  display: block;
  margin-top: 2em;
  text-align: center;
}
#pc-tips-panel .panel-body a img {
  display: block;
  margin: 0 auto 0.4em;
}
#pc-tips-panel .panel-body a span {
  display: block;
  margin: 0 auto;
  width: 110px;
}

/* *********** */
/* send emails */
/* *********** */

#pc-email-panel-wrap .panel-body {
  padding-bottom: 0;
}
#pc-email-contacts-panel .panel-body {
  border-bottom: 1px solid #dddddd;
}
#email-contacts-list-group {
  height: 152px;
  overflow-y: scroll;
}
#pc-email-contacts-panel .list-group-item:first-child {
  border-radius: 0;
  border-top: 0;
}
#email-contacts-select-all .list-group-item {
  background: #f5f5f5;
}
#pc-email-contacts-panel .list-group-item input {
  margin-right: 10px;
}
#email-contacts-add-selected {
  width: 100%;
}
#email-step-2-btns {
  margin-top: 72px;
}

/* ************** */
/* edit page view */
/* ************** */

#edit-page-type-tabs {
  margin-bottom: 1.25em;
}
.edit-page-url {
  word-wrap: break-word;
}
.pc-edit-page-content .panel-body {
  padding-bottom: 0;
}
.edit-photo-wrap, 
#edit-personal-video-wrap {
  text-align: center;
}
#edit-personal-photo-1, 
#edit-personal-video, 
#edit-team-photo-1 {
  display: inline-block;
  position: relative;
  width: 100%;
}
#edit-personal-photo-1 button, 
#edit-personal-video button, 
#edit-team-photo-1 button {
  position: absolute;
  right: 3px;
  top: 3px;
}
#edit-personal-photo-1 img, 
#edit-team-photo-1 img {
  max-width: 100%;
  width: 100%;
}
#edit-personal-video iframe {
  height: 150px;
  max-width: 100%;
  width: 268px;
}

/* ******** */
/* progress */
/* ******** */

.pc-progress-list-group .list-group-item:first-child {
  border-radius: 0;
  border-top: 0;
}
#progress-email-btn {
  margin-bottom: 1em;
  width: 100%;
}

/* ******************** */
/* responsive overrides */
/* ******************** */

@media (min-width: 768px) {
  #pc-btn-group .btn .hidden-xs {
    display: inline-block !important;
  }
}

@media (max-width: 767px) {
  #pc-header {
    margin-bottom: 12px;
  }
  #pc-nav-utils {
    margin: 0 3px 12px 0;
  }
  .shareDialog {
    width: 450px !important;
  }
  .dashboard-video-modal .modal-dialog {
    width: 452px;
  }
  .dashboard-video-modal iframe {
    height: 252px;
    width: 450px;
  }
  .scheduler-row .scheduler-btn-col {
    padding-top: 4px;
  }
  .scheduler-btn-col button {
    margin-top: 4px;
  }
  .jqte_editor {
    height: 200px;
  }
  .links-list li {
    margin-bottom: 1em;
  }
  .links-list li:last-child {
    margin-bottom: 0;
  }
  #dashboard-self-donation-wrap {
    margin-top: 1em;
  }
  #pc-dashboard-team-name {
    display: block;
    margin-bottom: 1em;
  }
  #email-preview-modal .modal-dialog {
    width: auto;
  }
  #email-preview-wrap {
    height: 395px;
  }
  #email-contacts-add-selected {
    margin-bottom: 1em;
  }
  #email-step-2-btns {
    margin-top: 0;
  }
  #edit-personal-photo-1, 
  #edit-personal-video, 
  #edit-team-photo-1, 
  #edit-personal-photo-1 img, 
  #edit-team-photo-1 img {
    width: auto;
  }
}

@media (max-width: 650px) {
  .ab-import-list {
    display: block;
  }
  .ab-import-row {
    clear: both;
    display: block;
    min-height: 38px;
    padding: 10px;
  }
  .ab-import-header-row {
    display: none;
  }
  .ab-import-row-even {
    background: #f5f5f5;
  }
  .ab-import-row > div {
    border-right: 0;
    display: block;
    padding: 0;
  }
  .ab-import-row .ab-import-checkbox-col {
    float: left;
    margin-right: 0.75em;
    width: auto;
  }
  .ab-import-name-col, 
  .ab-import-email-col {
    width: auto;
  }
  #manage-drafts-list {
    display: block;
  }
  .manage-drafts-row {
    clear: both;
    display: block;
    min-height: 38px;
    padding: 10px;
  }
  .manage-drafts-header-row {
    display: none;
  }
  .manage-drafts-row-even {
    background: #f5f5f5;
  }
  .manage-drafts-row > div {
    border-right: 0;
    display: block;
    padding: 0;
  }
  .manage-drafts-row .manage-drafts-checkbox-col {
    float: left;
    margin-right: 0.75em;
    width: auto;
  }
  .manage-drafts-date-col, 
  .manage-drafts-subject-col {
    width: auto;
  }
}

@media (max-width: 530px) {
  .progress-say-thanks {
    clear: both;
    float: none !important;
    padding-top: 0.75em;
  }
}

@media (max-width: 480px) {
  #pc-header-text {
    font-size: 0.95em;
    margin-top: -5px;
    margin-bottom: -15px;
  }
  #pc-header-badges {
    margin-right: -10px;
  }
  .shareDialog {
    width: 272px !important;
  }
  .pc-dashboard-tip-thumb {
    width: 100%;
  }
  .dashboard-video-modal .modal-dialog {
    width: 297px;
  }
  .dashboard-video-modal iframe {
    height: 166px;
    width: 295px;
  }
  #scheduler-grid {
    display: block;
  }
  .scheduler-row {
    clear: both;
    display: block;
    min-height: 50px;
    padding: 10px;
  }
  .scheduler-header-row {
    display: none;
  }
  .scheduler-row-even {
    background: #f5f5f5;
  }
  .scheduler-row > div {
    border-right: 0;
    display: block;
    padding: 0;
  }
  .scheduler-row .scheduler-btn-col {
    float: right;
    padding-top: 0;
    width: auto;
  }
  .scheduler-name-col, 
  .scheduler-activity-col, 
  .scheduler-row .scheduler-notes-col {
    width: auto;
  }
  .scheduler-btn-col button {
    margin-top: 0;
  }
  .scheduler-row input {
    margin-top: 10px;
  }
  #pc-tips-panel .panel-body .col-xs-4 {
    width: 50%;
  }
  #email-preview-wrap {
    height: 360px;
  }
  .ab-import-row > div {
    font-size: 0.9em;
  }
  .manage-drafts-row > div {
    font-size: 0.9em;
  }
  #email-save-template, 
  #email-preview, 
  #email-next, 
  #email-send {
    font-size: 12px;
  }
  .edit-page-url-form .input-group .input-group-addon, 
  .edit-page-url-form .input-group .form-control {
    font-size: 0.9em;
  }
}

@media (max-width: 360px) {
  #edit-personal-video iframe {
    height: 128px;
    width: 228px;
  }
  .edit-page-url-form .input-group .input-group-addon, 
  .edit-page-url-form .input-group .form-control {
    font-size: 0.8em;
  }
}

.form-group { position: relative; }

.warn { color: #f00; }