﻿@import url('font-face.css');

body {
    font-family: 'Kanit', sans-serif !important;
    font-size: 14px;
    font-weight: 300;
    color: #333;
    margin: 0;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
}

.imageLogin {
    z-index: 1;
    margin-bottom: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 40px;
    display: block;
    position: relative;
}

    .imageLogin::after {
        /*display: block;
        position: relative;*/
        content: "";
        position: fixed;
        z-index: -1;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-image: url(../../images/logo-black.png), url(../../images/login_bg.jpg);
        background-repeat: no-repeat, no-repeat;
        background-position: right top, center;
        background-size: 300px, cover;
        opacity: .6;
    }

.auth.theme-one .auto-form-wrapper {
    background: #ffffff;
    padding: 40px 40px 10px;
    opacity: 0.90;
    width: 430px;
    /* height: 400px; */
    padding-top: 10px;
    border-bottom-width: 10px;
}

@media (max-width: 991.98px) {
    .auth.theme-one .auto-form-wrapper {
        background: #ffffff;
        padding: 40px 40px 10px;
        opacity: 0.90;
        width: 100%;
        /* height: 400px; */
        padding-top: 10px;
        border-bottom-width: 10px;
    }
}

.login-logo img, .register-logo img {
    width: 100%;
    border: 0;
    max-width: 325px;
    height: auto;
    display: inline-block;
}

.style-changepassword {
    font-size: 20px;
    text-align: center;
}

.stlye-cancle-button {
    font-size: 16px;
    background-color: white;
    border-color: gray;
}

.font-size-12 {
    font-size: 12px !important;
}

.font-size-14 {
    font-size: 14px !important;
}

.font-size-16{
    font-size:16px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-24 {
    font-size: 20px;
}

.padding-left-30{
    padding-left:30px;
}

.color-blue {
    color: blue;
}

.stlye-width-100 {
    width: 100% !important;
}

.footer-font {
    font-size: 14px;
    margin-top: 15px;
}

.color-red {
    color: red;
}

.justify-content-center {
    justify-content: center;
}

.login-box-title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.max-width-200 {
    max-width: 200px;
}

.margin-0 {
    margin: 0px;
}

.margin-top-0{
    margin-top:0px;
}

.margin-bottom-0{
    margin-bottom:0px;
}

.padding-0 {
    padding: 0px;
}

.padding-5 {
    padding: 5px;
}

.padding-10 {
    padding: 10px;
}

.padding-20 {
    padding: 20px;
}

.padding-30 {
    padding: 30px;
}

.padding-right-10{
    padding-right:10px;
}

.padding-left-10{
    padding-left:10px;
}

.margin-10 {
    margin: 10px;
}

.margin-top-10{
    margin-top:10px;
}

.success-box{
    margin-left:30px;
    margin-right:30px;
}

/*Jeab*/
.btn-block {
    display: block;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.element {
    padding: 0px 0px 0px 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.text {
    padding: 25px;
    padding-left: 5px;
    font-weight: 400;
}

.text-bold {
    font-weight: 500;
}

.text-color {
    color: #fff;
}

.box-shadow {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
/*
.background-color {
    background: blue;
}
*/
.margin16 {
    margin-top: 16px;
}

/*.k-loading-mask {
    display: none;
}*/
/*
.k-loading-mask {
    background-image: none;
}
*/
.k-loading-image {
    background-image: none;
}

body > div.k-loading-mask {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.3);
    transition: 1s 0.4s;
    
    /*position: fixed;
    top: 50%;
    left: 50%;*/
    /* bring your own prefixes */
    /*transform: translate(-50%, -50%);*/
}

.k-grid-content > div.k-loading-mask {
    display: none;
}

.k-i-loading {
    background-image: none;
}

.margin-error-succes {
    margin-right: 30px;
    margin-top: 15px;
    margin-left: 30px;
}

.font-fam {
    font-family: 'Kanit', sans-serif;
}

.padding-top-15 {
    padding-top: 15px;
}

.padding-top-0 {
    padding-top: 0px;
}

.width-30 {
    width: 30%;
}

.padding-top-30 {
    padding: 30px;
}

/*css for list box branch mapping*/
.listbox-section label {
    margin-bottom: 5px;
    font-weight: 500;
    display: inline-block;
}

#available_company {
    width: 50%;
}

#branch_mapping .listbox-section {
    max-width: none;
    width: 100%;
    /*padding-left: 6%;
    padding-right: 6%*/
}

#branch_mapping .k-listbox {
    /*width: 45%;*/
    height: 430px;
}

