/*
Theme Name: IMBI Stratos Theme
Author: Philipp Buss
Description: IMBI Theme for the Stratos initiative site
Url: https://stratos-initiative.org/
Version: 1.0
Requires at least: 6.7.1
Requires PHP: 8.1
*/

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family:  Georgia, "Times New Roman", Times, serif !important;
}

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

h1 {
  font-size: 2rem !important;
  margin-bottom: 20px !important;
}

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

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

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

img {
  max-width: 100%;
}


/******************* Bootrap overwrites ************************************/
main .full-width-container * {
  max-width: 984px !important;
}

/******************** Contact **********************************************/
#ocontact a {
  cursor: pointer;
}

/******************** Links ***********************************************/

.biglinks {
  margin-bottom: 30px;
}

/******************** Members **********************************************/

@media (min-width: 992px) {
.members-column-steering-group {
  border-right: 1px dashed silver;
}
.members-column-members {
  padding-left: 30px !important;
}
}

/******************* Buttons ***********************************************/

a.btn {
  color: white !important;
}

a.btn-default {
  background-color: #33a333 !important;
  color: white !important;
}

a.btn-default:hover {
  background-color: #2d922d !important;
  color: white !important;
}


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

.gray-box {
  padding: 20px;
  background-color: #f8f8f8;
  border: 1px solid #e7e7e7;
}


/** NEWS **/

.sidebar-news__item {
  border: 1px solid #e7e7e7;
}

.sidebar-news__header {
  background-color: rgba(0, 0, 0, 0.51);
  color: white;
  padding: 5px 10px;
}

.sidebar-news__text {
  padding: 10px;
  background-color: #ffffffb3;
}
/******************* Footer ***********************************************/

.site-footer {
  padding: 0 20px;
  margin-top: 30px;
  background-color: #82cf84;
  background-image: -webkit-linear-gradient(top,#33a333 0%,#82cf84 100%);
  background-image: linear-gradient(to bottom,#33a333 0%,#82cf84 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;
}

/**************** TABLES ************************************************/

.table-border {
  border: 1px solid #DEE2E6 !important;
}

.column-dark {
  background-color: rgba(0, 0, 0, 0.51) !important;
  color: white !important;
}

.row-dark {
  td,
  th {
    background-color: rgba(0, 0, 0, 0.51) !important;
    color: white !important;
  }
}

 .table-panels .column-dark {
  padding: 8px 3px 0 !important;
  text-align: center;
 }

.table-topic-group {
  margin-top: 25px;
  max-width: 730px;
}



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

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

.header-logo {
  width: 200px;
}
@media (min-width: 768px) and (max-width: 1200px) {
  .header-logo {
    width: 300px;
  }
}
@media (min-width: 1200px) {
  .header-logo {
    width: 378px;
  }
}
.header-navbar .navbar-brand {
  padding: 5px;
}

.header-navbar {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue" !important 
}
@media (min-width: 768px) {
  .header-navbar {
    padding-bottom: 0 !important;
  }
}

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

.header-navbar {
    color: white;
    background-color: #82cf84;
    background-image: -webkit-linear-gradient(top,#33a333 0%,#82cf84 100%);
    background-image: linear-gradient(to bottom,#33a333 0%,#82cf84 100%);  
}

.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: #e7e7e7;
}

.search-form .btn:hover {
  background-color: #e6e6e6;
  border-color: #e7e7e7;
  color: #6c757d;
}

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

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

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

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

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

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


/* Spaltenanzahl je Breakpoint anpassen */
.members-columns { column-gap: 2rem; }
@media (min-width: 768px)  { .members-columns { column-count: 2; } }
@media (min-width: 1200px) { .members-columns { column-count: 3; } }

/* verhindert, dass ein Land in der Mitte getrennt wird */
.members-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 1rem;
}
.members-item h6 { margin-bottom: .25rem; }
.members-item ul { margin-bottom: 0; }