/** 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;
}

.configure-block {
    margin: 5px 0;
    z-index: 10;
}
.configure-block a {
    background: none repeat scroll 0 0 #f08630;
    border-radius: 4px;
    color: #ffffff !important;
    font-size: 14px;
    padding: 5px 12px;
    text-decoration: none;
}
.configure-block a:hover {
    text-decoration: underline;
}

/**
 * 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;
}

div.search-results-table-wrapper {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  height: 800px;
  overflow-y: auto;
}
div.search-results-table-wrapper table.search-results {
    width: 100%;
    table-layout: fixed;
}
div.search-results-table-wrapper table.search-results.layout-not-fixed{
    table-layout: auto;
}
div.search-results-table-wrapper table.search-results.layout-not-fixed th{
    width: auto;
}
table.search-results td, table.search-results th{
    white-space: normal;
}
table.search-results thead th.heading { font-size: 22px; }

table.search-results thead th div.theme-name { font-size: 16px; text-align: left; }
table.search-results thead th.center div.theme-name { font-size: 16px; text-align: center; }
table.search-results thead th.bordered { border: 1px solid black; }

table.search-results thead th div.question-title { text-align: left; }

table.search-results tbody.list {
  font-family:sans-serif;
}

table.search-results th {
  padding:10px;
  background-color: #d9e7ee;
  font-size: 12px;
  vertical-align: bottom;
  width: 200px;
  z-index: 3000;
}

table.search-results td {
  padding:10px;
  border:none;
  font-size:12px;
}
table.search-results tr:nth-child(even),
table.search-results td.country {background-color:#efeff0; }
table.search-results td.bordered {border-top: 1px solid black;border-bottom: 1px solid black;}
table.search-results td.election_type {background-color:#fff;}

table.search-results td.totals {background-color:#efeff0;font-weight: bold;}

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; }
table.search-results th.center,
table.search-results td.center { text-align: center; }

table.search-results tfoot tr { background: #fff; }
table.search-results tfoot tr td.heading { font-size: 24px; font-weight: bold; text-transform: uppercase; }
table.search-results tfoot tr td table.question-summary { /*width: 100%;*/ }
body.page-data-tools-data-gender-quotas-database table.search-results.gq-search-results table.question-summary {width: 100%!important; }
body.page-data-tools-data-gender-quotas-database table.search-results.gq-search-results {table-layout: auto!important;}
body.page-data-tools-data-gender-quotas-database table.search-results.gq-search-results th,
body.page-data-tools-data-gender-quotas-database table.search-results.gq-search-results td {width: 200px;}
body.page-data-tools-data-gender-quotas-database table.search-results.gq-search-results .search-results tfoot td {padding:2px;}
table.search-results tfoot tr td table.question-summary td.field-label { color: #EA975D; }
table.search-results tfoot tr td table.question-summary td.field-value { }
table.search-results tfoot tr td table.question-summary td.total-label { font-weight: bold; color: #92A3B0; }
table.search-results tfoot tr td table.question-summary td.grand-total-label { font-weight: bold; }
div.search-results-table-wrapper table.search-results * table {
  table-layout: fixed;
  /*width: 100%;*/
}
div.search-results-table-wrapper table.search-results * table th, div.search-results-table-wrapper table.search-results * table td{
    white-space: normal;
}
table.search-results tfoot {vertical-align: top;}

table.emb-country-report td span.emb-value {
    color: #296d8c;
    cursor: pointer;
}

table.emb-country-report td span.emb-value:hover {
    text-decoration: underline;
}

div.export {
    margin-top: 20px;
    text-align: right;
    margin-bottom: 15px;
}
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;
}

/** Landing Page */

body.page-taxonomy-term #select-countrySelectBoxItOptions li.region a{font-weight:normal;padding-left:20px;}

/** Question View */

#question-map-country-compare, #question-map-global-average, #global-average-tpl { 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;}
#compare-countrySelectBoxItOptions li.world a{font-weight:bold;text-transform:uppercase;}

body.page-data-tools-question-view div.question-console { padding: 5px 0 25px 0; }

body.page-data-tools-question-view div.breakdown-report-table-wrapper { margin-bottom: 20px; height: auto!important; overflow: scroll;}
body.page-data-tools-question-view div.breakdown-report-table-wrapper p.report-header { font-size: 30px; text-transform: uppercase; margin-top: 0; margin-bottom: 10px; }
body.page-data-tools-question-view div.breakdown-report-table-wrapper table.breakdown-report { width: 100%; }
table.breakdown-report td {
    position: static!important;
}

div.breakdown-report-table-wrapper { margin-bottom: 20px; height: auto!important; overflow: scroll;}

/** Country View */
div#mapContainer{
  background-color: #fff;
}
div#mapContainer img {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
}
.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; margin-bottom: 5px; margin-top: 5px;}
ul.answer li span.name { font-weight: bold; color: #545962; }
ul.answer li span.value { padding-left: 10px; }
ul.answer li span.value * { font-size: 14px!important; font-family: sans-serif!important;}
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; }