#branch_mapping .k-listbox:first-of-type {
    /*width: 50%;*/
    margin-right: 1px;
}

#company_mapping .k-listbox {
    width: 45%;
    height: 430px;
}

    #company_mapping .k-listbox:first-of-type {
        width: 50%;
        margin-right: 1px;
    }
/*-------------------------*/

/*-------Custom theme adminLTE--------*/

.login-logo, .register-logo {
    max-width: 210px;
}

.login-box, .register-box {
    width: 100%;
    display: inline-block;
}

.login-box-body, .register-box-body {
    padding: 40px;
    opacity: 0.95;

    width: 420px;
    display: inline-block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-box-msg, .register-box-msg {
    margin: 0;
    text-align: center;
    padding: 0 20px 20px 20px;
    font-size:22px;
    font-weight:500;
}

.changepass-box, .resetpass-box {
    width: 420px;
    margin: 4% auto;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.sidebar-menu li.header {
    font-weight: 500;
}

.user-panel > .info > p {
    font-weight: 500;
}

.main-header .logo {
    font-family: 'Kanit', sans-serif;
}

.content-header {
    position: static;
}

.content-header > h1 {
    font-size: 20px;
}

.box.box-primary {
    border-top-color: #2962FF;
}

.box-header > .fa, .box-header > .glyphicon, .box-header > .ion, .box-header .box-title {
    display: inline-block;
    font-size: 16px;
    margin: 0;
    line-height: 1;
    color: #333333;
}

    .box-header .box-title > span {
        margin: 10px;
        font-weight: 400;
    }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Kanit', sans-serif;
    margin: 0;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 400;
}

a {
    color: #2962FF;
}

    a:hover, a:active, a:focus {
        outline: none;
        text-decoration: none;
        color: #6991ff;
    }

.form-group {
    margin-bottom: 15px;
}

.input-radio {
    margin-top: 5px;
}

.label-wrapper {
    display: table;
    min-height: 28px;
    float: right;
}

@media (min-width: 768px) {
    .col-border-right {
        border-right: 0px;
    }

    .search-label {
        margin-bottom: 0;
    }

    .control-label {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: right;
    }

    .form-horizontal .control-div-info {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: left;
    }

    .control-label-left {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: left;
    }

    .control-label-center {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: center;
    }

    .control-label-default {
        padding: 0;
        margin: 0;
    }
}

@media (min-width: 992px) {
    .col-border-right {
        border-right: 1px solid #f4f4f4;
    }
}

@media (min-width: 1200px) {
    .col-border-right {
        border-right: 1px solid #f4f4f4;
    }
}


@media (max-width: 992px) {
    .label-wrapper {
        float: none;
        margin-bottom: 3px;
        margin-top: 5px;
    }
}

.table-middle > thead > tr > th,
.table-middle > tbody > tr > th,
.table-middle > tfoot > tr > th,
.table-middle > thead > tr > td,
.table-middle > tbody > tr > td,
.table-middle > tfoot > tr > td {
    vertical-align: middle;
}

.label-wrapper .control-label {
    display: table-cell;
    font-weight: 500;
}

.label-wrapper .ico-help {
    display: table-cell;
    color: #2962FF;
    font-size: 1.17em;
    padding-left: 6px;
}

.form-group .search-label {
    font-weight: 500;
}

/*.form-group .control-div-info {
    text-align: left;
}

.form-horizontal .control-div-info {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: left;
}*/

.form-group .ico-help {
    display: table-cell;
    color: #2962FF;
    font-size: 1.17em;
    padding-left: 6px;
}

.form-control {
    padding: .167em 0;
    font-size: 14px;
    font-family: inherit;
    height: auto;
    line-height: 1.93571428em;
    border-radius: .25rem;
}

input.form-control {
    padding: .375rem .75rem;
    text-indent: 0;
    height: auto !important;
    width: 100%;
}

select.form-control {
    padding: .375rem .75rem;
    text-indent: 0;
    height: 36.5px !important;
    width: 100%;
}

    select.form-control.k-dropdown {
        padding: .375rem .75rem;
    }

textarea.form-control {
    padding: .375rem .75rem;
    text-indent: 0;
}

.btn {
    line-height: 1.70571428em;
}

.btn-primary {
    background-color: #444444;
    border-color: #444444;
}

    .btn-primary:hover, .btn-primary:active, .btn-primary.hover .btn-primary:focus {
        background-color: #303030;
        border-color: #444444;
    }

.content-wrapper {
    display: block;
}

.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
    color: #fff;
    background-color: #303030;
    border-color: #303030;
}

