/* main.css */

@import url('https://fonts.googleapis.com/css?family=Roboto%7CRoboto+Slab');

* {
    border: 0;
    font: inherit;
    font-size: 1em;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    background-color: #fafafa;
    background-size: cover;
    background-attachment: fixed;
    color: #090909;
    text-align: justify;
    /* Changed to justify the text */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    margin: 0;
    /* keep this! */
    padding: 0;
    /* and this */
    overflow-x: hidden;
    /* prevents right scroll */
}


a {
    color: rgb(30, 107, 186);
    text-decoration: none;
}

a.current {
    color: #FFCC00;
}

a.current:hover {
    color: #E43D30;
}

a:hover {
    color: rgb(30, 107, 186);
    text-decoration: underline;
}

a:active {
    color: #e82945;
}

/* h1,h2,h3,h4{clear:left; color:  #00906c; margin:1.5em 0em 1em 0em; font-family: 'Futura', sans-serif; align:'center'; text-shadow: 1px 1px 2px #d0d0d0;} */
h1,
h2,
h3,
h4 {
    color: #00906c;
    margin: 1.5em 0em 1em 0em;
    font-family: 'Futura', sans-serif;
    text-align: center;
    /*text-shadow: 1px 1px 2px #d0d0d0;*/
}

h1 {
    font-size: 2.67em;
}

h2 {
    font-size: 2.00em;
    scroll-margin-top: 100px;
}

h3 {
    font-size: 1.67em;
}

h4 {
    font-size: 1.33em;
}

p {
    list-style: none;
    margin: 24px auto;
    padding: 0px;
    max-width: 900px;
    width: 100%;
    text-align: justify;
}

/* li a, p a {
    text-decoration: underline;
    text-decoration-color: #b8860b;
} */

ul {
    list-style-type: disc;
    margin: 24px auto;
    padding-left: 40px;
    max-width: 800px;
    width: 100%;
    text-align: left;
}

ul li {
    margin: 0;
    padding: 0;
    text-align: left;
}

i,
em {
    font-style: italic;
}

b,
strong {
    font-weight: bold;
}

sup {
    vertical-align: super;
    font-size: 0.8em;
    line-height: 0;
}

sub {
    vertical-align: sub;
    font-size: 0.8em;
    line-height: 0;
}

table {
    width: 100%;
    margin: 12px auto 24px auto;
}

th,
td {
    text-align: left;
}

