@charset "utf-8";
/* CSS Document */

/*DataGrid แบบ Responsive ใช้กับ tumbnail
ต้องใส่บน tag parent ของ datagrid เช่นใช้ h:panelgrid*/
.flexDataGrid .ui-grid-row {
	display: flex;
	flex-wrap: wrap;
}

@media screen and (max-width: 1000px) {
	.flexDataGrid .ui-datagrid-column {
		width: 100% !important;
	}
	.flexDataGrid .dataGrid-3-col {
		display: none;
	}
}

@media screen and (min-width: 1001px) and (max-width: 1400px) {
	.flexDataGrid .ui-datagrid-column {
		width: 50% !important;
	}
	.flexDataGrid .dataGrid-3-col {
		display: none;
	}
}

@media screen and (min-width: 1401px) and (max-width: 1700px) {
	.flexDataGrid .ui-datagrid-column {
		width: 30% !important;
	}
	.flexDataGrid .dataGrid-2-col {
		display: none;
	}
}

@media screen and (min-width: 1701px) {
	.flexDataGrid .ui-datagrid-column {
		width: 25% !important;
	}
	.flexDataGrid .dataGrid-3-col {
		display: none;
	}
}
/*Datatgrid แบบ Reponsive ใช้กับ tumbnail*/

/*สำหรับทำให้ขอบและหัวของ Panel กลมมน*/
.circularPanelBoder .ui-panel {
	border-radius: 10px;
}

.circularPanelBoder .ui-panel .ui-panel-titlebar {
	border-radius: 10px;
}

/*สำหรับทำให้รูปคนเป้นวงกลม*/
.img-circular_50 {
	width: 50px;
	height: 50px;
	background-image: none !important;
	background-size: cover;
	border-radius: 150px;
	border: 4px solid #e8e9eb;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	display: inline-block;
}

.img-circular_70 {
	width: 70px;
	height: 70px;
	background-image: none !important;
	background-size: cover;
	border-radius: 150px;
	border: 4px solid #e8e9eb;
	-webkit-border-radius: 70px;
	-moz-border-radius: 70px;
	display: inline-block;
}

.img-circular_120_red {
	width: 120px;
	height: 120px;
	background-image: none !important;
	background-size: cover;
	border-radius: 150px;
	border: 3px solid #c20a0a;
	-webkit-border-radius: 120px;
	-moz-border-radius: 120px;
	display: inline-block;
}

.img-circular_120 {
	width: 120px;
	height: 120px;
	background-image: none !important;
	background-size: cover;
	border-radius: 150px;
	border: 3px solid #e8e9eb;
	-webkit-border-radius: 120px;
	-moz-border-radius: 120px;
	display: inline-block;
}

/*สำหรับสร้างDataTableจัดเรียงตัวชี้วัดบุคคล KeyperformenceIndex*/
.ui-growl-item-container {
	background: #ffe45c !important;
}

/*for width > 1025 Style*/
@media screen and (min-width: 1301px) {
	.dynamicTableWidth {
		min-width: 1200px
	}
	.dynamicTableWidth.ui-datatable table {
		width: auto !important;
	}
}
/*for width < 1024 Style*/
@media screen and (max-width: 1300px) {
	.dynamicTableWidth {
		min-width: 900px
	}
	.dynamicTableWidth.ui-datatable table {
		width: auto !important;
	}
}

.widthAuto {
	width: auto;
}

.width10Percent {
	width: 10%;
}

.width15Percent {
	width: 15%;
}

.width20Percent {
	width: 20%;
}

.width25Percent {
	width: 25%;
}

.width30Percent {
	width: 30%;
}

.width40Percent {
	width: 40%;
}

.width50Percent {
	width: 50%;
}

.width60Percent {
	width: 60%;
}

.width70Percent {
	width: 70%;
}

.width80Percent {
	width: 80%;
}

.width90Percent {
	width: 90%;
}

/*สำหรับใช้สร้าง Block Header เพื่อเรียก ui-widget-header มาอีกที*/
.customHeader {
	display: block;
	box-sizing: border-box;
	width: calc(100% - 5px);
	padding: 0.5em;
	margin: 0.2rem;
}

.searchPane-Toggle {
	border: none;
	padding: 0px !important;
}

.StandardFont {
	/*	
font-family: Tahoma, Microsoft Sans Serif, MS Serif, sans-serif, serif;
	font-size: 1em;
	*/
	
}

.pKPITumbnailPanel {
	/*No Decorate Style*/
	
}

.oKPITumbnailPanel {
	/*FEFCE0;*/
	background: #F9D994;
}

.kpiTopic-row {
	background-color: #C2D7D7 !important;
	background-image: none !important;
	color: #000000 !important;
}

