/* Custom CSS */


/*--------------------------------*/

/* Header widget */

/*--------------------------------*/


/* Widget text and background */
#top #header #header_main .widget {
    line-height: 14px;
    color: #ffffff;
    background: transparent;
    width: 40%;
    margin: auto;
    position: relative;
    font-size: 1.3em;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

#top #header #header_main .widget.widget_custom_html {
    padding: 0 !important;
    height: 80%;
}

/* start here */

.speaker-row {
    margin: auto;
    display: flex; /* Enables Flexbox */
    flex-direction: row; /* Aligns children horizontally (default) */
    align-items: stretch; /* Forces children to have equal height (default) */
    gap: 0; /* Adds space between your divs */
    color: white;
    background: #1a366f;
}
.speaker-row:hover {
    color: white;
}

.speaker-row:hover {
    color: inherit;
    text-decoration: inherit;
}

.speaker-row a {
    color: white;
    text-decoration: inherit;
}

.speaker-col--left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0.4em;
    position: relative;
}

.speaker-top {
    flex: 1;
    font-weight: 600;
    color: white;
}

.speaker-bottom {
    position: absolute;
    bottom: 0;
    flex: 1;
    font-weight: 400;
    font-size: 90%;
    color: white;
}

.speaker-col--middle {
    background-color: transparent;
}

img.speaker-image {
    height: 5em;
    object-fit: cover;
}

.speaker-col--right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.speaker-col--right .speaker-top {
    margin: 0.6em;
}

.speaker-bottom--right {
    text-align: right;
}

.parent {
    position: relative;
    width: 40%;
    margin: auto;
    background-color: #1a366f;
    font-size: 1.3em;
    font-family: 'Montserrat', sans-serif;
}

/* DropDown Menu */
/* 1. The Anchor */
.menu-wrapper {
    position: relative;
    display: inline-block;
}

/* 2. The Button */
.menu-button {
    background-image: linear-gradient(to top, #135d99, #0877ec);
    border: 0;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* 3. The Menu (Hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;             /* Aligns to the right, expands left */
    top: 100%;            /* Appears exactly below the button */
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid #ddd;
    white-space: nowrap;
    font-size: smaller;
}

/* 4. The Links */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;       /* Forces one row per link */
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* 5. The Logic: Show menu when hovering the wrapper */
.menu-wrapper:hover .dropdown-content {
    display: block;
}

