body {
    font-size: 14px;
    color: #000;
}

.alert-warning {
    background-color: #ffedbb;
    color: #c76904;
}
.logo a {
    color: #fff !important;
}
.btn-action-unpublish{
    color: #a94442 !important;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


.number-zero{}
.number-more-zero{color: #0b7413;font-weight: bold;}
.number-less-zero{color: #b94a48;font-weight: bold;}
/** custom for material theme */
.ha-menu ul{
    text-align: right;
    font-family: 'Kanit','Raleway', sans-serif !important;
    font-size: 15px;

}

.ha-menu > ul > li > *:not(ul){
    padding: 15px 28px;
}
table .tb-text{
    text-align:left;
    padding: 0 2px;
}
table .tb-text .fa{
    font-size: 23px;
    margin-right: 5px;
}
table tr.host, table tr.host:hover{
    background-color: #ffedbb;
}
table tr.owner, table tr.owner:hover{
    background-color: #c9f4d8;
}
table tr.dead, table tr.dead:hover{
    background-color: #f5cfc6;
}
.core-grid-action-header {
    /*min-width: 130px;*/
    min-width: unset;
}
.action-column-row{
    text-align: left;
    padding: 7px !important;
}
.action-column-row .action-dropdown li a{
    color: #666 !important;
}

.share-summary-preview table tr th{
    font-weight: bold;
}
.share-summary-preview table tr td, .share-summary-preview table tr th{
    /*text-align:right;*/
}
.share-summary-preview table .fg-float,.share-summary-preview table .fg-padding {
    margin-bottom: 0;
    margin-top: 0;
}

.sp-custom-date{
    cursor:pointer;
}

.summary-fixed-col{
    width: 30px;
    padding-left: 10px !important;
}
.summary{
    border: 1px solid #EEE;
    display: inline-block;
    float: right;
    padding: 7px 30px;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
}
input.custom-cal-profit{
    color: #32c787;
}
input.custom-cal-profit::placeholder{ /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #5e5e5e !important;
}
input.custom-cal-profit:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #5e5e5e !important;
}
input.custom-cal-profit::-ms-input-placeholder { /* Microsoft Edge */
    color: #5e5e5e !important;
}
.share-summary-preview table tr input{
    margin-top: -7px;
}
.share-summary-preview  .popover {
    width: 300px;
}


/** calendar schedule **/
.fullcalendar {
    margin-bottom: 30px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.fullcalendar .fc-toolbar {
    background: #2196f3;
    margin-bottom: 0px;
}
.fullcalendar .fc-day-header {
    color: #fff;
    background: #0087f3;
    padding: 5px 0;
    border-width: 0;
}
.fullcalendar .fc-day-number {
    text-align: center;
    color: #ADADAD;
    padding: 5px 0;
}
.fullcalendar .fc-day-grid-event {
    margin: 1px 3px 1px;

}
.fullcalendar a.fc-day-grid-event {
    color: #fff !important;
}
.fullcalendar .ui-widget-header th,
.fullcalendar .ui-widget-header {
    border-width: 0;
}
.fullcalendar .fc-basic-view .fc-body .fc-row{
    min-height: 6em;
}
.fullcalendar  .fc-today {
    color: #0087f3 !important;
    font-weight:bold;
    background: #eee;
}
.fullcalendar .fc-state-default.fc-corner-right {
    border-radius: 46px;
    height: 35px;
}
.fullcalendar .fc-day-grid-event .fc-content {
    white-space: nowrap;
    overflow: hidden;
    font-size: 13px;
    box-shadow: 1px 1px 5px 1px #999;
    padding: 7px;
}

.tools-bar{
    /*text-align:right;*/
    margin-bottom:  15px;
}

.field-schedule-process_attach_slip .fileinput .fileinput-preview,
.field-schedule-bit_process_attach_slip .fileinput .fileinput-preview {
    width: 160px;
}

.btn-block {
    margin-bottom: 5px;
}
.iframe-container.process-task{
}
.fancybox-type-iframe .fancybox-inner{
    overflow-x: hidden !important;
}

.dashboard-icon{
    width: 113px;
    padding: 15px;
    float: left;
    text-align: center;
}
.dashboard-icon i{
    font-size: 39px;
    color: #fff;
}
.dashboard-icon label{
    font-size: 12px;
    color: #fff !important;
}
.actions .label{
    font-size: 12px;
}
.btn-lg, .btn-group-lg > .btn {
    font-size: 15px;
    font-family: 'Kanit','Raleway', sans-serif !important;
}

ul.content li{
    margin: 10px;
}

.profile-menu > a .profile-pic > img {
    width: 60px;
    height: 60px;
}
.profile-menu > a {
    /*background: url(../img/profile-menu.png) no-repeat left top;*/
    background: url(../images/profile-menu.jpg) no-repeat left top;
    height: 135px;
}
.profile-menu > a .profile-info {
    margin-top: 0;
}
.profile-menu .profile-detail{
    font-family: 'Kanit','Raleway', sans-serif !important;
    float:right;
    padding: 0 0 0 10px;
    font-size: 15px;
    color: #717069;
    width: 175px;
}
.profile-menu .profile-detail span{
    min-width: 50px;
}
.profile-menu .profile-detail .p-row{
    margin-top: 3px;
}
.profile-menu > a .profile-pic {
    height: 104px;
}
.fa-star{
    color: #f6971b;
    margin-right: 5px;
    margin-left: 5px;
    font-size: 22px;
}

.fa-home.fixed-home{
    font-size: 22px;
    color: #32c787;
    margin-right: 5px;
    margin-left: 5px;
}


.main-menu {
    margin: 2px 0 0 0;
}

ul.social-auth li.facebook{
    background-color: #4968AC;
}


/********* home */
/*

* Based on Cover by https://twitter.com/mdo"  @mdo
* added cover image and background color to match (green)
*
* Globals

*/
.dashboard-icon{
    width: 113px;
    padding: 15px;
    float: left;
    text-align: center;
}
.dashboard-icon i{
    font-size: 39px;
    color: #fff;
}
.dashboard-icon label{
    font-size: 12px;
    color: #fff !important;
}
.actions .label{
    font-size: 12px;
}
.btn-lg, .btn-group-lg > .btn {
    font-size: 15px;
    font-family: 'Kanit','Raleway', sans-serif !important;
}

.warning-pack-limit{
    font-size: 11px;
    line-height: 13px;
    color: #ffffff;
    background: #ef360c;
    padding: 0 14px;
    height: 26px;
}

/*
 * Base structure
 */

.home-section-1 {
    /*css for full size background image*/
    background: url(../images/home-section-1-bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    height: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);

}
.home-section-1 h1{
    color: #fff;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
    display: table;
    width: 100%;
    height: 100%; /* For at least Firefox */
    min-height: 100%;
    -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
    box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}
.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 0, 0.6);
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";

}
.cover-container {
    margin-right: auto;
    margin-left: auto;
}

/* Padding for spacing */
.inner {
    padding: 30px;
}


/*
 * Header
 */
.masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

.masthead-nav > li {
    display: inline-block;
}
.masthead-nav > li + li {
    margin-left: 20px;
}
.masthead-nav > li > a {
    padding-right: 0;
    padding-left: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff; /* IE8 proofing */
    color: rgba(255,255,255,.95);
    border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
    background-color: transparent;
    border-bottom-color: #a9a9a9;
    border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
    color: #fff;
    border-bottom-color: #fff;
}

@media (min-width: 768px) {
    .masthead-brand {
        float: left;
    }
    .masthead-nav {
        float: right;
    }
}


/*
 * Cover
 */

.cover {
    padding: 110px 20px;
}
.cover .btn-lg {
    padding: 10px 40px;
    /*font-weight: bold;*/
}

/* Links */

.home-section-1 a,
.home-section-1 a:focus,
.home-section-1 a:hover {
    color: #fff;
}

.home-section-1 .btn-lg{
    font-family: 'Kanit','Raleway', sans-serif !important;
}
.home-section-1 .lead{
    font-family: 'Kanit','Raleway', sans-serif !important;
}

.home-section-2{
    text-align: center;
    padding: 50px;
    background-color: #32c787;

}
.home-section-2 h2{
    color: #fff;
}

.home-section-3{
    padding: 30px 0;
}
.home-section-3 h4{
    color: #32c787;
}
.home-section-3 .item{
    min-height: 180px;
}
.home-section-3 .item .fa{
    font-size: 50px;
    color: #32c787;
}

/*
 * Footer
 */

.mastfoot {
    color: #999; /* IE8 proofing */
    color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
    /* Pull out the header and footer */
    .masthead {
        position: fixed;
        top: 0;
    }
    .mastfoot {
        position: fixed;
        bottom: 0;
    }
    /* Start the vertical centering */
    .site-wrapper-inner {
        vertical-align: middle;
    }
    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }
}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 700px;
    }
}


