body, html { height: 100%; background-color: #000;  font-family: tahoma; }
.bg { background-image: url("../images/bg.jpg"); height: 100%; background-position: center; background-repeat: no-repeat repeat; background-size: cover;	 }
.parent-container { position: relative; height:100%; width: 100%; }
.child-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.contentCenter{ text-align: center; }		
@media screen and (min-width: 601px) {
	h1{ font-size: 50px; }
	h2{ font-size: 30px; color: #3f2b56; }
	.cmuColor{ color: #3f2b56; font-size: 18px; }
}
@media screen and (max-width: 600px) {
	h1{ font-size: 25px; }
	h2{ font-size: 13px; color: #3f2b56; }
	.cmuColor{ color: #3f2b56; font-size: 14px; }
	.col-xs-4, .col-xs-4{ margin-bottom: 10px; text-align: left; }
}
.panel-body{ padding: 30px; }
.btn-purple { color:  #fff; background-color: #3f2b56; border-color: #5b3e7b;   background-image: linear-gradient(#3f2b56, #3f2b56); cursor: pointer; padding: 0px; font-weight: 700; font-size: 18px; height: 45px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border: none;	-o-transition: all 0.218s; -moz-transition: all 0.218s; -webkit-transition: all 0.218s; transition: all 0.218s; margin: 10px 0px 10px 0px; width: 100%; }
.btn-purple:hover, .btn-purple:active, .btn-purple:focus { color:  #fff; background-color: #5b3e7b; border-color: #3f2b56;   background-image: linear-gradient(#5b3e7b, #5b3e7b); cursor: pointer; }

.btn-black { color:  #fff; background-color: #000; border-color: #222;   background-image: linear-gradient(#000, #222); cursor: pointer; padding: 0px; font-weight: 700; font-size: 18px; height: 45px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border: none;	-o-transition: all 0.218s; -moz-transition: all 0.218s; -webkit-transition: all 0.218s; transition: all 0.218s; margin: 10px 0px 10px 0px; width: 100%; }
.btn-black:hover, .btn-black:active, .btn-black:focus { color:  #fff; background-color: #222; border-color: #444;   background-image: linear-gradient(#222, #444); cursor: pointer; }
/* ---- เพิ่มสำหรับเวอร์ชัน 2.x: ย้ายจาก Bootstrap 3 (CDN) → Bootstrap 4.6.2 (ไฟล์ในเครื่อง) ---- */
.panel-lifelong { min-width: 340px; max-width: 520px; width: 92vw; background: #fff; border: 1px solid #ebccd1; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.panel-lifelong .form-control[readonly] { background-color: #eee; }
.panel-lifelong label { font-weight: 700; margin-bottom: 3px; }
/* จัดกึ่งกลางด้วย flex แทน position:absolute — เดิมเมื่อ attribute ยาว ด้านบนของกล่องถูกตัดและเลื่อนดูไม่ได้ */
.bg { min-height: 100%; height: auto; background-attachment: fixed; }
.parent-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; height: auto; padding: 24px 0; }
.child-container { position: static; transform: none; }
