@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: 22px;
  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; }
.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: #203a72;
    color: #fff;
}

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

/* 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: 22px;
}
.menu-title {
	font-size: 22px;
}
	
/* hack bootstrap font-size */
.form-control {
	font-size: 22px;
}
.label {
	font-size: 22px;
}
.btn {
	font-size: 22px;
  	line-height: 1;
}
.btn-xs {
	font-size: 10px;
	padding: 3px 7px;
}
h1, .h1 {
	font-family: 'THSarabun';
	font-size: 48px;
}
h2, .h2 {
	font-family: 'THSarabun';
	font-size: 38px;
}
h3, .h3 {
	font-family: 'THSarabun';
	font-size: 32px;
}
h4, .h4 {
	font-family: 'THSarabun';
	font-size: 24px;
}
h5, .h5 {
	font-family: 'THSarabun';
	font-size: 22px;
}
h6, .h6 {
	font-family: 'THSarabun';
	font-size: 22px;
}

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

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

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

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

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

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

/*  */
.datepicker td {
	font-size: 22px;
}
.datepicker table th.datepicker-switch {
    font-size: 22px;
    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: 2px;
    margin-left: 40px;
    height: 42px;
}
.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;
}

.breadcrumbs_area {
    padding: 15px 0;
    background: #82b7e5;
    background-image: url('/bg-breadcrumbs.jpg');
    background-size: cover;
    background-position-y:25%;
}

.sticky .add-sticky {
  padding:0;
}

.main-menu > ul > li > a {
  line-height: 2.4;
  font-size: 20px;
  padding: 3px 10px;
  color:#0c499b !important;
}
.main-menu > ul > li > a:hover {
  /* border-bottom: 5px solid #0c499b; */
  color:#FFFFFF !important;
  background-color: #0c499b;
  border-radius: 10px;
}
.main-menu > ul > li > a > img {
  background-color: #FFFFFF;
  border-radius: 50%;
}
.main-menu > ul > li:last-child a {
  padding-right: 10px;
}
.link-icon { height: 24px;}

.box-right .box-dropdown li a {
  font-size: 22px;
}

.form_group .login-register {
  font-size: 22px;
}

.form_group .form-label {
  font-size: 22px;
}
  
.box-right .box-dropdown {
    width:auto;
}

.product-caption .product-name a {
  font-size: 22px;
}

.bg-custom {
  background-color: #f7aa42;
}

.block-title h1 {
  font-size: 40px;
  font-weight: 900;
  display: inline-block;
  overflow: hidden;
  padding-right: 30px
px
;
  background: #FFFFFF;
  position: relative;
  z-index: 2;
}

.block-title h6 {
  font-size: 28px;
}

.block-content h6 {
  font-size: 24px;
}

p {
  font-size: 22px;
}

.single-blog .blog-content .meta li {
  font-size: 22px;
}

.single-blog .blog-content .title {
  font-size: 24px;
}

.single-blog .blog-content .desc p {
  font-size: 22px;
}

.pagination a, .pagination span {
  margin: 0 2px;
  padding:3px 10px;
  color:#FFFFFF;
  background-color: #aaaaaa;
  border-radius: 3px;
}

.pagination em {
  font-style: normal;
  margin: 0 2px;
  padding:3px 10px;
  color:#FFFFFF;
  background-color: #82b7e5;
  border-radius: 3px;
}

.breadcrumb_content ul li a {
  font-style: normal;
  color: #FFFFFF;
  font-size: 22px;
}

.category-tabs li a {
  padding: 10px 0px;
}

.theme-tabs li a.active {
  color: #FFFFFF !important;
  background-color: #f7aa42 !important;
}

.text-custom {
  color: #f7aa42 !important;
}

.bg-custom {
  background-color: #f7aa42 !important;
}

.bg-custom2 {
  background-color: #82b7e5 !important;
}

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

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

.category-tabs li {
  background: url(../images/bg/line.png) no-repeat center right;
  width: 12.5%;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  position: relative;
}


@media (min-width: 1025px) and (max-width: 1199px) {
	.header-middle {
	  padding-top: 15px;
	  padding-bottom: 15px;
	}
}
@media (min-width: 1200px) {
	.header-middle {
	  padding-top: 5px;
	  padding-bottom: 5px;
	}
}

@media only screen and (max-width: 479px) {
  .header-middle {
      padding: 5px 0px;
  }
  .logo .img-fluid {
    height: 40px;
  }
}

.help-block {
  color: #999999;
  font-size: 18px;
  margin-top: 7px;
  margin-bottom: 7px;
}
