*,
*:after,
*:before {
    box-sizing: border-box;
}

html,
body {
    font-family: "Shree Devanagari 714", Arial, sans-serif !important;
    line-height: 1.5;
    color: black;
}

/* Allow to jump to headers that are visible even if the nav-bar is overlaying them */
h1::before,
h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
    content: "";
    display: block;
    height: 75px;
    margin-top: -75px;
    visibility: hidden;
}

li {
    margin: 5px 0px;
}

.content {
    padding: 50px 10px !important;
}

.blue-background {
    background: linear-gradient(#003399, #3C79B5);
    color: white;
    text-align: center;

    padding: 20px 0 20px 0;
}

.container {
    margin: 0 auto 0 auto;
    padding: 20px 10px;
    width: 100%;
    max-width: 900px;
    min-width: 100px;
}

.wide {
    width: 100%;
    max-width: 2500px;
    min-width: 100px;
}

.borders {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.contact-header{
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.contact {
    display: flex; 
    justify-content: center;
    margin-top: 20px;
}

.footer {
    text-align: center;
    margin: 20px 0 20px 0;
}


.logos {
    margin: 0 auto 0 auto;
    padding: 10px 5px;

    display: block;
    text-align: center;

    width: 100%;
    min-width: 100px;
}

.space {
    display: inline-block;
    width: 10px;
}

#efre-logo,
#uni-logo,
#dmir-logo,
#geo-logo,
#caidas-logo,
#fernerkundung-logo,
#fernerkundung-text
{
    display: inline-block;
    vertical-align: middle;
}


#uni-logo {
    width: 120px; 
}

#dmir-logo {
    width: 100px;
}
#caidas-logo {
    width: 150px;
}
#geo-logo {
    width: 180px;
}

#fernerkundung-logo {
    width: 60px;
}

#fernerkundung-text {
    width: 180px;
}

#efre-logo {
    width: 280px;
}


p {
    text-align: justify;
    text-justify: inter-word;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 150%;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    /* color: #FFCC00; */
    color: #003399;
}

.news_item {
    margin: 30px 0;
}

.news_date {
    display: inline;
    font-size: 50%;
    color: #555;
    padding: 5px 5px 3px 5px;
    border-radius: 10px;
}

.read_more {
    color: #003399;
    text-align: right;
}

.news_date_standalone {
    font-weight: bold;
    text-align: right;
    padding: 10px 0;
}

.news_images {
    position: relative;
}

.image_navigation_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
}

.image_wrapper_nav {
    flex: 1;
    min-width: 0;
}

