.tooltip{
	position:absolute;
	width:250px;
	left:0;
	top:0;
	background-color:black;
	color:white;
	z-index:8;
	border:2px solid white;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
.tooltip p{
	margin:0px;	/* Added for Xploo */
	padding:10px;
	font-size:14px;
	text-shadow:none;
	font-style:italic;
}
.tooltip_arrow{
	position:absolute;
	background-color:transparent;
	background-repeat:no-repeat;
}
.tooltip_arrow_T,
.tooltip_arrow_B,
.tooltip_arrow_TL,
.tooltip_arrow_TR,
.tooltip_arrow_BL,
.tooltip_arrow_BR{
	background-image:url(../images/topbottom.png);
	width:13px;
	height:7px;
}
.tooltip_arrow_L,
.tooltip_arrow_R,
.tooltip_arrow_LT,
.tooltip_arrow_LB,
.tooltip_arrow_RT,
.tooltip_arrow_RB{
	background-image:url(../images/leftright.png);
	/* background-color: white; */
	width:7px;
	height:13px;
}
.tooltip_arrow_T{
	background-position:0px -7px;
	top:-7px;
	left:50%;
	margin-left:-3.5px;
}

/* Specific adjustment : shift the top arrow to the right for the day all button */
.tooltip.tooltip--day-all .tooltip_arrow_T {
    left: calc(50% - 100px);
}

/* Specific adjustment : slightly shift the top arrow to the left for the exclude list tooltip */
.tooltip.tooltip--exclude .tooltip_arrow_T {
    left: calc(50% - 12px);
}

/* Specific adjustment : shift the top arrow to the right for the view trips button */
.tooltip.tooltip--view-trips-button .tooltip_arrow_T {
    left: calc(50% + 45px);
}

/* Specific adjustment : shift the top arrow to the right for the burger menu button */
.tooltip.tooltip--burger-menu-button .tooltip_arrow_T {
    left: calc(50% + 90px);
}

.tooltip_arrow_TL{
	background-position:0px -7px;
	top:-7px;
	left:5px;
}
.tooltip_arrow_TR{
	background-position:0px -7px;
	top:-7px;
	right:5px;
}
.tooltip_arrow_B{
	background-position:0px 0px;
	bottom:-7px;
	left:50%;
	margin-left:-3.5px;
}
.tooltip_arrow_BL{
	background-position:0px 0px;
	bottom:-7px;
	left:5px;
}
.tooltip_arrow_BR{
	background-position:0px 0px;
	bottom:-7px;
	right:5px;
}
.tooltip_arrow_L{
	background-position:-7px 0px;
	top:50%;
	margin-top:-6.5px;
	left:-7px;
}
.tooltip_arrow_LT{
	background-position:-7px 0px;
	top:5px;
	left:-7px;
}
.tooltip_arrow_LB{
	background-position:-7px 0px;
	bottom:5px;
	left:-7px;
}
.tooltip_arrow_R{
	background-position:0px 0px;
	top:50%;
	margin-top:-6.5px;
	right:-7px;
}
.tooltip_arrow_RT{
	background-position:0px 0px;
	top:5px;
	right:-7px;
}
.tooltip_arrow_RB{
	background-position:0px 0px;
	bottom:5px;
	right:-7px;
}
/* Grey semi-transparent layer on the full page */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.50;
    z-index: 13;
    pointer-events: auto;     /* ensure overlay captures clicks */
}

.tourcontrols{
	position:fixed;
	top:20px;
	right:-300px;
	width:270px;
	background: var(--COLOR_SURFACE_10);
	color:var(--WHITE);
	text-shadow:0px 0px 1px #fff;
	font-size:16px;
	padding:10px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	z-index:9999;
}
.tourcontrols p{
	margin:0px;	/* Added for Xploo */
	}
.tourcontrols a{
	font-size:11px;
	color:#f0f0f0;
	cursor:pointer;
	font-weight:normal;
	text-decoration:underline;
	margin:10px;
}
.tourcontrols a:hover{
	color:#fff;
}
/* .close{
	position:absolute;
	top:6px;
	right:7px;
	width:10px;
	height:10px;
	background:var(--COLOR_SURFACE_10) url(../images/close.gif) no-repeat center center;
	cursor:pointer;
} */

