﻿.select2-container--bootstrap .select2-selection {
    border: none;
}

.fth {

}


tr .dropdown > .dropdown-menu:after, .dropdown-toggle > .dropdown-menu:after, .btn-group > .dropdown-menu:after {
    position: absolute;
    top: -7px;
    left: 10px;
    right: auto;
    display: inline-block !important;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #333;
    border-left: 7px solid transparent;
    content: '';
}
tr .dropdown-menu {
    left: 0;
    min-width: 175px;
    position: absolute;
    z-index: 1000;
    display: none;
    float: left;
    list-style: none;
    text-shadow: none;
    padding: 0;
    background-color: #333;
    margin: 10px 0 0 0;
    border: 1px solid #eee;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    font-weight: 500;
}
tr .dropdown-menu > li:hover > a, .dropdown-menu > li.active > a, .dropdown-menu > li.active:hover > a, .dropdown-menu > li.active:hover > a small {
        text-decoration: none;
        background-image: none;
        background-color: #2196F3;
        color: #fff !important;
        filter: none;
    }



    tr .dropdown-menu > li > a {
        padding: 8px 16px;
        color: #a0a0a0;
        text-decoration: none;
        display: block;
        clear: both;
        font-weight: 400;
        line-height: 18px;
        white-space: nowrap;
        font-family: Kanit;
    }

    tr .dropdown-menu li.divider {
        background: #727579;
        margin: 0
    }

tr .table .select2-container--bootstrap.select2-container--disabled .select2-selection, .select2-container--bootstrap.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    background-color: white;
}

.page-header .top-menu .dropdown-user .dropdown-menu > li > a {
    color: #acb4b9 !important;
    font-size: 14px;
    font-weight: 300;
}

.page-header .top-menu .dropdown-user .dropdown-menu > li:hover > a  {
    color: #ffffff !important;
}


.portlet-title 
{
    border:0 !important
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control, .btn-default[disabled] {
    background-color: #eef1f5 !important;
    opacity: 1;
}

.table .form-control[disabled], .table .form-control[readonly], .table fieldset[disabled] .form-control, .table .btn-default[disabled] {
    background-color: white !important;
    border: 0 !important;
    padding-right:8px !important
}



.text-red {
    color: #e9094d;
}

.version{
    color:#ccc;
    font-size:10px
}
/* fix jquery thailand */
.tt-menu 
{
    width:500px !important
}


.switch-input {
    display: none;
}
.switch-label {
    position: relative;
    display: inline-block;
    min-width: 112px;
    cursor: pointer;
    font-weight: 500;
    text-align: left;
    padding: 4px 0 4px 44px;
}
.switch-label:before,
.switch-label:after {
    content: "";
    position: absolute;
    margin: 0;
    outline: 0;
    top: 50%;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.switch-label:before {
    left: 1px;
    width: 34px;
    height: 14px;
    background-color: #9E9E9E;
    border-radius: 8px;
}
.switch-label:after {
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #f1a1a1;
    border-radius: 50%;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
}
.switch-label .toggle--on {
    display: none;
}
.switch-label .toggle--off {
    display: inline-block;
}
.switch-input:checked + .switch-label:before {
    background-color: #A5D6A7;
}
.switch-input:checked + .switch-label:after {
    background-color: #4CAF50;
    -ms-transform: translate(80%, -50%);
    -webkit-transform: translate(80%, -50%);
    transform: translate(80%, -50%);
}
.switch-input:checked + .switch-label .toggle--on {
    display: inline-block;
    font-weight: 500;
}
.switch-input:checked + .switch-label .toggle--off {
    display: none;
}




.cc {
    float: right;
    margin-top: 12px;
    margin-right: 3px;
    overflow: hidden;
    border-radius: 50% !important;
    border:solid 1px #ccc;
    -webkit-transition: all .218s;
    -moz-transition: all .218s;
    -o-transition: all .218s;
    transition: all .218s;
}

    .cc:hover {
        -webkit-transition: all .218s;
        -moz-transition: all .218s;
        -o-transition: all .218s;
        transition: all .218s;
        border: solid 1px #e9094d
    }

.Select-menu-outer {
    z-index: 1000;
}


.flag-custom {
    width:100%;
    text-align:left
}

    .flag-custom .caret 
    {
        float:right;
        margin-left: 10px;
        display: block;
        margin-top: 8px;
    }
    
    .bootstrap-select .dropdown-menu {
        font-family: 'Kanit'
    }
/* fix jQuery.Thailand.js Background of type head is transparemnt*/
.tt-input {
    background-color: #fff !important;
}

.daterangepicker {
    font-family: 'Kanit' !important;
}

.num {
    font-family: consolas,'Kanit' !important;
}


.num-b {
    font-weight:800 !important;
}
.page-container{
    display:none;
}

.b
{
    font-weight: 400;
}

/* BEGIN : WebKit Scrollbar */
::-webkit-scrollbar {
    background: #666;
    overflow: visible;
    -webkit-transition: all .218s;
    -moz-transition: all .218s;
    -o-transition: all .218s;
    transition: all .218s;
    width: 8px;
    height: 8px;
}

    ::-webkit-scrollbar:hover {
        background-color: #666;
    }


::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border: solid white;
    border-width: 0px;
    height: 50px;
    background-color: #aaa;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #f9831e;
    }

    ::-webkit-scrollbar-thumb:active {
        background-color: #f9831e;
    }

::-webkit-scrollbar-track {
}




/* END : WebKit Scrollbar */




select {
    font-family: 'FontAwesome', 'Kanit' !important;
}


/* BEGIN : Fix Quotation */

tr[item-type=service], tr[item-type=spare-part]{
    background-color:#fff !important;
    color:#000 !important
}

tr[item-type=service] td, tr[item-type=spare-part] td {
    padding:4px 8px !important;
    vertical-align: middle;
  font-weight:200 !important;
  vertical-align:middle !important
      
}

.table-bordered > thead > tr[item-type] > td, .table-bordered > thead > tr[item-type] > th {
    border-bottom-width: 1px
}

/* END : Fix Quotation */



.page-name, .caption {
    text-transform: uppercase !important;
}


#TableService .select2-selection, #TableData .select2-selection,
#TableSparePart .select2-selection, #TableData .select2-selection,
#TableService .select2-dropdown, #TableData .select2-selection,
#TableSparePart .select2-dropdown, #TableData .select2-selection {
    border-color: #e7ecf1;
    /*margin: -1px*/
}

