:root {
    --tu_green: #639a00 ;
    --rub_green: #8dae10 ;
    --rub_blue: #17365c ;
}

:not(body.logged-in) .create{
    display:none;
}

#internal .row{
    width:100%;
    margin:auto;
    margin-bottom:5vw;
}

#gradschool .background-wrapper-white, #imprint .background-wrapper-white, #science .background-wrapper-white, #phd_guidelines .background-wrapper-white {
    background-color: rgb(255, 255, 255, 0.75);
}

#gradschool .sub-container, #imprint .sub-container, #project_detail .sub-container, #science .sub-container, #phd_guidelines .sub-container{
    width:80%;
    text-align: justify;
}

button:focus {
    outline: none !important;
}

.required_field:after {
  content:" *";
  color: black;
}

.news_container {
    padding: 2vw;
    background-color: rgb(255, 255, 255, 0.75);
    display: flex;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
    top:0;
    margin:auto;
    margin-top:0;
    margin-bottom:3vh;
    width:80%;
    scroll-margin-top: max(55px, 3.2vw);
}

#publicationsTable{
    scroll-margin-top: max(200px, 13.2vw);
}

.news_container h5{
    margin-top:0 !important;
    margin-bottom: 1vw;
}

a.news{
    float:left;
    position:-webkit-sticky;
    position:sticky;
    width: 30%;
    display: block;
    align-self: flex-start;
    top: max(40px, 4.5vw);
    margin-top:max(40px, 4.5vw);
}

.news_content {
    text-align:justify;
    padding: 3vw;
    padding-top:0;
    padding-right:1vw;
    width: 70%;
    float: left;
}

.copyright_floating_container {
    position: relative;
}   

.copyright_floating {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    font-size: 12px;
}

.copyright_floating a {
    color: white;
    text-decoration: none;
}

.background-wrapper-white {
    width: 80%;
    margin: 0 auto;
    float: none;
    background-color: rgb(255, 255, 255, 0.75);
    min-height: 600px;
    margin-bottom: 30px;
    padding-top: min(50px, 10vh);
    padding-bottom: min(30px,7.5vh);
}

.cim-fellows-introduction, .inner-content, .content-section, .news_content, .inner-content a, .inner-content p, #imprint .sub-container, #science .sub-container{
    font-size: max(min(1.4vw, 25px), 17px);
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: justify;
}

.word_break_all a{
    word-break:break-all;
}

.a{
    font-size:max(100px, 1.6vw);
}

.inner-content{
    margin-bottom:2vh;
    background-color: rgb(255, 255, 255, 0.75);
    padding-left:1vw;
    padding-right:1vw;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}

.w3-image{
    height:auto;
    max-height:150%;
}


.btn {
    background-color: lightgrey;
    border-color: #e2e2e2;
    color: var(--rub_blue)
}

.btn:hover {
    background-color: #e2e2e2;
    border-color: #e2e2e2;
    color: var(--tu_green)
}


body {
    background: #000000;
    color: #fafafa;
    margin-top: 0rem;
    font-size: 130%;
    background: #000000;
    color: #fafafa;
    margin-top: 0rem;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: var(--rub_blue);
}

.inline-block {
    display: inline-block;
}

a:hover {
    color: var(--tu_green);
    text-decoration: none;
}

p {
    margin-bottom: 0rem !important;
}

h1, h2, h3, h4, h5, h6, h7 {
    color: #fafafa;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
}

h1 {
    font-weight: bold;
    font-size: max(min(2.2vw, 45px), 22.5px);
}

h2 {
    font-size: max(min(1.8vw, 36px), 18px);
    color: black;
    font-weight: bold;
}

h3 {
    font-size: max(min(1.4vw, 35px), 17.5px);
}

h4 {
    font-weight: bold;
    font-size: max(min(1.3vw, 30px), 15px);
    color: white;
}

h5 {
    font-size: max(min(1.6vw, 34px), 17px);
    color: black;
    font-weight: bold;
    text-align: center;
}

h6 {
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: max(min(3vw, 45px), 22.5px);
}

