/* All Legislators Lookup & Candidate Lookup Page Template Styling */

.legislator-list {
    text-align: center;
    display: block;
}

.u-clearfix {
    clear: both;
}

.u-transparent {
    opacity: 0;
}

.u-left {
    float: left;
}

.u-inline-block {
    display: inline-block;
}

.u-row {
    padding-left: 1.25em;
    padding-right: 1.25em;
    display: block;
    position: relative;
}

.legislator-list .tabs-link {
    width: 100%;
    height: 100%;
    min-height: 60px;
    float: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: #4063f0;
    line-height: 22px;
    letter-spacing: 0.28px;
    text-align: center;
    text-decoration: none;
    box-shadow: inset #4063f0 0 0 0 1px;
    position: relative;
    z-index: 1;
    padding: 15px 20px 14px 20px;
}

.legislator-list .tabs-link.is-active,
.legislator-list .tabs-link.active {
    background: #4063f0;
    color: #fff;
}

.legislator-list .tabs-link:before {
    content: "";
    width: 0;
    height: 100%;
    float: left;
    background: #4063f0;
    -webkit-transition: all .25s ease-out;
    -moz-transition: all .25s ease-out;
    -o-transition: all .25s ease-out;
    transition: all .25s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.legislator-list .tabs-link:hover,
.legislator-list .tabs-link:focus,
.legislator-list .tabs-link:active,
.legislator-list .tabs-link.active {
    color: #ffffff;
}

.legislator-list .tabs-link:hover:before,
.legislator-list .tabs-link:focus:before,
.legislator-list .tabs-link:active:before,
.legislator-list .tabs-link.active:before {
    width: 100%;
}

.legislator-list .box p {
    padding-bottom: 5px;
}

.legislator-list .row>div .box .read-more2 {
    line-height: 1.2 !important;
}

.legislator-list.no-padding {
    padding: 50px 5px;
}

.legislator-list .name {
    font-family: "Montagu Slab", sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #10153e;
    line-height: 33px;
    padding-bottom: 7px;
}

.person {
    float: none;
    margin-bottom: 50px;
    padding-top: 20px;
    position: relative;
    text-align: center;
    width: 100%;
}

.person__wrapper .figure {
    width: 120px;
    height: 120px;
    float: none;
    display: inline-block;
    vertical-align: top;
    border-radius: 900px;
    /* overflow: hidden; */
    margin-bottom: 24px;
}

.person__town,
.person__party,
a.person__email,
a.person__phone {
    display: block;
    line-height: 1.2;
}

.person__town,
a.person__email,
a.person__phone {
    margin-bottom: 1em;
}

.person__avatar--secondary {
    float: left;
    border-radius: 900px;
}

.person-info__row {
    display: table-row;
}

.person-info__title,
.person-info__description {
    text-align: left;
    display: table-cell;
    line-height: 1.5;
}

.person-info__title {
    font-weight: bold;
    width: 22%;
}

li.mini-persons__list-item:before,
li.person-info__row li:before,
ul.person-info__table li:before {
    background: none !important;
}

.person-info__description {
    padding-bottom: 20px;
    width: 84%;
    height: 50px;
}

.person__district,
.person__party {
    margin-bottom: 0.25em;
}

a.person__email,
a.person__phone {
    font-size: 0.8em;
}

.label--secondary {
    border: 2px solid #4163f0;
    color: #4163f0;
    padding: 5px 15px;
}

.person__select-all {
    display: block;
    margin-top: 10px;
}

.person__label-container {
    min-width: 7.88889em;
    float: right;
    width: auto;
}

.person__list {
    float: left;
    margin-top: 20px;
    width: 100%;
    display: block;
    margin-bottom: 50px;
}

.person__heading {
    color: #000;
    display: block;
    font-size: 1.875em;
    line-height: 1.3;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    top: 4px;
}

.person__header {
    clear: both;
    margin-bottom: 20px;
    text-align: center;
}

.person__header .h4 {
    float: left
}

.person__endorsed {
    font-size: .9em;
    line-height: 2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #4163f0;
}

.person__endorsed .icon-check {
    color: #4163f0;
    font-size: 1.2em;
    margin-right: 7px;
    content: "\f336";
    font-family: "Font Awesome\ 5 Pro";
    font-style: normal;
}

.field__icon.icon-search {
    content: "\f002";
    font-family: "Font Awesome\ 5 Pro";
    font-style: normal;
}

.fa-angle-down {
    color: #4163f0;
    font-size: 2em;
    content: "\f107";
    font-family: "Font Awesome\ 5 Pro";
    font-style: normal;
    /*-webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);*/
    position: absolute;
    padding: 0;
    right: 13%;
}

.person__endorsed.winner {
    color: #000;
}

.person__endorsed.winner .icon-check {
    color: #1daf5d;
}

.icon-check:before {
    content: "\f336";
}

.break {
    background: #d7d7d7;
    float: left;
    height: 1px;
    margin: 40px 0;
    width: 100%;
}

.person__footer {
    float: left;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.person__options {
    margin-bottom: 30px;
    font-size: 1em;
}

.person__district-header {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

a.person-info__back-btn {
    width: 100%;
}

a.person-info__back-btn,
.legislator-info__back-btn-icon.fa-arrow-left {
    clear: both;
    text-align: left;
    margin-bottom: 1em;
    display: inline-block;
}

.legislator-info__back-btn-icon.fa-arrow-left:before {
    margin-right: 7px;
    content: "\f060";
    font-family: "Font Awesome\ 5 Pro";
    font-style: normal;
}

.legislator__tab-container,
.legislator__tab-container--two,
.legislator__tab-container--three {
    float: left;
    margin-bottom: 40px;
    width: 100%;
}

.legislator__tab-container--three .legislator__tab {
    width: 24%;
}

.legislator__tab {
    color: #4063f0;
    cursor: pointer;
    float: left;
    text-align: center;
    padding: 15px 15px 14px 15px;
    min-height: 60px;
    line-height: 28px;
    box-shadow: inset #4063f0 0 0 0 1px;
    font-weight: 600;
    margin: 0 5px 20px 5px;
}

.legislators__pane {
    /*display: none;*/
    width: 100%;
}

.legislators__pane.is-active {
    display: inline-block;
}

.field__icon {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    will-change: transform;
    background-color: transparent;
    color: #4163f0;
    padding: 0;
    right: 30px;
}

.icon-search:before {
    content: "\f002"
}

.result-hide #town {
    margin-right: 17px;
}

.filter-bar2>.result-hide+.result-hide {
    float: left;
    width: 100%
}

.filter-bar2 .select__input-container i {
    top: 16px;
    right: 30px;
}

.filter-bar2 .result-hide {
    margin-top: 5px;
}

.filter-bar2 .sort-wrap .sort-title {
    width: 45%;
    float: left;
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    padding-right: 20px;
}

@media screen and (min-width: 73.75em) {

    .legislator__tab-container,
    .legislator__tab-container--two {
        display: none;
    }

    /*.legislator__tab-container--three{display:none;}*/
    .legislators__pane {
        display: inline-block;
        width: 27.3%;
    }

    .legislators__pane#address_lookup {
        width: 94.3%;
    }

    .sort-toggles {
        float: right;
    }

    .person__heading {
        float: left;
    }
}

@media (min-width: 1180px) {
    .w-30 {
        width: 30%;
    }
}

.select .select__input-container {
    position: relative;
}

.select .select__list.is-active {
    -webkit-transition: opacity 0.1s linear 0.01s, z-index 0.01s linear 0.01s;
    -moz-transition: opacity 0.1s linear 0.01s, z-index 0.01s linear 0.01s;
    transition: opacity 0.1s linear 0.01s, z-index 0.01s linear 0.01s;
    opacity: 1;
    z-index: 4;
    display: inherit;
}

.select .select__list {
    -webkit-transition: opacity 0.1s linear 0.01s, z-index 0.01s linear 0.2s;
    -moz-transition: opacity 0.1s linear 0.01s, z-index 0.01s linear 0.2s;
    transition: opacity 0.1s linear 0.01s, z-index 0.01s linear 0.2s;
    background-color: #fff;
    border: 1px solid #d7d7d7;
    border-top: 0;
    box-shadow: rgb(0 0 0 / 25%) 1px 2px 7px -3px;
    display: none;
    left: 0;
    max-height: 250px;
    opacity: 0;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    position: absolute;
    width: 100%;
    z-index: -1;
    max-width: 200px;
    padding-top: 15px;
}

.select .select__link {
    color: #1d1d1d;
    display: block;
    font-weight: 500;
    padding: 7px 15px;
    font-size: 1em;
    line-height: 1;
    font-size: 14px;
    text-align: left;
}

.select .select__link:hover {
    background-color: #4163f0;
    color: #fff;
}

.select .select__list li:before {
    display: none;
}

.select .select__list li {
    padding: 0;
}

.sort-toggles {
    margin: 0;
}

.sort-toggles__label,
.sort-toggles__item {
    display: inline-block;
    font-size: 1.2em;
    margin-top: 0.3em;
}

.sort-toggles__item {
    margin-left: 1.875em;
}

.sort-toggles__label:before,
.sort-toggles__item:before {
    background: none !important;
}

@media screen and (min-width: 48em) {
    .person__header {
        text-align: left;
    }

    .person__select-all {
        display: inline-block;
        margin-left: 5px;
        margin-top: 0;
    }

    .person__heading {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 15px;
        padding-bottom: 0;
    }

    .person__label-container {
        float: right;
        margin-top: 8px;
    }
}

.person--secondary {
    margin-left: 0;
}

.person--with-map {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-around;
}

.person__map {
    max-width: 50%;
    min-width: 200px;
    min-height: 250px;
    overflow: hidden;
}

.person__container--secondary p,
.person__container--secondary .name {
    padding-bottom: 8px;
}

.legislator-list, .legislator-list .row {
    justify-content: flex-start;
}

.person input[type="checkbox"] {
    float: right;
}

.legislator-list#parent_box {
    padding-top: 0;
}

