﻿/*Embed Khmer Unicode Font*/
@font-face {
  font-family: 'Hanuman';
  font-style: normal;
  font-weight: 400;
  src: local('Hanuman'), url('/Content/fonts/hanuman.woff') format('woff');
}

@font-face {
  font-family: 'Hanuman';
  font-style: normal;
  font-weight: 700;
  src: local('Hanuman Bold'), local('Hanuman-Bold'), url('/Content/fonts/hanuman_bold.woff') format('woff');
}

/*Apply usicode font to unicode text*/
body * {
    font-family: "Open Sans",Arial,Helvetica, 'Khmer OS Content', 'Khmer OS Battambang', 'Hanuman', Sans-Serif;
}

.fa {
    font-family: FontAwesome, 'Khmer OS Content', 'Khmer OS Battambang', 'Hanuman';
}

/*Hide language name on small screen*/
@media (max-width: 500px) {
    .flag + span {
        display: none;
    }
}

/* Kendo Grid */
.gridMultiFieldSearch {
    float: left;
    width: 220px;
    height: 15px;
    margin-bottom: 2px;
}

.k-grid .k-grid-toolbar {
    padding: 5px;
}

.k-grid .gridToolbar a{
    margin-top: 2px;
    margin-bottom: 2px;
}

.k-grid .k-grouping-header {
    padding: 5px;
}

/*
    ================Kendo Control ================
*/

/* Fix missing border butttom */
.k-dropdown-wrap, .k-numeric-wrap, .k-picker-wrap, .k-multiselect-wrap.k-floatwrap {
    height: 30px;
}

.form-group .k-widget {
    width: 100%;
    height: 32px;
}

span.k-widget.k-header.k-editor-widget {
    width: inherit;
}


.form-group .k-widget .k-textbox {
    height: 32px;
}

.form-group .k-widget .k-input {
    height: 25px;
}

.k-widget.k-upload.k-header {
    height: inherit;
}

.form-group .k-widget.k-tooltip
{
    width: initial;
    height: initial;
    font-size: smaller;
}

form span.k-tooltip
{
    position: absolute;
    display: block;
}

form .k-tooltip
{
    z-index: 900;
}

.k-multiselect .k-button {
    height: 23px;
    margin-top: 2px;
}

.k-block, .k-button, .k-textbox, .k-drag-clue, .k-touch-scrollbar, .k-window, .k-window-titleless .k-window-content, .k-window-action, .k-inline-block, .k-grid .k-filter-options, .k-grouping-header .k-group-indicator, .k-autocomplete, .k-multiselect, .k-combobox, .k-dropdown, .k-dropdown-wrap, .k-datepicker, .k-timepicker, .k-colorpicker, .k-datetimepicker, .k-notification, .k-numerictextbox, .k-picker-wrap, .k-numeric-wrap, .k-colorpicker, .k-list-container, .k-calendar-container, .k-calendar td, .k-calendar .k-link, .k-treeview .k-in, .k-editor-inline, .k-tooltip, .k-tile, .k-slider-track, .k-slider-selection, .k-upload {
    border-radius: 0;
}

.k-widget.k-numerictextbox.k-input {
    padding: 0;
}

/* Page info in grid footer */
.k-pager-info.k-label {
    width: 180px;
}

/*
    ================ Allow bootstrap grid 12 layout on kendo control ================
*/

/* reset everything to the default box model */