.impr_h1 {
    font-size: max(20px, 3vw);
    color: black;
    font-weight: bold;
}

.impr_h2{
    font-size: max(18px, 2.3vw);
    color: black;
    font-weight: bold;
}

.impr_h3 {
    font-size: max(15px, 1.4vw);
    color: black;
    font-weight: bold;
}

ul {
    margin: 0;
}

.bg-steel {
    background-color: var(--rub_blue);
}

.content-section {
    background-color: rgb(255, 255, 255, 0.90);
    padding: 3vw;
    border-radius: 3px;
    width:100%;
}

#internal .content-section {
    background-color: rgb(255, 255, 255, 0.0);
}

.article-title {
    color: var(--rub_blue);
    margin-top: 30px
}

a.article-title:hover {
    color: var(--rub_green);
    text-decoration: none;
}

.article-content {
    white-space: pre-line;
}

.article-img {
    height: 65px;
    width: 65px;
    margin-right: 16px;
}

.article-metadata {
    padding-bottom: 1px;
    margin-bottom: 4px;
    border-bottom: 1px solid darkgrey;
}

.article-metadata a:hover {
    color: var(--rub_green);
    text-decoration: none;
}

.article-svg {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.account-img {
    height: max(30%,250px);
    width: min(30%,250px);
    margin-right: max(10%,20px);
    margin-bottom: max(5%,20px);;
}

.account-heading {
    text-align: left;
    font-size: max(min(2.7vw, 85px), 25px);
    overflow-wrap: anywhere;
    hyphens: auto;
}

.wrapper_header {
    float:right;
    margin: 0px auto 0px auto;
    width: 100%;
    height: auto;
    position: relative;
    display:flex;
}

.wrapper_main {
    margin: 0px auto 0px auto;
    width: 85%;
}

.container_video{
    width: 1920px;
    overflow: hidden;
    display: block;
    height: 1080px;
}

#ORM {
    position: fixed;
    right: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}


.header {
    display:block;
    height: auto;
    float:left;
    overflow:auto;
    background-color: rgb(0, 0, 0, 0.7)!important;
    padding-bottom: 1.3vw;
    width:100%;
}

.header-text {
    flex: .74;
    text-align: center;
    position: relative;
    width: 100%;
    z-index: 5;
    height: auto;
}

#dfg_logo {
    max-width: 100%;
    opacity: 0.8;
    display: block;
    margin: auto;
}

.wrapper_logo{
    position: relative;
    width: 20%;
    height: auto;
}

.wrapper_logo .logo {
    position: absolute;
    display: flex;
    z-index: 9;
    height: auto;
}

.wrapper_logo .logo-text {
    position: absolute;
    display: inline-block;
    z-index: 10;
}

.wrapper_logo .logo-text:hover .logo_img {
    display: inline-block;
    transition: 1.8s ease;
    margin-left: 70%;
}

.wrapper_logo .logo img {
    width: 40%;
    margin-left: 30%;
    margin-top: 5%;
    object-fit: contain;
}

.wrapper_logo .logo-text img {
    width: 34%;
    margin-top: 13.7%;
    margin-left: 47%;
    object-fit: contain;
}

#navbar_top {
    margin-right: 5%;
    overflow: visible;
    background-color: rgb(0, 0, 0, 0);
    height: auto;
    min-height: 25px;
    display:block;
    float:right;
}

#navbar_top a {
    float: right;
    color: #f2f2f2;
    text-align: center;
    padding: 5px 10px;
    text-decoration: none;
    font-size: max(14px, 0.8vw);
}

#navbar_top a:hover {
    background-color: #ddd;
    color: black;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    z-index: 10;
    width:100%;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.navbar_wrapper{
    display:block;
}

