/*********  THEMES  ********/
:root {
    --default:#fff;
    --primary: #7e8687;
    --secondary:#bc9c6e;
    --primary-dark:#3a4c53;
    --primary-light: #b3b7b7;
    --secondary-dark: #98784a;
    --secondary-light: #d3af94;
    --dark-gray:#555;
    --gray:#ddd;
    --darker-gray: #a3a3a3;
    --lightgray:#f9f9f9;
    --lightergray:#fff;
    --red: #c23c3c;
    --lightred:#ff4d4d;
    --green:#5cb85c;
    --text-color:#333;
    --text-color-secondary:#9d9d9d;
    --link-color:#337ab7;
    --contrast:#fff;
    --light:#e7e7e7;
    --highlight:#333;
}

/********* CONTENT ********/
html {
    font-size: inherit;
}

ul {
    padding: 0;
}

legend {
    background: transparent !important;
}

h1#page-title {
    margin-bottom: 0 !important;
}

.small-fieldset {
    border-bottom: 1px solid #e5e5e5;
}

.small-legend {
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: bold;
    color: var(--text-color-secondary);
}

.main-content {
    margin: 20px 40px;
}

#search_results {
    margin: 0 auto;
    max-width: 800px;
}

#search_results > table {
    margin: 0 auto;
    min-width: 400px;
}

input[type="button"]:hover, input[type="submit"]:hover {
    text-decoration: none !important;
    background-color: #86785a;
}

.single-input {
    width: 70px;
}

input.sm-input {
    width: 120px;
}

.md-input {
    width: 195px !important;
}

.red {
    color: #8c2e0b;
}

.green {
    color: #327935;
}

.icon {
    color: white;
    border-radius: 100%;
    padding: 7px;
    vertical-align: top;
    margin: 0 8px;
}

img.icon.icon-search-white {
    border-radius: 0;
    padding: 0;
}

#toast-container > div {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    opacity: 0.9;
    font-size: 0.9em;
    margin-top: 20px;
    background-color: #892023;
}

.error {
    color: var(--red);
    font-weight: bold;
}

div.error {
    background: transparent !important;
    background-image: none !important;
}

.error-icon {
    background: #8c2e0b;
}

.success-icon {
    background: #3c763d;
}
.success-icon {
    background: #3c763d;
}
.bold {
    font-weight: bold;
}

.no-bold {
    font-weight: normal !important;
}

.default-link {
    color: #00588c !important;
    text-decoration: none !important;
    cursor: pointer;
}

.default-link:focus {
    outline: 3px solid #0096ff !important;
}

.ical-link {
    color: #555 !important;
    font-size: 1.1em;
}

.separator {
    vertical-align: text-top;
    font-weight: normal;
    margin: 5px;
}

.form-table {
    border: none;
    margin: 0 auto;
    min-width: 60%;
}

.form-table .primary {
    color: #435858;
}

.form-table tr td {
    border: none;
    padding: 10px;
}

.form-table tr th {
    border: none;
    background: transparent;
}

.form-table tr th:first-child {
    padding-right: 25px;
    vertical-align: middle;
}

.summary-table {
    background-color: #e4dfd1;
    min-width: 400px;
    margin: 5px 30px 30px 30px;
    border: 1px solid #888;
}

.summary-table > thead > tr > th {
    padding: 8px 10px;
    color: #333;
    background-color: #b9b2a3;
    font-size: 1.2em;
}

.summary-table > thead > tr > th:first-child {
    text-align: left;
    border: 0;
}

.summary-table > thead > tr > th:last-child {
    text-align: right;
    border: 0;
}

.summary-table > tbody > tr > td {
    background-color: transparent;
    vertical-align: top !important;
    padding: 6px 15px;
    font-weight: bold;
    border: 0;
}

.summary-table > tbody > tr > td:first-child {
    background-color: transparent;
    color: #666;
}

.summary-table > tbody > tr > td:last-child {
    padding-right: 0;
}

/********* FORMS **********/
.form-control {
    display: inline;
    width: auto;
}

.form-lbl {
    padding-right: 15px;
    font-size: 1.1em;
    text-align: right;
    vertical-align: middle;
}

button[disabled], html input[disabled] {
    cursor: default;
    background-color: #a4936d;
    opacity: 0.6;
}

input[type='submit'][disabled]:hover {
    background-color: #a4936d;
}

.no-br {
    white-space: nowrap;
}

.no-border {
    border: none;
}

.short-text {
    max-width: 60px;
}

.info-txt {
    color: #8c8c8c;
    font-style: italic;
}

.info-icon {
    font-style: normal;
    font-size: 1.1em;
    vertical-align: text-top;
}

.full-width {
    width: 100%;
}

.inline-radio-group ul {
    padding-top: 3px;
    padding-left: 5px;
    height: 30px;
}

.inline-radio-group ul > li {
    display: inline-block;
    margin-right: 20px;
}

ul.inline-radio-group{
    display: inline-block;
    padding: 0;
    margin-bottom: 0;
}

ul.inline-radio-group > li {
    display: inline-block;
    margin-right: 20px;
    line-height: 1em !important;
}

ul.chk-group {
    line-height: 0;
    list-style: none;
    /*margin-left: -30px;*/
    vertical-align: top;
}

.aligned-radio {
    position: relative !important;
    margin-right: 5px !important;
}