/********* end home */


/** fb css **/
#fb-login-modal.modal .modal-header{
    background: #3b5998;
    box-sizing: border-box;
    height: 44px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 12;
    text-align: center;
}
#fb-login-modal.modal .modal-header .close {
    margin-top: 0;
    margin-right: 5px;
    color: #fff !important;
}
#fb-login-modal.modal .modal-header .fb-logo{
    margin-top:8px;
}

#fb-login-modal.modal .modal-body {
    background: #eceff5;
    padding: 0 14px 10px !important;
}
#fb-login-modal #user-fb_username{
    padding: 23px 10px;
    font-size: 14px;
    border: solid #ccc 1px;
    border-radius: 4px 4px 0 0;
}
#fb-login-modal #user-fb_password{
    padding: 23px 10px;
    font-size: 14px;
    border: solid #ccc 1px;
    border-radius:  0 0 4px 4px;
    margin-top:-1px;
}
.fb-content{
    margin:10px;
}
.fb-content .form-group,  .fb-content .input{
    margin:0;
}
#fb-login-modal  .fb-content .help-block{
    display:none;
}
#fb-login-modal .btn-primary, .btn-facebook{
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    position: relative;
    background-color: #3578e5 !important;
    font-size: 14px;
    padding: 9px;
    color: #fff;
}
#fb-login-modal .help-block-error{
    background: #fa3e3e;
    color: #fff;
    font-size: 14px;
    padding: 8px 9px;
    margin: 0 1px 16px;
}
.loading-modal{
    background: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: block;
    z-index: 10000;
    text-align: center;
    padding: 50px;
    font-size: 30px;
    min-height: 165px;
}

