/**
 * Theme Name: Alkimia
 * Theme URI: https://github.com/nicelab/wp-alkimia
 * Author: Nicelab.org
 * Author URI: http://nicelab.org
 * Description: Theme based on the InK CSS framework by sapo.pt and Font Awesome fonts icons by Dave Gandi. This is a white simple theme with widgets support on the right sidebar and the footer. The theme also provide support for Breadcrumb NavTx and the Opening Hours plugins.
 * Version: 1.1.1
 * Copyright: (c) 2014 Nicelab.org
 * License: Expat/MIT License for the theme and the Ink framework. Open Font License for Font Awesome icons. Dual MIT/GPL2 licenses for html5shiv.
 * License URI: http://directory.fsf.org/wiki/License:Expat
 * Tags: White, two-columns, right-sidebar, editor-style, sticky-post, translation-ready
 * Text Domain: alkimia
 */

/* Typography
-----------------------------------------------------------------------------*/

/* Georgia for titles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Georgia", serif;
    font-weight: normal;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

p {
    line-height: 1.7em;
}

a {
    color: #336699;
}
a:focus, a:hover {
    color: #EF6465;
}

/* pretify code */
code, kbd, pre, tt {
    border: 1px solid #E0E0E0;
    background: #E9E9E9;
    padding: 0 4px;
}

var {
    font-family: Ubuntu_monospaced, 'Courier New', monospace;;
}

/* Main
-----------------------------------------------------------------------------*/
/* stiky post */
.sticky {
    padding: 0.5em;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

/* alligment */
.alignleft {
    float:left;
    margin:0 12px 6px 0;
}

.alignright {
    float:right;
    margin:0 0 6px 12px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5em;
}

/* divs and videos must stay fit in colums */
div,
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}

embed,
iframe {
    max-width: 100%;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
    margin-top: 1em;
}

/* Top nav bar */
#header nav {
    margin-bottom: 2.5em;
}

/* Horizontal menus
-----------------------------------------------------------------------------*/
.ink-navigation ul.menu.horizontal li a {
    line-height: 1em;
}

.ink-navigation ul.menu.horizontal li ul a {
    line-height: 1.7em;
}

/* drop down sub-menus */
.ink-navigation ul.menu li:hover ul.sub-menu {
    display: block;
}
.ink-navigation ul.menu li ul.sub-menu {
    display: none;
    position: absolute;
    z-index: 10;
}
.ink-navigation ul.menu li ul.sub-menu li {
    overflow: hidden;
}
.ink-navigation ul.menu li ul.sub-menu li a {
    padding: 0.5em 1em;
    display: block;
    float: none;
}
.ink-navigation ul.menu.horizontal li ul.sub-menu {
    width: 8em;
    top: 2em;
    left: 0;
    z-index: 50;
}
.ink-navigation ul.menu.horizontal li ul.sub-menu li {
    float: none;
}
.ink-dropdown ul.dropdown-menu li.sub-menu {
    overflow: visible;
}
.ink-dropdown ul.dropdown-menu li.sub-menu > a {
    white-space: nowrap;
}
.ink-dropdown ul.dropdown-menu li.sub-menu > a:after {
    content: "\f0da";
    float: right;
    width: auto;
    margin-left: 0.8em;
    font-family: FontAwesome;
    color: #b3b3b3;
    clear: both;
    text-align: right;
}
.ink-dropdown ul.dropdown-menu li.sub-menu:hover > a {
    background: #f2f2f2;
    text-decoration: none;
}
.ink-dropdown ul.dropdown-menu li.sub-menu:hover:hover > ul.dropdown-menu {
  display: block;
}
.ink-dropdown ul.dropdown-menu li.sub-menu > ul.dropdown-menu {
    font-size: inherit;
    position: absolute;
    top: -0.36em;
    left: 100%;
    display: none;
}
.ink-navigation ul.menu li ul.sub-menu {
    background: #ffffff;
}
.ink-navigation ul.menu li ul.sub-menu li a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.ink-navigation ul.menu li ul.sub-menu li a:hover {
    background: #e6e6e6;
}
.ink-navigation ul.menu li ul.sub-menu li a:last-child a {
    border: none;
}
.ink-navigation ul.menu li ul.sub-menu.dropdown li a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.ink-navigation ul.menu.white li ul.sub-menu li:hover {
    background: rgba(0, 0, 0, 0.1);
}
.ink-navigation ul.menu.white li ul.sub-menu li a {
    color: #555555;
}
.ink-navigation ul.menu.white li ul.sub-menu.dropdown {
    background: #ffffff;
}
.ink-navigation ul.menu.white li ul.sub-menu.dropdown li a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.ink-navigation ul.menu.shadowed li ul.sub-menu {
    -webkit-box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.3);
}
.ink-navigation ul.menu.shadowed li ul.sub-menu.dropdown {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.ink-navigation ul.menu.rounded.horizontal li ul.sub-menu {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}
.ink-navigation ul.menu.rounded.horizontal li ul.sub-menu li {
    border-radius: 0;
}
.ink-navigation ul.menu.rounded.horizontal li ul.sub-menu li:last-child {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}
.ink-navigation ul.menu.rounded.horizontal li ul.sub-menu li a {
    border-radius: 0;
}


/* Breadcrumbs & Navigation pills
-----------------------------------------------------------------------------*/
.ink-navigation .breadcrumbs li {
    line-height: 2em;
}

.ink-navigation .breadcrumbs li:first-child a {
    padding-left: 0.6em;
}

.ink-navigation .pills li {
    line-height: 1em;
}

.prev-next {
    overflow:hidden;
}


/* Article
-----------------------------------------------------------------------------*/
article header {
    padding-bottom: 1em;
}

article footer {
    text-align: right;
    font-size: 0.85em;
}


/* Sidebar
-----------------------------------------------------------------------------*/
aside ul {
    list-style: none;
    margin: 0;
    padding-left: 0.7em;
}

aside .right-widget {
    padding-bottom: 1.5em;
}

/* Sidebar titles (widgets titles) */
aside h6 {
    font-family: "Ubuntu", sans-serif;
    text-transform: uppercase;
    padding: 5px 10px 5px 10px;
    background-color: #4C99E6;
    color: #fff;
    border-radius: 5px;
}

/* Footer
-----------------------------------------------------------------------------*/
footer {
    border-top: 1px solid #eee;
    padding-top: 0.6em;
    background: #fff;
}

footer li {
    list-style: none;
}

footer ul {
    list-style: none;
    margin: 0;
    padding-left: 0.7em;
}

/* Footer titles (widgets titles) */
footer h6 {
    font-family: "Ubuntu", sans-serif;
    text-transform: uppercase;
}

/* Comments
-----------------------------------------------------------------------------*/
#comments, #respond, #closed {
    clear: both;
    margin-top: 2.5em;
    border-top: 1px solid #eee;
}

