:root {
    /* --custom-primary: #853b23;
    --custom-secondary: #ec9b3e;
    --custom-success: #e5bb77;
    --custom-danger: #F44336;
    --custom-dark: #5b5b5b; */
    --custom-dark-opacity: #4c4c4ce6;
    --main-footer-logos-height: 60px;
    --custom-primary-lighter: #874834;
}


#mainBody{
    height: 100vh;
    object-fit: cover;
    overflow: clip;
}

/* SLIDER NA GLOWNEJ */
#photoSlider{
    overflow: hidden;
}
.slider-overlay {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.slider-overlay h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: rgba(40, 40, 40, 0.75) 0 0 20px;
}

.slider-overlay h2 {
    font-size: 1.5rem;
    text-shadow: rgba(40, 40, 40, 1) 0 0 20px;
}
.carousel-inner{
    height: 100%;
}
.carousel-item {
    transition: transform 0.5s ease, opacity 0.5s ease;
    height: 100%;
    width: 100%; 
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}
.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-indicators{
    position: absolute;
    bottom: 40%;
}
.carousel-control-prev, .carousel-control-next{
    position: absolute;
    top: -50%;
}

/* HEADERS */

.headerBackgroundPattern{
    background-color: #853b23;
    /* WYWALIĆ W PRODUKCJI TEN URL Z ../../  */
    /* background-image: url("/assets/images/pat_arabic2.svg"); */
    background-image: url("../../assets/images/pat_arabic2.svg");
    background-attachment: fixed;
}

header h1{
    text-shadow: rgba(40, 40, 40, 1) 1px 1px 5px;
}
header h3{
    text-shadow: rgba(30, 30, 30, 1) 1px 1px 5px;
}
#mission-logo{
    width: 64px;
    height: auto;
    text-shadow: rgba(30, 30, 30, 1) 1px 1px 5px;
}

iframe {
    border-radius: 5px;
    box-shadow: none;
    border: 0.05em solid #8a8a8a;
}

/* FOOTER I LOGA */

.logoBlendDarken{
    mix-blend-mode: darken;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.logoBlendDarken:hover{
    opacity: 75%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#jumbotronCurrentProject{
    mix-blend-mode: darken;
}

#footer-logotypes div{
    height: 60px;
    max-width: fit-content;
}

.img-logo{
    width: auto;
    height: 60px;
    transition: margin-bottom 0.3s;
}
.img-logo:hover{
    margin-bottom: 10px;
    transition: margin-bottom 0.3s;
}

/* FOOTER NA GŁÓWNEJ */
@media (max-width: 960px) {
    :root {
        --main-footer-logos-height: 50px;
    }
}
@media (max-width: 800px) {
    :root {
        --main-footer-logos-height: 40px;
    }
}

@media (max-width: 516px) {
    :root {
        --main-footer-logos-height: 30px;
    }
}
#footerMainWhiteStrip{
    background-color: white;
    opacity: .9;
}
#footer-logotypes-main{
    background-color: white;

}
#footer-logotypes-main div{
    height: var(--main-footer-logos-height);
    max-width: fit-content;
}
.footer-main-page{
    position: sticky;
    bottom: 0;
}
.footer-main-page .separatorHorizontalWhite{
    background-color: white;
    height: 0.05rem;
    opacity: 0.75;
    margin-bottom: 0.25rem;
}

.mainFooterLogoContainer img{
    height: var(--main-footer-logos-height);
    z-index: 1500;
    width: auto;
}
.mainFooterLogoContainer img:hover{
    margin-bottom: 10px;
    transition: margin-bottom 0.3s;
}

#footerInfoStrip{
    background-color: var(--custom-dark-opacity);
}

/* KONIEC FOOTERA MAIN */

.content-container{
    min-height: 100vh;
}

.staff-image{
    width: 60%;
    max-width: 280px;
    align-content: center;
    align-items: center;
}

.participant-row>dd{
    margin-bottom: 0px;
}
.other-participants-row>*{
    margin: 0;
    padding: 1%;
}

#hamiburak{
    position: relative;
    display: inline-block;
}
#hamiburak::before{
    content: "Dr. Jacek Hamburg";
    visibility: visible;
    opacity: 1;
}
#hamiburak::after{
    content: "Dr. Jacek Hamiburak";
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}
#hamiburak:hover::before{
    visibility: hidden;
    opacity: 0;
}
#hamiburak:hover::after{
    visibility: visible;
    opacity: 1;
}
.custom-tooltip {
    --bs-tooltip-bg: var(--bs-primary);
  }

.pdf-link-container{
    position: relative;
}
.publication-download-icon{
    position: absolute;
    height: auto;
    width: 100%;
    opacity: 50%;
    transition: 0.3s;
}

.publication-download-button:hover .publication-download-icon{
    opacity: 100%;
    transition: 0.3s;
}
.fake-link{
    color: var(--bs-primary);
    text-decoration: underline ;
}

/* LAYOUTY W SEKCJI SITE */

.layout-large {
display: contents;
}
.layout-small {
display: none;
}

@media (max-width: 992px) {
.layout-large {
    display: none;
}
.layout-small {
    display: contents;
}
}

/* NAVBAR */
.navbar{
    box-shadow: 0px 0px 15px rgba(40, 40, 40, 0.75);
}
.bg-dark-opacity{
    background-color: var(--custom-dark-opacity);
}

.nav-icon {
    display: inline-flex;
    justify-content: end;
    align-items: center;
    width: 20px;
    position: absolute;
    left: 0;
    margin-left: -24px;
    opacity: 0;
    transition: opacity 0.3s;

}

.nav-item:hover .nav-icon {
    opacity: 1;
}

.nav-item {
    position: relative;
}