.table-responsive.fixed-dropdown{
    padding-bottom: 120px;
}

.mini-charts-item .count > h2 {
    margin: 0;
    line-height: 100%;
    font-size: 22px;
    font-weight: 300;
    color: #fff;
}
.mini-charts-item .count > h4 {
    margin: 0;
    line-height: 220%;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
}
.mini-charts-item .count > h5 {
    font-family: 'Kanit','Raleway', sans-serif !important;
    margin: 0;
    line-height: 220%;
    font-size: 13px;
    font-weight: 300;
    color: #fff;

}
.mini-charts-item .count > small {
    margin-bottom: 2px;
    display: block;
}
.mini-charts-item .count > h2,
.mini-charts-item .count > h4,
.mini-charts-item .count > h5,
.mini-charts-item .count > small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mini-charts-item hr{
    margin-top: 5px;
    margin-bottom: 5px;
}

.form-control[readonly], fieldset[readonly] .form-control {
    background-color: #eee;
    cursor: not-allowed;
    pointer-events: inherit;

}
.effect-value-text{
    margin-top:-20px;
}
.promotion-text{
    font-size: 16px;
    font-family: 'Kanit','Raleway', sans-serif !important;
    line-height: 40px;
}
a.btn-action-ban{
    color: #b94a48 !important;
}
a.btn-action-unban{
    color: #e8ce1c !important;
}

.main-menu .text-highlight{
    color: #cc6800 !important;
}
.text-remaining{
    padding-left: 33px;
    color: #cc6800;
    font-size: 12px;
    font-weight: normal;
}

@media(max-width:767px){
    .summary{
        display:none;
    }
    .ipad-big-font{
        font-size:16px;
        font-weight:bold;
    }
    /*.iframe-container.process-task{*/
    /*min-height: 500px;*/
    /*}*/
}
@media(min-width:768px){
    .info-condition .dl-horizontal dt {
        width: 240px;
    }
}
@media(min-width:992px){
    #fb-login-modal.modal .modal-content{
        max-width: 450px;
        margin-left: 115px
    }
}
@media(min-width:1200px){}