@import url("https://fonts.googleapis.com/css?family=Poppins:700,400,500,600");

* {
  font-family: "Poppins", Helvetica, Arial, serif;
  font-style : normal;
  color      : #3d3131;
  font-size  : 14px;
}

body {
  display        : flex;
  flex-direction : row;
  align-items    : flex-start;
  justify-content: stretch;
}

.sidebar {
  height          : 100vh;
  width           : 64px;
  flex-basis      : 64px;
  flex-shrink     : 0;
  position        : fixed;
  z-index         : 5000;
  background-color: white;
}

.hide-sidebar {
  margin-left     : 75px;
  width           : 0px;
  box-shadow      : 3px 2px 3px 0px rgba(0, 0, 0, 0.082);
  position        : fixed;
  overflow-x      : hidden;
  transition      : 0.5s;
  background-color: white;
  padding-top     : 7.6rem;
}

.hide-sidebar a {
  display    : block;
  color      : #3d3131;
  font-size  : 16px;
  padding-top: 3rem;
}

.hide-sidebar a:hover {
  color: #cf142c;
}

.active {
  color      : #cf142c !important;
  font-weight: bold;
}

.header {
  height    : 64px;
  box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.082);
}

.title {
  color       : #cf142c;
  font-weight : 700;
  font-size   : 20px;
  margin      : auto;
  padding     : 15px;
  padding-left: 50px !important;
}

.logo {
  margin-top: 10px;
  margin    : auto;
  padding   : 8px 4px;
  width     : 100%;
}

.menu {
  padding-top: 50px;
}

.m-t-25 {
  margin-top: 25px;
}

.m-t-40 {
  margin-top: 40px;
}

.content {
  padding       : 29px;
  min-height    : calc(100vh - 64px);
  display       : flex;
  flex-direction: column;
}

.menu img {
  width: 40%;
}

.menu a:hover {
  border-right : 4px solid #cf142c;
  transition   : 250ms ease-in-out;
  padding-right: 25%;
  margin-left  : 25%;
}

.menu a:active,
.menu .active {
  border-right : 4px solid #cf142c;
  padding-right: 25%;
  margin-left  : 25%;
  color        : #cf142c;
}

.page {
  width      : 100%;
  margin-left: 64px;
  min-height : 100vh;
  overflow-x : auto;
}

.profile {
  margin: auto 0;
}

.pf-name {
  padding-right: 5px;
  text-align   : right;
}

.pf-img {
  padding-left: 0px !important;
}

.pf-img img {
  height: 48px;
}

.tag {
  border        : 1px;
  border-radius : 20px;
  padding-top   : 7px;
  padding-bottom: 7px;
  padding-left  : 15px;
  padding-right : 15px;
  max-width     : 100%;
  overflow      : hidden;
}

.content h4 {
  margin-bottom: 30px;
}

/* Cards */
.announcement-card {
  display       : flex;
  flex-direction: column;
  flex-wrap     : wrap;
  white-space   : nowrap;
}

.announcement-card>.row {
  width: 100%;
}

.announcement-card>.row>div {
  margin-bottom: 12px;
  min-width    : 290px;
}

.announcement-card .card {
  border-color : black;
  min-width    : 260px;
  border-radius: 20px !important;
  width        : 100%;
  height       : 100%;
}

.card .card-body {
  padding   : 0;
  min-height: 24em;
}

.card .card-header {
  background-color   : inherit;
  border-bottom-width: 1px;
  border-bottom-color: black;
  font-size          : x-large;
  /*padding          : 20px;*/
}

.announcement {
  /*padding-top: 20px;*/
}

.card-body img {
  margin-bottom: 8px;
  max-height   : 140px;
  max-width    : 100%;
}

.announcement-header>div {
  text-align   : left;
  font-weight  : bold;
  font-size    : large;
  padding-left : 15px;
  padding-right: 15px;
  word-break   : break-all;
  white-space  : normal;
  word-wrap    : break-word;
  overflow     : hidden;
}

.announcement-header>div>div {
  position    : relative;
  padding-left: 15px;
  width       : 100%;
}

.announcement-header>div>div>div {
  float: right;
}

.announcement-header>div>div>span {
  font-size    : medium;
  padding-left : 0;
  padding-right: 15px;
  word-break   : break-word;
}

.card-text {
  word-break : break-all;
  white-space: normal;
  word-wrap  : break-word;
  overflow   : hidden;
  min-height : 3em;
}

.readmore {
  font-weight  : bold;
  padding-right: 15px;
}

.collapsed,
.expanded-after {
  display    : block;
  overflow   : hidden;
  word-break : break-all;
  white-space: normal;
  word-wrap  : break-word;
}

.collapsed {
  max-height   : 3.6em;
  line-height  : 1.8em;
  text-overflow: ellipsis;
}

.collapsed-after {
  display: none;
}

.expanded-after {
  display: block;
}

.expanded {
  display: none;
}

.card-files {
  padding   : 4px;
  width     : 100%;
  overflow-x: hidden;
}

