/*------------------------------------*\

PRINT STYLES Spielscheine | adesso SE

\*------------------------------------*/

*,
*:before,
*:after {
	background: transparent !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body,
html {
	margin: 0;
	padding: 0;
}

body {
	max-width: inherit !important;
	width: 98% !important;
	margin: 0 auto;
}

@page {
	size: auto;
	margin: 1.2cm 0.75cm;
}

ul,
ol,
img,
table,
pre,
blockquote {
   page-break-inside: avoid;
}

h1,
h2,
h3,
h4 {
   page-break-after: avoid;
}

p,
h2,
h3 {
	orphans: 3;
	widows: 2;
}

pre,
blockquote {
	border: 1px solid #999;
}

img {
   max-width: 100% !important;
}


a,
a:visited {
	color: #06c !important;
}

a[href] {
	text-decoration: underline;
}


table {
	border-collapse: collapse;
}

thead {
	display: table-header-group;
}

table,
td,
th {
	border: 1px solid #999;
}

td,
th {
	padding: 1%;
}

th {
	font-weight: bold;
}



/* Hide elements */

.hide-on-print,
.btn,
.icon--WL_print,
div[data-t-name=Basemodul],
#gamedetails-container + section,
#highlight-numbers-form .border,
#highlight-numbers-form input,
#highlight-numbers-form label .check,
#highlight-numbers-form .select-wrapper:after,
.page-content > section.container + section:not(.container) {
	display: none !important;
}



/* Header */

.mod-header__wrapper {
	height: 2.5rem;
}

h3,
.heading-h2,
.heading-h3 {
	font-size: 20pt;
	margin-bottom: 0;
}

h5,
.heading-h5 {
	font-size: 14pt;
	margin-bottom: 5px;
}


#winning-numbers-row,
#highlight-numbers-form {
    left: 100%;
    width: 80%;
    position: absolute;
}

#highlight-numbers-form {
	top: 0;
	font-size: 12pt;
	padding-bottom: 0;
	margin-left: 10px;
}

#winning-numbers-row {
	top: 20px;
	margin: 0;
}

#winning-numbers-row .polygon.polygon-small:after {
	font-size: 20pt;
}

#winning-numbers-row .polygon.polygon-small .polygon-label {
	font-size: 8pt;
}

#winning-numbers-row .polygon .polygon-description {
	bottom: -1em;
}

#highlight-numbers-form {
	top: 0;
	font-size: 12pt;
	padding-bottom: 0;
	margin-left: 10px;
}

#highlight-numbers-form label {
	padding-left: 0;
	font-size: 10pt;
	line-height: 26px;
}

#highlight-numbers-form > .row:not(.show-win-numbers-row) {
	display: inline-block;
	line-height: 32px;
}

#highlight-numbers-form .checkbox {
	margin-bottom: 0;
}

#highlight-numbers-form .select-wrapper {
	margin-bottom: 0;
	border: none;
}

#highlight-numbers-form .select-wrapper select {
	border: none;
	padding: 0;
	height: auto;
	line-height: 33px;
	font-size: 10pt;
}


#gamedetails-gamelogo p {
	margin-bottom: 0;
}

.mod-header .logo-black {
	margin-top: 10px;
	margin-left: 10px;
}

.checkbox .border {
	border-color: #000;
}

.checkbox input[type=checkbox]:checked + label span.check:after {
	display: block !important;
}

.tipp-label {
	font-size: 10pt;
}

.polygon {
    margin-top: 3px;
    margin-bottom: 0;
	line-height: 1;
}

.polygon.polygon-fluid .polygon-label {
	font-size: 15px;
	line-height: 1;
}
.polygon.polygon-fluid {
	width: auto;
	height: auto;
}
.polygon.polygon-fluid:after {
	font-size: 34px;
	line-height: 34px;
}

.mod-simple-list ul li {
	margin-left: 0;
}

/* .polygon.polygon-green.polygon-grey .polygon-label, */
.polygon.bonus-number-wrapper .polygon-label,
.polygon[name="bonus-number"] .polygon-label {
	color: #fff !important;
}

.quicktipp-polygon-green:after,
.polygon-green:after {
	color: #BCCF02 !important;
}

.quicktipp-polygon.polygon-small:after,
.polygon.polygon-small:after {
	font-size: 24pt;
}

.quicktipp-polygon.polygon-small .polygon-label,
.polygon.polygon-small .polygon-label {
	font-size: 10pt;
}

.polygon-square {
	border: 1px solid #000;
}

