﻿@font-face {
	font-family: 'Proxima Nova Th';
	src: url('fonts/subset-ProximaNova-Extrabld.eot');
	src: url('fonts/subset-ProximaNova-Extrabld.eot?#iefix') format('embedded-opentype'),
		url('fonts/subset-ProximaNova-Extrabld.woff2') format('woff2'),
		url('fonts/subset-ProximaNova-Extrabld.woff') format('woff'),
		url('fonts/subset-ProximaNova-Extrabld.svg#ProximaNova-Extrabld') format('svg');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Proxima Nova Rg';
	src: url('fonts/subset-ProximaNova-Bold.eot');
	src: url('fonts/subset-ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
		url('fonts/subset-ProximaNova-Bold.woff2') format('woff2'),
		url('fonts/subset-ProximaNova-Bold.woff') format('woff'),
		url('fonts/subset-ProximaNova-Bold.svg#ProximaNova-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Proxima Nova Regular';
	src: url('fonts/subset-ProximaNova-Regular.eot');
	src: url('fonts/subset-ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
		url('fonts/subset-ProximaNova-Regular.woff2') format('woff2'),
		url('fonts/subset-ProximaNova-Regular.woff') format('woff'),
		url('fonts/subset-ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Proxima Nova Lt';
	src: url('fonts/subset-ProximaNova-Semibold.eot');
	src: url('fonts/subset-ProximaNova-Semibold.eot?#iefix') format('embedded-opentype'),
		url('fonts/subset-ProximaNova-Semibold.woff2') format('woff2'),
		url('fonts/subset-ProximaNova-Semibold.woff') format('woff'),
		url('fonts/subset-ProximaNova-Semibold.svg#ProximaNova-Semibold') format('svg');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

body {
	background: #F1F2F2;
	overflow-x: hidden;
	font-family: 'Proxima Nova Regular';
}

.mobile {
	display: none !important;
}

.desktop {
	display: block !important;
}

.hero-box {
	width: 100%;
	clear: both;
	display: flex;
	justify-content: space-between;
}

.desktop-dodik,
.desktop-zeljka {
	width: 40%;
}

.info-glasova {
	width: 20%;
	margin-left: 15px;
}

div.content {
	padding-bottom: 69px;
}

.row {
	margin-right: 0;
	margin-left: 0;
}

/*boje grafikona*/
span.prviSNSD {
	background: #8a0304;
}

tr td:nth-child(2) {
	color: #8a0304;
}

span.drugiSNSD {
	background: #bd2227;
}

span.prviSDS {
	background: #08528b;
}

span.drugiSDS {
	background: #4d82ac;
}

span.prviNebojsa {
	background: #808184;
}

span.drugiNebojsa {
	background: #aeafb1;
}

/*tabela*/
.table-container {
	overflow-x: auto;
	padding-bottom: 10px;
	margin: 0 auto;
	width: 97%;
	font-size: 23px;
}

.custom-table {
	border-collapse: collapse;
	text-align: center;
	color: #58595b;
	font-size: 20px;
	min-width: 100%;
}

.custom-table th {
	background-color: #b81c22;
	color: #ffffff;
	font-weight: bold;
	font-size: 13px;
	letter-spacing: 4px;
	padding: 6px 0;
	text-transform: uppercase;
}

.custom-table td {
	padding: 5px 10px;
	white-space: nowrap;
	position: relative;
	max-width: 500px;
	min-width: 110px;
	text-wrap: auto;
	font-family: 'Proxima Nova Regular';
}



.custom-table td:not(:last-child) {
	border-right: 1px solid #5c6c76;
}

.custom-table tbody tr td {
	border-top: 1px solid #5c6c76;
	border-bottom: 1px solid #5c6c76;
}

.custom-table tbody tr td:first-child {
	padding-left: 20px;
}

.custom-table tbody tr td.row-label::before {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;

	width: 60%;
	height: 5px;
	background-color: #F1F2F2;
	/* Boja linije */
}

.custom-table tbody tr td.row-label::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 60%;
	height: 5px;
	background-color: #F1F2F2;
}

tr#glasoviPb td:last-child::after,
tr#glasoviEb td:last-child::after,
tr#crtice-tabele td:last-child::after {
	content: "";
	position: absolute;
	bottom: -2px;
	right: 0;
	width: 60%;
	height: 5px;
	background-color: #F1F2F2;
}

#stranke td::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: -2px;
	width: 5px;
	height: 20px;
	background-color: #F1F2F2;
}

#stranke td {
	border-bottom: none;
}

#crtice-tabele td {
	border-top: none;
	padding: 9px;
}

