/*
Template: ultranews
Theme Name: un-elbadil
Version: 1212111455553335555
*/

body {
    --rainbow-line: linear-gradient(to right, #f76570 0%, #f76570 8%, #f3a46b 8%, #f3a46b 16%, #f3a46b 16%, #ffd205 16%, #ffd205 24%, #ffd205 24%, #1bbc9b 24%, #1bbc9b 25%, #1bbc9b 32%, #14b9d5 32%, #14b9d5 40%, #c377e4 40%, #c377e4 48%, #f76570 48%, #f76570 56%, #f3a46b 56%, #f3a46b 64%, #ffd205 64%, #ffd205 72%, #1bbc9b 72%, #1bbc9b 80%, #14b9d5 80%, #14b9d5 80%, #14b9d5 89%, #c377e4 89%, #c377e4 100%);
}

body {
    background-color: #F5F5F5;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAQAAAD8IX00AAAAEUlEQVR42mNgaABCIIBSYCYAHZUCgQMnsKsAAAAASUVORK5CYII=');
    background-attachment: fixed;
}

@media (max-width: 557px) {
    body {
        --glob-gap: 30px;
    }
}

#site {
    max-width: 1130px;
    margin: 0px auto;
}

#site-main {
    background-color: #FFFFFF;
}

#site-footer {
    margin-top: 0px !important;
}

@media (min-width: 558px) {
    .container {
        --bs-gutter-x: 3em !important;
    }
}

[data-cell-type="time_now"] {
    white-space: nowrap;
}

#site-header {
    padding-top: 3px;
    border-top: none;
}

#site-header::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    height: 3px;
    background-image: var(--rainbow-line);
}

#site-footer {
    border-bottom: none;
    border-top: 5px solid var(--site-color);
}

/* news ticker */

.breaking-news-outer {
    display: flex;
    align-items: center;
}

.ticker-wrapper {
    flex-grow: 1;
}

.breaking-news { display: none;}

.ticker-wrapper.has-js{margin:0;padding:0px;height:40px;display:block;overflow:hidden;position:relative;}@media (min-width: 480px){.controls-is-active .ticker-wrapper.has-js{padding-right:70px}}.ticker{width:100%;height:40px;display:block;position:relative;overflow:hidden}.ticker-content{display:none;left:10px;line-height:40px;position:absolute;background-color:#ffffff;overflow:hidden;white-space:nowrap;word-wrap:normal;text-overflow:ellipsis;max-width:calc(100% - 10px);width:auto}.top-nav-dark .ticker-content{background-color:#2c2e32}.ticker-content:focus{outline:none}.ticker-content.is-paused{-webkit-transform:none !important;-ms-transform:none !important;transform:none !important}.ticker-swipe{position:absolute;top:0px;left:10px;display:block;width:calc(100% - 10px);height:40px}.ticker-swipe span{margin-left:1px;height:40px;width:7px;display:block}.ticker-swipe span:after{content:"_"}.ticker-content,.ticker-swipe{background-color:#ffffff}.top-nav-dark .ticker-content,.top-nav-dark .ticker-swipe,.box-dark-skin .ticker-content,.box-dark-skin .ticker-swipe{background-color:#2c2e32}.breaking-news-nav{position:absolute;left:0;padding-right:8px;list-style-type:none;display:flex;align-items:center;gap:0.3em;font-size:1.4em;height:40px;padding:4px;}.breaking-news-nav li{cursor:pointer;}.ticker-dir-left .ticker-content,.ticker-dir-left .ticker{float:left}.ticker-dir-right .ticker-content,.ticker-dir-right .ticker{float:right}

.ticker-content, .ticker-swipe {
    left: auto;
    right: 10px;
    background-color: transparent;
}

.ticker-swipe, .breaking-news-nav {
    background-color: #F5F5F5;
}

.breaking-news-nav {
    display: none;
}

.breaking-news-nav li:hover {
    color: var(--site-color);
}

.breaking-news-label {
    padding: 0px 1em;
    height: 40px;
    line-height: 40px;
    background-color: #e0383d;
    color: #FFFFFF;
}

.breaking-news-label span {
    display: none;
}

@media (min-width: 558px) {
    .breaking-news-label i { display: none; }
    .breaking-news-label span { display: block; }
    .breaking-news-nav { display: flex; }
}

/* header */

#site-header .content-layout .content-layout-row:first-child {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background-color: #F5F5F5;
}