.bg-dark-blue {
    background-color: #272d8b !important;
    color: #fff !important;
}

.bg-teal-gradient {
    /*background: #39cccc !important;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #39cccc), color-stop(1, #7adddd)) !important;
    background: -ms-linear-gradient(bottom, #39cccc, #7adddd) !important;
    background: -moz-linear-gradient(center bottom, #39cccc 0%, #7adddd 100%) !important;
    background: -o-linear-gradient(#7adddd, #39cccc) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7adddd', endColorstr='#39cccc', GradientType=0) !important;*/
    background: #95ffb5 !important;
    color: #555;
}

.bg-pacific-blue {
    background-color: #17A2B8 !important;
    color: #fff !important;
}

.bg-dark-orange {
    background-color: #fecf60 !important;
    color: #555;
}

.btn-dark-orange {
    background-color: #fecf60 !important;
    /*color: #fff;*/
    color: #555;
}

.free-ico {
    width: 24px;
    height: 24px;
    content: url(/Images/free.svg);
}

.no-svg .free-ico {
    background-image: url(/Images/free.png);
    background-repeat: no-repeat;
    background-size: 24px 24px;
}

.fieldlist-horizontal {
    margin: 0 0 -1em;
    padding: .375rem .0rem;
    overflow: hidden;
}
    .fieldlist-horizontal input[type="radio"], .fieldlist-horizontal input[type="checkbox"] {
        margin: 0;
        padding: 0;
    }

    .fieldlist-horizontal li {
        list-style: none;
        /*padding-bottom: 1em;*/
        float: left;
    }

        .fieldlist-horizontal li label {
            padding-right: 20px;
        }

.list-group-flush {
    margin-bottom: 0px;
}

    .list-group-flush > .list-group-item {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        padding: 5px 0px;
    }

    .list-group-flush > .list-group-item:first-child {
        border-top: 0;
    }

    .list-group-flush > .list-group-item:last-child {
        border-bottom: 0;
    }


.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #303030;
    border-color: #303030;
}

.content {
    margin-right: 0;
    margin-left: 0;
}

/*------------------------------------*/
/*--------Custom theme kendo----------*/
.k-tooltip {
    font-size: 14px;
}

.k-dropdown .k-dropdown-wrap, .k-dropdowntree .k-dropdown-wrap {
    border-radius: 0;
    border-width: 0;
}

.k-widget.k-tooltip-validation {
    font-weight: 400;
    color: #dc3545;
}

.k-button {
    font-size: 14px;
    font-weight: normal;
    padding: 6px 12px;
}

.k-widget.form-control .k-input {
    padding: .375rem .75rem;
    height: auto;
}

.k-datepicker.form-control, .k-maskedtextbox.form-control, .k-multiselect.form-control, .k-numerictextbox.form-control, .k-combobox.form-control {
    border: 0;
}

.k-dropdowntree .k-multiselect-wrap, .k-multiselect .k-multiselect-wrap, .k-checkbox, .k-maskedtextbox, .k-numerictextbox, .k-datepicker, .k-autocomplete, .k-dropdown, .k-combobox {
    border-color: #ccc;
}

