body{
    font-family: "Sarabun", Helvetica, Arial, sans-serif;
    letter-spacing: 0.1px;
}

.page-content{
    min-height: calc(100vh - 227px); !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Sarabun", sans-serif;
    font-weight: 500;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 20px;
    margin-bottom: 0;
    color: #000000;
}

.page-header .page-header-menu{
    background: #006178;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li > a,
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li > a{
    color: #ffffff;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li.active > a, .page-header .page-header-menu .hor-menu .navbar-nav > li.active > a:hover, .page-header .page-header-menu .hor-menu .navbar-nav > li.current > a, .page-header .page-header-menu .hor-menu .navbar-nav > li.current > a:hover,
.page-header .page-header-menu .hor-menu .navbar-nav > li.open > a, .page-header .page-header-menu .hor-menu .navbar-nav > li > a:hover{
    color: #ffffff;
    background: #014858 !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu{
    background: #014858 !important;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu{
    padding-bottom: 10px;
}

.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu > li > h4{
    color: #ffffff;
    font-size: 15px;
    padding: 5px 20px 0;
    /*text-shadow: 3px 3px 20px #000;*/

}

.form-horizontal .control-label, .control-label{
    text-align: left !important;
    font-size: 15px;
}
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li > a > i,
.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li:hover > a > i{
    color: #00c196;
}

.page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu li:hover > a{
    color: #ffffff;
    background: #003e4c !important;
}

.font-white {
    color: #fff !important;
}

. margin-top-0{
    margin-top: 0 !important;
}

.portlet.portlet-main{
    margin-bottom: 15px;
}

.portlet.portlet-main > .portlet-title{
    border-bottom:none;
}
.portlet.portlet-main.light > .portlet-title > .actions{
    padding: 6px 0;
}
.portlet.portlet-main.light > .portlet-title > .actions > a{
    font-size: 15px;
    letter-spacing: 0.2px;
}
.portlet > .portlet-title > .actions > .btn, .portlet > .portlet-title > .actions > .btn.btn-sm, .portlet > .portlet-title > .actions > .btn-group > .btn, .portlet > .portlet-title > .actions > .btn-group > .btn.btn-sm{
    padding: 7px 14px;
}


.info-table, .summary-table,.info-file-table {
    width: 100%;
    margin-top: 20px;
}

.info-table > tbody > tr > th, .info-table > tbody > tr > td,
.summary-table > tbody > tr > th, .summary-table > tbody > tr > td,
.info-file-table > thead > tr > th, .info-file-table > tbody > tr > td
{
    padding: 8px 0;
    font-size: 15px;
    vertical-align: middle;
}
.info-file-table{
    border: 1px solid #E9EDEF;
}
.info-file-table > tbody > tr {
    border-bottom: 1px solid #E9EDEF;
}
.info-file-table > tbody > tr > td > a > [class*=" fa-"]{
    font-size: 22px !important;
    padding: 8px !important;
}


.info-table > tbody > tr > th{
    width:  15%;
    font-weight: 500;
    color: #036099;
    vertical-align: top;
}
.info-table > tbody > tr > td{
    width:  35%;
    padding-right: 20px;
    vertical-align: top;
}
.info-file-table > thead > tr > th{
    font-size: 15px;
    padding: 8px 0;
    background-color: #E9EDEF;
    height: 50px;
    color: #555555;
}
.info-table.big > tbody > tr > th {
    width: 25%;
}
.info-table.big > tbody > tr > td {
    width: 30%;
}
.tbreceipt  > thead > tr > th{
    background-color: #E9EDEF;
    height: 45px;
    color: #555555;
}

.tbreceipt > thead > tr > th, .tbreceipt > tbody > tr > td{
    padding: 8px 10px;
    font-size: 15px;
    vertical-align: middle;
}

.file-updele{
    text-align: center;
}
.file-updele a i{
    font-size: 25px !important;
    color: red;
}
.file-updele input{
    width: 120px;
    padding: 0;
    height: 35px;
    border-radius: 10px;
    border: none;
}

.file-updele input::before{
    content: "แนบไฟล์";
    font-weight: bold;
    background: #3598dc;
    color: #fff;
    width: 120px;
    height: 35px;
    border: none;
    position: absolute;
    line-height: 34px;
    text-align: center;
    border-radius: 10px;
}

img.small{
    height: 40px;
}


table.table-general  tr th.select-checkbox.selected::after {
    content: "✔";
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
}


.radio-label {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size:15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.radio-label.inline{
    display: inline-block;
    margin-right: 15px;
}

/* Hide the browser's default radio button */
.radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-label:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio-label input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-label input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio-label .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

input[type=radio].radio-bigger, input[type=checkbox].checkbox-bigger{
    transform: scale(1.8);
    margin-right: 12px;
}

input[type=radio].radio-md, input[type=checkbox].checkbox-md{
    transform: scale(1.4);
}

.md-checkbox input[type=checkbox]:disabled ~ label > .box, .md-checkbox input[type=checkbox][disabled] ~ label > .box,
.md-checkbox input[type=checkbox]:disabled ~ label, .md-checkbox input[type=checkbox][disabled] ~ label,
.md-checkbox input[type=checkbox]:disabled:checked ~ label > .check, .md-checkbox input[type=checkbox][disabled]:checked ~ label > .check{
    opacity: 1;
    font-size: 15px;
}


.jstree-default .jstree-anchor{
    line-height: 28px !important;
    height: 30px !important;
    font-size: 15px;
}
.jstree-default .jstree-icon:empty{
    line-height: 28px !important;
}
.jstree-default .jstree-clicked{
    background: none !important;
    box-shadow: none !important;
}
.jstree-default .jstree-wholerow{
    height: 30px !important;
    background: none !important;
    display: none;
}
.jstree-default .jstree-disabled>.jstree-icon{
    opacity: 1 !important;
    filter: none !important;
}

.jstree-node b.head{
    color: #0c0c0c;
}

.select2-results .select2-result-label{
    padding: 4px 7px 4px;
    font-size: 15px;
    color: #000000;
    font-weight: 300;
}

.progress {
    height: 10px;
}
.form-wizard .steps{
    background-color: #ffffff !important;
    padding: 0;
}
.form-wizard .steps > li{
    background-color: #E5E5E5
}

.form-wizard .steps > li > a.step{
    text-align: left;
    background-color: #E5E5E5;
    vertical-align: middle;
    border-radius:0 ;
}
.form-wizard .steps > li > a.step:hover{
    background-color: #E5E5E5;
}
.form-wizard .steps > li.active > a.step, .form-wizard .steps > li.active > a.step:hover{
    background-color: #014858;
}
.form-wizard .steps > li.active > a.step > .number{
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-animation-name: hvr-pulse;
    animation-name: hvr-pulse;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
.form-wizard .steps > li.active > a.step > .desc{
    color: #fff;
}
.form-wizard .steps > li > a.step > .desc{
    font-size: 15px;
}
.form-wizard .steps > li.done > a.step .desc{
    color: #95A5A6;
}

.info-table .form-control-static{
    margin: 0;
    padding: 0;
    min-height: inherit;
}

.breadcrumb{
    color: #000000;
}

form .help-block{
    margin:0;
}
.table-bordered, .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    border: 1px solid #efefef;
}
.form-wizard .steps > li > a.dp-block > .number{
    display: block;
    margin: 0 auto 10px;
    background: #ffffff;
}
.form-wizard .steps > li > a.dp-block > .desc{
    text-align: center;
    display: block;
    font-weight: bold;
}

select[readonly]:-moz-read-only {
    /* For Firefox */
    pointer-events: none;
}

select[readonly]:read-only {
    pointer-events: none;
}

.tooltip .tooltip-inner {
    text-align: left;
    padding: 10px;
}

.col-data{
    padding: 8px 15px;
    position: relative;

    font-family: "Sarabun", sans-serif;
    font-weight: 400;
    line-height: 25px;
    font-size: 15px;
}
.col-data b{
    display: inline-block;
    /*width: 35%;
    max-width: 200px;*/
    width: 200px;
    font-weight: 500;
    color: #036099;
    vertical-align: top;
    position: relative;
}

.col-data b:after{
    /*content: ":";
    padding: 0 10px 0 5px;
    right: 0;
    position: absolute;
    color: #a22954;*/
}


.col-data b > i{
    color: red;
    padding-right: 3px;
}
.col-data span{
    display: inline-block;
    width: calc(100% - 210px);
}

.col-data span .form-control{
    width: 100%;
}

.col-data span.has-error .form-control{
    border-color: #ff005b;
}
.col-data span.has-error .input-icon > i, .col-data .has-error .help-block{
    color: #ff005b;
}
.col-data span.form-control-static{
    margin: 0;
    padding: 0;
    min-height: inherit;
}

.col-data span ul{
    padding-left: 20px;
}
.col-data span ul li{
    padding-bottom: 10px;

}
@media only screen and (max-width: 600px) {
    .col-data b {
        width: 170px;
    }
    .col-data span{
        display: inline-block;
        width: calc(98% - 167px);
    }
}


.page-title-h3{
    position: relative;
    margin-top: 50px;
}
.page-title-h3:before{
    content: "";
    position: absolute;
    left: 0;
    width: 25px;
    margin-right: 20px;
    border-left: 2px solid #007890;
    background: linear-gradient(90deg, #00789033 0%, #00789000 100%) no-repeat;
    height: 25px;
}
.page-title-h3 > h3{
    color: #007890;
    line-height: 1;
    padding-left: 55px;
    padding-right: 30px;
    display: inline;
    font-size: 20px;
}

.bootbox .modal-title{
    font-size: 25px;
    text-align: center;
    padding: 10px 25px;
}
.bootbox .modal-body{
    text-align: center;
    font-size: 15px;
}
.bootbox .modal-footer{
    text-align: center;
}

.vertical-alignment  {
    display:table;
    height: 100%;
    width: 100%;
}
.vertical-alignment .modal-dialog {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
}
.vertical-alignment .modal-dialog .modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: -10% auto 0 auto;
}

.table-receipt{
    width: 100%;
    font-size: 15px;
}
.table-receipt thead tr{
    background-color: #E9EDEF;
    height: 45px;
    color: #555555;
    border-radius: 5px 5px 0 0;
}
.table-receipt thead tr th{
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.table-receipt tbody tr td{
    padding: 10px 20px;
    border-top: none;
    border-bottom: none;
}
.table-receipt tfoot tr td{
    padding: 20px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.table-receipt tbody tr td.money, .table-receipt tfoot tr td.money{
    text-align: right;
}
.tb-receipt tfoot tr td{
    padding: 15px;
    font-weight: 500;
    border-top: 2px double #c3c3c3;
    background-color: #e9edef;
    color: #333;
    font-size: 16px;
}

.tb-receipt tbody tr td:first-child,
.tb-receipt tfoot tr td:first-child{
    text-align: left;
    padding-left: 20px;
}
.tb-receipt tbody tr td:last-child,
.tb-receipt tfoot tr td:last-child{
    text-align: right;
    padding-right: 20px;
}



.loader-circle-39 {
    display: inline-block;
    height: 80px;
    width: 80px;
    position: relative;
}
.loader-circle-39 span {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 10px solid transparent;
    display: inline-block;
    position: absolute;
    left: 0;
}
.loader-circle-39 span:nth-child(1) {
    border-right-color: #ff9800;
    animation: loader-circle-39-clockwise 2s linear infinite;
}
.loader-circle-39 span:nth-child(2) {
    border-left-color: #ff9800;
    animation: loader-circle-39-antiClockwise 2s linear infinite;
}
.loader-circle-39 span:nth-child(3) {
    height: 20px;
    width: 20px;
    border: 0;
    background-color: #ff9800;
    top: 30px;
    left: 30px;
    animation: loader-circle-39-upDown 2s linear infinite;
}
@keyframes loader-circle-39-upDown {
    0% { transform: translate(0, 30px); }
    50% { transform: translate(0, -30px); }
    100% { transform: translate(0, 30px); }
}
@keyframes loader-circle-39-antiClockwise {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(-360deg);}
}
@keyframes loader-circle-39-clockwise {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

.loader-circle-48 {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto;
}
.loader-circle-48:after,
.loader-circle-48:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0px;
    margin: auto;
    border: 4px solid #006178;
    border-radius: 50%;
}
.loader-circle-48:after {
    transform: rotate(90deg);
    animation: loader-circle-48-spin 4s linear infinite, loader-circle-48-pulse 1s linear infinite alternate;
}
.loader-circle-48:before {
    animation: loader-circle-48-spin2 4s linear infinite, loader-circle-48-pulse 1s linear infinite alternate;
}
@keyframes loader-circle-48-spin {
    100% { transform: rotate(450deg); }
}
@keyframes loader-circle-48-spin2 {
    100% { transform: rotate(360deg); }
}
@keyframes loader-circle-48-pulse {
    0% { width: 5px; height: 70px; }
    100% { width: 70px; height: 5px; }
    0% { width: 5px; height: 70px; }
}


.loader, .loader-sending{
    text-align: center;
    margin: 50px 0;
    display:none;
}



.page-header .page-header-top .top-menu .navbar-nav > li.dropdown-user .dropdown-toggle > .username-type,
.page-header .page-header-top .page-logo .logo-mobile{
    display: none;
}

@media (max-width: 991px) {
    .page-header .page-header-top .top-menu .navbar-nav > li.dropdown-user .dropdown-toggle > .username,
    .page-header .page-header-top .page-logo .logo-default{
        display: none;
    }
    .page-header .page-header-top .top-menu .navbar-nav > li.dropdown-user .dropdown-toggle > .username-type,
    .page-header .page-header-top .page-logo .logo-mobile{
        display: block;
    }
    .page-header .page-header-menu {
        background: inherit;
        padding: 10px 0;
    }
    .page-header .page-header-menu .hor-menu .navbar-nav > li .dropdown-menu {
        background: #f1f1f1 !important;
    }
}


.modal-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}