.kpiKPI-row {
	/*background-color: #f0fbee !important;*/
	background-image: none !important;
	color: #000000 !important;
}

.kpiChoice-row {
	/*background-color: #f0fbee !important;
	background-image: none !important;
	color: #000000 !important;*/
	
}

.tableNoPadding .ui-datatable  table>thead>tr>th {
	padding: 0px !important;
	border-spacing: 0px;
}

.tableWidthAuto.ui-datatable table {
	width: auto !important;
}

.tableWidth100.ui-datatable table {
	width: 100% !important;
}

.paddingLR tr, .paddingLR td {
	padding-right: 5px !important;
	padding-left: 5px !important;
}

.paddingTB tr, .paddingTB td {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}

/*------------------------------------------*/
.nodeHL {
	background-color: yellow !important;
}

.verticalTopColumn tr, .verticalTopColumn td {
	vertical-align: top !important;
}

.verticalTop {
	vertical-align: top;
}

.totalWeightPaneColor {
	background-color: #FFD783 !important;
}

.hideborderBottomPCol td:nth-child(1) {
	border-bottom-style: hidden !important;
}

.hideborderBottomPCol td:nth-child(2) {
	border-bottom-style: hidden !important;
}

.hideborderBottomPCol td:nth-child(3) {
	border-bottom-style: hidden !important;
}

.blackGridTable .ui-datatable  table>thead>tr>th, .blackGridTable .ui-datatable table>tbody>tr
	{
	/*border-color: black !important;*/
	
}

.primefaceLayout {
	height: 800px;
	margin: 0px !important;
}

.nonBorderGrid tr, .nonBorderGrid td {
	border-style: none !important;
	vertical-align: top !important;
}

.nonPaddingGrid tr, .nonPaddingGrid td {
	padding: 0px !important;
}

.logoLabel {
	width: 285px;
}

.ui-datagrid-no-border>.ui-datagrid-content {
	border: none;
}

.ui-datagrid-no-padding .ui-datagrid-column {
	padding: 0px !important;
}

.dataTBSerch .ui-datagrid-column {
	min-width: 279px;
}

.panelNoPadding .ui-widget-content {
	/*ต้องเอาไปใส่ในหน้าLayoutถึงจะเรียกใช้ได้*/
	padding: 0;
}

.panelHeader .ui-panel-titlebar {
	padding: 0;
}

.gridPadding tr td {
	padding-top: 5px;
	vertical-align: top;
	padding-left: 2.5px;
	padding-right: 2.5px;
}

.panelHide-column-names .ui-panelgrid  thead tr {
	display: none;
}

.tableHide-column-names table thead tr {
	display: none;
}

.background-color-blue {
	background: #A8C6FA;
}

.background-color-bluish {
	background: #C9F1FD;
}

.background-color-gray th {
	background-color: gray;
}

.whiteGridTable tr>th, .whiteGridTable tbody>tr {
	border-color: white !important;
	border-style: solid;
}

.headerCustom {
	width: 100%;
	float: left;
	background-color: #ecf0f1;
}

.topAlign tr td {
	vertical-align: top;
}

.column1 {
	width: 139px;
	word-wrap: break-word;
}

.PanelTitleBarColor1>.ui-panel-titlebar {
	background: #ffa7a9;
	border-color: gray;
}

.PanelTitleBarColor2>.ui-panel-titlebar {
	background: #FFC581;
	border-color: black;
}

.PanelTitleBarColor3>.ui-panel-titlebar {
	background: #FFD781;
	border-color: black;
}

.PanelTitleBarColor4>.ui-panel-titlebar {
	background: #fff4ba;
	border-color: gray;
}

.PanelTitleBarColor5>.ui-panel-titlebar {
	background: #D757F6;
	border-color: black;
}

.PanelTitleBarColor6>.ui-panel-titlebar {
	background: #3D8AF7;
	border-color: black;
}

.PanelTitleBarColor7>.ui-panel-titlebar {
	background: #90c977;
	border-color: gray;
}

.PanelTitleBarColor8>.ui-panel-titlebar {
	background: #D7EB5A;
	border-color: black;
}

.padding tr, .padding td {
	padding: 5px !important;
}

.paddingR tr, .paddingR td {
	padding-right: 5px !important;
}

.first-row {
	background-color: #F7FADE !important;
	background-image: none !important;
	color: #000000 !important;
}

.second-row {
	background-color: #DFEDD6 !important;
	background-image: none !important;
	color: #000000 !important;
}

.registerUserBar {
	position: fixed;
	background: #165a90 100% 100%;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	right: 5%;
	top: 2px;
	-webkit-box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
	box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
}

.imgGrayScale {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}

.paddingKpiTopic {
	padding-left: 0.5em !important;
}

