/*  
Theme Name: altrugon crazy box.
Theme URI: http://altrugon.com/
Description: This is the 'crazy box' theme for <a href="http://altrugon.com">altrugon.com</a>.
Version: 1.0
Author: Alberto Trujillo Gonzalez
Author URI: http://altrugon.com/
*/

/* =General
-----------------------------------------------------------------------------*/


/* Remove padding and margin */
* {
  margin: 0;
	padding: 0;
}

/* Put it back on certain elements */
h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, fieldset, table, ul {
  margin: 1em 0;
}

ul { padding-left: 1em; }

/* Class for clearing floats */
.clear { clear:both; }

/* Remove border around linked images */
img { border: 0; }

/* Remove dots around links in FF */
a { outline: none;}

/* Clearfix Method for clearing the floats */
.clearfix:after {
   content: ".";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

/* This declaration is necessary for Safari!! */
.clearfix { display: block; }

/* Clearing with overflow */
.floatbox { overflow:hidden; }

/* =Typography
-----------------------------------------------------------------------------*/
html * { font-size: 100.01%; }

body {
  color: #333;
  font-size: 75%;
  font-family: Arial, Tahoma, Verdana, sans-serif;
  line-height: 1.4;
}

small {
  font-size: .8em;
  font-weight: normal;
}


/* =Code Snippes
-----------------------------------------------------------------------------*/
pre {
	background: #FFFFFF url(images/pre_code_bg.gif) repeat scroll left top;
  border: 1px solid #E2E2E2;
  color: #000000;
  display: block;
  font-family: "Courier New",Courier,monospace;
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 10px;
  overflow: auto;
  padding: 0;
  width: 99%;
}

pre code {
	margin: 0 0 0 10px;  /*--Left Margin--*/
	padding: 18px 0;
	display: block;
}


/* =Headings
-----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  color: #0899ff;
}

h1 { font-size: 200% }                        /* 24px */
h2 { font-size: 166.67% }                     /* 20px */
h3 { font-size: 150% }                        /* 18px */
h4 { font-size: 133.33% }                     /* 16px */   
h5 { font-size: 116.67% }                     /* 14px */
h6 { font-size: 116.67; font-style:italic }   /* 14px */


/* =Links
-----------------------------------------------------------------------------*/

a { 
  text-decoration: none; 
  color: #0899ff;
}

a:hover {
  text-decoration: underline; 
}

a.lnk-rss {
  padding-right: 20px;
  background: url(images/rss_16x16.gif) no-repeat right center;
}

#sidebar a.lnk-rss { padding: 3px 20px 3px 2px; }

/* =Forms
-----------------------------------------------------------------------------*/

/* Removes fieldset borders. even on Opea 7 */
fieldset {
  border: 1px solid transparent;
}

#commentform label {
  display: block;
}

/* Style for cform */
form.cform {
  margin-top: 40px;
  width: auto;
}

form.cform fieldset { background-color: #EBEBEB; }

form.cform input,
form.cform textarea,
form.cform select {
  background-color: #FFFFFF;
}

form.cform input:hover,
form.cform textarea:hover,
form.cform select:hover {
  background-color: #CCE7F7;
}

form.cform textarea,
form.cform input {
  width: 60%;
}

form.cform p.cf-sb { text-align: center; }

form.cform input.sendbutton { margin: 10px 0; }

p#ll { display: none; }

/* =Tables
-----------------------------------------------------------------------------*/

table { 
  border-spacing: 0;
	border-collapse: collapse;
}

td {
  text-align: left;
	font-weight: normal;
}



/* =Branding
-----------------------------------------------------------------------------*/




/*----------------------------------------------------------------------------
                                CONTENT & LAYOUT
-----------------------------------------------------------------------------*/

html, body { height: 100%; }

#wrapper-page {
  min-width: 950px;
	min-height: 100%;
	position: relative;
	background: #f9f8f4 url('images/box_borders.png') repeat-y center 0;
}

#page {
	background: transparent url('images/blue_sky.png') repeat-x left top;
}

#header,
#body,
#footer-content {
  width: 950px;
}

div.navigation { overflow: hidden; }

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignleft {
  float: left;
  display: inline;
}

