/** Database Interface */

.idea_status {
    padding: 20px 0;
    font-weight: bold;
    text-transform: uppercase;
    display: none;
}

.idea_error {
    color: #C30;
}

.idea_result {
    color: #000;
}

.idea-spinner {
    background: url('../images/ajax-spinner.gif') no-repeat center;
    height: 100px;
    width: 100px;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1000;
    margin: -25px 0 0 -25px;
}
div.form-item,
div.form-item .dropdown {
  overflow: visible;
}

/**
 * Edit answer form
 */

form.node-answer-form .question-choices ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

form.node-answer-form .question-choices ul li {
    font-size: 14px;
    list-style-type: none;
}

form.node-answer-form .question-choices ul li span {
    color: #545962;
    padding-left: 10px;
}

form.node-answer-form .question-choices ul li.active span {
    text-decoration: none;
    color: #b52025;
}

form.node-answer-form .question-choices p {
    padding-left: 25px;
}

/**
 * Reports
 */

span.query-info,
span.hidden-info {
    display: none;
}

table.idea-report {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.8em;
}

table.idea-report tr th {
    border-bottom: 1px solid #CCCCCC;
    font-family: 'Avenir LT W01 85 Heavy';
    font-size: 0.75em;
    padding: 13px 8px;
    text-transform: uppercase;
    text-align: left;
    color: #000;
}

table.idea-report tr th a {
    color: #000;
}

table.idea-report tr th a:hover {
    color: #003c67;
}

table.idea-report tr th a img.img-responsive {
    display: inline;
}

table.idea-report th.t-centered,
table.idea-report td.t-centered {
    text-align: center;
}

table.idea-report tr td {
    border: medium none;
    font-size: 1.125em;
    padding: 9px 8px;
}

table.idea-report tr td a {
    color: #296d8c;
}

table.idea-report a.console {
    color: #003C67;
    font-size: 0.75em;
    text-transform: uppercase;
    float: right;
}

table.idea-report a.console i.fa-plus-circle {
    color: #8ABB4C;
}

/** Advanced Search */

div.search-results-table-wrapper {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}
div.search-results-table-wrapper table.search-results {
    width: 100%;
}
table.search-results thead th.heading {
    font-size: 22px;
}

table.search-results tbody.list {
  font-family:sans-serif;
}

table.search-results th {
  padding:10px;
 /* border:2px solid black;*/
  background-color: #d9e7ee;
  font-size: 13px;
  vertical-align: bottom;
}

table.search-results td {
  padding:10px;
  border:none;
  font-size:13px;
}
table.search-results tr:nth-child(even),
table.search-results td.country {background-color:#efeff0;}
table.search-results td.election_type {background-color:#fff;}

table.search-results td span.answer-value {
    color: #296d8c;
    cursor: pointer;
}

table.search-results td span.answer-value:hover {
    text-decoration: underline;
}

table.search-results input {
  border:solid 1px #ccc;
  border-radius: 5px;
  padding:7px 14px;
  margin-bottom:10px
}

table.search-results input:focus {
  outline:none;
  border-color:#aaa;
}

table.search-results .sort {
  padding:8px 30px;
  border-radius: 6px;
  border:none;
  display:inline-block;
  color:#fff;
  text-decoration: none;
  background-color: #28a8e0;
  height:30px;
}

table.search-results .sort:hover {
  text-decoration: none;
  background-color:#1b8aba;
}

table.search-results .sort:focus {
  outline:none;
}

table.search-results .sort:after {
  display:inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  content:"";
  position: relative;
  top:-10px;
  right:-5px;
}

table.search-results .sort.asc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  content:"";
  position: relative;
  top:4px;
  right:-5px;
}

table.search-results .sort.desc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
  content:"";
  position: relative;
  top:-4px;
  right:-5px;
}

table.search-results td.group-last {
    border-bottom: 1px solid black;
}

div.export { margin-top: 20px; }

div.export span.status { padding-left: 10px; }

div.country-report-table-wrapper {
    margin-top: 40px;
}

span.big_number {
    font-size: 56px;
    display: block;
}

span.big_description {
    font-size: 18px;
}


.tree-container ul.console,
.idea-list-container ul.console {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: bold;
}

.tree-container ul.console li,
.idea-list-container ul.console li {
    list-style-type: none;
    display: inline;
}

.tree-container .term {
    cursor: pointer;
}

.tree-container input[name='countries'],
.tree-container input[name='countries-re'],
.tree-container input[name='questions'] {
    margin-right: 5px;
}

.idea-list-container ul.countries-alpha {
    list-style: none;
    margin: 10px 15px;
    padding: 0;
    font-size: 12px;
    font-weight: bold;
}

.idea-list-container ul.countries-alpha li {
    list-style-type: none;
    display: block;
}

.idea-list-container input[name='countries-alpha'] {
    margin-right: 5px;
}

/** Question View */

#question-map-country-compare { display: none; }

#compare-countrySelectBoxItOptions li.country a{padding-left:40px;}
#compare-countrySelectBoxItOptions li.region a{font-weight:bold;padding-left:20px;}
#compare-countrySelectBoxItOptions li.continent a{font-weight:bold;text-transform:uppercase;}

/** Country View */
.featured-question-title {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 5px 0px 5px;
}

.featured-question-subtitle {
    font-size: 14px;
    font-style: italic;
    padding: 0px 5px;
}

.featured-question-answer {
    font-size: 14px;
    padding: 10px 5px;
}

p.featured-question-noanswer {
    color: #FF0000;
    font-style: italic;
}

ul.answer { display: block; list-style: none; padding: 0; margin: 0; }
ul.answer li { font-size: 14px; list-style-type: none; }
ul.answer li span.name { font-weight: bold; color: #545962; }
ul.answer li span.value { padding-left: 10px; }
ul.answer li span.code { }
ul.answer li span.quote p { font-style: italic; }

p.political-parties-note { font-size: 12px; font-style: italic; padding: 10px 0; }


/** Continent View**/

body.continent-view div.charts-container{
display: none;

}
/** Regional Comparison View */

body.page-data-tools-regional-comparison-view p.nosel {
    font-style: italic;
}
body.page-data-tools-regional-comparison-view .main-container{
  margin-top: 50px;
}
#left-regionSelectBoxItOptions li.region a,
#right-regionSelectBoxItOptions li.region a { padding-left: 20px; }
#left-regionSelectBoxItOptions li.continent a,
#right-regionSelectBoxItOptions li.continent a { font-weight: bold; text-transform: uppercase; }