@media screen and (min-width: 48em) {
    .person--secondary .figure {
        float: left;
        margin-left: -118px;
    }

    .person__wrapper {
        text-align: left;
        margin-left: 118px;
    }

    .person__container--secondary {
        margin-left: 40px;
    }
}

@media screen and (min-width: 58.5em) {
    .person--with-map {
        flex-direction: row;
    }

    .person__map {
        min-width: 300px;
        min-height: 300px;
    }

    .person__district-header {
        text-align: left;
    }
}

@media screen and (min-width: 73.75em) {
    .person__map {
        min-width: 500px;
        height: 400px;
        margin-left: 100px;
    }
}

.members .heading-and-copy__container {
    margin-left: 8.51064%;
    float: left;
    display: block;
    margin-right: 2.12766%;
    width: 82.97872%;
    border-top: 1px solid #d7d7d7;
    padding-top: 70px;
    position: relative;
}

.members .table {
    border: 1px solid #d7d7d7;
    display: table;
    width: 100%;
}

.members .table__header {
    background-color: #4163f0;
    color: #fff;
    display: table-header-group;
}

.members .table__cell {
    display: table-cell;
    font-weight: 600;
    padding: 13px 0 13px 40px;
    text-transform: uppercase;
}

.members .table__cell:last-child {
    padding-right: 40px;
}

