@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

:root {
  --theme-color: #004E80;
  --light-blue: #dde9f1;

  --bar1: #004E80;
  --bar2: #0E9594;
  --bar3: #074B4B;

  --large: #496182;
  --medium: #495fbe;
  --small: #218fa5;
  --single: #21a56c;
}

html, body {
  font-family: 'Merriweather', serif;
  font-size: 12px;
  margin: 0;
}

a, h1, h2, h3, h4 {
  font-family: 'Bree Serif', serif;
}

h2 {
  color: var(--theme-color);
  font-size: 30px;
  font-weight: 100;
  margin: 0;
}

h3 {
  color: var(--theme-color);
  font-size: 24px;
  font-weight: 100;
  margin: 0;
}

.hamburgerMenu {
  display: none;
  position: fixed;
  flex: 0 0 auto;
  flex-direction: column;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  padding: 16px 0px;
  background-color: var(--theme-color);
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  z-index: 10;
  transform: translateX(100%);
  transition: transform .2s;
}

.hamburgerItem {
  color: #fff;
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 8px;
}

.hamburgerBackdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  z-index: 9;
}

.mainWrapper {
  display: flex;
  flex-direction: column;
  max-width: 1180px;
  margin: 0 auto;
}

.infoTextWrapper {
  width: 60%;
  margin-top: 24px;
  background-color: rgba(0,0,0,.03);
  padding: 14px;
  font-size: 13px;
}

.infoTextWrapper h4 {
  font-size: 15px;
  margin: 6px 0px;
}

.quote {
  font-style: italic;
  background-color: var(--light-blue);
  color: var(--theme-color);
  padding: 8px;
}

.quote p {
  margin-top: 0;
}

.quoteSource {
  text-align: right;
  margin-left: auto;
  font-weight: bold;
  display: block;
}

.headerWrapper {
  display: flex;
}

.logoWrapper {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  text-decoration: none;
}

.contactWrapper {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
}
  
.contactWrapper .contactItems {
  list-style-type: none;
  display: flex;
}
  
.contactWrapper .contactItems li {
  margin: 0 5px;
}
  
.contactWrapper .contactItems li.contactEmail a {
  color: #505050;
  text-decoration: none;
  display: flex;
  font-size: 16px;
}
  
.contactWrapper .contactItems li.contactEmail a img {
  margin-right: 3px;
}

.logoTitle {
  flex: 0 1;
  color: var(--theme-color);
  line-height: 23px;
  font-weight: 500;
  margin: 0 0 0 7px;
  text-decoration: none;
}

.menuBar {
  max-width: 1180px;
  margin: 0;
  padding: 0;
  display: flex;
  list-style-type: none;
}

.menuBar .menuItem {
  color: white;
  text-decoration: none;
  font-size: 16px;
  position: relative;
}

.menuLink {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  color: white;
  padding: 8px;
  text-decoration: none;
  font-size: 16px;
}

.menuLink:hover {
  background-color: #003f67;
  cursor: pointer;
}

.hamburgerButton {
  display: none;
  background-image: url("../images/icons/menu.svg");
  width: 40px;
  height: 40px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center;
  padding: 4px;
}

.menuWrapper {
  background: var(--theme-color);
}

.introWrapper {
  max-width: 1180px;
  margin: 15px auto;
  display: flex;
  background: url("../images/banner.png");
}

.introBlock {
  flex: 57% 0 0;
  padding: 20px;
}

.introBlock, .secondaryBlock {
  background: rgba(255,255,255,0.9);
  margin: 25px 25px 25px 0;
  padding: 25px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.introBlock p, .secondaryBlock p {
  color: #414042;
  margin: 0;
  padding: 10px 0;
}

.introBlock p {
  line-height: 30px;
  font-size: 15px;
}

.secondaryBlock p {
  font-size: 14px;
  line-height: 22px;
}

.readMoreButton {
  color: white;
  text-decoration: none;
  background: var(--theme-color);
  padding: 8px 30px;
  font-size: 18px;
  margin: auto 0 0 0;
  align-self: baseline;
}

.readMoreButton:hover {
  background-color: #00446f;
  text-decoration: underline;
}

.mainContentContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
}

