/*   
 *   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: Segoe UI;
     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: 91px;
}
#header h1 {
     font-family: Segoe UI Bold;
     font-size: 36pt;
     padding-top: 0;
     padding-bottom: 0;
     margin-top: 0;
     margin-bottom: 0;
     margin-left: 57px;
}

#headerimg {
    background: url(images/head-logo.png) no-repeat 0px 5px; 
    width: 100%;
    height: 64px;
}

#headerimg div#head_logo {
    position: relative;
    float: left;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;

}

#headerimg div#head_ad{
   position: relative;
   float: right;
   right: 0;
   top: 10px;
   margin: 0;
   padding: 0;
}

#header h1 a {
     text-decoration: none;
     color: #000;
}

div.description {
     padding-top: 0;
     padding-bottom: 5px;
     margin-top:0;
     margin-bottom:0;
     margin-left: 57px;
}


/* Navigation bar */
#navmenu {
     border-top: 1px dotted #000;
     border-bottom: 1px dotted #000;
     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;
}
#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;
}
#navmenu ul#right_nav li a {
     margin: 0;
     padding: 0;
}
#navmenu ul li a {
     text-decoration: none;
     margin: 4px;
     padding: 5px 15px 5px 15px;
     color: #000;
}
#navmenu ul li.page_item a {
     color: #000;
}
#navmenu ul li a:hover {
     background-color: #ccc;
}
#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: right;
     height: 19px;
     margin-right: 0px;
     margin-top: 4px;
}

#navmenu div.searchdiv a {
     float: right;
}

/* 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; /* 650 */
     text-align:center;
}
#sidebar #logo img {
     border: 1px dotted #000;
}

/* Content itself inside content */
#thecontent {
     float: left;
     width: 530px; /* 530 */
     height: 100%; /* 565px; */
     padding-left: 10px;
     padding-top: 0;
     /* overflow: auto; */
}

#footer {
     float: left;
     width: 100%;
     height: 50px;
     border-top: 1px dotted #000;
     padding-top: 5px;
     margin-top: 5px;
}

#center_footer {
     margin: 0 auto;
}

#right_footer {
     float: right;
}

/* Other objects */


div.post,
div.post_teaser {
     position: relative;
     min-height: 159px;
     height:auto !important; 
     height: 159px;
     margin-top: 0;
     padding-top: 0;
     /* overflow: auto; */
}


div.post_teaser h2 {
     margin: 0;
     padding: 0;
     color: #000;
}

div.post_teaser h2 a,
div.post h2 a{
      color: #000;
}

div.post h2 {
     margin-top: 0;
     padding-top:0;
}

div.post div.entry {
     min-height: 160px;
     margin-top: 5px;
     padding-top: 5px;
     margin-bottom: 5px;
     padding-bottom: 5px;
     border-top: 1px dotted #000;
}

div.entry p {
     text-align: justify;
     font-size: small;
}

.hidden {
     display: none;
}

.page_title_head {
     width: 530px;
     height: 35px;
}

.page_title {
     position: relative;
     float: left;
     left: 0;
     top: 0;
}

.navigation {
     position: relative;
     margin-top:0;
     margin-bottom: 0;
     padding: 0;
}

.alignleft {
     float: left;
     margin-right: 10px;
}

.alignright {
     float: right;
}

.clearfix {
     display: block;
}

#prev span, 
#next span { 
     color:#ccc; /* lighter than the normal anchor text */
}

.more {
     position: absolute;
     right: 0;
     bottom: 0;
     font-size: small;
}

.thumbnail {
     float: left;
     width: 145px;
     height: 108px;
     padding-right: 5px;
}

.postmetadata {
     margin-top: 5px;
     border-top: 1px dotted #000;
}

img#wpstats {
   display: none;
   position: absolute;
   top: 0;
   left: 0;
}

#toolbar {
     background: #fff;
     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;
}

#footer_ad {
    height: 90px;
    text-align: center;
    right: 10px;
    left: 10px;
    padding: 4px;
    margin: 0px;
    font-family: verdana, sans-serif;
    font-size: x-small;
}

/* Tabla de sismos */
#list_container {
    height: 150px;
    margin: 0;
    padding: 0;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

#tabs ul#ul_tab {
   list-style: none outside none;
   margin: 2px 0 0 0;
   padding: 0 0 1.15em 0;
}

.choosen {
     background-color: #fff;
}

.not_choosen {
     background-color: #ddd;
}

#tabs ul#ul_tab li {
     float: left;
     margin: 0;
     padding: 0;
}

ul#ul_tab  a {
     display: block;
     border-left: 1px solid #ddd;
     border-right: 1px solid #aaa;
     border-top: 1px solid #ddd;
     color: #444;
     margin: 0;
     padding: 0.10em 1em;
     text-decoration: none;
}

#tab1, #tab2, #tab3 {
     position: relative;
     border-top: 1px solid #fff;
     width: 648px;
     height: 121px;
     top: 0px;
     font-size: small;
     overflow: auto;
}

ul#sidebar-list1,
ul#sidebar-list2,
ul#sidebar-list3 {
     list-style: none outside none;
     margin: 0;
     padding: 6px 0 0;
}

ul#sidebar-list1 li,
ul#sidebar-list2 li, 
ul#sidebar-list3 li {
     list-style: none outside none;
     margin: 0;
     padding: 2px 5px;
}

ul#sidebar-list1 li a,
ul#sidebar-list2 li a,
ul#sidebar-list3 li a {
     color: #455;
     text-decoration: none;
}

ul#sidebar-list1 li a:hover,
ul#sidebar-list2 li a:hover,
ul#sidebar-list3 li a:hover {
     text-decoration: underline;
}

#metaseopack {
  display : none;
}

#subscribe2 {
     position: relative;
     right: 0;
     height: 200px;
     width: 150px;
     border: 1px solid #ccc;
}
