/*
Theme Name: IMBI Bioinformatics Club Theme
Author: Philipp Buss
Description: IMBI Theme for the bioinformatics site
Url: https://bioinformatik-club.imbi.uni-freiburg.de/
Version: 1.0
Requires at least: 6.7.1
Requires PHP: 8.1
*/

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* füllt den Platz über dem Footer */
}

h1 {
  font-size: 2rem !important;
}

h2 {
  margin-top: 30px !important;
}

li h2 {
  margin: 0 !important;
  padding: 0 !important;
}

h3 {
  font-size: 1.092em !important;
}

img {
  max-width: 100%;
}

/******************* Sidebar ***********************************************/

.sidebar {
  padding: 20px;
  width: 270px;
  background-color: #f8f8f8;
  border: 1px solid #e7e7e7;
}

.sidebar ul {
  padding: 0;
  margin: 0;
}

.sidebar li {
  display: block;
}

/******************* Footer ***********************************************/

.site-footer {
  background-color: #1d84c3;
  padding: 0 20px;
  background-image: -webkit-linear-gradient(top, #055a8e 0%, #1d84c3 100%);
  background-image: linear-gradient(to bottom, #055a8e 0%, #1d84c3 100%);
  color: white;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: center;
}

.footer-content > nav {
    display: flex;
    align-self: center;
}

.footer-content li {
  list-style-type: none;
  background-color: #ffffffb3;
  color: black;
  border-radius: 5px;
  padding: 5px;
}

.footer-content li:hover {
  background-color: #ffffff80;
}

.footer-content ul {
  padding: 0;
  margin: 0;
}

/**************** HEADER ************************************************/

.header-image {
  display: none;
}

@media (min-width: 1400px) {
  .header-image {
    display: block;
    height: 150px; 
    margin-bottom: -50px;
    max-height: 100%;
  }  
}  

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-image {
    display: block;
    height: 100px; 
    margin-bottom: -50px;
    max-height: 100%;
  }  
}  

.header-navbar .navbar-brand {
  padding: 5px;
}

.header-navbar {
  padding-bottom: 0 !important;
}

.navbar-nav {
  margin-top: 20px;
}

.header-navbar {
  background-color: #1d84c3;
  background-image: -webkit-linear-gradient(top, #055a8e 0%, #1d84c3 100%);
  background-image: linear-gradient(to bottom, #055a8e 0%, #1d84c3 100%);
  color: white;
}

.header-navbar .nav-item {
  background-color: #ffffffb3;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .header-navbar .nav-item {
    background-color: #ffffffb3;
    margin-right: 5px;
    border-radius: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0;
  }
}

.header-navbar .nav-item:hover {
  background-color: #ffffff80;
}

.header-navbar .nav-item.active {
  background-color: white;
}

.header-navbar .nav-link {
  color: black !important;
}

.navbar-brand {
  margin-left: -7px;
}

.search-form .btn {
  background-color: #ffffffb3;
  border-color: #ffffffb3;
}

.search-form .btn:hover {
  background-color: #ffffff80;
  border-color: #ffffff80;
}

/********************* General classes **************************************/

.btn-primary {
  background-color: #1d84c3 !important;
  border: none !important;
}

.btn-primary:hover {
  background-color: #176a9c !important;
}

main a,
main .link {
  color: #0b659c !important;
  text-decoration: none !important;
}

.meeting {
  padding: 20px;
  width: 270px;
  background-color: #f8f8f8;
  border: 1px solid #e7e7e7;
  display: block;
  color: black !important;
}