#crtice-tabele td::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -3px;
	width: 5px;
	height: 10px;
	background-color: #F1F2F2;
	/* Boja linije */
}

/* Podnožje tabele (bez linija) */
.custom-table tfoot td {
	border: none !important;
	vertical-align: top;
	padding-top: 12px;
}

/* Prva kolona (РБ, еБ) */
.custom-table .row-label {
	color: #6c757d;
	font-family: 'Proxima Nova Regular';
	text-align: right;
}

/* Istaknuta prva kolona sa podacima */
.custom-table .highlight {
	color: #b81c22;
	font-weight: bold;
}

/*header*/
.header {
	height: 15%;
	width: 100%;
}

.header-first {
	float: left;
	width: 25%;
}

.header-last {
	float: right;
	width: 25%;
}

.header-second {
	width: 50%;
	float: left;
}

.header-last {
	float: right;
	width: 25%;
}

h2.header-title {
	font-family: 'Proxima Nova Lt';
	font-size: 45px;
	line-height: 47px;
	color: #00519A;
}

h2.header-title span {
	font-family: 'Proxima Nova Th';
	font-size: 65px;
	color: #BE141B;
}

.header img {
	max-width: 100%;
	height: auto;
}

/*half*/
.half {
	width: 50%;
	float: left;
	display: inline-block;
	position: relative;
	margin-bottom: 55px;
}

.half.clear {
	border-right: 1px dashed #58595B;
	padding-bottom: 0;
}

.half.clear:after {
	content: '.';
	font-size: 100px;
	position: absolute;
	right: -14px;
	bottom: -48px;
	color: #58595B;
}

.clear {
	clear: both;
}

.half-box {
	position: relative;
	display: block;
	clear: both;
	width: 100%;
}

