/*--------------------------------------------------------------
(C) ewybory.eu
--------------------------------------------------------------*/
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 200; src: url(/fonts/SofiaSansCondensed-ExtraLight.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 300; src: url(/fonts/SofiaSansCondensed-Light.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 300; src: url(/fonts/SofiaSansCondensed-LightItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400; src: url(/fonts/SofiaSansCondensed-Regular.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 400; src: url(/fonts/SofiaSansCondensed-Italic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 500; src: url(/fonts/SofiaSansCondensed-Medium.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 500; src: url(/fonts/SofiaSansCondensed-MediumItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 600; src: url(/fonts/SofiaSansCondensed-SemiBold.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 600; src: url(/fonts/SofiaSansCondensed-SemiBoldItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 700; src: url(/fonts/SofiaSansCondensed-Bold.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 700; src: url(/fonts/SofiaSansCondensed-BoldItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 800; src: url(/fonts/SofiaSansCondensed-ExtraBold.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 800; src: url(/fonts/SofiaSansCondensed-ExtraBoldItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 900; src: url(/fonts/SofiaSansCondensed-Black.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 900; src: url(/fonts/SofiaSansCondensed-BlackItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 800; src: url(/fonts/SofiaSansExtraCondensed-ExtraBold.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: normal; font-weight: 300; src: url(/fonts/SofiaSansSemiCondensed-Light.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: italic; font-weight: 300; src: url(/fonts/SofiaSansSemiCondensed-LightItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: normal; font-weight: 400; src: url(/fonts/SofiaSansSemiCondensed-Regular.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: italic; font-weight: 400; src: url(/fonts/SofiaSansSemiCondensed-Italic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: normal; font-weight: 500; src: url(/fonts/SofiaSansSemiCondensed-Medium.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: italic; font-weight: 500; src: url(/fonts/SofiaSansSemiCondensed-MediumItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: normal; font-weight: 600; src: url(/fonts/SofiaSansSemiCondensed-SemiBold.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: italic; font-weight: 600; src: url(/fonts/SofiaSansSemiCondensed-SemiBoldItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: normal; font-weight: 700; src: url(/fonts/SofiaSansSemiCondensed-Bold.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: italic; font-weight: 700; src: url(/fonts/SofiaSansSemiCondensed-BoldItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: normal; font-weight: 800; src: url(/fonts/SofiaSansSemiCondensed-ExtraBold.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: italic; font-weight: 800; src: url(/fonts/SofiaSansSemiCondensed-ExtraBoldItalic.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: normal; font-weight: 900; src: url(/fonts/SofiaSansSemiCondensed-Black.woff2) format('woff2'); font-display: swap;}
@font-face {font-family: 'Sofia Sans Semi Condensed'; font-style: italic; font-weight: 900; src: url(/fonts/SofiaSansSemiCondensed-BlackItalic.woff2) format('woff2'); font-display: swap;}

* {
	box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    font-size: 1rem;
    min-height: 100%;
    max-width: 100% !important;
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    font-family: "Sofia Sans Semi Condensed", serif;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-rendering: optimizeLegibility;
    background: #fff;
}
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
tr, td {
    white-space: pre-line !important;
    vertical-align:top;
    padding-top:3px;
}
tr {
    border-bottom: 0.75px solid #999;
}
th:first-child {
    text-align: left;
    padding-left:0;
    padding-right: 6px;
}
th {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap !important;
    vertical-align: middle;
    padding-left: 6px;
    padding-right: 6px;
}
td:first-child {
    text-align: left;
    padding-left: 6px;
    padding-right: 6px;
}
td {
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
}
blockquote {
    padding:10px 15px;
    background:#ededed;
    font-weight:300;
    margin:30px 0;
    font-size:1rem;
}
blockquote.owblockquote {
	background:#ddd;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
button {
	background: #d41244;
	text-transform: uppercase;
    border-radius: 3px;
    font-family: "Sofia Sans Semi Condensed",serif;
}
ul {
	margin-bottom: 0 !important;
}
.site-header {
    background: #fff;
}
.header-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 18px 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.header-socials {
    display: flex;
}
.header-socials a {
    align-items: center;
    justify-content: center;
    font-size: auto;
    font-weight: 700;
}
.site-logo {
    text-align: center;
}
.site-logo img {
    width: auto;
}
.site-logo a {
    font-size: 34px;
    font-weight: 800;
}
.main-nav {
    position: relative;
    z-index: 999;
    background: #fff;
    border-bottom: 4px solid #d41244;
}
.main-menu {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
    list-style: none;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    white-space: nowrap;
}
.main-menu li {
    position: relative;
}
.main-menu a {
    display: block;
    padding: 3px 10px 2px 10px;
    font-weight: 800;
    margin: 0 3px 6px 3px;
    border-radius: 3px;
    font-size: 1rem;
    transition: background .15s ease, color .15s ease;
}
.main-menu li.current-menu-item > a,
.main-menu li.current_page_item > a,
.main-menu li.current-menu-parent > a,
.main-menu li.current-menu-ancestor > a,
.main-menu li.current-page-ancestor > a {
    background: #d41244;
    color: #fff;
}
.main-menu a:hover {
    background: #d41244;
    color: #fff;
}
.menu-toggle,
.menu-close {
    display: none;
}
.page-content,
.post-content,
.posts-list {
    max-width: 100%;
    max-width: none;
    margin: 0 0 30px 0;
    padding: 0;
}
h1,
.entry-header-inner {
    max-width: 1280px;
    margin: 30px 0;
}
.post-item {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 18px;
    border-bottom: 1px solid #ddd;
}
.post-item h2 {
    margin: 0 0 10px;
}
.ad-area {
    margin: 0 auto;
	width:100%;
}
.ad-widget {
    display: flex;
    align-items: center;
    justify-content: center;
}
.content-layout {
    width: 100%;
    display: grid;
    gap: 24px;
}
.content-layout.layout-none {
    display: block;
}
.content-layout.layout-left {
    grid-template-columns: 280px minmax(0, 1fr);
}
.content-layout.layout-right {
    grid-template-columns: minmax(0, 1fr) 280px;
}
.site-sidebar {
    padding: 18px;
}
.sidebar-widget {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 16px;
}
.sidebar-title {
    margin: 0 0 12px;
    font-size: 18px;
}
.site-footer {
    margin-top: 50px;
    background: #eee;
    color: #222;
    bottom: 0 !important;
    width: 100%;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li + li {
    margin-top: 8px;
}
.footer-col a {
    color: #fff;
    opacity: 0.85;
}
.footer-col a:hover {
    opacity: 1;
}

/*--------------------------------------------------------------
# Wyniki graficzne w kolumnach (sondaze, wybory)
--------------------------------------------------------------*/
.title-data {display:inline-block;}
.bar, .bar2 {
    width: 100%;
    text-align: center;
    margin-bottom:40px;
}
.bar_party {
    width: 100%;
    display: flex;
}
.container_bg {
    flex: 1;
}
.column_bg {
    position: relative;
    flex-grow: 1;
    height: 100%;
}
.column {
    position: absolute;
    bottom: 0;
    width: 100%;
    animation: fadeInGx 800ms 0ms forwards;
}
.name {
    width: 100%;
    bottom: 0;
    font-weight: 500;
    color: #444;
    border-top: 1px solid #444;
    height: 32px;
    line-height: 18px;
    margin-bottom: -32px;
    font-family: 'Sofia Sans Condensed';
    text-transform: uppercase;
}
.logo {
    -webkit-box-shadow: 0px 4px 8px 0 #777;
    margin: -8px auto 0 auto;
    position: sticky;
	border-radius:3px;
}
.score {
    position: absolute;
    width: 100%;
    animation: fadeIn 800ms 0ms forwards;
    animation-delay: 0.6s;
    animation-fill-mode: both;
    color: #222;
    font-family: 'Sofia Sans Condensed';
}
.change {
    width: 80%;
    margin: 0 auto;
    animation: fadeIn 800ms 0ms forwards;
    animation-delay: 0.7s;
    animation-fill-mode: both;
    font-family: 'Sofia Sans Condensed';
}
@keyframes fadeIn {
    from {
      opacity:0;
    }
  to {
      opacity:0.85;
    }
}
@keyframes fadeInChange {
    from {
      opacity:0;
    }
  to {
      opacity:0.85;
    }
}
@keyframes fadeInGx {
    from {
      opacity:0;
      height:0;
    }
  to {
      opacity:0.85;
    }
}

/*--------------------------------------------------------------
# Wyniki w tabeli (sondaĹźe, wybory)
--------------------------------------------------------------*/
.results_header, .results_header_votes {
    text-align: center;
}
th.results_header[colspan]{
    position: relative;
    border-bottom: 0;
}
.result, .seats, .group {
    text-align:center;
    font-weight:600;
    color:#222;
    padding-top: 3px;
}
.votes {
    text-align:center;
    font-weight:300;
    color:#222;
    padding-top: 3px;
    white-space:nowrap !important;
}
.chng {
    text-align:center;
    font-weight:300;
    color:#444;
    padding-top: 3px;
}

/*--------------------------------------------------------------
# Box Poll
--------------------------------------------------------------*/
.box_poll {
    display: inline-block;
    width: 100%;
    color:#000;
    white-space:nowrap;
    text-transform:uppercase;
    font-family: "Sofia Sans Condensed", serif;
    margin-top:0 !important;
    margin-bottom:20px !important;
}
.box_name {
	border-bottom: 1px dashed#222;
	font-size: 1.4rem;
      border-bottom:0;
      color:#fff;
      margin:0;
      letter-spacing: 0;
      line-height:1.6;
      font-weight: 900;
      text-shadow: 1px 1px #555;
      border-radius:3px 3px 0 0;
}
.box_score {
    padding-right: 5px;
    color:#444;
    float:left;
    letter-spacing: -0.7px;
    line-height: 1.1
}
.box_change {
      font-size:1.4rem;
      font-weight:900;
}
.plus {
    color:#5FA121;
    text-align:center;
}
.minus {
    color:#ff0000;
    text-align:center;
}
.nn {
    color:#666;
    text-align:center;
}

/*--------------------------------------------------------------
# Partie
--------------------------------------------------------------*/
.pis {
    background:#004AAD;
}
td.pis {
    border-left:6px solid #004AAD;
    background:transparent;
    padding-left:6px;
}
.ko {
    background:#E19F39;
}
td.ko {
    border-left:6px solid #E19F39;
    background:transparent;
    padding-left:6px;
}
.td {
    background:#c0bc2f;
}
td.td {
    border-left:6px solid #c0bc2f;
    background:transparent;
    padding-left:6px;
}
.lewica {
    background:#CC0000;
}
td.lewica, td.nl {
    border-left:6px solid #CC0000;
    background:transparent;
    padding-left:6px;
}
.razem {
    background:#870f57;
}
td.razem {
    border-left:6px solid #870f57;
    background:transparent;
    padding-left:6px;
}
.konfederacja {
    background:#0e213c;
}
td.konfederacja, td.konf {
    border-left:6px solid #0e213c;
    background:transparent;
    padding-left:6px;
}
.centrum {
    background:#1F6FB8;
}
td.centrum {
    border-left:6px solid #1F6FB8;
    background:transparent;
    padding-left:6px;
}
.kkp {
    background:#A37919;
}
td.kkp {
    border-left:6px solid #A37919;
    background:transparent;
    padding-left:6px;
}
.mn {
    background:#333;
}
td.mn {
    border-left:6px solid #333;
    background:transparent;
    padding-left:6px;
}
.other {
    background:#AAAAAA;
}
td.other {
    border-left:6px solid #AAAAAA;
    background:transparent;
    padding-left:6px;
}
.pl2050 {
    background:#e0cc4c;
}
td.pl2050 {
    border-left:6px solid #e0cc4c;
    background:transparent;
    padding-left:6px;
}
.psl {
    background:#3da63d;
}
td.psl {
    border-left:6px solid #3da63d;
    background:transparent;
    padding-left:6px;
}

/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/
ul.lcp_catlist > li {
    margin-left: -20px;
    display: list-item;
}
ul.category-country-link {
    margin-bottom: 30px;
    list-style-type: none;
}

/*--------------------------------------------------------------
# Ads
--------------------------------------------------------------*/
.header_ad,
.middle_ad,
.footer_ad {
	width:100%;
	height:auto;
	overflow:hidden;
}
.header_ad {
	margin:0;
}
.middle_ad {
	margin:0 0 30px 0;
}
.footer_ad {
	margin:30px 0 0 0;
}

/*--------------------------------------------------------------
# Countries list
--------------------------------------------------------------*/
.eu-polls-bar {
    display:flex;
    align-items:flex-start;
    margin-bottom:30px;
    background:transparent;
    width:100%;
    white-space:nowrap;
    gap:0;
    box-sizing:border-box;
}
.eu-polls-section {
    display:block;
    padding:8px 10px 8px 10px;
    box-sizing:border-box;
    min-width:0;
}
.eu-polls-eu {
    background:#DBE9F6;
    border-bottom:4px solid #517291;
}
.eu-polls-rest {
    background:#EEE;
    border-bottom:4px solid #AAA;
}
.eu-polls-toggle {
    display:none;
}
.eu-polls-title {
    display:block;
    font-size:0.7rem;
    color:#555;
    margin:0 0 8px 0;
    letter-spacing:0.1rem;
    user-select:none;
	text-align:left !important;
}
.eu-polls-list {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.eu-polls-flag {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.eu-polls-flag a {
    text-decoration: none;
    display: block;
}
.eu-flag {
    width: 16px;
    border-radius: 2px;
    opacity: 0.7;
    display: block;
    margin: 0 auto 6px auto;
}
.eu-polls-flag:hover .eu-flag {
    opacity: 1;
}
.eu-polls-flag.active .eu-flag {
    opacity: 1;
}
.eu-code {
    font-size: 0.7rem;
    font-family:"Sofia Sans Semi Condensed", serif;
    text-shadow: 1px 1px #ccc;
    color: #000;
    margin-top: 4px;
    padding: 3px;
    line-height: 1;
}
.eu-polls-flag:hover .eu-code {
    background: #d41244;
    color: #fff;
    border-radius: 2px;
    text-shadow: none;
    padding: 3px;
}
.eu-polls-inactive {
    filter:grayscale(100%);
    opacity: 0.3;
    cursor: default;
}

.page-id-1836 .eu-polls-flag:has(.eu-code-eu) .eu-flag, .page-id-3528 .eu-polls-flag:has(.eu-code-at) .eu-flag, .page-id-291 .eu-polls-flag:has(.eu-code-be) .eu-flag, .page-id-292 .eu-polls-flag:has(.eu-code-bg) .eu-flag, .page-id-360 .eu-polls-flag:has(.eu-code-cy) .eu-flag, .page-id-293 .eu-polls-flag:has(.eu-code-cz) .eu-flag, .page-id-252 .eu-polls-flag:has(.eu-code-de) .eu-flag, .page-id-294 .eu-polls-flag:has(.eu-code-dk) .eu-flag, .page-id-295 .eu-polls-flag:has(.eu-code-ee) .eu-flag, .page-id-266 .eu-polls-flag:has(.eu-code-es) .eu-flag, .page-id-296 .eu-polls-flag:has(.eu-code-fi) .eu-flag, .page-id-340 .eu-polls-flag:has(.eu-code-fr) .eu-flag, .page-id-297 .eu-polls-flag:has(.eu-code-gr) .eu-flag, .page-id-359 .eu-polls-flag:has(.eu-code-hr) .eu-flag, .page-id-279 .eu-polls-flag:has(.eu-code-hu) .eu-flag, .page-id-287 .eu-polls-flag:has(.eu-code-ie) .eu-flag, .page-id-265 .eu-polls-flag:has(.eu-code-it) .eu-flag, .page-id-298 .eu-polls-flag:has(.eu-code-lt) .eu-flag, .page-id-341 .eu-polls-flag:has(.eu-code-lu) .eu-flag, .page-id-299 .eu-polls-flag:has(.eu-code-lv) .eu-flag, .page-id-357 .eu-polls-flag:has(.eu-code-mt) .eu-flag, .page-id-286 .eu-polls-flag:has(.eu-code-nl) .eu-flag, .page-id-3525 .eu-polls-flag:has(.eu-code-pl) .eu-flag, .page-id-288 .eu-polls-flag:has(.eu-code-pt) .eu-flag, .page-id-300 .eu-polls-flag:has(.eu-code-ro) .eu-flag, .page-id-281 .eu-polls-flag:has(.eu-code-se) .eu-flag, .page-id-301 .eu-polls-flag:has(.eu-code-si) .eu-flag, .page-id-302 .eu-polls-flag:has(.eu-code-sk) .eu-flag, .page-id-5602 .eu-polls-flag:has(.eu-code-ad) .eu-flag, .page-id-1300 .eu-polls-flag:has(.eu-code-al) .eu-flag, .page-id-5599 .eu-polls-flag:has(.eu-code-am) .eu-flag, .page-id-5597 .eu-polls-flag:has(.eu-code-az) .eu-flag, .page-id-1286 .eu-polls-flag:has(.eu-code-ch) .eu-flag, .page-id-5598 .eu-polls-flag:has(.eu-code-ge) .eu-flag, .page-id-264 .eu-polls-flag:has(.eu-code-gb) .eu-flag, .page-id-1288 .eu-polls-flag:has(.eu-code-is) .eu-flag, .page-id-5603 .eu-polls-flag:has(.eu-code-li) .eu-flag, .page-id-1287 .eu-polls-flag:has(.eu-code-md) .eu-flag, .page-id-1289 .eu-polls-flag:has(.eu-code-me) .eu-flag, .page-id-1304 .eu-polls-flag:has(.eu-code-mk) .eu-flag, .page-id-855 .eu-polls-flag:has(.eu-code-no) .eu-flag, .page-id-1303 .eu-polls-flag:has(.eu-code-rs) .eu-flag, .page-id-382 .eu-polls-flag:has(.eu-code-ru) .eu-flag, .page-id-1285 .eu-polls-flag:has(.eu-code-tr) .eu-flag, .page-id-988 .eu-polls-flag:has(.eu-code-ua) .eu-flag, .page-id-1461 .eu-polls-flag:has(.eu-code-xk) .eu-flag {
    opacity:1;
}
.page-id-1836 .eu-code-eu, .page-id-3528 .eu-code-at, .page-id-291 .eu-code-be, .page-id-292 .eu-code-bg, .page-id-360 .eu-code-cy, .page-id-293 .eu-code-cz, .page-id-252 .eu-code-de, .page-id-294 .eu-code-dk, .page-id-295 .eu-code-ee, .page-id-266 .eu-code-es, .page-id-296 .eu-code-fi, .page-id-340 .eu-code-fr, .page-id-297 .eu-code-gr, .page-id-359 .eu-code-hr, .page-id-279 .eu-code-hu, .page-id-287 .eu-code-ie, .page-id-265 .eu-code-it, .page-id-298 .eu-code-lt, .page-id-265 .eu-code-it, .page-id-298 .eu-code-lt, .page-id-341 .eu-code-lu, .page-id-299 .eu-code-lv, .page-id-357 .eu-code-mt, .page-id-286 .eu-code-nl, .page-id-3525 .eu-code-pl, .page-id-288 .eu-code-pt, .page-id-300 .eu-code-ro, .page-id-281 .eu-code-se, .page-id-301 .eu-code-si, .page-id-302 .eu-code-sk, .page-id-5602 .eu-code-ad, .page-id-1300 .eu-code-al, .page-id-5599 .eu-code-am, .page-id-5597 .eu-code-az, .page-id-1286 .eu-code-ch, .page-id-5598 .eu-code-ge, .page-id-264 .eu-code-gb, .page-id-1288 .eu-code-is, .page-id-5603 .eu-code-li, .page-id-1287 .eu-code-md, .page-id-1289 .eu-code-me, .page-id-1304 .eu-code-mk, .page-id-855 .eu-code-no, .page-id-1303 .eu-code-rs, .page-id-382 .eu-code-ru, .page-id-1285 .eu-code-tr, .page-id-988 .eu-code-ua, .page-id-1461 .eu-code-xk, .page-id-0 .eu-code-ba, .page-id-0 .eu-code-by, .page-id-0 .eu-code-il, .page-id-0 .eu-code-sm, .page-id-0 .eu-code-mo {
    background:#d41244;
    color:#fff;
    border-radius:2px !important;
    text-shadow:none !important;
}
/*--------------------------------------------------------------
# Rest
--------------------------------------------------------------*/

.tooltip {
    position: fixed;
    background: #d41244;
    color: #fff;
    padding: 3px 8px;
    font-size: 14px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 1000;
    display: none;
    font-weight:800;
    text-transform:uppercase;
}
@media (pointer: coarse) {
    .tooltip {
      display: none !important;
    }
}
.boxz-table, .boxz-table2 {
    display:inline-block;
    background:#eee;
}
path {
    cursor: pointer !important;
}
table.ow {
    margin-left:3px;
    width:99%;
    margin-top: 20px !important;
}
.ow-pis {
    border-left: 6px solid #004AAD;
}
.ow-ko {
    border-left: 6px solid #E19F39;
}
.ow-konf {
    border-left: 6px solid #0e213c;
}
.ow-centrum {
    border-left: 6px solid #1F6FB8;
}
.ow-kkp {
    border-left: 6px solid #A37919;
}
.ow-razem {
    border-left: 6px solid #870f57;
}
.ow-psl {
    border-left: 6px solid #3da63d;
}
.ow-pl2050 {
    border-left: 6px solid #e0cc4c;
}
.ow-nl {
    border-left: 6px solid #CC0000;
}
.ow-td {
    border-left: 6px solid #c0bc2f;
}
.ow-mn {
    border-left: 6px solid #222;
}
.ow-other {
    border-left: 6px solid #555;
}
.polls_name {
    white-space: pre-line !important;
    border-left:1px solid #999;
}
a.polls_link {
    text-decoration:none !important;
    font-family: "Sofia Sans Semi Condensed", serif;
}
.polls_met {
    display:inline-table;
    color:#666;
}
.polls_sample, .polls_date {
    display:block;
}
.polls_result {
    text-align:center;
    font-weight:500;
    color:#222;
    vertical-align: middle;
}
.bg_ko {background: #FCF5EB;}
.bg_pis {background: #E9EEFA;}
tr:hover .bg_ko {
    background:#f9ebd7 !important;
    cursor: default;
}
tr:hover .bg_pis {
    background:#CDD7E3 !important;
    cursor: default;
}
tr:hover .polls_result, tr:hover .polls_name {
    background:#eee;
    cursor: default;
}
#tabs {
    width:100%;
}
div#tabs div {display:none;}
#tabs div:target {display: block; padding-top: 15px;}
.polls_header_party {
    text-align: center;
    white-space: nowrap !important;
    vertical-align: middle;
    padding:12px 3px;
    color:#fff;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: "Sofia Sans Extra Condensed", serif;
}
.nowrap {
    white-space: nowrap;
}

/*--------------- SONDAZE > PODZIAL MANDATOW ---------------*/
  .mandaty-wrap {
      width: 100%;
      font-family: "Sofia Sans Condensed", serif;
    }
  .mandaty-toolbar {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 22px;
    }
  .mandaty-chart-area {
      position: relative;
      padding-top: 66px;
      padding-bottom: 58px;
    }
  .mandaty-outside-labels {
      position: absolute;
      inset: 0 0 auto 0;
      height: 0;
      pointer-events: none;
      z-index: 6;
    }
  .mandaty-outside-label {
      position: absolute;
      top: 0;
      color: #222;
      font-size: 13px;
      line-height: 1;
      font-weight: 400;
      text-transform: uppercase;
      white-space: nowrap;
      display: flex;
      flex-direction: column;
    }
  .mandaty-outside-label.mandaty-align-left,
  .mandaty-align-left {
      text-align: left;
      align-items: flex-start;
    }
  .mandaty-outside-label.mandaty-align-center,
  .mandaty-align-center {
      text-align: center;
      align-items: center;
    }
  .mandaty-outside-label.mandaty-align-right,
  .mandaty-align-right {
      text-align: right;
      align-items: flex-end;
    }
  .mandaty-outside-label-text {
      font-weight: 500;
      white-space: nowrap;
      font-size: 16px;
    }
  .mandaty-outside-label-value {
      font-weight: 700;
      white-space: nowrap;
      font-size: 18px;
      margin-top: 2px;
    }
  .mandaty-connector {
      position: absolute;
      background: #222;
      opacity: 1;
      z-index: 0;
      pointer-events: none;
    }
  .mandaty-bar {
      z-index: 6;
      width: 100%;
      min-height: 55px;
      display: flex;
      align-items: stretch;
      background: #dddddd;
      overflow: hidden;
      position: relative;
    }
  .mandaty-segment {
      user-select: none;
      cursor: default;
      position: relative;
      display: flex;
      align-items: stretch;
      justify-content: flex-start;
      padding: 7px 8px 8px;
      color: #fff;
      border-right: 1px solid rgba(255,255,255,0.18);
      overflow: hidden;
      transition:
      flex-basis 360ms ease,
      width 360ms ease,
      max-width 360ms ease,
      min-width 360ms ease,
      padding-left 360ms ease,
      padding-right 360ms ease,
      border-right-width 360ms ease;
      min-width: 0;
      flex: 0 0 auto;
      transform-origin: left center;
      z-index: 11;
    }
  .mandaty-segment.is-hiding {
      flex-basis: 0 !important;
      width: 0 !important;
      max-width: 0 !important;
      min-width: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      border-right-width: 0 !important;
    }
  .mandaty-segment.is-revealing {
      flex: 0 0 0 !important;
      flex-basis: 0 !important;
      width: 0 !important;
      max-width: 0 !important;
      min-width: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      border-right-width: 0 !important;
      overflow: hidden;
    }
  .mandaty-segment:last-child {
      border-right: none;
    }
  .mandaty-segment-inner {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 2px;
      min-width: 0;
      width: 100%;
      height: 100%;
      transition: opacity 140ms ease, transform 180ms ease;
      padding: 0 4px;
    }
  .mandaty-segment.is-hiding .mandaty-segment-inner,
  .mandaty-segment.content-hidden .mandaty-segment-inner {
      opacity: 0;
      transform: translateX(-10px);
    }
  .mandaty-segment-name {
      font-size: 18px;
      line-height: 1;
      font-weight: 500;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: clip;
      padding-right: 0;
      min-width: 0;
    }
  .mandaty-segment-value {
      font-size: 20px;
      line-height: 0.88;
      font-weight: 700;
      letter-spacing: -0.02em;
      white-space: nowrap;
      flex-shrink: 0;
      margin-top: auto;
      align-self: flex-start;
    }
  .mandaty-majority-line {
      position: absolute;
      top: 66px;
      bottom: 44px;
      width: 0;
      border-left: 1px dashed #000;
      z-index: 7;
      pointer-events: none;
    }
  .mandaty-majority-label {
      position: absolute;
      left: 50.2174%;
      transform: translateX(-50%);
      bottom: 22px;
      font-size: 13px;
      line-height: 1;
      font-weight: 400;
      color: #333;
      white-space: nowrap;
    }
  .mandaty-majority-note {
      position: absolute;
      left: 50.2174%;
      transform: translateX(-50%);
      bottom: 4px;
      font-size: 13px;
      color: var(--muted);
      white-space: nowrap;
    }
  .mandaty-legend {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 2px 2px;
    }
  .mandaty-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 17px;
      text-transform: uppercase;
      color: #000;
      white-space: nowrap;
      cursor: pointer;
      user-select: none;
      padding: 1px 3px;
      border-radius: 4px;
      transition: opacity 180ms ease, transform 180ms ease;
      border: 0;
      background: transparent;
      font-family: "Sofia Sans Condensed", serif;
      opacity: 0.80;
    }
  .mandaty-legend-item:hover {
      opacity: 1;
    }
  .mandaty-legend-item.inactive {
      opacity: 0.38;
    }
  .mandaty-legend-color {
      width: 14px;
      height: 14px;
      border-radius: 3px;
      flex: 0 0 14px;
    }
  .mandaty-tooltip {
      position: fixed;
      left: 0;
      top: 0;
      transform: translate(-50%, calc(-100% - 12px));
      background: rgba(28, 28, 28, 0.94);
      color: #fff;
      padding: 8px 10px;
      border-radius: 6px;
      font-weight: 600;
      font-size: 16px;
      line-height: 1;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 120ms ease;
      z-index: 20;
      box-shadow: 0 8px 18px rgba(0,0,0,0.18);
      text-transform: uppercase;
    }
  .mandaty-tooltip.is-visible {
      opacity: 1;
      visibility: visible;
    }
  .mandaty-wrap.is-resizing .mandaty-segment-name,
  .mandaty-wrap.is-resizing .mandaty-segment-value,
  .mandaty-wrap.is-resizing .mandaty-outside-label,
  .mandaty-wrap.is-resizing .mandaty-connector {
      transition: none !important;
    }
  .mandaty-wrap.is-resizing .mandaty-segment-name,
  .mandaty-wrap.is-resizing .mandaty-segment-value,
  .mandaty-wrap.is-resizing .mandaty-outside-labels {
      visibility: hidden !important;
      opacity: 0 !important;
    }
  .mandaty-text-measure {
      position: absolute;
      visibility: hidden;
      pointer-events: none;
      left: -9999px;
      top: -9999px;
      white-space: nowrap;
      font-size: 17px;
      line-height: 1;
      font-weight: 600;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      padding: 0;
      margin: 0;
    }
  
/*--------------- WYBORY/EUROPA > MANDATY ---------------*/
  :root {
      --mandaty-text: #222;
      --mandaty-muted: #777;
      --mandaty-border: #d8d8d8;
      --mandaty-majority: #20a464;
    }
  .mandaty-auto {
      width: 100%;
      margin: 30px 0 20px;
      font-family: "Sofia Sans Condensed", serif;
background:#eee;
padding:20px;
    }
  .mandaty-podzial__chart {
      width: 100%;
text-align:center;
text-transform:uppercase;
cursor:default;
margin-bottom:20px;
font-weight:700;
    }
  .mandaty-auto__labels {
      position: absolute;
      inset: 0 0 auto 0;
      height: 0;
      pointer-events: none;
      z-index: 3;
    }
  .mandaty-auto__label {
      position: absolute;
      top: 0;
      color: var(--mandaty-text);
      white-space: nowrap;
      display: flex;
      flex-direction: column;
      line-height: 1;
    }
  .mandaty-auto__label--left {
      text-align: left;
      align-items: flex-start;
    }
  .mandaty-auto__label--center {
      text-align: center;
      align-items: center;
      transform: translateX(-50%);
    }
  .mandaty-auto__label--right {
      text-align: right;
      align-items: flex-end;
      transform: translateX(-100%);
    }
  .mandaty-auto__label-text {
      font-size: 16px;
      font-weight: 500;
    }
  .mandaty-auto__label-value {
      font-size: 18px;
      font-weight: 700;
      margin-top: 2px;
    }
  .mandaty-auto__connector {
      position: absolute;
      background: #222;
      pointer-events: none;
      z-index: 1;
    }
.mandaty-auto__bar {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #ddd;
    position: relative;
    z-index: 2;
}
.mandaty-auto__segment {
    position: relative;
    display: flex;
    align-items: stretch;
    padding: 6px 1px;
    color: #fff;
    min-width: 0;
    flex: 0 0 auto;
    border-right: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
}
.mandaty-auto__segment:last-child {
    border-right: none;
}
.mandaty-auto__segment-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
    min-width: 0;
    width: 100%;
}
.mandaty-auto__segment-name {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
padding-left:3px;
}
.mandaty-auto__segment-value {
    font-size: 20px;
    line-height: 0.88;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    margin-top: auto;
    align-self: flex-start;
padding-left:3px;
}
.mandaty-auto__segment-fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 120ms ease;
    z-index: 1;
}
.mandaty-auto__segment.is-tight .mandaty-auto__segment-fade {
    opacity: 1;
}
  .mandaty-auto__majority-line {
      position: absolute;
      top: 0;
      bottom: 42px;
      width: 0;
      border-left: 1px dashed #000;
      z-index: 7;
      pointer-events: none;
    }
  .mandaty-auto__majority-label {
      position: absolute;
      transform: translateX(-50%);
      bottom: 20px;
      font-size: 13px;
      line-height: 1;
      color: #333;
      white-space: nowrap;
    }
  .mandaty-auto__majority-note {
      position: absolute;
      transform: translateX(-50%);
      bottom: 2px;
      font-size: 13px;
      color: var(--mandaty-muted);
      white-space: nowrap;
    }
  .mandaty-auto__legend {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 2px 6px;
      margin-top: 8px;
    }
  .mandaty-auto__legend-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 17px;
      text-transform: uppercase;
      color: #000;
      white-space: nowrap;
      font-family: "Sofia Sans Condensed", serif;
    }
  .mandaty-auto__legend-color {
      width: 14px;
      height: 14px;
      border-radius: 3px;
      flex: 0 0 14px;
    }
.mandaty-auto__tooltip {
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-50%, calc(-100% - 12px));
    box-sizing: border-box;
    display: block;
    width: max-content;
    max-width: 150px;
    background: rgba(28, 28, 28, 0.94);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 120ms ease;
    z-index: 9999;
}
  .mandaty-auto__tooltip.is-visible {
      opacity: 1;
      visibility: visible;
    }
  .mandaty-auto__measure {
      position: absolute;
      visibility: hidden;
      pointer-events: none;
      left: -9999px;
      top: -9999px;
      white-space: nowrap;
      font-size: 17px;
      line-height: 1;
      font-weight: 600;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      padding: 0;
      margin: 0;
      font-family: "Sofia Sans Condensed", serif;
    }
.mandaty-auto__outside {
    box-sizing: border-box;
    max-width: 100%;
}
  .mandaty-auto__simple-labels {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 4px 8px;
      margin-top: 8px;
      font-family: "Sofia Sans Condensed", serif;
    }
  .mandaty-auto__bar {
      min-height: 56px;
    }
  .mandaty-auto__segment {
      min-width: 0;
      display: flex;
      align-items: stretch;
    }
  .mandaty-auto__segment-name,
  .mandaty-auto__segment-value {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  .mandaty-auto {
      position: relative;
    }
  .mandaty-auto__chart {
      position: relative;
      padding-top: 0;
      padding-bottom: 58px;
	  cursor:default;
    }
  .mandaty-auto__labels {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 60px;
      pointer-events: none;
      z-index: 4;
    }
.mandaty-auto__outside {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1;
    color: #222;
    white-space: nowrap;
    pointer-events: none;
}
.mandaty-auto__outside-line {
    position: absolute;
    background: #222;
    pointer-events: none;
}
  .mandaty-auto__outside-text {
      font-size: 15px;
      font-weight: 500;
    }
  .mandaty-auto__outside-value {
      font-size: 17px;
      font-weight: 700;
      margin-top: 2px;
    }
  .mandaty-auto__outside-line {
      position: absolute;
      width: 1px;
      background: #222;
      z-index: 3;
    }
  .mandaty-auto__legend {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 4px 8px;
      margin-top: 8px;
    }
  .mandaty-auto__legend-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 2px 4px;
      border: 0;
      background: transparent;
      cursor: pointer;
      font-family: "Sofia Sans Condensed", serif;
      font-size: 17px;
      text-transform: uppercase;
      color: #000;
      opacity: 0.85;
    }
  .mandaty-auto__legend-item:hover {
      opacity: 1;
    }
  .mandaty-auto__legend-item.is-off {
      opacity: 0.35;
    }

  .mandaty-auto__legend-color {
      width: 14px;
      height: 14px;
      border-radius: 3px;
      flex: 0 0 14px;
    }

  .mandaty-auto__tooltip {
      position: fixed;
      left: 0;
      top: 0;
      transform: translate(-50%, calc(-100% - 12px));
      background: rgba(28, 28, 28, 0.94);
      color: #fff;
      padding: 8px 10px;
      border-radius: 6px;
      font-weight: 600;
      font-size: 15px;
      line-height: 1;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 120ms ease;
      z-index: 9999;
      text-transform: uppercase;
    }
  .mandaty-auto__tooltip.is-visible {
      opacity: 1;
      visibility: visible;
    }
  .mandaty-auto__measure {
      position: absolute;
      visibility: hidden;
      pointer-events: none;
      left: -9999px;
      top: -9999px;
      white-space: nowrap;
      font-family: "Sofia Sans Condensed", serif;
      font-size: 18px;
      font-weight: 500;
      text-transform: uppercase;
    }
.mandaty-auto__segment {
    user-select: none;
    cursor: default;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
    transition:
    flex-basis 360ms ease,
    width 360ms ease,
    max-width 360ms ease,
    min-width 360ms ease,
    padding-left 360ms ease,
    padding-right 360ms ease,
    border-right-width 360ms ease;
    min-width: 0;
    flex: 0 0 auto;
    transform-origin: left center;
    z-index: 11;
}
.mandaty-auto__segment.is-hiding {
    flex-basis: 0 !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-right-width: 0 !important;
}
.mandaty-auto__segment-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
    min-width: 0;
    width: 100%;
    height: 100%;
    transition: opacity 140ms ease, transform 180ms ease;
}
.mandaty-auto__segment.is-hiding .mandaty-auto__segment-inner,
.mandaty-auto__segment.content-hidden .mandaty-auto__segment-inner {
    opacity: 0;
    transform: translateX(-10px);
}
.mandaty-auto__segment.is-revealing {
    flex-basis: 0 !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-right-width: 0 !important;
    overflow: hidden;
}

/*--------------- II TURA ---------------*/
.box_2round_candidate_left {
    float:left;
    width:50%;
    text-align:left;
}
.box_2round_candidate_right {
    float:right;
    width:50%;
    text-align:right;
}
.box_2round_box_bar {
    width:100%;
    background-color:#ccc;
    height:65px;
    float:left;
    position: relative;
    overflow: hidden;
}
.box_2round_line {
    position: absolute;
    height:65px;
    width: 50%;
    border-right: 1px dashed #222;
}
@keyframes fadeIn {
    from {
      opacity: 0;
    }
  to {
      opacity: 1;
    }
}
@keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
    }
  100% {
      transform: translateX(0);
    }
}
@keyframes slideInFromRight {
    100% {
      transform: translateX(0);
    }
  0% {
      transform: translateX(100%);
    }
}
.box_2round_bar_candidate_left {
    -webkit-animation: 1s ease-out 0s 1 slideInFromLeft;
    -moz-animation: 1s ease-out 0s 1 slideInFromLeft;
    -ms-animation: 1s ease-out 0s 1 slideInFromLeft;
    -o-animation: 1s ease-out 0s 1 slideInFromLeft;
    animation: 1s ease-out 0s 1 slideInFromLeft;
    float:left;
    text-align:left;
    height:65px;
    position:relative;
}
.box_2round_bar_candidate_right {
    animation: 1s ease-out 0s 1 slideInFromRight;
    -webkit-animation: 1s ease-out 0s 1 slideInFromRight;
    -moz-animation: 1s ease-out 0s 1 slideInFromRight;
    -ms-animation: 1s ease-out 0s 1 slideInFromRight;
    -o-animation: 1s ease-out 0s 1 slideInFromRight;
    float:right;
    text-align:right;
    height:65px;
    position:relative;
}
/*--------------- WYBORY / EUROPA > WYBORY PREZYDENCKIE ---------------*/

.bar-election {background: #f5f5f5; padding: 30px 15px 15px 15px; margin-bottom:30px; color:#222; border-radius:3px;}
.bar-wrapper {position: relative; width: 100%; margin: 0 auto 10px;}
.labels {display: flex; justify-content: space-between; margin-bottom: 0; font-weight: 500; font-size: 18px; font-family: 'Sofia Sans Condensed'; line-height: 1.6rem; text-transform: uppercase;}
.labels .right-label {text-align: right;}
.labels .left-label {text-align: left;}
.score-label {font-family:'Sofia Sans Condensed'; font-size:28px; font-weight:800;}
.segmented-bar {display: flex; height: 45px; overflow: hidden; position: relative; font-family:'Sofia Sans Condensed';}
.bar-segment {height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px !important; line-height: 45px !important;}
.info-label {text-align: right; font-size: 16px; margin-top: 4px; padding-right: 2px; font-family:'Sofia Sans Condensed'; line-height:1.2rem; font-weight: 200;}
.icon {display: inline-block; width: 18px; height: 18px; border-radius: 50%; margin-left: 3px; margin-right: 3px; transform: rotate(45deg); margin-bottom: -3px;}
.icon::before, .icon::after {position: absolute; content: ''; background-color: #fff;}
.icon.icon-elected:before {width: 3px; height: 10px; top: 4px; left: 9px;}
.icon.icon-elected:after {width: 3px; height: 3px; top: 11px; left: 6px;}
img.icon-elected {height: 20px; margin-top: -4px;}

.middle-indicator {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 16px;
    z-index: 2;
    font-weight:800;
}
.middle-indicator .arrow {
    font-size: 20px;
    display: block;
    line-height: 1;
}
.middle-indicator::after {
    content: '';
    position: absolute;
    top: 38px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    border-left: 1px dashed black;
}
.middle-indicator::before {
    content: '';
    position: absolute;
    top: 138px;
    left: 50%;
    transform: translateX(-5.5px);
    width: 11px;
    height: 2px;
    background-color: black;
}
div.bar-title {
    width:100%;
    margin-bottom: 1.5rem;
    text-align:center;
}
span.bar-title {
    font-weight: 800;
    display: inline !important;
    background: #d41244 !important;
    color: #fff;
    padding: 0 6px;
    text-shadow: none!important;
    white-space: normal;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    border-radius: 2px;
    line-height:2.2rem;
    font-size: 1.6rem !important;
    font-family: "Sofia Sans Condensed",serif;
}
/*--------------- HOME COLUMNS II ---------------*/
.xcolumn {
    cursor:pointer;
	border-radius:3px;
}
.xcolumn {
    width: 32%;
    text-align: center;
    color: #222;
    font-weight: 900;
    background-color: #eee;
	border:1px solid #666;
	box-shadow:2px 2px 5px #ccc;
}

/*--- HOME / DROPDOWN & SONDAĹťE/EUROPA ---*/
.selectbox {
    display:none !important;
}
.selectbox.active {
    display:block !important;
}
.selectbox .xcontainer.is-loading {
    visibility:hidden;
}
.country-select {
    position:relative;
    width:240px;
    text-transform: uppercase;
    font-family: "Sofia Sans Semi Condensed",serif;
    font-size: 1rem!important;
    margin-bottom:20px;
    font-weight: 600;
	z-index: 8;
}
.country-selected, .country-selected-election-page {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 10px;
    cursor:pointer;
    background:#eee;
    user-select:none;
	border-radius: 3px;
	box-shadow: 1px 1px 2px 1px #999;
}
.country-label {
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}
.country-arrow {
    width:0;
    height:0;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-top:6px solid #333;
    transition:transform .2s ease;
}
.country-select.open .country-arrow {
    transform:rotate(180deg);
}
.country-options, .country-options-election-page {
    display:none;
    position:absolute;
    background:#eee;
    width:100%;
    max-height:286px;
    overflow:auto;
    font-size:1rem!important;
    text-transform:uppercase;
    z-index:2;
	border-radius: 3px;
	box-shadow: 1px 1px 2px 1px #999;
margin-top: 5px;
}
.country-options div, .country-options-election-page div {
    padding:8px 10px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
    user-select:none;
}
.country-options div:hover, .country-options-election-page div:hover {
    background:#D2DEEB;
}
.flagselect {
    width:18px;
    height:16px;
    display:block;
    object-fit:cover;
    border-radius:2px;
    box-shadow:1px 1px #ccc;
    margin-top:-2px;
}
.country-options div[data-disabled], .country-options div[data-disabled="true"], .country-options-election-page div[data-disabled], .country-options-election-page div[data-disabled="true"] {
    background:#dcdcdc;
    cursor:default !important;
}
.country-options div.active-country, .country-options-election-page div.active-country {
    background:#C3D4E5;
}
/*--- HOME / KALENDARZ ---*/
.kalendarium-list {
    display: grid;
    gap: 10px;
}
.kalendarium-wrap {
    margin-bottom:30px;
}
/* pojedynczy âwiersz-kartaâ */
.kal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    -webkit-user-select: none;
    /* Chrome / Safari */
  -moz-user-select: none;
    /* Firefox */
  -ms-user-select: none;
    /* IE / Edge stare */
  user-select: none;
    /* standard */
  border: 1px solid #dedede;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
	border-radius: 3px;
}
/* lewy box z datÄ
 */
.kal-date {
    width: 75px;
    flex: 0 0 75px;
    text-align: center;
    background: #ededed;
    padding: 10px 6px;
    line-height: 1;
	border-radius: 3px;
}
.kal-day {
    font-size: 26px;
    font-weight: 800;
    color: #222;
}
.kal-mon {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666;
}
/* prawa czÄĹÄ */
.kal-content {
    min-width: 0;
    /* pozwala na Ĺadne ucinanie */
  display: grid;
    gap: 4px;
}
.kal-country {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.kal-flag {
    width: 18px;
    height: auto;
    border-radius: 2px;
    box-shadow: 1px 1px 0 #aaa;
	margin-top: -2px;
}
.kal-name {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform:uppercase;
}
.kal-type {
    font-size: 1rem;
    color: #666;
}
.kal-item:hover {
    border-color: #cbcbcb;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    cursor:default;
}
.kal-item:hover > .kal-date {
    background: #eaeaea;
}
.kalendarium-list {
    display: grid;
    gap: 10px;
}
/* nawigacja */
.kal-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.kal-nav button {
    border: 0;
    background: transparent;
    color: #444;
    padding: 6px 0;
    font-size: 0.95rem;
    cursor: pointer;
}
.kal-nav button:hover {
    text-decoration: none;
    color: #222;
}
.kal-nav button:disabled {
    opacity: .15;
    cursor: default;
    text-decoration: none;
}
article.kal-live {background:#FDF8EA;}
span.kal-live {display:inline-block;background:#d40000;color:#ffffff;font-weight:800;font-size:0.8rem;text-transform:uppercase;padding:1px 6px 0 6px;margin-left:6px;border-radius:3px;white-space:nowrap;}
article.kal-glosowanie {background:#FDF8EA;}
span.kal-glosowanie {display:inline-block;background:#D9A256;color:#ffffff;font-weight:800;font-size:0.8rem;text-transform:uppercase;padding:1px 6px 0 6px;margin-left:6px;border-radius:3px;white-space:nowrap;}
article.kal-wyniki {background:#F3F7F4;}
span.kal-wyniki {opacity:0.9}
span.kal-wyniki:hover, span.kal-live:focus {opacity:1;}
span.kal-wyniki {display:inline-block;background:#809D86;color:#ffffff;font-weight:800;font-size:0.8rem;text-transform:uppercase;padding:1px 6px 0 6px;margin-left:6px;border-radius:3px;white-space:nowrap;}
/*--- HOME / MAPA ---*/
.ewybory-europe-map svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
}
/*--------------- ELECTED ICON ---------------*/
img.winner {height: 18px; margin-top: -4px; padding:0 4px;}
/*--------------- CSS/MENU ---------------*/
.header-style-aside .header-individual-component.search-components {display: none;}
/*--------------- HOME ---------------*/
.home-name-party {
	border-radius: 0;
}
.home-name-party {
    width: 100%;
    color: #fff;
    display:inline-block;
    font-weight: 900 !important;
    text-align:center;
    text-shadow:1px 1px #555;
    padding: 4px 0 3px 0;
}
.party_score_change {
    padding: 2px 6px;
    font-family:"Sofia Sans Condensed",serif;
}
h4 {
    font-weight: 700;
    display: block;
    color: #222;
    text-shadow: none!important;
    white-space: normal;
    -webkit-box-decoration-break: clone;
    padding-top: 3px;
    line-height: 1.3;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 0;
    text-decoration-line: underline;
    text-decoration-color: #222;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}
/*--------------- CATLIST ---------------*/
li.category-link > a, li.category-country-link > a {
    margin-right: 4px;
    white-space: nowrap;
    font-weight: 400;
    font-size: 1.3rem;
    color: #222 !important;
}
li.category-link > a:hover, li.category-country-link > a:hover {
    color:#081F5C !important;
}
li.category-link, li.category-country-link {
    margin-left:-45px;
    display: block;
    line-height:1.7;
    font-family: "Sofia Sans Condensed", serif;
    font-size: 1.3em;
}
li.category-link>a:hover, li.category-country-link>a:hover {background:#F2E081;border-radius:3px;}
li.category-link>a, li.category-country-link>a {padding:2px 5px}
ul.category-country-link {
	margin-bottom: 0 !important;
} 
ul.category-country-link > li {
    display: block;
    line-height:1.7;
    font-family: "Sofia Sans Condensed", serif;
}
li > a > img.wp-smiley, img.emoji {
	vertical-align:-0.2em !important; 
	margin-right: 6px !important;
}

/*--------------- BLOCKS & BUTTONS ---------------*/
button, button#mainbutton, button#belowbutton, button#expandbutton {
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    padding: 4px 8px 2px 8px;
    white-space: nowrap;
    opacity:0.7;
    line-height: 1.5rem;
    box-shadow: none;
}
button, button#mainbutton {
    border: 1px solid #980C30;
}
button#belowbutton {
    background-color: #6a879f;
    border: 1px solid #5f798f;
}
button#expandbutton {
    background-color: #888;
    border: 1px solid #666;
}
button#mainbutton:focus, button#mainbutton:hover, button#mainbutton.active, button#belowbutton:hover, button#belowbutton:focus, button#belowbutton.active, button#expandbutton:hover, button#expandbutton:focus, button#expandbutton.active {
    opacity:1;
}
.js-expand-group .expand-item {
    display: none !important;
}
.block-card, .blockA-card, .blockB-card, .blockC-card, .blockX-card , .blockY-card , .blockZ-card  {
    display: none;
}
.block-card.active, .blockA-card.active, .blockB-card.active, .blockC-card.active, .blockX-card.active, .blockY-card.active, .blockZ-card.active {
    display: block;
}
/*--------------------------------------------------------------
## PRZEŁĄCZNIK LAT
--------------------------------------------------------------*/
.year-switcher {
    position: relative;
    width: 150px;
    margin: 0 auto 40px 0;
    font-family: "Sofia Sans Semi Condensed", serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
	z-index:2;
}
.year-switcher__selected {display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: #eee; border-radius: 3px; cursor: pointer; user-select: none;}
.year-switcher__label {display: flex; align-items: center; gap: 8px; min-width: 0;}
.year-switcher__arrow {width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #333; transition: transform 0.2s ease;}
.year-switcher.is-open .year-switcher__arrow {transform: rotate(180deg);}
.year-switcher__options {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	max-height: 286px;
	margin-top: 5px;
	background: #eee;
	border-radius: 3px;
	overflow: auto;
	z-index: 20;
	box-shadow:1px 2px 5px #ccc;
}
.year-switcher__option {padding: 8px 10px; cursor: pointer; user-select: none;}
.year-switcher__option:hover {background: #d2deeb;}
.year-switcher__option.is-active {background: #c3d4e5;}
.year-panel {display: none !important;}
.year-panel.is-visible {display: block !important;}
/*--------------------------------------------------------------
## PARTIE - KARTY
--------------------------------------------------------------*/
.parties-grid {display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:14px; margin-top:10px; margin-bottom:40px;}
.party-card {background:#f6f6f6; border:1px solid #e9e9e9; border-left:5px solid var(--accent, #999); padding:14px; box-shadow:1px 1px 0 rgba(0,0,0,.03); display:flex; gap:12px; align-items:flex-start; min-width:0; border-radius:3px;}
.card-media {flex:0 0 auto;}
.party-logo-big {width:76px; height:76px; object-fit:contain; border:1px solid #e2e2e2; background:#fff; display:block; padding: 5px; border-radius: 10px;}
.card-info {min-width:0; flex:1 1 auto;}
.party-full-name {display:block; font-weight:800; font-size:16px; line-height:1.2; margin:0 0 6px 0;}
.party-meta {display: block; font-size: 15px; color: #666; line-height: 1.35; overflow-wrap: break-word; word-break: normal;}

/*--------------------------------------------------------------
## PASEK FREKWENCJI
--------------------------------------------------------------*/
.hu-counted-wrap {margin: 30px 0 20px;}
.hu-counted-label {font-size: 14px; line-height: 1.3; margin-bottom: 6px; font-weight: 600; text-transform: uppercase;}
.hu-counted-bar {width: 100%; height: 10px; background: #CCC; border-radius: 3px;}
.hu-counted-fill {background-color: green; height: 10px; display: flex;}

/*--------------------------------------------------------------
## Ze starego
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: #222;
    word-wrap: break-word;
    font-family: "Sofia Sans Condensed", serif;
    text-transform: none;
}
h1, .h1 {font-size: 2.85rem; line-height: 0.7;}
h2, .h2 {font-size: 2rem; line-height: 1.25;}
h3, .h3 {font-size: 1.75rem; line-height: 1.25;}
h4, .h4 {font-size: 1.4rem; line-height: 1.25;}
h5, .h5 {font-size: 1.25rem; line-height: 1.25;}
h6, .h6 {font-size: 1rem; line-height: 1.25;}
hr, .wp-block-separator {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}
/*--------------------------------------------------------------
## Forms
--------------------------------------------------------------*/
select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #222 50%), linear-gradient(135deg, #222 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    background-clip: padding-box;
	border-radius: 3px;
    color: #495057;
    cursor: pointer;
    display: block;
	font-family: 'Sofia Sans Condensed',serif;
	font-size:1.1rem;
    font-weight: 600;
    line-height: 1.625rem;
    margin-bottom: 20px;
    padding: 0.375rem 1rem;
    text-transform: uppercase !important;
    transition: background-color 0.15s ease-in-out;
    -webkit-transition: background-color 0.15s ease-in-out;
    width: auto;
    word-wrap: normal;
}
select:active,
select:focus,
select:hover {
    outline: none;
}
option {
    cursor: pointer;
    font-weight: 600;
    background: #fff;
}
.selected_disabled {
    background: gray;
    color:#fff;
    display:none;
}
/*--------------------------------------------------------------
## Footer/Header
--------------------------------------------------------------*/
.site-footer {
    flex-shrink: 0;
    margin-bottom: 0 !important;
    margin-top: 30px !important;
    width: 100%;
	background: linear-gradient(to bottom, #f5f5f5, #ececec);;
}
.footer-inner a {
color: #222;
}
/* Szerokosci */
.header-top,
.main-menu,
.footer-inner,
.ad-area {
    max-width: 1280px !important;
}
/* HEADER desktop */
.site-header {
    width: 100%;
    background: #fff;
    z-index: 9999;
}
/* Menu desktop sticky */
.main-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100%;
    background: #fff;
padding-top: 5px;
}

/* FOOTER widgety */
.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.footer-widget-title {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

/*--------------------------------------------------------------
# Sondaze / Polska - wykluczenie z inne Sondaze / ...
--------------------------------------------------------------*/
body:not(.page-id-3525) .main-menu li.current-menu-parent > a,
body:not(.page-id-3525) .main-menu li.current-menu-ancestor > a,
body:not(.page-id-3525) .main-menu li.current-page-ancestor > a {
    background: transparent !important;
    color: inherit !important;
}
body:not(.page-id-3525) .main-menu li.current-menu-parent > a:hover,
body:not(.page-id-3525) .main-menu li.current-menu-ancestor > a:hover,
body:not(.page-id-3525) .main-menu li.current-page-ancestor > a:hover {
    background: #d41244 !important;
    color: #fff !important;
}

/*--------------------------------------------------------------
# FIX
--------------------------------------------------------------*/
.ad-area {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
	text-align: center;
}
.ad-area-top {
    margin-bottom: 8px !important;
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s ease, opacity .15s ease;
    line-height: 1;
}
.footer-links a:hover {
    color: #d41244;
}
.footer-icon {
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    opacity: .85;
}
.icon-mail {
    background-image: url('/wp-content/uploads/icons/mail.svg');
}
.icon-shield {
    background-image: url('/wp-content/uploads/icons/shield.svg?v=2');
}
.icon-rss {
    background-image: url('/wp-content/uploads/icons/rss.svg');
}

/*--------------------------------------------------------------
# Social icons
--------------------------------------------------------------*/
.social-icons-footer {
    display: flex;
    gap: 14px;
	float: right;
}
.social-icons-footer .social-icon {
    width: 48px;
    height: 48px;
}
.social-icon {
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	border-radius: 5px;
}

/* X */
.icon-x {background-color: black; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");}

/* Facebook */
.icon-facebook {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 455.73 455.73'%3E%3Cpath fill='%231877f2' d='M0 0v455.73h242.704V279.691h-59.33v-71.864h59.33v-60.353c0-43.893 35.582-79.475 79.475-79.475h62.025v64.622h-44.382c-13.947 0-25.254 11.307-25.254 25.254v49.953h68.521l-9.47 71.864h-59.051V455.73H455.73V0z'/%3E%3C/svg%3E");}

.home-block,
.home-a-group,
.home-bc-group,
.home-c-group {
  min-width: 0;
}
.country-select {
  width: 100%;
	z-index: 8;
}
.country-selected, .country-selected-election-page {
  width: 230px;
  top: 26px;
  right: 5px;
  position: absolute;
}
.country-selected-election-page {
  top: 0;
}
.country-options, .country-options-election-page {
  width: 230px;
  margin-top: 72px;
  right: 5px;
}
 .country-options-election-page {
  margin-top: 46px;
}
#polls-range-chart {
	width: 100%;
	height: 540px;
}
/*----------------------------------------------------------
// min. 1280
----------------------------------------------------------*/
@media (min-width: 1280px) {
      .site-main {
      	max-width: 1280px !important;
      	margin: 0 auto;
      	}
	.eu-polls-bar {
		display: flex;
		flex-direction: row;
		width: 1280px;
		white-space: nowrap;
    }
	.eu-polls-eu {
		flex: 28 1 0;
    }
	.eu-polls-rest {
		flex: 13 1 0;
    }
	.eu-polls-list {
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
		width: 100%;
		white-space: nowrap;
		gap: 8px;
    }
	.eu-polls-flag {
		flex: 1 1 0;
		max-width: none;
    }
  .eu-code {
	  display:block;
	}
    .boxz-start {
      width:100%;
      background:#eee;
      display:inline-block;
      padding:20px;
      margin-top:30px !important;
      margin-bottom:30px !important;
    }
  .svgmap {
      max-width:595px;
    }
  .boxz-map {
      display:inline-block;
      float:left;
      width:50%;
    }
  .boxz-table, .boxz-table2 {
      width:50%;
    }
    .polls_header_party_mobile {
      display:none;
    }
  .polls_header_pollster {
      width:20%;
    }
  .polls_header_party {
      width:10%;
    }
  .polls_name {
      border-right: 0.7px solid #ccc;
      line-height: 1.1rem;
      padding-left:6px !important;
      padding-right:6px;
    }
  a.polls_link {
      font-size:0.9rem;
    }
  .polls_sample, .polls_date {
      font-size:0.8rem;
      word-break: keep-all;
    }
  .polls_result {
      border-right: 0.7px solid #ccc;
      padding-top: 4px;
    }
	.home-name-party {font-size: 1.4rem;}
	.party_score_change {font-size: 1.9rem;}

  .home-layout {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "a1 a1 b1 b1"
      "a2 b2 cgroup cgroup"
      "a3 a3 cgroup cgroup";
    gap: 24px;
    align-items: start;
  }
  .home-a-group,
  .home-bc-group {
    display: contents;
  }
  .home-a1 { grid-area: a1; }
  .home-a2 { grid-area: a2; }
  .home-a3 { grid-area: a3; }
  .home-b1 { grid-area: b1; }
  .home-b2 { grid-area: b2; }
  .home-c-group {
    grid-area: cgroup;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: start;
  }
.tablet {display:none !important}
}

/*----------------------------------------------------------
// max. 1280
----------------------------------------------------------*/
@media (max-width:1280px) {
    .site-main {
        width: 90%;
        margin: 0 auto;
        }
	.ad-area {
	    margin: 0 18px !important;
	    max-width: 1280px;
	    }
    blockquote.owblockquote {
		margin-top: 0 !important;
        }
    .results_header, .results_header_votes {
      width:15%;
    }
    .footer-inner,
  .footer-inner {
      display: grid !important;
      grid-template-columns: 1fr !important;
      width: 100% !important;
      max-width: 100% !important;
      gap: 24px !important;
      padding-left: 18px !important;
      padding-right: 18px !important;
    }

  .footer-col,
  .footer-col-1,
  .footer-col-2,
  .footer-col-3,
  .footer-col,
  .footer-col-1,
  .footer-col-2,
  .footer-col-3 {
      width: 100% !important;
      max-width: 100% !important;
      grid-column: 1 / -1 !important;
          text-align: center;
          justify-items: center !important;
    }

    .ad-area {
      width: calc(100% - 36px) !important;
      max-width: calc(100% - 36px) !important;
      margin-left: 18px !important;
      margin-right: 18px !important;
    }
    .eu-polls-bar {
      width: 100% !important;
      margin: 0 0 30px 0 !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
  .home-layout,
  .home-a-group,
  .home-bc-group,
  .home-c-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
.country-select {
  width: 100%;
	z-index: 8;
}
.country-selected {
  width: 110px;
  top: 26px;
  right: 0;
  position: absolute;
}
.country-selected-election-page {
  width: 230px;
  top: 0;
}
.country-options {
  width: 110px;
  margin-top: 72px;
  right: 0;
}
.country-options-election-page {
  width: 230px;
  margin-top: 46px;
  right: 5px;
}
.fulldesktop {display:none !important}
}

/*----------------------------------------------------------
// min. 1020 / max. 1280
----------------------------------------------------------*/
@media (min-width:1020px) and (max-width:1280px) {
    .eu-polls-bar {
      display:flex;
      flex-direction:row;
      width:100%;
      white-space:normal;
      gap:8px;
          margin: 0 18px 30px 0;
      align-items:flex-start;
    }

  .eu-polls-section {
      width:calc(50% - 4px);
      padding:0;
      overflow:hidden;
      border-radius:4px;
      box-sizing:border-box;
    }

  .eu-polls-eu {
      background:#c8dced;
      margin-top:10px;
    }

  .eu-polls-rest {
      background:#dcdcdc;
      margin-top:10px;
    }

  .eu-polls-title {
      margin:0;
      padding:10px 12px 6px 12px;
      cursor:pointer;
      position:relative;
      font-size:1rem;
      font-weight:600;
      color:#333;
    }

  .eu-polls-title::after {
      content:"+";
      position:absolute;
      right:12px;
      top:50%;
      transform:translateY(-50%);
      font-size:1rem;
      font-weight:700;
    }

  .eu-polls-toggle:checked + .eu-polls-title::after {
      content:"-";
    }

  .eu-polls-list {
      display:none;
      margin:0;
      padding:20px 10px 0 10px !important;
      flex-wrap:wrap;
      white-space:normal;
      gap:8px;
      width:100%;
      box-sizing:border-box;
    }

  .eu-polls-eu .eu-polls-list {
      background:#DBE9F6;
    }

  .eu-polls-rest .eu-polls-list {
      background:#EEE;
    }

  .eu-polls-toggle:checked + .eu-polls-title + .eu-polls-list {
      display:flex;
    }

  .eu-polls-flag {
      flex:0 0 calc((100% - (6 * 8px)) / 7);
      max-width:calc((100% - (6 * 8px)) / 7);
    }

  li.eu-polls-flag {
      margin-bottom:10px;
    }

  .eu-flag {
      width:24px;
      margin-bottom:6px;
    }

  .eu-code {
      display:inline;
      font-size:0.9rem;
      padding:1px 3px;
    }

  .eu-polls-flag:hover .eu-code {
      padding:1px 3px;
    }
    .boxz-start {
      width:100%;
      background:#eee;
      display:inline-block;
      padding:20px;
      margin-bottom:40px !important;
    }
  .svgmap {
      max-width:400px;
    }
  .boxz-map {
      display:inline-block;
      float:left;
      width:45%;
    }
  .boxz-table, .boxz-table2 {
      width:55%;
    }
    .polls_header_party_mobile {
      display:none;
    }
  .polls_header_pollster {
      width:20%;
    }
  .polls_header_party {
      width:10%;
    }
  .polls_name {
      border-right: 0.7px solid #ccc;
      line-height: 1.1em;
      padding-left:6px !important;
      padding-right:6px;
    }
  a.polls_link {
      font-size:0.9rem;
    }
  .polls_sample, .polls_date {
      font-size:0.8rem;
      word-break: keep-all;
    }
  .polls_result {
      border-right: 0.7px solid #ccc;
      padding-top: 4px;
    }
	.home-name-party {font-size: 1.2rem;}
	.party_score_change {font-size: 1.7rem;}
    .header-top {
      margin-bottom: 0 !important;
    }

  .main-nav {
      margin-bottom: 0 !important;
    }

  .site-header {
      margin-bottom: 0 !important;
    }

  .site-main {
      margin-top: 0 !important;
    }

  .page-content,
  .post-content {
      padding-top: 0 !important;
    }

  .eu-polls-bar {
      margin-top: 0 !important;
    }
  .home-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .home-a-group,
  .home-bc-group,
  .home-c-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

/*----------------------------------------------------------
// min. 1020
----------------------------------------------------------*/
@media (min-width: 1020px) {
    .logo {
      width: 77px;
    }
  .score {
      font-size: 2.5rem;
      margin-top: -55px;
      font-weight: 800;
    }
  .change {
      font-weight: 800;
      font-size: 2rem;
    }
  .bar {
      padding-bottom: 90px;
    }
  .bar2 {
      padding-bottom: 20px;
    }
  .bar_party {
      height: 300px;
    }
  .column_bg {
      width: 80%;
      margin: 0 10%;
      background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 1px, transparent 1px, transparent 10px), linear-gradient(to bottom, #ededed,#ededed);
    }
  .name > p {
      padding-top: 10px !important;
      line-height: 1.2rem;
      font-size: 1.1rem;
      font-weight:800;
    }
    .results_header, .results_header_votes {
      width:8%;
    }
    th.results_header[colspan]::after{
      content:"";
      position:absolute;
      left:20px;
      right:20px;
      bottom:0;
      height:1px;
      background:#333;
    }
    .box_name_mobile {
      display:none
  }
    .box_name {
      padding: 2px 3px 1px 10px;
    }
  .box_score {
      padding:10px 10px 5px 10px;
      font-size:3rem;
      font-weight:800;
      text-shadow: 1px 1px #ddd;
    }
  .box_change {
      padding-left:10px;
      padding-top: 32px;
      letter-spacing: -0.5px;
      text-shadow: 1px 1px #ddd;
      text-align:left !important;
      height: 67px;
    }
  .box_party {
      min-width: 30px;
      width: 15.75%;
      margin-right: 1.1%;
      line-height: 1;
      float: left;
      cursor:default;
      -webkit-user-select: none;
      -ms-user-select: none;
      user-select: none;
	border-radius:3px;
    }
  .box_party:last-child {
      margin-right: 0;
    }
    .box_2round {
      width:100%;
      display:inline-block;
      font-family: "Sofia Sans Condensed", serif;
    }
  .box_2round_divscore_left {
      position:absolute;
      left:0;
      width:300px;
    }
  .box_2round_divscore_right {
      position:absolute;
      right:0;
      width:300px;
    }
  .box_2round_score_left {
      opacity: 0;
      animation: fadeIn 1s;
      animation-delay: 1s;
      animation-fill-mode: forwards;
      font-size:48px;
      line-height:72px;
      color:#fff;
      font-weight:800;
      padding-left:15px;
      padding-right:10px;
      text-shadow: 2px 2px #222;
    }
  .box_2round_score_right {
      opacity: 0;
      animation: fadeIn 1s;
      animation-delay: 1s;
      animation-fill-mode: forwards;
      font-size:48px;
      line-height:72px;
      color:#fff;
      font-weight:800;
      padding-right:15px;
      padding-left:10px;
      text-shadow: 2px 2px #222;
    }
  .box_2round_name_left {
      float:left;
      width:50%;
      text-align:left;
    }
  .box_2round_name_right {
      float:right;
      width:50%;
      text-align:right;
    }
  .box_2round_name {
      font-weight:800;
      padding:5px 0;
      font-size: 1.1rem;
      text-transform:uppercase;
    }
    .xcontainer {
      width: 100%;
		min-height:130px;
    }
  .xrow {
      display: flex;
      margin-bottom: 11px;
      gap: 10px
  }
    .mobile {display:none;}
}

/*----------------------------------------------------------
// max. 1020
----------------------------------------------------------*/
@media (max-width:1020px){
    th.results_header[colspan]::after{
      content:"";
      position:absolute;
      left:5px;
      right:5px;
      bottom:0;
      height:1px;
      background:#333;
    }
    .box_name {
      text-align:center;
      padding: 2px 3px 1px 3px;
    }
  .box_score {
      font-size:2.2rem;
      font-weight:900;
      display:grid;
      width:100%;
      text-align:center;
      padding:6px 0 0 0;
    }
  .box_change {
      display:grid;
      width:100%;
      text-align:center;
      padding-bottom: 10px;
      height: 29px;
    }
  .box_party {
      min-width: 30px;
      width: 32%;
      margin-right: 2%;
      line-height: 1;
      float: left;
      cursor:default;
      -webkit-user-select: none;
      -ms-user-select: none;
      user-select: none;
      margin-bottom:7px;
	border-radius:3px;
    }
  .box_party:nth-child(3n) {
      margin-right: 0;
    }
  .box_party:last-child {
      margin-right: 0;
    }
    .eu-flag {
      width:24px;
      margin-bottom:6px;
    }
  .eu-code {
      font-size:0.9rem;
    }
  .eu-polls-bar {
      display:flex;
      flex-direction:column;
      width:100%;
      white-space:normal;
      gap:8px;
          margin: 0 18px 30px 0;
    }
  .eu-polls-section {
      width:100%;
      padding:0;
      overflow:hidden;
      border-radius:4px;
    }
  .eu-polls-eu {
      background:#c8dced;
      margin-top:10px;
    }
  .eu-polls-rest {
      background:#dcdcdc;
    }
  .eu-polls-title {
      margin:0;
      padding:10px 12px;
      cursor:pointer;
      position:relative;
      font-size:1rem;
      font-weight:600;
      color:#333;
    }
  .eu-polls-title::after {
      content:"+";
      position:absolute;
      right:12px;
      top:50%;
      transform:translateY(-50%);
      font-size:1rem;
      font-weight:700;
    }
  .eu-polls-toggle:checked + .eu-polls-title::after {
      content:"-";
    }
  .eu-polls-list {
      display:none;
      margin:0;
      padding:20px 10px 0 10px !important;
      flex-wrap:wrap;
      white-space:normal;
      gap:8px;
      width:100%;
      box-sizing:border-box;
    }
  .eu-polls-eu .eu-polls-list {
      background:#DBE9F6;
    }
  .eu-polls-rest .eu-polls-list {
      background:#EEE;
    }
  .eu-polls-toggle:checked + .eu-polls-title + .eu-polls-list {
      display:flex;
    }
  .eu-polls-flag {
      flex:0 0 calc((100% - (6 * 8px)) / 7);
      max-width:calc((100% - (6 * 8px)) / 7);
    }
	li.eu-polls-flag {
		margin-bottom:10px;
	}
  .eu-code {
	  display:inline;
	  padding:1px 3px;
	}
.eu-polls-flag:hover .eu-code {
	  padding:1px 3px;
}
    .boxz-start {
      width:100%;
      background:#eee;
      display:inline-block;
      padding:20px;
      margin-bottom:0 !important;
    }
  .svgmap {
      width:100%;
      min-width:100%;
      left:0 !important;
      right:0 !important;
    }
  .boxz-map {
      display:block;
    }
  .boxz-table, .boxz-table2 {
      width:100%;
      margin-top: 20px;
    }
    .box_2round {
      width:100%;
      display:inline-block;
      font-family: "Sofia Sans Condensed", serif;
    }
  .box_2round_divscore_left {
      position:absolute;
      left:0;
      width:135px;
    }
  .box_2round_divscore_right {
      position:absolute;
      right:0;
      width:135px;
    }
  .box_2round_score_left {
      opacity: 0;
      animation: fadeIn 1s;
      animation-delay: 1s;
      animation-fill-mode: forwards;
      font-size:36px;
      line-height:70px;
      color:#fff;
      font-weight:800;
      padding-left:15px;
      padding-right:10px;
      text-shadow: 2px 2px #222;
    }
  .box_2round_score_right {
      opacity: 0;
      animation: fadeIn 1s;
      animation-delay: 1s;
      animation-fill-mode: forwards;
      font-size:36px;
      line-height:70px;
      color:#fff;
      font-weight:800;
      padding-right:15px;
      padding-left:10px;
      text-shadow: 2px 2px #222;
    }
  .box_2round_name_left {
      float:left;
      width:50%;
      text-align:left;
      padding:0;
      font-weight:700;
      text-transform:uppercase;
    }
  .box_2round_name_right {
      float:right;
      width:50%;
      text-align:right;
      padding:0;
      font-weight:700;
      text-transform:uppercase;
    }
  .box_2round_name {
      font-weight:800;
      padding:5px 0;
      font-size: 1rem;
      text-transform:uppercase;
    }
	.parties-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .desktop {display:none;}
	.parties-grid{ grid-template-columns: 1fr; }
}

/*----------------------------------------------------------
// min. 800 / max. 1020
----------------------------------------------------------*/
@media (min-width: 800px) and (max-width: 1020px) {
    .logo {
      width: 55px;
	border-radius:0 0 3px 3px !important;
    }
  .score {
      font-size: 1.9rem;
      margin-top: -42px;
      font-weight: 800;
    }
  .change {
      font-weight: 800;
      font-size: 1.8rem;
    }
  .bar {
      padding-bottom: 70px;
    }
  .bar2 {
      padding-bottom: 20px;
    }
  .bar_party {
      height: 13em;
    }
  .column_bg {
      width: 85%;
      margin: 0 7.5%;
      background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 1px, transparent 1px, transparent 10px), linear-gradient(to bottom, #ededed,#ededed);
    }
.name {
    border-top: 1px solid #444;
}
  .name > p {
      padding-top: 10px !important;
      line-height: 1.1rem;
      font-size: 0.9rem;
      font-weight:800;
    }
    .polls_header_party_desktop {
      display:none;
    }
  .polls_header_pollster {
      width:20%;
    }
  .polls_header_party {
      width:10%;
    }
  .polls_name {
      font-size:0.9rem;
      border-right: 0.7px solid #ccc;
      line-height: 1rem;
      padding-left:6px !important;
      padding-right:6px;
    }
  a.polls_link {
      font-size:0.9rem;
    }
  .polls_sample, .polls_date {
      font-size:0.8rem;
      word-break: keep-all;
    }
  .polls_result {
      border-right: 0.7px solid #ccc;
      padding-top: 4px;
    }
    .xcontainer {
      width: 100%;
    }
  .xrow {
      display: flex;
      margin-bottom: 10px;
      gap: 10px
  }
	.home-name-party {font-size: 1.4rem;}
	.party_score_change {font-size: 1.8rem;}
.country-selected-election-page {
  top: 36px;
}
.country-options-election-page {
  margin-top: 82px;
  right: 0 !important;
}
}

/*----------------------------------------------------------
// min. 800
----------------------------------------------------------*/
@media (min-width: 800px) {
    .ew-nav-spacer {
      height: 0;
    }

  .main-nav.ew-desktop-sticky {
      position: fixed !important;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 999999;
      background: #fff;
    }
    .main-nav.ew-desktop-sticky {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      z-index: 999999 !important;
      background: #fff !important;
    }

  .ew-nav-spacer {
      display: block !important;
      width: 100% !important;
      height: var(--ew-nav-height, 0px) !important;
      flex: 0 0 var(--ew-nav-height, 0px) !important;
    }
.social-icons-header {
    display: none;
}
.page-content h1, .post-content .title-first-part {
      font-size: 2.5rem;
      line-height: 1.4;
      font-weight: 900;
      display: inline;
      background-color: #d41244;
      color: #fff;
      padding: 0 10px;
      text-shadow: none !important;
      white-space: normal;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
      padding-top: 3px;
      border-radius: 3px;
      text-transform: uppercase;
      cursor: default;
    }
}

/*----------------------------------------------------------
// max. 800
----------------------------------------------------------*/
@media (max-width: 800px) {
    html {
      font-size: 1.1rem;
      scroll-padding-top: 25px !important;
      }
    .content-layout.layout-left,
  .content-layout.layout-right {
      display: block;
    }

  .site-sidebar {
      padding: 18px;
    }
    .header-top {
      grid-template-columns: 1fr;
      gap: 12px;
      text-align: center;
    }
  .header-socials {
      justify-content: center;
      order: 2;
    }
  .site-logo {
      order: 1;
    }
  .header-empty {
      display: none;
    }
  .main-nav {
      padding: 10px 14px;
    }
  .menu-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 38px;
      border: 0;
      background: #222;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
    }
  .menu-wrap {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: #fff;
      transform: translateX(100%);
      transition: transform 0.25s ease;
      padding: 70px 24px 24px;
    }
  .menu-wrap.is-open {
      transform: translateX(0);
    }
  .menu-close {
      display: block;
      position: absolute;
      top: 18px;
      right: 20px;
      border: 0;
      background: none;
      font-size: 42px;
      line-height: 1;
      cursor: pointer;
    }
  .main-menu {
      display: block;
      padding: 0;
    }
  .main-menu a {
      padding: 16px 0;
      font-size: 24px;
      border-bottom: 1px solid #eee;
    }
body:not(.page-id-3525) .main-menu li.current-menu-parent > a:hover,
body:not(.page-id-3525) .main-menu li.current-menu-ancestor > a:hover,
body:not(.page-id-3525) .main-menu li.current-page-ancestor > a:hover {
    background: transparent !important;
    color: #333 !important;
}
  .footer-inner {
      grid-template-columns: 1fr;
    }
  .site-footer .wp-block-social-links {
      width: max-content !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 0 !important;
      text-align: center !important;
    }
  .site-footer .wp-block-social-links .wp-social-link {
      display: inline-block !important;
      vertical-align: middle !important;
      margin: 0 5px !important;
      float: none !important;
    }
  .site-footer .wp-block-social-links .wp-social-link a {
      align-items: center !important;
      justify-content: center !important;
    }
  body{
      padding-top:62px !important;
    }
  .site-header{
      position:fixed !important;
      top:0 !important;
      left:0 !important;
      right:0 !important;
      height:62px !important;
      background:#fff !important;
      z-index:999999 !important;
    }
  .header-top{
      position:relative !important;
      height:62px !important;
      min-height:62px !important;
      max-height:62px !important;
      padding:0 12px !important;
      margin:0 !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      border-bottom:4px solid #d41244 !important;
      background:#fff !important;
    }
  .site-logo{
      position:absolute !important;
      left:50% !important;
      top:50% !important;
      transform:translate(-50%,-50%) !important;
      height:auto !important;
      margin:0 !important;
      z-index:2 !important;
    }
  .site-logo img{
      height:38px !important;
      width:auto !important;
      margin:0 !important;
      display:block !important;
    }
  /* SOCIAL */
  .header-socials{
      position:absolute !important;
      left:12px !important;
      top:50% !important;
      transform:translateY(-50%) !important;
      display:flex !important;
      align-items:center !important;
      justify-content:flex-start !important;
      gap:6px !important;
      width:auto !important;
      min-width:0 !important;
      margin:0 !important;
      padding:0 !important;
      z-index:3 !important;
    }
  .header-socials .wp-block-social-links{
      display:flex !important;
      flex-wrap:nowrap !important;
      align-items:center !important;
      gap:6px !important;
      margin:0 !important;
      padding:0 !important;
    }
  .header-socials .wp-social-link{
      width:26px !important;
      height:26px !important;
      margin:0 !important;
      flex:none !important;
    }
  .header-socials .wp-social-link a{
      width:26px !important;
      height:26px !important;
      padding:0 !important;
    }
  .header-socials .wp-social-link svg{
      width:15px !important;
      height:15px !important;
    }
  .main-nav {
      position:absolute !important;
      right:10px !important;
      top:50% !important;
      transform:translateY(-50%) !important;
      width:44px !important;
      height:44px !important;
      margin:0 !important;
      padding:0 !important;
      background:transparent !important;
      border:0 !important;
      z-index:4 !important;
    }
  .menu-toggle {
      position:absolute !important;
      inset:0 !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      width:44px !important;
      height:44px !important;
      margin:0 !important;
      padding:0 !important;
      background:transparent !important;
      border:0 !important;
      box-shadow:none !important;
      color:#111 !important;
      font-size:38px !important;
      line-height:1 !important;
      opacity:1 !important;
      top:-1px !important;
    }
  .menu-wrap.is-open {
      position:fixed !important;
      inset:0 !important;
      background:#fff !important;
      z-index:999998 !important;
      padding:70px 24px 24px !important;
      overflow-y:auto !important;
    }
  .menu-close {
      position:fixed !important;
	  font-weight: 200;
      width:44px !important;
      height:44px !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      font-size:56px !important;
      background:none !important;
      border:0 !important;
      color:#111 !important;
    }
body {
    padding-top: 62px !important;
}
  .site-header {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      height: 62px !important;
      min-height: 62px !important;
      max-height: 62px !important;
      margin: 0 !important;
      padding: 0 !important;
      background: #fff !important;
      border: 0 !important;
      z-index: 2147483000 !important;
      transform: none !important;
    }
  .header-top {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      height: 62px !important;
      min-height: 62px !important;
      max-height: 62px !important;
      margin: 0 !important;
      padding: 0 12px !important;
      display: block !important;
      background: #fff !important;
      border-bottom: 4px solid #d41244 !important;
      text-align: center !important;
      z-index: 2147483001 !important;
      transform: none !important;
    }
  .site-logo {
      position: fixed !important;
      top: 31px !important;
      left: 50% !important;
      right: auto !important;
      bottom: auto !important;
      width: auto !important;
      height: 38px !important;
      min-width: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      transform: translate(-50%, -50%) !important;
      text-align: center !important;
      z-index: 2147483003 !important;
    }
  .site-logo a {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      height: 38px !important;
      line-height: 1 !important;
      margin: 0 !important;
      padding: 0 !important;
    }
  .site-logo img {
      display: block !important;
      width: auto !important;
      max-width: none !important;
      height: 38px !important;
      max-height: 38px !important;
      margin: 0 !important;
      padding: 0 !important;
    }
  .header-socials {
      position: fixed !important;
      top: 31px !important;
      left: 12px !important;
      right: auto !important;
      bottom: auto !important;
      width: auto !important;
      max-width: 150px !important;
      height: 32px !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
      gap: 5px !important;
      overflow: hidden !important;
      transform: translateY(-50%) !important;
      z-index: 2147483004 !important;
    }
  .header-socials .wp-block-social-links,
  .header-socials .ew-social-icons {
      display: flex !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      justify-content: flex-start !important;
      gap: 5px !important;
      height: 32px !important;
      margin: 0 !important;
      padding: 0 !important;
    }
  .header-socials .wp-social-link {
      width: 30px !important;
      height: 30px !important;
      min-width: 30px !important;
      max-width: 30px !important;
      margin: 0 !important;
      padding: 0 !important;
      flex: 0 0 30px !important;
    }
  .header-socials .wp-social-link a {
      width: 30px !important;
      height: 30px !important;
      min-width: 30px !important;
      padding: 0 !important;
      margin: 0 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
  .header-socials .wp-social-link svg {
      width: 20px !important;
      height: 20px !important;
    }
  .header-socials .ew-social-icon {
      width: 30px !important;
      height: 30px !important;
      min-width: 30px !important;
      flex: 0 0 30px !important;
    }
  .header-socials .ew-social-icon img {
      width: 17px !important;
      height: 17px !important;
    }
  /* Hamburger */
  .main-nav {
      position: fixed !important;
      top: 31px !important;
      right: 10px !important;
      left: auto !important;
      bottom: auto !important;
      width: 46px !important;
      height: 46px !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      background: transparent !important;
      border: 0 !important;
      transform: translateY(-50%) !important;
      z-index: 2147483005 !important;
    }
  .menu-toggle {
      position: absolute !important;
      inset: 0 !important;
      top: -4px !important;
      right: 0 !important;
      left: 0 !important;
      bottom: auto !important;
      width: 46px !important;
      height: 46px !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      background: transparent !important;
      border: 0 !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      color: #111 !important;
      font-size: 32px !important;
      font-weight: 200 !important;
      line-height: 1 !important;
      opacity: 1 !important;
      cursor: pointer !important;
    }
  body.menu-open .menu-toggle,
  body.menu-open .menu-toggle {
      display: none !important;
    }
  .menu-wrap {
      display: none !important;
      transform: none !important;
      transition: none !important;
    }
  .menu-wrap.is-open {
      display: block !important;
      position: fixed !important;
      inset: 0 !important;
      width: 100% !important;
      height: 100vh !important;
      padding: 70px 24px 24px !important;
      background: #fff !important;
      overflow-y: auto !important;
      z-index: 2147483002 !important;
      transform: none !important;
      transition: none !important;
    }
  .menu-wrap.is-open .menu-close {
      display: inline-flex !important;
    }
  .main-menu {
      display: block !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      white-space: normal !important;
    }
  .main-menu a {
      display: inline-flex !important;
      margin: 0 0 0 0 !important;
      padding: 12px 10px 10px 0 !important;
      font-size: 1.1rem !important;
      border-bottom: 0 !important;
	  text-transform:capitalize;
    }
	.main-menu a:hover {
    color: #333 !important;
		background:transparent;
}
.main-menu li.current-menu-item>a, .main-menu li.current_page_item>a, .main-menu li.current-menu-parent>a, .main-menu li.current-menu-ancestor>a, .main-menu li.current-page-ancestor>a {
    color: #d41244 !important;
		background:transparent;
}
  body.menu-open .main-menu li {
      border-bottom: 0.75px solid #222;
    }
  body.menu-open .main-nav {
      position: fixed !important;
      inset: 0 !important;
      width: 100% !important;
      height: 100% !important;
      transform: none !important;
      right: auto !important;
      top: 0 !important;
      background: transparent !important;
      z-index: 2147483004 !important;
    }
  body.menu-open .menu-wrap,
  .menu-wrap.is-open {
      display: block !important;
      position: fixed !important;
      top: 62px !important;
      left: 0 !important;
      right: auto !important;
      bottom: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      height: calc(100vh - 62px) !important;
      transform: none !important;
      translate: none !important;
      margin: 0 !important;
      padding: 22px 24px 40px !important;
      background: #ededed !important;
      overflow-x: hidden !important;
      overflow-y: auto !important;
      box-sizing: border-box !important;
      z-index: 2147483001 !important;
    }
  body.menu-open .menu-toggle {
      display: none !important;
    }
  body.menu-open .menu-close {
      display: flex !important;
      position: fixed !important;
      top: 5px !important;
      right: 11px !important;
      width: 44px !important;
      height: 44px !important;
	  color: #111 !important;
      z-index: 2147483006 !important;
    }
  body.menu-open .main-menu {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      display: block !important;
      white-space: normal !important;
    }
  body.menu-open .main-menu li {
      width: 100% !important;
      display: block !important;
    }
  body.menu-open .main-menu a {
      display: inline-flex !important;
      max-width: 100% !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
    }
    .site-main .eu-polls-bar {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 0 30px 0 !important;
    }
    .ad-area-top {
      margin-bottom: 6px !important;
    }
    .ew-nav-spacer {
      display: none !important;
      height: 0 !important;
    }
.social-icons-header {
    display: flex;
    gap: 12px;
	float: left;
	padding-top:20px;
}
.social-icons-header .social-icon {
    width: 42px;
    height: 42px;
}
    html.menu-open,
  body.menu-open {
      overflow: hidden !important;
      height: 100% !important;
      max-height: 100% !important;
      touch-action: none;
    }
  body.menu-open {
      overscroll-behavior: none;
    }
  body.menu-open .menu-wrap.is-open {
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }
  .home-layout,
  .home-a-group,
  .home-bc-group,
  .home-c-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
    .logo {
      margin-top:0 !important;
      width: 90%;
	border-radius:0 0 3px 3px !important;
    }
  .score {
      font-size: 1.05rem;
      margin-top: -24px;
      font-weight: 900;
    }
  .change {
      font-weight: 900;
      font-size: 1rem;
    }
  .bar {
      padding-bottom: 60px;
    }
  .bar2 {
      padding-bottom: 20px;
    }
  .bar_party {
      height: 7em;
    }
  .bar_prez {
      height: 9em;
    }
  .column_bg {
      width: 90%;
      margin: 0 5%;
      background: repeating-linear-gradient(45deg, #f2f2f2, #f2f2f2 1px, transparent 1px, transparent 5px), linear-gradient(to bottom, #ededed,#ededed);
    }
  .name > p {
      padding-top: 6px !important;
      line-height: 0.9rem;
      font-size: 0.8rem;
    }
      .mandaty-text-measure {
        font-size: 11px;
        line-height: 1;
      }
    .mandaty-outside-label {
        font-size: 11px;
      }
    .mandaty-majority-line {
        top: 52px;
      }
    :root {
        --outside-line-height: 20px;
      }
    .mandaty-auto__segment-fade {
      width: 22px;
    }
      .mandaty-auto__label-text {
        font-size: 14px;
      }
    .mandaty-auto__label-value {
        font-size: 16px;
      }
    .mandaty-auto__segment-name {
        font-size: 16px;
      }
    .mandaty-auto__segment-value {
        font-size: 18px;
      }
    .mandaty-auto__legend-item {
        font-size: 16px;
      }
    .mandaty-auto__measure {
        font-size: 16px;
      }
      .mandaty-auto__outside-text {
        font-size: 13px;
      }

    .mandaty-auto__outside-value {
        font-size: 15px;
      }

    .mandaty-auto__legend-item {
        font-size: 15px;
      }
    .xcontainer {
      width: 100%;
    }
  .xrow {
      display: flex;
      margin-bottom: 10px;
      gap: 10px
  }
	.home-name-party {font-size: 1.4rem;}
	.party_score_change {font-size: 1.9rem;}
    .page-content h1, .post-content .title-first-part {
      font-size: 1.7rem;
      line-height: 1.5;
      font-weight: 900;
      display: inline;
      background-color: #d41244;
      color: #fff;
      padding: 0 8px;
      text-shadow: none !important;
      white-space: normal;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
      padding-top: 3px;
      border-radius: 3px;
      text-transform: uppercase;
      cursor: default;
    }
	.country-selected-election-page {margin-top: 36px !important; margin-right: 10px;}
	.country-options-election-page {margin-top: 84px !important; margin-right: 10px;}
}

/*----------------------------------------------------------
// min. 800 / max. 1020
----------------------------------------------------------*/
@media (min-width: 800px) and (max-width: 1020px) {
    .footer-inner {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

  .footer-col-3 {
      grid-column: 1 / -1;
    }
  .home-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a1 a1"
      "a2 a3"
      "b1 b1"
      "b2 c1"
      "c2 c2";
    gap: 24px;
    align-items: start;
  }
  .home-a-group,
  .home-bc-group,
  .home-c-group {
    display: contents;
  }
  .home-a1 { grid-area: a1; }
  .home-a2 { grid-area: a2; }
  .home-a3 { grid-area: a3; }
  .home-b1 { grid-area: b1; }
  .home-b2 { grid-area: b2; }
  .home-c1 { grid-area: c1; }
  .home-c2 { grid-area: c2; }
.country-select {right:15px !important; z-index: 8}
.country-options {right:15px !important}
.country-selected-election-page {
  top: 36px;
}
.country-options-election-page {
  margin-top: 82px;
  right: 5px !important;
}
}

/*----------------------------------------------------------
// min. 800 + hover
----------------------------------------------------------*/
@media (max-width: 800px) and (hover: hover) and (pointer: fine) {
    body,
  body {
      padding-top: 0 !important;
    }

  .site-main {
      margin-top: 8px !important;
    }

  .eu-polls-bar {
      margin-top: 15px !important;
    }

  .ad-area-top,
  .ad-area {
      margin-top: 0 !important;
    }
}

/*----------------------------------------------------------
// min. 460 / max. 800
----------------------------------------------------------*/
@media (min-width: 460px) and (max-width:800px) {
    .polls_header_party_desktop {
      display:none;
    }
  .polls_header_pollster {
      width:32%;
    }
  .polls_header_party {
      width:8.5%;
    }
  .polls_name {
      border-right: 0.7px solid #ccc;
      line-height: 0.9rem;
      padding-left:6px !important;
      padding-right:6px;
    }
  a.polls_link {
      font-size:0.8rem;
    }
  .polls_sample, .polls_date {
      font-size:0.7rem;
      word-break: keep-all;
    }
  .polls_result {
      border-right: 1px dashed #ddd;
      border-right: 0.7px solid #ccc;
      padding-top: 4px;
    }
}

/*----------------------------------------------------------
// max. 460
----------------------------------------------------------*/
@media (max-width: 460px) {
    .polls_header_party_desktop {
      display:none;
    }
  .polls_header_pollster {
      width:32%;
    }
  .polls_header_party {
      width:8.5%;
    }
  .polls_name {
      border-right: 0.7px solid #ccc;
      line-height: 0.8rem;
      margin-bottom:3px;
      padding-left:6px !important;
      padding-right:6px;
      font-size:0.7rem;
    }
  a.polls_link {
      font-size:0.7rem;
    }
  .polls_sample, .polls_date {
      font-size:0.7rem;
      word-break: keep-all;
    }
  .polls_result {
      font-size:0.9rem;
      border-right: 1px dashed #ddd;
      border-right: 0.7px solid #ccc;
      padding-top: 4px;
      letter-spacing:-0.025rem;
    }
}

/*----------------------------------------------------------
// max. 420
----------------------------------------------------------*/
@media (max-width:420px){
	.party-logo-big {width:64px; height:64px; border-radius:10px;}
}

/*----------------------------------------------------------
// max. 404
----------------------------------------------------------*/
@media (max-width: 404px) {
    ul.lcp_catlist > li, ul.category-country-link > li {
      letter-spacing: -0.55px;
      white-space: nowrap;
      list-style-type: none;
      margin-left: -40px;
    }
}















/* DESKTOP: submenu po najechaniu */
/* domyślnie strzałka ukryta — dzięki temu znika na desktopie */
.main-nav .submenu-toggle {
  display: none;
}

/* DESKTOP */
@media (min-width: 801px) {
  .main-nav .menu-item-has-children {
    position: relative;
  }

  .main-nav .menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #eee;
    z-index: 99999;
	  border-radius: 3px;
  }
	
	.main-nav .sub-menu {box-shadow:1px 1px 3px 1px #999; margin-left:3px;}
	.main-nav .sub-menu li a {padding:3px 8px 0 8px; margin:6px}

  .main-nav .menu-item-has-children {
    position: relative;
  }

  .main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);

    transition:
      opacity .15s ease,
      transform .15s ease,
      visibility .15s ease;

    transition-delay: .15s;

    pointer-events: none;
  }

  .main-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    pointer-events: auto;
  }
	
  .main-nav .submenu-toggle {
    display: none !important;
  }
}

/* MOBILE */
@media (max-width: 800px) {
  .main-nav .menu-item-has-children {
    position: relative;
  }

  .main-nav .menu-item-has-children > a {
    display: block;
    padding-right: 52px;
  }

  .main-nav .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
  }

  .main-nav .submenu-toggle::before {
    content: "›";
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    color: #111;
    transition: transform .25s ease;
  }

  .main-nav .menu-item-has-children.is-open > .submenu-toggle::before {
    transform: rotate(90deg);
  }

  .main-nav .menu-item-has-children > .sub-menu {
    display: none;
    padding-left: 18px;
  }

  .main-nav .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }
}

.main-nav .submenu-toggle {
  display: none !important;
}

@media (max-width: 800px) {
  .main-nav .main-menu .menu-item-has-children {
    position: relative !important;
  }

  .main-nav .main-menu .submenu-toggle {
    display: flex !important;
    position: absolute !important;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    z-index: 10;
  }

  .main-nav .main-menu .submenu-toggle::before {
    content: "›";
    font-size: 34px;
    font-weight: 700;
    color: #111;
    transition: transform .25s ease;
  }

  .main-nav .main-menu .menu-item-has-children.is-open > .submenu-toggle::before {
    transform: rotate(90deg);
  }

  .main-nav .main-menu .sub-menu {
    display: none !important;
  }

  .main-nav .main-menu .menu-item-has-children.is-open > .sub-menu {
    display: block !important;
  }
	
	.main-nav .sub-menu li {
		border-bottom: 0 !important;
		border-top: 0.75px solid #999 !important;
		padding-left: 15px;
	}
	.main-nav .sub-menu a {margin-left:30px !important; list-type: circle !important; font-weight: 700 !important; color:#444 !important;}
}



.main-nav .main-menu,
.main-nav .main-menu ul,
.main-nav .main-menu li,
.main-nav .main-menu .sub-menu,
.main-nav .main-menu .sub-menu li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  marker: none !important;
  padding-left: 0 !important;
}

.main-nav .main-menu li::marker,
.main-nav .main-menu .sub-menu li::marker {
  content: "" !important;
  display: none !important;
}