@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);

@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: 'THSarabun';
	font-size: 18px;
  	line-height: 1.2;
}

.text-top { vertical-align: top !important; }

.input-group-addon { font-size: 18px; }
.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; }

.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: #f79321;
    color: #fff;
}

/* hack core font-size */
.page-title {
	font-size: 22px;
}
.header-title {
	font-size: 22px;
}
.panel-title {
	font-size: 20px;
}

/* hack menu font-size */
.app-search .form-control, .app-search .form-control:focus {
	font-size: 18px;
}
.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: 20px;
}
.menu-title {
	font-size: 20px;
}
	
/* hack bootstrap font-size */
.form-control {
	font-size: 20px;
}
.label {
	font-size: 15px;
}
.btn {
	font-size: 18px;
  	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: 20px;
}
h6, .h6 {
	font-size: 18px;
}

.text-size-large {
  font-size: 20px;
}
.text-size-base {
  font-size: 18px;
}
.text-size-small {
  font-size: 16px;
}
.text-size-mini {
  font-size: 14px;
}

/* hack chosen font-size */
.chosen-container-single .chosen-single {
	font-size: 20px;
	padding: 5px 10px;
}

.chosen-container {
	font-size: 18px;
}

.chosen-container-single .chosen-single {
	font-size: 18px;
}

.chosen-container-single .chosen-search input[type="text"] {
	font-size: 20px;
}

.chosen-disabled .chosen-single {
    background-color: #fafafa;
    border: 1px solid #ddd;
    color: #333333;
    cursor: not-allowed;
}

/*  */
.datepicker td {
	font-size: 18px;
}
.datepicker table th.datepicker-switch {
    font-size: 18px;
    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;
}

.sidebar { background-color:#1867b2 !important; }


.required abbr { color:#ff0000 !important; }
