body {
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #2B2D44;
	background: white;
}

body #content.voter_turnout, body #content.end_results, body #content.candidacy_nomination, body .ui-widget {
	font-size: 13px;
}

a, a:link, a:visited, a:hover, a:active {
	color: #2B2D44;
}

a:hover {
	color: #CD0000;
}

table {
	table-layout: fixed;
	border-collapse: collapse;
	border: 1px solid rgba(68, 68, 68, 0.08);
	margin-bottom: 50px;
	overflow: hidden;
}

table thead, table tfoot {
	font-weight: bold;
	background: #D0D0D0;
}

table thead td {
	vertical-align: middle;
}

table td {
	border: 1px solid rgba(68, 68, 68, 0.08);
	padding: 6px 0;
	margin: 0;
	vertical-align: middle;
	box-sizing: border-box;
}

table.hor_pad td {
	padding: 6px;
}

hr {
	color: #D0D0D0;
	background-color: #D0D0D0;
}

.clear {
	height: 0;
	clear: both;
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}


.center {
	text-align: center;
}

#content {
	margin: 10px 10px 0 10px;
}

#content #header {
	text-align: center;
}

#content h1 {
	text-align: center;
}

#content a#logout {
	float: right;
	text-align: right;
	margin-bottom: 20px;
	display: block;
}

#content a#download {
	float: right;
	text-align: right;
	display: block;
}

#content dl {
	width: 100%;
	margin: 10px 0;
	line-height: 20px;
}

#content dl dt {
	float: left;
	clear: left;
	width: 50%;
	font-weight: bold;
}

#content dl dd {
	float: left;
	width: 50%;
	margin: 0;
}


/**************/
/* MESSAGEBOX */
/**************/
.my-notify {
	padding: 10px;
	margin: 10px 0;
}

#content .my-notify h1 {
	text-align: left !important;
	font-size: 18px !important;
	margin-top: 0px !important;
}

#content .my-notify h2 {
	text-align: left !important;
	font-size: 14px !important;
	margin-top: 12px !important;
}

.my-notify.my-notify-info {
	/*color: #224F66;*/
	border: 2px solid #D0D0D0;
	background-color: #ECECEC;
}

.my-notify.my-notify-success {
	color: #4F8A10;
	background-color: #DFF2BF;
}

.my-notify.my-notify-warning {
	color: #9F6000;
	background-color: #FEEFB3;
}

.my-notify.my-notify-error {
	color: #7F3231;
	border: 2px solid #EED3D7;
	background-color: #F2DEDE;
}


/*************/
/* DASHBOARD */
/*************/
#content.dashboard form table {
	width: 100%;
	border: none;
}

#content.dashboard form table td {
	border: none;
}

#content.dashboard form table td.form_error p {
	margin: 0 0 20px 0;
	color: red;
}

#content.dashboard td.vtop {
	vertical-align: top;
}

#content.dashboard td.label {
	width: 100px;
}

#content.dashboard td.label.large {
	width: 400px;
}

#content.dashboard td.survey {
	width: 540px;
}

#content.dashboard td.status {
	width: 110px;
}

#content.dashboard td.type {
	width: 85px;
}

#content.dashboard td.type2 {
	width: 45px;
}

#content.dashboard td.config_survey {
	width: 75px;
	text-align: center;
}

#content.dashboard td.add_user {
	width: 60px;
	text-align: center;
}

#content.dashboard td.count_users {
	width: 65px;
	text-align: center;
}

#content.dashboard td.username {
	width: 730px;
}

#content.dashboard td.change_password {
	width: 75px;
}

#content.dashboard td.remove_user {
	width: 75px;
}

#content.dashboard td input[type='text'], #content.dashboard td input[type='password'], #content.dashboard td select {
	width: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#content.dashboard td input[type='radio'] {
	margin-right: 3px;
}

#content.dashboard ul.menu {
	padding: 0;
	list-style-type: none;
	height: 16px;
}

#content.dashboard ul.menu li {
	float: left;
	margin-right: 6px;
}

#content.dashboard ul.menu.sub {
	margin-top: 4px;
}

#content.dashboard ul.surveys {
	padding: 0 0 0 20px;
}

#content.dashboard table {
	margin: 20px 0;
}

/* #content.dashboard table tr.odd {
} */

#content.dashboard table tr.even {
	background-color: #E6E6E6;
}

#content.dashboard table td img.warning {
	height: 20px;
	margin: 0 5px 2px 0;
	vertical-align: middle;
}

#content.dashboard table td a.config {
	display: block;
}

#content.dashboard table td a.config img {
	height: 24px;
}