#select-countrySelectBoxItOptions span.regional-entities {font-weight:bold;text-transform:uppercase;}
#select-countrySelectBoxItOptions li.regional-entity a{font-weight:normal;padding-left:40px;}
#select-countrySelectBoxItOptions li.world a {font-weight:bold;text-transform:uppercase;}

.featured-question-answer .ans-value {color:#296d8c;cursor:pointer;}
.featured-question-answer .ans-value:hover {text-decoration:underline;}


/** Continent View**/

body.continent-view div.charts-container { }
p.chart-disclaimer {
    margin-left: 30px;
}
/** 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;
}
body.page-data-tools-regional-comparison-view p.report-header {
    font-size: 14px;
    font-weight: bold;
}

#left-regionSelectBoxItOptions li.world a,
#right-regionSelectBoxItOptions li.world a { padding-left: 20px; }
#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; }

body.page-data-tools-regional-comparison-view table.search-results tfoot>tr,
body.page-data-tools-regional-comparison-view table.question-summary tfoot>tr { /*display: table;*/ }

/** Gender Quotas */

.gq-at-glance, .gq-lower-house, .gq-upper-house { margin-top: 20px; }

table.gq-sources thead th.heading { font-size: 22px; }

table.gq-search-results { text-align: center; }
table.gq-search-results thead th, table.gq-search-results thead th div.question-title { text-align: center; }

table.gq-search-results th { border:2px solid black; }
table.gq-search-results td { border:1px solid black; }

table.gq-sources th,
table.gq-sources td.question {
  padding:10px;
  background-color: #d9e7ee;
  font-size: 13px;
  vertical-align: bottom;
}

table.gq-sources td {
  padding:10px;
  border:none;
  font-size:13px;
}

table.gq-sources tr:nth-child(even),
table.gq-sources td.bordered {border-top: 1px solid black;border-bottom: 1px solid black;}

table.gq-sources td span.answer-value {
    color: #296d8c;
    cursor: pointer;
}

table.gq-sources td span.answer-value:hover {
    text-decoration: underline;
}
table.gq-sources th.center,
table.gq-sources td.center { text-align: center; }

ul.gd-list { display: block; list-style: none; padding: 0; margin: 0 10px; }
ul.gd-list li { font-size: 14px; list-style-type: none; }
ul.gd-list li label { font-weight: normal; }
ul.gd-list li label input { margin-right: 4px; }
ul#custom-fields-list { display: none; }

/** Voter Turnout */

