/* Strip layout. Loaded after cnbiz-poll.css. A cached copy of that file
   still pins the strip with position:fixed, so these rules are more specific. */
body .cnbiz-poll-promo[data-promo="strip"] {
    position: relative;
    z-index: 2;
    top: auto;
    left: auto;
    right: auto;
    display: block;
    margin: 0;
}
@media (max-width: 782px) {
    body.admin-bar .cnbiz-poll-promo[data-promo="strip"] { margin-top: -46px; }
}
@media (min-width: 783px) {
    body.admin-bar .cnbiz-poll-promo[data-promo="strip"] { margin-top: -32px; }
}
html.cnbiz-poll-strip-hold .cnbiz-poll-promo[data-promo="strip"] { display: none !important; }
body .cnbiz-poll-strip {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    direction: rtl;
    min-height: 44px;
    max-height: 44px;
    padding: 0 12px;
    background: #1f6b4a;
    color: #fff;
    color-scheme: light;
    white-space: nowrap;
    overflow: hidden;
}
body .cnbiz-poll-strip p {
    margin: 0;
    flex: 1 1 auto;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body .cnbiz-poll-strip-pair { display: contents; }
body .cnbiz-poll-strip a,
body .cnbiz-poll-strip button {
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 999px;
    min-height: 32px;
    padding: 0 10px;
    text-decoration: none;
    cursor: pointer;
}
html[data-theme="dim"] body .cnbiz-poll-strip {
    background: #143528 !important;
    color: #f3faf6 !important;
    color-scheme: dark;
}
html[data-theme="dim"] body .cnbiz-poll-strip p,
html[data-theme="dim"] body .cnbiz-poll-strip a,
html[data-theme="dim"] body .cnbiz-poll-strip button {
    color: #f3faf6 !important;
}
html[data-theme="dim"] body .cnbiz-poll-strip a,
html[data-theme="dim"] body .cnbiz-poll-strip button {
    background: transparent !important;
    border-color: #f3faf6 !important;
}
@media (min-width: 768px) {
    body .cnbiz-poll-strip { position: relative; }
    body .cnbiz-poll-strip > button { margin-inline-start: auto; }
    body .cnbiz-poll-strip-pair {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        direction: rtl;
        position: absolute;
        left: 50%;
        top: 0;
        height: 44px;
        max-width: calc(100% - 96px);
        transform: translateX(-50%);
        white-space: nowrap;
    }
    body .cnbiz-poll-strip-pair p { flex: 0 1 auto; }
}
