/*
Theme Name: Martin is not in Madrid
Theme URI: http://martinnovak.eu
Description: WordPress theme based .
Version: 1.6
Author: Martin Novak
Author URI: http://martinnovak.eu/
Tags: widgets
*/

/*
 * General rules
 */
body {
  margin: 0;
  padding: 0;
  background-color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-family: 'Lucida Grande', Geneva, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  width: 100%;
}

h2, h3 {
  font-size: 28px;
  font-family: 'Lucida Grande', Geneva, Helvetica, sans-serif;
  font-weight: normal;
}

a {
  color: #444444;
}
img {
  border: 0;
}

h2.pagetitle {
  text-align: center;
  font-size: 18px;
  margin: 0;
}

.clear {
  clear: both;
}

.aligncenter {
  text-align: center;
}

.red { color: red; }
.lightgreen { color: #818F20; }

/**
 * Rules for page restriction elements
 */
#page {
  width: 1020px;
  margin: 0 auto;
}

/*
 * Rules for headers
 */
#header {
  border-bottom: 1px solid black;
}
#header h1, #header h2 {
  font: normal normal lighter 10px/1;
  font-size: 12px;
  font-family: 'Lucida Grande', Geneva, Helvetica, sans-serif;
  color: rgb(102, 102, 102);
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;  
}

#header h1 {
  font-size: 16px;
}

#header h1 a {
  color: black;
  text-decoration: none;
}

#header h2 {
  margin: 0; padding: 0;
  height: 40px;
  font-weight: bold;
}

#header a {
  text-decoration: none;
}

#header-left {
  float: left;
  height: 40px;
}

#header-right {
  float: right; margin: 0; padding: 0;
  height: 40px;
}

#header-right li {
  float: left; list-style-type: none;
  padding: 12px 0px 0px 30px;
  height: 30px;
}

.small-flag {
  max-width: 16px;
  max-height: 16px;
}
#sidebar #categories, #sidebar .widget_archive, #sidebar .widget_recent_entries, #sidebar .widget_calendar {
  border: 1px solid black;
  border-top: 0;
  padding-bottom: 15px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-bottom-right-radius: 5px;
}

#categories .children {
/*  margin-left: 0.4em;
*/
  padding-left: 1em;
}

.cat-ul ul {
  padding-left: 1em;
}

.cat-ul {
  float: left;
  display: block;
}

.cat-item {
  list-style-type: none;
}

.cat-item a {
  text-decoration: none;
  display: block;
  width: 170px;
  float: left;
  padding: 3px;
  font-size: 12px;
  font-family: 'Lucida Grande', Geneva, Helvetica, sans-serif;
}

.cat-item a:hover {
  text-decoration: underline;
}

/**
 * Sidebar code
 */

#sidebar {
  padding-top: 0em;
}

#sidebar > ul {
  list-style-type: none;
}

.widget, .categories {
  visibility: hidden; position: absolute;
  background-color: white;
  display: block;
}

.widget > ul, .categories > ul {
  list-style-type: none;
}

#categories h2 {
  display: none;
}

.widgettitle {
  display: none;
}

.widget > ul, .categories > ul, .widget > div {
  padding: 10px;
}

/**
 * Rules for calendar
 */

.widget_calendar {
  font-size: 12px;
  font-family: 'Lucida Grande', Geneva, Helvetica, sans-serif;
}

.widget_calendar a {
  font-weight: bold;
  text-decoration: none;
  background-color: #aaaaaa;
  padding: 3px;
}

tfoot a {
  background-color: none;
}

/**
 * Rules for archives
 */
.widget_archive a {
  text-decoration: none;
  width: 150px;
  display: inline;
  padding: 3px;
  letter-spacing: 1.5px;
  font-size: 13px;
  line-height: 20px;
  font-family: 'Lucida Grande', Geneva, Helvetica, sans-serif;
}
.widget_archive a:hover {
  text-decoration: underline;
}

/**
 * Rules for recent posts
 */
.widget_recent_entries a {
  text-decoration: none;
  display: block;
  width: 200px;
  padding: 3px;
  font-size: 12px;
  font-family: 'Lucida Grande', Geneva, Helvetica, sans-serif;
}

.widget_recent_entries a:hover {
  text-decoration: underline;
}

/**
 * Rules for posts
 */
.entry p {
  font-size: 1.15em;
  letter-spacing: 1.2;
  line-height: 150%;
}

.entry p.aligncenter b {
  font-size: 16px;
  font-weight: normal;
}

.entry img {
  border: 2px solid black;
}

.post h2 {
  color: #333333;
  font-weight: 400;
  letter-spacing: 1px;
}

.post h2 a {
  text-decoration: none;
}

.post a:hover {
  text-decoration: underline;
}

/**
 * Rules for comments
 */

/**
 * Rules for footer
 */

#footer {
  text-align: center;
}
