/* --- Popup (modal) --- */
.modaloverlay {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(2,6,23,.9);
    z-index: 50
}
.icon-btn
{
    background-color:transparent;
}

.modaloverlay[aria-hidden="false"] {
    display: grid
}

.modalpopup {
    width: min(700px, 92%);
    background-color: var(--primary-color);
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    transform: translateY(8px) scale(.98);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.modaloverlay[aria-hidden="false"] .modalpopup {
    transform: none;
    opacity: 1
}

.searchbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 12px;
    padding: .85rem 1rem
}

    .searchbar input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        color: var(--text);
        font-size: 1rem;
        letter-spacing: .2px;
    }

        .searchbar input::placeholder {
            color: var(--muted)
        }

    .searchbar button {
        background: var(--accent);
        color: #03122b;
        font-weight: 700;
        border: none;
        border-radius: 10px;
        padding: .6rem .9rem;
        cursor: pointer;
        box-shadow: 0 0 0 0 var(--ring);
        transition: box-shadow .2s ease, transform .06s ease;
    }

        .searchbar button:hover {
            box-shadow: 0 0 0 6px var(--ring)
        }

        .searchbar button:active {
            transform: translateY(1px)
        }

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

    .modal-head h2 {
        color: #fff;
    }

.close {
    background: #fff;
    border: 1px solid rgba(148,163,184,.25);
    color: var(--text);
    padding: .45rem .6rem;
    border-radius: 10px;
    cursor: pointer;
    font-size:30px;
}

.results {
    margin-top: 14px;
    font-size: .9rem;
    color: var(--muted)
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

/* Small demo content area */
.fake-content {
    margin-top: 18px;
    line-height: 1.6;
    color: #cbd5e1
}

.fake-pill {
    display: inline-block;
    padding: .35rem .6rem;
    border: 1px solid rgba(148,163,184,.25);
    border-radius: 999px;
    margin: .25rem
}
/* Ticker Styling */
.ticker-wrapper.has-js {
padding: 0px 0px;
width: 650px;
height: auto;
overflow:hidden;
display: block;
background-color: #ffffff;
font-size: 0.75em;
}
.ticker {
    width: 580px;
    height: 23px;
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}
.ticker-title {
    padding-top: 9px;
    color: #990000;
    font-weight: bold;
    background-color: #ffffff;
    text-transform: uppercase;
}
.news-item-link {
    color: var(--primary-color) !important;
}

.ticker-content {
    margin: 0px;
    position: absolute;
    color: #1F527B;
    font-weight: 500;
    background-color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.2em;
}

.ticker-content a {
text-decoration: none;
color: #1F527B;
}
.ticker-content a:hover {
text-decoration: underline;
color: #0D3059;
}
.ticker-swipe {
    padding-top: 9px;
    position: absolute;
    top: 0px;
    background-color: #ffffff;
    display: block;
    width: 670px;
    height: 23px;
}
    .ticker-swipe span {
        margin-left: 1px;
        background-color: #ffffff;
        border-bottom: 1px solid #1F527B;
        height: 12px;
        width: 7px;
        display: block;
    }
.ticker-controls {
padding: 8px 0px 0px 0px;
list-style-type: none;
float: left;
}
.ticker-controls li {
padding: 0px;
margin-left: 5px;
float: left;
cursor: pointer;
height: 16px;
width: 16px;
display: block;
}
.ticker-controls li.jnt-play-pause {
background-image: url('../images/controls.png');
background-position: 32px 16px;
}
.ticker-controls li.jnt-play-pause.over {
background-position: 32px 32px;
}
.ticker-controls li.jnt-play-pause.down {
background-position: 32px 0px;
}
.ticker-controls li.jnt-play-pause.paused {
background-image: url('../images/controls.png');
background-position: 48px 16px;
}
.ticker-controls li.jnt-play-pause.paused.over {
background-position: 48px 32px;
}
.ticker-controls li.jnt-play-pause.paused.down {
background-position: 48px 0px;
}
.ticker-controls li.jnt-prev {
background-image: url('../images/controls.png');
background-position: 0px 16px;
}
.ticker-controls li.jnt-prev.over {
background-position: 0px 32px;
}
.ticker-controls li.jnt-prev.down {
background-position: 0px 0px;
}
.ticker-controls li.jnt-next {
background-image: url('../images/controls.png');
background-position: 16px 16px;
}
.ticker-controls li.jnt-next.over {
background-position: 16px 32px;
}
.ticker-controls li.jnt-next.down {
background-position: 16px 0px;
}
.js-hidden {
display: none;
}
.no-js-news {
padding: 10px 0px 0px 45px;
color: #F8F0DB;
}
.left .ticker-swipe {
/*left: 80px;*/
}
.left .ticker-controls, .left .ticker-content, .left .ticker-title, .left .ticker {
float: left;
}
.left .ticker-controls {
padding-left: 6px;
}
.right .ticker-swipe {
/*right: 80px;*/
}
.right .ticker-controls, .right .ticker-content, .right .ticker-title, .right .ticker {
float: right;
}
.right .ticker-controls {
padding-right: 6px;
}