#content.dashboard form td.message {
	width: 200px;
	vertical-align: top;
}

#content.dashboard form td.message.flex {
	width: auto;
}

#content.dashboard form td.message p {
	display: none;
	margin: 0;
}

#content.dashboard form td.message p.error {
	color: red;
}

#content.dashboard form td.message p.success {
	color: green;
}


/***********************/
/* LIVE / OPKOMSTMETER */
/***********************/
#content.voter_turnout {
	margin: 0;
}

#content.voter_turnout #header {
	margin: 0 10px;
}

#content.voter_turnout h1 {
	text-transform: uppercase;
	font-size: 18px;
	margin: 12px 0 0 0;
}

#content.voter_turnout h2 {
	text-align: center;
	font-size: 22px;
	margin: 0 0 10px 0;
}

#content.voter_turnout .sub_chart .table {
	display: table;
	table-layout: fixed;
	width: 100%;
}

#content.voter_turnout .sub_chart .table h2 {
	margin: 0;
	padding: 18px 0 6px 0;
	display: table-cell;
	vertical-align: bottom;
}

#content.voter_turnout h3 {
	text-align: center;
	font-size: 18px;
	margin: 24px 0 0 0;
}

#content.voter_turnout div#chart_area {
	width: 100%;
	height: 100%;
	max-width: 400px;
	max-height: 400px;
	margin: 0 0 0 255px;
}

#content.voter_turnout div.square-box div.square-content div#chart_area {
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
	margin: 0;
}

#content.voter_turnout div.square-box div.square-content div.chart_area {
	width: 100% !important;
	height: 100% !important;
}

#content.voter_turnout div.square-box {
	position: relative;
	width: 100vw;
	height: 100vw;
	max-width: 400px;
	max-height: 400px;
}

#content.voter_turnout div.square-box, #content.voter_turnout div.sub_chart {
	margin: 0 auto;
}

#content.voter_turnout div.square-box.sub {
	width: 80vw;
	height: 80vw;
	max-width: 300px;
	max-height: 300px;
}

#content.voter_turnout div.square-box::before {
	content: '';
	display: block;
	padding-top: 100%;
}

#content.voter_turnout div.square-box div.square-content {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#content #header .logo img.mobile {
	width: 100%;
	max-width: 426px;
}


/************************/
/* AFGESLOTEN / UITSLAG */
/************************/
#content.end_results h1 {
	font-size: 18px;
	margin: 20px 0 0 0;
}

#content.end_results h2 {
	font-size: 18px;
	margin: 20px 0 10px 0;
}

#content.end_results #header h2 {
	margin-top: 10px;
}

#content.end_results h3 {
	font-size: 12px;
}

#content.end_results table thead td.answer {
	width: 623px;
}

#content.end_results table thead td.total {
	width: 56px;
}

#content.end_results table thead td.percentage_bar {
	width: 200px;
}

#content.end_results table thead td.percentage {
	width: 40px;
}