.alignright {
  float: right;
  display: inline;
}


/* =Post
-----------------------------------------------------------------------------*/
.post-list .post,
.comment {
  background: #F7F7F7;
  border-color: #ECECEC #ADADAD #ADADAD #ECECEC;
  border-style: solid;
  border-width: 1px;
  padding: 5px;
  margin: 10px 0;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.post-date {
  background: transparent url(images/date-bg.jpg) no-repeat 0 0;
  float: left;
  height: 49px;
  width: 45px;
  margin: 5px 5px auto auto;
}

.post-month {
  color: #FFFFFF;
  display: block;
  font-weight: bold;
  font-size: .8em;
  line-height: .8em;
  margin-left: -3px;
  padding-top: 4px;
  text-align: center;
  text-transform: uppercase;
}

.post-day {
  color: #686868;
  display: block;
  font-size: 1.3em;
  line-height: 1.3em;
  margin-left: -3px;
  padding-top: 3px;
  text-align: center;
}

.post-year {
  color: #686868;
  display: block;
  font-size: .7em;
  line-height: .7em;
  margin-left: -2px;
  text-align: center;
}

.post .title { margin: 0px 0px 10px 0px; }

.post-list .post-header { margin-left: 50px; }

.post-header .title {
  border-bottom: 1px dotted #686868;
  padding-bottom: 2px; 
}

.post-header h2.title { margin-bottom: 6px;}
.post-header h3.title { margin-bottom: 9px; }

.post-metadata {
  float: left;
  font-size: .9em;
  color: #686868;
}

.post-share {
  text-align: right;
  font-size: .9em;
  margin-bottom: 3px;
}

.post-share-alt { margin-top: 30px; }

.post-number-cmts {
  background: url('images/small_bubble.gif') no-repeat left center;
  padding-left: 12px;
}

.post-edit {
  background: url('images/pencil.gif') no-repeat left center;
  padding-left: 12px;
}

.comment-header {
  overflow: hidden;
  margin-bottom: 1em;
}

.comment .avatar {
  float: left;
  margin-right: 10px;
}

/* =Header
-----------------------------------------------------------------------------*/
#header {
	height: 350px;
	background: url('images/box_top.png') no-repeat top center;
	overflow: hidden;
	margin: 0 auto;
	position: relative;
}

#header-content {
	height: 100%;
	width: 600px;
	margin-left: 180px;
	overflow: hidden;
}

div.box-top-lit { background: url('images/box_top_lit.png') no-repeat center 146px; }

#box-loader {
  width: 300px;
  height: 100px;
  margin: 40px auto 0 auto;
}


/* =Body
-----------------------------------------------------------------------------*/

#body {
	padding-bottom: 300px; /* >= footer's height */
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

#body-content {
	width: 560px;
	margin: 0px 0px 0px 195px;
	overflow: hidden;
	float: left;
}

textarea#comment { width: 550px; }

/* =Footer
-----------------------------------------------------------------------------*/

#footer {
	width: 100%;
	min-height: 210px;
	background: #9BCC4F url('images/green_grass.png') repeat-x left top;
	overflow: hidden;
	position: absolute;
	bottom: 0px;
}

#footer-content {
	height: 155px;
	background: url('images/box_bottom.png') no-repeat bottom center; 
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

/* =Main Nav
-----------------------------------------------------------------------------*/
#sidebar {
  margin: 0px 0px 0px 780px;
}

#sidebar ul {
  margin: 5px;
  padding-left: 0;
  list-style: none;
}

#sidebar ul li ul { margin-top: 0; }

#sidebar h2 {
  margin: 10px 0px 0px 0px;
  color: #0899ff;
}

#sidebar a {
  color: #686868;
  text-decoration: none;
  padding: 0 2px;
}

#sidebar a:hover {
  color: #fff;
  background-color: #0899ff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

#s { width: 100px; }
#searchsubmit {
  width: 50px;
  font-size: .8em;
}

ul.qtrans_language_chooser {
  margin: 5px 0px 10px 0px;
  overflow: hidden;
}

ul.qtrans_language_chooser li {
  display: inline;
  float: left;
  margin-right: 5px;
}

