@charset "UTF-8";

#map-parking {
	width: 100%;
	height: 320px;
	margin-bottom: 0.5rem;
	border-radius: 0.5rem;
}

#map-info {
	position: absolute;
	left: 3px;
	bottom: 15px;
	border-radius: 10px;
	padding: 0 5px;
	font-size: 20px;
	color: black;
	font-weight: bold;
	background-color: #FFFFFFBB;
}

.popup-card {
	width: 240px;
	color: #212529;
}
.popup-card .title {
	font-weight: bold;
	border-bottom: 1px solid #0097CE;
	white-space: nowrap;
	overflow: hidden;
}
.popup-card img {
	float: left;
	width: 96px;
	margin: 8px 8px 0 0;
	border: 1px solid silver;
	border-radius: 5px;
}
.popup-card dl {
	float: left;
}
.popup-card ul.tags li {
	width: 16px;
	height: 16px;
	background-size: cover;
	margin-right: 4px;
}

#parking-header {
	width: 960px;
	margin: 0 auto;
}

#paginator-parking {
	width: 100%;
	background-color: white;
	border-radius: 0.4rem;
}

#search-result {
	float: left;
	width: 680px;
	overflow: hidden;
	clear: both;
}

#search-result > ul {
	float: left;
	width: 100%;
	min-height: 960px;
	padding: 2px;
}
#search-result > ul > li:not(:last-child) {
	margin-bottom: 0.5rem;
}

#search-result > ul .card {
	padding: 0.3rem;
	box-shadow: 4px 4px 5px -3px rgba(0,0,0,0.4);
	flex-direction: row;
	clear: both;
	transition: all 0.1s;
}
#search-result > ul .card:hover {
	background-color: #AFEBFF;
	box-shadow: 4px 4px 5px -3px rgba(0,0,0,0.4), 0 0 0 2px #005DC5;
}
ul.card-info .thumb {
	width: 160px;
	margin-right: 4px;
}
ul.card-info .thumb img {
	width: 100%;
	max-height: 120px;
	border-radius: 0.4rem;
	background: white;
}
ul.card-info {
	overflow: hidden;
	clear: both;
}
ul.card-info > li {
	float: left;
	margin: 0;
	padding: 0;
}
ul.card-info .card-title h5 {
	width: 498px;
	padding: 0.3rem;
	border-radius: 0.2rem;
	background-color: #0097CE;
	color: white;
	font-weight: bold;
	margin-bottom: 0.4rem;
	overflow: hidden;
}
ul.card-info .card-title h5 .parking-id {
	float: right;
	font-size: 0.8rem;
	padding: 0 0.2rem;
	border-radius: 0.2rem;
	background-color: white;
	color: #005DC5;
	line-height: 1.3rem;
}
ul.card-info .card-tag {
	display: none;
	width: 58%;
	text-align: center;
}
ul.card-info .card-tag ul li {
	display: inline-block;
	margin-right: 4px;
}
ul.card-info .card-detail > ul {
	width: 498px;
	font-size: 0;
	height: 5rem;
	background-color: rgba(255,255,255,0.7);
	border-radius: 0.5rem;
	overflow: hidden;
}
ul.card-info .card-detail > ul > li {
	display: inline-block;
	height: 100%;
	padding: 0.5rem;
	font-size: 0.8rem;
	vertical-align: top;
	color: black;
}
ul.card-info .card-detail > ul > li.station {
	width: 33%;
}
ul.card-info .card-detail > ul > li.station .min {
	display: inline-block;
}
ul.card-info .card-detail > ul > li.rent {
	width: 33%;
}
ul.card-info .card-detail > ul > li.rent .price {
	color: red;
	font-size: 1.0rem;
}
ul.card-info .card-detail > ul > li.rent dl dd {
	border: 3px solid orange;
	border-radius: 0.5rem;
	line-height: 1.2rem;
	font-weight: bold;
}
ul.card-info .card-detail > ul > li.space {
	width: 17%;
}
ul.card-info .card-detail > ul > li.tag {
	width: 17%;
	padding: 4px 0;
	text-align: center;
}
ul.card-info .card-detail > ul > li.tag ul {
	font-size: 0;
}
ul.card-info .card-detail > ul > li.tag ul li {
	display: inline-block;
	margin: 2px;
}
ul.card-info .card-detail > ul > li:not(:last-child) {
	border-right: 2px solid silver;
}
ul.card-info .card-detail > ul > li dl dd {
	padding: 0 0.5rem;
}

#contact {
	float: right;
}

#mob-search {
	top: 42px;
	box-shadow: 1px 1px 2px 0px inset rgba(255,255,255,0.4), -1px -2px 2px 0px inset rgba(0,0,0,0.4);
	background-color: #005DC5;
	color: white;
	font-size: large;
	text-align: center;
	line-height: 33px;
}
#mob-search.action {
	background-color: #EEE;
	box-shadow: 0px 0px 0px 0px inset rgba(255,255,255,0.0), 0px 0px 0px 0px inset rgba(0,0,0,0.0);
	border: 1px solid silver;
	color: black;
}

#search-conditions {
	float: right;
	width: 270px !important;
	max-height: 100%;
	background-color: #EEE;
	padding: 0.5rem;
	border-radius: 0.5rem;
	overflow-y: auto;
}

#search-conditions label, #search-conditions input[type="text"] {
	width: 100%;
}
#search-conditions select {
	min-width: 70%;
}

#search-conditions ul#search-items > li {
	margin-bottom: 1rem;
}

#search-conditions ul#search-items #tags {
	background-color: white;
	border: 1px solid gray;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
}
#search-conditions ul#search-items #tags label {
	background: no-repeat right center;
	background-size:24px 24px;
}
#search-conditions ul#search-items #tags input {
	display: none;
}

#search-conditions button[name="search"] {
	padding: 0.5rem 3rem;
	font-size: 1rem;
}

@media only screen and (max-width: 959px) {
	#paginator-parking { margin-bottom:0.5rem; }
	#parking-header { width:100%; }
	#search-result { float:none; width:100%; }
	#search-result ul { min-height:0; }
	#search-result ul .card { padding:0.5rem; }
	#search-result > ul > li:not(:last-child) { margin-bottom:1rem; }
	ul.card-info .thumb { width:40%; margin-bottom:0.2rem; }
	ul.card-info .thumb img { width: 100%; height: auto; }
	ul.card-info .card-title { width:58%; }
	ul.card-info .card-title h5 { font-size:1rem; width:100%; }
	ul.card-info .card-title h5 .parking-id { font-size:0.8rem; }
	ul.card-info .card-tag { display:list-item;}
	ul.card-info .card-detail { width:100%; border-top:1px dashed silver; }
	ul.card-info .card-detail > ul { width:100%; height:auto; }
	ul.card-info .card-detail > ul > li:not(:last-child) { border: none; }
	ul.card-info .card-detail > ul > li { height:auto; }
	ul.card-info .card-detail > ul li.station { width: 100%; border-bottom:1px dashed silver; }
	ul.card-info .card-detail > ul li.rent { width: 60%; border-right:1px dashed silver; }
	ul.card-info .card-detail > ul li.space { width: 35%; }
	ul.card-info .card-detail > ul li.tag { display:none; }
	#contact { float:none; width:100%; }

	#mob-search { display:block;}
	#search-conditions {
		position: fixed;
		z-index: 1001;
		top: 0;
		right: -100%;
		width: 100% !important;
		border-radius: 0;
		transition: all 0.2s;
	}
	#mob-search.action + #search-conditions {
		right: 0;
	}

}