#content.end_results table div.bar {
	width: 0;
	height: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#content.end_results table .odd div.bar {
	background: #2B2D44; /* was: #CD0000 */
  background: -webkit-linear-gradient(top, #2B2D44 0%, #103987 100%); /* was: #CD0000 0%, #FF1A00 100% */
  background: -moz-linear-gradient(top, #2B2D44 0%, #103987 100%); /* was: #CD0000 0%, #FF1A00 100% */
  background: -o-linear-gradient(top, #2B2D44 0%, #103987 100%); /* was: #CD0000 0%, #FF1A00 100% */
  background: linear-gradient(to bottom, #2B2D44 0%, #103987 100%); /* was: #CD0000 0%, #FF1A00 100% */
}

#content.end_results table .even div.bar {
	background: #2B2D44;
  background: -webkit-linear-gradient(top, #2B2D44 0%, #103987 100%);
  background: -moz-linear-gradient(top, #2B2D44 0%, #103987 100%);
  background: -o-linear-gradient(top, #2B2D44 0%, #103987 100%);
  background: linear-gradient(to bottom, #2B2D44 0%, #103987 100%);
}

#content.end_results table .color_1 div.bar {
	background: #7DBE0A;
  background: -webkit-linear-gradient(top, #7DBE0A 0%, #A2D93F 100%);
  background: -moz-linear-gradient(top, #7DBE0A 0%, #A2D93F 100%);
  background: -o-linear-gradient(top, #7DBE0A 0%, #A2D93F 100%);
  background: linear-gradient(to bottom, #7DBE0A 0%, #A2D93F 100%);
}

#content.end_results table .color_2 div.bar {
	background: #00A9E0;
  background: -webkit-linear-gradient(top, #00A9E0 0%, #7ADEFF 100%);
  background: -moz-linear-gradient(top, #00A9E0 0%, #7ADEFF 100%);
  background: -o-linear-gradient(top, #00A9E0 0%, #7ADEFF 100%);
  background: linear-gradient(to bottom, #00A9E0 0%, #7ADEFF 100%);
}

#content.end_results table .color_3 div.bar {
	background: #EB3DEE;
  background: -webkit-linear-gradient(top, #EB3DEE 0%, #FC85FB 100%);
  background: -moz-linear-gradient(top, #EB3DEE 0%, #FC85FB 100%);
  background: -o-linear-gradient(top, #EB3DEE 0%, #FC85FB 100%);
  background: linear-gradient(to bottom, #EB3DEE 0%, #FC85FB 100%);
}

#content.end_results table .color_4 div.bar {
	background: #1A62DB;
  background: -webkit-linear-gradient(top, #1A62DB 0%, #70B6F2 100%);
  background: -moz-linear-gradient(top, #1A62DB 0%, #70B6F2 100%);
  background: -o-linear-gradient(top, #1A62DB 0%, #70B6F2 100%);
  background: linear-gradient(to bottom, #1A62DB 0%, #70B6F2 100%);
}

#content.end_results table .color_5 div.bar {
	background: #CD0000;
  background: -webkit-linear-gradient(top, #CD0000 0%, #FF1A00 100%);
  background: -moz-linear-gradient(top, #CD0000 0%, #FF1A00 100%);
  background: -o-linear-gradient(top, #CD0000 0%, #FF1A00 100%);
  background: linear-gradient(to bottom, #CD0000 0%, #FF1A00 100%);
}

#content.end_results table .color_6 div.bar {
	background: #FF7D00;
  background: -webkit-linear-gradient(top, #FF7D00 0%, #FFA03C 100%);
  background: -moz-linear-gradient(top, #FF7D00 0%, #FFA03C 100%);
  background: -o-linear-gradient(top, #FF7D00 0%, #FFA03C 100%);
  background: linear-gradient(to bottom, #FF7D00 0%, #FFA03C 100%);
}

#content.end_results table .color_7 div.bar {
	background: #E5CD05;
  background: -webkit-linear-gradient(top, #E5CD05 0%, #FFFA7B 100%);
  background: -moz-linear-gradient(top, #E5CD05 0%, #FFFA7B 100%);
  background: -o-linear-gradient(top, #E5CD05 0%, #FFFA7B 100%);
  background: linear-gradient(to bottom, #E5CD05 0%, #FFFA7B 100%);
}

#content.end_results table .color_8 div.bar {
	background: #651E1E;
  background: -webkit-linear-gradient(top, #651E1E 0%, #A66565 100%);
  background: -moz-linear-gradient(top, #651E1E 0%, #A66565 100%);
  background: -o-linear-gradient(top, #651E1E 0%, #A66565 100%);
  background: linear-gradient(to bottom, #651E1E 0%, #A66565 100%);
}

#content.end_results table .color_9 div.bar {
	background: #7202AC;
  background: -webkit-linear-gradient(top, #7202AC 0%, #AD7BFF 100%);
  background: -moz-linear-gradient(top, #7202AC 0%, #AD7BFF 100%);
  background: -o-linear-gradient(top, #7202AC 0%, #AD7BFF 100%);
  background: linear-gradient(to bottom, #7202AC 0%, #AD7BFF 100%);
}

#content.end_results table .color_10 div.bar {
	background: #088602;
  background: -webkit-linear-gradient(top, #088602 0%, #27F306 100%);
  background: -moz-linear-gradient(top, #088602 0%, #27F306 100%);
  background: -o-linear-gradient(top, #088602 0%, #27F306 100%);
  background: linear-gradient(to bottom, #088602 0%, #27F306 100%);
}

#content.end_results table .seat_won div.bar {
	background: #92D050;
}

#content.end_results table .seat_undecided div.bar {
	background: #ED9131;
}

#content.end_results table .seat_lost div.bar {
	background: #C00000;
}

#content.end_results table .seat_available div.bar {
	background: #70AC2E;
}

#content.end_results table .seat_undecided div.bar {
	background: #ED9131;
}

#content.end_results table .seat_not_available div.bar {
	background: #B02B3B;
}


/* Tombola */
#tie-tombola-widget dl {
	float: left;
	clear: both;
	width: 100%;
	margin: 10px 0;
	line-height: 20px;
}

#tie-tombola-widget dl dt {
	float: left;
	clear: left;
	width: 45%;
	font-weight: bold;
}

#tie-tombola-widget dl dd {
	float: left;
	clear: right;
	width: 55%;
	margin: 0;
}

#tie-tombola-widget dl.stats dt, #tie-tombola-widget dl.stats dd {
	margin-bottom: 10px;
}

#tie-tombola-widget dl.tombola-wrapper dt {
	width: 100%;
}

#tie-tombola-widget dl.tombola-wrapper dd {
	width: 100%;
	margin-bottom: 10px;
}

#tie-tombola-widget dl dd div.tombola {
	height: 36px;
	width: 100%;
	overflow: hidden;
	display: inline-block;
	text-align: left;
}

#tie-tombola-widget dl dd div.tombola div {
  font-size: 30px;
	line-height: 36px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


/* Waiting dots */
@keyframes blink {
	0% {
		opacity: .2;
	}

	20% {
		opacity: 1;
	}

	100% {
		opacity: .2;
	}
}

.waiting-dots span {
	font-size: 26px;
	line-height: 0px;
	animation-name: blink;
	animation-duration: 1.4s;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
}

.waiting-dots span:nth-child(2) {
	animation-delay: .2s;
}

.waiting-dots span:nth-child(3) {
	animation-delay: .4s;
}

.waiting-dots span:nth-child(4) {
	animation-delay: .6s;
}

.waiting-dots span:nth-child(5) {
	animation-delay: .8s;
}


/*********/
/* MODAL */
/*********/
.no-close .ui-dialog-titlebar-close {
  display: none;
}

#tie-tombola-widget h1 {
	font-size: 1.3em;
}


/************************/
/* KANDIDAATSTELLING    */
/************************/
#content.candidacy_nomination div.results {
	width: 100%;
}

#content.candidacy_nomination h2 {
	font-size: 18px;
	margin-bottom: 9px;
}

#content.candidacy_nomination h3 {
	font-size: 14px;
	margin-bottom: 9px;
}

#content.candidacy_nomination .results.nominations h3, #content.candidacy_nomination .results .potentials h3.old, #content.candidacy_nomination .results .nominations h3 {
	font-size: 13px
}

#content.candidacy_nomination h3 em {
	font-style: normal;
	color: #C00A1D;
}

#content.candidacy_nomination h4 {
	font-size: 14px;
	font-weight: normal;
	margin: 9px 0 17px 0;
}

#content.candidacy_nomination h4 img {
	width: 20px;
	vertical-align: text-top;
}

#content.candidacy_nomination h4 span {
	position: relative;
	top: 3px;
}

#content.candidacy_nomination div.results p.list {
	line-height: 1.5em;
	margin-top: 9px;
}

#content.candidacy_nomination div.results div.potentials a.explanation_status {
	float: right;
}

#content.candidacy_nomination div.results div.potentials a.explanation_status img {
	width: 25px;
	height: 25px;
}

#content.candidacy_nomination div.results h4.legend {
	font-weight: bold;
	font-size: 14px;
	margin-top: 30px;
	margin-bottom: 8px;
}

#content.candidacy_nomination div.results h4.legend a {
	pointer-events: none;
}

#content.candidacy_nomination div.results ul.legend {
	list-style: none;
	padding: 0px;
	margin: 8px 0px 10px 0;
}

#content.candidacy_nomination div.results ul.legend li {
	margin-bottom: 4px;
	font-size: 13px;
}

#content.candidacy_nomination div.results div.explanation_potentials p {
	font-size: 13px;
	margin: 8px 0;
}

#content.candidacy_nomination div.results .potentials p.list {
	line-height: 1em;
}

#content.candidacy_nomination div.results p.list > span:not(.container), #content.candidacy_nomination div.results p.list span.container > span > span {
	font-size: 80%;
}

#content.candidacy_nomination div.results p.list span.container {
	display: inline-block;
	margin-bottom: 2px;
}

#content.candidacy_nomination div.results p.list span.container a {
	display: table-cell;
	padding-right: 5px;
}

#content.candidacy_nomination div.results p.list span.container > span:not(.potentials) {
	display: table-cell;
	vertical-align: middle;
	padding-top: 2px;
}

#content.candidacy_nomination div.results span.container > span.potentials {
	padding-right: 5px;
}

