@charset "utf-8";

#map-func {
	height: 100%;
}

.direction-panel {
    position: absolute;
    text-align: center;
    width: 280px;
    z-index: 85;
    background: white;
    height: 100%;
    left: -300px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.direction-panel .nav {
	position: static;
	width: auto;
	float: none;
	background-color: #fff;
	padding: 0px;
	margin: 10px;
}

.direction-panel .tab-content {
	height: 90%;
}

.direction-panel .tab-content .tab-pane {
	height: 100%;
}

#toggle-button {
    position: absolute;
    background: white;
    border: 2px solid #fff;
    top: 40%;
    left: -20px;
    cursor: pointer;
    padding-right: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;    
    width: 50px;
    height: 50px;
    text-align: right;
    line-height: 50px;
    box-shadow: 6px 2px 6px rgba(0,0,0,.3);
    z-index: 86;
}

#map-block {
	position: relative;
}

#map-holder {
    height: 100%;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

#map-holder .container-fluid {
    font-size: 16px;	
}

.show-panel+#map-holder {
    width: 100%;
}

.hide-panel+#map-holder {
    width: 100%;
}

#functional-block [class^=col-] {
	padding-top: 5px;
	padding-bottom: 5px;
}

#functional-block [class^=col-] > button:not(:first-child) {
	margin-left: 5px;
}

#functional-block .input-group-btn button {
	padding-right: 40px;
}

@media screen and (max-width: 768px) {
	#functional-block button:not(:last-child) {
		padding-right: 6px;
	}
	#functional-block .input-group-btn button {
		padding-right: 6px;
	}
}

/* #functional-block > button, #functional-block > select, #functional-block > input, #functional-block > label > input {
	margin: 10px;
}

#functional-block button {
	margin: 5px;
	font-size: 15px;
	font-family: 微軟正黑體;
	font-weight: 500;
    line-height: 1.8em;
	padding: 8px 14px 8px 10px;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #ccc;	
	cursor: pointer;
} */

#functional-block #setMapCenter:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/set-center.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#functional-block #returnMapCenter:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/return-center.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#functional-block #returnMyPosition:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/return-my-position.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#functional-block #calcRoute:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/calc-route.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#functional-block #functionHelper > i {
	font-size: 28px;
	color: #0040ff;
}

#functional-block #repeatNearMarker > i{
	font-size: 28px;
	color: #0040ff;
}

/* #functional-block #near-marker-block #nearMarker {
	margin: 5px 0 5px 5px;
} */

#marker-functional-block button:not(:first-child) {
	margin-left: 5px;
}

#functional-block #near-marker-block #nearMarker:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/near-point.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#functional-block #near-marker-block {
	width: 100%;
}

/* #functional-block > #near-marker-block > #nearMarkerDistance {
	margin: 5px 5px 5px 0;
	left: -2px;
	top: 1px;
    position: relative;
    height: 48px;
    width: 15%;
    padding: 6px 6px;
    font-size: 15px;
    line-height: 1.8em;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
} */

#functional-block #search-landmark-block {
	width: 100%;
}

#functional-block #searchLandmark:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/search-landmark.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

/* #functional-block > #searchLandmarkContent {
	margin: 5px -6px 5px 5px;
    height: 34px;
    width: 16%;
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
	top:2px;
	position:relative;
} */

/* #marker-functional-block > button {
	margin: 5px 5px 5px 0px;
	font-size: 15px;
    line-height: 1.8em;
	font-family: 微軟正黑體;
	font-weight: 500;
	//padding: 8px 14px 6px 10px;
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #ccc;	
	cursor: pointer;
} */

#marker-functional-block #setCenterPosition:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/set-center.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#marker-functional-block #setRouteStart:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/set-route-start.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#marker-functional-block #setRouteEnd:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/set-route-end.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#marker-functional-block #setCommonPoint:before {
	content: "";
	background-image: url(../../../../resources/images/web/mapfunc/set-common-point.png);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	display: block;
	width: 24px;
    height: 24px;
    float: left;
	margin: 0 6px 0 -6px;
}

