:root {
    --color-dark-blue: #3279b7;
    --color-dark-blue-hover: #276193;
    --color-light-blue: #5bbfde;
    --color-light-blue-hover: #4da2bc;
    --color-green: #5ab75b;
    --color-green-hover: #489349;
    --color-yellow: #efac4d;
    --color-yellow-hover: #d39843;
    --color-red: #d8534e;
    --color-red-hover: #ba4743;
    --color-dark-red: #b23a35;
    --color-dark-red-hover: #9e2f2a;
    --color-orange: #db7527;
    --color-orange-hover: #bc601a;
    --color-sea: #30ccb2;
    --color-sea-hover: #21a891;
    --color-purple: #664f89;
    --color-purple-hover: #513d70;
}

#modal_loading {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1050px;
    }
}

body {
    color: #606060;
    font-family: 'Kanit', sans-serif;
    font-size: 1.6em;
    font-weight: 300;
    background-color: #f9f9f9;
}

table {
    width: 100%;
}

tr.none-hover:hover {
    background: transparent !important;
}

tr.none-hover td {
    cursor: default !important;
}

*, *:focus, *:active {
    outline: none !important;
}

ul {
    list-style-type: none;
}

a {
    color: #606060;
}

a:hover, a:focus {
    text-decoration: none;
}

input, textarea, select {
    border-radius: 0 !important;
}

input[type="number"] {
    text-align: right;
}

strong {
    font-weight: 500;
}

