@media print {
	.page-break {
		page-break-after: always !important;
	}
}

* {
	box-sizing: border-box;
}


body {
	cursor: default;
	font-family: "PT Sans", sans-serif;
	background-color: #E0E0E0;
}

#topButtons {
	width: 210mm;
	margin-left: auto;
	margin-right: auto;
}

.column {
	float: left;
	width: 50%;
	padding: 0px 3px 2px 0px;
	;
}

.row::after {
	content: "";
	clear: both;
	display: table;
}

.boxPapper {
	width: 210mm;
	min-height: 297mm;
	padding: 1mm;
	margin: 10mm auto;
	border: 1px #D3D3D3 solid;
	background-color: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);


}

.pageInfo {
	position: absolute;
	top: 290mm;
	width: 208mm;
	height: 3mm;
	line-height: 3mm;
	font-weight: bold;
	margin: 0;
	padding: 0 5mm;
	background-color: #fff;
}

.pageInfo>span {
	display: block;
	float: left;
	width: 25%;
}

.infoPageNum {
	text-align: right;
}

.infoDate {
	text-align: center;
	font-weight: normal !important;
}

.boxSport {
	vertical-align: middle;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: normal;
	float: left;
	width: 207.5mm;
	height: 6mm;
	line-height: 6mm;
	letter-spacing: 3px;
	text-align: center;
	/*background-color: #F5F5F5;*/
	background-color: #FFF;
	border: 1px solid #C7C7C7;
	margin: 10px 0px 5px 0px;
}

.table {
	table-layout: fixed;
	width: 208mm;
	margin-bottom: 0.5mm;
	white-space: nowrap;
	font: inherit;
}

.tSmall {
	width: 103mm;
	float: left;
	margin-right: 3px;
}

.tSmall:nth-child(odd) {
	float: left;
}

.table-bordered,
.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
	border: 0.5px solid #C7C7C7;
	padding: 0;
	vertical-align: middle !important;
	white-space: nowrap
}

.table-bordered>thead>tr>th {
	height: 4.7mm;
	min-height: 4.7mm;
	max-height: 4.7mm;
	line-height: 2.4mm;
	font-weight: normal;
}

.table-bordered>tbody>tr>td {
	height: 3mm;
	min-height: 3mm;
	max-height: 3mm;
	line-height: 3.3mm;
	font-size: 2.2mm;
	text-align: center;
	font-weight: normal;
}


.hTeams,
.teamName {
	overflow: hidden;
	text-overflow: ellipsis;
}

.teamName {
	text-transform: uppercase;
}

.table-bordered>thead>tr {
	background-color: #FFF;
	/*background-color: #F5F5F5;*/
}


.leagueName {
	font-weight: normal;
	font-size: 16px;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hIgra {
	font-size: 9px;
	text-align: center;
	font-weight: normal;
}

.hTip {
	font-size: 8px;
	text-align: center;
	font-weight: normal;
}

.dateTime {
	font-size: 7.5px !important;
}

.borderLight {
	border-right-style: dotted !important;
}

.btn-default {
	display: block;
	width: 101mm;
	margin: 5mm auto;
	border-radius: 0;
	border-bottom-width: 2px;
	color: #fff;
	background-color: #9A2A3B;
	border-color: #752632;
}

.btn-default:hover,
.btn-default:active,
.btn-default.active,
.btn-default:focus,
.btn-default.focus {
	color: #fff;
	background-color: #B53346;
	border-color: #752632;
}

@page {
	size: A4;
	margin: 0;
}

.sport_8,
/*Пикадо*/
.sport_9,
/*Снукер*/
.sport_22,
/*ММА*/
.sport_56,
/*Играчи - Ракомет*/
.sport_104,
/*Кошаркари - Асистенции/Скокови*/
.sport_105,
/*Бокс*/
.sport_110,
/*Формула 1*/
.sport_114,
/*Дуели Кошаркари*/
.sport_115,
/*Дуели Ракометари*/
.sport_116,
/*Кошаркари 3 поени*/
.sport_117,
/*Кошаркари Блокови*/
.sport_118,
/*Кошаркари Загубени Топки*/
.sport_119,
/*Кошаркари Украдени Топки*/
.sport_120,
/*Дуели Кошаркари Асистенции*/
.sport_121

/*Дуели Кошаркари Скокови*/
	{
	width: 100% !important;

}


.inf {
	display: inline-block;
	text-align: left;
}

@media print {

	html,
	body {
		width: 210mm;
		height: 297mm;
		background-color: #fff;
	}

	table {
		page-break-inside: avoid;

	}

	#pageFooter:after {
		content: counter(page);
		counter-increment: page;
	}

	.boxPapper {
		margin: 0;
		border: initial;
		border-radius: initial;
		width: initial;
		min-height: initial;
		box-shadow: initial;
		background: initial;

	}

	.boxSport {
		width: 208mm;
	}

	#content {
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
	}

	.btn {
		display: none;
	}

	#topButtons {
		display: none;
	}

	.pageInfo {
		background-color: #fff;
	}

	.boxSport,
	.table-bordered>thead>tr {
		background-color: #FFF !important;
		/*background-color: #F5F5F5 !important;*/
	}

	#nprogress {
		display: none;
	}


}

/* SPECIJALI */

.specijali .dateTime {
	width: 25px !important;
	min-width: 25px !important;
	max-width: 25px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	white-space: nowrap;
	text-align: center;
}

.specijali td.dateTime,
.specijali th.dateTime {
	width: 25px !important;
	min-width: 25px !important;
	max-width: 25px !important;
	padding: 0 !important;
	white-space: nowrap;
}

.specijali .hTip {
	width: 25px !important;
	min-width: 25px !important;
	max-width: 25px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	white-space: nowrap;
	text-align: center;
}

.specijali td.hTip,
.specijali th.hTip {
	width: 25px !important;
	min-width: 25px !important;
	max-width: 25px !important;
	padding: 0 !important;
	white-space: nowrap;
}

.specijali {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    align-items: start;
    width: 100%;
    margin: 0;
}

.specijali .columns {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    float: none;
}

.specijali table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

@media print {
    .specijali {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 4px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .specijali .columns {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* 
.specijali {
	column-count: 2;
	column-gap: 2px;
}

.specijali .columns {
	float: none;
	width: 100%;
	padding: 0px 3px 2px 0px;
	display: inline-block;
	vertical-align: top;
	break-inside: avoid-column;
	page-break-inside: avoid;
}

@media print {
    .specijali {
        column-count: 2 !important;
        column-gap: 2px !important;
        column-fill: balance !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .specijali .columns {
        display: inline-block !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;

        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    .specijali table {
        width: 100%;
        margin-bottom: 2px;
        border-collapse: collapse;

        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    .specijali thead {
        display: table-header-group;
    }

    .specijali tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }
} */