﻿/*////////////////////////////////*/
/*styly tykajuce sa vsetkych tlaci*/
/*////////////////////////////////*/
.footer {
	height: 0px !important;
}

.connection {
	margin-bottom: 0px !important;
}

/*nechcem mat rozdelene jedno spojenie na dve stranky*/
.connection-group, .connection, .connectionDetails, .connectionItem, .table-timetable,
.table-timetable tbody, .table-timetable tr, .table-timetable tr th, .table-timetable tr td {
	page-break-inside: avoid;
}

/*footer chcem mat dole aj ked ho tam nevytlaci obsah*/
.footer .container p:nth-child(1) {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
}

.footer .container p:nth-child(2) {
	display: none !important;
}

/*veci ktore nechcem zobrazit nikdy ani pri jednej tlaci (spojenia, trasa, vlak)*/
.btn {
	display: none !important;
}

h1, .subtitle {
	display: none !important;
}

.btn-primary {
	display: none;
}

#searchContentContainer, #searchedConnections, .connections, .connetions > div:nth-child(1) {
	display: none !important;
}

input, form {
	display: none !important;
}

#connectionChooser {
	display: none !important;
}

/*div skryty na stranke do ktoreho sa pred tlacou vzdy skopiruje to co sa ma tlacit a v tlaci sa tento div zobrazi*/
.printContainer {
	display: block !important
}

/*///////////////////////////////*/
/*styly tykajuce sa tlace spojeni*/
/*///////////////////////////////*/
.trainNumber img {
	height: 16px;
    margin-bottom: 5px;
}

.connectionItem:first-child {
	padding-top: 15px;
}

.connectionItem {
	padding: 10px 20px 0;
}

.connectionPrice {
	display: none !important;
}

.connectionSummary {
	color: #696969;
    font-size: 14px;
    padding: 7px 20px 15px;
}

.trainNumber span {
	display: block;
    font-weight: 600;
    font-size: 10px;
    line-height: 10px;
}

.trainNumber {
	vertical-align: middle;
    padding-bottom: 10px;
    width: 40px;
}

td.trainStop {
	white-space: nowrap;
    overflow: hidden;
    position: relative;
    background-clip: padding-box !important;
}

table.table-timetable tr th {
	width: 45px;
}

.table-timetable {
	border-bottom: 1px #696969 dashed !important;
    margin-bottom: 0;
    table-layout: fixed;
    border-spacing: 1px;
    border-collapse: separate;
    background-clip: padding-box !important;
}

* {
	border-top: 0 !important;
}

.printContainer .connectionDetails {
	display: block !important;
	width: 50%;
	border-right: 0px none !important;
}

.printContainer .connectionDistance {
	position: absolute !important;
	right: 0 !important;
	margin-right: -20px !important;
}

.connection .connectionDetails table.table-timetable tr .trainNumber {
	vertical-align: middle;
    padding-bottom: 10px;
    width: 40px;
}

.trainNumber {
	text-align: center !important;
}

.connection .connectionDetails table.table-timetable tr .trainNumber img {
	height: 16px;
    margin-bottom: 5px;
    vertical-align: middle;
}

.connection .connectionDetails table.table-timetable tr .trainNumber span {
	display: block;
    color: #2969b5;
    font-weight: 600;
    font-size: 10px;
    line-height: 10px;
}

.trainNumber span.r {
	color: green !important;
}

.trainNumber span.en {
	color:  #d59d13 !important;
}

.trainNumber span.os {
	color: #2969b5 !important;
}

.trainNumber span.ic {
	color: #fc833d !important;
}

/*///////////////////////////////////*/
/*styly tykajuce sa tlace trasy/vlaku*/
/*///////////////////////////////////*/
.printContainer h3 {
	display: inline-block !important;
	font-weight: 600;
    font-size: 16px;
    line-height: 23px;
}

.connection-body h3 {
	color: #e86726;
    font-weight: 600;
    font-size: 16px;
    padding-left: 25px;
    margin: 0 20px 3px;
    background-size: auto 23px;
    background-repeat: no-repeat;
    line-height: 23px;
    background-position: 0 50%;
    -webkit-print-color-adjust: exact;
    display: inline-block;
}

.connection-body .tab-pane.train h3 {
	margin-right: 5px;
    display: inline-block;
}


.printContainer .direction {
	display: inline-block !important;
	margin-left: 7px;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
}

.nav-tabs {
	display: none !important;
}

.tab-content {
	display: none !important;
}

/*/////////////////////////////*/
/*styly tykajuce sa tlace trasy*/
/*/////////////////////////////*/
.printContainer .timeline-extendable > li:not(.list-extend) {
	display: list-item !important;
}

ul.station-services {
	display: none !important;
}

.printContainer ul.station-services {
	list-style-type: none;
    display: inline-block !important;
    margin: 0;
    padding: 0;
    position: absolute;
}

.printContainer ul.station-services li {
	display: inline-block !important;
}

.printContainer ul.station-services li img {
	display: block !important;
	height: 15px;
}

/*/////////////////////////////*/
/*styly tykajuce sa tlace vlaku*/
/*/////////////////////////////*/
.info > ul > li {
	display: list-item !important;
}

.printContainer ul.train-services {
	list-style-type: none;
    line-height: 23px;
    vertical-align: text-bottom !important;
    display: inline;
    padding: 0;
}

.printContainer ul.train-services li {
	display: inline-block !important;
}

.printContainer ul.train-services li img {
	height: 14px;
	vertical-align: middle;
}

.printContainer .timeline {
	margin-left: 40px;
}

.printContainer .timeline-arrival-time {
	left: -40px !important;
}

/*////////////*/
/*only mozilla*/
/*////////////*/
@-moz-document url-prefix() {
    .printContainer .connectionDistance {
        margin-right: -18px !important;
    }
}

/*/////////////*/
/*only explorer*/
/*/////////////*/
@media print and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .printContainer .connectionDistance {
        margin-right: -10px !important;
   }
   .printContainer ul.station-services li {
		margin-left: 5px; !important;
   }
   .printContainer .train-services img {
        vertical-align: auto !important;
   }
   .printContainer .train-services {
        margin-left: 5px;
   }
}