#comments ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#comments li {
    list-style: none;
}

#comments p:first-letter {
    text-transform: uppercase;
}

#comments .children {
    margin-bottom: 10px;
}

#comments .comment-meta {
    background-color: #F5F5F5;
    text-align: left;
    padding: 0;
    height: 48px;
    border-radius: 5px;
}

#comments .avatar {
    float: left;
    padding-right: 10px;
    height: 48px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#comments .says {
    display: none;
}

#comments time {
    font-style: italic;
}

#comments .edit-link {
    float: right;
    padding-right: 15px;
    font-size: 0.85em;
}

#comments .reply {
    text-align: right;
    margin-bottom: 12px;
    padding-right: 10px;
    font-size: 0.7em;
}

#comments .comment-reply-link {
    background-color: #F5F5F5;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 5px;
}

#comments .comment-content p {
    margin-top: 10px;
    margin-bottom: 0px;
    padding-left: 10px;
    border-left: 5px solid #eee;
    border-radius: 3px;
}

#comments .pingback .comment-meta {
padding-left: 10px;
}

#closed .no-comments {
    font-style: italic;
    font-size: 0.85em;
}

#respond .comment-notes-after {
    font-style: italic;
    font-size: 0.85em;
}

#respond p {
    margin: 5px;
}

.bypostauthor .comment-meta  {
    background-color: #DAEFFF !important;
}

/* Buttons
-----------------------------------------------------------------------------*/
/* Remove the gradiant from InK */
.ink-button.flat {
    background: #eee;
}
.ink-button.flat:hover {
    background: #fff;
}


/* Images
-----------------------------------------------------------------------------*/
.wp-caption {
    background: #F5F5F5;
    border: 1px solid #ddd;
    padding: 3px;
}

.wp-caption-text {
    font-size: 0.85em;
    padding: 0 0 3px 3px;
}

.gallery-caption {
}

/* featured images */
.entry-thumbnail img {
    display: block;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5em;
}


/* Tables
-----------------------------------------------------------------------------*/
/* Modified ink-table style from InK applied to all tables */
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: none;
}
table tr th {
    padding: 5px 10px;
    border-bottom: #eee 1px solid;
    background: none;
    font-weight: 700;
    line-height: 2;
}
table tr td {
    padding: 5px 10px;
    border-bottom: #eee 1px solid;
    background: none;
    line-height: 2;
}


/* Widgets
-----------------------------------------------------------------------------*/
/* Calentar widget */
#wp-calendar {
    width: 100%;
    font-size: 0.9em;
}

#wp-calendar th,
#wp-calendar td {
    padding: 0.25em 0.4em 0.25em 0.4em;
}

/* RSS gidget */
aside h6 a.rsswidget {
    color: #fff;
}

aside h6 a.rsswidget img {
    display: none;
}


/* InK Monkey patchs
-----------------------------------------------------------------------------*/
/* monkey patch for leaflet maps */
img + img {
    margin-top: 0;
}

img {
    max-height: none;
}