.kendo-container *,
.kendo-container :before,
.kendo-container :after
{
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/* set a border-box model only to elements that need it */

.kendo-container .form-control, /* if this class is applied to a Kendo UI widget, its layout may change */
.kendo-container .container,
.kendo-container .container-fluid,
.kendo-container .row,
.kendo-container .col-xs-1,
.kendo-container .col-sm-1,
.kendo-container .col-md-1,
.kendo-container .col-lg-1,
.kendo-container .col-xs-2,
.kendo-container .col-sm-2,
.kendo-container .col-md-2,
.kendo-container .col-lg-2,
.kendo-container .col-xs-3,
.kendo-container .col-sm-3,
.kendo-container .col-md-3,
.kendo-container .col-lg-3,
.kendo-container .col-xs-4,
.kendo-container .col-sm-4,
.kendo-container .col-md-4,
.kendo-container .col-lg-4,
.kendo-container .col-xs-5,
.kendo-container .col-sm-5,
.kendo-container .col-md-5,
.kendo-container .col-lg-5,
.kendo-container .col-xs-6,
.kendo-container .col-sm-6,
.kendo-container .col-md-6,
.kendo-container .col-lg-6,
.kendo-container .col-xs-7,
.kendo-container .col-sm-7,
.kendo-container .col-md-7,
.kendo-container .col-lg-7,
.kendo-container .col-xs-8,
.kendo-container .col-sm-8,
.kendo-container .col-md-8,
.kendo-container .col-lg-8,
.kendo-container .col-xs-9,
.kendo-container .col-sm-9,
.kendo-container .col-md-9,
.kendo-container .col-lg-9,
.kendo-container .col-xs-10,
.kendo-container .col-sm-10,
.kendo-container .col-md-10,
.kendo-container .col-lg-10,
.kendo-container .col-xs-11,
.kendo-container .col-sm-11,
.kendo-container .col-md-11,
.kendo-container .col-lg-11,
.kendo-container .col-xs-12,
.kendo-container .col-sm-12,
.kendo-container .col-md-12,
.kendo-container .col-lg-12
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.k-input[readonly], .k-widget.k-dropdown.k-header[aria-readonly="true"] .k-dropdown-wrap.k-state-default {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

.k-icon.k-warning {
    height: 16px;
}

.k-edit-form-container
{
    width: 100%;
    padding-bottom: 5px;
}

@media (max-width:768px) {
    .k-widget.k-window {
        width: 100%;
    }
}

/*
    ================ Kendo Notification Custom ================
*/
.k-notification
{
    border: 0;
}

/* Info template */
.k-notification-info.k-group {
    background: #cfe062;
    background: rgba(207, 224, 98, 0.65);
    color: #fff;
}

.notification.info
{
    width: 700px;
    height: 100px;
    display: table-cell;
}

    .notification.info img
    {
        float: left;
        margin: 30px 15px 0 30px;
    }

/* warning template */
.k-widget.k-notification-warning.k-group
{
    background: #fdf3ba;
    background: rgba(253, 243, 186, 0.8);
    color: #ffffff;
}

.notification.warning
{
    width: 700px;
    height: 100px;
    display: table-cell;
}

    .notification.warning img
    {
        float: left;
        margin: 30px 15px 0 30px;
    }

    .notification.warning h3, .warning
    {
        color: #d28b3e;
    }

/* Error template */
.k-widget.k-notification-error.k-group
{
    background: #ff0000;
    background: rgba(255,0,0,.7);
    color: #ffffff;
}

.notification.error
{
    width: 700px;
    height: 100px;
    display: table-cell;
}

    .notification.error img
    {
        float: left;
        margin: 30px 15px 0 30px;
    }

/* Success template */
.k-widget.k-notification-success.k-group
{
    background: #009900;
    background: rgba(0,153,0,.7);
    color: #ffffff;
}

.notification.success
{
    width: 700px;
    height: 110px;
}

    .notification.success img
    {
        float: left;
        margin: 10px 15px 0 30px;
    }

.notification p
{
    margin: 10px 10px 10px 30px;
}

.notification h3
{
    font-size: 20px;
    padding: 12px 0 5px;
}

/* This div will cover the entire screen: 100% width and height, starting at 0, 0. 
/* When visible, it's sort of grey (#eee), sort of transparent. But initially it's invisible
so you can see the main text. */
#modalMask
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

/* Form */
.form-group {
    clear: both;
}

.form-fieldset {
    margin: -13px;
}

.form-fieldset legend {
    padding: 13px;
}

.form-field-container {
    padding: 0;
}

.select2 {
    width: 100%;
}

.required-sign {
    padding-left: 5px;
    color: red;
}

.breadcrumb .fa {
    padding-right: 10px;
}

.formContainer {
    
}

.hit {
    
}

.ReportContainer {
    
}

.ReportHeaderContainer {
    
}

.ReportBodyContainer {
    
}

.header-search>input[type=text] {
    line-height: 2;
    /*min-width: 260px;*/
}

#reportContent {
    padding-bottom: 10pt;
}

#main {
    /* Set min height to 100% height of screen height. 'vh' stands as vertical height of the browser window. Responsive to resizing of brower and mobile devices. */
    /* calc(..): calculate value for css */
    min-height: calc(100vh - 49px);
}


/* =============Glass Skin============== */

/* Kendo Combobox */
.smart-style-5 .k-combobox {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
}

.smart-style-5 .k-combobox .k-dropdown-wrap {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
    border-color: #ffffff;
    border-color: rgba(255,255,255,.4);
}

.smart-style-5 .k-combobox .k-dropdown-wrap input {
    background: #ffffff;
    background: rgba(255,255,255,.2);
    color: white;
}

/* Kendo DropdownList */
.smart-style-5 .k-dropdown {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
}

.smart-style-5 .k-dropdown .k-dropdown-wrap {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
    border-color: #ffffff;
    border-color: rgba(255,255,255,.4);
}

