

.events {
	font-family: 'Poppins', sans-serif;
	width: 100%;
	border-collapse: inherit;
	border-spacing: 1px;
	margin-bottom: 20px;
}

.events thead tr th {
	background: linear-gradient(180deg, rgba(49,132,255,1) 0%, rgba(17,29,46,1) 100%);
	font-size: 16px;
	color: white;
	font-weight: bold;
	text-align: center;
	text-transform: initial;
	padding: 4px 8px;
}

.events tbody tr td {
	vertical-align: middle;
	padding: 3px !important;
	font-size: 14px;
}

.events tbody.labels tr {
	background: #edf6f9;
}

.events tbody tr td:nth-child(1) span {
	color: #13243d;
	position: relative;
	margin-left: 10px;
}

.events tbody tr td:nth-child(1) a:hover {
	text-decoration: none;
}

.events tbody tr td:nth-child(1) a:hover span {
	color: #00C0E0 !important;
}

.events tbody tr td:nth-child(1) a {
	position: relative;
	width: 100%;
}
/*.events tbody tr td:nth-child(1) a:after {
	content: '';
	display: inline-block;
	width: 0px;
	height: 25px;
	background-image: url('../images/go_to.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	margin-left: -5px;
	opacity: 0;
	margin-bottom: -8px;
	transform: rotate(180deg);
	transition: .3s all;
}*/

.events tbody tr td:nth-child(1) a:hover:after {
	width: 30px;
	margin-left: 5px;
	opacity: 1;
}

.events .labels tr td:nth-child(1) a span::before {
  content: '';
  display: block;
  width: 2px;
  height: 100%;
  margin-right: 4px;
  left: -6px;
  top: 0px;
  position: absolute;
  background: #2f7ff5;
}
.events .labels tr td:nth-child(1) a span:nth-child(3)::before {
  background: #13243d;
}

.events tbody tr td:nth-child(1) span:nth-child(3) {
	color: #13243d;
}

.events tbody tr td:nth-child(2) {
	font-size: 10px;
	text-align: center;
	line-height: 16px;
	width: 6%;
}

.events tbody tr td:last-child {
	text-align: center;
}

.events tr td.type-cell {
	text-align: center;
}

