﻿.form-control {
	display: block;
	width: 100%;
	height: calc(2.25rem + 10px);
	padding: .375rem .75rem;
	font-size: 14px;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* -- ใช้ show icon ใน textbox เช่น รูปดวงตาใน password textbox */
.field-icon {
	float: right;
	margin-right: 5px;
	margin-top: -28px;
	position: relative;
	z-index: 2;
}

/* -- Start Select2 */
.select2-container {
	font-size: 14px;
}

.select2-container .select2-selection--single {
	height: 32px;
	line-height: 32px;
}

.select2-search__field {
	font-size: 14px;
}
.select2-results .select2-disabled, .select2-results__option[aria-disabled=true] { /* set option ที่ disable ให้หายไป */
	display: none;
}
/* -- End Select2 */

/* -- บรรทัด ควรจะไม่มี padding, margin เลย (ยกเว้น margin bottom ใส่ไว้กันบรรทัดติดกัน) */
.row {
	margin: 0 0 5px 0;
	padding: 0;
}

/* -- แก้ปัญหาว่า label อยู่สูงเกินไป */
.control-label {
	padding-top: 5px;
	font-size: 14px;
}

/* -- ควบคุมกล่อง alert (สามารถใส่ดีได้ แต่ well ใส่สีไม่ได้) */
.alert {
	padding: 5px 5px 0 5px;
	margin: 5px 5px 10px 5px;
	min-height: 0px;
}

/* -- ใช้ทำ div สำหรับ show รูป profile */
.div-circle {
	width: 100px;
	height: 100px;
	position: relative;
	overflow: hidden;
	background: transparent;
	box-shadow: 0px 0px 5px #000;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px;
}

hr {
	display: block;
	margin-top: 1em;
	margin-bottom: 0.5em;
	margin-left: auto;
	margin-right: auto;
	border-width: 1px;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.underline {
	text-decoration: underline;
}

.indent {
	text-indent: 5em;
}

.inlineblock {
	display: inline-block;
}

.debug {
	border: 1px solid red;
}

.flexBoxBtn {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-content: space-around;
}

textarea.textareapopup {
    resize: vertical;
    min-height: 80px;
    max-height: 400px;
}