body {
  min-height: 100vh; 
  display: flex; 
  flex-direction: column;
}

.inner-body-wrapper {
  flex-grow:1;
}

label {
  /* color: #6c757d; */
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  font-size: 80%;
  margin-bottom: 0.2em;
}

.nav-link {
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  display: block;
  padding: 0.5rem 1rem;
  color: rgba(0, 0, 0, 0.5);
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}
.pb-7,
.py-7 {
  padding-bottom: 8rem !important;
}
.pt-6,
.py-6 {
  padding-top: 5rem !important;
}
.bg-light {
  background-color: #f8f9fa !important;
}
.text-dark {
  color: #343a40 !important;
}
.opacity-50 {
  opacity: 0.5;
}
.navbar-bottom-bar {
  width: 100%;
  height: 0.4rem;
  z-index: 1;
  position: fixed;
  background: #8b8b8b;
  background: rgba(0, 0, 0, 0.2);
  background: -moz-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  background: -webkit-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}
.pt-3,
.py-3 {
  padding-top: 1rem !important;
}
.navbar {
  box-shadow: 0px 4px 8px #88888847;
}
.navbar-brand img {
  margin-top: -0.25rem;
  margin-bottom: -1rem;
  width: 2.5rem;
  height: auto;
}
label,
.small-text {
  font-size: 0.8em;
}
.bold-num {
  font-size: 0.9rem;
  font-weight: 500;
}
.small-text {
  margin-bottom: 0.3rem;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
}
.lilabg {
  background: #7e5aa9;
}
.greybg-fees {
  padding: 1rem;
  background: #e2e2e2;
  margin-top: 1.4rem;
}
th {
  text-align: inherit;
  color: #fff;
  font-weight: 400;
}
.bd-wrap,
.wrap-padding {
  padding: 1.5rem;
  margin-right: 0;
  margin-left: 0;
  border-width: 0.2rem;
}
.form-title {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.table {
  font-size: 0.9em;
  text-align: center;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.table td,
.table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.total-row {
    /*background: #e2e2e2; */
    background: #bbbdbf!important;
}
.total-row td {
   font-weight: bold;
}

/* table columns*/

#yearTableBody>tr>:nth-child(2){ 
  display: none;
}
#yearTableBody>tr>:nth-child(3){ 
  display: none;
}
#yearTableBody>tr>:nth-child(7){ 
  display: none;
}




.form-control {
  /* height: calc(0.9em + .75rem + 2px); mesesd up select inputs ? */
  font-size: 0.9rem;
  width: 180px;
}
.form-group  {
  margin-bottom: 0.7rem;
  display: inline-block;

}

.form-group > label{display:inline-block;}
.form-group > input{display:block;}

.hidden {
  visibility: hidden;
}
.remove {
  display: none!important;
}

#monthBarTwo {

  width:270px !important;
  height:auto !important;

}
.month-input {
  margin-bottom: 1rem;
}

.chart-card {
  background: #fff;
  padding: 20px;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
}

.working-days , .invoiced-amount , .employee-gross-account {
    background-color: #e9ecef;
    opacity: 1;
    pointer-events:none;
}

.greybg {
  background: #e2e2e2;
}
.btn-synteda-purple {
  color: #fff;
  background-color: #7e5aa9;
  border-color: #7e5aa9;
}
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.table-sm td, .table-sm th {
  padding: .3rem;
}

#monthTotalList {
  /*list-style: none;
  font-size: 1.5rem;
  line-height: 1.5; */
}

#monthTotalList li {
  font-weight: 400;
}

#wrap {
  display: none;
}
#table-wrap {
   display: none;  
}

#month-stats-wrapper {
  /* display: none; */
  flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;

}

.barCharts {
  display: flex;
  justify-content: space-around;
}

.barCharts canvas {
  height: 200px;
  width: 150px;
}

.pieChart {
  display: flex;
  justify-content: center;
  align-content: center;
}

#monthPieChart {
  height: 250px;
  width: 250px;
}


@media (min-width: 576px) {
  .bd-wrap,
  .wrap-padding {
    padding: 0;
  }
}


/* Rotate device notification */


.overlay {
  display: none;
  position: absolute;
  top: 0;
  background-color: rgb(255 255 255 / 92%);
  width: 100%;
  height: 100%;
}


.device-wrap {
  width: 270px;
  height: 270px;
  position: absolute;
  left: 40%;
  top: 50%;
  margin-left: -100px;
  margin-top: -100px;
}


 .sub-text-device {
		display: inline-block;
		width: 100%;
		text-align: center;
		margin: 0;
		font-size: 20px;
		opacity: 0;
	}

  .title-opacity {
    opacity: 0;
  }

.device {
  position: relative;
  left: 50%;
  margin-left: -50px;
  width: 0;
  height: 0;
  border: 0 solid #7E5AA9;
  background: #fff;
  border-radius: 5px;
  box-sizing: border-box;
}

  .fa-undo {
    text-align: center;
    width: 100%;
    line-height: 130px;
    font-size: 40px;
    opacity: 0;
}

.fa-undo:before {
  color: rgb(52 58 64 / 65%);
  /*color: transparent;*/
}

.fa-chart-bar {
  text-align: center;
  width: 100%;
  line-height: 130px;
  font-size: 40px;
  opacity: 0;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

.fa-chart-bar:before {
color: rgb(52 58 64 / 65%);
}

.chart {
  position: absolute;
  left: 44%;
  display: block;
  top: 45%;
  z-index: 999;
}


 @media only screen and (max-width: 600px) and (orientation: portrait) {
	.overlay {
		display: block;
	}

	.overlay .device {
		animation: sizeIncrease 0.5s forwards ease,
			borderIncrease 0.5s 0.5s forwards ease, rotateLeft 0.7s 1s forwards ease;
	}

	.overlay .device-wrap .title-opacity {
		animation: fadeIn 0.5s 1.3s forwards ease;
	}

  .fa-chart-bar {
    animation: fadeIn 1s 1.2s forwards ease;
  }
  .table-sm td, .table-sm th {
    padding: .1rem;
  }
  
  .inner-body-wrapper {
    display: none;
  }
}

/* ANIMATION */
/* Animate width + height */
@keyframes sizeIncrease {
	0% {
		width: 0;
		height: 10px;
	}
	50% {
		width: 100px;
		height: 10px;
	}
	100% {
		width: 100px;
		height: 160px;
	}
}
/* Add borders */
@keyframes borderIncrease {
	100% {
		border-width: 15px 8px;
	}
}

/* fade-in  */
@keyframes fadeIn {
	100% {
		color: #000;
		opacity: 1;
	}
}

/* Rotate device */
@keyframes rotateLeft {
	100% {
		transform: rotate(-90deg);
	}
}

/* rotate ends */

