h2 {
  margin: 4rem 0rem 2rem 0rem !important;
  border-bottom: solid 1px rgb(70, 150, 236);
}

h3 {
  margin: 3rem 0rem 1rem 0rem !important;
  padding: 0rem 0rem 0.5rem 0.5rem !important;
  border-left: solid 2px rgb(70, 150, 236);
}

.bg-danger {
  background-color: #ef486a !important;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: .75em;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.md-sidebar--secondary .md-nav--secondary > ul > li > a {
  font-weight: 600;
  font-family: sans-serif;
}

.md-sidebar--secondary .md-nav--secondary > ul > li > nav > ul > li > a {
  font-size: .65rem;
}

.md-nav--primary a {
  font-size: .8rem;
}


.toZoom {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.toZoom:hover {
  opacity: 0.7;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Change to fixed position */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  width: 80%;
  max-width: 700px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#zoom-checkbox:checked ~ img {
  transform: scale(2);
  cursor: zoom-out;
}

.modal-content #zoom-checkbox{
  display: none;
}

.modal-content img {
  max-width: 100%;
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

/* Add Animation */
.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0.1)
  }
  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