.bootstrap-table 
{
    margin-top: -20px; padding: 0

}
    
[id!=calendar] thead {
    font-weight: 400;
    color: #0d76ba;
    background-color: #f1f3fa;
}

.table .btn
{
    margin:0
}
/*.select2-container .select2-selection--single 
{
    height:33px!important
}*/
.fix-fa {
    line-height: 17px !important;
}
.fix-grp
{
    height:34px !important;
}

.swal2-content {
    font-family: Kanit !important
}

.mark, mark {
    background-color: #f9e491 !important;
    padding: 0 !important;
}

.search-info {
    position: fixed;
    top: 57px;
    text-align: center;
    width: 100%;
    display: none;
    z-index: 10000;
}

    .search-info > span {
        background-color: #ffcc00;
        -ms-border-radius: 25px !important;
        border-radius: 25px !important;
        padding: 1px 8px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

button[class^=swal2] {
    font-family: 'Open Sans' !important
}
tfoot .help-block {
    margin: 0 !important
}

.vm td
{
   vertical-align: middle !important
}

.zero {
    margin: 0 !important;
    padding: 0 !important;
}

.all-zero {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.page-header .burger-trigger .menu-overlay-bg-transparent.menu-overlay-show ~ .menu-bg-overlay {
    background: rgb(103, 99, 93) !important;
}

.select2-container--bootstrap .select2-dropdown,
.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection {
    -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0.075) !important;
    box-shadow: inset 0 0 0 0 rgba(0,0,0,0.075) !important;
}

.select2-container--bootstrap .select2-selection {
    font-family: "Kanit",sans-serif !important;
    -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0.075) !important;
    box-shadow: inset 0 0 0 0 rgba(0,0,0,0.075) !important;
}


template {
    display: none;
}

template tr {
    display: none;
}

.form-group {
    /*margin-bottom: 30px !important;*/
}

strong
{
    font-weight:400 !important;
}

