/*
 * Tema "iNove" para Hugo.
 * Basado en iNove de mg12 (GPL-2.0-or-later), tal y como se ve en WordPress.com.
 * Cambios respecto al original: fondo personalizado del blog, sin buscador,
 * sin entradas relacionadas, enlace a Mastodon en lugar de Twitter y sin formulario de comentarios.
 */

/* Utilidades */
#cmtswitcher:before, #cmtswitcher:after, .act:before, .act:after, .info:before, .info:after,
.comment .date:before, .trackback .date:before, .comment .date:after, .trackback .date:after {
  content: ''; display: table;
}
#cmtswitcher:after, .act:after, .info:after, .comment .date:after, .trackback .date:after { clear: both; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}

/* Base */
* { margin: 0; padding: 0; }
abbr[title], acronym[title] { border-bottom: thin dotted; cursor: help; }
body { background: #d4e6ee; color: #555; font-family: Verdana, "BitStream vera Sans", Helvetica, Sans-serif; font-size: 12px; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; letter-spacing: -0.05em; font-family: Arial; }
h1 { font-size: 200%; }
h2 { font-size: 170%; }
h3 { font-size: 150%; }
h4 { font-size: 130%; }
h5 { font-size: 110%; }
h6 { font-size: 100%; }
img { border: 0; }
small { font-size: 10px; }
a { color: #2970A6; text-decoration: none; }
a:hover { text-decoration: underline; }
blockquote, pre {
  background: #F4F5F7 url(img/blockquote.gif) 3px 3px no-repeat; border: 1px dashed #CCC;
  padding: 8px 12px 8px 36px; margin: 5px 0;
}
.more-link { font-size: 11px; }
.alignleft { float: left; text-align: left; margin-right: 10px; }
.alignright { float: right; text-align: right; margin-left: 10px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.fixed, .clear { clear: both; }

/* Imágenes con pie */
.wp-caption { background: #F7F7F7; border: 1px solid #CCC; max-width: 99.5%; padding: 5px 0; margin-bottom: 5px; text-align: center; }
.post .content .wp-caption img { height: auto; margin: 0 5px; max-width: 98%; }
.wp-caption-text { text-align: center; padding: 3px 5px 0; }
.post .content .wp-caption p { margin: 0; }

.messagebox { background: #EDEFF0 url(img/messagebox.gif) no-repeat; padding: 0 12px; height: 27px; line-height: 27px; font-size: 11px; }

/* Cajas (archivos de categoría y mensuales) */
.boxcaption { background: #E3E4E6 url(img/box.gif) 0 0 no-repeat; padding: 6px 12px; border-bottom: 1px solid #CCC; }
.boxcaption h3 { font-size: 12px; font-family: Verdana, "BitStream vera Sans"; letter-spacing: 0; }
.box { background: #F4F5F7 url(img/box.gif) 100% 100% no-repeat; padding: 8px 12px; margin-bottom: 10px; }

/* Estructura */
#wrap { padding: 20px 0; }
#container { margin: 0 auto; width: 936px; }
#header { background: url(img/header.jpg) 0 0 no-repeat; height: 90px; border-bottom: 1px solid #A6A6A6; }
#caption { padding: 25px 30px 0; }
#title a { text-decoration: none; color: #FFF; height: 30px; display: block; font-family: "Trajan Pro"; letter-spacing: 0; }
#tagline { color: #FFF; border-top: 1px solid #FFF; text-decoration: none; font-size: 10px; float: left; padding: 0 3px; }

/* Menú */
#navigation { background: #FFF; border-bottom: 1px solid #A6A6A6; }
#menus li { display: inline; list-style: none; }
#menus li a {
  background: transparent url(img/menu.gif) no-repeat; display: block; color: #382E1F; height: 31px; line-height: 31px;
  padding: 0 20px; margin-left: -10px; text-decoration: none; font-size: 11px; float: left; z-index: 1;
}
#menus li a:hover, #menus li a.current { background-position: 0 -31px; }
#menus li.current_page_item a { background-position: 0 -62px; }
#menus li a.home { background-position: 0 -93px; width: 45px; padding: 0; margin-left: 0; text-indent: -999em; }
#menus li a.home:hover { background-position: 0 -124px; }
#menus li.current_page_item a.home { background-position: 0 -155px; }
#menus li a.lastmenu:hover { background-position: 0 0; cursor: default; }

/* Contenido */
#content { background: #FFF url(img/sidesep.gif) right repeat-y; min-height: 400px; }
#main { background: #FFF url(img/main_shadow.gif) top repeat-x; width: 605px; padding: 13px 15px 15px; float: left; overflow: hidden; }
.post { padding-bottom: 5px; overflow: auto; }
.post h2 {
  display: block; margin-top: 10px; border-bottom: 1px solid #CCC; padding: 0 5px 3px; font-size: 16px;
  font-family: Verdana, "BitStream vera Sans"; clear: both;
}
.post h2 a.title { text-decoration: none; color: #4C4C4C; }
.post h2 a.title:hover { color: #2970A6; }
.post .info { margin: 5px; }
.post .date, .post .author, .post .comments {
  background: url(img/icons.gif) no-repeat; padding-left: 22px; height: 16px; line-height: 16px; display: block; font-size: 11px;
}
.post .categories { background: url(img/icons.gif) no-repeat; width: 16px; height: 16px; line-height: 16px; display: block; text-indent: -999em; }
.post .under span.categories { margin: 0 6px; }
.post .under span { padding-bottom: 6px; float: left; }
.post .categories { background-position: 0 -480px; }
.post .date { background-position: 0 -48px; margin-right: 15px; float: left; }
.post .author { background-position: 0 0; float: left; }
.post .comments { background-position: 0 -96px; float: right; }
.post .content { padding: 5px 5px 0; line-height: 145%; overflow: hidden; }
.post .content p { margin-bottom: 10px; }
.post .under { line-height: 16px; font-size: 11px; margin-bottom: 20px; clear: both; }
.post .content h4 { color: #080; margin-bottom: 10px; }
.post .content img { max-width: 600px; height: auto; }
.post .content ul, .post .content ol { padding-bottom: 10px; }
.post .content ul li, .post .content ol li { list-style-position: inside; padding-left: 20px; }
.post .content table { background: #FFF; border: 2px solid #CCC; border-collapse: collapse; margin: 5px 0 10px; }
.post .content th, .post .content td { border: 1px solid #CCC; padding: 3px 10px; text-align: left; vertical-align: top; }
.post .content th { background: #EDEFF0; }

/* Ruta de navegación y paginación */
#postpath { background: url(img/icons.gif) 0 -320px no-repeat; line-height: 16px; margin: 5px 0; padding-left: 22px; }
#pagenavi, #postnavi { border-top: 1px solid #CCC; margin: 10px -5px 0; padding: 10px 5px 0; }
#pagenavi { font-size: 11px; }
#pagenavi .newer a, #postnavi .prev a { background: url(img/icons.gif) 0 -224px no-repeat; padding-left: 22px; float: left; height: 16px; line-height: 16px; }
#pagenavi .older a, #postnavi .next a { background: url(img/icons.gif) 100% -240px no-repeat; padding-right: 22px; float: right; height: 16px; line-height: 16px; }

/* Barra lateral */
#sidebar { background: #F7F7F7 url(img/sidebar_shadow.gif) top repeat-x; width: 300px; float: right; font-size: 95%; line-height: 145%; overflow: hidden; padding-top: 8px; }
#sidebar li { background: url(img/icons.gif) 0 -560px no-repeat; padding-left: 22px; list-style: none; margin-top: 5px; }
#sidebar .content, #sidebar li { font-size: 12px; }
#northsidebar { font-size: 95%; }
#northsidebar .widget { background: url(img/widgetsep.png) bottom no-repeat; padding: 10px 15px 16px; }
#sidebar .widget_feeds { padding: 5px 15px 15px; }
#sidebar #feedrss, #sidebar #followme { height: 25px; line-height: 25px; display: block; padding: 5px 5px 5px 36px; float: left; text-decoration: none; }
#sidebar #feedrss { background: url(img/feeds.gif) 5px 5px no-repeat; }
#sidebar #followme { background: url(img/mastodon.svg) 6px 8px / 20px 20px no-repeat; margin-left: 10px; }
#sidebar select { max-width: 100%; font-size: 12px; padding: 2px; }

/* Pie */
#footer { background: url(img/footer.jpg) 0 0 no-repeat; display: block; height: 88px; border-top: 1px solid #CCC; font-size: 11px; line-height: 145%; width: 100%; }
#footer a { color: #2A2A2A; }
#themeinfo { margin: 20px 0 0 20px; }
a#gotop { background: url(img/icons.gif) 0 -304px no-repeat; float: right; height: 16px; line-height: 18px; display: block; padding-left: 16px; margin: 20px 15px 0 0; text-decoration: none; }

/* Comentarios */
#commentlist { background: #FCFCFC; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC; margin: 0 -15px 15px -15px; padding: 0 15px; }
#commentlist ol, #commentlist li { list-style: none; }
#commentlist .children { margin-left: 10%; }
.children .comment .info { width: 75%; }
#cmtswitcher { background: #FFF; font-size: 10px; padding-top: 5px; }
#cmtswitcher a.curtab { padding: 5px 10px; margin-bottom: -1px; display: block; float: right; color: #555; text-decoration: none; background: #FCFCFC; border: 1px solid #CCC; border-bottom-color: #FCFCFC; }
#cmtswitcher a.tab { padding: 5px 10px; margin-bottom: -1px; display: block; float: right; color: #555; text-decoration: none; border: 1px solid #FFF; border-bottom-color: #CCC; }
#thecomments, #thetrackbacks { padding-bottom: 15px; }
#thecomments .comment, #thecomments .messagebox { margin-top: 15px; overflow: hidden; }
.comment .author { float: left; width: 81px; text-align: center; }
.comment .pic { background: url(img/commentpoint.png) 100% 33% no-repeat; padding-right: 14px; margin-top: 10px; }
.comment .name { width: 67px; padding-right: 14px; font-weight: bold; overflow: hidden; }
.comment .avatar { padding: 1px; border: 1px solid #999; }
.comment .info { background: #EDEFF0; border-radius: 6px; float: left; overflow: hidden; padding: 10px 15px 0; width: 494px; }
.comment .date, .trackback .date { float: left; font-size: 10px; }
.comment .act, .trackback .act { float: right; font-size: 10px; }
.comment .content { clear: both; margin: 0 -15px; padding: 0 15px 10px; line-height: 145%; }
.comment .content p { margin-top: 10px; }
.comment .content blockquote p { margin-top: 0; margin-bottom: 10px; }
.bypostauthor .author { float: right; }
.bypostauthor .pic { background: url(img/commentpoint.png) 0% 33% no-repeat; padding-right: 0; padding-left: 14px; }
.bypostauthor .name { padding-right: 0; padding-left: 14px; }
.bypostauthor .info { float: right; }
#thetrackbacks { display: none; }
#thetrackbacks li { margin-top: 15px; }
.trackback { background: #EDEFF0 url(img/box.gif) 0 0 no-repeat; padding: 10px 15px 0; width: 575px; }
.trackback .title { background: #EDEFF0 url(img/box.gif) 100% 100% no-repeat; clear: both; padding: 10px 15px; width: 575px; margin: 0 -15px; }