#sidebar .qtrans_language_chooser li a.qtrans_flag_and_text {
  padding-left: 22px;
  background-position: 2px 1px;
}

/* =Sub Nav
-----------------------------------------------------------------------------*/

ul#menu-pages {
  list-style-type: none;
  width: 325px;
  padding-bottom: 95px;
  background: url('images/menu_arrow.png') no-repeat right bottom;
  margin-top: 20px;
}

ul#menu-pages li {
  display: inline;
  float: left;
  margin-right: 25px;
  z-index: 10;
}

ul#menu-pages li a {
  display: inline;
  float: left;
  position: relative;
  z-index: 10;
  color: #FFF;
  text-align: center;
  text-decoration: none;
}

ul#menu-pages li a img {
  height: 31px;
  background-position: 0 0;
  background-repeat: no-repeat;
  margin-bottom: 2px;
}

ul#menu-pages li a:hover { color: #ffd800; }

ul#menu-pages li a:hover img { background-position: 0 -31px; }

ul#menu-pages li#menu-pages-0 { margin-left: 5px; }
ul#menu-pages li#menu-pages-0 a {
  width: 35px;
  margin-top: -14px;
}
ul#menu-pages li#menu-pages-0 a img {
  background-image: url('images/menu_home.png');
  height: 45px;
  width: 44px;
  margin-left: -20px;
}
ul#menu-pages li#menu-pages-0 a:hover img { background-position: 0 -45px; }

ul#menu-pages li#menu-pages-1 a { width: 45px; }
ul#menu-pages li#menu-pages-1 a img {
  background-image: url('images/menu_portfolio.png');
  width: 40px;
}

ul#menu-pages li#menu-pages-2 a { width: 38px; }
ul#menu-pages li#menu-pages-2 a img {
  background-image: url('images/menu_gallery.png');
  width: 28px;
}

ul#menu-pages li#menu-pages-3 a { width: 28px; }
ul#menu-pages li#menu-pages-3 a img {
  background-image: url('images/menu_blog.png');
  width: 28px;
}

ul#menu-pages li#menu-pages-4 a { width: 45px; }
ul#menu-pages li#menu-pages-4 a img {
  background-image: url('images/menu_contact.png');
  width: 31px;
}


/* =Pagination
-----------------------------------------------------------------------------*/
div.wp-pagenavi {
  height: 20px;
  margin: 20px 0;
  text-align: right;
}

.wp-pagenavi a,
.wp-pagenavi span.current,
.wp-pagenavi span.extend {
  padding: 2px 4px; 
  margin-right: 3px;
}

.wp-pagenavi a,
.wp-pagenavi a:link {
  text-decoration: none;
  border: 1px solid #ADADAD;
  color: #0899FF;
  background-color: #FFFFFF;  
}

/*.wp-pagenavi a:visited { border: 1px solid #0899FF; }*/

.wp-pagenavi span.pages { display: none; }

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  border: 1px solid #0899FF;
  color: #FFFFFF;
  background-color: #0899FF;
}

.wp-pagenavi span.extend {
  border: 1px solid #ADADAD;
  color: #333;
  background-color: #FFFFFF;
}

/* =Characters
-----------------------------------------------------------------------------*/
#climber {
  width: 22px;
  height: 54px;
  background: url('images/climber.png') no-repeat left top;
  position: absolute;
  top: 50px;
  left: 153px;
}


#little-monster {
  width: 120px;
  height: 75px;
  position: absolute;
  left: 460px;
  top: 5px;
  background-repeat: no-repeat;
  background-position: center bottom
}

#little-monster:hover {
  background-image: url('images/little_monster.png');
}

/* =License
-----------------------------------------------------------------------------*/
#license-logo {
  position: absolute;
  left: 200px;
}

#license-text {
  margin-top:20px;
  text-align:center;
  color: #666;
}


/* =Styling Wordpress classes
-----------------------------------------------------------------------------*/
.wp-caption {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color:#F3F3F3;
  border:1px solid #DDDDDD;
  margin:10px;
  padding-top:4px;
  text-align:center;
}

.aligncenter, dl.aligncenter {
  display:block;
  margin-left:auto;
  margin-right:auto;
}

/* =Misc 1
-----------------------------------------------------------------------------*/
