@font-face {
  font-family: 'OpenSansLight';
  src: url('/css/fonts/OpenSans-Light-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSansRegular';
  src: url('/css/fonts/OpenSans-Regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSansSemibold';
  src: url('/css/fonts/OpenSans-Semibold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSansBold';
  src: url('/css/fonts/OpenSans-Bold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'THSarabun';
  font-style: normal;
  font-weight: normal;
  src: local('THSarabun Font') ,
	url('/css/fonts/THSarabun.woff') format('woff'),
	url('/css/fonts/THSarabun.ttf') format('ttf'),
     url('/css/fonts/THSarabun.eot') format('eot');
  
  
}


body {
	font-size: 13px;
	
}

a:hover {
  text-decoration: none;
}

background-white {
  background: white;
}

img:hover {
opacity: 0.8;
transition: 0.5s;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.align-left {
  text-align: left;
}

.display-none {
  display: none;
}

.display-block {
  display: block;
}

figure {
	/* text-align: center; */
}

figure img {
	background: white;
	border: 1px solid #999;
	display: block;
	margin: 0px auto 0.75em;
	padding: 6px;
}

figure figcaption {
	font: italic normal normal 13px/18px Cambria, Georgia, 'Times New Roman', Times, serif;
	margin: 0.75em auto;
	text-align: center;
	width: 70%;
	display: block;
}

@media (max-width: 767px) { #site-footer { margin-left: -20px; margin-right: -20px; padding-left: 20px !important; padding-right: 20px !important; } }

h1.dashboard-header {
  color: #00AFDB;
  font-family: "OpenSansLight";
  font-size: 24px;
  font-weight: lighter;
}

.row-divider {
	margin: 1.5em 0 3em;
	border: none;
	border-bottom: 1px dotted #CCC;
}

.with-border {
	border: 1px solid #CDCDCD;
}

ul.icons {
	margin: 0 0 10px 5px;
	list-style-type: none;
	margin-left: 2em;
	text-indent: -0.8em;
}

.icon-new-dashboard {
  background-image: url("/img/icons/glyphicons_331_dashboard.png");
}

#index-quote {
	text-align: center;
	color: #606060;	
}

.action-table .td-actions .btn {
	margin-right: .5em;
}
.action-table .btn-small {
	padding: 2px 2px 2px;
	font-size: 10px;
}

.btn-in-header {
	margin: 0.4em 1.2em 0em 0em;
}

#dmky-logo-admin {
	margin-top: -0.4em;
}

#header-logo {
	width: 128px;
	height: 106px;
	margin: 1.5em auto;
}

.form-search .input-append {
	margin-top: -1px;
}

.navbar {
	color: #737373;
}

.navbar .btn {
 	margin: 5px 0px 6px
}

.navbar i {
	padding-top: -3px;
}

.form-search .input-append input {
	margin-top: 5px;
}

#index-banner-carousel .carousel-control {
	top: 45%;
	line-height: 25px;
	font-size: 2em;
}

#index-banner-carousel .carousel-control i {
	margin-top: 0.3em;
	margin-left: -0.1em;	
}

#index-banner-carousel .carousel-control.right i {
	margin-right: -0.2em;
}

.navbar-inner {
	background: url(/img/header/line_divider.png) bottom repeat-x;
	padding-bottom: 0px;
	color: #737373;
	border-radius: 0px;
	box-shadow: none;
	padding-left: 0px;
	padding-right: 0px;
	border: none;
	/*
	background-color: white;
	border-top: none;
	border-left: none;
	border-right: none;*/
}

.navbar .nav > li > a {
  float: none;
  padding: 12px 10px 11px;
  line-height: 14px;
  color: rgb(0, 175, 219);
  text-decoration: none;
  text-shadow: none;
}

.navbar .nav > li > a:hover {
	color: orange;
	padding: 12px 10px 11px;
	border-bottom: #F90 1px solid;
	border-radius: 0px;
}

.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > li.dropdown.open.active > a:hover {
  color: orange;
  padding: 12px 10px 11px;
  background-color: #F4F4F4;
  border-color: orange;
}

.navbar .nav .active > a, .navbar .nav .active > a:hover {
	background-color: #F4F4F4;
	border-radius: 0px;
	background-image: -o-linear-gradient(top, #F4F4F4, #F0F0F0);
	border-bottom-color: #F90!important;
	/*color: #737373;*/
	color: orange;
	border-bottom: #F90 1px solid;
}

.nav-pills li {
	height: 20px;
}

.nav-pills > li > a {
  margin-top: 0px;
}

.navbar .nav li.dropdown .dropdown-toggle .caret, .navbar .nav li.dropdown.open .caret {
  border-bottom-color: #0088CC;
  border-top-color: #0088CC;
  opacity: 0.3;
}

footer#site-footer {
	border-top: 2px #C0C0C0 solid;
	background: url(/img/footer/bg_premium.jpg) repeat;
	padding: 2em 0px;
	color: #606060;
	margin: 0px;
}

#footer-address {
	line-height: 200%;
	font-size: 0.9em;
}

