/*   
 *   Theme Name: By-Martin
 *   Theme URI: http://www.by-martin.com/wp/themes/by-martin/
 *   Description: Simple Professional Corporate Web based on Wordpress
 *   Author: Martin Hermosilla
 *   Author URI: http://www.by-martin.com/
 *   Version: 0.0.1
 *   	
 *   	By-Martin v0.0.1
 *   	http://www.by-martin.com/wp/themes/by-martin/
 *  	
 *  	This theme was designed and build by Martin Hermosilla
 *  	whose website you will find at http://www.by-martin.com/
 *  	Personal blog http://www.martinh.cl/
 *
 *  	The CSS, XHTML and design is released under GPL:
 *  	http://www.opensource.org/licenses/gpl-license.php
 *   
 *   
 */

html {
     height: 100%;
     margin: 0;
     padding: 0;
}

body {
     font-family: Helvetica, sans-serif; /* Segoe UI; */
     font-size: small;
     margin-top:0;
     margin-bottom:0;
     height: 100%;
     padding: 0;
}
body a {
     color: #b40404;
}

#main {
     width: 1200px;
     min-height: 100%;
     padding: 0;
     margin: 0 auto;
}

/* Header Definitions */
#header {
     width: 100%;
     height: 80px;
}
#header h1 {
     font-family: Helvetica, sans-serif; /* Segoe UI Bold; */
     font-size: 36pt;
     padding-top: 0;
     padding-bottom: 0;
     margin-top: 0;
     margin-bottom: 0;
}
#header h1 a {
     text-decoration: none;
     color: #000;
}

#headerimg {
     float: left;
}

#description {
     padding-top: 0;
     padding-bottom: 5px;
     margin-top:0;
     margin-bottom:0;
}
.description {
     font-size: 12pt;
}

/* Navigation bar */
#navmenu {
     border-top: 1px solid #ccc;
     border-bottom: 1px solid #ccc;
     height: 32px;
     clear: both;
     width: 100%;
}

#navmenu ul {
     float: left;
     margin: 0; 
     padding: 5px 0 0 0; 
     list-style-type: none; 
     list-style-image: none; 
     height: 32px;
     font-size: medium;
}
#navmenu ul#right_nav {
     float: left;
     margin: 0;
     padding:0;
     list-style-type: none; 
     list-style-image: none;
     height: 32px;
}
#navmenu ul#right_nav li,
#navmenu ul li {
     display: inline;
     vertical-align:middle;
}
#navmenu ul#right_nav li a img {
     margin: 0;
     padding: 0 5px 0 3px;
     border: 0;
}
#navmenu ul#right_nav li a {
     margin: 0;
     padding: 0;
     height: 28px;
}
#navmenu ul li a {
     text-decoration: none;
     margin: 0 4px;
     padding: 6px 15px;
     height: 32px;
     color: #000;
}
#navmenu ul li.page_item a {
     color: #000;
}
#navmenu ul li a:hover {
     font-family: Helvetica, sans-serif;
     background-color: #ddd;
}
#navmenu ul#right_nav li a:hover {
     background-color: #fff;
}

#navmenu div.searchdiv {
     float: right;
     right: 0;
     text-align: right;
     height: 32px;
     margin: 0;
     padding: 0;
}

#navmenu div.searchdiv form {
     float: left;
     height: 30px;
     margin: 1px 0;
}

#navmenu div.searchdiv ul#right_nav {
     margin: 0pt;
     height: 26px;
     padding: 3px 0pt;
}

#navmenu div.searchdiv a {
     float: left;
}

/* Content definition */
#content {
     position: relative;
     padding-top: 5px;
     width: 100%;
     height: 100%;
     /* overflow: view; */
}

#content p {
     margin: 0;
}

#content h2 {
     top: 0;
     padding: 0;
     margin: 0;
}
/* Sidebar definitions inside content */
#sidebar {
     float: left;
     display: block;
     width: 650px;
     height: 100%; /* 565px;*/ /* map 650x415 original */
     padding-right: 5px;
}
#sidebar p {
     text-align: justify;
}
#sidebar #logo {
     width: 650px; 
}
#sidebar #logo h2 {
     margin: 0;
     padding: 0;
}
#sidebar #logo img {
     border: 1px solid #ccc;
}

/* Content itself inside content */
#thecontent {
     float: left;
     width: 530px; /* 530 */
     max-width: 530px;
     height: 100%; /* 565px; */
     padding-left: 10px;
     padding-top: 0;
}
#thecontent  h2 {
    margin: 0;
    padding: 0;
    top: 0;
}