#travel-mode {
	margin-left: auto;
	margin-right: auto;
	width: 76px;
	height: 25px;
	background: url(../../../../resources/images/web/mapfunc/btn-route-type2.jpg) no-repeat 0 0;
}

#travel-mode > li {
	margin-left: 0;
	width: 38px;
	height: 25px;
	display: inline-block;
}

#travel-mode > li#travel-driving:hover, #travel-mode > li#travel-driving.active { 
	background: url(../../../../resources/images/web/mapfunc/btn-route-type2.jpg) 0 -25px no-repeat; 
}
/*
#travel-mode > li#travel-transit:hover, #travel-mode > li#travel-transit.active { 
	background: url(../../../../resources/images/web/mapfunc/btn-route-type2.jpg) -38px -25px no-repeat;
}
*/
#travel-mode > li#travel-walking:hover, #travel-mode > li#travel-walking.active { 
	/*background: url(../../../../resources/images/web/mapfunc/btn-route-type2.jpg) -76px -25px no-repeat; */
	background: url(../../../../resources/images/web/mapfunc/btn-route-type2.jpg) -38px -25px no-repeat; 
}

#route-panel {	
	padding-left: 0;
	padding-right: 0;
}

#directions-request {
	margin-top: 10px;
	display: inline-flex;
}

#directions-request > div > label {
	display: list-item;
	list-style-type: none;
}

#directions-request > div > label > input {
	width: 150px;
}

#switch-route {
	margin-top: 13px;
	margin-left: 5px;
	height: 100%;
}

#switch-route i {	
	transform: rotateZ(180deg);
}

#calc-route {
	margin-top: 10px;	
}

#route-steps {
    position: relative;
    top: 10px;
    left: 0px;
    width: 100%;
    height: 65%;
    overflow-y: auto;
}

#route-steps > div {
	display: inline-flex;
	width: 100%;
	padding: 8px 5px 8px 5px;
	text-align: left;
	cursor: pointer;
}

#route-steps > div:first-child {
	border: 1px solid silver;
	background: #eee;
}

#route-steps > div:not(:first-child) {
	padding: 8px 5px 8px 5px;
	border-left: 1px solid silver;
	border-right: 1px solid silver;
	border-bottom: 1px solid silver;
}

#route-steps > div[index] > span:first-child {
	margin-right: 10px;
}

/*20190201移除
#route-steps > div[index] > span:nth-child(2) {
	width: 157px;
}
*/

#route-steps > div[index] > span:last-child {
	margin-left: 10px;
}

#route-steps > div:last-child {
	background: #eee;
}

#route-steps > div > img {
	margin-right: 10px;
}

#copyright {
	margin-top: 10px;
}

#list-panel {
	position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

#list-panel > .list-item {
	width: 100%;
	padding: 8px 5px 8px 5px;
	text-align: left;
	cursor: pointer;
	border-bottom: 1px solid silver;
	display: inline-flex;
}

#list-panel > .list-item > input {
	margin-right: 10px;
}

#list-panel > .list-item > span:not(:last-child) {
	line-height: 30px;
	vertical-align: middle;
	width: 157px;
}

#list-panel > .list-item > span:last-child {
	margin-left: 10px;
}

#nearAttractionsDiv {
	margin-top: 20px;
}

#nearAttractionsDiv h2 {
	font-size: 20px;
}

#fullScreen .control-ui {
	background-color: #fff;
  	border: 2px solid #fff;
  	border-radius: 3px;
  	box-shadow: 0 2px 6px rgba(0,0,0,.3);
  	cursor:pointer;
  	margin: 10px;
  	margin-bottom: 22px;
  	text-align: center;
}

#fullScreen .control-ui:hover {
	background-color: rgb(235, 235, 235);
  	border: 2px solid rgb(235, 235, 235);
}

#fullScreen .control-ui .control-text {
	color: #565656;
  	font-family: Roboto,Arial,sans-serif;
  	font-size: 16px;
  	line-height: 38px;
  	padding-left: 12px;
  	padding-right: 12px;
}

.fullscreen #map-holder {
	margin-left: -15px;
	margin-right: -15px;
}

#map-content #functional-block label.checkbox-inline {
	margin: 5px;
	padding: 7px 10px 7px 33px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.button_icon {
	top: 3px;
}