.footer-list h4 {
	font-size: 1.6em;
	color: #C0C0C0;
	margin-bottom: 1em;
}

.widget {
	position: relative;
	clear: both;
	width: auto;
	margin-bottom: 2em;
	overflow: hidden;
}
	
.widget-header {
	position: relative;
	height: 40px;
	line-height: 40px;
	background: #E9E9E9;
	background:-moz-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); /* FF3.6+ */
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#FAFAFA), color-stop(100%,#E9E9E9)); /* Chrome,Safari4+ */
	background:-webkit-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* Chrome10+,Safari5.1+ */
	background:-o-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* Opera11.10+ */
	background:-ms-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* IE10+ */
	background:linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
	border: 1px solid #D5D5D5;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	-webkit-background-clip: padding-box;
}	
	
.widget-header h3 {	
	position: relative;
	top: 2px;
	left: 10px;	
	display: inline-block;
	margin-right: 3em;
	font-size: 14px;
	/*font-weight: 800;*/
	color: #555;
	line-height: 18px;
	/*text-shadow: 1px 1px 2px rgba(255,255,255,.5);*/
}
	
.widget-header [class^="icon-"], .widget-header [class*=" icon-"] {		
	display: inline-block;
	margin-left: 13px;
	margin-right: -2px;
	font-size: 16px;
	vertical-align: middle;
	color: #555;
}

