/* Action Plan */
#campaign {
  border-radius: 3px;
  margin-bottom: 2em;
}

#campaign, .action-plan > .nav {
  background-color: #eee;
  position: sticky;
  height: fit-content;
  top: 2em;
}

.col-xs-12.col-sm-4.col-md-4.col-lg-4.nav {
  /* put navigation on right, but on top on small screen*/
  float: right;
}

.col-xs-12.col-sm-8.col-md-8.col-lg-8.content.ng-scope {
  border-radius: 3px;
}

.action-plan {
  margin: -15px;
  background-color: #eee;
  padding: .5em;
  border-radius: 5px;
}

.action-plan > .content {
  background-color: #fefefe;
  padding: 10px;
  height: auto;
  overflow: hidden;
  display: block;
  min-width:200px;
}
.action-plan > .nav {
  background-color: #eee;
  padding: 0;
  /*position: relative;*/
  overflow: hidden;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.nav-tab.active {
  display: table;
  width: 100%;
}

.action-plan > .nav > .nav-tab > a {
  z-index: 2;
  height: 75px;
  padding: 2px;
  padding-left: 5px;
  font-size: 16px;
  font-weight: 500;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  position: static;
  white-space: nowrap;
  overflow: hidden;
  max-width:400px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.action-plan > .nav > .nav-tab.active > a {
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background-color: #fff;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.nav-tab.ng-scope.completed i.fa.fa-circle.fa-stack-2x {
  color: green !important;
}

.btn > input {
  display: none;
}

.btn.active, .btn:active, button:active, a.gk-button:active, input[type="button"]:active, input[type="submit"]:active {
  background-color: #365899;
}

.action-plan .content .loading {
  text-align: center;
  display:block;
  margin:auto;
  width:100%;
  padding:1em;
  font-weight:900;
}


/* action plan progress */

.action-progress > h2, .action-progress > h3 {
  margin: 0;
  padding: 2px;
  font-size: 120%;
  font-weight: 600;
}

.action-progress > h3 {
  font-weight: 400;
}

.action-progress {
  border: solid 1px #eee;
  padding: 1em;
  border-radius: 3px;
  margin-bottom: .25em;
}
#campaign-call-to-action {
  margin-top: 1em;
}
.news-post-content-box:hover a {
  text-decoration: none;
  color: #000;
}
.news-post-content-box:hover a > div > h3 {
  text-decoration: underline;
}
.news-post-content-box > a > div {
  display: block;
}
.news-post-content-box h3 {
  padding-top: 0;margin-top: 0;
}

.archive-date-box {
  font-family: 'Open Sans',Arial,sans-serif;
  color: #fff;
  display: block;
  border: solid 2px transparent;
}

@media (max-width: 767px) {
  .archive-date-box  {
    margin-right:1em;
  }
  .cpb-date-img {
    min-height: 2;
  }
  }

.archive-date-box h4 {
  color: #fff;
  padding: .5em;
  /*padding-right: 10px;padding-top:10px;padding-bottom:10px;*/
  margin: 0;font-weight: 800;
}
.archive-date-box h4 > span {
  font-size: 30px;
}

.progress-bar{
  background-color: transparent !important;
  color: #fff !important;

}

.page-content-description {
  padding: 1em !important;
}

.action-plan-list th {
  text-align: left;
}

.action-plan-list .action-title {
  padding: 0px 8px;
}

.action-plan-list {
  padding-top: 10px;
}

.action-plan .status {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #0000;
  border-radius: .25rem;
}
.action-plan .status.geocode-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.action-plan .label {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

.action-plan .label.republican {
  color: #fff;
  background-color: #dc3545;
}
.action-plan .label.democratic {
  color: #fff;
  background-color: #007bff;
}

.action-plan img.legislator-img {
  width: 200px;
  padding: 1em;
}

.action-plan .legislator-results, .action-plan .action-response, #TB_ajaxContent .action-response {
  border: solid 1px #eee;
  border-radius: 4px;
}
.action-plan .action-response, #TB_ajaxContent .action-response {
  padding: 1em;
}

.action-plan .legislator-results h3.title {
    background-color: #eee;
    padding: 1em;
    font-size: small;
  }



/* Campaign Progress Bars */
.action-progress .progress {
  margin-bottom: .5em;
}
.action-progress h4 {
  font-size: 18px !important;
  margin-bottom: 0 !important;
}
.progress-bar {
overflow-y:hidden;
}
.progress-inner {
    animation-duration: 2s;
    animation-delay: 0s;
    border-radius: 2px;
    animation-name: grow;
    background-color: #ce2c33;
    color: white;
    animation-timing-function: ease-out;
    display: block;
    box-sizing: border-box;
    word-wrap:unset;
    overflow-wrap: unset;
    overflow: hidden;
}

@keyframes grow {
    from {
        width: 0% ;
    }

    to {
        width: 100% ;
    }
}



/* Contact action */
#TB_ajaxContent p.script {
  white-space: pre-wrap;
}
.action-response label.btn {
  margin: 0 0 .5em;
}
.action-response .btn.active {
    background-color: #999;
}
div#TB_ajaxContent {
    font-size: 22px;
}