.navbar a {
    font-size: max(18px, 1.2vw);
    color: white;
    text-align: center;
    padding: 18px 10px;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown > a{
    padding: 0px 0px;
}

.navbar-collapse{
    text-align: right;
    flex-grow: 0 !important;
}

.nav_item{
    padding: 14px 0.2vw;
    margin: 0;
}

.dropdown .dropbtn {
    font-size: max(19px,1.2vw);
    border: none;
    outline: none;
    color: white;
    padding: 14px 10px;
    background-color: inherit;
    font-family: inherit;
    margin: auto;
}

#navbarSupportedContent .hoveritem:hover, .dropdown:hover .dropbtn, .dropdown:active .dropbtn  {
    background-color: rgb(255, 255, 255, 0.75) !important;
    color: black !important;
}

#navbarSupportedContent a:hover{
    color: black !important;
}

.pagination {
    font-size: 135% !important;
}

.dropdown-content {
    white-space: nowrap;
    display: none;
    position: absolute;
    color: black !important;
    background-color: rgb(255, 255, 255, 0.75);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    width: auto;
    height: auto;
}

.dropdown-content a {
    color: black !important;
    padding: 12px 10px;
    text-decoration: none;
    display: block;
    text-align: right;
    background-color: rgba(192,192,192,0.65);
}

.dropdown-content a:hover {
    background-color: rgb(155, 155, 155, 1);
    color: black;
}

.dropdown:hover .dropdown-content, .dropdown:active .dropdown-content {
    display: block;
}

img.sticky {
    position:-webkit-sticky;
    position:sticky;
    width: 100%;
    align-self: flex-start;
}

.copyright {
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding-top: 12px;
}

.footer_wrapper_copyright {
    overflow: hidden;
    left: 0;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(to bottom, rgb(155, 155, 155, 0.75), rgb(0, 0, 0, 0.85));
    color: white;
    text-align: center;
}

.footer_wrapper_uni_logos {
    overflow: hidden;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgb(155, 155, 155, 0.75);
    color: white;
    text-align: center;
}

.uni_logos{
    left: 0;
    bottom: 0;
    color: white;
    text-align: center;
    padding-top: 5vh;
}

.uni_logos img {
    opacity: 1;
    height: max(7vh,70px);
    max-height: 100%;
    max-width: 100%;
    width:auto;
    object-fit: contain;
    padding:5px;
}

.uni_logos a{
    padding:5%
}

.title-padding{
    padding-top: 25px;
    width:80%;
    margin:auto;
}

.main-container-inner {
    padding-top: 3.0vw;
    width: 80%;
    margin: 0 auto;
    float: none;
}

.main_container {
    max-width: 100%;
    
}

.text-align-center {
    text-align: center;
    background-color: rgb(0, 0, 0, 0.85);
}

.pic-hover-trans {
    opacity: 1;
}

.pic-hover-trans:hover .img-hover {
    transition: 0.7s ease;
    opacity: 0.5;
    
}

.home-content{
    margin-top:5vh;
}



.w3-row, .w3-col{
    font-size:0;
    padding:0;
}

#contact .w3-row, #contact .w3-col{
    font-size:max(15px, 1.4vw);
    padding:0;
    margin-bottom:2vw;
}

#contact .w3-half{
    display: flex;
    height:100%;
}

#contact .w3-card-4{
    position:relative;
    background-color:rgb(255, 255, 255, 0.75);
    height:100%;
    width:100%;
}

#contact .background-wrapper-white{
    background-color:rgb(255, 255, 255, 0);
    padding:0;
}

#contact p{
    text-align:left;
    padding-top:2.5vw;
}

#contact .w3-container h1{
    min-height: 20%;
    color:black;
    padding:2vw;
}

.footer-main {
    background-image: linear-gradient(to bottom, rgb(255, 255, 255, 0.0), rgb(155, 155, 155, 0.75));
}

/* Fixed/sticky icon bar (vertically aligned 60% from the top of the screen) */
.icon-bar {
    position: fixed;
    top: 60%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* Style the icon bar links */
.icon-bar a {
    display: block;
    text-align: center;
    padding: 1vh;
    transition: all 0.3s ease;
    color: white;
    font-size: max(15px,1.3vw);
}

/* Style the social media icons with color, if you want */
.icon-bar a:hover {
    background: #000;
    cursor:pointer;
}

.twitter:hover{
    background:rgb(30,30,30) !important
}

.facebook {
    background: #3B5998;
    color: white;
}

.twitter {
    background: rgb(0,0,0);
    color: white;
}

.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    color: white;
}