.dodik-info .first-box {
	width: calc(83% - 90px);
	background: #8a0304;
	display: block;
	position: relative;
	margin-left: 90px;
	padding-left: 22px;
	filter: drop-shadow(6px 5px 8px #58595b);
	margin-top: 21px;
	float: left;
	visibility: visible;
	z-index: 1;
	max-width: 370px;
}

.dodik-info .first-box::after {
	content: "";
	position: absolute;
	top: 0;
	left: 99%;
	width: 0;
	height: 0;
	border-top: 133px solid #8a0304;
	border-right: 59px solid transparent;
	pointer-events: none;
}

.dodik-info .picture {
	border-radius: 50%;
	border: 5px solid #BE141B;
	float: left;
	width: 150px;
	position: absolute;
	z-index: 5;
	left: -70px;
	top: -16px;
}

.ribbon5 {
	display: block;
	width: calc(80% + 20px);
	height: 39px;
	line-height: 37px;
	text-align: right;
	margin-left: -7px;
	margin-right: -10px;
	background: #BE141B;
	position: relative;
	top: -16px;
	border-bottom-right-radius: 33px;
	padding-left: 22px;
	color: #fff;
	font-family: 'Proxima Nova Rg';
	font-size: 15px;
	padding-right: 15px;
}

.ribbon5:before,
.ribbon5:after {
	content: "";
	position: absolute;
}

.ribbon5:after {
	height: 0;
	width: 0;
	right: -20px;
	bottom: 23px;
	border-bottom: 17px solid #8B0304;
	border-right: 20px solid transparent;
}

.dodik-info h2 {
	text-align: right;
	padding-bottom: 8px;
	margin-top: -10px;
	color: #fff;
	font-family: 'Proxima Nova Regular';
	font-size: 42px;
	line-height: 44px;
	padding-right: 2px;
}

.dodik-info h2 span {
	font-family: 'Proxima Nova Th';
}

.dodik-info .second-box {
	display: block;
	float: right;
	width: 39%;
	margin-left: 1em;
	vertical-align: middle;
	height: 92px;
	position: relative;
}

.dodik-info .second-box img {
	float: left;
	margin: 14% 0;
}

.dodik-info .second-box p {
	float: left;
	margin: 14% 0;
}

.responsive-box {
	width: calc(100% - 160px);
	position: absolute;
	bottom: 0;
}

.dodik-info .second-box p {
	display: block;
	float: left;
	width: 46%;
	vertical-align: middle;
	height: 92px;
	position: relative;
}

/*.dodik-info {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
	background: red;
}*/
.border-dodik {
	position: absolute;
	width: 141%;
	left: 0px;
	bottom: 4%;
	z-index: 0;
	background-image: repeating-linear-gradient(90deg, #58595B, #58595B 10px, transparent 10px, transparent 20px);
	height: 2px;
}

.border-dodik::after {
	content: '.';
	font-size: 91px;
	position: absolute;
	right: -17px;
	top: 2px;
	line-height: 0;
	margin-top: -24px;
	color: #58595B;
}

.chart-box {
	float: left;
	width: 90%;
	height: 100%;
}

.chart {
	display: flex;
	width: 100%;
	max-width: 100%;
	height: 100% !important;
	margin: 0 auto;
	background-image: linear-gradient(bottom, rgba(0, 0, 0, 0.1) 2%, transparent 2%);
	background-size: 100% 50px;
	background-position: left top;
	border-bottom: 1px solid #58595B;
	padding-left: 0;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: flex-end;
	height: 100% !important;

}

.chart li {
	position: relative;
	display: flex;
	vertical-align: bottom;
	height: 100%;
	justify-content: space-between;
	width: 50%;
	align-items: flex-end;
	align-content: stretch;
}

.chart span {
	margin: 0 1em;
	display: flex;
	animation: draw 1s ease-in-out;
	font-family: 'Proxima Nova Rg';
	font-size: 23px;
	color: #6d6e70;
	/*background: linear-gradient(0deg, rgba(123, 124, 127, 1) 0%, rgba(123, 124, 127, 1) 0%, rgba(173, 175, 178, 1) 100%);*/
	width: 50%;
	flex-wrap: nowrap;
	align-content: flex-end;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
}

ul.chart li em {
	font-style: normal;
	width: 100%;
	text-align: center;
	font-size: 36px;
	color: #fff;
}

.chart span.red {
	background: #ba2025;
}

.chart span.blue {
	background: linear-gradient(90deg, rgba(0, 81, 154, 1) 0%, rgba(0, 81, 154, 1) 0%, rgba(10, 131, 190, 1) 100%);
}

.chart span.silver {
	background: #808285;
}

.chart span.silver-gradient {
	background: linear-gradient(0deg, rgba(123, 124, 127, 1) 0%, rgba(123, 124, 127, 1) 0%, rgba(173, 175, 178, 1) 100%);
}

.chart span::before {
	position: absolute;
	left: 0;
	right: 0;
	top: 107%;
	padding: 5px 1em 0;
	display: block;
	text-align: center;
	content: attr(title);
	color: #6d6e70;
	word-wrap: break-word;
}

.chart span::after {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 5px 1em 0;
	display: block;
	text-align: center;
	content: attr(data);
	word-wrap: break-word;
}

.chart span i {
	position: relative;
	bottom: 0px;
	width: 100%;
	text-align: center;
	font-size: 23px;
	color: #6d6e70;
	font-style: normal;
	margin-bottom: -35px;
	font-family: 'Proxima Nova Regular';
}

.chart li img {
	/* position: absolute; */
	/* top: 0; */
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translate(-50%, 0);
}

/*ruller*/
.ruler-body {
	position: relative;
	height: 33vh;
	padding-left: 0;
	width: 100%;
}

.ruler-y {
	padding-left: 0;
	padding-bottom: 0 !important;
	margin-bottom: 0;
	width: 10%;
	float: left;
	/*background: red;*/
	border-right: 1px dashed #58595B;
}

.ruler-y li {
	height: 3vh;
	list-style-type: none;
	text-align: center;
}

/*predsjednostvo*/
#procentiPredsjednistva .ruler-y {
	border-right: 0px dashed #58595B;
	border-left: 1px dashed #58595B;
	float: right;
}

.zeljka-info .first-box {
	width: 100%;
	background: #8a0304;
	display: block;
	position: relative;
	margin-left: -7px;
	padding-left: 22px;
	filter: drop-shadow(-6px 5px 8px #58595b);
	margin-top: 21px;
	float: left;
	visibility: visible;
	z-index: 1;
	max-width: 370px;
}

.zeljka-info .first-box::before {
	content: " ";
	position: absolute;
	top: 0;
	right: 99%;
	width: 59px;
	height: 0;
	border-top: 135px solid #8a0304;
	border-left: 48px solid transparent;
	pointer-events: none;
}

.zeljka-info .picture {
	border-radius: 50%;
	border: 5px solid #BE141B;
	float: right;
	width: 150px;
	position: absolute;
	z-index: 5;
	right: -70px;
	top: -16px;
}

.ribbon6 {
	display: block;
	width: calc(90% + 20px);
	height: 39px;
	line-height: 37px;
	text-align: left;
	margin-left: 33px;
	margin-right: -10px;
	background: #BE141B;
	position: relative;
	top: -15px;
	border-bottom-left-radius: 33px;
	padding-left: 22px;
	color: #fff;
	font-family: 'Proxima Nova Rg';
	font-size: 15px;
}

.ribbon6:before,
.ribbon6:after {
	content: "";
	position: absolute;
}

.ribbon6:after {
	height: 0;
	width: 0;
	left: -20px;
	bottom: 23px;
	border-bottom: 17px solid #8B0304;
	border-left: 20px solid transparent;
}

.zeljka-info h2 {
	text-align: left;
	padding-right: 95px;
	padding-bottom: 8px;
	margin-top: -10px;
	color: #58595B;
	font-family: 'Proxima Nova Regular';
	font-size: 42px;
	color: #fff;
	line-height: 44px;
	margin-left: -18px;
}

.zeljka-info h2 span {
	font-family: 'Proxima Nova Th';
}

.zeljka-info .second-box {
	display: block;
	float: left;
	width: 35%;
	/* margin-left: 2em; */
	vertical-align: middle;
	height: 150px;
	position: relative;
}

.zeljka-info .second-box img {
	float: left;
	margin: 14% 0;
}

.zeljka-info .second-box p {
	float: left;
	margin: 14% 0;
}

.zeljka-info .responsive-box {
	width: calc(100% - 160px);
	position: absolute;
	bottom: 0;
	right: -8px;
}

.zeljka-info .second-box p {
	float: left;
	margin: 14% 0;
	font-size: 23px;
	line-height: 21px;
	margin-left: 8px;
	color: #58595B;
	font-family: 'Proxima Nova Rg';
}

.border-zeljka {
	position: absolute;
	width: 150%;
	left: -50%;
	bottom: 42%;
	z-index: 0;
	background-image: repeating-linear-gradient(90deg, #58595B, #58595B 10px, transparent 10px, transparent 20px);
	height: 2px;
}

.border-zeljka::before {
	content: '.';
	font-size: 91px;
	position: absolute;
	left: -17px;
	top: 1px;
	line-height: 0;
	margin-top: -24px;
	color: #58595B;
}

/*skupstina*/
.full {
	width: 100%;
	float: left;
	clear: both;
	margin-top: 20px;
	text-align: center;
	/*background: green;*/
}

.full h3 {
	font-size: 23px;
	font-weight: normal;
	font-family: 'Proxima Nova Rg';
	color: #58595B;
}

h3.skupstina {
	font-family: 'Proxima Nova Rg';
	color: #ffff;
	background: #be1b1b;
	width: 90%;
	margin: 0 auto;
	margin-bottom: 15px;
	padding: 10px;
	font-size: 18px;
	letter-spacing: 3px;
	margin-bottom: 0;
	margin-top: 0;
}

#skupstina,
#dom {
	display: block;
}

.stranka {
	display: inline-block;
	width: 12%;
}

#skupstina.chart,
#dom.chart {
	display: inline-block;
	/*table-layout: fixed;
     width: 100%; */
	max-width: 99%;
	margin: 0 auto;
	background-image: linear-gradient(bottom, rgba(0, 0, 0, 0.1) 2%, transparent 2%);
	background-size: 100% 50px;
	background-position: left top;
	border-bottom: none;
}

#skupstina.chart li {
	position: relative;
	display: flex;
	vertical-align: bottom;
	height: 100%;
	justify-content: space-between;
	width: 50%;
	align-items: flex-end;


}