.events tr td.type-cell a {
	overflow: hidden;
	display: block;
	height: 22px;
	transition: .3s all;
}
.events tr td.type-cell a.blank {
	display: none;
}
.events tr td.type-cell a:last-child {
	color: #193763;
	display: block;
	text-align: center;
	width: 100%;
	line-height: 25px;
	background-color: #80c3eb;
	cursor: pointer;
	border-radius: 0 0 5px 5px;
	padding: 3px;
	height: 30px;
	margin-top: -9px;
}
.events tr td.type-cell:hover a:last-child {
	background: #0a377b;
	color: #fff;
	text-decoration: none;
}
.events tr td.type-cell > a span {
	display: block;
	height: 22px;
	width: 100%;
	background-image: url('https://www.porownywarkakursow.pl/img/fortuna_logo.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	transition: .3s all;
	opacity: .4;
}
.events tr td.type-cell > a span.fortuna {
	background-image: url('https://www.porownywarkakursow.pl/img/fortuna_logo.png');
	background-color: #ffcf01;
}
.events tr td.type-cell > a span.superbet {
	background-image: url('https://www.porownywarkakursow.pl/img/superbet_logo.png');
	background-color: #ea060a;
}
.events tr td.type-cell > a span.etoto {
	background-image: url('https://www.porownywarkakursow.pl/img/etoto_logo.png');
	background-color: #fff;
}
.events tr td.type-cell > a span.pzbuk {
	background-image: url('https://www.porownywarkakursow.pl/img/pzbuk_logo.png');
	background-color: #bd2f30;
}
.events tr td.type-cell > a span.betclic {
	background-image: url('https://www.porownywarkakursow.pl/img/betclic_logo.png');
	background-color: #d2161e;
}
.events tr td.type-cell > a span.betfan {
	background-image: url('https://www.porownywarkakursow.pl/img/betfan_logo.png');
	background-color: #004d43;
}
.events tr td.type-cell > a span.lvbet {
	background-image: url('https://www.porownywarkakursow.pl/img/lvbet_logo.png');
	background-color: #000;
}
.events tr td.type-cell > a span.fuksiarz {
	background-image: url('https://www.porownywarkakursow.pl/img/fuksiarz_logo.png');
	background-color: #c62827;
}
.events tr td.type-cell > a span.sts {
	background-image: url('https://www.porownywarkakursow.pl/img/sts_logo.png');
	background-color: #04209e;
}
.events tr td.type-cell > a span.ewinner {
	background-image: url('https://www.porownywarkakursow.pl/img/ewinner_logo.png');
	background-color: #fff;
}
.events tr td.type-cell > a span.noblebet {
	background-image: url('https://www.porownywarkakursow.pl/img/noblebet_logo.png');
	background-color: #fff;
}
.events tr td.type-cell > a span.betcris {
	background-image: url('https://www.porownywarkakursow.pl/img/betcris_logo.png');
	background-color: #295d99;
}
.events tr td.type-cell > a span.totalbet {
	background-image: url('https://www.porownywarkakursow.pl/img/totalbet_logo.png');
	background-color: #155928;
}
.events tr td.type-cell > a span.betters {
	background-image: url('https://www.porownywarkakursow.pl/img/betters_logo.png');
	background-color: #000;
}
.events tr td.type-cell > a span.betx {
	background-image: url('https://www.porownywarkakursow.pl/img/betx_logo.png');
	background-color: #c5063c;
}
.events tr td.type-cell > a span.gobet {
	background-image: url('https://www.porownywarkakursow.pl/img/gobet_logo.png');
	background-color: #000;
}

.events tr td.type-cell > a.buk1 {
	display: inline-block;
	width: 100%;
	background-size: cover;
}

.events tr td.type-cell > a.buk2 {
	display: inline-block;
	width: 50%;
	height: 22px;
}
.events tr td.type-cell > a.buk3 {
	display: inline-block;
	width: 33.333333%;
	background-size: cover;
}
.events tr td.type-cell > a.buk4 {
	display: inline-block;
	width: 25%;
	background-size: cover;
}
.events tr td.type-cell > a.buk5 {
	display: inline-block;
	width: 20%;
	background-size: cover;
}
.events tr td.type-cell > a.buk6 {
	display: inline-block;
	width: 16.66666666%;
	background-size: cover;
}
.events tr td.type-cell > a.buk7 {
	display: inline-block;
	width: 14.285714%;
	background-size: cover;
}
.events tr td.type-cell > a.buk8 {
	display: inline-block;
	width: 12.5%;
	background-size: cover;
}
.events tr td.type-cell > a.buk2 span, .events tr td.type-cell > a.buk3 span, .events tr td.type-cell > a.buk4 span,
.events tr td.type-cell > a.buk5 span, .events tr td.type-cell > a.buk6 span, .events tr td.type-cell > a.buk7 span,
.events tr td.type-cell > a.buk8 span {
	background-size: cover;
}
.events tr:hover td.type-cell > a span {
	opacity: 1;
}

.events tr td span.marza {
  	color: #193763;
	border-radius: 5px;
	background: transparent;
	font-weight: 600;
	padding: 2px;
	display: flex;
	height: 17px;
	align-items: center;
	justify-content: center;
	border: none;
	font-size: 11px;
	border: 2px solid #246c97;
	transition: .3s all;
	margin-top: 4px;
}

.events tr td span.marza_podp, .events tr td span.marza.m1x2  {
	color: #193763;
	border-radius: 5px;
	background: transparent;
	font-weight: 600;
	padding: 2px;
	display: flex;
	height: 17px;
	align-items: center;
	justify-content: center;
	border: none;
	font-size: 11px;
	border: 2px solid #00abff;
	transition: .3s all;
	margin-top: 4px;
}

.events tr td.ujemna span.marza:not(.m1x2) {
  color: #0c730c;
  border: 2px solid rgb(109, 255, 92);
  transition: .3s all;
}

.events tr td span.marza.ujemna {
  color: #0c730c;
  border: 2px solid rgb(56, 181, 41);
  transition: .3s all;
}

.events tr td:last-child {
	width: 5% !important;
	text-align: center !important;
	font-size: 80% !important;
}

.events.event_toggle thead tr th:last-child {
	font-size: 10px;
	font-weight: 600;
}

.events .labels tr td .more input {
	display: none;
}

.events .labels tr td .more {
	position: relative;
	color: #193763;
	border-radius: 5px;
	background: transparent;
	font-weight: 600;
	display: flex;
	height: 56px;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	border: 2px solid #b1d1db;
	transition: .3s all;
	overflow: hidden;
	margin-top: 3px;
}

.events .labels tr:hover td .more {
	border: 2px solid #193763;
}

.events .labels tr td .more::after {
	content: '>>>';
	display: block;
	position: absolute;
	transform: rotate(90deg);
	right: -5px;
	color: #b1d1db;
	transition: .3s all;
}

.events .labels tr:hover td .more::after {
	color: #193763;
}

.events .labels tr td .more label {
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	line-height: 53px;
	z-index: 10;
	cursor: pointer;
	padding: 2px;
}

.hide .ribbon {
	height: 50px;
}

.hide .ribbon a {
	color: transparent;
	display: block;
	margin: 0 auto;
	width: 49px;
	height: 25px;
	border-radius: 5px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.hide td:not(.ribbon) a {
	color: #193763;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .3s all;
}

.hide td:not(.ribbon) a:hover {
	text-decoration: none;
	color: #fff;
	background: #193763;;
}

.events .hide tr {
	background: #eceef5;
}
.events .hide tr:nth-child(odd) {
	background: #f2f3f8;
}

.events .hide tr td {
	padding: 3px;
}
.events .hide tr td:nth-child(2) {
	text-align: center;
	position: unset;
	width: auto;
	height: auto;
}
.hide .ribbon {
	position: unset;
}

.hide .ribbon.rib_fortuna a {
	background-image: url('https://www.porownywarkakursow.pl/img/fortuna_logo.png');
	background-color: #ffcf01;
}
.hide .ribbon.rib_superbet a {
	background-image: url('https://www.porownywarkakursow.pl/img/superbet_logo.png');
	background-color: #ea060a;
}
.hide .ribbon.rib_etoto a {
	background-image: url('https://www.porownywarkakursow.pl/img/etoto_logo.png');
	background-color: #fff;
	border: 1px solid #cecece;
}
.hide .ribbon.rib_pzbuk a {
	background-image: url('https://www.porownywarkakursow.pl/img/pzbuk_logo.png');
	background-color: #bd2f30;
}
.hide .ribbon.rib_betclic a {
	background-image: url('https://www.porownywarkakursow.pl/img/betclic_logo.png');
	background-color: #d2161e;
}
.hide .ribbon.rib_betfan a {
	background-image: url('https://www.porownywarkakursow.pl/img/betfan_logo.png');
	background-color: #004d43;
}
.hide .ribbon.rib_lvbet a {
	background-image: url('https://www.porownywarkakursow.pl/img/lvbet_logo.png');
	background-color: #000;
}
.hide .ribbon.rib_fuksiarz a {
	background-image: url('https://www.porownywarkakursow.pl/img/fuksiarz_logo.png');
	background-color: #c62726;
	border: 1px solid #cecece;
}
.hide .ribbon.rib_sts a {
	background-image: url('https://www.porownywarkakursow.pl/img/sts_logo.png');
	background-color: #04209e;
}
.hide .ribbon.rib_ewinner a {
	background-image: url('https://www.porownywarkakursow.pl/img/ewinner_logo.png');
	background-color: #fff;
	border: 1px solid #cecece;
}
.hide .ribbon.rib_noblebet a {
	background-image: url('https://www.porownywarkakursow.pl/img/noblebet_logo.png');
	background-color: #fff;
	border: 1px solid #cecece;
}
.hide .ribbon.rib_betcris a {
	background-image: url('https://www.porownywarkakursow.pl/img/betcris_logo.png');
	background-color: #295d99;
}
.hide .ribbon.rib_totalbet a {
	background-image: url('https://www.porownywarkakursow.pl/img/totalbet_logo.png');
	background-color: #295d99;
}
.hide .ribbon.rib_betters a {
	background-image: url('https://www.porownywarkakursow.pl/img/betters_logo.png');
	background-color: #295d99;
}
.hide .ribbon.rib_betx a {
	background-image: url('https://www.porownywarkakursow.pl/img/betx_logo.png');
	background-color: #295d99;
}
.hide .ribbon.rib_gobet a {
	background-image: url('https://www.porownywarkakursow.pl/img/gobet_logo.png');
	background-color: #295d99;
}

.events .hide tr td:nth-child(3), .events .hide tr td:nth-child(4), .events .hide tr td:nth-child(5), .events .hide tr td:nth-child(6), .events .hide tr td:nth-child(7), .events .hide tr td:nth-child(8) {
	text-align: center;
	background-color: #bcefff;
	border: 1px solid #fff;
}

.events .hide tr {
	transition: .3s all;
}
.events .hide tr:hover {
	background-color: #c6eaff;
}

.events .hide tr td.best {
	background: linear-gradient(270deg, rgb(119, 255, 70) 0%, rgb(97, 255, 118) 100%);
}

.events tbody tr td:nth-child(2), .events tbody tr td:nth-child(9) {
	width: 7%;
}

.events tr td.type-cell:nth-child(3) a:last-child, .events tr td.type-cell:nth-child(4) a:last-child, .events tr td.type-cell:nth-child(5) a:last-child {
	border-bottom: 2px solid #193763;
}

.events .hide tr td:nth-child(3), .events .hide tr td:nth-child(4), .events .hide tr td:nth-child(5) {
	border-bottom: 2px solid #193763;
	border-radius: 5px;
}

.events tr td.type-cell:nth-child(6) a:last-child, .events tr td.type-cell:nth-child(7) a:last-child, .events tr td.type-cell:nth-child(8) a:last-child {
	border-bottom: 2px solid #00abff;
}

.events .hide tr td:nth-child(6), .events .hide tr td:nth-child(7), .events .hide tr td:nth-child(8) {
	border-bottom: 2px solid #00abff;
	border-radius: 5px;
}

.events.events1x2 .hide tr td:nth-child(6), .events.events1x2 .hide tr td:nth-child(7) {
	border-bottom: none;
}

.events.events12 .hide tr td:nth-child(5), .events.events12 .hide tr td:nth-child(6) {
	border-bottom: none;
}

/* podpórki */

.events.events1x2x thead tr th {
	font-size: 14px;
}

.events.events1x2x tbody tr td:nth-child(2), .events.events1x2x tbody tr td:nth-child(9) {
	width: 9%;
}

.events.events1x2x tbody tr td:nth-child(1) {
	line-height: 20px;
}

.events.events1x2x tbody tr td:nth-child(1), .events.events1x2x tbody tr td:nth-child(3), .events.events1x2x tbody tr td:nth-child(4), .events.events1x2x tbody tr td:nth-child(5), .events.events1x2x tbody tr td:nth-child(6), .events.events1x2x tbody tr td:nth-child(7), .events.events1x2x tbody tr td:nth-child(8), .events.events1x2x tbody tr td:nth-child(9) {
	font-size: 13px;
}

.events.events1x2x tbody tr td:nth-child(3), .events.events1x2x tbody tr td:nth-child(4), .events.events1x2x tbody tr td:nth-child(5), .events.events1x2x tbody tr td:nth-child(6), .events.events1x2x tbody tr td:nth-child(7), .events.events1x2x tbody tr td:nth-child(8) {
	background-color: #bcefff;
	border: 1px solid #fff;
	text-align: center;
	width: 8%;
}

.events.events1x2 tbody tr td:nth-child(2) {
	width: 12%;
	min-width: 72px;
}
.events.events1x2 tbody tr td:nth-child(3), .events.events1x2 tbody tr td:nth-child(4), .events.events1x2 tbody tr td:nth-child(5) {
	width: 16%;
}
.events.events1x2 tbody tr td:nth-child(6) {
	width: 9%;
}

.events.events1x2 .hide tr td:nth-child(3), .events.events1x2 .hide tr td:nth-child(4), .events.events1x2 .hide tr td:nth-child(5), .events.events1x2x .hide tr td:nth-child(3), .events.events1x2x .hide tr td:nth-child(4), .events.events1x2x .hide tr td:nth-child(5) {
	border-bottom: 3px solid #246c97;
	border-radius: 0 0 7px 7px;

}

.events.events1x2x .hide tr td:nth-child(6), .events.events1x2x .hide tr td:nth-child(7), .events.events1x2x .hide tr td:nth-child(8) {
	border-bottom: 3px solid #00abff;
	border-radius: 0 0 7px 7px;
}

.events.events1x2x .hide tr td { height: 50px; }

@media (max-width: 800px) {
	table.events thead tr {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	table.events thead tr th:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
	}
	table.events thead tr th:nth-child(2) {
		width: calc(15% - 2px) !important;
		order: 2;
	}
	table.events thead tr th:nth-child(3) {
		width: calc(15.5% - 2px) !important;
		order: 5;
	}
	table.events thead tr th:nth-child(4) {
		width: calc(15.5% - 2px) !important;
		order: 6;
	}
	table.events thead tr th:nth-child(5) {
		width: calc(15.5% - 2px) !important;
		order: 7;
	}
	table.events thead tr th:nth-child(6) {
		width: calc(15.5% - 2px) !important;
		order: 8;
	}
	table.events thead tr th:nth-child(7) {
		width: calc(15.5% - 2px) !important;
		order: 9;
	}
	table.events thead tr th:nth-child(8) {
		width: calc(15.5% - -1px) !important;
		order: 10;
	}
	table.events thead tr th:nth-child(9) {
		width: calc(16% - 2px) !important;
		order: 3;
	}
	table.events thead tr th:nth-child(10) {
		width: calc(14% - 2px) !important;
		order: 4;
	}

	/* events 12 */
	table.events.events12 thead tr th:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
	}
	table.events.events12 thead tr th:nth-child(2) {
		width: calc(24% - 2px) !important;
		order: 2;
	}
	table.events.events12 thead tr th:nth-child(3) {
		width: calc(48% - 2px) !important;
		order: 4;
	}
	table.events.events12 thead tr th:nth-child(4) {
		width: calc(48% - 2px) !important;
		order: 5;
	}
	table.events.events12 thead tr th:nth-child(5) {
		width: calc(24% - 2px) !important;
		order: 3;
	}
	table.events.events12 tbody.labels tr td:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
	}
	table.events.events12 tbody.labels tr td:nth-child(2) {
		width: calc(24% - 2px) !important;
		order: 2;
	}
	table.events.events12 tbody.labels tr td:nth-child(3) {
		width: calc(48% - 2px) !important;
		order: 4;
	}
	table.events.events12 tbody.labels tr td:nth-child(4) {
		width: calc(48% - 2px) !important;
		order: 5;
	}
	table.events.events12 tbody.labels tr td:nth-child(5) {
		width: calc(24% - 2px) !important;
		order: 3;
	}

	/* events 1X2 */
	table.events.events1x2 thead tr th:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
	}
	table.events.events1x2 thead tr th:nth-child(2) {
		width: calc(24% - 2px) !important;
		order: 2;
	}
	table.events.events1x2 thead tr th:nth-child(3) {
		width: calc(32% - 2px) !important;
		order: 4;
	}
	table.events.events1x2 thead tr th:nth-child(4) {
		width: calc(32% - 2px) !important;
		order: 5;
	}
	table.events.events1x2 thead tr th:nth-child(5) {
		width: calc(32% - 2px) !important;
		order: 6;
	}
	table.events.events1x2 thead tr th:nth-child(6) {
		width: calc(24% - 2px) !important;
		order: 3;
	}


	table.events.events1x2 tbody.labels tr td:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
	}
	table.events.events1x2 tbody.labels tr td:nth-child(2) {
		width: calc(24% - 2px) !important;
		order: 2;
	}
	table.events.events1x2 tbody.labels tr td:nth-child(3) {
		width: calc(32% - 2px) !important;
		order: 4;
	}
	table.events.events1x2 tbody.labels tr td:nth-child(4) {
		width: calc(32% - 2px) !important;
		order: 5;
	}
	table.events.events1x2 tbody.labels tr td:nth-child(5) {
		width: calc(32% - 2px) !important;
		order: 6;
	}
	table.events.events1x2 tbody.labels tr td:nth-child(6) {
		width: calc(24% - 2px) !important;
		order: 3;
	}


	/* events 1X2x */
	table.events.events1x2x thead tr th:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
	}
	table.events.events1x2x thead tr th:nth-child(2) {
		width: calc(24% - 2px) !important;
		order: 2;
	}
	table.events.events1x2x thead tr th:nth-child(3) {
		width: calc(16% - 2px) !important;
		order: 4;
	}
	table.events.events1x2x thead tr th:nth-child(4) {
		width: calc(16% - 2px) !important;
		order: 5;
	}
	table.events.events1x2x thead tr th:nth-child(5) {
		width: calc(16% - 2px) !important;
		order: 6;
	}
	table.events.events1x2x thead tr th:nth-child(6) {
		width: calc(16% - 2px) !important;
		order: 7;
	}
	table.events.events1x2x thead tr th:nth-child(7) {
		width: calc(16% - 2px) !important;
		order: 8;
	}
	table.events.events1x2x thead tr th:nth-child(8) {
		width: calc(16% - 2px) !important;
		order: 9;
	}
	table.events.events1x2x thead tr th:nth-child(9) {
		width: calc(24% - 2px) !important;
		order: 3;
	}


	table.events.events1x2x tbody.labels tr td:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(2) {
		width: calc(24% - 2px) !important;
		order: 2;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(3) {
		width: calc(16% - 2px) !important;
		order: 4;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(4) {
		width: calc(16% - 2px) !important;
		order: 5;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(5) {
		width: calc(16% - 2px) !important;
		order: 6;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(6) {
		width: calc(16% - 2px) !important;
		order: 7;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(7) {
		width: calc(16% - 2px) !important;
		order: 8;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(8) {
		width: calc(16% - 2px) !important;
		order: 9;
	}
	table.events.events1x2x tbody.labels tr td:nth-child(9) {
		width: calc(24% - 2px) !important;
		order: 3;
	}

	/* --- */

	table.events tbody.labels {
		display: block;
		width: 100%;
		position: relative;
	}
	table.events tbody.labels tr {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-bottom: 15px;
	}
	table.events tbody.labels tr td:nth-child(1) {
		width: calc(50% - 2px) !important;
		order: 1;
		display: flex;
		align-items: flex-end;
		justify-content: flex-start;
		padding-left: 0px;
	}
	table.events tbody.labels tr td:nth-child(2) {
		width: calc(15% - 2px) !important;
		order: 2;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}
	table.events tbody.labels tr td:nth-child(3) {
		width: calc(15.5% - 2px) !important;
		order: 5;
	}
	table.events tbody.labels tr td:nth-child(3):after {
		content: '1';
		display: block;
		width: 100%;
		background: #eee;
		color: #193763;
		font-size: 10px;
		margin-top: 0px;
		text-align: center;
		float: right;
		border-radius: 5px;
	}
	table.events tbody.labels tr td:nth-child(4) {
		width: calc(15.5% - 2px) !important;
		order: 6;
	}
	table.events tbody.labels tr td:nth-child(4):after {
		content: 'X';
		display: block;
		width: 100%;
		background: #eee;
		color: #193763;
		font-size: 10px;
		margin-top: 0px;
		text-align: center;
		float: right;
		border-radius: 5px;
	}
	table.events tbody.labels tr td:nth-child(5) {
		width: calc(15.5% - 2px) !important;
		order: 7;
	}
	table.events:not(.events12) tbody.labels tr td:nth-child(5):after, table.events12 tbody.labels tr td:nth-child(4):after {
		content: '2';
		display: block;
		width: 100%;
		background: #eee;
		color: #193763;
		font-size: 10px;
		margin-top: 0px;
		text-align: center;
		float: right;
		border-radius: 5px;
	}
	table.events tbody.labels tr td:nth-child(6) {
		width: calc(15.5% - 2px) !important;
		order: 8;
	}
	table.events1x2x tbody.labels tr td:nth-child(6):after {
		content: '1X';
		display: block;
		width: 100%;
		background: #eee;
		color: #193763;
		font-size: 10px;
		margin-top: 0px;
		text-align: center;
		float: right;
		border-radius: 5px;
	}
	table.events tbody.labels tr td:nth-child(7) {
		width: calc(15.5% - 2px) !important;
		order: 9;
	}
	table.events1x2x tbody.labels tr td:nth-child(7):after {
		content: 'X2';
		display: block;
		width: 100%;
		background: #eee;
		color: #193763;
		font-size: 10px;
		margin-top: 0px;
		text-align: center;
		float: right;
		border-radius: 5px;
	}
	table.events tbody.labels tr td:nth-child(8) {
		width: calc(15.5% - -1px) !important;
		order: 10;
	}
	table.events1x2x tbody.labels tr td:nth-child(8):after {
		content: '12';
		display: block;
		width: 100%;
		background: #eee;
		color: #193763;
		font-size: 10px;
		margin-top: 0px;
		text-align: center;
		float: right;
		border-radius: 5px;
	}
	table.events tbody.labels tr td:nth-child(9) {
		width: calc(16% - 2px) !important;
		order: 3;
	}
	table.events tbody.labels tr td:nth-child(10) {
		width: calc(14% - 2px) !important;
		order: 4;
	}


	table.events tbody.hide {
		display: block;
		width: 100%;
		position: relative;
		margin-bottom: 20px;
	}

	.hide .ribbon a {
		width: 100%;
	}
	table.events tbody.hide tr {
		width: 100%;
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
	}
	table.events1x2 tbody.hide tr td:nth-child(1) {
		display: none;
	}
	table.events1x2 tbody.hide tr td:nth-child(2) {
		width: calc(77% - 8px) !important;
		order: 1;
	}
	table.events1x2 tbody.hide tr td:nth-child(3) {
		width: calc(32% - 8px) !important;
		order: 3;
	}
	table.events1x2 tbody.hide tr td:nth-child(4) {
		width: calc(32% - 8px) !important;
		order: 4;
	}
	table.events1x2 tbody.hide tr td:nth-child(5) {
		width: calc(32% - 8px) !important;
		order: 4;
	}
	table.events1x2 tbody.hide tr td:nth-child(6) {
		width: calc(18% - 6px) !important;
		order: 2;
		box-shadow: inset 0px 0px 0px 2px #b1d1db;
	}

	/* 12 */
	table.events.events12 tbody.hide tr td:nth-child(1) {
		display: none;
	}
	table.events.events12 tbody.hide tr td:nth-child(2) {
		width: calc(77% - 8px) !important;
		order: 1;
	}
	table.events.events12 tbody.hide tr td:nth-child(3) {
		width: calc(48% - 8px) !important;
		order: 3;
	}
	table.events.events12 tbody.hide tr td:nth-child(4) {
		width: calc(48% - 8px) !important;
		order: 4;
	}
	table.events.events12 tbody.hide tr td:nth-child(5) {
		width: calc(18% - 6px) !important;
		order: 2;
		box-shadow: inset 0px 0px 0px 2px #b1d1db;
	}

	/* 1X2X */
	table.events.events1x2x tbody.hide tr td:nth-child(1) {
		display: none;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(2) {
		width: calc(77% - 8px) !important;
		order: 1;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(3) {
		width: calc(17% - 8px) !important;
		order: 3;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(4) {
		width: calc(17% - 8px) !important;
		order: 4;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(5) {
		width: calc(17% - 8px) !important;
		order: 5;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(6) {
		width: calc(17% - 8px) !important;
		order: 6;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(7) {
		width: calc(17% - 8px) !important;
		order: 7;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(8) {
		width: calc(17% - 8px) !important;
		order: 8;
	}
	table.events.events1x2x tbody.hide tr td:nth-child(9) {
		width: calc(18% - 6px) !important;
		order: 2;
		box-shadow: inset 0px 0px 0px 2px #b1d1db;
	}
}

/* chat */
.form-container {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		width: 300px;
		margin: 200px auto 0;
		position: relative;
	}
	#chat_list_box {
		background-color: #eaeaea;
		height: 300px;
		width: 300px;
		display: block;
		overflow-y: scroll;
		position: relative;
	}


/* chat 2 */
.chat {
	display: block;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.chat .chat_list {
	position: absolute;
		height: 100%;
		width: 280px;
		bottom: 0px;
		left: 0px;
		overflow: visible;
}

.chat .chat_list ul {
	list-style: none;
	padding-left: 0px;
}

.chat .chat_list ul li {
	margin-bottom: 5px;
	border-bottom: 1px solid #333;
	 -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none;
}

.chat .chat_list .nickname {
	position: relative;
	padding: 2px 5px 2px 10px;
	border-radius: 3px 3px 0 0;
	margin-right: 5px;
	cursor: pointer;
	
}

.chat .chat_list .nickname:hover {
	background: #cdd1db;
	box-shadow: 0px 3px 10px rgba(0,0,0,.3);
}

.chat .chat_list .nickname ul {
	position: absolute;
	display: flex;
	list-style: none;
	flex-wrap: wrap;
	margin: 0px;
	padding: 10px;
	background: #cdd1db;
	box-shadow: 0px 3px 10px rgba(0,0,0,.3);
	width: 480px;
	transform: scale(0);
	transition: .3s all;
	z-index: 10;
	border-radius: 0px 5px 5px 5px;
}

.chat .chat_list .nickname:hover ul {
	transform: scale(1);
}

.chat .chat_list .nickname ul li {
	display: block;
	width: 33.3333333%;
}

.chat .chat_list .nickname ul li form {
	margin-bottom: 0px;
}

.chat .chat_list form:not(.cooperation_form) input[type="radio"] {
	opacity: 1;
}

.chat .chat_list form:not(.cooperation_form) label {
	background-image: -webkit-linear-gradient(bottom, #215198 33%, #2c74df 100%);
	color: #fff;
	border: none;
	padding: 5px 10px;
	margin: 0px 2% 10px;
	display: inline-block;
	width: 12%;
	border-radius: 5px;
	box-shadow: 0px 3px 10px rgba(0,0,0,.5);
	cursor: pointer;
}

.chat .chat_list form:not(.cooperation_form).modal input[type="radio"]:checked + label {
	background: #13233c;
}

.chat .chat_list form:not(.cooperation_form) label:hover {
	background: #13233c;
}

.chat .chat_list form:not(.cooperation_form) {
	display: none;
	width: 700px;
	height: auto;
	position: fixed;
	background: #cfe2ff;
	left: calc(50% - 370px);
	top: 200px;
	z-index: 10;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 5px 10px rgba(0,0,0,.3);
	overflow: hidden;
}

.chat .chat_list form.modal {
	display: block;
}

.chat .chat_list form.modal span.confirm {
	position: absolute;
	top: 0px;
	right: 0px;
	background: #215098;
	color: #fff;
	padding: 3px 15px;
	cursor: pointer;
}

.chat .chat_list form.modal input.confirm {
	display: block;
	background-image: -webkit-linear-gradient(bottom, #154d01 33%, #35bf03 100%);
	padding: 10px 30px;
	color: #fff;
	border: none;
	text-align: right;
	margin-left: calc(50% - 58px);
	margin-top: 20px;
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
}


.chat ul.emoji-selector {
	list-style: none !important;
}

/* chat  */	

.shout_box {
    width: 340px;
    overflow: hidden;
    z-index:9;
}

.content .shout_box {
	width: 100%;
}

.shout_box .header {
		background: linear-gradient(218deg, rgba(49,132,255,1) 0%, rgba(17,29,46,1) 100%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 19px;
    margin: 0 0 4px;
    border-bottom: 1px solid #1f1f1fd9;
    padding: 5px 15px;
    text-align: center;
    color: #fff;
    font-size: 18px !important;
    margin: 0px !important;
    font-weight: bold;
}

.shout_box .header .close_btn {
    background: url(images/close_btn.png) no-repeat 0px 0px;
    float: right;
    width: 15px;
    height: 15px;
}
.shout_box .header .close_btn:hover {
    background: url(images/close_btn.png) no-repeat 0px -16px;
}

.shout_box .header .open_btn {
    background: url(images/close_btn.png) no-repeat 0px -32px;
    float: right;
    width: 15px;
    height: 15px;
}
.shout_box .header .open_btn:hover {
    background: url(images/close_btn.png) no-repeat 0px -48px;
}
.shout_box .header:hover{
    background-color: #627BAE;
}

.shout_box #message_list_box {
	  background-color: #fff;
    height: 300px;
    width: 300px;
    display: block;
    overflow-y: scroll;
    position: relative;
    margin: 0px;
    list-style: none;
}

.content .shout_box #message_list_box {
	width: calc(100% - 40px);
}

.shout_box #message_list_box li {
	border-top: 1px solid #d7d7d7;
	padding: 5px 0px;
	list-style: none;
	position: relative;
}

.shout_box #message_list_box li .date {
		font-size: 9px;
    padding: 0 3px;
    display: inline-block;
    width: 52px;
    text-align: left;
    border-right: 1px solid #d4d9e9;
    margin-right: 5px;
}

.shout_box #message_list_box li .nickname {
	font-weight: 900;
	font-size: 14px;
}
.shout_box #message_list_box li .chat_text {
	font-size: 14px;
}

.shout_box .message_box {
	position: absolute;
		height: 100%;
		width: 315px;
		bottom: 0px;
		left: 0px;
		overflow: visible;
		margin: 0;
}

.content .shout_box .message_box {
	width: calc(100% - 25px);
}

.shout_box .user_info .chat_field {
		border: 2px solid #eee;
		border-bottom-color: #2b73dd;
    height: 30px;
    width: 100%;
    font-family: 'Nunito';
    font-size: 12px;
    margin-top: 5px;
    padding-right: 30px;
    outline: none;
    transition: .3s all;
}
.shout_box .user_info .chat_field:hover, .shout_box .user_info .chat_field:focus {
	border-color: #2b73dd;
}

.shout_box .chat_editor {
	position: relative;
}

.shout_box .chat_editor .emoji-button {
	position: absolute;
	top: 4px;
  right: 0px;
}

.shout_box #message_list_box form:not(.cooperation_form) input[type="radio"] {
	opacity: 1;
	position: absolute;
	transform: scale(0);
}

.shout_box #message_list_box form:not(.cooperation_form) label {
	background-image: -webkit-linear-gradient(bottom, #215198 33%, #2c74df 100%);
	color: #fff;
	border: none;
	padding: 5px 10px;
	margin: 0px 2% 10px;
	display: inline-block;
	width: 12%;
	border-radius: 5px;
	box-shadow: 0px 3px 10px rgba(0,0,0,.5);
	cursor: pointer;
}

.shout_box #message_list_box form:not(.cooperation_form) label.msg_action {
	width: 25%;
}

.shout_box #message_list_box form.modal input[type="radio"]:checked + label {
	background: #13233c;
}

.shout_box #message_list_box form:not(.cooperation_form) label:hover {
	background: #13233c;
}

.shout_box #message_list_box form:not(.cooperation_form) {
	display: none;
	width: 700px;
	height: auto;
	position: fixed;
	background: #cfe2ff;
	left: calc(50% - 370px);
	top: 200px;
	z-index: 10;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 5px 10px rgba(0,0,0,.3);
	overflow: hidden;
}

.shout_box #message_list_box form.modal {
	display: block;
}

.shout_box #message_list_box form.modal p {
	text-align: center;
}

.shout_box #message_list_box form.modal span.confirm {
	position: absolute;
	top: 0px;
	right: 0px;
	background: #215098;
	color: #fff;
	padding: 3px 15px;
	cursor: pointer;
}

.shout_box #message_list_box form.modal input.confirm {
	display: block;
	background-image: -webkit-linear-gradient(bottom, #154d01 33%, #35bf03 100%);
	padding: 10px 30px;
	color: #fff;
	border: none;
	text-align: right;
	margin-left: calc(50% - 58px);
	margin-top: 20px;
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
}

.archodds {
	border: 2px solid #f00;
	border-radius: 20px;
	padding: 2px 10px 0px;
	display: inline-block;
	margin-bottom: 5px;
}

.sidebar-left h3 {
	background: linear-gradient(218deg, rgba(49,132,255,1) 0%, rgba(17,29,46,1) 100%);
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-size: 19px;
	margin: 0 0 4px;
	border-bottom: 1px solid #1f1f1fd9;
	padding: 5px 15px;
	text-align: center;
	color: #fff;
}

.sidebar-left h3 a {
	color: #fff;
	text-decoration: none;
}

.sidebar-left h3 a:hover {
	color: #fff;
	text-decoration: none;
}

ul.archive_chat {
	list-style: none;
	padding: 10px;
}

ul.archive_chat li {
	margin-bottom: 10px;
}

ul.archive_chat li:before {
	content: '';
	display: block;
	width: 0px;
	height: 0px;
	position: absolute;
	top: 0px;
	left: -7px;
	border-style: solid;
   border-width: 0 7px 7px 0;
   border-color: transparent #e6e9f2 transparent transparent;

}

ul.archive_chat li a {
	text-decoration: none;
	display: block;
	background: #e6e9f2;
	position: relative;
	padding: 10px;
	border-radius: 0px 10px 10px 10px;
	border-bottom: 2px solid transparent;
	box-shadow: 0px 0px 10px rgba(0,0,0,0);
	transition: .3s all;
}

ul.archive_chat li a:hover {
	box-shadow: 0px 3px 10px rgba(0,0,0,.3);
}

ul.archive_chat li a:before {
	content: '';
	display: block;
	width: 0px;
	height: 0px;
	position: absolute;
	top: 0px;
	left: -7px;
	border-style: solid;
   border-width: 0 7px 7px 0;
   border-color: transparent #e6e9f2 transparent transparent;

}

ul.archive_chat li span {
	color: #000;
}
ul.archive_chat li.active span {
	color: #fff;
}

ul.archive_chat li.active a {
	background-image: -webkit-linear-gradient(bottom, #215198 33%, #2c74df 100%);
}

ul.archive_chat li.active a:before {
	border-color: transparent #2a6fd5 transparent transparent;
}

ul.archive_chat li.new a {
	border: 2px solid #296cce;
}
ul.archive_chat li.new a:before {
	border-color: transparent #296cce transparent transparent;
	top: -2px;
	left: -9px;
}


ul.archive_chat li span.date {
	display: block;
	font-size: 10px;
}

ul.archive_chat li span.nick {
	font-weight: 700;
	margin-right: 10px;
}

.cooperation_form.private_msg {
	position: absolute;
	width: unset;
	max-width: unset;
	top:1px;
	right: 3px;
}

.cooperation_form.private_msg input[type="submit"] {
	background: linear-gradient(to right, #166cf0 0%,#0e346d 100%);
	display: block;
	padding: 2px 3px 3px !important;
	margin: 4px auto 0;
	width: 25px;
	box-shadow: none;
}

.cooperation_form.private_msg input[type="submit"]:after {
	content: 'Rozpocznij rozmowę prywatną';
}

header .nav .new_message img.new_message {
	width: 22px;
	padding: 6px;
	
}

header .nav .new_message img.new_message.pulse {
	animation: pulsate 3s ease-out;
  animation-iteration-count: infinite; 
  opacity: 0.5;
}

@keyframes pulsate {
    0% { 
        opacity: 0.5;
    }
    50% { 
        opacity: 1.0;
    }
    100% { 
        opacity: 0.5;
    }
}

/* chat notifications  */
.shout_box #message_list_box .newest_message .new_message {
	position: fixed;
	bottom: 30px;
	left: 30px;
	background: rgb(222,0,0);
	background: linear-gradient(180deg, rgba(222,0,0,1) 0%, rgba(157,18,18,1) 70%);
	text-align: center;
	border-radius: 10px;
	padding: 0px 5px 5px 5px;
	animation: ring 1s ease-out;
  animation-iteration-count: infinite;
}

.shout_box #message_list_box .newest_message .new_message a {
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	line-height: 13px;
	text-decoration: none;
}

.shout_box #message_list_box .newest_message .new_message a:before {
	content: '';
	display: block;
	width: 60px;
	height: 60px;
	margin: 0 auto;	
	background-image: url(https://www.porownywarkakursow.pl/img/chat-notification-white.svg);
	background-size: contain;
}

@keyframes ring {
    0% { 
        bottom: 30px;
    }
    50% { 
        bottom: 37px;
    }
    100% { 
        bottom: 30px;
    }
}

.shout_box #message_list_box .newest_message .select_action {
	display: none;
	width: 700px;
	height: auto;
	position: fixed;
	background: #cfe2ff;
	left: calc(50% - 370px);
	top: 200px;
	z-index: 10;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 5px 10px rgba(0,0,0,.3);
	overflow: hidden;
}
.shout_box #message_list_box .newest_message .select_action.active {
	display: flex;
	flex-wrap: wrap;
}

