/* custom.css — ZeroGravity port: site-specific additions for the Nikola port of dmr.md */

/* Custom background (was WP custom-background inline style) */
body.custom-background {
    background-image: url("/img/green.jpg");
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll;
}

/* Accent color overrides (was WP inline style block) */
a { color: #0098D3; }
a:hover { color: #0098D3; }
.blog-info-sin-imagen { background-color: #0098D3; }
.social-icon-wrapper a:hover { color: #0098D3; }
.toggle-search { color: #0098D3; }
.prefix-widget-title { color: #0098D3; }
.term-icon { color: #0098D3; }
.sub-title a:hover { color: #0098D3; }
.entry-content a:visited, .comment-content a:visited { color: #0098D3; }
input[type="submit"] { background-color: #0098D3 !important; }
.bypostauthor cite span { background-color: #0098D3; }
.site-header h1 a:hover, .site-header h2 a:hover { color: #0098D3; }
.entry-header .entry-title a:hover { color: #0098D3; }
.archive-header { border-left-color: #0098D3; }
.main-navigation a:hover, .main-navigation a:focus { color: #0098D3; }
.widget-area .widget a:hover { color: #0098D3 !important; }
footer[role="contentinfo"] a:hover { color: #0098D3; }
.entry-meta a:hover { color: #0098D3; }
.comments-area article header a:hover { color: #0098D3; }
.main-navigation .current-menu-item a,
.main-navigation .current_page_item > a { color: #0098D3; }
.currenttext, .paginacion a:hover { background-color: #0098D3; }
.aside { border-left-color: #0098D3 !important; }
blockquote { border-left-color: #0098D3; }
.logo-header-wrapper, .image-header-wrapper { background-color: #0098D3; }
h2.comments-title { border-left-color: #0098D3; }
body.custom-font-enabled { font-family: "Open Sans", Arial, Verdana; }

/* Telegram join button (wptelegram-widget) */
.tg-join {
    display: inline-block;
    background-color: #389ce9;
    color: #fff;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
}
.tg-join:hover { background-color: #1d7ad4; color: #fff; }

/* Yandex Share (was inline style) */
.ya-share2__link { border: none !important; box-shadow: none !important; }
.ya-share2__container { display: inline-block; }
.ya-share2__list { padding: 0 !important; margin: 0 !important; }
.ya-share2__item { padding: 0 !important; background: none !important; }
.ya-share2__container_size_m .ya-share2__item { margin: 0px 4px 4px 0 !important; }
.ya-share2__container_size_m .ya-share2__icon { height: 32px !important; width: 32px !important; background-size: 32px 32px !important; }
.ya-share2__container_size_m .ya-share2__counter, .ya-share2__icon_more:before, .ya-share2__container_size_m .ya-share2__title { font-size: 14px !important; line-height: 32px !important; }
.ya-share2__container_size_m .ya-share2__popup_direction_bottom { top: 36px !important; }

/* Nikola pagination (base theme markup) */
.page-navigation {
    text-align: center;
    margin: 28px 0;
}
.page-navigation a, .page-navigation span {
    display: inline-block;
    min-width: 30px;
    padding: 6px 10px;
    margin: 0 3px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    color: #444;
    text-decoration: none;
}
.page-navigation a:hover { background-color: #0098D3; color: #fff; }
.page-navigation .current-page { background-color: #0098D3; color: #fff; border-color: #0098D3; }
.page-navigation .ellipsis { border: none; }

/* Archive / list pages */
.listpage .postlist, .tagindex .postlist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.listpage .postlist li, .tagindex .postlist li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.listpage .listdate { color: #999; margin-right: 10px; }
.listpage .listtitle { color: #444; text-decoration: none; }
.listpage .listtitle:hover { color: #0098D3; }

/* Excerpt link on list pages */
.morelink { white-space: nowrap; }

/* Lost media placeholders (migration) */
img.img-lost {
    opacity: 0.55;
    border: 1px dashed #bbb;
}
p.media-lost, .media-lost {
    color: #888;
    font-style: italic;
    font-size: 0.95em;
}

/* Tag pills under posts */
.entry-meta-term { margin: 14px 0; }
.entry-meta-term a.term {
    display: inline-block;
    background-color: #F7F7F7;
    border: 1px solid #e0e0e0;
    color: #444;
    font-size: 12px;
    padding: 3px 10px;
    margin: 0 6px 6px 0;
    border-radius: 3px;
    text-decoration: none;
}
.entry-meta-term a.term:hover { background-color: #0098D3; color: #fff; border-color: #0098D3; }

/* Prev/next post navigation */
.wrapper-navigation-below {
    overflow: hidden;
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid #e0e0e0;
}
.wrapper-navigation-below a {
    text-decoration: none;
    color: #444;
    display: inline-block;
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wrapper-navigation-below a:hover { color: #0098D3; }
.wrapper-navigation-below .nav-previous { float: left; }
.wrapper-navigation-below .nav-next { float: right; text-align: right; }