#site-header .content-layout .content-layout-row:first-child .content-layout-row-inner {
    --row-padding: 0px;
}

[data-layout="header_layout_desktop"] .content-layout-row:nth-child(2) .content-layout-row-inner {
    min-height: 110px;
}

#site-header [data-cell-type^="menu_"] {
    margin-top: calc(var(--row-padding) * -1);
    margin-bottom: calc(var(--row-padding) * -1);
    align-self: normal;
}

#site-header .nav-menu,
#site-header .nav-menu > ul,
#site-header .nav-menu > ul > li {
    display: flex;
    align-items: unset;
    flex-grow: 1;
}

#site-header .nav-menu > ul > li > a {
    border-radius: 0px;
    transition: color 0.2s, background-color 0.3s;
}

#site-header .nav-menu > ul > li:hover > a {
    background-color: var(--site-color);
    color: #FFFFFF !important;
}

#site-header .nav-menu > ul > li > a::after {
    display: none;
}

#site-header .nav-menu ul ul {
    border-top: 2px solid var(--site-color);
}

#site-header .nav-menu ul ul ul {
    top: calc(-2em - 2px);
}

/* featured posts */

.featured-posts {
    --post-gap: 5px;
    --post-column-width: 300px;
}

.post-loop-meta {
    font-size: 0.8em;
    opacity: 0.7;
}

.post-loop-meta .post-meta-item-icon {
    display: block;
}

.widget.hide-meta .post-loop-meta {
    display: none;
}

.widget-header > *::before, .widget-header > *::after {
    display: none;
}

.post {
    --row-thumb-order: 0;
}

.widget-title {
    padding-bottom: 1em;
    border-bottom: 2px solid var(--site-color);
}

.widget-title, .widget-title a {
    color: var(--site-color);
}

.post .post-content {
    box-shadow: none;
    border-radius: none;
}

.widget-inner {
    padding: 1em;
    border: 1px solid #EEEEEE;
    border-radius: 20px;
}

.post-link {
    gap: 1em;
}

.post .post-content .post-thumb img {
    border-radius: var(--glob-border-radius);
}

@media (max-width: 991px) {
    .posts-loop-container .posts-loop:not(.theme-dark-sm) .post-title { padding: 0px; }
}
@media (min-width: 992px) {
    .posts-loop-container .posts-loop:not(.theme-dark-lg) .post-title { padding: 0px; }
}

.primary-header-inner {
    text-align: center;
}

.post-meta {
    justify-content: center;
}

.breadcrumbs {
    text-align: center;
}


.share-links-inner a { flex-direction: row; color: initial !important; justify-content: unset; border-bottom: none; background-color: var(--body-bg-color); transition: 0.2s; }
.share-links-inner a:after { content: ""; position: absolute; top: 0px; right: 0px; bottom: 0px; background-color: var(--color); color: #FFFFFF !important; width: 100%; transition: 0.2s; max-width: 0px; }
.share-links-inner a:hover { color: #FFFFFF !important; }
.share-links-inner a:hover:after { max-width: 100%; }
.share-links-inner a span { z-index: 10; }
.share-links-inner a .icon { background-color: var(--color); color: #FFFFFF !important; margin: -10px; padding: 8px; flex-grow: 1; text-align: center; }
.share-links-inner a .title { padding: 0px 10px; flex-grow: 9999; }
.share-links-inner a.sl-more { display: none; }