.linkedin {
    background: #0077B5;
    color: white;
}

.breadcrumb-wrapper{
    width: 80%;
    text-align: center;
    margin-left:10%;
    padding-top:2vw;
}
/* Style the list */
ul.breadcrumb {
    width: 80%;
    text-align: center;
    list-style: none;
    background-color: rgb(255, 255, 255, 0.0);
    margin-bottom: 0rem;
}

/* Display list items side by side */
ul.breadcrumb li {
    display: inline;
    font-size: max(20px, 1.3vw);
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
    padding: 8px;
    color: white;
    content: "/\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
    color: white;
    text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
    text-decoration: underline;
}

.bottom-top-fade-container {
    background-image: linear-gradient(to top, rgb(155, 155, 155, 0.75), rgb(255, 255, 255, 0.0)350px);
    min-height: calc(100vh - 347.1px);
}

.top-bottom-fade {
    background-image: linear-gradient(to top, rgb(255, 255, 255, 0.0), rgb(155, 155, 155, 0.80)270px);
    width: 100%;
    min-height: 600px;
}

.sub-container {
    margin: auto;
    width: 100%;
    color: black;
    text-align: inherit;
    display: grid;
    overflow: visible;
}

.sub-container-outer {
    width: 90%;
    color: black;
    display: block;
    overflow: auto;
    float: right;
}

.cim-fellows .sub-container-outer, .members .sub-container-outer, .projects .sub-container-outer {
    width: 80%;
    margin:auto;
    float:none;
}

#science .sub-container-outer {
    width: 100% !important;
}

#project_detail .sub-container-outer{
    width: 100%;
}

.cim-fellows .center, .members .center {
    width: 80%;
}

.clear {
    clear: both;
}

.table th, .table td {
    vertical-align: middle !important;
}

.table-borderless > tbody > tr > td {
    border: none;
}

.table_head {
    background-color: rgb(0, 0, 0, 0.8);
    color: white;
    font-size: max(1.0vw, 15px);
}

.table-hover tbody tr:hover td:not(#no-bg-color), .table-hover tbody tr:hover th {
    background-color: rgb(255, 255, 255, 0.45);
}

.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,0)
}

.table thead th {
    border-bottom: black;
    border-top: none;
    padding-top: 0.6vw;
    padding-bottom: 0.6vw;
}

div.container {
    width: 80%;
}

.table {
    position:relative;
    margin:auto;
    margin-bottom:3vw;
    width:100%;
    
}

table.dataTable {
    position:relative;
    margin:auto;
    table-layout: fixed;
    margin-bottom:3vw;
    width: 100%;
}

.action-column {
    width: 150px;  /* Set a specific width for the actions column */
    white-space: nowrap;  /* Prevent wrapping of the buttons */
}

/* Adjust button size to ensure they fit within the action column */
.action-column .btn {
    padding: 5px 10px;
    margin: 2px;
    font-size: 12px;
}

.meter{height:10px;background:rgba(0,0,0,.08);border-radius:6px;overflow:hidden}