.form-control.k-dropdowntree, .k-dropdown.form-control, .k-textbox.form-control {
    height: auto;
}

.k-dropdowntree .k-multiselect-wrap, .k-multiselect .k-multiselect-wrap {
    height: auto;
}

.k-widget {
    font-family: 'Kanit', sans-serif !important;
    /*font-size: 14px;*/
}

.k-window-title {
    font-size: 19px;
}

.k-prompt-container, .k-window-content {
    padding: 16px 16px;
}

#details-container {
    padding: 10px;
}

.k-window-titlebar {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 12px 16px;
}

    .k-window-titlebar.k-header {
        color: #656565;
        background-color: #f6f6f6;
    }

.k-upload {
    font-size: 14px;
}

.k-upload-button:focus {
    box-shadow: none;
    border-color: #e4e7eb;
}

.k-upload.k-state-disabled {
    opacity: 1 !important;
    pointer-events: visible !important;
}

    .k-upload.k-state-disabled .k-upload-action {
        display: none;
    }

.k-window .k-edit-buttons {
    background: none !important;
}

.k-dialog-button-layout-stretched .k-button {
    border-radius: 0;
    padding: 12px 12px !important;
    border-color: #ebebeb !important;
    border-width: 0;
    text-overflow: ellipsis;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    display: inline-block;
    overflow: hidden;
}

.k-edit-form-container .k-edit-buttons {
    margin: 1rem -1.6rem -1.6rem !important;
    padding: 1rem 1rem;
}
/*------------------------------------*/
/*-----------Custom css---------------*/
.sub-menu {
    white-space: normal;
    word-wrap: break-word;
}

.text-require-field {
    color: red;
    margin-left: 5px;
}

.label-example {
    color: darkgray;
    font-size: 12px;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 0;
}