.shout_box #message_list_box .newest_message .select_action.active h3 {
	display: block;
	width: 100%;
	text-align: center;
}

.shout_box #message_list_box .select_action.active form {
	display: block;
	width: 26%;
	position: relative;
	top: unset;
	box-shadow: none !important;
	margin-bottom: 0px;
	left: unset !important;
}

.shout_box #message_list_box .newest_message .select_action form input[type="submit"] {
	display: none;
}

.shout_box #message_list_box .newest_message .select_action form label {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	width: 100%;
	height: 100px;
	text-align: center;
	position: relative;
	z-index: 0;
	padding-bottom: 20px;
	font-size: 16px;
	line-height: 18px;
}

.shout_box #message_list_box .newest_message .select_action form label:after {
	content: '';
	color: black;
	position: absolute;
	z-index: -1;
	background-image: url(https://www.porownywarkakursow.pl/img/accept_nm.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 50px;
	height: 50px;
	bottom: 60px;
}

.shout_box #message_list_box .newest_message .select_action form label[for="nm_reject"]:after {
	background-image: url(https://www.porownywarkakursow.pl/img/reject_nm.svg);
}

.shout_box #message_list_box .newest_message .select_action form label[for="nm_block"]:after {
	background-image: url(https://www.porownywarkakursow.pl/img/block_nm.svg);
}

