/* ── หน้ารายละเอียดสถานี (station) — ยกมาจาก station.php ของเว็บเดิมแบบตรงตัว ── */

	
.card-carrier{
	border: solid 1px #ccc; 
	border-radius: 0.25rem;
}
.card-carrier:hover{
	background-color: #eee;
    cursor: pointer;	
}
.tracking-item {
    border-left: 1px solid #e5e5e5;
    position: relative;
    padding: 0 1.5rem 0.5rem 2.5rem;
    font-size: .9rem;
    margin-left: 3rem;
    min-height: 3rem;
}
.tracking-item .tracking-icon.status-intransit {
    border: 1px solid #17b5b3;
    font-size: .6rem;
}
.tracking-item .tracking-icon {
    line-height: 2.6rem;
    position: absolute;
    left: -0.5rem;
    width: 1rem;
    height: 1rem;
    text-align: center;
    border-radius: 50%;
    font-size: 1.1rem;
    background-color: #fff;
    color: #fff;
}

#searchform {
	width: 100%;
	max-width: 1000px;
}

@media (max-width: 1200px){
   #searchform{
	   height: 330px; 
   }
}

@media (max-width: 1007px){
   #searchform{
	   height: 430px; 
   }
}

@media (max-width: 600px){
   #searchform{
	   height: 730px; 
   }
}
.map iframe{
	width:100%;
	height:350px;
}
.station-link a{
	color:#ff6700 !important;
}
.station ul li {
    list-style: disc !important;
	color: #000 !important;
}
.content ul li {
    list-style: disc !important;
}
@media (max-width: 1199px){
	.page-station .content img{
		width: 100% !important;
		height: unset !important;
	}
}
@media (max-width: 700px){
	
	.bg-form-search{
		background-color: #f6f6f6;
		margin-bottom: 20px;
	}
}
@media screen and (max-width: 992px) {
    .page-station #btn-search {
        height: 100% !important;
    }
}
.page-station #busx-search-form{
	line-height: 21px !important;
}

    .btn-search {
        font-size: 18px !important;
    }

/* ── โครงหน้า — เดิมเป็น inline style บนมาร์กอัป ─────────────────────────────
   .page-station     = <div class="pt-3" style="padding-top:50px!important;background:#fff">
   .station-name     = <h1 style="font-size:22px">
   .station-subhead  = <h2 style="font-size:18px">
   .station-image    = <img style="width:100%;max-width:600px">
   .station-info     = <div class="content" style="line-height:35px">
   .station-address  = <div class="col-sm-6" style="line-height:35px">                */
.page-station,
.page-route {
    padding-top: 50px;
    background-color: #fff;
}

.station-spacer {
    padding-top: 24px;
}

/* เว็บเดิมสั่ง line-height 40px ไว้ที่ row ทั้งแถว (ไม่ใช่แค่คอลัมน์ข้อความ)
   คอลัมน์แผนที่จึงได้ 40px ไปด้วย ถ้าไม่ตั้งให้เหมือนกัน ความสูงแถวจะต่างไป 7px */
.station-row {
    line-height: 40px;
}

.station-name {
    font-size: 22px;
}

.station-subhead {
    font-size: 18px;
}

.station-image {
    width: 100%;
    max-width: 600px;
}

.station-info,
.station-address,
.station-link-list {
    line-height: 35px;
}

.link-see-all {
    color: #ff6700;
}

/* iframe แผนที่เป็น inline element ตามค่าเริ่มต้น จึงมีช่องว่างใต้ baseline โผล่มา
   เว็บเดิมใช้ doctype XHTML (โหมด almost standards) ที่ไม่นับ strut ในบรรทัดที่มีแต่ replaced element
   ของใหม่ใช้ <!DOCTYPE html> จึงต้องบังคับเป็น block เอง (ดูกับดักข้อ 13 ใน WORKLOG) */
.map iframe {
    display: block;
}

/* หน้าจุดหมายปลายทาง (/route) ใช้โครงเดียวกับหน้าสถานี
   <style> ของ route.php เดิมต่างจาก station.php 3 จุด: ลิงก์ในเนื้อหาสีส้ม · รูปในเนื้อหาเต็มกว้างที่ 900px (ไม่ใช่ 1199px)
   · ไม่มีกฎ #btn-search / #busx-search-form — กฎเฉพาะหน้าสถานีจึงผูกไว้กับ .page-station ข้างบน */
.route-name {
    font-size: 22px;
    line-height: 35px;
}

.route-search {
    padding-bottom: 15px;
}

.page-route {
    .content a {
        color: #ff6700 !important;
        font-weight: 600;
    }

    @media (max-width: 900px) {
        .content img {
            width: 100% !important;
            height: unset !important;
        }
    }
}