.centerer {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.centered {
    display: inline-block;
    vertical-align: middle;
}

.seven-cols {
    text-align: center;
    width: 100%;
    margin: 0;
}

.seven-cols li {
    text-align: center;
    width: 14.285714285714285714285714285714%;
}

.no-padding {
    padding: 0 !important;
}

.no-padding-top {
    padding-top: 0 !important;
}

.no-padding-right {
    padding-right: 0;
}

.no-padding-bottom {
    padding-bottom: 0;
}

.no-padding-left {
    padding-left: 0;
}

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

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

.no-margin-right {
    margin-right: 0;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.no-margin-left {
    margin-left: 0;
}

.modal-margin-bottom {
    margin-bottom: 10px;
}

.navbar {
    border-radius: 0;
}

.container-background {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: -1;
}

.container-background .container {
    height: 100%;
    background-color: white;
}

.container-body {
    padding: 110px 35px;
}

.container-body.container-body-full {
    padding: 110px 20px;
}

.navbar-main {
    color: white;
    width: 100%;
    height: 40px;
    min-height: 40px;
    margin-bottom: 0;
    padding: 0 20px !important;
    z-index: 3;
    position: fixed;
}

.navbar-main li p {
    color: #ededed;
    margin-bottom: 0;
    line-height: 40px;
    position: relative;
    bottom: 1px;
}

.navbar-main li a {
    color: white;
    line-height: 40px;
    padding: 0;
    position: relative;
    bottom: 1px;
}

.navbar-main .navbar-right {
    display: inline-block;
}

.navbar-main .navbar-right li {
    float: left;
    padding-left: 20px;
    height: 40px;
}

.navbar-main .navbar-right li a:hover, .navbar-main .navbar-right li a:focus {
    background-color: transparent;
}

.navbar-main .navbar-header .navbar-brand {
    height: 40px;
    padding: 8px 0;
}

.navbar-main .navbar-header .navbar-brand img {
    height: 100%;
}

.navbar-main .logo-text {
    height: 0;
    position: relative;
    bottom: 7px;
    margin-left: 5px;
}

.navbar-center {
    font-size: 1.2em;
    line-height: 20px;
    text-align: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: absolute;
    left: 0;
    top: -5px;
}

.navbar-sub {
    background-color: #3d3d3d;
    width: 100%;
    height: 40px;
    min-height: 40px;
    margin-bottom: 0;
    padding: 0;
    -webkit-box-shadow: 0 2px 5px LightGray;
    -moz-box-shadow: 0 2px 5px LightGray;
    box-shadow: 0 2px 5px LightGray;
    position: fixed;
    top: 40px;
    z-index: 3;
}

.navbar-sub li {
    font-size: 1.2em;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    float: left;
    position: relative;
    bottom: 1px;
}

.navbar-sub li a, .navbar-sub li a:hover {
    color: white;
    display: block;
}

.navbar-sub .navbar-sub-request {
    background-color: var(--color-light-blue);
}

.navbar-sub .navbar-sub-request:hover {
    background-color: var(--color-light-blue-hover);
}

.navbar-sub .navbar-sub-po {
    background-color: var(--color-dark-blue);
}

.navbar-sub .navbar-sub-po:hover {
    background-color: var(--color-dark-blue-hover);
}

.navbar-sub .navbar-sub-product {
    background-color: var(--color-green);
}

.navbar-sub .navbar-sub-product:hover {
    background-color: var(--color-green-hover);
}

.navbar-sub .navbar-sub-category {
    background-color: var(--color-red);
}

.navbar-sub .navbar-sub-category:hover {
    background-color: var(--color-red-hover);
}

.navbar-sub .navbar-sub-supplier {
    background-color: var(--color-orange);
}

.navbar-sub .navbar-sub-supplier:hover {
    background-color: var(--color-orange-hover);
}

.navbar-sub .navbar-sub-document {
    background-color: var(--color-sea);
}

.navbar-sub .navbar-sub-document:hover {
    background-color: var(--color-sea-hover);
}

.navbar-sub .navbar-sub-user {
    background-color: var(--color-purple);
}

.navbar-sub .navbar-sub-user:hover {
    background-color: var(--color-purple-hover);
}

.form-control {
    font-size: 1em;
    height: 36px;
}

.text-bold {
    font-weight: 500;
}

.text-normal {
    font-weight: 300;
}

input[type="number"].form-control {
    padding-right: 3px;
}

.line-high-36px {
    line-height: 36px;
}

select.form-control {
    background-image: linear-gradient(45deg, transparent 50%, #606060 50%), linear-gradient(135deg, #606060 50%, transparent 50%);
    background-position: calc(100% - 15px) 1em, calc(100% - 9px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 6px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    -moz-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.row-search {
    margin-bottom: 25px;
}

.search {
    background: url(../images/search-icon.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: 15px 9px;
    padding-left: 45px;
}

.clickable-table tbody tr td {
    border-bottom: 1px solid #ddd;
}

.clickable-table .clickable.collapse-open {
    background-color: #e8e8e8;
}

.cwc-table thead tr th, .cwc-table tbody tr td {
    border: thin solid #dddddb;
}

.cwc-table thead tr {
    background-color: #e8e8e8;
}

.cwc-table thead tr th {
    font-weight: 500;
}

.cwc-table tbody tr:nth-child(odd) {
    background-color: white;
}

.cwc-table tbody tr:nth-child(even) {
    background-color: #fafbfb;
}

.cwc-table .btn-group {
    width: 100%;
}

.cwc-table .btn-group .btn:first-child {
    width: calc(100% - 26px);
    border-right: thin solid white;
}

.cwc-table .btn-group .btn:nth-child(2) {
    border-left: thin solid white;
}

.cwc-table .control, .cwc-table-po .control {
    left: calc(50% - 7.5px);
}

.cwc-table .glyphicon, .glyphicon-folder-open, .glyphicon-folder-close {
    cursor: pointer;
    color: #606060;
}

.glyphicon-folder-open, .glyphicon-folder-close {
    margin-left: 10px;
    margin-bottom: 10px;
}

.cwc-table .glyphicon:hover, .glyphicon-folder-open:hover, .glyphicon-folder-close:hover {
    color: var(--color-dark-blue);
}

.cwc-table-pointer tbody tr:hover {
    background-color: #e8e8e8;
    cursor: pointer;
}

.cwc-control .control__indicator {
    top: 5px;
}

.cwc-po-list .cwc-table-po {
    width: calc(100% - 20px);
    margin-left: 20px;
    line-height: 34px;
}

.btn {
    font-weight: 300;
}

.cwc-button {
    font-size: 1em;
    height: 36px;
    line-height: 18px;
}

a.cwc-button {
    padding-top: 9px;
}

.cwc-button .glyphicon {
    font-size: 0.5em;
    position: relative;
    top: -1px;
}

.cwc-button-margin {
    margin-left: 10px;
    margin-right: 10px;
}

.cwc-button-dark-blue {
    color: white;
    background-color: var(--color-dark-blue);
}

.cwc-button-dark-blue:hover, .cwc-button-dark-blue:focus {
    color: white;
    background-color: var(--color-dark-blue-hover);
}

.cwc-button-light-blue {
    color: white;
    background-color: var(--color-light-blue);
}

.cwc-button-light-blue:hover, .cwc-button-light-blue:focus {
    color: white;
    background-color: var(--color-light-blue-hover);
}

.cwc-button-green {
    color: white;
    background-color: var(--color-green);
}

.cwc-button-green:hover, .cwc-button-green:focus {
    color: white;
    background-color: var(--color-green-hover);
}

.cwc-button-yellow {
    color: white;
    background-color: var(--color-yellow);
}

.cwc-button-yellow:hover, .cwc-button-yellow:focus {
    color: white;
    background-color: var(--color-yellow-hover);
}

.cwc-button-red {
    color: white;
    background-color: var(--color-red);
}

.cwc-button-red:hover, .cwc-button-red:focus {
    color: white;
    background-color: var(--color-red-hover);
}

.cwc-button-dark-red {
    color: white;
    background-color: var(--color-dark-red);
}

.cwc-button-dark-red:hover, .cwc-button-dark-red:focus {
    color: white;
    background-color: var(--color-dark-red-hover);
}

.cwc-text-color-red, .cwc-text-color-red:hover, .cwc-text-color-red:focus {
    color: var(--color-red);
}

.cwc-text-color-dark-red, .cwc-text-color-dark-red:hover, .cwc-text-color-dark-red:focus {
    color: var(--color-dark-red);
}

.cwc-text-color-green, .cwc-text-color-green:hover, .cwc-text-color-green:focus {
    color: var(--color-green);
}

.cwc-text-color-yellow, .cwc-text-color-yellow:hover, .cwc-text-color-yellow:focus {
    color: var(--color-yellow);
}

.cwc-text-color-blue, .cwc-text-color-blue:hover, .cwc-text-color-blue:focus {
    color: var(--color-dark-blue);
}

.input-file span {
    margin-left: 5px;
}

.input-file input {
    display: none;
}

.document-remark {
    font-size: 0.8em;
    font-style: italic;
    margin: 15px 0 0;
}

.select-product-checkbox {
    border: 1px solid #000;
}