/***********************
LEAFLET POPUP
***********************/
.leaflet-popup{
	pointer-events:none;
}

/***********************
ZOOM CONTROL
***********************/
.leaflet-control-zoom{
	display: none;
}

.mobile-true .leaflet-control-zoom{
	display: none !important;
}

/***********************
LEAFLET AIRLINE ROUTES
***********************/
.leaflet-overlay-pane svg{
-webkit-transition: opacity 400ms ease-in-out;
-moz-transition: opacity 400ms ease-in-out;
-o-transition: opacity 400ms ease-in-out;
transition: opacity 400ms ease-in-out;
opacity: 1;
}

.leaflet-overlay-pane.lines-fadeout svg{
opacity: 0.2;
}

/***********************
LEAFLET AIRPORTS HOVER
***********************/
.leaflet-airports-pane canvas{
	
-webkit-transition: -webkit-filter 400ms ease-in-out, opacity 400ms ease-in-out;
-moz-transition: filter 400ms ease-in-out, opacity 400ms ease-in-out;
-o-transition: filter 400ms ease-in-out, opacity 400ms ease-in-out;
transition: filter 400ms ease-in-out, opacity 400ms ease-in-out;
opacity: 1;
}

.leaflet-airports-pane.airports-fadeout canvas{
-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
filter: grayscale(100%);
opacity: 0.2;
}

/***********************
AIRPORT TOOLTIP
***********************/
.maptooltip {
width: auto !important;
height: auto !important;
left: 21px;
top: -8px;

font-size: 12px;
line-height: 24px;

font-weight: 400;
border-radius: 3px;
background-color: rgba(0, 124, 255,1); /* #007CFF; */
text-align:left;
white-space:nowrap;
color:#FFFFFF;
cursor: -webkit-grab;
cursor:    -moz-grab;
cursor:         grab;
cursor: url("https://maps.gstatic.com/mapfiles/openhand_8_8.cur"), default;
/*
display:none;
*/
/*
border: 1px solid #CCC;
*/
-webkit-box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
padding-left: 9px;
padding-right: 9px;

-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-o-user-select:none;
user-select:none;

pointer-events:none;
}

/***********************
AIRPORT TOOLTIP ARROW
***********************
.maptooltip::after {
    content: " ";
    position: absolute;
    bottom: 18%;
    right: 100%; 
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #007CFF transparent transparent;
}
*/

.close-airport{
	display: inline-block;
	vertical-align: top;

	/*
	font-size: 12px;
	line-height: 16px;

	margin: 4px;
	margin-left: 8px;
	margin-right: -4px;
	
	padding-left: 5px;
	padding-right: 5px;

	
	background: rgba(256,256,256,0.25);
	*/
	
	margin-left: 9px;
	margin-right: -9px;
	
	padding-left: 7px;
	padding-right: 9px;
	
	background: rgba(256,256,256,0.2);
	
	border-radius: 0px 3px 3px 0px;
	
	cursor:pointer;
	
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-o-user-select:none;
	user-select:none;
	
    pointer-events:visiblePainted;
    pointer-events:auto;
}

.close-airport:hover{
	background: rgba(256,256,256,0.3);
}

.connection-airport{
	width: 8px;
	height: 8px;
	border-radius: 100px;
	background: #FFFF00;
	border: 1px solid #575757;
	/*
	background: #007CFF;
	border: 2px solid #FFFFFF;
	box-shadow: 0 1px 4px rgba(0,0,0,.6);
	*/
}

.connection-airport.destination{
	background: #007CFF;
	border: 1px solid #003a77;
}

/***********************
PLANE ICON
***********************/
#planeimg{
	opacity: 1;	
	width: 26px;
	height: 26px;
	text-align: center;

	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-o-user-select:none;
	user-select:none;
	
    pointer-events:none;
}

#planeimg i{	
	opacity: 1;
	font-size: 26px;
	line-height: 26px;
	color: #003a77;
	-webkit-text-stroke: 1px #F5F5F5; 
	text-stroke: 1px #F5F5F5;
}