input[value="Zakończ rozmowę"] {
	float: left;
	margin-top: 50px;
	background-image: -webkit-linear-gradient(bottom, #215198 33%, #2c74df 100%);
	border: none;
	padding: 5px 15px;
	color: #fff;
	border-radius: 5px;
	box-shadow: 0px 3px 5px rgba(0,0,0,.3);
	cursor: pointer;
}

input[value="Zakończ rozmowę"]:hover {
	background-image: none;
	background-color: #aa0404;
}

/* chat settings */
.chat_settings table {
	width: 100%;
}

.chat_settings table th {
	background: linear-gradient(180deg, rgba(49,132,255,1) 0%, rgba(17,29,46,1) 100%);
	font-size: 15px;
	color: white;
	font-weight: bold;
	text-align: center;
	padding: 2px 20px;
}

.chat_settings table tr {
	background: #6899e1;
}
.chat_settings table tr:nth-child(2n+1) {
	background: #edf6f9;
}

.chat_settings table td {
  padding: 2px 5px;
  font-size: 14px;
}

.chat_settings table td form {
	margin-bottom: 0px;
}

.chat_settings table td form input[value="Odblokuj"] {
	width: 100%;
	border-radius: 20px;
	background: linear-gradient(180deg, rgb(255, 14, 14) 0%, rgb(113, 7, 7) 100%);
	padding: 3px 10px;
	margin-bottom: 0px;
	color: #fff;
	border: none;
	box-shadow: none;
	outline: none;
	position: relative;
	bottom: 0px;
	right: 0px;
	font-size: 13px;
	font-family: 'Nunito', sans-serif;
	cursor: pointer;
}

.chat_settings table td form input[value="Odblokuj"]:hover {
	background: linear-gradient(180deg, rgb(64, 213, 10) 0%, rgb(7, 77, 12) 100%);
}

.chat_settings form input[value="Zapisz"] {
	background: linear-gradient(180deg, rgba(49,132,255,1) 0%, rgba(17,29,46,1) 100%);
	border-radius: 20px;
	padding: 5px 15px;
	margin-bottom: 0px;
	color: #fff;
	border: none;
	box-shadow: none;
	outline: none;
	position: relative;
	bottom: 0px;
	right: 0px;
	font-size: 14px;
	font-family: 'Nunito', sans-serif;
	cursor: pointer;
	margin-top: 10px;
}

.err_end {
	text-align: center;
  display: block;
  color: darkred;
  font-weight: 700;
}