.panel.collapsible-panel {
    margin-bottom: 10px;
    border-top: 3px solid #d2d6de;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

    .panel.collapsible-panel textarea {
        resize: vertical;
    }

    .panel.collapsible-panel .sub-panel, .panel.collapsible-panel .panel.sub-panel {
        margin-bottom: 5px;
    }

    .panel.collapsible-panel > .panel-heading {
        padding-right: 30px;
        position: relative;
        cursor: pointer;
    }

    .panel.collapsible-panel > .panel-heading {
        background-color: #ffffff;
        color: #444;
        border-bottom: 1px solid #f4f4f4;
        padding-left: 45px;
    }

        .panel.collapsible-panel > .panel-heading span {
            font-size: 16px;
            font-weight: 400;
        }

    .panel.collapsible-panel .panel-heading i.toggle-icon {
        position: absolute;
        right: 15px;
        top: 15px;
        font-size: 12px;
    }

    .panel.collapsible-panel .panel-container .panel-group {
        margin-bottom: 0;
    }

    .panel.collapsible-panel .panel-container {
        overflow: hidden;
    }

    .panel.collapsible-panel .panel-heading div.icon-container {
        width: 45px;
        position: absolute;
        left: 0;
        top: 11px;
        text-align: center;
    }

    .panel.collapsible-panel .panel-heading i.panel-icon {
        font-size: 14px;
        padding-right: 0 !important;
    }

    .panel.collapsible-panel .panel-container.collapsed {
        display: none;
    }

dt {
    font-weight: 500;
}

dl {
    margin-top: 20px;
    margin-bottom: 20px;
}

/*Search block collapse*/
.search-row {
    padding-left: 50px;
    padding-right: 30px;
    position: relative;
    cursor: pointer;
}

.panel-search .search-body.closed {
    display: none;
}

.panel-search .search-body {
    display: block;
    margin-top: 15px;
    padding-top: 5px;
}

.icon-search {
    position: absolute;
    left: 0;
    top: 3px;
    text-align: center;
    width: 50px;
}

    .icon-search i {
        font-size: 16px;
        padding-right: 0 !important;
    }

.icon-collapse {
    position: absolute;
    right: 0;
    top: 3px;
    text-align: center;
    width: 50px;
}

    .icon-collapse i {
        font-size: 16px;
        padding-right: 0 !important;
        font-weight: bold;
    }

.search-text {
    font-size: 16px;
    font-weight: 400;
}


/* Tooltip container */
.custom-tooltip {
    padding-top: 0px;
    position: relative;
    display: inline-block;
    color: #2196f3;
    font-size: 16px !important;
    vertical-align: top;
    margin-left: 5px;
}

    /* Tooltip text */
    .custom-tooltip .tooltiptext {
        visibility: hidden;
        width: 150px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px;
        font-size: 14px;
        border-radius: 3px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        top: 110%;
        left: 0;
        margin-left: -90px;
        /* Fade in tooltip */
        opacity: 50%;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        .custom-tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 80%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 /*#2196f3*/ transparent transparent transparent;
            transform: scale(-1, -1);
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .custom-tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

/* Tooltip container */
.btn-tooltip {
    position: relative;
    display: inline-block;
}

    /* Tooltip text */
    .btn-tooltip .tooltiptext {
        visibility: hidden;
        width: 150px;
        background-color: #555 /*#2196f3*/;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        font-size: 12px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        top: 135%;
        left: 50%;
        margin-left: -60px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        .btn-tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 /*#2196f3*/ transparent transparent transparent;
            transform: scale(-1, -1);
        }

    /* Tooltip text top */
    .btn-tooltip .tooltiptext-left {
        visibility: hidden;
        position: absolute;
        min-width: 100px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 3px;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s;
        top: 0px;
        bottom: auto;
        right: 128%;
    }

        /* Tooltip arrow */
        .btn-tooltip .tooltiptext-left::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 100%;
            margin-top: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent transparent #555;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .btn-tooltip:hover .tooltiptext,
    .btn-tooltip:hover .tooltiptext-left {
        visibility: visible;
        opacity: 1;
    }


/* Search Tooltip container */
.search-tooltip {
    padding-top: 0px;
    position: relative;
    display: inline-block;
    color: #2196f3;
    font-size: 16px !important;
    vertical-align: top;
    margin-left: 5px;
}

    /* Tooltip text */
    .search-tooltip .tooltiptext {
        visibility: hidden;
        width: 150px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px;
        font-size: 14px;
        border-radius: 3px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        top: -5px;
        left: 105%;
        margin-left: 10px;
        /* Fade in tooltip */
        opacity: 50%;
        transition: opacity 0.3s;
    }

        /* Tooltip arrow */
        .search-tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 100%;
            margin-top: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent #555 transparent transparent;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .search-tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.cmd-custom-btn {
    padding: .16em .16em;
    margin-left: 2.5px;
    margin-right: 2.5px;
    height: 24px;
    width: 24px;
}

.btn-cmd-default {
    padding: .16em .16em;
    margin-left: 2.5px;
    margin-right: 2.5px;
    height: 24px;
    width: 24px;
    border-color:#C9C9C9;
}

.cmd-custom-btn-txt {
    padding: .375rem .75rem;
}

.cmd-custom-btn-txt .fa, .cmd-custom-btn-txt .mdi {
    margin: 0 .375rem 0 -.375rem;
}

.custom-btn-18 {
    padding: .16em .16em;
    height: 18px;
    width: 18px;
}

.badge {
    border-radius: 0.25rem;
    font-size: 14px;
    font-weight: initial;
    line-height: 1;
    padding: 4px 6px;
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    letter-spacing: 0.04rem;
    min-width: 80px;
}

.badge-status {
    margin: 5px;
}

.notifications-alert {
    margin-top: 10px;
}
/*------------------------------------*/
/*----------------Grid in line------------------*/
.k-edit-cell > .text-box {
    width: 100%;
}

.k-grid-cmd-no-text .k-icon {
    min-width: 0;
    margin: 0;
}

.k-button.k-button-icontext.k-grid-delete {
    color: #fff;
    background-color: #ff3e32;
    border-color: #ff3225;
}

.k-button.k-button-icontext.k-grid-Destroy {
    color: #fff;
    background-color: #ff3e32;
    border-color: #ff3225;
}

.k-header .k-link {
    text-align: center;
}

.k-grid .k-grid-header .k-header .k-link {
    height: auto;
}

.k-grid .k-grid-header .k-header {
    white-space: normal;
}

/*.k-grid td {
    border-width: 0 0 1px 1px;
}*/

.k-grid-content tr:last-child td, .k-grid-content-locked tr:last-child td {
    border-bottom-width: 1px;
}

.k-grid-header th.k-header {
    vertical-align: middle !important;
}

.k-button {
    font-size: inherit;
}

.k-grid-cmd-no-text .k-icon {
    min-width: 0;
    margin: 0;
}

/*.k-grid-toolbar .btn-success {
    color: #ffffff;
    background-color: #19d895;
    border-color: #19d895;
}

    .k-grid-toolbar .btn-success:hover {
        color: #fff;
        background-color: #15b67d;
        border-color: #14aa75;
    }*/

.k-grid-toolbar .btn-inverse-dark {
    color: #252C46;
    background-color: rgba(37, 44, 70, 0.2);
    background-image: none;
    border-color: rgba(37, 44, 70, 0);
}

    .k-grid-toolbar .btn-inverse-dark:hover {
        color: #ffffff;
        background-color: #252C46;
        border-color: #252C46;
    }

.k-grid-toolbar .btn-secondary {
    color: #212529;
    background-color: #dde4eb;
    border-color: #dde4eb;
}

    .k-grid-toolbar .btn-secondary:hover {
        color: #212529;
        background-color: #c5d1dd;
        border-color: #bdcbd8;
    }

.k-command-cell .btn-success {
    color: #ffffff;
    background-color: #19d895;
    border-color: #19d895;
}

    .k-command-cell .btn-success:hover {
        color: #fff;
        background-color: #15b67d;
        border-color: #14aa75;
    }

.k-grid-toolbar .btn-danger {
    color: #fff;
    background-color: #ff3e32;
    border-color: #ff3225;
}

    .k-grid-toolbar .btn-danger:hover {
        color: #fff;
        background-color: #ff3e32;
        border-color: #ff3225;
    }

.k-command-cell .btn-danger {
    color: #fff;
    background-color: #ff3e32;
    border-color: #ff3225;
}

    .k-command-cell .btn-danger:hover {
        color: #fff;
        background-color: #ff3e32;
        border-color: #ff3225;
    }
/*----------------------------------------------*/

.resp-table {
    width: 100%;
    display: table;
}

.resp-table-caption {
    display: table-caption;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.resp-table-header {
    display: table-header-group;
    background-color: #f5f5f5;
    font-weight: 500;
}

.resp-table-body {
    display: table-row-group;
}

.resp-table-row {
    display: table-row;
}

    .resp-table-row:hover {
        background-color: #f5f5f5;
    }

.resp-table-footer {
    display: table-footer-group;
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 25px;
    color: rgba(255, 255, 255, 0.45);
}

.table-header-cell {
    display: table-cell;
    padding: 10px;
    text-align: justify;
    vertical-align: middle;
}

.table-body-cell {
    display: table-cell;
    border-top: 1px solid #f4f4f4;
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: middle;
}

.table-footer-cell {
    display: table-cell;
    padding: 10px;
    text-align: justify;
    border-bottom: 1px solid black;
}

.table-break-word > thead > tr > th,
.table-break-word > tbody > tr > th,
.table-break-word > tfoot > tr > th,
.table-break-word > thead > tr > td,
.table-break-word > tbody > tr > td,
.table-break-word > tfoot > tr > td {
    overflow-wrap: break-word;
}

.k-grid-no-border td {
    border-width: 0 0 0 0px;
    border-top-width: 0px;
    border-left-width: 0px;
}

.k-grid-no-border th {
    border-width: 0 0 0px 0px;
    border-left-width: 0px;
}

.k-grid-header-bold tr th {
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 400;
}

.k-grid-no-border > .k-grid-content > table > thead > tr > th,
.k-grid-no-border > .k-grid-content > table > tbody > tr > th,
.k-grid-no-border > .k-grid-content > table > tfoot > tr > th,
.k-grid-no-border > .k-grid-content > table > thead > tr > td,
.k-grid-no-border > .k-grid-content > table > tbody > tr > td,
.k-grid-no-border > .k-grid-content > table > tfoot > tr > td {
    border-top: 1px solid #f4f4f4;
}

.k-grid-no-border > .k-grid-content > table > tbody > tr:first-child > th {
    border-top: 0px;
}

.table > tbody > tr:first-child > td {
    border-top: 0px;
}

/* Bar loader */
.bar-loader {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
}

    .bar-loader span {
        display: inline-block;
        width: 5px;
        height: 30px;
        background-color: rgba(255, 98, 88, 0.7);
    }

        .bar-loader span:nth-child(1) {
            -webkit-animation: grow 1s ease-in-out infinite;
            animation: grow 1s ease-in-out infinite;
        }

        .bar-loader span:nth-child(2) {
            -webkit-animation: grow 1s ease-in-out 0.15s infinite;
            animation: grow 1s ease-in-out 0.15s infinite;
        }

        .bar-loader span:nth-child(3) {
            -webkit-animation: grow 1s ease-in-out 0.30s infinite;
            animation: grow 1s ease-in-out 0.30s infinite;
        }

        .bar-loader span:nth-child(4) {
            -webkit-animation: grow 1s ease-in-out 0.45s infinite;
            animation: grow 1s ease-in-out 0.45s infinite;
        }

@-webkit-keyframes grow {
    0%, 100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(1.8);
        transform: scaleY(1.8);
    }
}

@keyframes grow {
    0%, 100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(1.8);
        transform: scaleY(1.8);
    }
}