div.vt-search-results-container table.search-results td.country {background-color:#fff;}
div.vt-search-results-container table.search-results td.election-type {background-color:#fff;}
div.vt-search-results-container table.search-results td.bordered {border: 1px solid black;}

/**Back to Front**/
.back-to-database div div {
    float: right;
}

.back-to-database div div * {
    color:#2c4c66;
    text-transform:capitalize;
    text-decoration:underline;
    margin-top: 30px;
}


/*Popover Styles*/
body.answer .field-item *:not(a) {
  overflow-x: hidden !important;
  line-height: 1.3 !important;
  font-size: 16px !important;
  color: #000 !important;
  font-family: 'aileron'!important;
  word-break: normal;
}

.field-name-field-source .field-item span a{
    font-size: 14px;
    font-family: 'aileron' !important;
}

/*MOST RECENT ELECTION */
.timeCheckBox {
    margin-left: 10px;
    margin-bottom: 25px;
}



.timeCheckBox .checkbox label {
    color: #2a4961;
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 14px
}

/* QVIEW FILTER */
body.page-data-tools-question-view .views-exposed-form .form-type-select a{
  padding: 0 !important;
  margin-right: 0 !important;
}
body.page-data-tools-question-view .views-exposed-form .form-type-select a{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-data-tools-question-view div#edit-field-value-text-value-wrapper .form-item-field-value-text-value {width: 150px;}

body.page-data-tools-question-view div#edit-title-1-wrapper {margin-right: 30px;}

body.page-data-tools-question-view div#edit-title-1-wrapper input#edit-title-1 {
    border-radius: 0px;
    border: none;
    height: 45px;
}
/* PREVENT SUMMARY SCROLL MESS*/
table.question-summary tbody tr td {
    position: static!important;
}

/*PF LANDING PAGE */
div#aboutSegments {
    display: flex;
    margin: 35px 0px;
    flex-wrap: wrap;
}

div#aboutSegments>div {
    flex: 1;
    margin: 10px;
}

div#aboutSegments>div>.item-heading {
    font-size: 18px;
    font-weight: bolder;
    color: #60889f;
    margin-bottom: 15px;
}

div#glossBtn {
    text-align: center;
    margin-bottom: 100px;
}

div#glossBtn>a {
    background-color: #60889f;
    color: #fff;
    padding: 10px 45px;
}

div#feedBack {
    position: relative;
    background: #fff;
    color: #ffffff;
    padding-bottom: 55px;
    width: 100vw;
    left: calc(-50vw + 50%);
    text-align: center;
}


div#feedBack>p{
    color: #000;
}
.leadLine {
    font-weight: bolder;
    color: #000;
    margin-bottom: 30px;
}

#feedBack p {
    color: #000;
}


h3.block-subtitle {
    color: #3b5f79!important;
    text-transform: none!important;
    font-weight: 700!important;
    padding-bottom: 10px!important;
    font-size: 25px!important;
    text-align: left!important;
    margin-bottom: 30px!important;
    margin-top: 55px!important;
}

a#email {
    background-color: #f38336;
    color: #fff;
    padding: 10px 45px;
}

div#email {
    margin-top: 60px;
    margin-bottom: 50px;
}

div#whiteSection li {
    list-style-position: inside;
}

div#ackBtn {text-align: center;margin: 65px 0px;}

a#acknowledgements {
    background-color: #60889f;
    color: #fff;
    padding: 10px 45px;
}


div#questionO .collapse li {
    border: 2px solid #efeff0;
    padding: 5px;
}
div#questionO li a{
    color: #000;
}

/*div#whiteSection {
    position: relative;
    background: #fff;
    padding-top: 55px;
    padding-bottom: 55px;
    width: 100vw;
    margin-top: 100px;
    left: calc(-50vw + 50%);
}*/

/*div#whiteContent {
    width: 70%;
    margin: 0 auto;
}*/
body.node-type-database.voter-turnout .topgray,
body.node-type-database.direct-democracy .topgray,
body.node-type-database.electoral-justice .topgray,
body.node-type-database.electoral-system-design .topgray,
body.node-type-database.electoral-management-design .topgray,
body.node-type-database.icts-elections .topgray,
body.node-type-database.voting-abroad .topgray,
body.node-type-database.political-finance-database .topgray{
  background-color: #fff;
}
body.node-type-database.voter-turnout .bottomgray,
body.node-type-database.political-finance-database .bottomgray{
  background-color: #efeff0;
}
body.node-type-database.voting-abroad div#searchinputwrapper div.single-selector.row,
body.node-type-database.icts-elections div#searchinputwrapper div.single-selector.row,
body.node-type-database.electoral-system-design div#searchinputwrapper div.single-selector.row,
body.node-type-database.electoral-management-design div#searchinputwrapper div.single-selector.row,
body.node-type-database.electoral-justice div#searchinputwrapper div.single-selector.row,
body.node-type-database.direct-democracy div#searchinputwrapper div.single-selector.row,
body.node-type-database.voter-turnout div#searchinputwrapper div.single-selector.row {
  width: 80%;
  margin: 0 auto;
}