.mainContentWrapper {
  max-width: 1180px;
  width: 100%;
  display: flex;
}

.rankingContainer {
  width: 100vw;
  margin: 0px 18px;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.rankingWrapper {
  padding: 0;
  padding-right: 18px;
  list-style: none;
  overflow-y: auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.noData {
  width: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  flex: 0 0 auto;
}

.rankingOrderWrapper {
  margin: 0 0 10px 0;
}

.rankingOrderList {
  position: relative;
}

.rankingOrderWrapper .rankingOrderList {
  display: flex;
  list-style-type: none;
  padding: 5px;
  margin: 0;
  align-items: center;
}

.rankingOrderWrapper .rankingOrderList li {
  align-items: center;
  display: flex;
  margin-right: 10px;
  font-size: 14px;
  color: #414042;
  background: #d3e8ff;
  padding: 5px 10px;
}

.rankingOrderWrapper .rankingOrderList li:last-child {
  align-items: center;
  display: flex;
  margin-right: 0px;
  font-size: 12px;
  color: #414042;
  background: #d3e8ff;
  padding: 10px 8px;
}

.rankingOrderWrapper .rankingOrderList li.selectedRanking {
  background: #2a648a;
}

.rankingOrderWrapper .rankingOrderList li input {
  margin: 0 5px 0 0;
  border: 0;
}
    
.rankingOrderWrapper .rankingOrderList li input[type="radio"]:checked+label {
  color: #ffffff;
}

.rankModeButton, .rankModeButton label, .rankModeButton input {
  cursor: pointer;
}

.rankModeButton .bonusInfo {
  margin-left: 4px;
}

.partyLegendWrapper, .partyLegend {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.partyLegendWrapper {
  display: none;
  margin-top: 8px;
  padding: 5px;
}

.partyLegendBlock {
  width: 16px;
  height: 16px;
  background-color: #000;
  margin-right: 6px;
  box-shadow: rgb(0 0 0 / 24%) 0px 0px 2px;
}

.partyLegendText {
  color: #333;
  margin-right: 12px;
}

.partySizeButton {
  position: absolute;
  right: 0;
  width: 112px;
}

.menuItemDropdown {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  position: absolute;
  background-color: #d3e8ff;
  z-index: 1;
  width: 100%;
  pointer-events: none;
  transition: clip-path .2s;
  position: absolute;
  top: 36px;
  right: 0;
  z-index: 10;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
}

.dropdownOpen.menuItemDropdown {
  pointer-events: all;
  -webkit-clip-path: inset(0 0 0% 0);
  clip-path: inset(0 0 0% 0);
}

.partySizeOption {
  padding: 10px 8px;
}

.partySizeOption:hover {
  background-color: #bbcde2;
  cursor: pointer;
}

.menuDropdownArrow {
  background-image: url(../images/icons/arrow_down.svg);
  width: 16px;
  height: 16px;
  background-size: 22px;
  background-position: center;
  background-position-y: -2px;
  margin-right: 8px;
}

.selectedRanking .bonusInfo {
  -webkit-filter: invert(1) brightness(2);
  filter: invert(1) brightness(2);
}

.rankingTitleContainer {
  display: flex;
  flex-direction: column;
}

.rankingTitleWrapper {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.rankingTitleSortWrapper {
  display: flex;
  align-items: center;
}

.rankingTitle {
  font-size: 28px;
}

.rankingSubtitle {
  display: flex;
  align-items: center;
  color: var(--theme-color);
  margin: 0;
  font-size: 13px;
  font-weight: bold;
}

.rankInfo {
  width: 16px;
  height: 16px;
  background-size: 16px;
  background-image: url(../images/icons/info.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 2px;
  padding: 2px;
  display: inline-block;
}

.rankSortArrow {
  width: 24px;
  height: 24px;
  background-size: 28px;
  background-image: url("../images/icons/sort.svg");
  margin-left: 8px;
  cursor: pointer;
}

#rankSort .tooltipBody {
  padding: 0;
}

.rankSortButton {
  display: flex;
  align-items: center;
  padding: 8px;
  border-bottom: 1px solid #c7c7c7;
  cursor: pointer;
  background-color: #FFF;
  transition: background-color .2s;
}

.rankSortButton:last-child {
  border: none;
}

.rankSortButton:hover {
  background-color: #f7f7f7;
}

.rankSortCheck {
  display: none;
  width: 16px;
  height: 16px;
  background-size: 16px;
  background-image: url("../images/icons/check.svg");
  margin-left: auto;
}

.rankingSearchBarWrapper {
  position: relative;
  margin-left: auto;
}

.rankingSearchBar {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: 'Merriweather', serif;
  background-color: var(--light-blue);
  padding: 6px 8px 6px 32px;
  border-radius: 4px;
}

.rankingSearchIcon {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 24px;
  height: 24px;
  background-size: 24px;
  background-image: url("../images/icons/search.svg");
}

.selectedEntry .rankEntryPositionBackground {
  width: 100%;
  border-radius: 8px;
}

.selectedEntry .rankEntryName {
  color: #FFF;
}

.rankEntryIconWrapper {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
}

.sideBarWrapper {
  width: 250px;
  min-width: 250px;
  background-color: var(--light-blue);
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.sideBarRight {
  margin-left: auto;
}

.sidebarDetailsWrapper {
  display: none;
  font-size: 13px;
}

.sidebarDetailImageWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--theme-color);
  border-radius: 50%;
  width: min-content;
  height: auto;
  padding: 5px;
  margin: 0 auto;
}

.sidebarDetailImage {
  display: block;
  width: 120px;
  height: 120px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  clip-path: circle(50% at center);
  -webkit-clip-path: circle(50% at center);
}

.sidebarDetailImageSmall {
  background-color: rgb(255, 255, 255);
  background-size: 70%;
}

.sidebarDetailPartySticker {
  width: 52px;
  height: 52px;
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -8px;
  background-size: 52px;
  background-repeat: no-repeat;
  background-position: center;
}

.partyStickerBackdrop {
  background-color: #fff;
  background-size: 42px;
  border-radius: 4px;
  box-shadow: 1px 1px 2px 0px #d4d4d4;
  bottom: -11px;
  right: -14px;
}

.detailsPoints {
  font-weight: bold;
}

.shareButtonWrapper {
  margin-top: 28px;
}

.shareButton {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  font-size: 16px;
  text-align: left;
  margin-bottom: 8px;
  padding: 8px 0px;
}

.shareText {
  margin-left: 40px;
}

.socialShareIcon {
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  margin-left: 8px;
  width: 24px;
  height: 24px;
  background-size: 24px;
  -webkit-filter: brightness(10) saturate(0) contrast(10);
  filter: brightness(10) saturate(0) contrast(10);
}

.socialIconFacebook {
  background-image: url("../images/icons/facebook.svg");
}

.socialIconTwitter {
  background-image: url("../images/icons/twitter.svg");
}

.socialIconLinkedin {
  background-image: url("../images/icons/linkedin.svg");
}

.sideBarTitleWrapper {
  background-color: var(--theme-color);
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
}

.sideBarTitleWrapper h2 {
  color: #FFFFFF;
  font-size: 24px;
  margin: 0px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sideBarMobileClose, .dataPopupClose {
  display: none;
  padding: 8px;
  width: 28px;
  height: 28px;
  background-size: 28px;
  background-image: url(../images/icons/close.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-left: auto;
  cursor: pointer;
}

.dataPopupClose {
  display: block;
}

.sideBarContentWrapper {
  padding: 12px;
  display: flex;
  flex-direction: column;
  color: #505050;
  box-sizing: border-box;
  height: auto;
  overflow: hidden;
}

.sideBarContentWrapper p {
  margin: 0;
  margin-bottom: 4px;
}

.sideBarSectionWrapper {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 24px;
}

.sideBarSectionWrapper:first-child {
  margin-top: 0;
}

.sideBarSectionTitle {
  font-weight: bold;
  font-size: 18px;
  width: 100%;
}

.viewDataLink {
  color: var(--theme-color);
  font-size: 14px;
  margin-left: 4px;
  font-weight: normal;
}

.filterWrapper {
  margin-top: 12px;
}

.filterWrapper.partyCheckboxWrapper {
  overflow-y: auto;
  background: #f1f9ff;
  padding: 10px;
  max-height: 250px;
}

.checkboxToggleButton {
  display: block;
  margin-left: 6px;
  width: 20px;
  height: 20px;
  background-size: 20px;
  background-image: url("../images/icons/check_toggle_off.svg");
  cursor: pointer;
  opacity: 0.7;
}

.resetButton {
  display: none;
  margin-left: 6px;
  width: 22px;
  height: 22px;
  background-size: 22px;
  background-image: url("../images/icons/reset.svg");
  cursor: pointer;
  opacity: 0.7;
}

.resetButton:hover {
  opacity: 0.9;
}

.sliderWrapper {
  display: flex;
  margin-bottom: 12px;
  flex-direction: column;
  background: #f1f9ff;
  padding: 10px;
}

.sliderWrapper:last-child {
  margin-bottom: 0;
}

.bonusInfo {
  width: 18px;
  height: 18px;
  background-size: 18px;
  background-image: url(../images/icons/info.svg);
  background-repeat: no-repeat;
  background-position: center;
  margin-left: auto;
  padding: 2px;
}

.sliderPercentage {
  font-size: 14px;
}

.sliderTitleWrapper {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.sliderName {
  overflow-wrap: break-word;
  font-size: 14px;
}

.sliderInputWrapper {
  display: flex;
  align-items: center;
}

.slider {
  width: 200px;
  margin-left: auto;
  background: linear-gradient(90deg, rgba(224,0,0,1) 0%, rgba(198,255,0,1) 50%, rgba(3,212,9,1) 100%);
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--theme-color);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--theme-color);
  cursor: pointer;
}

.checkboxWrapper {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.checkbox {
  -webkit-appearance: none;
  appearance: none;
	background-color: #b7b7b7;
	padding: 8px;
	display: inline-block;
	position: relative;
  margin-right: 8px;
}

.checkbox:checked {
	background-color: var(--theme-color);
	color: #99a1a7;
}

.checkbox:checked:after {
	content: '\2714';
	font-size: 12px;
	position: absolute;
	top: 0px;
	left: 3px;
	color: #FFF;
}

.mobileFilterButton {
  display: none;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 28px;
  color: #fff;
  background-color: var(--theme-color);
  padding: 0px 12px;
  padding-left: 10px;
  font-weight: bold;
  position: absolute;
  right: 0;
  margin-right: 18px;
  margin-top: 6px;
}

.mobileFilterIcon {
  width: 16px;
  height: 16px;
  background-size: 16px;
  background-image: url("../images/icons/filter.svg");
  margin-top: 2px;
  margin-right: 4px;
}

.sliderPercentage {
  display: none;
}

.rankEntry {
  width: auto;
  /*height: 54px;*/
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(90deg, #D4D4D4, #D4D4D4);
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  padding: 5px 0;
}

.rankEntryAboveAverage {
  background: linear-gradient(90deg, #88baf1, #8fbff7);
}

.rankEntryAboveAverage .rankEntryName {
  color: #383838;
}

.rankEntryAboveAverage .rankEntryPositionBackground {
  background-color: #498dbe;
}

.rankEntryHighlighted {
  background: linear-gradient(90deg, #2a77a5, #8fbff7);
  flex: 0 0 auto;
}

.disabledRankEntry {
  background: #eeeeee;
}

.disabledRankEntry .rankEntryPositionBackground {
  background-color: #d3d3d3;
}

.disabledRankEntry .rankEntryPosition {
  color: #646464;
}

.disabledRankEntry .avatar, .disabledRankEntry .partyIcon {
  opacity: .7;
}

.partyLarge .rankSeatWrapper {
  background-color: var(--large);
}

.partyMedium .rankSeatWrapper {
  background-color: var(--medium);
}

.partySmall .rankSeatWrapper {
  background-color: var(--small);
}

.partySingle .rankSeatWrapper {
  background-color: var(--single);
}

.rankEntry.partySingle .showMember, .rankEntry.partySmall .showMember, .rankEntry.partyMedium .showMember, .rankEntry.partyLarge .showMember {
  display: none;cursor:auto
}

.rankEntry.partySingle, .rankEntry.partySmall, .rankEntry.partyMedium, .rankEntry.partyLarge {
  cursor:auto
}

.rankEntry:hover .rankEntryPositionBackground {
  width: 100%;
  border-radius: 8px 8px 8px 8px;
}

.rankEntry:hover .rankEntryName {
  transform: translateY(-8px);
  color: #FFF;
}

.rankEntry:hover .rankEntryInfoText {
  opacity: 1;
}

.rankEntryPositionWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 56px;
  left: 0;
}

.rankEntryPositionBackground {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 56px;
  left: 0;
  background-color: #797979;
  border-radius: 8px 0px 0px 8px;
  transition: width .5s, border-radius .5s;
}

.rankEntryHighlighted .rankEntryPositionBackground {
  background-color: #2A648A;
}

.rankEntryPosition {
  font-weight: bold;
  color: #FFF;
  margin: auto;
  font-size: 20px;
}

.rankEntryName {
  color: #555;
  font-weight: normal;
  font-size: 20px;
  z-index: 1;
  transition: transform .3s, color .3s;
}

.rankEntryHighlighted .rankEntryName {
  color: #FFF;
  margin-left: 12px;
}

.rankEntryHighlighted .rankEntryInfoText {
  margin-left: 58px;
  bottom: 5px;
  transform: translateY(-50%);
}

.rankEntryInfoText {
  opacity: 0;
  user-select: none;
  color: #FFF;
  font-size: 12px;
  position: absolute;
  margin-left: 48px;
  margin-top: 18px;
  transition: opacity .5s;
  bottom: 0;
}

.rankEntryImageWrapper {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  z-index: 1;
}

.avatarMedal {
  width: 46px;
  height: 62px;
  background-size: cover;
  display: flex;
  position: relative;
}

.medalFirst {
  background-image: url(../images/icons/first.svg);
}

.medalSecond {
  background-image: url(../images/icons/second.svg);
}

.medalThird {
  background-image: url(../images/icons/third.svg);
}

.avatarMedal .avatar {
  top: 4px;
  left: 4px;
  position: absolute;
}

.avatar {
  width: 38px;
  height: 38px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../images/default-avatar.png");
  clip-path: circle(50% at center);
  -webkit-clip-path: circle(50% at center);
  margin-right: 10px;
}

.avatarSmall {
  background-size: 75%;
  background-color: #fff;
}

.rankEntryInfoWrapper {
  display: flex;
  align-items: center;
  margin: 0px 52px 0px 64px;
  width: 100%;
  position: relative;
}

.partyIcon {
  width: 32px;
  height: 32px;
  background-size: 32px;
  background-repeat: no-repeat;
  margin-right: 12px;
}

.rankSeatWrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #000;
  width: 42px;
  height: 100%;
  position: absolute;
  right: 0;
  justify-content: flex-end;
  padding: 0px 8px;
  border-radius: 0px 6px 6px 0px;
  z-index: 1;
}

.rankSeats {
  color: #FFF;
  font-weight: bold;
}

.seatIcon {
  display: block;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  background-size: 24px;
  background-image: url("../images/icons/seat.svg");
}

.footerWrapper {
  width: 100%;
  display: flex;
}

.leftSpacingWrapper {
  width: 250px;
}

.sponsorMainWrapper {
  margin: 0 auto;
}

.aboutUsWrapper {
  width: 250px;  
}

.aboutUsWrapper ul {
  list-style-type: none;  
  padding: 0;
}

.aboutText {
  list-style-type: none;
  font-size: 16px;
  color: #414042;
  margin: 2px 0;
}

.aboutUsWrapper ul li a {
  text-decoration: none;
  color: #004e80;
  font-size: 14px;
}

.sponsorNotice {
  margin: 8px;
  text-align: center;
  color: #505050;
}

.sponsorWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.sponsorImage {
  height: 8rem;
  width: auto;
  opacity: .8;
  transition: opacity .2s;
}

.sponsorImage:hover {
  opacity: 1;
}

.sponsorImage img {
  height: 100%;
}

.copyrightText {
  text-align: center;
  font-size: 10px;
  opacity: 0.9;
}

/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--light-blue);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--theme-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.tooltip {
  display: none;
  z-index: 100;
  padding-left: 32px;
  max-width: 264px;
}

.dataBarTooltip {
  display: none;
  z-index: 100;
  background-color: #2c3e50;
  padding: 4px 12px;
  border-radius: 4px;
}

#dataBarTooltipText {
  color: #fff;
}

.tooltipInner {
  color: #212529;
  border-radius: 2px;
  font-size: 12px;
  background-color: #fff;
  position: absolute;
  inset: 0px auto auto 0px;
}

.tooltipTitleWrapper {
  display: flex;
  align-items: center;
  background-color: #f7f7f7;
  border: 1px solid #c7c7c7;
  font-size: 16px;
  font-family: 'Bree Serif', serif;
  height: 24px;
  padding: .1rem .75rem;
}

.tooltipBody {
  padding: .5rem .75rem;
  background-color: #fff;
  border: 1px solid #c7c7c7;
  border-top: 0;
}

.tooltipBody a {
  color: var(--theme-color);
}

.arrow,
.arrow::before {
  position: absolute;
  width: 8px;
  height: 8px;
  background: inherit;
}

.arrow {
  visibility: hidden;
  background-color: #FFF;
}

.arrow::before {
  visibility: visible;
  content: '';
  transform: rotate(45deg);
  border-left: 1px solid #c7c7c7;
  border-bottom: 1px solid #c7c7c7;
}

.tooltip[data-popper-placement^='top'] .arrow {
  bottom: -6px;
}

.tooltip[data-popper-placement^='bottom'] .arrow {
  top: -6px;
}

.tooltip[data-popper-placement^='left'] .arrow {
  right: -6px;
}

.tooltip[data-popper-placement^='right'] .arrow {
  left: 28px;
}

.dataPopupContainer {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,.5);
  z-index: 20;
}

.dataPopupWrapper {
  max-width: 412px;
  width: auto;
  height: auto;
  box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
}

.dataBarContainer {
  max-height: 300px;
  overflow: auto;
  margin: 8px 0px;
  background-color: rgba(0,0,0,0.08);
  padding: 12px 0px;
}

.dataBarWrapper {
  display: flex;
  align-items: center;
  margin: 8px 8px 0px 8px;
}

.dataBarWrapper:first-child {
  margin-top: 0px;
}

.dataBarTitle {
  width: 264px;
  text-align: right;
  margin-right: 4px;
}

.dataBar {
  display: flex;
  align-items: center;
  height: 24px;
  width: 100%;
  background-color: #acc0ce;
  position: relative;
  border-radius: 6px;
  margin-left: 4px;
}

.dataBar.controlering {
  background-color: #aacbcb;
}

.dataBar.vertegenwoordiging {
  background-color: #90afaf;
}

div[data-property=ingediende_motie] .dataBar {
  background-color: #ddb5b5;
}

.dataBarValue {
  color: #FFF;
  font-weight: bold;
  margin-left: 8px;
  z-index: 10;
}

.dataBarInner {
  width: 0%;
  height: 100%;
  background-color: var(--theme-color);
  position: absolute;
  border-radius: 6px;
  transform-origin: left;
  animation: barAnim 1s forwards;
  transition: box-shadow .2s;
}

.dataBarInner.ingediende_motie {
  background-color: #f55151!important
}

.dataBarInner.light {
  width: 100%;
  transition: none;
  opacity: .3;
}

.dataBarInner:hover {
  box-shadow: inset 0px 0px 0px 2px rgb(0 0 0 / 50%);
}

.dataLegendWrapper {
  display: flex;
  margin-top: 4px;
}

.dataLegend {
  width: 28px;
  height: 16px;
  border-radius: 6px;
}

.dataLegendText {
  margin-left: 4px;
}

.legendColor1 {background-color: var(--bar1);}
.legendColor2 {background-color: var(--bar2);}
.legendColor3 {background-color: var(--bar3);}

.dataTitle {
  margin: 12px;
}

.dataSection {
  background-color: #FFF;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
  margin: 24px;
  padding: 8px;
  width: auto;
  overflow-x: auto;
}

.showMember {
  position: absolute;
  left:0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.sideBarWrapper.sideBarRight {
  display: none!important
}

@keyframes barAnim {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media only screen and (max-width: 768px) {
  .headerWrapper {
    background-color: var(--theme-color);
    padding: 0px 6px;
    box-sizing: border-box;
  }
  .contactItems li, .mainLogo {
    -webkit-filter: brightness(10) saturate(0) contrast(10);
    filter: brightness(10) saturate(0) contrast(10);
  }
  .rankingWrapper {
    overflow-y: scroll;
  }
  .mainLogo {
    margin: auto;
  }
  .logoTitle {
    display: none;
  }
  .contactItems li a {
    height: 100%;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
  }
  .hamburgerMenu {
    display: flex;
  }
  .hamburgerButton {
    display: block;
  }
  .menuWrapper {
    display: none;
  }
  .rankingOrderWrapper .rankingOrderList {
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .rankingOrderWrapper .rankingOrderList li {
    box-sizing: border-box;
    padding: 10px 12px;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .rankModeButton {
    width: 100%;
  }
  .rankModeButton .bonusInfo {
    margin-left: auto;
  }
  .partySizeButton  {
    position: relative;
  }
  .desktopIntroExtra {
    display: none;
  }
  .slider {
    width: 100%;
    margin-left: 0;
    height: 8px;
  }
  .slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }
  .slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }
  .checkboxWrapper {
    background-color: #FFF;
    padding: 12px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
  }
  .partyCheckbox {
    margin-right: 10px;
  }
  .shareButton {
    font-size: 18px;
    padding: 14px 0px;
  }
  .rankSortButton {
    padding: 14px 24px;
  }
  .contactWrapper {
    align-items: center;
  }
  .fullEmailAddress {
    display: none;
  }
  .rankList {
    padding-right: 0px;
  }
  .menuBar .menuItem .menuLink {
    padding: 0 5px;
  }
  .rankEntryName {
    font-size: 16px;
    width: 75%;
  }
  .partyIcon {
    width: 26px;
    height: 26px;
    background-size: 26px;
  }
  .rankingTitleWrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .rankingSearchBarWrapper {
    margin-left: 0;
    margin-top: 12px;
  }
  .mobileFilterButton {
    display: flex;
  }
  .moreIcon {
    display: none;
  }
  .headerWrapper {
    justify-content: center;
    width: 100%;
  }
  .introWrapper {
    flex-direction: column;
    background: #e6f4fd;
    width: 100vw;
  }
  .introBlock, .secondaryBlock {
    box-sizing: border-box;
    margin: 10px;
    padding: 10px;
  }
  .secondaryBlock {
    margin: 0 10px 10px 10px;
  }
  h2 {
    font-size: 22px;
  }
  .introBlock p {
    line-height: 20px;
    font-size: 13px;
  }
  .secondaryBlock p {
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .readMoreButton {
    font-size: 15px;
  }
  .mainLogo {
    width: 40px;
  }
  .logoWrapper {
    padding: 5px 0;
    justify-content: flex-start;
    margin-left: 8px;
  }
  .sideBarLeft, .sideBarRight {
    display: none;
    overflow-y: scroll;
  }
  .footerWrapper {
    overflow-y: auto;
    flex-direction: column;
  }
  .aboutUsWrapper {
    text-align: center;
    width: 100%;
  }
  .sideBarMobileClose {
    display: block;
  }
  .sideBarWrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    left: 0;
    top: 0;
    z-index: 10;
  }
  .dataBarContainer {
    max-height: 100%;
  }
  .infoTextWrapper {
    width: 80%;
  }
  .copyrightText {
    margin: 5px 0;
  }
}

@media only screen and (max-width:1024px) and (orientation:landscape) {
  .mainWrapper {
    margin:10px;
  }
}