#preload-overlay {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    transition: 1s 0.4s;
}

.bar-loader {
    width: 105px;
    height: 100px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.switch-danger-on.k-switch-on .k-switch-container {
    color: #fff;
    background-color: #dd4b39;
}

.inputDisabled:focus {
    border-color: #ccc;
}

input.inputDisabled {
    /*background-color: #e9ecef !important;*/
    /*border-radius: 0;*/
}

span.inputDisabled > .k-numeric-wrap {
    outline: 0;
    cursor: default;
    opacity: .65;
    -webkit-filter: grayscale(.1);
    filter: grayscale(.1);
    pointer-events: none;
    box-shadow: none;
}

span.inputDisabled > .k-state-default {
    outline: 0;
    cursor: default;
    opacity: .65;
    -webkit-filter: grayscale(.1);
    filter: grayscale(.1);
    pointer-events: none;
    box-shadow: none;
}

.k-input.k-textbox.inputDisabled,
.k-input.k-textbox:read-only,
.k-input.k-textbox[readonly],
.k-textarea.inputDisabled,
.k-textarea:read-only,
.k-textarea[readonly],
.k-textbox.inputDisabled,
.k-textbox:read-only,
.k-textbox[readonly] {
    outline: 0;
    cursor: default;
    /*opacity: .65;*/
    -webkit-filter: grayscale(.1);
    filter: grayscale(.1);
    pointer-events: none;
    box-shadow: none;
}


input.inputDisabledStyle {
    /*background-color: #e9ecef !important;*/
    border-radius: 0;
}

span.inputDisabledStyle > .k-numeric-wrap {
    outline: 0;
    cursor: default;
    opacity: .65;
    -webkit-filter: grayscale(.1);
    filter: grayscale(.1);
    pointer-events: none;
    box-shadow: none;
}

.inputDisabled > .k-dropdown-wrap {
    outline: 0;
    cursor: default;
    opacity: .65;
    -webkit-filter: grayscale(.1);
    filter: grayscale(.1);
    pointer-events: none;
    box-shadow: none;
}

.inputDisabled .k-icon {
    opacity: 0.6;
}

.k-widget[readonly], .k-widget[readonly] [readonly] {
    opacity: 1;
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

/*
    ######### Snackbar #########
    The snackbar - position it at the bottom and in the middle of the screen
    ref. https://www.w3schools.com/howto/howto_js_snackbar.asp
*/
.snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

.snackbar-default {
    background-color: #333 !important; /* Black background color */
    color: #fff !important; /* White text color */
}

.snackbar-success {
    background-color: #00a65a !important; /* Black background color */
    color: #fff !important; /* White text color */
}

    /* Show the snackbar when clicking on a button (class added with JavaScript) */
    .snackbar.show {
        visibility: visible; /* Show the snackbar */
        /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
            However, delay the fade out process for 2.5 seconds */
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.bottom-right-btn {
    display: block; /* Hidden by default */
    width: auto;
    min-width: 50px;
    position: fixed; /* Fixed/sticky position */
    bottom: 25px; /* Place the button at the bottom of the page */
    right: 25px; /* Place the button 30px from the right */
    z-index: 9; /* Make sure it does not overlap */
    outline: none !important;
}

.border-bottom-gray {
    border-bottom: 1px solid #ccc;
}

tr.k-detail-row > td {
    border-top: 0px !important;
}

    tr.k-detail-row > td.k-detail-cell > div {
        padding-bottom: 10px;
    }

ul.dropdown-menu > li.dropdown-menu-header {
    padding: 7px 10px;
    border-bottom: 1px solid #e7e7e7;
    color: #444444;
    font-size: 14px;
}

ul.dropdown-menu > li.dropdown-menu-content > ul.menu-content {
    font-size: 1.25rem;
    max-height: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;
}


    ul.dropdown-menu > li.dropdown-menu-content > ul.menu-content > li {
        list-style: none;
        padding: 0px 10px;
        padding-top: 10px;
    }

/* Large desktops and laptops */
@media (min-width: 1200px) {
    .create-modify {
        position: relative;
        width: 100%;
    }

    .create-modify-txt {
        font-weight: lighter;
        /*position: absolute;*/
        float: left;
        width: 100%;
    }
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .create-modify {
        position: relative;
        width: 100%;
    }

    .create-modify-txt {
        font-weight: lighter;
        /*position: absolute;*/
        float: left;
        width: 100%;
    }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .create-modify {
        position: relative;
        width: 100%;
    }

    .create-modify-txt {
        font-weight: lighter;
        /*position: absolute;*/
        float: left;
        width: 100%;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .create-modify {
        position: relative;
        width: 100%;
    }

    .create-modify-txt {
        font-weight: lighter;
        /*position: absolute;*/
        float: left;
        width: 100%;
    }
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
    .create-modify {
        position: relative;
        width: 100%;
    }

    .create-modify-txt {
        font-weight: lighter;
        /*position: absolute;*/
        float: left;
        width: 100%;
    }
}

.k-file-success .k-file-name {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;
}

.k-file-success .k-file-name:hover {
    text-decoration: underline;
}

.k-textbox-icon {
    width: 100%;
    border-radius: .25rem;
    border-width: 1px;
    border-style: solid;
    outline: 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4285714286;
    box-sizing: border-box;
    box-shadow: none;
    background: 0 0;
    background-color: rgba(0, 0, 0, 0);
    background-clip: border-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-align: center;
    align-items: center;
    vertical-align: middle;
    position: relative;
    -webkit-appearance: none;
    background-clip: padding-box;
    border-color: #d2d6de;
    color: #656565;
    background-color: #fff;
}

    .k-textbox-icon:not(:autofill) {
        -webkit-animation-name: autoFillEnd;
        animation-name: autoFillEnd;
    }

    .k-textbox-icon > input {
        margin: 0;
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        box-sizing: border-box;
        box-shadow: none;
        color: inherit;
        background: 0 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-appearance: none;
    }

    .k-textbox-icon.inputDisabled {
        outline: 0;
        cursor: default;
        opacity: .65;
        -webkit-filter: grayscale(.1);
        filter: grayscale(.1);
        pointer-events: none;
        box-shadow: none;
        background-color: #eee;
        opacity: 1;
    }

.k-filtercell > span .k-widget {
    font-size: 14px;
}