.collapsible {
  background-color: #c1b79e;
    width: 875px;
  padding: 10px;
    margin: 15px;
  border: 1px solid #514942;
    border-radius: 10px;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.collapsible.active {
    margin-bottom: 0;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.collapsible-content {
    width: 875px;
    background-color: #e7e0da;
    border: 1px solid #999;
    border-radius: 10px;
    margin: 15px;
    margin-top: 0px;
    padding: 15px 0;
}

.collapsible-content.active {
    border-radius: 0 0 10px 10px;
}

.collapsible-btn {
    float: right;
    margin-top: -5px;
    background: none !important;
    outline: 0 !important;
    border: none !important;
    font-weight: bold;
    box-shadow: none !important;
}

.collapsible-btn:hover, .collapsible-btn:focus {
    color: #555;
}

.collapsible-desc {
    margin-bottom: 0;
    margin-top: 8px;
    font-size: 0.8em;
    color: #333;
}

.content-div {
    width: 45%;
    display: inline-block;
    border: 1px solid #ccc;
    margin-right: 35px;
    border-radius: 15px;
    padding-bottom: 20px;
    background: #e6dfda;
}

.content-div h3 {
    display: inline;
    width: 50%;
    color: #f3f3f3;
}

.content-div button {
    display: inline-block;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    text-align: center;
    padding: .5em 0.75em;
    text-shadow: 0 1px 1px rgb(0 0 0 / 30%);
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    -webkit-box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 3px 5px rgba(0,0,0,.2);
    box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
    margin: -8px 0px 10px 0;
    color: #181717;
    font-weight: bold;
    border: solid 1px #514942;
    background-color: #bfaf89;
}

.content-div button:hover, .content-div button:focus, .content-div button:active {
    background-color: #b6a47c !important;
    border: solid 1px #514942;
}

.header-div {
    background: #612b2b;
    outline: 1px solid #421f1f;
    width: 100%;
    padding: 15px;
    border-radius: 10px 10px 0 0;
}

#block-findabillfindmylegislator {
    padding: 21px 20px 21px;
}

.field--name-body p {
    line-height: 0.85;
    margin-bottom: 2rem;
}

.body-div {
    padding: 15px 20px;
}

div.btn-div {
    margin: 0 auto;
    text-align: right;
    padding-right: 25px;
}

.btn {
    font-weight: bold;
}

.btn:disabled {
    color: #d3d3d3;
    background-color: #8a9198;
    border-color: #8a9198;
}

.btn-primary {
    background: #bc9c6e;
    border-color: #bc9c6e;
}

.btn-primary:hover {
    background: #98784a !important;
    border-color: #98784a !important;
}

.btn-secondary {
    background: #7d8687;
    border-color: #7d8687;
}

.btn-secondary:hover {
    background: #3a4c53 !important;
    border-color: #3a4c53 !important;
}

.btn-danger {
    background: var(--red);
    border-color: var(--red);
}

.btn-danger:hover {
    background: #810101FF !important;
    border-color: #810101FF !important;
}

.title-div {
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 15px;
}

.errorlist {
    padding-left: 0;
    margin-bottom: 0;
}

.errorlist > li {
    color: #8c2e0b;
    font-weight: bold;
    list-style: none;
    padding-left: 0;
}

.gallery {
    width: 100%;
    text-align: center;
    background: whitesmoke;
    margin: 0 auto;
    margin-top: 15px;
    border-radius: 5px;
    border: 2px solid var(--contrast);
}

.gallery > tbody > tr > td {
    text-align: center;
    border-right: none;
}

.gallery > tbody > tr > td:last-child {
    border-right: 1px solid #666;
}

.gallery > thead > tr > th {
    background: #c1b79e;
    color: #333;
    padding: 6px 0;
    text-align: center;
    border-right: none;
}

.gallery > tbody > tr > th:last-child {
    border-right: 1px solid #666;
}

.pad-right {
    padding-right: 25px;
}

.modal-close {
  overflow-y:auto;
  padding-right:0 !important;
}

.long-modal {
    height: 70vh;
    overflow-y: auto;
    padding: 0;
}

.modal-header {
    background-color: var(--lightgray);
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid var(--gray);
    padding: 10px;
}

.modal-header .close {
     padding: 0;
     margin: 0 5px 12px 0;
}

.modal-footer {
    background-color: var(--lightgray);
    border-radius: 0 0 5px 5px;
    border-top: 1px solid var(--gray);
}

.modal-table {
    margin: auto;
    min-width: 400px;
}

.modal-table tr td input {
    display: inline;
}

.modal-subtitle {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
}

#district-select-table td {
    padding: 2px 5px;
    border-bottom: 1px solid #e8e8e8;
}

#district-select-table th {
    padding: 4px 5px;
    border-bottom: 1px solid #a1a1a1;
}

a.district-select {
    color: #337ab7 !important;
    text-decoration: none !important;
}

.modal-subtitle {
    font-size: 0.9em;
    font-variant: none;
    color: #666;
}

.alert > ul.errorlist {
    margin-bottom: 0;
}

/***** RESPONSIVE *****/
@media only screen
  and (max-width: 1250px) {

    .alert-warning {
        font-size: 0.85em;
    }

    .back-to-top {
        font-size: 0.75em;
    }
}

@media only screen
  and (max-width: 1000px) {

    .collapsible-desc {
        font-size: 0.7em;
    }
}

@media only screen
  and (max-width: 850px) {

    .alert-warning {
        font-size: 0.75em;
    }

    .collapsible-desc {
        font-size: 0.6em;
    }

    .form-table tr td {
        display: inline-block;
    }
}