.paddingKpiLv01 {
	padding-left: 0.5em !important;
}

.paddingKpiChoice {
	padding-left: 0.5em !important;
}

.TopicColumnOrder {
	width: 2.5rem;
	text-align: right;
}

.KpiColumnOrder {
	width: 3.5rem;
	text-align: right;
}

.KpiLv02ColumnOrder {
	width: 4.5rem;
	text-align: right;
}

.KpiTitleText {
	font-weight: bold;
}

.KpiTitleEdit {
	font-size: 1rem;
	font-weight: bold;
}

.SGKpiChoiceOrderCol {
	width: 1rem;
}

.SGKpiDataCol {
	width: 33.3333%;
}

/*สำหรับช่อง merge 2 ของกิจกรรม*/
.SGKpiDataColSpan2 {
	width: 66.6666%;
}

/*ตัวนี้สำหรับใช้กับหน้า Edit หน้านั้นมันค่อนข้าง fix size เลยไม่ต้องจัด reponsive มาก*/
.SGKpiDataEditColSpan2 {
	width: 73%;
}

.SGKpiDataEditCol1 {
	width: 36%;
}

.SGKpiDataEditCol2 {
	width: 37%;
}

.SGKpiDataEditCol3 {
	width: 25%;
}

.SmartGoalChoiceBlock {
	display: inline-block;
	min-width: 150px;
	text-align: right;
	padding-right: 0.3rem;
}

.baseLineVertical {
	vertical-align: baseline;
}

.SGChoiceWeightPercentContent {
	width: 3.5rem;
	text-align: right;
	padding-left: 9.5vw;
}

@media screen and (min-width: 1920px) {
	/*ถ้าจอกว้าง ให้แบ่ง 4 column แล้วเว้นcol สุดท้ายให้ว่างไป*/
	.SGKpiDataCol {
		width: 30%;
	}
	.SGKpiDataColSpan2 {
		width: 60%;
	}
}

.pf-BooleanButton {
	cursor: pointer;
	padding: 0.3em;
	border-radius: 4px;
	border: 1px solid #000000;
	color: #333333;
	background: #f3f3f3;
}

.active, .pf-BooleanButton:hover {
	color: #000000;
	background-color: #73A69D;
	box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0
		rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.pf-BooleanButton-View {
	padding: 0.3em;
	border-radius: 4px;
	border: 1px solid #000000;
	color: #333333;
	background: #817F84;
}

.pf-BooleanButton-View-Active {
	padding: 0.3em;
	border-radius: 4px;
	border: 1px solid #000000;
	color: #000000;
	background-color: #73A69D;
}

.pf-InputNumber {
	border-color: #836953;
	background: #fefec8;
	color: black;
}

.pf-Message-Inline {
	display: inline-block;
}

/*จัดกลาง text ใน ConfirmDialog*/
.pf-ConfirmDialog.ui-confirm-dialog .ui-dialog-content {
	text-align: center;
	/*padding-bottom: 0px;*/
	padding: 2em;
}

/*เปลี่ยนสีตัวอักษร text ใน ConfirmDialog*/
.pf-ConfirmDialog .ui-confirm-dialog-message {
	/*color: #946611;*/
	width: 350px;
}
/*ลบไอคอนใน ConfirmDialog*/
.pf-ConfirmDialog .ui-confirm-dialog-severity {
	display: none;
}
/*ลบตัดเส้นแบ่งของ text กับ ปุ่ม ใน Confirm Dialog*/
.pf-ConfirmDialog.ui-dialog .ui-dialog-buttonpane {
	padding-top: 0px;
	border: none;
}

/*@media screen and (min-width: 0px) and (max-width: 1300px) {
	.body {
		/*CSS จาก style.css copy มาแก้ใหม่สำหรับจอBrowser1240px*/
/*width: 1240px;*/
/*background: #DFF;
		margin: auto;
		font-family: Tahoma, serif, sans-serif;
		border: thin;
		border-style: solid;
		border-color: #000000;
	}
	.headerCustom {
		width: 1300px;
		float: left;
		background-color: #2ECCFA;
	}
}

@media screen and (min-width: 1301px) and (max-width: 1600px) {
	.body {
		/*width: 1600px;*/
/*background: #DFF;
		margin: auto;
		font-family: Tahoma, serif, sans-serif;
		border: thin;
		border-style: solid;
		border-color: #000000;
	}
}

@media screen and (min-width: 1601px) and (max-width: 1900px) {
	.body {
		/*width: 1900px;*/
/*background: #DFF;
		margin: auto;
		font-family: Tahoma, serif, sans-serif;
		border: thin;
		border-style: solid;
		border-color: #000000;
	}
}*/