.news_image_container {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    text-decoration: none;
    cursor: pointer;
    position: static;
    width: auto;
    padding: 16px;
    color: black;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 3px;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

/* Show background box only on individual arrow hover */
.prev:hover, .next:hover {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
  }

/* On hover, add a darker background */
.prev:hover, .next:hover {
    background-color: #e0e0e0;
    color: #333;
  }



/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

.news_image {
    width: 100%;
}

img {
    width: 100%;
}

/* NAVIGATION */

.navigation {
    list-style-type: none;
    margin: 0;
    font-size: 115%;
    background-color: #003399;
    border-top: 1px solid #0043c9;
    border-bottom: 1px solid #002774;
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* max-width: 900px; */

}

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

.nav-item-link, .nav-item-link-drop {
    display: inline-block;
    color: white;
    padding: 5px 12px;
    text-decoration: none;
    transition: 0.2s ease all;
    text-align: left
}

.nav-item-link:hover, .nav-item-drop:hover .nav-item-link-drop {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
  }

.nav-item-drop {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content .nav-item-link {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

.dropdown-content .nav-item-link:hover {background-color: #f1f1f1;}

.nav-item-drop:hover .dropdown-content {
  display: block;
}


/* .navigation {
    margin: 0;
    list-style: none;
    background: #003399;
    font-size: 115%;
    text-align: center;
    border-top: 1px solid #0043c9;
    border-bottom: 1px solid #002774;

    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation .nav-item {
    display: inline-block;
    margin: 0;
}


.navigation .nav-item-link {
    display: inline-block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: 0.2s ease all;
}

.navigation .nav-item-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #003399;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-menu .nav-item-link-drop {
    color: white;
    list-style: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }

.nav-item:hover .dropdown-menu {
    display: block;
} */



  



/* PARTNER BigData@Geo*/

.partners_bdgeo1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.partner_bdgeo1_item {
    min-width: 100px;
    width: 20%;
    padding: 10px;
    /* border: 1px solid #eee; */

    text-decoration: none;
    text-align: center;

    transition: 0.2s ease all;
    background: white;
}

.partner_bdgeo1_item:hover {
    transform: scale(1.03);
    box-shadow: 0 3px 5px 0 #eee;
}

.partner_bdgeo1_name {
    margin-bottom: -5;
}

.partner_bdgeo1_location {
    /* margin: 5px; */
    text-align: center;
    color: #999;
}


/* PARTNER */
.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.partner_item {
    min-width: 200px;
    width: 33%;
    padding: 15px;
    /* border: 1px solid #eee; */

    text-decoration: none;
    text-align: center;

    transition: 0.2s ease all;
    background: white;
}

.partner_item:hover {
    transform: scale(1.03);
    box-shadow: 0 3px 5px 0 #eee;
}

.partner_name {
    margin-bottom: 0;
}

.partner_location {
    margin: 10px;
    color: #999;
}

.image_wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 133%;
}

.partner_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.member_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: sepia(100%) hue-rotate(185deg);
}

/* INFO CARDS */
.info_card {
    background: white;
    display: block;
    padding: 15px;
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 8px;

    margin: 10px 0 10px 0;

    transition: 0.2s ease all;
}

.info_card:hover {
    transform: scale(1.01);
    box-shadow: 0 3px 5px 0 #eee;
}

.info_title {
    margin-top: 5px;
    margin-bottom: 5px;
}

.info_title > a {
    text-decoration: none;
}

.info_date {
    color: #999;
    font-size: 75%;
}

.info_image {
    object-fit: scale-down;
    aspect-ratio: 16 / 9;
    margin-bottom: 5px;
}

.margin-top {
    margin-top: 30px;
}


/* EVENTS */
.event_item {
    padding: 7px 0;
    border-bottom: #eee 1px solid;
}

.event_item:last-child {
    border-bottom: none;
}

.event_item .title {
    display: block;
}

.event_item .image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 5px;
}



blockquote {
    padding: 5px;
    margin: 5px 0;
    text-align: center;
}

blockquote {
    position: relative;
    text-align: center;
}

blockquote p::before {
    content: "\f106";
    font-family: "Genericons";
    font-size: 300%;
    font-style: normal;
    font-weight: 400;
    line-height: .6;
    opacity: .4;

    position: absolute;
    right: 100%;
    top: 0;
}

blockquote p {
    display: inline-block;
    position: relative;

    font-size: 150%;

    width: 100%;
    max-width: 500px;

    margin: 5px 0 5px 70px;
    padding: 0 0 0 10px;

    text-align: left;
    color: #aaa;
}


/* Image Caption */
/* 
    Is declared as an image, then the caption in asterisks, without any blank lines in between.
    Also works, if the image is a link to something.
*/
img + em,
a + em {
    display: block;
    margin-top: 0;
    padding: 10px;
    color: #777;

    text-align: center;

    font-size: 75%;
}


/* Klimabericht Links */
#search_results {
    padding-top: 10px;
}

.klimabericht_links {
    display: flex;
    gap: 10px;
    width: 100%;
}

.klimabericht_link {
    padding: 10% 0 10% 0;
    width: 50%;
    text-align: center;
    background-color: #003399;
    color: white;
    text-decoration: none;
}

.klimabericht_link:hover {
    color: white;
    background-color: #002774;
}

/* Klimabericht Search */
#search_form {
    display: flex;
    width: 100%;
}

#search_field {
    flex-grow: 1;
    padding: 5px;
    border: 1px solid #aaa;
    border-right: none;
    outline: none;
}

#search_button {
    padding: 5px 10px;
    background-color: #003399;
    color: white;
    outline: none;
    border: none;
    cursor: pointer;
}

.answer_block {
    padding: 10px;
    margin: 5px 0 5px 0;
    background-color: #eee;
}

.answer_block .answer {
    font-weight: bold;
}

.answer_block a {
    display: block;
    text-align: right;
}


/* columns */
.column {
    float: left;
    width: 50%;
    }

.row:after {
content: "";
display: table;
clear: both;
}

/* Responsive design for image navigation */
@media (max-width: 768px) {
    .image_navigation_container {
        gap: 10px;
    }
    
    .prev, .next {
        min-width: 40px;
        height: 40px;
        padding: 12px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .image_navigation_container {
        flex-direction: column;
        gap: 15px;
    }
    
    .image_wrapper_nav {
        order: 2;
    }
    
    .prev {
        order: 1;
    }
    
    .next {
        order: 3;
    }
}