body {
  margin: 0;
  padding: 0;
  color: #555;
  font: normal 17px "Kanit", Verdana, Arial, Helvetica, sans-serif;
  background-color: #efefef;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#main-content {
  flex: 1 0 auto;
}

#footer {
  flex: 0 0 auto;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-top: 0px;
  margin-bottom: 0px;
  background: white;
  border: unset;
  background: url(../enventer/img/section-bg-left.png) no-repeat #ffffff;
}

#header {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px;
  border-top: unset;
  background-color: unset;
}

.breadcrumb {
  padding: 0.75rem 0.5rem;
  background-color: #e9ecef;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

#content {
  padding: 1rem 0;
}

#sidebar {
  padding: 20px 10px 20px 10px;
}

#footer {
  padding: 10px;
  margin: unset;
  font-size: 0.8em;
  text-align: center;
  border-top: 1px solid #c9e0ed;

  color: #ffffff;
  letter-spacing: 0.3px;
  text-align: center;
  margin-right: -15px;
  margin-left: -15px;
  margin-top: 20px;
}

.errorSummary ul {
  margin-left: 25px;
}
.errorMessage {
  color: red;
}

#logo {
  padding: 10px 20px;
  font-size: 200%;
}

#mainmenu {
  background: white url(bg.gif) repeat-x left top;
}

#mainmenu ul {
  padding: 6px 20px 5px 20px;
  margin: 0px;
}

#mainmenu ul li {
  display: inline;
}

#mainmenu ul li a {
  color: #ffffff;
  background-color: transparent;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  padding: 5px 8px;
}

#mainmenu ul li a:hover,
#mainmenu ul li.active a {
  color: #6399cd;
  background-color: #eff4fa;
  text-decoration: none;
}

div.flash-error,
div.flash-notice,
div.flash-success {
  padding: 0.8em;
  margin-bottom: 1em;
  border: 2px solid #ddd;
}

div.flash-error {
  background: #fbe3e4;
  color: #8a1f11;
  border-color: #fbc2c4;
}
.operations li a:hover {
  font-size: 110%;
}

div.flash-notice {
  background: #fff6bf;
  color: #514721;
  border-color: #ffd324;
}

div.flash-success {
  background: #e6efc2;
  color: #264409;
  border-color: #c6d880;
}

div.flash-error a {
  color: #8a1f11;
}

div.flash-notice a {
  color: #514721;
}

div.flash-success a {
  color: #264409;
}

div.form .rememberMe label {
  display: inline;
}

div.view {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #c9e0ed;
}

div.breadcrumbs {
  font-size: 0.9em;
  padding: 5px 20px;
}

div.breadcrumbs span {
  font-weight: bold;
}

div.search-form {
  padding: 10px;
  margin: 10px 0;
  background: #eee;
  border-radius: 4px;
}

.portlet {
}

.portlet-title {
  font-size: 12pt;
  font-weight: bold;
  padding: 0;
  margin: 0;
  color: #ffffff;
}

.portlet-content {
  font-size: 0.9em;
  margin: 0 0 15px 0;
  padding: 5px 8px;
  background: #f5f5f5;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: url(../enventer/img/bgmask3.png) left top;
}

.portlet-content ul {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.portlet-content li {
  padding: 2px 0 4px 0px;
}

.operations {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.operations li {
  padding-bottom: 2px;
}

.operations li a {
  font: normal 12pt "Kanit", Verdana, Arial, Helvetica, sans-serif;
  color: #333333;
  display: block;
  padding: 2px 0 2px 8px;
  line-height: 15px;
  text-decoration: none;
}

.operations li a:visited {
  color: #333333;
}

.operations li a:hover {
  background: #ffffff;
}

#page ul.yiiPager .first,
#page ul.yiiPager .last {
  display: inline;
}

.welcome {
  font-size: 25px;
}

.form-border {
  border-color: #e5e5e5 #eeeeee #eeeeee;
  border-style: solid;
  border-width: 1px 0;
  box-shadow: rgba(0, 0, 0, 0.0470588) 0 3px 6px;
  padding: 30px 30px;
}

.breadcrumb {
  margin-bottom: 0px;
}

.panel-title {
  font-weight: bold;
}

.bs-callout {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #eee;
  border-image: none;
  border-radius: 3px;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  margin: 5px 0;
  padding: 20px;
}

.bs-callout-info {
  border-left-color: #1b809e;
}

.bs-border {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #eee;
  border-image: none;
  border-radius: 3px;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  padding: 20px;
}

.project_detail {
  text-align: justify;
  padding: 10px;
}
.project_detail p {
  text-indent: 40px;
}

h1,
h2 {
  font-size: 28px;
}

h3 {
  font-size: 19px;
}

input[readonly] {
  background-color: #eee;
}

.grid-view .button-column {
  width: 70px !important;
}

legend {
  width: auto;
  border-bottom: none;
  margin-bottom: 0px;
}

.grid-view td.extrarow {
  background: none repeat scroll 0 0 #90caf9;
  height: 20px;
}

#back-top {
  position: fixed;
  bottom: 30px;
  margin-left: 0px;
}

#back-top a {
  width: 75px;
  display: block;
  font: 11px/100% Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #757575;

  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover {
  color: #757575;
}

/* arrow icon (span tag) */
#back-top span {
  width: 55px;
  height: 55px;
  display: block;
  margin-bottom: 7px;
  background: #757575 url(../images/totop.png) no-repeat center center;
  background-size: 55px 55px;

  /* rounded corners */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover span {
  background-color: #7777;
}

.label {
  font-size: 100%;
}

.row > .description {
  margin-bottom: 0.5em;
}

.description {
  font-size: small;
}

span.required {
  color: red;
}

.table th {
  background: linear-gradient(#1b70b1, #267c99);
  border-left: 1px solid #555;
  border-right: 1px solid #777;
  border-top: 1px solid #555;
  border-bottom: 1px solid #333;
  box-shadow: inset 0 1px 0 #999;
  color: #fff;
  font-weight: bold;
  padding: 10px 15px;
  position: relative;
  text-shadow: 0 1px 0 #000;
}

.table th:after {
  background: linear-gradient(
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.08)
  );
  content: "";
  display: block;
  height: 25%;
  left: 0;
  margin: 1px 0 0 0;
  position: absolute;
  top: 25%;
  width: 100%;
}

.table th:first-child {
  border-left: 1px solid #777;
  box-shadow: inset 1px 1px 0 #999;
}

.table th:last-child {
  box-shadow: inset -1px 1px 0 #999;
}

.table td {
  border-right: 1px solid #fff;
  border-left: 1px solid #e8e8e8;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 10px 15px;
  position: relative;
  transition: all 300ms;
}

.table td:first-child {
  box-shadow: inset 1px 0 0 #fff;
}

.table td:last-child {
  border-right: 1px solid #e8e8e8;
  box-shadow: inset -1px 0 0 #fff;
}

.table tr:last-of-type td {
  box-shadow: inset 0 -1px 0 #fff;
}

.table tr:last-of-type td:first-child {
  box-shadow: inset 1px -1px 0 #fff;
}

.table tr:last-of-type td:last-child {
  box-shadow: inset -1px -1px 0 #fff;
}

.badge {
  font-size: 100%;
}

.table > :not(caption) > * > * {
  background-color: inherit;
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}