#dom.chart li {
	position: relative;
	display: block;
	vertical-align: bottom;
	height: 6vh;
	margin-bottom: 20px;
	width: 16.66666666666667%;
	float: left;
	border-bottom: 1px solid #ccc;
}

#skupstina.chart span,
#dom.chart span {
	position: absolute;
	bottom: 0;
	width: 95%;
	font-size: 15px;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
}

#skupstina.chart #СНСД span,
#dom.chart #СНСД span {
	margin: 0 0.5em;
	display: block;
	background: #ba2025;
	font-weight: bold;
	animation: draw 1s ease-in-out;
}

#skupstina.chart #СНСД span i,
#dom.chart #СНСД span i {
	color: #fff;
	font-weight: bold;
}

#skupstina.chart span::before,
#dom.chart span::before {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 5px 1em 0;
	display: block;
	text-align: center;
	content: attr(title);
	word-wrap: break-word;
}

#skupstina.chart span::after,
#dom.chart span::after {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 5px 1em 0;
	display: block;
	text-align: center;
	content: attr(data);
	word-wrap: break-word;
}

#skupstina.chart span i,
#dom.chart span i {
	position: absolute;
	bottom: -5px;
	width: 100%;
	text-align: center;
	font-size: 23px;
	font-weight: normal;
	color: #000;
	font-style: normal;
	left: 0;
	font-family: 'Proxima Nova Rg';
}