.members .table__cell a {
    padding: 0;
}

.contact {
    margin-bottom: 40px;
    text-align: center;
}

.mini-persons__list-container {
    float: left;
    display: block;
    margin-right: 2.12766%;
    width: 100%;
}

.mini-persons__wrapper {
    float: left;
    margin-left: 60px;
}

.mini-persons__list {
    float: left;
    margin-top: 20px;
}

.mini-persons__list-item {
    clear: both;
    float: left;
    margin-bottom: 10px;
}

.mini-persons__avatar {
    float: left;
    height: 45px;
    margin-left: -45px;
    width: 45px;
}

.mini-persons__label {
    font-family: "sofia-pro", sans-serif;
    font-size: 1.125em;
    font-weight: 900;
    position: relative;
    top: 7px;
    margin-left: 10px;
}

mini-persons__heading {
    text-align: left;
}

.mini-persons__name {
    display: block;
    font-family: "sofia-pro", sans-serif;
    font-size: 1.125em;
    font-weight: 900;
    margin-left: 20px;
    margin-top: 7px;
}

input[type="checkbox"].mini-persons__checkbox {
    display: inline;
    margin-top: 15px;
    float: left;
}

input[type="checkbox"].mini-persons__checkbox.sendcopy {
    margin-top: 10px;
}

.field__container {
    position: relative;
}

.contact__form-fields {
    float: left;
    width: 100%;
    display: block;
}

.contact__field {
    float: left;
    display: block;
    margin-right: 2.5641%;
    width: 48.5%;
}

.contact__field:last-child {
    margin-right: 0;
}

.contact__field input {
    margin-bottom: 20px;
    padding: 1em 1.5em;
}

.contact__field--half-width {
    float: left;
    display: block;
    width: 23%;
    margin-right: 2.5641%;
    width: 48.71795%;
}

.contact__field--half-width:last-child {
    margin-right: 0;
}

.contact__field.contact__field--half-width.select.select--search {
    width: 26%;
    position: relative;
}

