body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}

body, html {
    height: 100%;
    line-height: 1.8;
    max-width: 1500px;
    margin: 0 auto;
}

a {
    color: #0c3c60;
}
/* Style The Dropdown Button */
.dropbtn {
    background-color: white;
    color: #0e212a;
    padding: 10px;
    padding-bottom: 4px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-bottom: 2px white solid;

}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;

}

.dropdown a {
    text-decoration: none;
}
/*/////////// gallery NEW /////////////////////////////////////////////////*/

.collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
    gap: 10px;
}

.collage-item {
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
}

.collage-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

/* ----------------------------------------- */

.gallery-section {
    margin-bottom: 30px;
}
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gallery-item {
    flex: 1 1 calc(16% - 10px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
    position: relative;
    margin: auto;
    top: 0;
    display: flex;
    justify-content: center; /* Wyśrodkowanie w poziomie */
    align-items: center; /* Wyśrodkowanie w pionie */
    height: 100vh; /* Wysokość modalnego okna na 100% ekranu */
    max-width: 80%;
}

.modal-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 55px;
    cursor: pointer;
    padding: 50px;
}
.prev {
    left: 0;
}
.next {
    right: 0;
}


/*/////////// gallery NEW /////////////////////////////////////////////////*/

div.gallery {
    border: 1px solid #ccc;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: auto;
}

div.desc {
    padding: 10px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

.responsive {
    padding: 0 6px;
    float: left;
    width: 20%;
}



























.photo{
    min-width: 200px;
}








/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    /*background-color: rgba(255,255,255,0.9);*/
    background-color: rgb(250,250,250);
    min-width: 280px;
    box-shadow: 8px 18px 16px 0px rgba(0,0,0,0.4);
    z-index: 1;

}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-left: solid 3px rgb(250,250,250);

}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: white; font-weight: bold; color:slategrey; border-left: solid 3px slategrey;
    transition-property: background-color, border-left;
    transition-duration: 0.8s;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn  {
    font-weight: revert; color:black; border-bottom: 2px black solid;
    transition: all 0.8s;
}



.dropbtn a{
    color: black;
    text-decoration: none;
}

.dropbtn a:hover{
    color: black;
    text-decoration: none;
}

/* Full height image header */
.bgimg-1 {
    background-position: center;
    background-size: cover;
    background-color: white;
    /*background-image: url("../img/top_bg_it4innovations.png");*/
    min-height: 80%;
    transition: 0.9s;
    transition-duration: 0.9s;
    transition-timing-function: linear;
    transition-delay: 1.6s;

}

.w3-bar .w3-button {
    padding: 14px 8px;
    font-size:12px;


}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1vw;
    width: 70%;
}

.speakers_table {

    border-collapse: collapse;
    width: 100%;
}

.speakers_table td, #speakers_table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.hotels_picture{
    padding: 0px 20px 0px 0px;
    margin-right:20px;
    border-right: solid 4px #0c3c60;
}

.hotels a{
    text-decoration: none;
    font-weight: bolder;
}

.speakers_table tr:nth-child(even){background-color: #f2f2f2;}

.speakers_table tr:hover {background-color: #ddd; border: 1px solid black;}

.speakers_table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4CAF50;
    color: white;
}

/* Create a sticky/fixed navbar */


#navbar {
    /*overflow: hidden;*/
    overflow:  visible;
    max-width:100rem;
    margin:0px;
    padding:0px;
    /*padding: 10px 10px; !* Large padding which will shrink on scroll (using JS) *!*/
    transition: 0.6s; /* Adds a transition effect when the padding is decreased */
    position: fixed; /* Sticky/fixed navbar */
    width: 100%;
    top: 0; /* At the top */
    z-index: 98;
}

/* Style the logo */
#navbar #logo {
    font-size: 45px;
    font-weight: bold;
    transition: 0.6s;
    padding: 14px 5px 0px 5px;


}


#menu {
    transition: 0.6s; /* Adds a transition effect when the padding is decreased */
    margin-top:40px;
    font-size: 1em;
}

#menu2 {
    transition: 0.6s; /* Adds a transition effect when the padding is decreased */
    padding: 14px 24px 0px 24px;
    font-size: 45px;

}

/* Display some links to the right */
#navbar-right {
    float: right;
}


@media screen and (max-width: 580px) {
    #logo {
        padding: 14px !important;
    }

}

.speakers_photo {
    width:16.6%;
    max-width: 800px; /* Maximum width */
    margin: 0 auto; /* Center it */
}

.speakers_photo .content {
    position: absolute; /* Position the background text */
    bottom: 0; /* At the bottom. Use top:0 to append it to the top */
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
    color: #f1f1f1; /* Grey text */
    width: 100%; /* Full width */
    padding: 20px; /* Some padding */
}

.speaker_photo {
    width: 16.6%;
    height: 16.6%;
    border: solid 1px white;

}

.speaker_photo:hover {

    filter: brightness(120%);
    transition: 1s;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    opacity: 0%;
    color: #fff;
    text-align: center;
    padding: 5px 0px;

    width: 100%;
    top: 80%;
    left: 0px;
    margin-left: 0px; /* Use half of the width (120/2 = 60), to center the tooltip */
    font-size: smaller;

    transition: visibility 1s;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 100%;
    transition: opacity 1s;

}


.uk-article-meta{
    color:black;
}


#sponsors {
    margin: 0 auto;
}

#sponsors td {
    padding: 20px 20px;
    border:none;
}

#sponsors img {
    max-width: 100px;

}

#sponsors a {
    border: none;
}

.program td {
    vertical-align: top;
}

.program ol {
    margin-top: 0;
    margin-bottom: 8px;
}

.program ul {
    margin: 0;
}
