@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500,700);
@import url(https://fonts.googleapis.com/css?family=Karla:400,700);
@import url(https://fonts.googleapis.com/css?family=Rancho);

@import url(https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

@font-face {
	font-family: 'THNiramit';
    src: url('/fonts/web/THNiramitAS.eot'); /* IE9 Compatibility Modes */
    src: url('/fonts/web/THNiramitAS.eot?') format('eot'),  /* IE6-IE8 */
    url('/fonts/web/THNiramitAS.woff') format('woff'), /* Modern Browsers */
    url('/fonts/web/THNiramitAS.ttf')  format('truetype'), /* Safari, Android, iOS */
	url('/fonts/web/THNiramitAS.svg#svg/fonts/web/THNiramitAS') format('svg'); /* Legacy iOS */
}
@font-face {
	font-family: 'THSarabun';
    src: url('/fonts/web/THSarabun.eot'); /* IE9 Compatibility Modes */
    src: url('/fonts/web/THSarabun.eot?') format('eot'),  /* IE6-IE8 */
    url('/fonts/web/THSarabun.woff') format('woff'), /* Modern Browsers */
    url('/fonts/web/THSarabun.ttf')  format('truetype'), /* Safari, Android, iOS */
	url('/fonts/web/THSarabun.svg#svg/fonts/web/THSarabun') format('svg'); /* Legacy iOS */
}

body {
	font-family: 'Kanit';
	font-size: 15px;
  	line-height: 1.5;
    background-color: #f5f5f5;
}

.text-top { vertical-align: top !important; }

.input-group-addon { font-size: 15px; background-color:#aa2f34; color:#FFFFFF; }
.input-group-addon-label { text-align:right; padding-left:5px; padding-right:5px; }
.input-group-addon-hint { text-align:left; padding-left:5px; padding-right:5px; font-size:smaller; }
.has-error .input-group-addon {
    color:#fff;
}
.bg-color-input-group { background-color:#0e0e0e; color:#FFFFFF; }
.has-error .input-group-addon { background-color: #d84315; color:#FFFFFF; }

.translation_missing { color:#ff0000; }

.form-string { padding-left:12px; padding-top:7px; font-size:20px; }

.input-group .fileupload { margin-bottom:0px; border:1px solid #ddd; }
.input-group .fileupload .btn-file { border-left:1px solid #ddd; border-top:0px; border-right:0px; border-bottom:0px; height:35px; }
.input-group .fileupload.disabled { background-color: #fafafa; }

.chosen-container-single .chosen-single {
  	line-height: 1.2;
}

.bg-default { background-color:#eeeeee; }

/* hack bootrap nav color */
.navbar-default .navbar-nav > li > a {
    color: #fff;
}

/* hack component menu active color */
.navigation > li.active > a, .navigation > li.active > a:hover, .navigation > li.active > a:focus {
    background-color: #aa2f34;
    color: #fff;
}

/* hack core font-size */
.page-title {
	font-size: 22px;
}
.header-title {
	font-size: 22px;
}
.panel-title {
	font-size: 15px;
}

/* hack menu font-size */
.app-search .form-control, .app-search .form-control:focus {
	font-size: 15px;
}
.user-list .user-list-item .user-desc span.desc {
	font-size: 16px;
}
.user-list .user-list-item .user-desc span.time {
	font-size: 16px;
}
.right-bar h4 {
	font-size: 15px;
}
.menu-title {
	font-size: 15px;
}
	
/* hack bootstrap font-size */
.form-control {
	font-size: 15px;
}
.label {
	font-size: 15px;
}
.btn {
	font-size: 15px;
  	line-height: 1;
}
.btn-xs {
	font-size: 10px;
	padding: 3px 7px;
}
h1, .h1 {
	font-size: 48px;
}
h2, .h2 {
	font-size: 38px;
}
h3, .h3 {
	font-size: 32px;
}
h4, .h4 {
	font-size: 24px;
}
h5, .h5 {
	font-size: 15px;
}
h6, .h6 {
	font-size: 15px;
}

.text-size-large {
  font-size: 15px;
}
.text-size-base {
  font-size: 15px;
}
.text-size-small {
  font-size: 16px;
}
.text-size-mini {
  font-size: 14px;
}

/* hack chosen font-size */
.chosen-container-single .chosen-single {
	font-size: 15px;
	padding: 5px 10px;
}

.chosen-container {
	font-size: 15px;
}

.chosen-container-single .chosen-single {
	font-size: 15px;
}

.chosen-container-single .chosen-search input[type="text"] {
	font-size: 15px;
}

.chosen-disabled .chosen-single {
    background-color: #fafafa;
    border: 1px solid #ddd;
    color: #333333;
    cursor: not-allowed;
}

/*  */
.datepicker td {
	font-size: 15px;
}
.datepicker table th.datepicker-switch {
    font-size: 15px;
    font-weight: 400;
}
.datepicker-months .month { padding:5px; line-height:35px; height:35px; }
.datepicker-years .year { padding:5px; line-height:35px; height:35px; }

/* For Firefox */
input[type='number'] {
    -moz-appearance:textfield;
}

/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



.navbar-brand {
    float: left;
    font-size: 14px;
    line-height: 46px;
    height: 46px;
}
.navbar-brand > img {
    margin-top: 3px;
    margin-left: 30px;
    height: 40px;
}
.sidebar-xs .header-highlight .navbar-header .navbar-brand {
    padding-left: 0;
    padding-right: 0;
    background: url(/icon.png) no-repeat center center;
        background-size: auto;
    background-size: auto 42px;
    float: none;
    display: block;
}



.nav-tabs-vertical > .nav-tabs {
    width: auto !important;
}


.tokenfield .token-input {
    font-size: 15px;
}

.tokenfield .token .token-label {
    font-size: 15px;
}


.wizard > .steps > ul > li.done .number {
    font-size: 0px;
    background-color: #27ae60;
    color: #FFFFFF;
    border-color: #27ae60;
}

.wizard > .steps > ul > li.current .number {
    font-size: 0;
    border-color: #f1c407;
    background-color: #ffffff;
    color: #f1c407;
}

.sidebar {
    background-color: #FFFFFF;
    color: #000;
}
.navigation li a {
    color: #000;
}
.sidebar:not(.sidebar-default) .media .text-muted, 
.sidebar:not(.sidebar-default) .media .media-annotation {
    color: #000;
}