/* GLOBAL */

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background-color: #fafafa;
  color: #2b415a !important;
}

.main-content {
  min-height: 60vh;
}

/* BOOTSTRAP SURCHARGE */

.btn-danger {
  background-color: #2A3E52;
  border-color: #2A3E52;
}

.btn-danger:hover {
  background-color: #2A3E52;
  border-color: #2A3E52;
}

/* NAVBAR */

.navbar {
  box-shadow: 0 1px 3px 0 #dbe0e6;
  background-color: #2A3E52;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.navbar img {
  margin: 20px;

}

/* INVOICE */

.iv-container {
  margin-top: 30px;
}

.iv-header, .iv-adress, .iv-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.iv-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
}

.iv-header h2 {
  font-size: 22px;
  font-weight: bold;
}

.iv-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.iv-adress h3, .iv-info h3, .iv-details h3 {
  font-size: 18px;
  font-weight: bold;
}

.iv-adress p {
  font-size: 14px;
  margin-bottom: 0;
}

.iv-adress {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
}

.invoice-recipient h3, .invoice-recipient p {
  text-align: right;
}

.payment-type p {
  text-align: right;
}

.iv-tab-infos {
  font-weight: bold;
  font-size: 14px;
  text-align: right;
}

.iv-grand-total {
  font-weight: bold;
}

/* FOOTER */

.footer {
  min-height: 200px;
  background-color: #2A3E52;
  margin-top: 65px;
  box-shadow: 0 1px 3px 0 #dbe0e6;
}

.admin-footer {
  min-height: inherit;
}

.footer div.contact {
  margin-left: 70px;
  font-size: 14px;
}

.footer div.contact p {
  margin: 0;
  color: #fff;
}

.footer div.contact h4 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.footer div.contact p span {
  color: #fff;
  font-weight: bold;
}

.footer div.elsa-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 50px;
  background-color: #f5f5f5;
  box-shadow: 0 1px 3px 0 #93b9cd;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
  color: #585858;
  font-size: 0.75rem;
}

.footer div.elsa-footer p {
  margin: 0;
}

.footer div.elsa-footer p a {
  text-decoration: none;
}

.elsa-span {
  color: #2a3e52;
}

.learning-span {
  color: #48afdb;
  font-weight: bold;
}

/* TOOLTIPS */
.tooltipBox{
  display: none;
}

.tooltipInfo:hover +.tooltipBox{
  display: block;
  position: absolute;
  margin-left: 115px;
  margin-top: -32px;
  padding: 5px;
  background-color: rgba(215, 64, 39, 0.8);
  border-radius: 5px;
  width: 350px;
  color: white;
}

/* ---- RESPONSIVE ---- */

@media screen and (max-width: 576px) {
  /* FOOTER */

  .elsa-footer {
    padding: 0 15px;
    font-size: 0.65rem!important;
  }

  footer .widong-logo {
    margin-bottom: 10px;
  }

  footer .contact {
    text-align: center;
    margin-left: 0 !important;
  }
}