body, html {
  height: 100%;
  background-color:#F7F7F7;
}
body, button, h1, h2, h3, h4, h5, h6 {
  font-family: 'Maledpan', 'THSarabunNew', sans-serif !important;
}
table, .bs-callout li, .dropdown-menu-custom, #navbar-top, #footer {
    font-family: 'Roboto', 'Maledpan', 'THSarabunNew', sans-serif !important;
    font-size: 0.95rem;
}
input, textarea, select, select>option, .speech-bubble, .panel-log p {
    font-family: 'CSPraJad', 'Maledpan', 'THSarabunNew', sans-serif !important;
    font-weight: bold;
}
button > i {
    padding-right: 7px;
}
#navbar-top {
  background-color: #B80000;
  height: 50px;
}
#content {
  margin-left: 240px !important;
  padding: 0 0 0 0;
  background-color: #f7f7f7;
  margin-left: 0;
  transition: margin 0.2s cubic-bezier(.4,0,.2,1);
}
#logo {
  text-align: center;
  color: #fff;
}
#footer {
  margin-left: 240px !important;
  text-align: center;
  color: #666;
  font-size: 0.8rem;
}
.dropdown-menu-custom {
  border: 0;
  border-radius: 0px !important;
  margin-top: 5px;
  background: #fff;
  color: #666;
  box-shadow: 0 5px 12px rgba(0,0,0,.15);
}
.dropdown-menu-custom a {
  color: #999;
}
.dropdown-menu-custom a:hover {
  color: #666;
}
.breadcrumb-custom {
  background: none;
  margin-bottom: 0px;
}
.breadcrumb-item+.breadcrumb-item::before {
  display: inline-block;
  padding-right: .5rem;
  color: rgba(255,255,255,.9);
  content:"/";
}
.breadcrumb-custom a {
  color: rgba(255,255,255,.7);
}
.breadcrumb-custom a:hover, .breadcrumb-custom .active {
  color: rgba(255,255,255,.9);
  text-decoration: none;
}

/* Sidebar */
#sidebar {
  background-color: #222A30;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  width: 240px;
  z-index: 2;
  transition: height 0.3s ease-out;
}
#sidebar-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 15px 0;
  background-color: #222A30;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 3;
  bottom: 0;
  width: 240px;
  color: #fff;
  text-align: center;
}
#sidebar-bottom li {
  padding: 0 7px 0 7px;
}
#sidebar-bottom a {
  color: #999;
}
.sidebar-list a {
  color: #999;
  padding-left: 30px;
  border-left: 2px solid transparent;
  transition: all 0.15s ease-out;
}
.sidebar-list a:hover {
  color: #fff;
  border-left: 5px solid #B80000;
}
.sidebar-list .sidebar-item i {
  padding-right: 0.9rem;
}
.sidebar-list .sidebar-sub-item {
  padding-left: 3.7rem;
}
.sidebar-list .sidebar-item:hover,
.sidebar-list .sidebar-sub-item:hover {
  background-color: #1B242E;
}
.sidebar-item-title > a:before {
  float: right !important;
  font-family: FontAwesome;
  content:"\f107";
  padding-right: 5px;
}
.sidebar-item-title > a.collapsed:before {
  float: right !important;
  content:"\f104";
}
.sidebar-item-title > a:hover,
.sidebar-item-title > a:active,
.sidebar-item-title > a:focus {
  text-decoration:none;
}

/* Additional Button Colors */
.btn-blue {
  color: #fff;
  background-color: #355C7D;
  border-color: #355C7D;
}
.btn-blue:hover {
  color: #fff;
  background-color: #2D4F6B;
  border-color: #2D4F6B;
}
.btn-green {
  color: #fff;
  background-color: #5BC0A4;
  border-color: #5BC0A4;
}
.btn-green:hover {
  color: #fff;
  background-color: #4BC8A2;
  border-color: #4BC8A2;
}
.btn-red {
  color: #fff;
  background-color: #BF5E5C;
  border-color: #BF5E5C;
}
.btn-red:hover {
  color: #fff;
  background-color: #D31D29;
  border-color: #D31D29;
}

/* Additional background Colors */
.bg-blue {
  background-color: #355C7D !important;
}
.bg-green {
  background-color: #5BC0A4 !important;
}
.bg-red {
  background-color: #BF5E5C !important;
}
.bg-oldrose {
  background-color: #E5C6BE !important;
}
.bg-orange {
  background-color: #F1A668 !important;
}

/* Speech Bubble for alert messages */
.page-header {
  position: relative;
  
}
.speech-bubble {
  position: absolute;
  right: 0;
  z-index: 1;
  width: 50%;
  padding: 14px;
  border-left-width: 5px;
  border-radius: 3px;
  box-shadow: 2px 2px 2px #7b8389;
  background-color: #222A30;
  color: #fff;
}
.speech-bubble:after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 27px solid transparent;
  border-right: 0;
  border-bottom: 0;
  margin-top: -13.5px;
  margin-right: -27px;
  border-left-color: #222A30;
}
.speech-bubble-red {
  background-color: #D31D29;
  color: #fff;
}
.speech-bubble-red:after {
  border-left-color: #D31D29;
}

/* Panel */
.panel-default {
  background-color: #fff;
  color: #666;
  box-shadow: none;
}
.panel-default:hover {
  background-color: #fff;
  color: #666;
  box-shadow: 0 8px 15px rgba(0,0,0,.08);
  -webkit-transition: box-shadow 0.55s cubic-bezier(.4,0,.2,1);
  transition: box-shadow 0.55s cubic-bezier(.4,0,.2,1);
}
.panel-default .panel-header {
  color: #333;
  border-bottom: 1px solid #e5e5e5;
  padding: 13px 20px;
}
.panel-default .panel-footer {
  color: #333;
  border-top: 1px solid #e5e5e5;
  padding: 13px 20px;
}
.panel-default .panel-body {
  padding: 20px 20px;
}

/* Callout */
.bs-callout {
  padding: 20px;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
  background: #fff;
}
.bs-callout:hover {
  box-shadow: 0 8px 15px rgba(0,0,0,.08);
  -webkit-transition: box-shadow 0.55s cubic-bezier(.4,0,.2,1);
  transition: box-shadow 0.55s cubic-bezier(.4,0,.2,1);
}
.bs-callout h3, .bs-callout h2 {
  margin-top: 0;
  margin-bottom: 5px;
  font-family: 'Roboto', 'Maledpan', 'THSarabunNew', sans-serif !important;
}
.bs-callout a {
  color: #666;
  font-size: 0.9rem;
}
.bs-callout a:hover {
  color: #000;
  text-decoration: none;
}
.bs-callout-red {
  border-left-color: #BF5E5C;
}
.bs-callout-red h3, .bs-callout-red h2 {
  color: #BF5E5C;
}
.bs-callout-green {
  border-left-color: #5BC0A4;
}
.bs-callout-green h3, .bs-callout-green h2 {
  color: #5BC0A4;
}

/* Avatar */
.avatar {
  position: relative;
}
.avatar img {
  border-radius: 35px;
  width: 70px;
  height: 70px;
}
.avatar-badge {
  position: absolute;
  bottom: -2px;
  right: 80px;
  z-index: 1;
  color: #000;
  background-color: #F7F7F7;
  border-radius: 10px;
  width: 18px;
  height: 18px;
  padding-left: 0px;
  padding-top: 2px;
  font-size: 0.6rem;
}