.smart-style-5 .k-dropdown .k-dropdown-wrap .k-input {
    background: transparent;
    color: white;
}

/* Kendo Numeric TextBox */
.smart-style-5 .k-numerictextbox {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
}

.smart-style-5 .k-numerictextbox .k-numeric-wrap {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
    border-color: #ffffff;
    border-color: rgba(255,255,255,.4);
}

.smart-style-5 .k-numerictextbox .k-numeric-wrap input {
    background: #ffffff;
    background: rgba(255,255,255,.2);
    color: white;
}

/* Kendo Date Picker */
.smart-style-5 .k-datepicker {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
}

.smart-style-5 .k-datepicker .k-picker-wrap {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
    border-color: #ffffff;
    border-color: rgba(255,255,255,.4);
}

.smart-style-5 .k-datepicker .k-picker-wrap input {
    background: #ffffff;
    background: rgba(255,255,255,.2);
    color: white;
}

/* Kendo MultiSelect */
.smart-style-5 .k-multiselect {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
}

.smart-style-5 .k-multiselect .k-multiselect-wrap {
    background: #ffffff;
    background: rgba(255, 255, 255, 0);
    border-color: #ffffff;
    border-color: rgba(255,255,255,.4);
}

.smart-style-5 .k-multiselect .k-multiselect-wrap input {
    background: #ffffff;
    background: rgba(255,255,255,.2);
    color: white;
}



/* Kendo Button Upload */
.smart-style-5 .k-button.k-upload-button {
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.16);
    color: white;
}

/* Kendo Popup */
.smart-style-5 .k-widget.k-window {
    border: none;
    border-radius: 6px;
}

.smart-style-5 .k-window-titlebar {
    background: url(/assets/img/glass.jpg) no-repeat 0 0;
    color: white;
}

.smart-style-5 .k-popup-edit-form.k-window-content {
    background: url(/assets/img/glass.jpg) no-repeat 0 0;
    color: white;
}

.smart-style-5 .k-edit-form-container .k-edit-buttons .k-button{
    background-color: transparent;
    padding: 0.7em;
}


/* Kendo Popup */
.smart-style-5 .k-grid {
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.12);
    color: white;
}

.smart-style-5 .k-grid .k-alt {
    background-color: #b0b0b0;
    background-color: rgba(176, 176, 176, 0.34);
    color: white;
}

.smart-style-5 .k-grid .k-alt.k-state-selected {
    background-color: #428bca;
    border-color: #428bca;
}

.smart-style-5 .k-grid .k-grid-toolbar {
    background-color: transparent;
}

.smart-style-5 .k-grid .k-grouping-header {
    background-color: transparent;
    color: white;
}

.smart-style-5 .k-grid .k-grid-header {
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.2);
}

.smart-style-5 .k-grid .k-grid-header .k-header{
    background-color: transparent;
    color: white;
}

.smart-style-5 .k-grid .k-grid-header .k-link {
    color: white;
}

.smart-style-5 .k-grid .k-grid-content input {
    background-color: #b0b0b0 !important;
    background-color: rgba(176, 176, 176, 0.34) !important;
    color: white !important;
}

.smart-style-5 .k-grid .k-grid-content input.readonly {
    background-color: #515151 !important;
    background-color: rgba(81, 81, 81, 0.23) !important;
}


.smart-style-5 .k-grid .k-grid-pager {
    background-color: transparent;
    color: white;
}

.smart-style-5 .k-grid .k-grid-pager a {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.36);
    color: white;
}

.smart-style-5 .k-grid .k-pager-refresh {
    background-color: transparent;
}

.smart-style-5 .form-actions .k-button {
    background-color: transparent;
    color: white;
}

/* Disable for Column Menu */
.smart-style-5 .k-column-menu .k-dropdown .k-dropdown-wrap {
    border-color: #adadad;
}

.smart-style-5 .k-column-menu .k-dropdown .k-dropdown-wrap .k-input {
    color: black;
}


/* Report Table */
.smart-style-5 .ReportBodyContainer th {
    background-color: #000000 !important;
    background-color: rgba(0, 0, 0, 0.24) !important;
    color: white !important;
}

.smart-style-5 .ReportBodyContainer td {
    background-color: #000000 !important;
    background-color: rgba(0, 0, 0, 0.23) !important;
    color: white !important;
}

.smart-style-5 .k-treeview span{
    color: white;
}

.smart-style-5 .chart * {
    color: white;
}


/* =============END Glass Skin============== */


.k-button.k-upload-button {
    height: 32px;
}

br.k-br {
    display: none;
}

#wait.k-loading-image {
    position: fixed;
}

body.smart-style-6 #logo-group>span#logo:before {
    content: "AIS TECHNOLOGY";
}