#content.candidacy_nomination div.results span.potentials {
	background: transparent url('/assets/images/knoppenreeks.png') no-repeat 0px 0px;
	display: table-cell;
	vertical-align: middle;
	width: 20px;
	height: 20px;
}

#content.candidacy_nomination div.results span.potentials.no_action {
	background-position: 0px 0px;
}

#content.candidacy_nomination div.results span.potentials.contacted {
	background-position: -21px 0px;
}

#content.candidacy_nomination div.results span.potentials.no_candidate {
	background-position: -42px 0px;
}

#content.candidacy_nomination div.results span.potentials.candidate {
	background-position: -63px 0px;
}

#content.candidacy_nomination div.results ul.legend li span.label {
	display: table-cell;
	vertical-align: middle;
	padding-left: 5px;
}


/************************/
/* RESPONSIVE           */
/************************/
@media only screen and (max-width: 1000px) {
	.non-mobile {
		display: none !important;
	}
}

@media only screen and (min-width: 1001px) {
	.mobile {
		display: none !important;
	}

	body #content.voter_turnout, body #content.end_results, body #content.candidacy_nomination, body .ui-widget {
		font-size: 16px;
	}

	#content {
		position: relative;
		left: 50%;
		width: 1024px;
		height: 747px;
		margin: 20px 0 0 -512px !important;
	}

	#content #header .logo {
		padding-bottom: 15px;
	}

	#content dl {
		width: 49%;
		margin: 10px 0;
		line-height: 20px;
	}

	#content dl.left {
		float: left;
		margin-right: 1%;
	}

	#content dl.right {
		float: left;
	}

	#content dl dt {
		float: left;
		clear: left;
		width: 46%;
		font-weight: bold;
	}

	#content dl dd {
		float: left;
		width: 54%;
		margin: 0;
	}

	#content dl.right dt {
		width: 55%;
	}

	#content dl.right dd {
		width: 45%;
	}

	/* DASHBOARD */
	#content.dashboard td.label {
		width: 175px;
	}

	#content.dashboard td.label.large {
		width: 400px;
	}

	#content.dashboard td.medium {
		width: 100px;
	}

	#content.dashboard td.small {
		width: 55px;
	}

	#content.dashboard td input[type='text'], #content.dashboard td input[type='password'], #content.dashboard td select {
		width: 100%;
	}

	#content.dashboard td input[type='text'].small {
		width: 50px;
	}

	#content.dashboard td input[type='text'].right_align {
		text-align: right;
	}

	/* LIVE / OPKOMSTMETER */
	#content.voter_turnout h1 {
		font-size: 30px;
		margin: 20px 0 0 0;
	}

	#content.voter_turnout h2 {
		font-size: 30px;
	}

	#content.voter_turnout div.sub_chart {
		float: left;
	}

	#content.voter_turnout div.sub_chart.col-1 {
		width: 100%;
	}

	#content.voter_turnout div.sub_chart.col-2 {
		width: 50%;
	}

	#content.voter_turnout div.sub_chart.col-3 {
		width: 33%;
	}

	#content.voter_turnout div.square-box {
		width: 100%;
		height: 100%;
		max-width: 400px;
		max-height: 400px;
	}

	/* AFGESLOTEN / UITSLAG */
	#content.end_results h1 {
		font-size: 30px;
		margin: 20px 0 0 0;
	}

	#content.end_results h2 {
		font-size: 20px;
	}

	#content.end_results h3 {
		font-size: 18px;
	}

	/* Tombola */
	#tie-tombola-widget dl dt {
		width: 27% !important;
	}

	#tie-tombola-widget dl dd {
		width: 73% !important;
	}

	/* KANDIDAATSTELLING */
	#content.candidacy_nomination h1 {
		font-size: 30px;
		margin: 20px 0 0 0;
	}

	#content.candidacy_nomination h2 {
		font-size: 20px;
	}

	#content.candidacy_nomination h3 {
		font-size: 16px;
	}

	#content.candidacy_nomination .results.nominations h3, #content.candidacy_nomination .results .potentials h3.old, #content.candidacy_nomination .results .nominations h3 {
		font-size: 14px;
	}

	#content.candidacy_nomination h4 {
		font-size: 18px;
	}

	#content.candidacy_nomination h4 img {
		width: auto;
		height: auto;
	}

	#content.candidacy_nomination h4 span {
		top: 7px;
	}

	#content.candidacy_nomination div.results.old {
		float: left;
		width: 49%;
	}

	#content.candidacy_nomination div.results div.left {
		float: left;
		width: 49%;
		margin-right: 1%;
	}

	#content.candidacy_nomination div.results div.right {
		float: right;
		width: 49%;
		margin-right: 1%;
	}

	#content.candidacy_nomination div.results.old.candidacies {
		margin-right: 1%;
	}
}