.meter>span{display:block;height:100%;width:0;background:var(--bs-primary,#0d6efd);border-radius:6px}


/* Stacked bar: make the container actually take the cell's width */
.stacked-meter{
  display: flex;
  width: 100%;              /* take the whole column width */
  min-width: 16rem;         /* optional: keep the column readable */
  height: 12px;
  background: rgba(0,0,0,.08);
  border-radius: 6px;
  overflow: hidden;
}

/* Each segment must honor its % width and not shrink away */
.stacked-meter .seg{
  flex: 0 0 auto;           /* do NOT shrink; use the given width% */
  height: 100%;
  display: block;
}
.ads-legend span{ margin-right: 1rem; font-size: .875rem; }
.ads-legend .swatch{
  display:inline-block; width:12px; height:12px; border-radius:3px;
  margin-right:.35rem; vertical-align:middle;
}
.header_expansion{
    visibility: hidden;
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

.pagination a.active {
    background-color: rgb(0, 0, 0, 0.8);
    color: white;
}

.pagination a:hover:not(.active) {
    background-color: rgb(255, 255, 255, 0.75);
}

.center {
    text-align: center;
    margin: auto;
}


.filter {
    background-color: rgb(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 2.5%;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
    width:80%;
    margin: auto;
    margin-bottom:3vw;
}

/* Style the tab */
.tab {
    float: left;
    width: 25%;
    padding-right: 1%;
}

#internal .btn {
    font-size: 1.1rem !important;
}
/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
    font-size: max(16px, 1.4vw);
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: rgb(255, 255, 255, 0.85);
}

/* Create an active/current "tab button" class */
.tab button.active {
    background-color: rgb(255, 255, 255, 0.4);;
}

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 0px 12px;
    width: 75%;
}

.tablinks {
    border-radius: 10px;
    font-size: max(22px,2vh) ;
    margin:auto;
}



.no-border {
    border: none;
}

.width_1_9 {
    width: 11.111%!important;
}

.width_11_27 {
    width: 40.740%!important;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.icon_text{
    font-size:max(14px, 1.2vw);
}

.no_padding_item {
    padding: 0px 3px;
}

.breadcrumb {
    padding: .75rem 0rem !important;
}

legend{
    font-size: max(1.7vw, 20px);
    border-bottom: 1px solid lightgrey !important;
}


.board-text{
    width: 80%;
    margin: auto;
    margin-bottom:5vh;
}


.board-text{
    width: 80%;
    margin: auto;
    margin-bottom:5vh;
}

.project-img{
    width: 100%;
    /*object-fit:scale-down !important;*/
    position: relative !important;
    height: calc(19.5vw*2/3) !important;*/
}

.project-img .w3-image{
    position:relative !important;
    width: 100% !important;
    height: 100% !important;
}

.w3-quarter{
    padding: 1.2vw;
    padding-top: 2vh !important;
}

@media only screen and (max-width: 600.98px){
    .project-img{
        width: 100%;
        position: relative !important;
        height: calc(85vw*2/3) !important;*/
    }
}

/* News slideshow on home page */
.carousel{
    width: 100%;
    margin-top: 5vh;
    padding: 0.01em 16px;
    color: rgb(0,0,0);
}

.carousel .news_container,.carousel-inner {
    height: max(250px,20vh,15vw); /* keep only container height */
}

.carousel-inner{
    width: 100%;
}

.carousel .news_container{
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.7);
    min-height: 0;
    padding:0;
}

.line-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;        /* prevents flexbox from stretching the box */
}

.carousel .news_content{
    background: rgba(255,255,255,0) ;
    color: #fafafa;
    padding-right:2vw;
    padding-left:2vw;
    padding-top:1vw;
    padding-bottom:1vw;
    overflow: hidden;     /* hides anything beyond max height */
    display: flex;
    flex-direction: column;
    height: auto;                 /* let content size naturally */
    max-height: 100%; /* container height limit */
    margin: 0;
    position:relative;
}

.news_text_block, .line-clamp{
    min-height: 0;
}