/***********************
ROUTE BOOK FLIGHT
***********************/
#route-book-flight{
	position: absolute;
    right: 0px;
    bottom: calc(100% + 7px);
    opacity: 1;
    text-align: center;
    background: #FFFFFF;
    border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
		
	-webkit-box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
	box-shadow: 0px 2px 3px rgba(0,0,0,0.2);

    pointer-events:visiblePainted;
    pointer-events:auto;
}

#route-book-flight.left-bottom{
	top: calc(100% + 7px);
	bottom: auto;
}

#route-book-flight.left-top{
	top: auto;
	bottom: calc(100% + 7px);
}

#route-book-flight.left-middle{
	top: auto;
	bottom: calc(50% - 12px);
	right:  calc(100% + 7px);
	left: auto;
}

#route-book-flight-btn{
    position: relative;
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
	/*
	margin: 3px;
	*/
    border-radius: 3px;
    text-align: center;
    
	font-size: 12px;
	line-height: 26px;
	padding: 0px 12px;

    font-family: -apple-system,"Roboto","Helvetica Neue",Arial,sans-serif;
	
	background: #00d775;
	background: #003a77;
	
    color: #FFFFFF;
    font-weight: 600;
}

@media screen and (min-width: 1025px){
	#route-book-flight:hover #route-book-flight-btn{
		color: rgba(256,256,256,0.9);
	}
}

@media screen and (min-width: 600px){
	#route-book-flight-btn{
		font-size: 13px;
		line-height: 30px;
		padding: 0px 15px;
	}
}

#route-book-flight-tooltip {
    position: absolute;
    width: 8px;
    height: 8px;
	
    font-size: 0;
    line-height: 0;

    bottom: -4px;
	right: 10px;
	
	background: #00d775;
	background: #003a77;
	
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
						
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
	
	-webkit-box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
	box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
}

.left-top #route-book-flight-tooltip{
    bottom: -4px;
	right: 10px;
}

.left-bottom #route-book-flight-tooltip{
	top: -4px;
    bottom: auto;
	right: 10px;
}

.left-middle #route-book-flight-tooltip{
    bottom: 9px;
	right: -4px;
}

@media screen and (min-width: 600px){
	.left-middle #route-book-flight-tooltip{
		bottom: 11px;
		right: -4px;
	}
}

/***********************
STARTPOINT ANIMATION
***********************/
.startpoint-animation{
	left: -44px;
	top: -44px;
	
    pointer-events:none;
}
/*
.startpoint-animation:before{
	content: '';
    position: absolute;
    top: 10px;
    left: 10px;
	background: rgba(0, 124, 255, 0.5);
    border-radius: 100px;
    opacity: 0.5;
    width: 80px;
    height: 80px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*/

.startpoint-animation:before {
	-webkit-transform: translate3d(0, 0, 0);
	
    transform: scale(1);
    -webkit-animation: startpoint-animation 2s infinite linear;
    -moz-animation: startpoint-animation 2s infinite linear;
    -ms-animation: startpoint-animation 2s infinite linear;
    -o-animation: startpoint-animation 2s infinite linear;
    animation: startpoint-animation 2s infinite linear;
}

.startpoint-animation.reverse:before {
	-webkit-transform: translate3d(0, 0, 0);
	
    transform: scale(1);
    -webkit-animation: startpoint-animation-reverse 2.5s infinite linear;
    -moz-animation: startpoint-animation-reverse 2.5s infinite linear;
    -ms-animation: startpoint-animation-reverse 2.5s infinite linear;
    -o-animation: startpoint-animation-reverse 2.5s infinite linear;
    animation: startpoint-animation-reverse 2.5s infinite linear;
}

.startpoint-animation:before{
	content: '';
    position: absolute;
    top: 10px;
    left: 10px;
	background: rgba(0, 124, 255, 0.5);
    border-radius: 100px;
    opacity: 0;
    width: 80px;
    height: 80px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@keyframes startpoint-animation {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes startpoint-animation-reverse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(0.1);
        opacity: 0;
    }
}
