@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /*display: flex;*/

  justify-content: center;
  font: 14px/1.5 "Open Sans", sans-serif;
}

.breadcrumb {
  background-color: inherit;
}

.breadcrumb {
  padding-top: 5em;
  padding-bottom: 1rem;
}

@media (max-width: 767px) {
  .breadcrumb {
    padding-top: 1em;
  }
}

a:hover {
  text-decoration: none;
  color: #0c2340;
  box-shadow: 0 3px 0 0 #c99700;
}

p:not(:last-child) {
  margin: 0 0 20px;
}

main {
  padding: 40px;
  background: #fff;
}

section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #abc;
}

input {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #abc;
  border: 1px solid transparent;
}

label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

label:hover {
  color: #789;
  cursor: pointer;
}

input:checked + label {
  color: #c1cddd;
  border: 1px solid #abc;
  border-top: 2px solid #c1cddd;
  border-bottom: 1px solid #fff;
}

.card {
  background: #f5f5f5;
  border: none;
  border-radius: none;
  margin-bottom: 10px;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6,
#tab1:checked ~ #pane-A,
#tab2:checked ~ #pane-B {
  display: block;
}

.nav a:hover,
.footer a:hover {
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  label {
    font-size: 11px;
  }

  label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 500px) {
  label {
    font-size: 11px;
    padding: 15px;
  }
}

.faculty-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.page-heading-top-margin {
  margin-top: 0; /* No space on mobile by default */
}

/* Apply top space for tablets and larger devices */
@media (min-width: 768px) {
  .page-heading-top-margin {
    margin-top: 40px; /* You can adjust the value as needed */
  }
}

@media (min-width: 992px) {
  .page-heading-top-margin {
    margin-top: 60px; /* Larger margin for desktops */
  }
}

@media (min-width: 1200px) {
  .page-heading-top-margin {
    margin-top: 80px; /* Even larger margin for large desktops */
  }
}