.news_text_block {
    position: relative;
    overflow: hidden;

    /* Stronger fade at the very bottom */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 85%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 85%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.carousel img, .carousel a.news_slider{
    position: relative;
    max-height: max(17vw,240px,17vh);
}

.carousel img{
    object-fit: scale-down;
    display: inline-block;
    padding: 1vh;
    padding-right:0;
    width: auto;
    max-width: 100%;
}

.carousel a.news_slider{
    position: relative;
    float: left;
    width: 30%;
    display: inline-block;
    top: 0;
    margin-top: 0;
}

.carousel .news_container {
    padding: 0;
}

.carousel h5{
    font-size: max(20px,1.6vw);
    margin-top: 1vh;
    margin-bottom: 1vh;
    max-height:40%;
    color: #fafafa;
    max-width: 100%;
}

.carousel span{
    max-height: 10%;
    width: 100%;
}

.carousel p{
    width: 100%;
}

.carousel .news_text_block a{
    color: inherit;
    text-decoration-line: underline;
    /*font-weight: bold;*/
}

.carousel .news_text_block a:hover{
    color: rgba(255,255,255,0.7) !important;
}

.carousel-item {
    min-height: 0;
    overflow: hidden;
}


.carousel-indicators {
    top: max(255px,21vh,16vw);
}

.carousel-control-next{
    width: 10%;
    justify-content: flex-start;
}

.carousel-control-prev{
    width: 10%;
    justify-content: flex-end;
}

.carousel-control-prev-icon {
    width: 2.5vw;
    height: 2.5vw;
    margin-right: 5%;
}

.carousel-control-next-icon {
    width: 2.5vw;
    height: 2.5vw;
    margin-left: 5%;
}

.carousel-indicators li{
    width:2.5vw;
    height:1.0vh;
}

.carousel .copyright_floating_container{
    position: relative;
    bottom: 0;
    right: 0;
    width:100%;
}

.carousel .copyright_floating{
    position:absolute;
    bottom:1vh;
    line-height: 9px;
    font-size: 9px !important;
}


.carousel_image {
  position: relative;
  display: inline-block;
}

.news_title{
    max-height: 25% !important;
    width:100%;
}

.news_date{
    max-height:15% !important;
    width:100%;
}

.news_content a.btn.read-more {
    color: rgba(0,0,0,0.7)!important;
    background-color:rgba(255,255,255,0.45)!important;
    border-color:transparent;
    bottom: 4vh;
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0.1rem 0.3rem;       /* smaller vertical & horizontal padding */
    font-size: calc(0.7*max(min(1.4vw, 25px), 17px));         /* slightly smaller text */
    border-radius: 999px;        /* full pill shape */
}

.news_content a.btn.read-more:hover {
    color: rgba(0,0,0,0.8)!important;
    background-color:rgba(255,255,255,0.60)!important;
}

.form_comment{
    font-size: max(11px, 1vw)!important;
}

.copyright a{
    color: white;
}

#Archive{
    scroll-margin-top: max(55px, 3.2vw);
}

.cf_hr{
    margin-top:5vh;
    border-width:1px;
    border-color:lightgray;
}

.cim-fellows_wrapper{
    min-height:0 !important;
    padding-top:1vw;
    padding-bottom:2vw;
}

.cim-fellows .news_container, .members .news_container{
    width: 80%;
    padding:0;
    padding-top: 2vw;
}

.unselectable {
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

#internal ul{
    margin-top:1vh;
}

.custom-control-label::before{
    background-color:#fff;
}