.btn.default:not(.btn-outline) {
    border-color: #c2cad8;
}
    .mt-checkbox.mt-checkbox-outline > span, .mt-checkbox.mt-checkbox-outline:hover > input:not([disabled]):checked ~ span, .mt-checkbox.mt-checkbox-outline > input:checked ~ span {
    border: 1px solid #d9d9d9;
    background-color: white;
}
.mt-checkbox-inline, .mt-radio-inline ul.c-menu {
    padding: 0px;
}

.btn-mini {
    color: #fff;
    height: 19px;
    width: 19px;
    padding: 1px;
    /*float:right;*/
    margin-right:0 !important;
}

tbody
{
    font-weight:200;
}
.f-n
{
    font-weight:200 !important;
}

.f-b {
    font-weight: 400 !important;
}

.input-td {
    border: none;
    background: none;
    padding: 0;
    width:100%
}

.input-td-editable {
    padding-left: 4px !important;
    padding-right: 4px !important;
    background: none;
    padding: 0;
    width: 100%
}

.p0
{
    padding:0 !important;
    vertical-align:middle !important;
}

.pt2 {
    padding-top: 2px !important;
    vertical-align: middle !important;
}

.p5 {
    padding: 5px !important;
    vertical-align: middle !important;
}
input[type=text].input-td2 {
    border: none;
    background: none;
    padding: 0;
    width: 100%;
    height: 32px;
    padding-left: 8px;
                  padding-right: 8px
}

select.input-td2 {
    border: none;
    background: none;
    padding: 0;
    width: 100%;
    height: 32px;
    padding-left: 8px;
    z-index:1

}


.w80
{
    width:80% !important;
}

ul.c-menu {
    padding-left: 0;
    font-family: 'Open Sans';
}



    ul.c-menu .selected {
        /* border: solid 1px #1a5584; */
        background-color: #2196F3;
        color: #f0f3f3 !important;
    }


ul.c-menu li.item
{
    list-style: none;
    font-weight:600;
    text-transform:uppercase;
}

    ul.c-menu li.item a i {
        padding-right: 22px;
    }

#menu {
    font-family: 'Open Sans';
}


ul.c-menu li.item ul
{
    list-style: none;
    font-weight:400;
    padding-left:12px;
    width:100%;
}

ul.c-menu li.item a
{
    color:#333;
    padding:4px;
    display:block;
}

    ul.c-menu li.item a:hover {
        color:#fff;
        text-decoration: none;
        background-color: #5E738B;
        font-weight: 600;
        -ms-border-radius: 8px;
        border-radius: 8px;
        padding-left: 20px;
        -webkit-transition: .5s all;
        -moz-transition: .5s all;
        -ms-transition: .5s all;
        -o-transition: .5s all;
        transition: .5s all;
    }

[data-ui=show-on-load-completed]
{
    display:none;
}

.custom-loading {
    background-image: url('../img/ajboggs-loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
    height: 200px;
}

.margin-padding-0 {
    margin: 0 !important;
    padding: 0 !important;
}

.page-container-bg-solid
{
    background:#fff !important;
}

.page-name {
    padding: 4px !important;
    background-color: #525E64;
    color:#fff;
    text-align:center;
    display:none;
}

.swal2-icon {
    border-radius: 50% !important;
}

[data-mode=single] {
display:none;
}

.no-scroll-x {
    overflow-x: hidden;
}

.bl {
    border-left: 4px solid #526781;
}

.t
{
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 11111111111111111111;
    height: 2px;
    background: #27c4f5 -webkit-linear-gradient(left,#27c4f5,#a307ba,#fd8d32,#70c050,#27c4f5);
    background: #27c4f5 linear-gradient(to right,#27c4f5,#a307ba,#fd8d32,#70c050,#27c4f5);
    background-size: 500%;
    -webkit-animation: 2s linear infinite barprogress,.3s fadein;
    animation: 2s linear infinite barprogress,.3s fadein ;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;

}

@-webkit-keyframes barprogress {
    0% {
        background-position: 0% 0
    }

    to {
        background-position: 125% 0
    }
}

@keyframes barprogress {
    0% {
        background-position: 0% 0
    }

    to {
        background-position: 125% 0
    }
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadein {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}
