@CHARSET "UTF-8";

/* ----  OVERRIDE BASIC STYLES ------ */
/*-----
version 1.20.04.28.01
1. add class to support menu on gmap
2. add class to support report menu
3. remove table tr
 ----- */

body
{   
    min-width:400px;
    margin:3px 3px auto; 
    color:#333333;
    word-wrap:break-word;  
    font-family: THSarabunNewRegular;
    font-size: 21px;
}

.btn {
    font-size: 22px;
    padding: 4px 10px;
    margin: 0px 0px 5px 5px;
    line-height: 1.2;
}
.form-control {
    font-size: 20px;
}
.alert{
    font-size: 23px;
}
#sidebar ul li a {
    font-size: 23px;
}

/* file input */
.hofile-lb {
    font-size: 20px;
    font-weight:700;
}

.hofile-bt, .bsform-file-bt{
    font-size: 20px;
    line-height: 0.8;
    padding: 5.5px 12px;
}

.ho-file-bt{
    font-size: 20px;
    line-height: 0.8;
    padding: 5.5px 12px;
    margin-top: 0px;
    margin-bottom: -1px;
}

input[type="file"].hofile-file{
    font-size: 15px;
    padding: 4px 6px;
}

#sidebar {
    background:#cb4335; 
    border-radius: 10px;
    border-top: 2px solid white; 
    border-bottom: 5px inset #ececeb; 
    padding-top: 10px;
    padding-bottom: 10px;
}

#sidebar .sidebar-header {
    background: #D8A7A9;
}

ul ul a {
    background: #D8A7A9;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    background: #c8cfd8;
}

#sidebar div a:hover {
    color: #666;
    background: #e0e0eb;
}

#sidebar div a {
    margin: 10px;
    color: white;
}

#sidebar div.grp-header {
    padding: 10px;
    color: white;
    border-radius: 10px;
    border: 1px solid #dc584a;
}

.grp-header {
    color: #02589A;
    border-bottom: 1px solid #02589A;
    padding-bottom: 0px !important;
    margin: 0 10px 10px 0px !important;
    font-size: 22px;
}

.page-header {
    color: #4e6920;
    border-bottom: 2px solid #4e6920;
    padding-bottom: 0px !important;
    margin: 0 0 20px 0 !important;
}

.page-header > h1,h2,h3,h4,h5{
    margin-bottom: 0;
    margin-top:10px;
}

.page-header > h2 > i{
    font-size: 21px;
}

.page-header > h1{
    font-size: 30px;
}

.page-header > h2{
    font-size: 24px;
}

.page-header > h3{
    font-size: 23px;
}

.page-header > h4{
    font-size: 22px;
}

.page-header > h5{
    font-size: 21px;
}

/* ----  ADDITIONAL BASIC STYLES ------ */

div.ho_banner_pic
{
    padding: 0;
    background-image:url(/assets/pics/layout/doeb.png);
    height:100px;
    background-repeat: no-repeat;
    z-index:99;
}

div.ho_banner_mobile
{
    height:100px;
    background-image:url(/assets/pics/layout/doeb.png);
    background-repeat: no-repeat;
    z-index:0;
}

div.ho_banner_pic_bs
{
    padding: 0;
    background-image:url(/assets/pics/layout/doeb_bs.png);
    height:70px;
    background-repeat: no-repeat;
    z-index:99;
}

div.ho_banner_mobile_bs
{
    height:70px;
    background-image:url(/assets/pics/layout/doeb_bs.png);
    background-repeat: no-repeat;
    z-index:0;
}

div.ho_info_bar, div.ho_footer
{
    background-color: #CB4335;
    color:azure;
    margin-top:10px;
    padding:2px;
    min-height: 5px;
}

.ho_desc_bar {
    padding: 10px 10px;
    background: #fdfeda;
    border: #ddd solid thin;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.ho_line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #999;
    margin: 20px 0;
}

.ho_btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.ho_hide {
    display: none;
}

.ho_blue {
    color:#0099ff;
}

.ho_red {
    color:#cc0000;
}

.ho_green {
    color:#009933;
}

.ho_subtb1 th {
    background-color:#009999;
    color:white;
    text-align:center;
}

.ho_list1 {
    color:#408000;
    font-weight: 400;
    cursor: pointer;
}

.ho_list2 {
    color:#995c00;
    font-weight: 400;
    cursor:pointer;
}

.ho_list3 {
    color:#007a99;
    font-weight: 400;
    cursor:pointer;
}

.ho_list4 {
    color:#408000;
    font-weight: 400;
    cursor:pointer;
}

.ho_list5 {
    color:#995c00;
    font-weight: 400;
    cursor:pointer;
}

.ho_list6 {
    color:#007a99;
    font-weight: 400;
    cursor:pointer;
}

/* ---- bar menu ------ */

span.bar_menu {
    margin-left:5px;
}

i.bar_menu {
    padding:0 0px;
    vertical-align:middle;
    color: #337ab7!important;
}

/* bootstrap modified */
legend {
    font-size: 26px;
    font-weight: 700;
}