/* Extra small devices (portrait phones, less than 576px) and Small devices (landscape phones, less than 768px)*/
@media only screen and (max-width: 767.98px) {
    .navbar-collapse{
        flex-grow: 1 !important;
    }
    
    
    .table {
        overflow-x: auto;
        white-space: nowrap;
    }

    .dataTable {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
        background-color: rgb(255, 255, 255, 0.45);
    }
    
    td a .btn:hover{
        background-color:rgba(192,192,192,0.65);
    }
    
    .container{
        max-width:none;
    }
    
    .breadcrumb-wrapper{
        margin-left:5%;
    }
    
    .breadcrumb{
        padding:0;
        padding-left:3vw;
    }
    
    #ORM{
        display:none;
    }
    
    .header{
        padding-bottom: 0vw;
        background-color: rgb(0, 0, 0, 0.85)!important;
    }
    
    #internal .col{
        margin-bottom:5vw;
    }
    
    #internal .row{
        width:100%;
        margin:auto;
        display:block;
        margin-bottom:5vw;
    }
    
    .tab button {
        display: flex;
        font-size: max(22px, 1.9vw);
    }
    
    .profile .tab, #internal .tab{
        display:flex;
        float: none;
        width: 100%;
        margin:auto;
        padding-right: 0%;
    }
    
    .tabcontent {
        float: left;
        padding: 3vw;
        padding-top: 5vw;
        width: 100%;
    }
    
    .tablinks {
        display:flex;
        margin:auto;
        border-radius: 10px;
        align-items: center;
    }
    
    button i{
        position:relative;
        margin:auto;
    }
    
    .icon_text{
        display:none;
    }
    
    .w3-card-4{
        width: 100%;
        margin: auto;
    }
    
    .main-container-inner {
        width: 90%;
    }
    
    #gradschool .sub-container, #imprint .sub-container, #contact .sub-container, #project_detail .sub-container, #science .sub-container, #phd_guidelines .sub-container {
        width:100%;
    }
    
    #contact .w3-row, #contact .w3-col{
        margin-bottom:0;
    }
    
    #contact .w3-half{
        margin-bottom:5vw;
    }
    
    #contact .w3-container{
        padding:0;
    }
    
    #contact p{
        padding:5vw 5vw;
    }
    
    #contact .h-100{
        height:auto!important;
    }
    
    .filter {
        width: 100%!important;
    }
    
    .form{
        width: 100%;
    }
    
    .cim-fellows .sub-container-outer, .members .sub-container-outer, .projects .sub-container-outer, .travels .sub-container-outer, #science .sub-container-outer, .sub-container-outer {
        width: 100%;
    }
    
    .cim-fellows .center, .members .center{
        width:100%;
    }
    
    .cim-fellows .sub-container{
        width:90% !important;
        margin:auto;
    }
    
    .cim-fellows .news_container{
        width:100%;
    }
    
    .cim-fellows_wrapper{
        margin-bottom:2vh !important;
        margin-top:2vw !important;
    }
    
    .table{
        margin:auto;
        margin-top:2vw;
        margin-bottom:2vw;
        width:100%;
    }

    .dataTable{
        margin:auto;
        margin-top:2vw;
        margin-bottom:2vw;
        width:100%;
    }

    
    .header_expansion{
        display:block;
    }
    
    .icon-bar {
        display:none;
    }
    #home .icon-bar {
        display:block;
    }
    
    .header-text{
        display:none
    }
    .wrapper_logo{
        display:none
    }
    
    .navbar-brand .logo {
        display: grid;
        object-fit: contain;
    }
    
    .navbar {
        text-align: left;
        position: sticky;
        position:-webkit-sticky;
        align-items: normal;
        justify-content: space-between;
    }
    
    .navbar-brand-wrapper{
        margin-left:5%;
        width:max(20%, 100px);
    }
    
    .navbar-brand-wrapper img{
        width:100%;
        height:auto;
        object-fit: contain;
    }
    
    .navbar-toggler {
        border-color: rgb(0, 0, 0, 0) !important;
        margin-right: 5%;
        color: rgba(255, 255, 255, 1) !important;
        
    }
    
    .dropdown:hover .dropdown-content, .dropdown:active .dropdown-content {
        display: block;
        text-align: right;
        position: relative;
    }
    
    .dropdown-content{
        max-height:300px;
        overflow-y:scroll; max-height:300px;
    }
    
    .no_padding_item {
        padding: 0px 10px;
    }
    
    .title-padding{
        display: none;
        width:90%;
    }
    
    .news_container {
        width: 100%;
        padding: 0.0vw;
        top: 0;
        margin-bottom: 5vh;
        background-color: rgb(255, 255, 255, 0.0);
        display: block;
        box-shadow: 0 4px 10px 0 rgba(0,0,0,0),0 4px 20px 0 rgba(0,0,0,0);
        margin: auto;
        scroll-margin-top: max(105px, 16vw);
    }
    
    #publicationsTable{
        scroll-margin-top: max(210px, 13.2vw) !important;
    }
    
    .news_content {
        padding: 3.0vw;
        width: 90%;
        float: none;
        display:block;
        background:rgba(255,255,255,0.85) ;
        margin:auto;
        margin-top:0;
        margin-bottom:2vh;
    }
    
    #science .sub-container {
        display: block;
    }
    
    .sub-container {
        margin: 0.0vw;
        padding-top:0.0vw;
        width: 100%;
        color: black;
        display: grid;
        overflow: visible;
    }
    
    .background-wrapper-white{
        width: 90%;
        max-width:90%;
        padding:3.0vw;
        margin: auto;
        float: none;
        min-height: 600px;
        margin-bottom: 5vh;
        text-align:justify;
    }
    
    img.sticky > a{
        object-fit: cover;
        margin: auto;
    }
    
    a.news{
        position: relative;
        float:none;
        margin:auto;
        width: 90%;
        top:0;
        overflow:hidden;
        
    }
    
    .board-text{
        width: 100%;
    }

    .carousel-inner {
        width: 90%;
        margin: auto;
    }

    .carousel h5 {
        font-size: max(20px, int(2vw));
        margin-top: 1vw;
        margin-bottom: 1vw;
    }

    .carousel .news_content {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        padding-top: int(2vw);
        padding-bottom: int(2vw);
        display: flex;
        flex-direction: column;
    }

    .news_text_block {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    .line-clamp {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 0;
    }

    .carousel img,
    .carousel a.news_slider {
        display: none;
    }

    .carousel-control-next {
        width: 5%;
        justify-content: flex-start;
    }

    .carousel-control-prev {
        width: 5%;
        justify-content: flex-end;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5vw;
        height: 2.5vw;
    }

    .carousel-indicators {
        top: max(255px, 21vh);
    }

    .carousel-indicators li {
        width: 2.5vw;
        height: 1.0vh;
    }
}

    

