﻿.text_small {font-size:75% !important; }
.text-mini {font-size:85% !important; }
.text-small {font-size:80% !important; }
.text-sm {font-size:12px !important; }
.text-smaller{font-size:70% !important;}
.text-italic { font-style: italic;}


.order_remark {
    color: #999;
    font-size: 80% !important;
}

.text-under {
    vertical-align: text-bottom !important;
}
a img:hover{
	opacity: .8;
	filter: alpha(opacity=80);
	 background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */      
    zoom: 1;
}
/** Login Page **/
#login {
   /* padding-top: 15px;
    padding-bottom: 40px;
*/
}

#login .form-signin {
    /*max-width: 300px;*/
    padding: 10px 10px 29px;
    margin: 0 auto 10px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
       -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
#login .form-signin .form-signin-heading,
#login .form-signin .checkbox {
    margin-bottom: 10px;
}
#login .form-signin input[type="text"],
#login .form-signin input[type="password"] {
    font-size: 12px;
    height: auto;
    margin-bottom: 10px;
    padding: 5px 5px;
}


/** Dasborad , content **/
.form-content {
    /*padding-top: 20px;
    padding-bottom: 40px;*/
}

.form-content {
	/*max-width: 300px;
	padding: 0px 10px 29px 20px;*/
    padding: 5px;
	margin: 0 auto 10px;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}


footer,footer a
{
	font-size:12px;
	/*text-align:center;
	line-height:140%;*/
	color:#999;
}

footer a:hover{
	color:#aaaaaa;
	text-decoration:none;
}

/* ==== */
.content-header {
  padding-bottom: 17px;
  margin: 18px 0;
  
}
.content-header h1 {
  line-height: 1;
}

.content-header h1,
.content-header h2,
.content-header h3,
.content-header h4,
.content-header h5,
.content-header h6 {
  margin: 0;
  font-family: 'Karla', sans-serif;
  font-weight: bold;
  color: #317eac;
  text-rendering: optimizelegibility;
}
.content-header h1 small,
.content-header h2 small,
.content-header h3 small,
.content-header h4 small,
.content-header h5 small,
.content-header h6 small {
  font-weight: normal;
  color: #999999;
}
.content-header h1 {
  font-size: 30px;
  line-height: 36px;
}
.content-header h1 small {
  font-size: 18px;
}
.content-header h2 {
  font-size: 24px;
  line-height: 36px;
}
.content-header h2 small {
  font-size: 18px;
}
.content-header h3 {
  font-size: 18px;
  line-height: 27px;
}
.content-header h3 small {
  font-size: 14px;
}
.content-header h4,
.content-header h5,
.content-header h6 {
  line-height: 18px;
}
.content-header h4 {
  font-size: 14px;
}
.content-header h4 small {
  font-size: 12px;
}
.content-header h5 {
  font-size: 12px;
}
.content-header h6 {
  font-size: 11px;
  color: #999999;
  text-transform: uppercase;
}


.modalLoading {
	background-color:Gray ;
	filter:alpha(opacity=80);
	opacity:0.9;
}

.modalBackground {
	background-color:Gray;
	filter:alpha(opacity=80);
	opacity:0.9;
}

.modalPopup {
	background-color:#fdffff;
	border-width:3px;
	border-style:solid;
	border-color:Gray;
	padding:3px;
	width:250px;
}

/*แสดงหัวข้อ*/
.box-header{margin-top:5px;}
.box-header-left
{
	float:left; 
	/*height:45px;*/
}
.box-header-right
{
	float:right;/*height:45px; */
	margin-right:-20px; 
}
.box-header-right-div
{
	 text-align:right;

}

.white-space {
    white-space: normal; /*ให้มีการตัดคำขึ้นบรรทัดใหม่ตามปกติ*/
    /*word-break:break-all;
    border-collapse: collapse;*/
    line-height: 1.1;
    /*max-width:550px;*/
} 

/* Start Css Ajax CalendarExtender================= */
img.ajax__calendar2{ cursor:pointer;}