#footer {
     float: left;
     width: 100%;
     height: 50px;
     border-top: 1px solid #ccc;
     padding-top: 5px;
     margin-top: 5px;
}

#center_footer {
     margin: 0 auto;
}

#right_footer {
     float: right;
}

/* Other objects */
div.post_page {
     position: relative;
     min-height: 159px;
     height:auto !important; 
     height: 159px;
     margin-top: 0;
     padding-top: 0;
     padding-bottom: 10px;
}

div.post,
div.post_teaser {
     position: relative;
     min-height: 159px;
     height:auto !important; 
     height: 159px;
     margin-top: 0;
     padding-top: 0;
     padding-bottom: 10px;
}
div.post_teaser_u {
     border-bottom: 1px solid #000;
}
#thecontent div.post_teaser h2 {
     margin: 0;
     padding: 0 0 5px 0;
     color: #000;
}
div.post_page h2 a,
div.post_teaser h2 a,
div.post h2 a{
      color: #000;
}
div.post_page h2,
div.post h2 {
     margin-top: 0;
     padding-top:0;
}
div.post_page div.entry,
div.post div.entry {
     min-height: 160px;
     margin-top: 5px;
     padding-top: 5px;
     margin-bottom: 5px;
     padding-bottom: 5px;
     border-top: 1px solid #ccc;
}
div.entry p {
     text-align: justify;
     padding-bottom: 10px;
     /* font-size: x-small; */
}

#thecontent div.post_teaser div.entry p.wp-caption-text {
     width: 330px;
}

#thecontent div.post_teaser div.entry div,
#thecontent div.post_teaser div.entry div.wp-caption {
     width: 520px!important;
     max-width: 520px;
}

#thecontent div.post_teaser div.entry p img,
#thecontent div.post_teaser div.entry div img,
#thecontent div.post_teaser div.entry img {
     float: left;
     width: 145px;
     height: 108px;
     padding-right: 5px;
}
#thecontent div.post_teaser div.entry {
     max-width: 530px;
     width: 530px!important;
     overflow: hidden;
}

#thecontent div.post div.entry p img,
#thecontent div.post div.entry div img  {
     /* max-width: 530px; */
     /* max-height: 530px; */
     width: 480px; /* 530 480 300px; */
     height: 291px; /*321 291 181px; */
     border: 0;
}
#thecontent div.post div.entry div.wp-caption {
     width: 520px; /* antes  530px */
     text-align: center;
     padding-bottom: 10px;

}
#thecontent div.post div.entry div.wp-caption p {
     width: 520px; /* antes 530px */
     text-align: center;
}

.page_title_head {
     width: 530px; /* antes 530px */
     height: 35px;
}

.page_title {
     position: relative;
     float: left;
     left: 0;
     top: 0;
}

.navigation {
     position: relative;
     margin-top:0;
     margin-bottom: 0;
     padding: 5px 0 5px 0;
     border-top: 1px solid #ccc;
}
.hidden {
     display: none;
}

.clearfix {
     display: block;
}
.more {
     position: absolute;
     right: 0;
     bottom: 0;
     /* font-size: x-small;*/
}
.thumbnail {
     float: left;
     width: 145px;
     height: 108px;
     padding-right: 5px;
}

.postmetadata {
     margin-top: 5px;
     padding-top: 5px;
     border-top: 1px solid #ccc;
}

.center {
     text-align:center;
}

.alignright {
        float: right;
}

.alignleft {
        float: left;
}

img#wpstats {
   display: none;
   position: absolute;
   top: 0;
   left: 0;
}

#metaseopack {
  display : none;
}

#toolbar {
     background: #e3e3e3;
     padding: 4px;
     margin: 0px;
     position: relative;
}

#toolbar h1 {
     margin: 0;
     font: bold 18px Helvetica, sans-serif;
}

#toolbar ul {
     list-style: none;
     padding: 0;
     margin: 0;
}

#toolbar ul li {
     display: inline;
}

#toolbar ul li a {
     padding: 3px 6px;
     color: #444;
     text-decoration: none;
     font-size: 12px;
}

#toolbar ul li a:hover {
	text-decoration: underline;
}

.pagetitle {
     border-bottom: 1px solid #ccc;
     padding-bottom: 5px;
     margin-bottom: 5px;
}


#site_login {
     position: relative;
     float: right;
     top: 60px;
}