.header-text_768_992 {
    display: none;
}
/* Medium devices (tablets, less than 992px) */
@media only screen and (min-width:768.00px) and (max-width: 991.98px) {
    .navbar-collapse{
        flex-grow: 1 !important;
    }
    
    .header_expansion{
        visibility: hidden;
    }
    
    .container{
        max-width:none;
    }
    
    h6 {
        font-size: max(25px, 4.2vw);
    }

    h3 {
        font-size: max(18px, 2vw);
    }
    
    .header{
        padding-bottom: 0vw;
        background-color: rgb(0, 0, 0, 0.85) !important
    }
    
    .header-text {
        display: none;
    }
    
    .header-text_768_992 {
        display: block;
        margin-right: auto;
    }
    
    .wrapper_logo{
        display:none
    }
    
    .wrapper_header{
        justify-content: center;
        position: absolute;
        margin-top: 1.9rem
    }
    
    .navbar-brand .logo {
        display:grid;
        object-fit: contain;
    }
    
    .navbar-brand-wrapper{
        margin-left:5%;
        width:15%;
        height:auto;
        margin-right: auto;
    }
    
    .navbar-brand-wrapper img{
        width:100%;
        height:auto;
        object-fit: contain;
    }
    
    .navbar-toggler {
        border-color: rgb(0, 0, 0, 0) !important;
        margin-right: 5%;
        color: rgba(255, 255, 255, 1) !important;
        margin-left: auto;
        padding-left: -0.1rem !important;
    }
    
    .dropdown:hover .dropdown-content, .dropdown:active .dropdown-content {
        display: block;
        text-align: right;
        position: relative;
    }
    
    .no_padding_item {
        padding: 0px 10px;
    }
    
    .breadcrumb-wrapper {
        padding-top: 0rem;
    }
    
    .news_container{
        scroll-margin-top: max(100px, 12vw) !important;
    }
    
    #publicationsTable{
        scroll-margin-top: max(250px, 27vw) !important;
    }
}

/* Large devices (desktops, less than 1200px) */
@media only screen and (min-width:992.00px) and (max-width: 1199.98px) {
    
    .navbar-brand {
        display:none
    }
    
    .navbar {
        text-align: center;
        justify-content: center;
    }
    
    .navbar{
        padding:0;
        padding-left:15vw;
        padding-right:15vw;
    }
}

/* Extra large devices (large desktops)*/
@media only screen and (min-width:1200.00px) and (min-width: 1200.00px) {
    
    .navbar{
        padding:0;
        padding-left:15vw;
        padding-right:15vw;
    }
    
    .navbar-brand {
        display:none
    }
    
    .navbar {
        text-align: center;
        justify-content: center;
    }
}