#gamedetails-tipp-row-container {
	min-height: 15cm; /* set min-height to force break and float details */
}

.row[name="ticketNumber"] {
	margin-bottom: 1rem;
}

div[name=tipRow] {
	page-break-before: avoid;
	margin-bottom: 15px;
}

.page-content,
.container {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	float: none;
}

.page-content > * {
	margin-bottom: 1rem;
}

.container {
	margin-bottom: 0;
}

#gamedetails-data {
	width: 50%;
}

.subscription #gamedetails-data {
	clear: none;
}



.wl-card #gamedetails-tipp-row-container {
	min-height: auto;
}

.wl-card #gamedetails-data {
	width: 100%;
}

.wl-card #highlight-numbers-form,
.wl-card #winning-numbers-row,
.wl-card #highlight-numbers-form {
	position: relative;
	left: auto;
	width: auto;
	top: auto;
	margin-left: 0;
}

.wl-card #winning-numbers-row {
	margin-left: -10px;
	margin-bottom: 20px;
}

.wl-card #highlight-numbers-form > .row .col-xs-8 {
	width: 100%;
}


.gluecksspirale #highlight-numbers-title {
	display: none;
}

.gluecksspirale #gamedetails-tipp-row-container {
	min-height: auto;
}



/* Special TOTO styles  */

.toto_choicebet #highlight-numbers-form,
.toto_resultbet #winning-numbers-row,
.toto_resultbet #highlight-numbers-form {
	position: relative;
	left: auto;
	width: auto;
	top: auto;
}

.toto_choicebet #highlight-numbers-form,
.toto_resultbet #highlight-numbers-form {
	margin-left: 0;
}

.toto_resultbet #winning-numbers-row {
	margin-bottom: 15px;
}

.toto_choicebet .mod-accordion__head h4 .icon,
.table--toto .hidden-xs,
.toto_choicebet .stickyTableColumns-clone,
.toto_resultbet .stickyTableColumns-clone {
	display: none;
}

.toto-tables header {
 display: none;
}

.toto_choicebet .mod-accordion__body {
	margin-top: -5px;
}

table.table--toto td {
	padding: 5px;
}

table.table--toto th:nth-child(2),
table.table--toto td:nth-child(2),
table.table--toto th:nth-child(4),
table.table--toto td:nth-child(4) {
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}

table.table--toto tbody td,
table.table--toto thead th {
	border-color: #999 !important;
}

table.table--toto-details {
	width: 98%;
	margin-bottom: 10px;
	font-size: 12pt;
}

table.table--toto-details tbody td {
	padding: 5px;
}

.table thead th {
	padding: 10px;
}

.toto_choicebet .spacer-row .copy-disclaimer,
.toto_resultbet .spacer-row .copy-disclaimer {
	page-break-after: always;
}

.mod-game-details-toto .toto-tables .marginLeft {
	margin-left: 10px;
}

#gamedetails-container .toto-tables div[name=tipRow] {
	margin-top: 5px;
	margin-bottom: 5px;
}

#gamedetails-toto-choicebet {
	width: 50%;
	clear: none;
}



/* Special KENO styles  */

#gamedetails-container.keno #gamedetails-main,
#gamedetails-container.keno_plus5 #gamedetails-main {
	margin-top: 50px;
}

#gamedetails-container.lotto_normal div[name=tipRow] {
	margin-bottom: 5px;
}

/* Selectbox fuer Gewinnzahlendatum */
#gamedetails-print-select {
	width:100%;
}

/* Gewinnzahlen und TABS */

.mod-tabs__body .mod-tabs__content {
	display: block !important;
	page-break-inside: avoid;
}

.mod-gewinnzahlen-result {
	page-break-after: always;
}
	.gluecksspirale .mod-gewinnzahlen-result,
	.eurojackpot .mod-gewinnzahlen-result,
	.keno .mod-gewinnzahlen-result {
		page-break-after: auto;
	}

.mod-gewinnzahlen-result > .row:last-child {
	margin-bottom: 1rem;
}

.mod.mod-table {
	page-break-inside: avoid;
}

.table thead th {
	font-weight: bold;
	font-size: 12pt;
}

.table tbody td,
.table thead th {
	border-color: #999 !important;
}

.table tbody td {
	padding-top: 5px;
	padding-bottom: 5px;
}

#gamedetails-win-details, #gamedetails-win-total {
	float:none;
}

#winning-numbers-row {
	top:-180px
}
#highlight-numbers-form {
	top:-200px
}