/*progress*/
@property --pgPercentage {
	syntax: '<number>';
	inherits: false;
	initial-value: 0;
}

div[role="progressbar"] {
	font-family: 'Proxima Nova Regular';
	--pgPercentage: var(--value);
	animation: growProgressBar 3s 1 forwards;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: radial-gradient(closest-side, white 88%, transparent 0 99.9%, white 0), conic-gradient(#BE141B calc(var(--pgPercentage) * 1%), #adb5baf7 0);
	font-size: 16px;
	font-weight: bold;
	color: #BE141B;
	margin-top: 5px;
	margin-right: 5px;
}


@keyframes draw {
	0% {
		height: 0;
	}
}

@keyframes growProgressBar {

	0%,
	33% {
		--pgPercentage: 0;
	}

	100% {
		--pgPercentage: var(--value);
	}
}

.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: nowrap;
	margin-right: -15px;
	margin-left: -15px;
	width: 100%;
}

.dodik-info {
	display: flex;
	justify-content: center;
	width: 90%;
	padding-left: 0;
	padding-right: 20px;
}

.zeljka-info {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-left: 20px;
}

@media only screen and (max-width: 2102px) {
	.info-glasova {
		width: 26%;
		margin-left: 15px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

@media only screen and (max-width: 1990px) {
	.dodik-info .first-box {
		width: calc(100% - 90px);
	}

	.dodik-info .second-box {
		width: calc(20% - -2em);
	}

	.zeljka-info .first-box {
		width: calc(80% - 90px);
	}


	.zeljka-info .second-box {
		width: calc(25% - 1em);
	}

}

@media only screen and (max-width: 1782px) {
	.chart span i {
		font-size: 20px;
	}

	.zeljka-info .second-box {
		width: calc(17% - 1em);
	}

	.dodik-info .second-box {
		width: calc(12% - -2em);
	}

	.chart span {
		font-size: 20px;
	}

	ul.chart li em {
		font-size: 30px;
	}

	h3.skupstina {
		margin-top: 50px;
	}
}

@media only screen and (max-width: 1688px) {
	.second-box {
		display: none !important;
	}
}

/* @media only screen and (max-width: 1827px) {

	.zeljka-info .second-box p,
	.dodik-info .second-box p {
		font-size: 20px;
	}

	.ribbon6 {
		margin-left: 4px;
	}

	.ribbon5 {
		margin-left: 0;
		width: calc(84% + 20px);
	}

	.chart span i {
		font-size: 44px;
	}
}

@media only screen and (max-width: 1746px) {

	.zeljka-info h2,
	.dodik-info h2 {
		font-size: 30px;
	}

	.ribbon5,
	.ribbon6 {
		font-size: 12px;
	}

} 

@media only screen and (max-width: 1649px) {
	div[role="progressbar"] {
		width: 100px;
		height: 100px;
		margin-top: 50px;
		font-size: 20px;
	}

	.responsive-box,
	.zeljka-info .responsive-box {
		width: calc(100% - 110px);
	}

	.dodik-info h2,
	.zeljka-info h2 {
		padding-bottom: 0px;
		line-height: 38px;
	}
}*/

/* @media only screen and (max-width: 1595px) {
	.chart span {
		font-size: 15px;
	}
} */
@media only screen and (max-width: 1644px) {
	.dodik-info .first-box {
		width: calc(92% - 90px);
	}

	.zeljka-info .first-box {
		width: calc(94% - 90px);
	}
}

/* @media only screen and (max-width: 1500px) {
	.zeljka-info .second-box {
		width: calc(43% - 1em);
		margin-left: 1em;
	}

	.dodik-info .second-box {
		display: block;
		width: calc(43% - 1em);
	}

	.zeljka-info .second-box p,
	.dodik-info .second-box p {
		font-size: 15px;
		line-height: 20px;
	}

	.zeljka-info .first-box,
	.dodik-info .first-box {
		width: calc(55% - 90px);
	}

	h2.header-title {
		font-size: 36px;
	}

	h2.header-title {
		font-size: 36px;
	}

	h2.header-title span {
		font-size: 51px;
	}

	.row img {
		max-height: 90px;
	}

	.header {
		height: 10%;
		width: 100%;
	}
} */
@media only screen and (max-width: 1503px) {
	.desktop-zeljka {
		padding-right: 50px;
	}
}

@media only screen and (max-width: 1440px) {
	.ribbon5 {
		font-size: 13px;
	}

	.chart span i {
		font-size: 18px;
	}
}

/* @media only screen and (max-width: 1390px) {

	.dodik-info .second-box img,
	.zeljka-info .second-box img {
		display: none;
	}

	.chart span i {
		font-size: 30px;
	}

	#skupstina.chart span i,
	#dom.chart span i {
		font-size: 20px;
	}
} 

@media only screen and (max-width: 1300px) {
	.ribbon6 {
		height: 39px;
		line-height: 13px;
		top: -14px;
		padding-top: 5px;
		width: calc(87% + 20px);
		float: right;
		padding-right: 50px;
	}

	.ribbon5 {
		height: 39px;
		line-height: 13px;
		top: -14px;
		padding-top: 5px;
		width: calc(78% + 20px);
		float: left;
		padding-left: 50px;
		text-align: left;
	}

	.dodik-info h2,
	.zeljka-info h2 {
		padding-bottom: 17px;
		line-height: 30px;
		font-size: 23px;
	}
}*/

@media only screen and (max-width: 1416px) {
	.desktop {
		display: none !important;
	}

	.mobile {
		display: block !important;
	}

	.half {
		width: 100%;
	}

	.half.clear {
		border-right: 0px dashed #58595B;
	}

	.half.clear:after {
		content: '';
	}

	.zeljka-info .first-box,
	.dodik-info .first-box {
		width: 100%;
		height: 128px;
	}

	.ruler-y {
		display: none;
	}

	.chart-box {
		float: left;
		width: 100%;
		height: 100%;
	}

	.info-glasova {
		width: 100%;
		max-width: 500px;
		margin: 0 auto;
		padding: 0 15px 26px;
	}

	.half-box {
		margin-top: 50px;
	}

	.zeljka-info .first-box {
		margin-right: 90px;
		float: right;
	}

	.zeljka-info .first-box::before {
		width: 55px;
		border-top: 128px solid #8a0304;
	}
}

@media only screen and (max-width: 767px) {
	.col-md-6.col-sm-6.align-self-center:last-child {
		display: none;
	}

	.col-md-6.col-sm-6.align-self-center:first-child {
		max-width: 100% !important;
		flex: auto;
	}

	h2.text-right.header-title {
		text-align: center !important;
	}
}

@media only screen and (max-width: 651px) {
	.chart span i {
		margin-bottom: -52px;
	}

	ul.chart li em {
		margin-bottom: 20px;
	}

	.chart span::before {
		padding: 29px 1em 0;
	}

	.half {
		margin-bottom: 150px;
	}
}

@media only screen and (max-width: 525px) {
	.dodik-info .first-box {
		max-width: calc(80% - 40px);
		padding-left: 22px;
		width: 370px;
	}

	.dodik-info .first-box::after {
		border-top: 129px solid #8a0304;
		border-right: 51px solid transparent;
	}

	.zeljka-info .first-box {
		max-width: calc(80% - 40px);
		padding-right: 22px;
		width: 370px;
	}

	.dodik-info {
		width: 100%;
	}
}

@media only screen and (max-width: 515px) {

	.dodik-info .picture,
	.zeljka-info .picture {
		width: 136px;
		top: -17px;
	}

	.dodik-info h2,
	.zeljka-info h2 {
		margin-top: -13px;
		font-size: 30px;
		line-height: 34px;
	}

	.zeljka-info .first-box,
	.dodik-info .first-box {
		height: 118px;
	}

	.dodik-info .first-box::after {
		border-top: 119px solid #8a0304;
	}

	.ribbon6 {
		width: calc(100% + 35px);
		margin-left: -30px;
	}

	.zeljka-info .first-box::before {
		width: 50px;
		border-top: 117px solid #8a0304;
	}

	.zeljka-info .first-box {
		max-width: calc(77% - 40px);
	}
}

@media only screen and (max-width: 449px) {
	h2.header-title {
		font-size: 33px;
	}

	h2.header-title span {
		font-size: 49px;
	}

	.chart span {
		margin: 0 5px;
	}

	ul.chart li em {
		font-size: 19px;
	}
}

@media only screen and (max-width: 468px) {
	.dodik-info .first-box {
		margin-top: 75px !important;
		max-width: 70%;
	}

	.ribbon5 {
		top: -60px;
		border-bottom-right-radius: 0;
		width: 163%;
		left: -39%;
		text-align: center;
		font-size: 15px;
	}

	.ribbon5:before,
	.ribbon5:after,
	.ribbon6:before,
	.ribbon6:after {
		display: none;
	}

	.ribbons-wrapper {
		height: 33px;
	}

	.dodik-info h2,
	.zeljka-info h2 {
		font-size: 25px;
	}

	.dodik-info {
		width: 90%;
		margin: 0 auto;
	}

	.ribbon6 {
		top: -60px;
		border-bottom-right-radius: 0;
		width: 163%;
		right: 17%;
		text-align: center;
		font-size: 15px;
		border-bottom-left-radius: 0;
		padding-left: 0;
	}

	.chart span {
		font-size: 17px;
	}
}

@media only screen and (max-width: 375px) {
	.dodik-info .first-box {
		margin-left: 60px;
	}

	.zeljka-info .first-box {
		margin-right: 75px;
	}

	.chart span {
		font-size: 15px;
	}
}

@media only screen and (max-width: 320px) {

	.dodik-info .picture,
	.zeljka-info .picture {
		width: 100px;
	}

	.dodik-info h2,
	.zeljka-info h2 {
		font-size: 22px;
		line-height: 21px;
	}

	.zeljka-info .first-box,
	.dodik-info .first-box {
		height: 78px;
	}

	.dodik-info .first-box::after {
		border-top: 80px solid #8a0304;
	}

	.zeljka-info .first-box::before {
		width: 50px;
		border-top: 77px solid #8a0304;
	}

	.ribbon5 {
		width: 180%;
		left: -49%;
	}

	.ribbon6 {
		width: 206%;
		right: 25%;
	}

	.chart span {
		font-size: 14px;
	}
}

@media only screen and (max-width: 285px) {
	.chart span {
		font-size: 12px;
	}

	.ribbon6 {
		width: 225%;
	}

	.ribbon5 {
		font-size: 15px;
		width: 190%;
		left: -55%;
	}

	.custom-table {
		font-size: 16px;
	}

	.info-glasova p {
		font-size: 13px;
	}
}

#popup {
	width: 90%;
	max-height: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 50;
	max-width: 1300px;
}

img#popupIMG {
	max-width: 100%;
	height: auto;
}