.contact__field.contact__field--half-width.select.select--search i {
    top: 17px;
}

.contact__field.contact__field--half-width.select.select--search+.contact__field--half-width {
    width: 20%;
}

.contact__header,
.contact__form-fields {
    margin-bottom: 40px;
}

.btn.contactform {
    margin-top: 40px;
}

.contact__subject {
    color: #4063f0;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    right: 20px;
    text-transform: uppercase;
    top: 16px;
}

.filter-bar2.legislator__tab-container--three>.tab-links {
    display: none;
}

#parent_box {
    clear: both;
    float: left;
    width: 100%;
}

.person__header>.person__heading {
    color: inherit;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
}

.person__header {
    position: relative;
}

.page-template-page-findlegislators .person__header .person__label-container {
    position: absolute;
    right: 0;
    top: 60px;
}

@media screen and (min-width: 73.75em) {
    .contact__header {
        margin-left: 17.02128%;
        float: left;
        display: block;
        margin-right: 2.12766%;
    }

    .mini-persons__list-container {
        float: left;
        display: block;
        margin-right: 2.12766%;
        width: 31.91489%;
    }
}

.contact__field--full-width {
    width: 99.5%;
}

@media screen and (max-width: 991px) {
    .contact__field {
        width: 100%;
    }

    .contact__field.contact__field--half-width.select.select--search {
        width: 50%;
    }

    .contact__field.contact__field--half-width.select.select--search+.contact__field--half-width {
        width: 47%;
    }
}

@media screen and (max-width: 767px) {
    .u-transparent {
        display: none;
    }
}

/* Vote Detail Page */

.vote-details .table .table_row .table__cell {
    display: inline-block;
}

.vote-details .table .table_row .table__cell a {
    padding-right: 0;
}

.vote-details .table__list {
    margin-bottom: 60px;
}

.vote-details .heading-and-copy__container {
    margin: 0 auto;
    padding-top: 70px;
}

@media screen and (min-width: 58.5em) {
    .vote-details .heading-and-copy__container {
        width: 75%
    }
}

@media screen and (min-width: 58.5em) {
    .vote-details .heading-and-copy__heading-container {
        width: 33.33333%
    }
}

.vote-details .table {
    border: 1px solid #d7d7d7;
    display: table;
    width: 100%
}

.vote-details .table__header {
    background-color: #4163f0;
    color: #fff;
    display: table-header-group;
    font-size: 1.2em;
    line-height: 1.5;
}

.vote-details .table_row,
.vote-details .table__row {
    display: table-row;
}

.vote-details .table_row:nth-child(even),
.vote-details .table__row:nth-child(even) {
    background-color: #f9f9f9;
}

.vote-details .table__cell {
    display: table-cell;
    font-weight: 600;
    padding: 13px 40px;
    text-transform: uppercase;
}

.vote-details .table__cell:nth-child(2) {
    padding-left: 0;
}

.vote-details .table_row.vote-outcome {
    background: #fff;
    text-align: center;
    font-size: 1.1em;
}

@media screen and (max-width: 767px) {
    .vote-details .table__cell {
        padding: 13px 10px;
    }
}

/* Related Posts CTA Links */

.related-post {
    border-right: 1px solid #d7d7d7;
    /*display: table-cell;*/
    text-align: left;
    vertical-align: middle;
    width: 50%;
}

@media screen and (min-width: 48em) {
    .related-post {
        display: table-cell;
    }

    .related-post:first-child .related-post__wrapper {
        float: right;
    }
}

@media screen and (min-width: 48em) {
    .related-post:last-child .related-post__wrapper {
        float: left;
    }
}

.related-post:last-child {
    border-right: 0;
}

.related-posts__container {
    display: block;
    width: 100%;
    border-top: 1px solid #d7d7d7;
}

@media screen and (min-width: 48em) {
    .related-posts__container {
        display: table;
    }
}

.related-post__wrapper {
    padding: 30px;
    width: 100%;
}

@media screen and (min-width: 48em) {
    .related-post__wrapper {
        padding: 75px;
        width: 85%;
    }
}

.related-post__heading {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 0;
    padding-bottom: 0;
    text-transform: uppercase;
}

.related-post__subheading {
    color: #5a5f71;
    margin-top: 15px;
    font-weight: normal;
}

.related-post__title {
    margin-bottom: 0;
}

a:hover .related-post__wrapper .related-post__link,
a:focus .related-post__wrapper .related-post__link {
    text-decoration: underline;
}