/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  padding-bottom: 20px;
  font-size: 16px;
  /* background-color : rgba(245,245,245,.4); */
}

.form-control {
  font-size: 13px;
}

pre {
  background-color: transparent;
  padding: 0px;
  border: none;
  font-size: 12px;
}

.box-shadow--2dp {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.box-shadow--3dp {
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2),
    0 1px 8px 0 rgba(0, 0, 0, 0.12);
}
.box-shadow--4dp {
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
.box-shadow--6dp {
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12),
    0 3px 5px -1px rgba(0, 0, 0, 0.2);
}
.box-shadow--8dp {
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
    0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}
.box-shadow--16dp {
  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
    0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

.border-left {
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #eee;
}

/* typeahead ������� ������͹�ѹ*/
span.typeahead {
  width: 100%;
}
.input-group span.typeahead {
  display: block !important;
}
.input-group span.typeahead .tt-dropdown-menu {
  top: 32px !important;
}
.input-group.input-group-lg span.typeahead .tt-dropdown-menu {
  top: 44px !important;
}
.input-group.input-group-sm span.typeahead .tt-dropdown-menu {
  top: 28px !important;
}

.navbar-inverse {
  /* background-color: #400080; */
  background-image: none;
  /* border-color:  #400080; */
  background: linear-gradient(
    -90deg,
    rgba(1, 87, 82, 1) 0%,
    rgba(0, 153, 145, 1) 100%
  );
  border-color: #00716b;
}

.navbar-inverse .navbar-nav > li > a {
  color: #ddd;
}

footer {
  font-size: 12px;
  color: #8080c0;

  /* miw 
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px;*/
  /*   background-color: red;
  color: white;
  text-align: center; */
  /* miw */
}

/* override menu color */
/*
.navbar-inverse .dropdown-menu > li > a:hover, .navbar-inverse .dropdown-menu > .active > a, .navbar-inverse .dropdown-menu > .active > a:hover {
    background-color: #666;
}

.navbar-inverse .dropdown-menu {
    background-color: #555;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #444;
    color: #ffffff;
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: #ffffff;
    background-color: #444;
}
*/
/* end override yeti themes*/

.fileUpload {
  position: relative;
  overflow: hidden;
  margin: 10px;
}

.fileUpload input.upload {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}

.form-control[readonly] {
  background-color: #fff;
  padding: 0px;
  height: inherit;

  font-size: 14px;

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);

  border-style: none;
  border-width: 0px;
  border-bottom: 1px solid #eee;
  color: black;
}

label {
  font-size: 12px;
  color: #999;
}

.form-control::-webkit-input-placeholder {
  color: #ddd;
}
.form-control:-moz-placeholder {
  color: #ddd;
}
.form-control::-moz-placeholder {
  color: #ddd;
}
.form-control:-ms-input-placeholder {
  color: #ddd;
}

/* for isLoading plugin*/
.wrapper {
  padding-bottom: 50px;
}
.syntax-container {
  background: #fcfcfc;
  -webkit-border-radius: 7px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 7px;
  -moz-background-clip: padding;
  border-radius: 7px;
  background-clip: padding-box;
  border: 1px solid #e3e3e3;
  margin-bottom: 30px;
  padding-bottom: 20px;
}
.isloading-wrapper.isloading-right {
  margin-left: 10px;
}
.isloading-overlay {
  position: relative;
  text-align: center;
}
.isloading-overlay .isloading-wrapper {
  background: #ffffff;
  -webkit-border-radius: 7px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 7px;
  -moz-background-clip: padding;
  border-radius: 7px;
  background-clip: padding-box;
  display: inline-block;
  margin: 0 auto;
  padding: 10px 20px;
  top: 10%;
  z-index: 9000;
}
.margin-left-10 {
  margin-left: 10px;
}

/*Glyphicon Spinner*/
.glyphicon-spin {
  -animation: spin 0.9s infinite linear;
  -webkit-animation: spin2 0.9s infinite linear;
}

@-webkit-keyframes spin2 {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1) rotate(360deg);
  }
}

table.summaryprovince td {
  padding: 1px;
}

table.summaryprovince {
  width: 3200px;
}

table.summarysubdept td {
  padding: 1px;
}

table.summarysubdept {
  width: 3800px;
}

table.summarydrugusageoverall td {
  padding: 1px;
}

table.summarydrugusageoverall {
  width: 100%;
}

/* --------------- pie chart --------------- */

@-webkit-keyframes bake-pie {
  from {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

@keyframes bake-pie {
  from {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}
.pie-chart {
  font-family: "Open Sans", Arial;
}
.pie-chart--wrapper {
  width: 400px;
  margin: 30px auto;
  text-align: center;
}
.pie-chart__pie,
.pie-chart__legend {
  display: inline-block;
  vertical-align: top;
}
.pie-chart__pie {
  position: relative;
  height: 200px;
  width: 200px;
  margin: 10px auto 35px;
}
.pie-chart__pie::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: #eee;
  border-radius: 50%;
  top: 50px;
  left: 50px;
}
.pie-chart__pie::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 3px 4px rgba(0, 0, 0, 0.1);
  margin: 220px auto;
}

.slice {
  position: absolute;
  width: 200px;
  height: 200px;
  clip: rect(0px, 200px, 200px, 100px);
  -webkit-animation: bake-pie 1s;
  animation: bake-pie 1s;
}
.slice span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  clip: rect(0px, 200px, 200px, 100px);
}

.pie-chart__legend {
  display: block;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  background: #fff;
  padding: 0.75em 0.75em 0.05em;
  font-size: 13px;
  box-shadow: 1px 1px 0 #ddd, 2px 2px 0 #bbb;
  text-align: left;
  width: 80%;
}
.pie-chart__legend li {
  height: 1.25em;
  margin-bottom: 0.7em;
  padding-left: 0.5em;
  border-left: 1.25em solid black;
}
.pie-chart__legend em {
  font-style: normal;
}
.pie-chart__legend span {
  float: right;
}

.pie-charts {
  display: flex;
  flex-direction: row;
}
@media (max-width: 500px) {
  .pie-charts {
    flex-direction: column;
  }
}

/* --------------- ./ pie chart --------------- */
