/*
    Use this stylesheet to modify the layout of your
    conference.
*/

:root {
    --conf-theme-header-bg: #1a64a0;
    --conf-theme-header-border-bottom: #0f4c80;
    --conf-theme-header-text: white;

    --conf-theme-subtitle-bg: #f5faff;
    --conf-theme-subtitle-border: #d5e4f1;
    --conf-theme-subtitle-text: #24425a;

    --conf-theme-menu-bg: #f6f6f6;
    --conf-theme-menu-border: #ccc;
    --conf-theme-menu-link: #275c86;
    --conf-theme-menu-selected: #bd891a;
    --conf-theme-menu-selected-bg: #dadada;
    --conf-theme-menu-selected-border: #d0d0d0;
    --conf-theme-hover-bg: #e0e0e0;
    --conf-theme-hover-color: var(--conf-theme-menu-link);

    --conf-theme-support-bg: #f6f6f6;
    --conf-theme-support-border: #ccc;
    --conf-theme-support-header-bg: #1a64a0;
    --conf-theme-support-header-text: #f3f3f3;
    --conf-theme-support-text: #aaa;

    --conf-theme-sprite-image: url('/images/conf/sprites_blue.png');

    --conf-theme-announcement-bg: #f5faff;
    --conf-theme-announcement-border: #c2d6e7;
    --conf-theme-announcement-text: #0f283d;
}

/* ======================================
   顶部布局
   ====================================== */
.confheader {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ======================================
   右侧菜单
   ====================================== */
.conf_leftMenu {
    float: right !important;
    width: 200px !important;
}
.confBodyBox {
    margin-left: 0 !important;
    margin-right: 230px !important;
}

.confTitle {
    width: 100%;
    margin: 0 auto;
}

/* ======================================
   标题区域：严格两行布局
   ====================================== */
.confTitleBox {
    text-align: center !important;
    background: #6097AD repeat-x 0 -24px;
}

/* 第一行：原有大会LOGO */
.confLogoBannerBox {
    display: block !important;
    margin-bottom: 8px !important;
    text-align: center !important;
}

/* 第二行：yanxinlogo + 标题文字 同一行 */
.confTitle h1 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
}

.conference-title-link {
    font-size: 27pt;
    display: block;
    padding: 25px 0;
    color: var(--conf-theme-header-text);
}

/* 图标：放在标题文字左边，同一行 */
.confTitle h1 a span span::before {
    content: "" !important;
    display: inline-block !important;
    width: 80px !important;
    height: 90px !important;
    background-image: url("/images/yanxinlogo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: middle !important;
}

.confTitle h1 a,
.confTitle h1 a span {
    display: inline !important;
    vertical-align: middle !important;
}