@font-face {
  font-family: "NMU";
  src: url("../fonts/NMU_Bold.otf") format("opentype");
}

@font-face {
  font-family: "helvetica";
  src: url("../fonts/helvetica_regular.otf") format("opentype");
}


main {
  flex-grow: 1;
  flex-direction: column;
  padding-bottom: 100px;
}

.page-custom h1 {
  text-transform: lowercase;
}

.page-custom h1::first-letter {
  text-transform: uppercase;
}

hr {
  opacity: 1;
}

main hr {
  color: #102c54;
}

p {
    font-family: helvetica;
}

.vertical-hr {
  border-right: 1px solid #102c54;
}


.top-header {
  background-color: #102c54;
  color: #FFFFFF;
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: NMU;
}

.top-header .navbar-logo-text {
    color: white;
}

.top-header .col-6 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.top-header .col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-header .navbar-nav{
    flex-direction: row;
    justify-content: flex-end;
}

.top-header .nav-item a {
    text-transform: none;
}

.top-header .nav-item:last-of-type a {
    color: #ddb747;
}

.top-header .languages .dropdown{
    display: flex;
    justify-content: flex-end;
}

.top-header .languages .dropdown div{
    display: inline-flex;
    flex-direction: row;
}

.top-header .languages .dropdown a{
    color: white;
    text-align: end;
    display: flex;
    align-items: center;
    border-radius: 50%;
    margin-left: 5px;
}

.top-header .languages .dropdown a.active{
    border: 1px solid white;
    aspect-ratio: 1 / 1;
}


#primaryNavCustom .dropdown-menu.show{
  position: absolute;
  top: 100%; /* Position right below the ul */
  left: 0;
  z-index: 1000;
  margin-top: 0;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  
  /* Remove default Bootstrap styling if needed */
  border-radius: 0;
  border-top: none;
  
  /* Use flex layout */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#primaryNavCustom .dropdown-menu.show a {
  flex: 0 0 auto; /* don't grow or shrink, keep natural size */
  width: auto; /* remove any width: 100% */
  white-space: nowrap; /* keep text on one line */
  color: white;
}


#primaryNavCustom {
  flex-direction: row;
  justify-content: space-around;
  position: relative;
}

#primaryNavCustom li{
  padding-top: 10px;
  padding-bottom: 10px;
}

#primaryNavCustom a{
  font-family: NMU;
  color: #102c54;
  text-transform: lowercase !important;
  text-wrap: wrap;
  text-align: center;
  font-size: 14px;
}

#primaryNavCustom a::first-letter{
    text-transform: uppercase;
}

#primaryNavCustom li:last-child a{
    color: #ddb747;
}

#primaryNavCustom li a::after{
    content: none;
}

footer {
  background-color: #102c54;
  padding: 20px;
  color: #ffffff;
  letter-spacing: 1px;
  padding: 40px 0px;
}

.site-footer-content p{
  color: #ffffff;
}


.color-gray {
    color: #737373;
}

.issn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.issn div:nth-child(1) { order: 1; }
.issn div:nth-child(2) { order: 3; }
.issn div:nth-child(3) { order: 2; }
.issn div:nth-child(4) { order: 4; }

.qut-about-section > img{
  max-width: 300px;
  object-fit: contain;
}

.main section:nth-of-type(2) img{
  width: 250px;
}


img[alt*="scopus"], img[alt*="orcid"] {
  margin: 0 5px;
  width: 20px;
  object-fit: contain;
}

.copyright{
  font-size: 14px;
  letter-spacing: normal;
  color: #ccc;
}



@media (max-width: 991px) {
  .main section:first-of-type .qut-about-section{
    width: 300px;
  }

  .main section:nth-of-type(2) img{
    width: 200px;
  }

}

@media (max-width: 767px) {

  .main section div.d-flex {
    flex-direction: column;
  }

  #primaryNavCustom {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .qut-about-section{
    width: auto;
  }

  .main section:nth-of-type(2) .row{
    flex-direction: column;
    display: flex;
  }

  .main section:nth-of-type(2) .row{
    flex-direction: column;
    display: flex;
  }
}
