html,
body * {
  box-sizing: border-box;
  /* font-family: 'Open Sans', sans-serif; */
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* Make the background a little softer than stark white */
body {
  background: linear-gradient(
    rgba(246, 247, 249, 0.8),
    rgba(246, 247, 249, 0.8)
  );
  background-size: cover;
}

/* Add padding to all top level elements of the page */
body > * {
  padding-left: 20px;
  padding-right: 20px;
}

/* A container which holds all of content on the page (i.e. excluding nav footer
etc. */
.container {
  /* centre the content */
  margin-left: auto;
  margin-right: auto;
}

footer {
  color: white;
  text-align: center;
  padding: 0px;
}

footer * {
  display: inline-block;
  width: 100%;
}

footer .footer-above {
  padding-top: 50px;
  background-color: #2c3e50;
}

footer .footer-below {
  padding: 25px 0;
  background-color: #233140;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

form {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  /* font-size: 16px; */
  font-weight: 300;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

label {
  color: #595959;
  font-size: 0.8rem;
}

button {
  padding: 12px;
  padding-top: 8px;
  width: 100%;
  height: 3rem;
  border: none;
  border-radius: 10px;
  margin-top: 8px;
  margin-bottom: 8px;

  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  background-color: rgb(44, 62, 80);
}

button:hover {
  cursor: pointer;
  background-color: rgb(24, 188, 156);
  transition: background-color 0.5s;
}

.button-link {
  display: block;
  padding-top: 8px;
  width: 100%;
  height: 3rem;
  border: none;
  border-radius: 20px;
  margin-top: 8px;
  margin-bottom: 8px;

  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  background-color: rgb(44, 62, 80);
}

.button-link:hover {
  cursor: pointer;
  background-color: rgb(24, 188, 156);
  transition: background-color 0.5s;
}

.projectsTable {
  margin-left: 25px;
}

.invoicerow {
  background-color: #e9e9e9;
}

.invoicerow:hover {
  background-color: #c9c9c9;
}

/* end managed css */

.success {
  width: 80%;
  height: 150px;
  text-align: center;
  position: relative;
  top: -890px;
  left: 450px;
  opacity: 0.0;
  transition: all 0.8s 0.4s ease;
}

.success-left {
  transform: translateX(-406px);
  opacity: 1;
}

.successtext {
  font-size: 16px;
  font-weight: 300;
  margin-top: -35px;
  padding-left: 37px;
  padding-right: 37px;
}

#check path {
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0.85px;
  stroke-dasharray: 60px 300px;
  stroke-dashoffset: -166px;
  fill: rgba(255, 255, 255, 0.0);
  transition: stroke-dashoffset 2s ease 0.5s, fill 1.5s ease 1.0s;
}

#check.checked path {
  stroke-dashoffset: 33px;
  fill: rgba(255, 255, 255, 0.03);
}

.form-signin input,
.form-signup input {
  font-size: 13px;
}

label {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  padding-left: 15px;
  padding-bottom: 10px;
  display: block;
}

:focus {
  outline: none;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  display: none;
}

[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 85px;
  padding-top: 2px;
  cursor: pointer;
  margin-top: 8px;
}

[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before,
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
  content: "";
  position: absolute;
}

[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  width: 65px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  left: 0;
  top: -3px;
  transition: all 0.2s ease;
}

[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  top: 7px;
  left: 10px;
  transition: all 0.2s ease;
}

/* on checked */
[type="checkbox"]:checked + label:before {
  background: #0f4fe6;
}

[type="checkbox"]:checked + label:after {
  background: #ffffff;
  top: 7px;
  left: 45px;
}

[type="checkbox"]:checked + label .ui,
[type="checkbox"]:not(:checked) + label .ui:before,
[type="checkbox"]:checked + label .ui:after {
  position: absolute;
  left: 6px;
  width: 65px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: bold;
  line-height: 22px;
  transition: all 0.2s ease;
}

[type="checkbox"]:not(:checked) + label .ui:before {
  content: "no";
  left: 32px;
  color: rgba(255, 255, 255, 0.7);
}

[type="checkbox"]:checked + label .ui:after {
  content: "yes";
  color: #ffffff;
}

[type="checkbox"]:focus + label:before {
  box-sizing: border-box;
  margin-top: -1px;
}

#messagebox {
  margin: 10px;
  padding: 10px;
  margin-top: 50px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  text-align: center;
}

.form-payment-choice input,
label {
  display: inline;
  width: inherit;
}

nav {
  background-color: rgb(44, 62, 80);
}

.nlink {
  padding-top: 8px;
  width: 100%;
  height: 3rem;
  border: none;
  border-radius: 20px;
  margin-top: 8px;
  margin-bottom: 8px;

  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  background-color: rgb(44, 62, 80);

  display: block;
}

nlink:hover {
  cursor: pointer;
  background-color: rgb(24, 188, 156);
  transition: background-color 0.5s;
}

.payButton {
  background-color: #016ada;
  color: white;
  border-radius: 4px;
  padding: 6px 15px;
}

nav {
  position: sticky;
  top: 0;
}

nav ul li form {
  margin: 0px;
}

nav ul li form button {
  width: unset;
  border: unset;
  border-radius: unset;
  margin-top: unset;
  margin-bottom: unset;
  font-weight: unset;
  text-transform: unset;
  font-size: unset;
  text-align: unset;
  color: unset;
  background-color: unset;

  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 0px;
  padding-top: 0px;
  margin: 0px;
  transition: background-color 0.3s;
  font-size: 1rem;
  color: #fff;
  display: block;
  padding: 0 15px;
}

nav ul li form button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.projectRow td {
  padding: 0px;
}

.productRow td {
  padding: 15px;
}

* {
  box-sizing: border-box;
}

.ms-elem-a {
  background-color: white;
  width: 215px;
  display: block;
  height: 41px;
  border: 1px solid #8c8c8c;
  align-items: center;
  display: flex;
  color: #5e5e5e;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
}

.ms-elem-a img {
  margin: 12px;
}

#logout-button-main {
  height: 64px;
}

.invoice_caret {
  cursor: pointer;
}

.pendingusage td {
  padding: 8px;
}

.model-list-input {
  min-height: 12rem;
  background-color: white;
}