.widget-content {
	padding: 20px 15px 15px;	
	background: #FFF;	
	border: 1px solid #D5D5D5;	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.widget-header+.widget-content {
	border-top: none;
	-webkit-border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-topright: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.widget-nopad .widget-content {
	padding: 0;
}

/* Widget Content Clearfix */	
.widget-content:before,
.widget-content:after {
	content:"";
  display:table;
}

.widget-content:after {
	clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.widget-content {
	zoom:1;
}

/* Widget Table */
.widget-table .widget-content {
	padding: 0;
}

.widget-table .table {
	margin-bottom: 0;
	
	border: none;
}

.widget-table .table tr td:first-child {
	border-left: none;
}

.widget-table .table tr th:first-child {
	border-left: none;
}


/* Widget Plain */

.widget-plain {
	
	background: transparent;
	
	border: none;
}

.widget-plain .widget-content {
	padding: 0;
	
	background: transparent;
	
	border: none;
}


/* Widget Box */

.widget-box {	
	
}


.widget2-box {
	background: none repeat scroll 0 0 #F9F9F9;
  border: 1px solid #CDCDCD;
  clear: both;
  margin-bottom: 16px;
  overflow: hidden !important;
  position: relative;
}

.widget2-title {
  background-color: #EFEFEF;
  background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#FDFDFD), to(#EAEAEA));
	background-image: -webkit-linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
	background-image: -ms-linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
	background-image: -o-linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
	background-image: -linear-gradient(top, #FDFDFD 0%, #EAEAEA 100%);
  background-image: -moz-linear-gradient(center top , #FDFDFD 0%, #EAEAEA 100%);
  border-bottom: 1px solid #CDCDCD;
  height: 36px;
}

.widget2-title span.icon {
  border-right: 1px solid #CDCDCD;
  float: left;
  opacity: 0.7;
  padding: 8px 10px 7px 11px;
}

.widget2-title .label {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #FFFFFF;
  float: right;
  margin: 8px 15px 0 0;
  padding: 3px 5px 2px;
}

.widget2-title h5 {
  color: #666666;
  float: left;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 12px 7px;
  margin-top: 0px;
  margin-bottom: 0px;
  text-shadow: 0 1px 0 #FFFFFF;
  clear:none;
}

.widget2-list {
  margin: 0;
  padding: 0;
}

.label-info, .badge-info {
	background-color: #3A87AD;
}

.label {
  border-radius: 3px 3px 3px 3px;
  padding: 1px 4px 2px;
}

.label, .badge {
  /* background-color: #999999;
  color: #FFFFFF;  */
  font-size: 10.998px;
  font-weight: bold;
  line-height: 14px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  vertical-align: baseline;
  white-space: nowrap;
}

.nopadding {
  padding: 0 !important;
}

.widget-box .widget-content {	
	background: #E3E3E3;	
	background: #FFF;
}

.shortcuts {
	text-align: center;	
}

.shortcuts .shortcut { 
	width: 22.50%;
	display: inline-block;
	padding: 12px 0;
	margin: 0 .9% 1em;
	vertical-align: top;	
	
	text-decoration: none;
	
	background: #F3F3F3;
	
	border-radius: 5px;
}

.shortcuts .shortcut .shortcut-icon {
	margin-top: .25em;
	margin-bottom: .25em;
	
	font-size: 32px;
	color: #888;
}

.shortcuts .shortcut:hover {
	background: #E8E8E8;
}

.shortcuts .shortcut:hover .shortcut-icon {
	color: #666;
}

.shortcuts .shortcut-label {
	display: block;
	
	font-weight: 400;
	color: #666;
}

/* For the Error 404 Page */
.error-container {
	margin-top: 4em;
	margin-bottom: 4em;
	text-align: center;
}

.error-container h1 {
	margin-bottom: .5em;
	font-size: 120px;
	line-height: 1em;
}

.error-container h2 {
	margin-bottom: .75em;
	font-size: 28px;
}

.error-container .error-details {
	margin-bottom: 1.5em;
	font-size: 16px;
}

/* Sidebar */
.sideBar {
	overflow-x: hidden;
  overflow-y: auto;
  /* padding-top: 20px; */
}

.sideBar{
  overflow-x:hidden;
  overflow-y:auto;
  padding-top:20px;
}
.sideBar ul{
  list-style:none;
  margin:0;
}
.sideBar ul > li{
  font-family:"OpenSansLight";
  color:#444;
  cursor:pointer;
  font-size: 1em;
  margin-bottom:2px;
}
.sideBar ul >li figure{
  padding:6px 14px 6px 14px;
  margin:0;
}
.sideBar ul > li figure:hover{
  background-color:rgba(0,0,0,0.03);
}

.sideBar ul > li.active {
  border: 1px solid #E0E0E0;
}

.sideBar ul > li.active figure:first-child{
  color:rgba(0,175,219,1);
  background-color:rgba(0,0,0,0.01);
}

.sideBar ul > li a:hover {
  text-decoration: none;
}

.sideBar ul > li  i{
  display:inline-block;
}
.sideBar ul > li  .menuText{
  display:inline-block;
}

.sideBar ul.subSide{
  padding:5px 0px 5px 0px;
  display:none;
}
.sideBar ul.subSide li{
  font-size:15px;
  line-height:17px;
  margin-bottom:5px;
  padding:4px 10px 5px 14px;
  margin-left:10px;
}
.sideBar ul.subSide li:hover{
  background-color:rgba(0,175,219,0.1);
}

/* Custom Font for Japanese */
@font-face {
	font-family: mplus;
	src: url(/css/fonts/japanese/mplus-1p-bold.ttf) format("truetype");
}

/* Custom Font for Japanese */
@font-face {
	font-family: Makiba;
	src: url(/css/fonts/japanese/MakibaFont13.ttf) format("truetype");
}

.jap-font-1 {
	font-family: "Makiba", serif !important;
}

.jap-font-2 {
	font-family: "mplus", serif !important;
	font-weight: normal;
	font-size: 1.2em;
}

.jap-font-3 {
	font-family: sans-serif;
	font-weight: normal;
	font-size: 1.2em;
}

/********************************************************************************/
/* Admin Commands
/********************************************************************************/
.icon-admin-commands {
  font-size: 1.45em;
}

/* Center Page */
.center-row h3 { font-size: 1.2em; }

/* Content Page */
#content-main { font-size: 1.1em; }
#content-main .widget2-box { background: white; margin-bottom: 0px; } 
#content-main .widget2-content { background: white; margin: 2.5em;  }
#content-right .widget2-content ul { margin-top: 1em; }
#tweet-button, #tumblr-button, #facebook-botton { margin-top: 0.6em; margin-right: 0.7em; }
#tweet-button { margin-right: -1.5em; }

/********************************************************************************/
/* Category Page
/********************************************************************************/


/********************************************************************************/
/* jQuery Alert
/********************************************************************************/
#popup_container {
	font-family: Arial, sans-serif;
	font-size: 12px;
	min-width: 300px; /* Dialog will be no smaller than this */
	max-width: 600px; /* Dialog will wrap after this width */
	background: #FFF;
	border: solid 5px #999;
	color: #000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#popup_title {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	line-height: 1.75em;
	color: #666;
	background: #CCC url(/img/jAlert/title.gif) top repeat-x;
	border: solid 1px #FFF;
	border-bottom: solid 1px #999;
	cursor: default;
	padding: 0em;
	margin: 0em;
}

#popup_content {
	background: 16px 16px no-repeat url(/img/jAlert/info.gif);
	padding: 1em 1.75em;
	margin: 0em;
}

#popup_content.alert {
	background-image: url(/img/jAlert/info.gif);
}

#popup_content.confirm {
	background-image: url(/img/jAlert/important.gif);
}

#popup_content.prompt {
	background-image: url(/img/jAlert/help.gif);
}

#popup_message {
	padding-left: 48px;
}

#popup_panel {
	text-align: center;
	margin: 1em 0em 0em 1em;
}

#popup_prompt {
	margin: .5em 0em;
}

/********************************************************************************/
/* Colorbox
/********************************************************************************/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box;}

/********************************************************************************/
/* Colorbox User's Style
/********************************************************************************/
#cboxOverlay{background:#fff;}
#colorbox{}
    #cboxContent{margin-top:32px; overflow:visible;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:#000; padding:1px;}
        #cboxLoadingGraphic{background:url(/img/colorbox/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
        #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(/img/colorbox/controls.png) no-repeat 0 0;}
        #cboxPrevious{background-position:0px 0px; right:44px;}
        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext{background-position:-25px 0px; right:22px;}
        #cboxNext:hover{background-position:-25px -25px;}
        #cboxClose{background-position:-50px 0px; right:0;}
        #cboxClose:hover{background-position:-50px -25px;}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