#navbar-nav{
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.navbarNav{
    margin: auto 5%;
}

#navbarBrand {
    display: none;
}

@media (max-width: 992px) { 
#navbarBrand {
    display: block;
}
}

.navbar-collapse.show + .container-fluid #navbarBrand {
    display: none; 
}
.nav-item-active {
    text-decoration: underline ;
    text-underline-offset: 5px;
    color: white;
}
@media (min-width: 768px) {
    .animate {
      animation-duration: 0.3s;
      -webkit-animation-duration: 0.3s;
      animation-fill-mode: both;
      -webkit-animation-fill-mode: both;
    }
  }
  
     @keyframes slideIn {
    0% {
      transform: translateY(-1rem);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0rem);
      opacity: 1;
    }
  
  }

  
  @-webkit-keyframes slideIn {
    0% {
      -webkit-transform: transform;
      -webkit-opacity: 0;
    }
  
    100% {
      -webkit-transform: translateY(0);
      -webkit-opacity: 1;
    }
  
    0% {
      -webkit-transform: translateY(-1rem);
      -webkit-opacity: 0;
    }
  }
  
  .slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
  }

figure img {
    display: block;
    width: 100%;
    height: auto;
} 
figure {
    display: inline-block;
    margin: 0 auto;
} 

figcaption {
    max-width: 100%;
    word-wrap: break-word;
    padding: 0.5rem;
    border-top: 1px solid var(--bs-success);
}

.figure-container-200 {
    max-width: 200px;
    margin: 0 auto;
}
.figure-container-300 {
    max-width: 300px;
    margin: 0 auto;
}


.figure-container-400 {
    max-width: 400px;
}
.figure{
    display: inline-block;
}

.figure-image-vert500{
    max-height: 500px;
    width: auto;
}
.figure-image-vert400{
    max-height: 400px;
    width: auto;
}
 
.figure-image-vert300{
    max-height: 300px;
    width: auto;
}
.figure-image-vert200{
    max-height: 250px;
    width: auto;
}

.figure-container-50perc {
    max-width: 50%;
    margin: 0 auto;
    z-index: 1500;
}
.figure-container-40perc {
    max-width: 40%;
    margin: 0 auto;
    z-index: 1500;
}
.figure-container-30perc {
    max-width: 30%;
    margin: 0 auto;

}
.figure-container-20perc {
    max-width: 20%;
    margin: 0 auto;

}
.figure-container-600 {
    max-width: 600px;
    margin: 0 auto;
}
@media (max-width: 480px){
    #exploration-fig2-float{
        display: none;
    }
}
@media (min-width: 481px){
    #exploration-fig2-no-float{
        display: none;
    }
}

@media (max-width: 768px){
    .display-no-float-md {
        max-width: 100%;
        margin: 0 auto;
    }
    .figure-image-vert200, .figure-image-vert300, .figure-image-vert400, .figure-image-vert500 {
        max-height: none;
        /* width: 516px; */
        /* width: 100%; */
    }
    #exploration-fig3-float{
        display: none;
    }
}

#exploration-fig3-no-float{
    max-width: 100%;
    margin: 0 auto;   
}
@media (min-width: 769px){
    #exploration-fig3-no-float{
        display: none;
        
    }
}

@media (max-width: 992px){
    .display-no-float-lg {
        max-width: 90%;
        margin: 0 auto;
    }
}
#exploration-fig3{
    display: flexbox;
}

.pswp-gallery__item{
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pswp-gallery__item:hover{
    opacity: 75%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Zoomable Image Styles */

.zoom-container {
    overflow: hidden;
    position: relative;
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clickable-image:hover{
    cursor: zoom-in;
}

.clickable-badge{
    border: none;
    background-color: var(--bs-secondary);
}

.clickable-badge:hover{
    cursor: pointer;
    background-color: var(--bs-primary);
    transition: 0.3s;
}

/* PHOTOSWIPE GALERIA*/
  
.gallery img {
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.figure img {
    border-radius: 0px;
    box-shadow: none;
    border: 0.05em solid #8a8a8a;
}
  
.pswp {
    z-index: 10000;
}

.pswp__custom-caption {
    background: var(--bs-primary);
    font-size: 16px;
    color: #fff;
    width: calc(100% - 32px);
    max-width: 35%;
    padding: 2px 8px;
    border-radius: 4px;
    position: absolute;
    left: 66px;
    top: 16px;
    /* transform: translateX(-50%); */
}
@media (max-width: 480px){
    .pswp__custom-caption{
        max-width: calc(100% - 170px);
    }
}
.pswp__custom-caption a {
    color: #fff;
    text-decoration: underline;
}
.hidden-caption-content {
    display: none;
}

/* QUOTES */
blockquote {
    position: relative;
    text-align: left;
    padding: 0.5em 0 1em 38px;
    border: none;
    margin: 0px auto 0px;
    max-width: 1000px;
    width:100%;
    display: block;
    font-style:italic;
}

blockquote:after {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    position: absolute;
    left: 0;
    color: var(--bs-success);
    top: 0;
    background: -moz-linear-gradient(top,var(--bs-success) 0%,var(--bs-success) 60%,rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(top,var(--bs-success) 0%,var(--bs-success) 60%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom,var(--bs-success) 0%,var(--bs-success) 60%,rgba(255,255,255,0) 100%); 
}

blockquote:before {
    content:"\f10d";
    font-family: "fontawesome";
    font-size: 20px;
    display: block;
    font-weight: 400;
    color: var(--bs-success);
}

blockquote > cite, 
blockquote > p > cite {
    display: block;
    text-align: left;
    font-size: 16px;
    line-height: 1.3em;
    font-weight: 200;
    font-style: normal;
    margin-top: 1.1em;
    letter-spacing: 0;

}