.tourcontrols p{
	padding:10px;
}
.button{
	white-space: nowrap;
	/* display:block; */	/* Removed for Xploo */
	/* float:left; */	/* Removed for Xploo */
	margin:10px 0px 10px 10px;
	cursor:pointer;
	background: #c63929;
	background: -moz-linear-gradient(0% 100% 90deg, #891100 0%, #B51700 50%, #c63929 50%, #EE432E 100%);
	background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #ee432e), color-stop(0.5, #c63929), color-stop(0.5, #b51700), color-stop(1, #891100));
	border: 1px solid #951100;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333;
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333;
	box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 1;
	padding:6px 7px;
	text-align: center;
	text-shadow: 0px -1px 1px rgba(0, 0, 0, .8);
}
.button:hover {
	background: #cb0500;
	background: -moz-linear-gradient(0% 100% 90deg, #a20601 0%, #cb0500 50%, #db504d 50%, #f37873 100%);
	background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #f37873), color-stop(0.5, #db504d), color-stop(0.5, #cb0500), color-stop(1, #a20601));
}
.button:active{
	background: #b30300;
	background: -moz-linear-gradient(0% 100% 90deg, #700d00 0%, #9c1500 50%, #ad3224 50%, #d43c28 100%);
	background: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #d43c28), color-stop(0.5, #ad3224), color-stop(0.5, #9c1500), color-stop(1, #700d00));
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
	box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4);
}

/*
###############################################################################################################################################################
ASSISTANT NEW STYLES
###############################################################################################################################################################
*/

.assist-window-new {
    position: fixed;
    background: var(--COLOR_SURFACE_20);
    /* background: linear-gradient(135deg, var(--COLOR_SURFACE_10) 0%, var(--DARK_BLUE) 50%, var(--DARKER_BLUE) 100%); */
    color: var(--COLOR_SURFACE_90);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--COLOR_SURFACE_90);
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.15); */
	box-shadow: 
	4px 4px 8px rgba(0, 0, 0, 0.25),
	-2px -2px 6px rgba(255, 255, 255, 0.1),
	inset 4px 4px 8px rgba(255, 255, 255, 0.2),
	inset -4px -4px 8px rgba(0, 0, 0, 0.2);
    z-index: 12;
    font-size: 14px;
    max-width: 350px;
    animation: assistFadeIn 0.5s ease-out;
    display: block;
}

@keyframes assistFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/*
###############################################################################################################################################################
ASSISTANT OLD
###############################################################################################################################################################
*/

.assist-window {
	z-index:14;
    background-color: rgba(202, 202, 202, 0.3);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
	border-radius: var(--BUTTON_BORDER_RADIUS);
    left: 50%;
	transform: translateX(-50%);
	position: absolute;
	width: 50%;
	max-width: 500px;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%,-50%); */
    /* padding: 3px 24px 3px 24px; */
}

.assist-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* background: var(--COLOR_SURFACE_30); */
    /* background-color: rgba(202, 202, 202, 0.3); */
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
	color: var(--COLOR_FONT);
    padding: 0.8rem 1rem;
	border-radius: 50px;
}

.assist-body {
	display: inline-block;
}

.assist-body p {
	font-size: 0.8rem;
	padding: 0px 20px 0px 20px;
	color:var(--COLOR_FONT);
}

.assist-body label {
	font-size: 0.9rem;
	padding: 10px 2px 0px 10px;
	color:var(--COLOR_FONT);
}

.assist-body input {
	margin-left: 20px;
}

.assist-button-bar{
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    padding: 0px 24px 10px 24px;
}

/*
###############################################################################################################################################################
RESPONSIVE STYLES
###############################################################################################################################################################
*/

/* Mobile responsive styles for assistant windows */
@media screen and (max-width: 896px) {
    .assist-window {
        width: 90%;
        max-width: 320px;
        padding: 0;
    }
    
    .assist-header {
        /* padding: 8px 16px; */
        font-size: 0.9rem;
    }
    
    .assist-body p {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .assist-body label {
        font-size: 0.8rem;
        padding: 8px 2px 0px 8px;
    }
    
    .assist-body input {
        margin-left: 16px;
    }
    
    .assist-button-bar {
        padding: 8px 16px;
    }
    
    .assist-window-new {
        max-width: 280px;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Tooltip styles for mobile */
    .tooltip {
        max-width: 200px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }
    
    .tooltip p {
        font-size: 13px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .assist-window {
        width: 95%;
        max-width: 280px;
    }
    
    .assist-header {
        /* padding: 6px 12px; */
        font-size: 0.85rem;
    }
    
    .assist-body p {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .assist-body label {
        font-size: 0.75rem;
        padding: 6px 2px 0px 6px;
    }
    
    .assist-body input {
        margin-left: 12px;
    }
    
    .assist-button-bar {
        padding: 6px 12px;
    }
    
    .assist-window-new {
        max-width: 250px;
        padding: 10px 14px;
        font-size: 12px;
    }
    
    /* Tooltip styles for extra small mobile devices */
    .tooltip {
        max-width: 150px !important;
        padding: 0px !important;
        font-size: 12px !important;
    }
    
    .tooltip p {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
}
