﻿html, body, #map
{
    min-width:900px;
	height: 100%;
	width: 100%;
	padding: 0px;
	margin: 0px;
	position: relative;
	font-family: sans-serif;
    
}
.leaflet-container, .map
{
	background: #C6E1F8;
}
.leaflet-popup-content-wrapper
{
}

.leaflet-popup-content, .leaflet-popup-content p
{
	margin: 0;
}

.leaflet-popup.leaflet-zoom-animated
{
	pointer-events: none;
}

.no-events
{
	pointer-events: none;
}

.leaflet-popup-content-wrapper
{
	border-radius: 5px;
	padding: 0;
}
.popupHeader
{
	margin: 0;
	padding: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	background-color: #1574b8;
	background-image: linear-gradient(to bottom, #0096C8 0%, #013B6D 100%);
	color: White;
	margin-bottom: 0px;
}
.legendaContainer
{
	position: absolute;
	bottom: 10px;
	right: 50px;
	opacity: 0;
	z-index: 1001;
}
@media (orientation: landscape)
{
	.trainDetail
	{
		z-index: 99;
		position: absolute;
		top: 10px;
		left: 10px;
		padding: 0;
		font-size: 12px;
		box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
}
@media (orientation: landscape) and (min-resolution: 200dpi)
{
	.trainDetail
	{
		z-index: 99;
		position: absolute;
		top: 0px;
		left: 0px;
		padding: 0;
		font-size: 12px;
		max-width: 35%;
		opacity: 0.9;
		height: 100%;
		background-color: White;
		/*pointer-events: none;*/
	}
}
@media (orientation: portrait)
{
	.trainDetail
	{
		z-index: 99;
		position: absolute;
		top: 0px;
		left: 0px;
		padding: 0;
		font-size: 12px;
		/*pointer-events: none;*/
		opacity: 0.9;
		width: 100%;
	}
}
.popupContent
{
	padding: 5px;
	margin: 0px;
	top: 0px;
	left: 0px;
	background-color: White;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
.popupContent p
{
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 3px;
}
.popupContent table
{
	border: none;
}
.outerCircle
{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: #FFFFFF;
	position: relative;
	margin: 0px;
	margin-bottom: 20px;
}
.innerCircle
{
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #000000;
	position: relative;
	top: 11px;
	left: 11px;
}
.legendControl
{
}
.infoText
{
	position: fixed;
	bottom: 0px;
	left: 0px;
	font-size: 8px;
	margin: 2px;
	background-color: rgba(255, 255, 255, 0.5);
	padding: 2px;
	padding-right: 40px;
	z-index: 1001;
}
 @media (max-resolution: 200dpi){
	.infoText
	{
		position: fixed;
		bottom: 0px;
		left: 0px;
		font-size: 12px;
		margin: 2px;
		background-color: rgba(255, 255, 255, 0.5);
		padding: 2px;
		padding-right: 40px;
	}
}
.testovaciaPrevadzka
{
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 16px;
	margin: 5px;
	z-index: 1001;
}
.leaflet-marker-icon.selectedMarker{
    box-shadow: 0 0 0 2pt #12A5F4;
    border-radius: 50%;
}

#trainTable tfoot {
    display: table-header-group;
}

#trainTable td, #trainDetailTable td {
    font-size:11px;
    padding: 3px;
}

#trainTable th, #trainDetailTable th {
    font-size:12px;
    text-align: left;
}

#divTable {
    background: #C6E1F8;
    width: 100%;
    padding-bottom: 30px;
}

#divTableDetail {
    background: #F4F6F7;
    width: 100%;
	z-index: 1000;
}

.delay{
    margin: 2px;
    width: 25px;
	height: 15px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.delaysUpTo {
    background-color: #008000;
}

.delaysUpTo5 {
 	background-color: #fff200;
}

.delaysUpTo30 {
	background-color: #FFA500;
}

.delaysUpTo60 {
	background-color: #FF0000;
}

.linkStyle {
    height: 25px;
    padding: 0px 6px;
    margin-top: 5px;
}

.ui-dialog-title{
    font-size: 0.8em;
}

.ui-dialog .ui-dialog-titlebar {
    padding: 0.1em 1em;
}

#trainDetailTable .selected {
    background-color: #FFA500; 
}

.bold {
    font-weight: bold;
}

thead {
    background: #C6E1F8;
}

.btn.btn-default {
    padding: 4px 0px;
}

.btn.btn-default.find {
    padding: 4px 4px;
}

input.form-control {
    height: 30px;
}

label#showFilter {
    font-weight:100;
    /*display: table-caption;*/
    margin:5px;

}

/*
*
*    TOOLTIP START
*
*/

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    opacity: 1 !important;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.trainDetail {
    z-index:1001;
    cursor: move;
}

#spinnerWin {
    /*width:200px;
    height:120px;*/
    width: 100%;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 0%;
    margin-top: -60px;
    /*margin-left: -100px;*/
    /*border: 5px solid #727272;*/
    /*background-color: rgb(233, 233, 233);*/
    /*background-color: rgba(233, 233, 233,0.5);*/
    display: none;
    z-index: 100000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    white-space: nowrap;
}

.ui-datepicker .ui-datepicker-next {
    background-color: silver;
}

.ui-datepicker .ui-datepicker-prev {
    background-color: silver;
}

 .ui-dialog { 
	 z-index: 1000000 !important ;
 }

#aktualne {
    width: auto;
    height: 30px;
    border: 1px solid transparent;
    border-color: #707070;
    vertical-align: middle;
    padding: 5px;    
    margin-bottom: 1px;
    background:#e5e5e5;
}

/*img:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}*/