p.MsoNormal {
    white-space: normal;
    word-break: break-all;
}

div#whiteSection .collapse li:nth-child(even) { background: #efefef; }

div#one {
    margin-top: 30px;
}

div#whiteSection ol {
    padding-left: 0;
}


p.questionAnchorHolder {
    margin: 29px 0px;
}

p.faQuestion {
    font-size: 16px;
    color: #3b5f79;
    font-weight: bolder;
}

span.answertoQ {
    color: #f38336;
}

#whiteSection .nav-tabs > li.active > a,
#whiteSection .nav-tabs > li.active > a:hover,
#whiteSection .nav-tabs > li.active > a:focus {
    border:none;
    border-top: 5px solid #3b5f79;
    border-radius:0px;
    background-color: #efeff0;
    padding:20px
}
#whiteSection .nav-tabs > li a{
    padding: 20px;
    color: #000;
}

body.page-node-269502 .main-container.container {
    padding-bottom: 0;
}
body.page-node-269502 .bottomfullcontent{
  display: none;
}

#whiteSection ul.nav.nav-tabs li {
    flex: 1;
    text-align: center;
}

#whiteSection ul.nav.nav-tabs {
    display: flex;
    flex-wrap: wrap;
}

#whiteContent .tab-content h2 {
    margin: 50px 0;
}
#whiteContent .tab-content h4:not(.panel-title) {
    margin-top: 40px;
}
div#GlossFloss .row {
    margin-top: 30px;
    border-bottom: 2px;
}

div#GlossFloss .col-md-3 {
    font-weight: bold;
}
div#GlossFloss .modal-dialog {
  width: 80%;
}
#GlossFloss .modal-header {
    text-align: center;
    font-size: 25px;
}
ul.extras {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

ul.extras>li {
    flex: 1;
    background-color: #f38336;
    margin: 30px;
    list-style: none;
    text-align: center;
    padding: 10px;
}

ul.extras>li>a {
    color: #fff;
}

div#searchinputwrapper {
  position: relative;
  background: #c0cad1;
  padding-top: 50px;
  width: 100vw;
  left: calc(-50vw + 50%);
  margin-bottom: 100px;
      padding: 85px 0;
}

body.page-node-269502 .single-selector.row {
    width: 80%;
    margin: 0 auto;
}
div.fixed-column div {
    display: flex;
    align-items: center;
    font-size: 13px;
    white-space: normal;
    padding-left: 10px;
    width: 200px;
    background-color: #efeff0;
}
/*DATA TOOLS PAGE*/
div.view-display-id-datatools .view-header {
    float: left;
}

div.view-display-id-datatools .view-filters {
    float: left;
}

div#question-map {
    margin-bottom: 25px;
}

div#question-map-country {
    margin-top: 50px;
}

body.vt-advanced-search{
    background-color:#fff
}
.back-to-database.row {
    margin-bottom: 30px;
}
body.page-node-269496 .selectboxit-container .selectboxit,
body.page-node-269497 .selectboxit-container .selectboxit,
body.page-node-269498 .selectboxit-container .selectboxit,
body.page-node-269499 .selectboxit-container .selectboxit,
body.page-node-269500 .selectboxit-container .selectboxit,
body.page-node-269501 .selectboxit-container .selectboxit,
body.page-node-269502 .selectboxit-container .selectboxit,
body.page-node-269503 .selectboxit-container .selectboxit,
body.page-node-269504 .selectboxit-container .selectboxit{
    display:flex;
    overflow:visible
}
body.data-tools .popover-content * {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif!important;
    font-size: 14px!important;
     word-break: normal;
}

body.page-data-tools-country-view-40 div.search-results-table-wrapper {
  height: auto!important;
}
div.node-answer .content a {
    text-decoration: underline;
    color: #296d8c!important;
    cursor: pointer;
}
body.answer .field-item a > span{
    text-decoration: underline;
    color: #296d8c!important;
    cursor: pointer;
}
