/* ------- CUSTOM CSS ------- */

/* ---- BODY Background ____ */
body {
    background-image: url(https://ban.fachbereichdesign-fh-dortmund.de/themes/custom/b5subtheme/background_left.png);
    background-color: #fff;
    background-position: left;
    background-repeat: repeat-y;
    font-family: "Work Sans" !important;
}
/* ----- Navigation ----- */
.navbar {
  font-family: "Space Grotesk" !important;
}
.navbar a:hover {
    color: #4142f2;
    background-color: #edfb50;
    text-decoration: none;
}
.dropdown-menu {
  --bs-dropdown-padding-y: 0 !important;
  --bs-dropdown-border-radius: 0px !important;
  --bs-dropdown-border-width: 0px !important;
  }
.dropdown-item.active {
  background-color: rgb(64, 62, 242);
}
/* ----- FONTS -----*/
@font-face {
  font-family: "Space Grotesk";
  src:
    local("Space Grotesk"),
    url("../fonts/SpaceGrotesk-Regular.woff2") format("woff2");
  font-weight: 600;
  font-style: bold;
}
@font-face {
  font-family: "Work Sans;
  src:
    local("Work Sans"),
    url("../fonts/WorkSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;)
  }
h1, .h1 {
    font-family: "Space Grotesk" !important;
    color: #004940 !important;
}
h2, .h2 {
  font-family: "Space Grotesk" !important;
  color: #004940 !important;
}
h3, .h3 {
  font-family: "Space Grotesk" !important;
  color: #004940 !important;
}
/* ---- Links ---- */
a {
  color: #000;
  text-decoration: underline !important;
}
a:hover {
    color: #01b888;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    text-decoration: underline;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: dotted;
    text-decoration-color: #01b888;
}
.node__links {
    text-align: right;
    display: inline-block;
    width: 100%;
    position: absolute;
    bottom: 10px;
}

/* ----- Buttons ---- */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #4142f2;
    --bs-btn-border-color: #4142f2;
    --bs-btn-hover-color: #4142f2;
    --bs-btn-hover-bg: #edfb50;
    --bs-btn-hover-border-color: #edfb50;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(10.4, 88, 202.4);
    --bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #4142f2;
    --bs-btn-disabled-border-color: #4142f2;
    font-family: "Space Grotesk";
}
/* ----- LAYOUT ----- */
.region-breadcrumb {
    padding-left: 0.5rem;
    padding-bottom: 1rem;
    padding-top: 2rem;
    font-family: 'Space Grotesk';
    position: relative;
}
.node__content {
    margin-top: 20px;
    display: block;
}
div.region-breadcrumb {
    display: block;
    position: relative;
    margin-bottom: 45px;
}
div#block-b5subtheme-breadcrumbs {
    width: fit-content;
    position: absolute;
    left: 0.rem;
    display:inline-block;
}
div#block-b5subtheme-dropdownlanguage {
    width: fit-content;
    position: absolute;
    right: 0;
    display:inline-block;
}
div#block-b5subtheme-dropdownlanguage .form-item {
    margin-top: 0;
    margin-bottom: 0;
}
div#block-b5subtheme-dropdownlanguage legend {
    display: none;
}
div#block-b5subtheme-page-title {
    margin-bottom: 30px;
}
.feed-icon {
    background: url(https://ban.fachbereichdesign-fh-dortmund.de/themes/custom/b5subtheme/feed_b5_2.png) no-repeat;
    width: 25px;
    height: 25px;
}
.colum-50-left {
    width: 49%;
    float: left;
    margin-right: 2%;
}
.colum-50-right {
    width: 49%;
    float: left;
}
.img-fluid {
    margin-bottom: 20px;
}
/* ----- NODE NBS EXAMPLE ----- */
div#colum-1 {
    width: 49%;
    float: left;
    margin-right: 2%;
}
div#colum-2 {
    width: 49%;
    float: left;
}
.field--name-field-image-nbs {
    margin-bottom: 30px;
}
/* ---- Footer ----*/
#block-b5subtheme-logosfooter img {
  max-height: 66px;
  width: auto;
}
#block-b5subtheme-logosfooter table {
    margin-bottom: 0rem !important;
    vertical-align: top !important;
    border-color: transparent !important;
}
div.region-footer ul.nav.navbar-nav {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}
div.region-footer .nav-item {
    display: inline-block;
    color: var(--bs-nav-link-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
div.region-footer {
  font-family: "Space Grotesk" !important;
}
div.region-footer a:hover {
    color: #4142f2;
    background-color: #edfb50;
    text-decoration: none;
}
/* --- TEASER LISTING NBS .../nature-based-solutions */
.views-row {
    display: block;
    width: 100%;
    float: left;
    position:relative;
}
div.view-nature-based-solutions {
}
div.view-nature-based-solutions .node__content {
    margin-bottom: 20px;
    border-bottom: 2px dotted #004940;
    float: left;
    padding-bottom: 30px;
    width: 100%;
    position: relative;
}
@media (min-width: 992px) {
div.view-nature-based-solutions .field--name-field-image-nbs {
    width: 32%;
    float: left;
    margin-right: 1.2%;
}
div.view-nature-based-solutions .field--name-field-challenges-problems-addres {
    width: 32%;
    float: left;
    margin-right: 1.2%;
}
div.view-nature-based-solutions .field--name-field-impact-success-indicators {
    float: left;
    width: 32%;
}
}
/* ----- TAXONOMY TERM AAND OTHER VIEWS ----- */
div.view-taxonomy-term .node__content {
    margin-bottom: 20px;
    border-bottom: 2px dotted #004940;
    float: left;
    padding-bottom: 30px;
    width: 100%;
    position: relative;
}
@media (min-width: 992px) {
div.view-taxonomy-term .field--name-field-image-nbs {
    width: 32%;
    float: left;
    margin-right: 1.2%;
}
div.view-taxonomy-term .field--name-field-challenges-problems-addres {
    width: 32%;
    float: left;
    margin-right: 1.2%;
}
div.view-taxonomy-term .field--name-field-impact-success-indicators {
    float: left;
    width: 32%;
}
}
div.view-partner .node__content {
    margin-bottom: 20px;
    border-bottom: 2px dotted #004940;
    float: left;
    padding-bottom: 30px;
    width: 100%;
    position: relative;
}
div.view-duplicate-of-partner .node__content {
    margin-bottom: 20px;
    border-bottom: 2px dotted #004940;
    float: left;
    padding-bottom: 30px;
    width: 100%;
    position: relative;
}
div.view-teacher .views-row {
    margin-bottom: 20px;
    border-bottom: 2px dotted #004940;
    float: left;
    padding-bottom: 30px;
    width: 100%;
    position: relative;
}
/* ----- ATTACHMENT ----- */
#attachment {
  float: right;
  position: relative;
  background-color: #01b888;
  padding: 10px;
  margin-left: 20px;
}
#attachment a:hover {
  color: #edfb50 !important;
}