.POPmain {
	background: #bb0e0ccf;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 9;
	top: 0;
	position: fixed;
}

/*login*/
body.login {
	background: #BE141B;
	font-family: 'Proxima Nova Rg';
}

.login .center-box {
	max-width: 303px;
	max-height: 420px;
	background-color: #fff;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	overflow: auto;
}

.login h2 {
	background: #BE141B;
	padding: 0 0 15px;
	margin: 0;
	text-align: center;
	color: #fff;
	font-family: 'Proxima Nova Th';
}

.login label {
	font-size: 21px;
	width: 100%;
	clear: both;
	float: left;
}

.login input {
	font-family: 'Proxima Nova Rg';
	border: 2px solid #BE141B;
	padding: 5px;
	width: 100%;
	color: #bb0e0c;
	font-size: 18px;
}

.login input[type="submit"] {
	margin-top: 20px;
	padding: 9px;
	background: #bb0e0c;
	color: #fff;
	text-transform: uppercase;
	font-family: 'Proxima Nova Th';
	font-weight: bold;
	cursor: pointer;
}

.login .error-login {
	color: red;
	font-weight: bold;
	padding: 0 10px;
}

.login .chack {
	display: flex;
	flex-direction: row;
	align-content: space-around;
	align-items: center;
	flex-wrap: nowrap;
}

.login .chack input[type="checkbox"] {
	width: 28px;
	transform: scale(1.5);
	margin: 0 6px 0 0;
}