fieldset.ho-frame1 {
    border: 0.5px ridge #ddd !important;
    padding: 0 1.0em 0.5em 1.0em !important;
    margin: 0 0 0.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

legend.ho-frame1 {
    width: auto;
    border-bottom: none;
}

fieldset.ho-frame2 {
    border: 0.5px ridge #ddd !important;
    padding: 0 1.0em 0.5em 1.0em !important;
    margin: 0 0 0.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

legend.ho-frame2 {
    width: auto;
    border: 0.5px solid #ddd;
    border-radius: 4px;
    padding: 0.1em 0.2em 0.1em 0.2em !important;
}

fieldset.ho-frame3 {
    border: 1px solid #fff !important;
    padding: 0 1.0em 0.2em 1.0em !important;
    margin: 0 0 0.2em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}

legend.ho-frame3 {
    width: auto;
    border-bottom: none;
}

/* welcome */
p.welcome {
    font-size: 22px;
}

/* loading */
.ho-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -45px;
    margin-left: -40px;
    width: 80px;
    height: 90px;
    z-index:9999;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    text-align:center;
    background-color: #8c8c8c;
}
.ho-loading:after {
    content: " ";
    display: block;
    border-radius: 80%;
    width: 0;
    height: 0;
    margin: 0px 20px 5px 20px;
    box-sizing: border-box;
    border: 20px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: ho-loading 1.2s infinite;
}
.ho-loading-hide {
    display: none;
}
@keyframes ho-loading {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }  
}

/* div table for general used, checkbox, radio use this style */
div.ho_dtbl
{
    display:table;
    table-layout:fixed;
    border-collapse:collapse;	
}
div.ho_dcol
{
    display:table-column;
}
div.ho_drow
{
    display:table-row;
}
div.ho_dcel
{
    display:table-cell;
    padding:5px 10px 5px 2px;
    vertical-align:middle;
}
div.ho_dcel_bt
{
    display:table-cell;
    padding:5px 10px 5px 2px;
    vertical-align:bottom;
}
div.ho_dcel_tp
{
    display:table-cell;
    padding:5px 10px 5px 2px;
    vertical-align:top;
}

/* div for map */
#gmap
{
    width: 100%;
    height: 500px;    
    border: #337ab7 solid thin; 
    display:none;
}

/* div for filex */
span.ho_file_lb
{
    color:#997300;
    border: 0.5px solid #8cb3d9;
    border-radius: 5px;
    padding:2px 10px 0px 10px;
    margin:0px 5px 0px 0px;
    cursor: pointer;
}
span.ho_file_elb
{
    color:#997300;
    border: 0.5px solid #9b8c98;
    border-radius: 5px;
    padding:2px 10px 0px 10px;
    margin:0px 5px 0px 0px;
    cursor: pointer;
}
img.ho_image_elb
{
    color:#997300;
    border: 0.5px solid #9b8c98;
    border-radius: 5px;
    margin:0px 5px 5px 0px;
    cursor: pointer;
}
span.ho_file_xlb
{
    color:#997300;
    border: 0.5px solid #9b8c98;
    border-radius: 5px;
    padding:2px 10px 0px 10px;
    margin:0px 5px 0px 0px;
    cursor: not-allowed;
}
div.ho_file_lbs
{
    margin:5px 0px 0px 5px;
}
button.file_btn
{
    margin-top:-10px;
}

span.ho_formx_filelb
{
    position:relative; 
    top:-6px;
    color:#997300;
    border: 0.5px solid #e0e0eb;
    border-radius: 5px;
    padding:5px 10px 3px 10px;
    margin:0px 5px 0px 0px;
    cursor: not-allowed;
    background-color: #f2f2f2;
}
div.ho_formx_file
{
    position:relative;
    top:7px;
    left:-5px;
}
span.gmap_menu
{
    text-decoration: underline;
    color: blue;
    cursor: pointer;
}
/* div for report */
.rpt-header {
    color:#334d4d;
    font-weight: bold;
    margin: 5px 5px 10px 5px !important;
    padding: 5px 5px 3px 10px;
    font-size: 24px;
    background-color:#e0ebeb;
    border: 0.5px solid #e0e0eb;
    border-radius: 8px; 
}
.rpt-label a {
    color:#004d4d;
}
.rpt-label {
    color:#004d4d;
    text-indent:30px;
    font-size: 24px;
}
/* div for list menu */
.list-mn-label a {
    color:#004d4d;
}
.list-mn-label {
    color:#004d4d;
    text-indent:0px;
    font-size: 24px;
}

/* for table as report */
table.tb_report
{
    border-collapse: collapse;   
    width: 100%;
}
table.tb_report td, table.tb_report tr
{
    border:0.2px solid #cccccc;
}
table.tb_report th
{
    border:0.2px solid #cccccc;
    background-color:#e4e4e7;
    color:#515151;
    text-align:center;
}

/* text alignment */
.txtLeft
{
    text-align:left;
}
.txtRight
{
    text-align:right;
}
.txtCenter
{
    text-align:center;
}
.txtTop
{
    vertical-align:top;
}
.txtMiddle
{
    vertical-align:middle;
}
.txtBottom
{
    vertical-align:bottom;
}