/**
 * @file
 * This file contains styles for the widget that should be included in the distribution.
 */
/**
 * Layout declarations.

 * @TODO: Add responsive design!
 */
.eiti-map-wrapper .map-option-widget,
.eiti-map-wrapper .leaflet-container,
.eiti-map-wrapper .country-list-wrapper {
  margin: 0 auto;
  width: 1300px;
}
.eiti-map-wrapper .country-list-wrapper {
  max-width: 80em;
}
.eiti-map-wrapper .leaflet-container {
  height: 500px;
}
.eiti-map-wrapper .country-info-top-indicators {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.eiti-map-wrapper .country-info-top-indicators .info {
  flex: 1;
  margin-right: 1em;
}
.eiti-map-wrapper .country-info-top-indicators .info:last-child {
  margin-right: 0;
}
.eiti-map-wrapper .country-info-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.eiti-map-wrapper .country-info-content .info-block {
  flex: 1;
  min-width: 10em;
  margin-right: 1em;
}
.eiti-map-wrapper .country-info-content .info-block:last-child {
  margin-right: 0;
}
.eiti-map-wrapper .country-list-wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.eiti-map-wrapper .country-list-wrapper .country-col {
  flex: 1;
  min-width: 10em;
  margin-right: 1em;
}
.eiti-map-wrapper .map-option-widget {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.eiti-map-wrapper .map-option-widget > li {
  flex: 1;
  min-width: 10em;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(3) {
  flex: 1.2;
}
.eiti-map-wrapper .legend {
  font-family: 'Open Sans';
  text-align: left;
  line-height: 1.5em;
  color: #555;
  width: 25em;
}
.eiti-map-wrapper .legend .responsive-header {
  display: none;
}
.eiti-map-wrapper .legend .legend_header {
  margin-bottom: 5px;
}
.eiti-map-wrapper .legend .legend_title {
  line-height: 1.8em;
}
.eiti-map-wrapper .legend .legend_footer {
  color: #555;
}
.eiti-map-wrapper .legend .responsive-legend {
  display: block;
}
.eiti-map-wrapper .legend i {
  width: 16px;
  height: 16px;
  float: left;
  margin-right: 0.5em;
  margin-top: 0.4em;
}
.eiti-map-wrapper .legend i.satisfactory_progress {
  background-color: #2D8B2A;
}
.eiti-map-wrapper .legend i.meaningful_progress {
  background-color: #84AD42;
}
.eiti-map-wrapper .legend i.inadequate_progress___suspended {
  background-color: #FAC433;
}
.eiti-map-wrapper .legend i.no_progress {
  background-color: #C00000;
}
.eiti-map-wrapper .legend i.yet_to_be_assessed_against_the_standard {
  background-color: #6CBCE3;
}
.eiti-map-wrapper .legend i.suspended {
  background-color: #FF6600;
}
.eiti-map-wrapper .legend i.other {
  background-color: #808080;
}
.eiti-map-wrapper .legend i.suspended_for_missing_deadline {
  background-color: #FAC433;
  background-image: url(../images/icon-dump/eiti_alarm_clock.svg), none;
  background-size: 11px;
  background-repeat: no-repeat;
  background-position-x: 3px;
  background-position-y: 2px;
}
.eiti-map-wrapper .legend i.suspended_due_to_political_instability {
  background-color: #FAC433;
  background-image: url(../images/icon-dump/eiti_lightning.svg), none;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position-x: 3px;
}
.eiti-map-wrapper .legend h2 {
  line-height: 1.25em;
}
.eiti-map-wrapper .legend h2 span {
  font-size: 12px;
  cursor: pointer;
  color: #0078A8;
}
.eiti-map-wrapper .resizable-map {
  width: 100% !important;
}
.eiti-map-wrapper .leaflet-container {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}
.eiti-map-wrapper .leaflet-popup-content-wrapper {
  font-family: 'Open Sans';
  padding: 0;
  border-radius: 0;
}
.eiti-map-wrapper .leaflet-popup-content-wrapper,
.eiti-map-wrapper .leaflet-popup-tip {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}
.eiti-map-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 0;
  line-height: normal;
}
.eiti-map-wrapper .map-option-wrapper {
  background-color: #005382;
  color: #0192c7;
}
.eiti-map-wrapper .map-option-wrapper .map-option-widget {
  cursor: pointer;
  list-style: none;
  padding: 0 0 0;
}
.eiti-map-wrapper .map-option-wrapper .map-option-widget:before,
.eiti-map-wrapper .map-option-wrapper .map-option-widget:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.eiti-map-wrapper .map-option-wrapper .map-option-widget:after {
  clear: both;
}
.eiti-map-wrapper .map-option-widget {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-left: 1px solid #0a6997;
  border-right: 1px solid #0a6997;
}
.eiti-map-wrapper .map-option-widget > li {
  -webkit-transition: color 400ms ease-in-out;
  -o-transition: color 400ms ease-in-out;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: url('../images/map-icons/map-sprite.png') no-repeat;
  line-height: 3.75em;
  padding-left: 3.75em;
  display: block;
  position: relative;
  text-transform: uppercase;
}
.eiti-map-wrapper .map-option-widget > li > span {
  display: block;
  border-right: 1px solid #0a6997;
}
.eiti-map-wrapper .map-option-widget > li:last-child > span {
  border-right: none;
}
.eiti-map-wrapper .map-option-widget > li.active,
.eiti-map-wrapper .map-option-widget > li:hover {
  background-color: #023554;
  color: #ffffff;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(1) {
  background-position: 14px 13px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(1):hover,
.eiti-map-wrapper .map-option-widget > li:nth-child(1).active {
  background-position: 14px -37px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(2) {
  background-position: 14px -406px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(2):hover,
.eiti-map-wrapper .map-option-widget > li:nth-child(2).active {
  background-position: 14px -458px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(3) {
  background-position: 14px -203px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(3):hover,
.eiti-map-wrapper .map-option-widget > li:nth-child(3).active {
  background-position: 14px -254px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(4) {
  background-position: 14px -96px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(4):hover,
.eiti-map-wrapper .map-option-widget > li:nth-child(4).active {
  background-position: 14px -150px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(5) {
  background-position: 14px -304px;
}
.eiti-map-wrapper .map-option-widget > li:nth-child(5):hover,
.eiti-map-wrapper .map-option-widget > li:nth-child(5).active {
  background-position: 14px -353px;
}
.eiti-map-wrapper .map-option-widget .map-option-items {
  background-color: #023554;
  list-style: none;
  line-height: normal;
}
.eiti-map-wrapper .map-option-widget .map-option-items li {
  color: #999999;
  cursor: pointer;
  margin: 1em;
  padding: 0;
  text-transform: none;
}
.eiti-map-wrapper .map-option-widget .map-option-items li:hover,
.eiti-map-wrapper .map-option-widget .map-option-items li.active {
  color: #ffffff;
}
.eiti-map-wrapper .map-option-widget .map-option-items li:before {
  content: '\25B8';
  margin-right: 4px;
}
.eiti-map-wrapper .country-info-wrapper {
  padding: 0 1em 1em;
}
.eiti-map-wrapper .country-info-wrapper a:hover {
  text-decoration: none;
}
.eiti-map-wrapper .country-info-wrapper .title {
  font-weight: normal;
}
.eiti-map-wrapper .country-info-wrapper .country-icon {
  height: 1.5em;
  width: 1.5em;
}
.eiti-map-wrapper .country-info-header {
  background-color: #f4f4f4;
  padding: 1em;
  margin-left: -1em;
  margin-right: -1em;
}
.eiti-map-wrapper .country-info-header img {
  margin-right: 1em;
}
.eiti-map-wrapper .country-info-top-indicators {
  margin: 1em 0;
}
.eiti-map-wrapper .country-info-content .info-block {
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}
.eiti-map-wrapper .country-info-content .value {
  font-weight: bold;
}
.eiti-map-wrapper .country-info-content .icon {
  width: 1.5em;
  height: 1.5em;
}
.eiti-map-wrapper .country-list-wrapper {
  padding: 2em 0;
}
.eiti-map-wrapper .country-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.eiti-map-wrapper .country-list li {
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 0.75em;
  padding-bottom: 0.75em;
}
.eiti-map-wrapper .country-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.eiti-map-wrapper .country-list .empty {
  opacity: 0.4;
  cursor: default;
}
.eiti-map-wrapper .country-list a {
  color: #00a5e9;
  text-decoration: none;
}
.eiti-map-wrapper .country-list a:hover {
  color: #f5822a;
}
.eiti-map-wrapper .country-list .member-status {
  display: inline-block;
  height: 1em;
  margin-right: 0.5em;
  width: 1em;
}
.eiti-map-wrapper .country-list .member-status.satisfactory_progress {
  background-color: #2D8B2A;
}
.eiti-map-wrapper .country-list .member-status.meaningful_progress {
  background-color: #84AD42;
}
.eiti-map-wrapper .country-list .member-status.inadequate_progress___suspended {
  background-color: #FAC433;
}
.eiti-map-wrapper .country-list .member-status.no_progress {
  background-color: #C00000;
}
.eiti-map-wrapper .country-list .member-status.yet_to_be_assessed_against_the_2016_standard {
  background-color: #6CBCE3;
}
.eiti-map-wrapper .country-list .member-status.yet_to_be_assessed_against_the_standard {
  background-color: #6CBCE3;
}
.eiti-map-wrapper .country-list .member-status.suspended {
  background-color: #FF6600;
}
.eiti-map-wrapper .country-list .member-status.other {
  background-color: #808080;
}
.eiti-map-wrapper .country-list .member-status.suspended_for_missing_deadline {
  background-color: #FAC433;
  background-image: url(../images/icon-dump/eiti_alarm_clock.svg), none;
  background-size: 11px;
  background-repeat: no-repeat;
  background-position-x: 3px;
  background-position-y: 2px;
}
.eiti-map-wrapper .country-list .member-status.suspended_due_to_political_instability {
  background-color: #FAC433;
  background-image: url(../images/icon-dump/eiti_lightning.svg), none;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position-x: 3px;
}
.eiti-map-wrapper .country-list .report {
  float: right;
  width: 1.25em;
  height: 20px;
}
.eiti-map-wrapper .country-list .report:hover {
  opacity: 0.4;
}
.eiti-map-wrapper .st0 {
  fill: none;
  stroke: #00A5E9;
  stroke-width: 5;
}
@media (max-width: 1024px) {
  .eiti-map-wrapper .country-list-wrapper .country-col {
    min-width: 15em;
  }
  .eiti-map-wrapper .country-list-wrapper {
    max-width: 40em;
  }
  .eiti-map-wrapper .map-container {
    width: 100%;
  }
  .eiti-map-wrapper .map-option-wrapper {
    width: 100%;
  }
  .eiti-map-wrapper .map-option-widget {
    width: 100%;
  }
  .eiti-map-wrapper .map-option-widget li {
    padding: 0;
    width: 10%;
  }
  .eiti-map-wrapper .map-option-widget {
    width: 100%;
  }
  .eiti-map-wrapper .map-option-widget li {
    font-size: 9px;
    padding: 18px 12px 26px 60px;
    width: 12%;
    line-height: 1em;
  }
  padding-left: 1px;
  .eiti-map-wrapper .map-container ul ul li {
    width: 100%;
  }
  .eiti-map-wrapper .map-option-widget > li:hover .map-option-items {
    top: 5.75em;
    padding-left: 1px;
  }
}
@media (max-width: 768px) {
  .eiti-map-wrapper .country-col {
    width: 290px;
  }
  .eiti-map-wrapper .country-list-wrapper {
    max-width: 19em;
  }
  .eiti-map-wrapper .country-list {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 0.75em;
  }
  .eiti-map-wrapper .map-option-widget li {
    border-right: none;
    border-left: none;
    line-height: 1em;
    width: 23%;
  }
  .eiti-map-wrapper .map-container ul ul li {
    padding-bottom: 10px;
    width: 100%;
  }
}
@media (max-width: 667px) {
  .eiti-map-wrapper .map-option-widget li {
    border-right: none;
    border-left: none;
    padding: 17px 0 19px 20px;
    width: 15%;
    line-height: 1.75em;
    background: none;
  }
  .eiti-map-wrapper .map-option-wrapper ul ul {
    margin-top: 12px;
    width: 120px;
    padding-left: 0px;
  }
  .eiti-map-wrapper .map-option-wrapper ul ul li {
    padding: 10px 0 10px 0;
  }
}
@media (max-width: 401px) {
  .eiti-map-wrapper .legend H2.responsive-header {
    display: block;
  }
  .eiti-map-wrapper .legend DIV.responsive-legend {
    display: none;
  }
  .eiti-map-wrapper .map-option-widget li {
    background: none;
    border-right: none;
    border-left: none;
    padding: 10px 0 10px 10px;
    margin-bottom: 0;
    width: 100%;
  }
  .eiti-map-wrapper .map-option-wrapper ul ul {
    margin-top: -30px;
    padding-bottom: 10px;
    width: 60%;
  }
}
/******************************************************************************
 * Helper mixins.
 */
/*
 * Box sizing.
 *
 * @see: http://caniuse.com/#feat=css3-boxsizing
 * @see: http://www.w3.org/TR/css3-ui/#box-sizing
 */
/*
 * CSS Transitions.
 *
 * @see: http://caniuse.com/#feat=css-transitions
 * @see: https://drafts.csswg.org/css-transitions-1
 * @see: https://drafts.csswg.org/css-transitions-1/#animatable-css
 */
/*
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of 'table' rather than 'block' is only necessary if using
 *    ':before' to contain the top-margins of child elements.
 *
 * @see: http://www.paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither
 * @see: http://nicolasgallagher.com/micro-clearfix-hack
 * @see: http://www.satzansatz.de/cssd/onhavinglayout.html
 * @see: http://quirksmode.org/css/css2/display.html
 */