.banner {
    /* background-color: #7d1111; */
    background: linear-gradient(90deg, #00906c 0%, #0977aacc 100%);

    /* red background that always spans full width */
    width: 100%;
    text-align: center;
}

.banner-content {
    max-width: 1000px;
    /* optional: to limit the size of the logo */
    margin: 0 auto;
}

.banner-content img {
    max-width: 100%;
    /* scales the image responsively */
    height: auto;
    display: block;
}





.content {
    background-color: #fafafa;
    margin: 0 auto;
    padding-top: 20px;
    /* if you want a little breathing room */
    max-width: 1000px;
    width: 90%;
    text-align: justify;
    /* make the text justified */
}

.content h2 {
    max-width: 900px;
    margin: 24px auto 1em auto;
}

.workshop {
    font-size: 2.33rem;
    color: #FFFFFF;
    line-height: 1.5em;
    /* text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px 0.5px 0 #000, 0.5px 0.5px 1px #000000; */
}

.title1 {
    color: #990000;
    /* text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px 0.5px 0 #000, 0.5px 0.5px 1px #c0c0c0; */
}

.title2 {
    color: #FFCC00;
    /* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 1px 1px 3px #c0c0c0; */
}

.year {
    color: #505050;
    font-size: 0.67em;
    font-weight: lighter;
}

table.navigation {
    width: 100%;
}

td.navigation {
    font-size: 1.67em;
    white-space: nowrap;
    width: 20%;
    text-align: center;
    vertical-align: middle;
    padding: 0;
}

table.sponsors {
    width: 100%;
}

td.sponsor {
    white-space: nowrap;
    width: 33%;
    text-align: center;
    vertical-align: middle;
    padding: 0;
}

td.sponsor img {
    width: 100%
}

td.room {
    padding: 4px 12px 4px 4px;
    width: 90%;
    vertical-align: bottom;
    font-size: 1.67em;
    color: #000000;
    height: 32px;
}

td.date {
    white-space: nowrap;
    width: 130px;
    text-align: right;
    vertical-align: top;
    padding: 4px 16px 0px 0px;
}

td.title {
    padding: 4px 12px 4px 4px;
    width: 90%;
    vertical-align: top;
    font-size: 1.5em;
    color: #990000;
    height: 32px;
    font-family: 'Futura', sans-serif;
    /*text-shadow: 1px 1px 2px #d0d0d0;*/
}

td.title-special {
    padding: 4px 12px 4px 4px;
    width: 90%;
    vertical-align: top;
    font-size: 1.67em;
    color: #000000;
    height: 32px;
    font-family: 'Futura', sans-serif;
    /*text-shadow: 1px 1px 2px #d0d0d0;*/
}

td.speaker {
    padding: 4px 12px 4px 4px;
    font-style: italic;
    font-size: 1em;
    max-height: 999999px
}

td.abstract {
    padding: 4px 12px 12px 4px;
    font-size: 1em;
    max-height: 999999px
}

td.abstract img {
    display: block;
    margin: 4px auto 8px auto
}

table.plenary {
    padding-top: 8px;
    background: #ffffff;
}

iframe.registration,
iframe.directions {
    display: block;
    margin: 1em auto 2em auto;
    width: 100%;
    height: auto;
    border: none;
}

img.center {
    display: block;
    width: 100%;
    margin: 1em auto 2em auto;
}

table.flyers {
    width: 100%;
}

td.flyer {
    white-space: nowrap;
    width: 50%;
    text-align: center;
    vertical-align: middle;
    padding: 0;
}

td.sponsor img {
    width: 100%
}

footer {
    font-size: 0.875em;
    margin-top: 12em;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    body {
        font-size: 1em;
        margin: 0;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1em;
    }

    td.navigation {
        font-size: 1.5em;
        padding: 0 5px;
    }

    p,
    ul {
        padding: 0 10px;
    }

    td.room,
    td.title,
    td.title-special,
    td.speaker,
    td.abstract {
        font-size: 1em;
    }

    iframe.registration,
    iframe.directions {
        height: auto;
    }

    img.center {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    ul {
        padding-left: 1.5em;
        /* or 2em if you prefer a little more space */
        margin-left: auto;
        margin-right: auto;
    }

    ul li {
        padding-left: 0.5em;
        /* optional: tweak if bullets feel cramped */
    }
}




.navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    /* border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px; */
    width: 100%;
    background: linear-gradient(90deg, #00906c 0%, #0977aacc 100%);
    /* margin: 5px auto; */
    padding: 0.25em 0;
    /* Adjust as needed for a thinner look */
    display: flex;
    /* Turn navbar into a flex container */
    justify-content: center;
    /* Center its child (the navigation div) */
    align-items: center;
    /* Center vertically, if needed */
}

/* Remove the max-width constraint if you want the navigation items to span full width,
   or keep it if you prefer the content to be contained */
.navbar .navigation {
    font-family: 'Futura', sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1em;
    row-gap: 0.1em;
    /* Reduced gap between rows */
    padding: 0;
    font-size: 1.5em;
    text-align: center;
}



.navigation a {
    padding: 0.25em 0.75em;
    text-decoration: none;
    white-space: nowrap;
    color: #ffffff;
}

.navigation a.current {
    color: rgb(255, 255, 255);
}

.navigation a:hover {
    color: #01567e;
}

/* Styles for Important Dates table */
.important-dates {
    margin: 2em auto;
    max-width: 900px;
    width: 100%;
    border-collapse: collapse;
}

.important-dates th,
.important-dates td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.important-dates th {
    background-color: #00906c;
    color: #fff;
}

/* Styles for University Logos section */
.university-logos {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 2em auto;
    max-width: 1000px;
    /* or 100% if you want to match `.content` */
    width: 100%;
    gap: 12px;
}


.university-logos img {
    height: auto;
    width: 100%;
    object-fit: contain;
    flex: 1 1 0;
}


.university-logos>div {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.organizer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    /* all in one row */
    gap: 20px;
}

.organizer-link {
    flex: 1;
    min-width: 0;
    /* prevents overflow issues */
    text-decoration: none;
}

.organizer-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    width: 100%;
    /* Ensures card fills the link area */
    height: 100%;
}

.organizer-link:hover .organizer-card {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.organizer-card img {
    width: 100%;
    height: 180px;
    max-width: 180px;
    /* avoids hi-res oversized images */
    border-radius: 25%;
    object-fit: cover;
    image-rendering: smooth;
    /* smooth scaling */
}

/* .organizer-info h3, */
.organizer-info h3 {
    font-size: 1em;
    /* keep organizer name as normal or adjust */
    font-weight: bold;
    text-align: center;
    color: #000000b9;
    margin-bottom: 4px;

}

.organizer-info p {
    font-size: 0.75em;
    /* smaller university text */
    text-align: center;
    margin: 0;
    color: #555;
}


.speakers-section {
    padding: 0;
    text-align: center;
}

.speakers-section h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: #990000;
    font-family: 'Futura', sans-serif;
}

.speaker-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    padding: 0 20px;
    align-items: stretch;
    /* This ensures cards align vertically */
}

.speaker-link {
    flex: 1 1 200px;
    max-width: 200px;
    display: flex;
    text-decoration: none;
    color: inherit;
    padding: 0;
    /* Make sure there's no internal padding */
}

.speaker-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    width: 100%;
    /* Ensures card fills the link area */
    height: 100%;
}

.speaker-link:hover .speaker-card {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}


.speaker-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    /* soft rounded corners */
    margin-bottom: 12px;
}

.speaker-card-special img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    /* soft rounded corners */
    margin-bottom: 12px;
}


.speaker-info h3 {
    font-size: 1.2em;
    margin: 0;
    color: #333;
}

.speaker-info p {
    font-size: 0.95em;
    color: #666;
    margin-top: 4px;
}

table.schedule {
                    width: 100%;
                    border-collapse: collapse;
                    margin-bottom: 2em;
                    font-family: Arial, sans-serif;
                }

                table.schedule td {
                    padding: 6px 10px;
                    vertical-align: top;
                }

                table.schedule tr:nth-child(even) {
                    background-color: #f9f9f9;
                }

                td.time {
                    text-align: right;
                    white-space: nowrap;
                    font-weight: bold;
                    width: 150px;
                }

                .title {
                    font-weight: bold;
                    font-size: 1.05em;
                    margin-bottom: 2px;
                }

                .speaker {
                    font-style: italic;
                    color: #555;
                    margin-left: 10px;
                    display: block;
                }

                .special {
                    background-color: #ffe4b5;
                    font-weight: bold;
                    font-style: normal;
                    color: #000;
                }