img:hover.ajax__calendar2{
	opacity: .8;
	filter: alpha(opacity=80);
	 background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */      
    zoom: 1;
}
.ajax__calendar2 .ajax__calendar_container{background-color: #a9a7be; border:solid 1px #cccccc; 
                                          overflow:visible;}
.ajax__calendar2 .ajax__calendar_header{background-color: #ffffff; margin-bottom: 4px;} 
.ajax__calendar2 .ajax__calendar_title,
.ajax__calendar2 .ajax__calendar_next,
.ajax__calendar2 .ajax__calendar_prev{color: #004080; padding-top: 3px;}
.ajax__calendar2 .ajax__calendar_body{background-color: #e9e9e9; border: solid 1px #cccccc;width:160px;}
.ajax__calendar2 .ajax__calendar_dayname{background-color: #cccccc;text-align:center; font-weight:bold; margin-bottom: 4px; margin-top: 2px;} 
.ajax__calendar2 .ajax__calendar_day{text-align:center;}
.ajax__calendar2 .ajax__calendar_hover .ajax__calendar_day,
.ajax__calendar2 .ajax__calendar_hover .ajax__calendar_month,
.ajax__calendar2 .ajax__calendar_hover .ajax__calendar_year,
.ajax__calendar2 .ajax__calendar_activ{color: #8b8692; font-weight:bold; background-color: #ffffff;}
.ajax__calendar2 .ajax__calendar_today{font-weight:bold;}
.ajax__calendar2 .ajax__calendar_other,
.ajax__calendar2 .ajax__calendar_hover .ajax__calendar_today,
.ajax__calendar2 .ajax__calendar_hover .ajax__calendar_title{color: #5a64a2;}
/*calendar_Theme1 End Css Ajax CalendarExtender======================*/

/*Chondarong : 7/01/2014 */
.help-block-register
{
	display:inline-block;  
	color:#595959;
	line-height:15px;
	font-size:12px;
	margin-bottom:5px;
}






tr.dataTables_paginate {
	margin: 0px 0;
	white-space: nowrap;
	text-align: right;
	/*background-color:#eee;*/
}
tr.dataTables_paginate > td > table 
{
	white-space: nowrap;
    display:inline-block;
}

tr.dataTables_paginate > td > table > tbody > tr >td>span
{
    cursor:default;
    background-color:#337ab7;
    border-color:#337ab7;
    border:1px solid #337ab7;
    color: #fff;
    padding: 3px 6px;
}
tr.dataTables_paginate > td > table > tbody > tr >td>a
{
    background-color:#fafafa;
    border-color:#fafafa;
    color: #666;
    padding: 3px 6px;
    border:1px solid #ddd;
    text-decoration:none;
}
tr.dataTables_paginate > td > table > tbody > tr >td>a:hover
{
 
    background-color:#eee;
    border-color:#ddd;
    color: #23527c;
}

.table-bordered tr .dataTables_paginate 
{
     border:none;
}





/*=====================================================================*/
/*Table less */
/*========================*/
.divTable {
    padding: 10px;
    display: table;
    width: 100%;
    /* border:1px solid #f4f4f4;*/
    /*
text-align: center;
margin: 10% auto 0;
border-collapse: separate;
font-family: 'Roboto', sans-serif;
font-weight: 400;
*/
}

    .divTable > .table_row:hover {
        background-color: #f5f5f5 !important; /*Select บรรทัด*/
    }

.table_row {
    display: table-row;
    /*c*/
    width: 100%;
    table-layout: fixed;
}

.table_row_height {
    margin-top: 15px;
}

.table_row_rap {
    max-width: 250px;
    display: block;
    color: #999;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.theader {
    display: table-row;
    width: 100%;
    border-collapse: collapse;
    /*font-size:100%;margin:auto;max-width:960px;display:table;*/
}

.table_header {
    display: table-cell;
    /* background: #e9e9e9;  */
    border-bottom: #e0e0e0 2px solid; /*ใส่ขีดเส้นใต้บรรทัด*/
    border-top: #e9e9e9 1px solid;
    /*
    background: #bdbdbd;    
    border-bottom: #ccc 1px solid;
    border-top: #ccc 1px solid;
    color:#e5e5e5;*/
    color: #5b5b5b;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 600;
    box-shadow: 1px 1px 0px #e0e0e0;
}



.theader .td {
    display: table-cell;
    vertical-align: top;
    border: 1px solid #000;
}

.theader .headerColl {
    font-size: 100%;
    margin: 0;
    padding: 5px;
    background: #e9e9e9;
}

.table_header:first-child {
    border-left: #e9e9e9 1px solid;
    border-top-left-radius: 5px;
}

.table_header:last-child {
    border-right: #e9e9e9 1px solid;
    border-top-right-radius: 5px;
}

.table_small:last-child {
    border-right: 1px solid #f4f4f4;
}

.table_small {
    display: table-cell;
    /*ใส่ขีดเส้นใต้บรรทัด*/
    border-left: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
    vertical-align: top;
}

.right-last {
    border-right: 1px solid #f4f4f4;
}

.cell-odd {
    /* background:#f9f9f9 !important;*/ /*เน้่นข้อมูล*/
}

.header-radius-right {
    border-top-right-radius: 5px;
}

.header-radius-left {
    border-top-left-radius: 5px;
}

.cell-odd-last-right {
    border-right: #e0e0e0 2px solid;
}

.cell-odd-first-left {
    border-left: #e0e0e0 2px solid;
}

.cell-odd-last-top {
    border-top: #e0e0e0 2px solid;
}


.table_row > .table_small > .table_cell:nth-child(odd), .table_row > .table_small > .table_cell_title:nth-child(odd) {
    display: none;
    /*background: #bdbdbd;*/
    color: #5b5b5b; /*#e5e5e5;*/
    padding-top: 10px;
    padding-bottom: 10px;
}


.table_row > .table_small > .table_cell, .table_row > .table_small > .table_cell_title {
    padding-top: 3px;
    padding-bottom: 3px;
    color: #5b5b5b;
    /* border-bottom: #ccc 1px solid;*/
    margin: 5px;
}

.table_row > .table_small:first-child > .table_cell {
    /* border-left: #ccc 1px solid;*/
}

.table_row > .table_small:last-child > .table_cell {
    /* border-right: #ccc 1px solid;*/
}

.table_row:last-child > .table_small:last-child > .table_cell:last-child, .table_row:last-child > .table_small:last-child > .table_cell_title:last-child {
    border-bottom-right-radius: 5px;
}

.table_row:last-child > .table_small:first-child > .table_cell:last-child, .table_row:last-child > .table_small:first-child > .table_cell_title:last-child {
    border-bottom-left-radius: 5px;
}

.table_row:nth-child(2n+3) {
    /*background: #f9f9f9;*/ /*สลับสีระหว่าง */
    border-bottom: 1px solid #f4f4f4;
}


@media screen and (max-width: 992px) { /*หน้าจอขนาดกลาง*/
    .divTable {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

        .divTable .table_row > .table_small > .table_cell {
            white-space: nowrap;
        }

    .table_header {
        display: table-cell;
    }

    .input-group-addon {
        display: none;
    }

    /*.divTable {
      display:  table;
      
    }
    .table_row:nth-child(2n+3) {
      background: none;
    }
    .theader {
      display: none;
    }
    .table_row > .table_small > .table_cell:nth-child(odd) 
    {
      display: table-cell;
      width: 80%;
    }
    .table_row > .table_small > .table_cell_title:nth-child(odd)
    {
      display: table-cell;
      width: 30%;
     }*/
    /* .table_cell {
      display: table-cell;
      width: 80%;
    }
    .table_cell_title {
      display: table-cell;
      width: 30%;
    }*/
    /*
    .table_row {
      display: table;
      width: 100%;
      border-collapse: separate;
     
      margin: 5% auto 0;
      text-align: center;
      border:1px solid #f4f4f4;
    

    }*/
    /*.divTable > .table_row:hover
    { 
        background-color: #f5f5f5 !important;*/ /*Select บรรทัด*/
    /*}
    .table_small:hover
    { 
      background-color: #e9e9e9 !important;*/ /*Select บรรทัด*/
    /*}
    .table_small {
      display: table-row;
    }*/
    /* .table_cell_title{ //ทำหน้าที่แทนหัวตาราง
        display: table-cell;
        background: #e9e9e9;    
        border-bottom: #e0e0e0 2px solid; //ใส่ขีดเส้นใต้บรรทัด
        border-top: #e9e9e9 1px solid;
        color: #5b5b5b;
        padding: 5px 5px 5px 5px;
        font-weight: 600;
        box-shadow:1px 1px 0px rgba(0,0,0,0.2);
        text-align:right;
    }
*/
    /*.table_row > .table_small:first-child > .table_cell:first-child
    ,.table_row > .table_small:first-child > .table_cell_title:first-child*/ /*มุมซ้ายบน*/
    /*{
      border-top-left-radius: 5px;border-top: #ccc 1px solid;
    }*/


    /*
    .table_row > .table_small:first-child > .table_cell:last-child 
    ,.table_row > .table_small:first-child > .table_cell_title:last-child {
      border-left: none;
    }
    .table_row > .table_small > .table_cell:first-child 
    ,.table_row > .table_small > .table_cell_title:first-child {
      border-left: #ccc 1px solid;
      vertical-align:top;
    }
    .table_row > .table_small:first-child > .table_cell:first-child
    ,.table_row > .table_small:first-child > .table_cell_title:first-child {
      border-top-left-radius: 5px;
      
     border-top: #ccc 1px solid;
    }
    .table_row > .table_small:first-child > .table_cell:last-child 
    ,.table_row > .table_small:first-child > .table_cell_title:last-child{
      border-top-right-radius: 5px;
      border-top: #ccc 1px solid;
    }
    .table_row > .table_small:last-child > .table_cell:first-child
    ,.table_row > .table_small:last-child > .table_cell_title:first-child {
      border-right: none;
    }
    .table_row > .table_small > .table_cell:last-child 
    ,.table_row > .table_small > .table_cell_title:last-child{
     border-right: #ccc 1px solid;
    }
    .table_row > .table_small:last-child > .table_cell:first-child
    ,table_row > .table_small:last-child > .table_cell_title:first-child {
      border-bottom-left-radius: 5px;
    }
    .table_row > .table_small:last-child > .table_cell:last-child 
    ,.table_row > .table_small:last-child > .table_cell_title:last-child{
      border-bottom-right-radius: 5px;
    }*/

}

@media screen and (max-width: 650px) {

    .divTable {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

        .divTable .table_row > .table_small > .table_cell {
            white-space: nowrap;
        }

    .input-group-addon {
        display: none;
    }


    /*.divTable {
      display: table;
      
    }
    .table_row:nth-child(2n+3) {
      background: none;
    }
    .theader {
      display: none;
    }
    .table_cell_title{*/ /*ทำหน้าที่แทนหัวตาราง*/
    /*text-align:center;
    }
    .table_row > .table_small > .table_cell:nth-child(odd) 
    {
      display: table-cell;
      width: 100%;
    }
    .table_row > .table_small > .table_cell_title:nth-child(odd)
    {
      display: block;
      width: 100%;
      padding-top:5px;
      padding-bottom:5px;
     }*/
    /* .table_cell {
      display: table-cell;
      width: 80%;
    }
    .table_cell_title {
      display: table-cell;
      width: 30%;
    }*/

    /*.table_row {
      display: table;
      width: 100%;
      border-collapse: separate;
      padding-bottom: 20px;
      margin: 5% auto 0;
      text-align: center;
    }
    .table_small {
      display: table-row;
    }
  
  .table_row > .table_small > .table_cell 
  ,.table_row > .table_small > .table_cell_title{
    padding-top: 3px;
    padding-bottom: 3px;
    color: #5b5b5b;*/
    /* border-bottom: #ccc 1px solid;*/
    /*margin:0px;
  }
    .table_row > .table_small:first-child > .table_cell:last-child 
    ,.table_row > .table_small:first-child > .table_cell_title:last-child {
      border-left: none;
    }
    .table_row > .table_small > .table_cell:first-child 
    ,.table_row > .table_small > .table_cell_title:first-child {*/
    /*border-left: #ccc 1px solid;
      vertical-align:top;*/
    /*}
    .table_row > .table_small:first-child > .table_cell:first-child
    ,.table_row > .table_small:first-child > .table_cell_title:first-child {*/
    /*border-top-left-radius: 5px;
      border-top: #ccc 1px solid;
     */
    /*}
    .table_row > .table_small:first-child > .table_cell:last-child 
    ,.table_row > .table_small:first-child > .table_cell_title:last-child{*/
    /*border-top-right-radius: 5px;
      border-top: #ccc 1px solid;*/
    /*}
    .table_row > .table_small:last-child > .table_cell:first-child
    ,.table_row > .table_small:last-child > .table_cell_title:first-child {
      border-right: none;
    }
    .table_row > .table_small > .table_cell:last-child 
    ,.table_row > .table_small > .table_cell_title:last-child{*/
    /*border-right: #ccc 1px solid;*/
    /*}
    .table_row > .table_small:last-child > .table_cell:first-child
    ,table_row > .table_small:last-child > .table_cell_title:first-child {
      border-bottom-left-radius: 5px;
    }
    .table_row > .table_small:last-child > .table_cell:last-child 
    ,.table_row > .table_small:last-child > .table_cell_title:last-child{
      border-bottom-right-radius: 5px;
    }*/
}

/*End  Table less */
/*=====================================================================*/




/*============== Display Create date -  User ========================================================*/
.time-upd {
    font-size: 11px;
    line-height: 13px;
    color: #999;
    text-align: right;
    padding: 0px;
    float: right;
}

    .time-upd span i {
        margin-left: 5px;
    }



.alert-green 
{
  color:#444;
  background-color: #dff0d8 !important;
  border-color:#d6e9c6;
}
.alert-yellow 
{
  color:#444;
  background-color: #fcf8e3 !important;
  border:1px solid #fbeed5;
}

.alert-info{color:#444;}

/*====== แสดงหน้า โครงการ */
dl{margin-bottom:20px}
dt,dd{line-height:20px}
dt{font-weight:normal;}
dd{margin-left:10px}
.dl-horizontal{*zoom:1}
.dl-horizontal:before,.dl-horizontal:after{display:table;line-height:0;content:""}
.dl-horizontal:after{clear:both}
.dl-horizontal dt{float:left;width: 75px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;}
.dl-horizontal dd{margin-left: 90px;}
hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff}


/*Chondarong*/
.divWaiting{
   
		position: absolute;
		background-color: #FAFAFA;
		z-index: 2147483647 !important;
		opacity: 0.8;
		overflow: hidden;
		text-align: center; top: 0; left: 0;
		height: 100%;
		width: 100%;
		padding-top:20%;
 }
 
 
 
/*=================================*/
/* ปุ่ม GO TO TOP */
/* ================================*/
#GoToTop {
  display: inline-block;
  background-color: #FF9B71;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 25px;
  right: 10px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0.5;
  visibility: hidden;
  z-index: 1000;
}
#GoToTop::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height:35px;
  color: #fff;
}
#GoToTop:hover {
  cursor: pointer;
  background-color: #333;
   text-decoration: none;
 
}
#GoToTop:active {
  background-color: #555;
}
#GoToTop.show {
  opacity: 0.8;
  visibility: visible;
}

.divTableCheckbox {
    display: inline-block;
    border: 1px solid #ddd;
    margin-bottom:0px;
    width:100%;
}
.divTableCheckbox tr {
padding: 3px;
}
.divTableCheckbox tr td {
padding: 3px 0px 0px 8px;
}
.divTableCheckbox tr td lable {
    font-size: 10px;
}