.card-files::-webkit-scrollbar {
  height: 5px;
}

.card-files button {
  padding    : 2px 10px;
  margin-left: 15px;
}

.card-files button a {
  text-overflow: ellipsis;
  display      : block;
  overflow     : hidden;
}

.card-footer-container {
  margin-top: 60px;
}

div .card-footer {
  background-color: inherit;
  border-top      : none;
  position        : absolute;
  bottom          : 0;
  left            : 0;
}

.prev-page,
.card-footer .next-page-not-exists {
  display: none;
}

.prev-page-exists,
.next-page {
  display: inline;
}

/* Dashboard */
.nav-item {
  box-shadow : 3px 3px 3px -1px rgba(0, 0, 0, 0.082);
  /* border  : 10px; */
  font-weight: 700;
}

.nav-tabs .nav-link {
  border: 0px !important;
  color : #3d3131;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color        : #3d3131 !important;
  border-bottom: 4px solid #3d3131 !important;
  transition   : 100ms ease-in-out !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link:hover {
  color        : #3d3131c9;
  border-bottom: 4px solid rgba(61, 49, 49, 0.692) !important;
  transition   : 100ms ease-in-out !important;
}

.dashboard {
  /* padding: 30px; */
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.082);
  min-height: 100%;
}

.dashboard p {
  margin-top: 1rem !important;
}

.btn-dropdown {
  border      : 1px solid rgba(61, 49, 49, 0.164) !important;
  margin-right: 1rem;
  padding     : 0.5rem 1rem !important;
}

.dashboard-menu {
  cursor: pointer;
}

.dashboard-graph {
  margin-top : 50px;
  font-weight: 700;
}

.tab-pane {
  padding: 30px !important;
}

/* Waste List */
.waste-list {
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.082);
  height    : 70vh;
}

table {
  margin-top: 1rem;
}

table th,
.group-table {
  font-weight: 600;
}

.table thead th {
  box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, 0.082);
}

.table td,
.table th,
table span {
  border-top: 0 !important;
  font-size : 12px;
}

.table input {
  text-align: center;
}

td {
  vertical-align: middle !important;
}

td div {
  margin-bottom: 0 !important;
  margin       : auto;
}

.group-table {
  color           : gray;
  background-color: whitesmoke;
}

.btn-search {
  border          : 1px solid rgba(61, 49, 49, 0.164) !important;
  border-left     : 0px;
  background-color: transparent;
}

.date,
.total {
  background-color: whitesmoke;
  border-radius   : 0.25rem;
  padding         : 0.5rem 3rem;
}

.branch {
  border        : 1px solid #ced4da;
  height        : calc(1.5em + .75rem + 3px);
  border-radius : .25rem;
  padding-top   : .45rem;
  padding-bottom: .49rem;
}

.filter {
  padding: 1.28rem 1rem !important;
}

.filter-icon {
  padding: 0.4rem 0;
}

.btn-adjust {
  background-color: #3d3131 !important;
  padding         : 0.6rem;
  border-radius   : 0.4rem;
}

.btn-adjust a {
  color: white !important;
}

.btn-adjust a:hover {
  text-decoration: none;
}

.btn-group {
  width: 100%;
}

.dropdown,
.btn-dropdown {
  width: 100%;
}

.multiselect {
  width : 100%;
  border: 1px solid #ced4da !important;
}

.multiselect-selected-text {
  text-overflow: ellipsis;
}

.multiselect-container>li>a>label {
  padding: 3px 15px 3px 15px !important;
}

.multiselect-container {
  overflow: auto;
  height: 400px;
}

table .form-control {
  padding: 0;
}

.button-top {
  display       : flex;
  flex-direction: column-reverse;
}

.button-raw {
  display      : flex;
  place-content: flex-end;
}

/* Web links */
.weblink,
.weblink img {
  height    : 100px;
  width     : 100px;
  max-height: 100px;
  max-width : 100px;
  min-height: 100px;
  min-width : 100px;
}

.weblink {
  white-space : nowrap;
  text-align  : center;
  margin      : 1em 0;
  margin-right: 26px;
}

.weblink a {
  margin-bottom  : 8px;
  align-items    : center;
  justify-content: left;
  height         : 100%;
  vertical-align : middle;
  display        : inline-block;
}

.editing {
  border-color    : blue !important;
  background-color: lightblue !important;
}

.error {
  border-color    : red !important;
  background-color: lightcoral !important;
}

.space {
  padding     : 30px;
  margin-left : 20px !important;
  margin-right: 20px !important;
}

.btn-group {
  margin-right: 1rem;
}

/* table style */
.my-table thead th {
  vertical-align: top !important;
  border        : none;
  border-bottom : none !important;
  box-shadow    : none;
  width         : 10%;
}

.my-table thead tr {
  border-bottom: 1px solid #cecece;
}

.my-table td,
.my-table th,
table span {
  font-size: 14px;
  overflow : hidden;
}

.my-table td {
  width: 80%;
}

.w-100 {
  min-width: 100px;
}