/*
Theme Name: Mortgage
Theme URI: http://financethemes.wordpress.com
Description: A simple structure, color schema customize theme.
Version: 6.0
Author: Mike Nicholls & Fubupc
Tags: two-columns, fixed-width, custom-colors, theme-options

  The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* reset default browser styles */
@import url('styles/reset.css');

/* typography */
body {
  font-family: Arial, sans-serif;
  font-size: 62.5%;
  color: #333;
}

p {
  line-height: 150%;
  margin: 1em 0;
  text-align: justify;
  overflow: hidden;
}

a {
  text-decoration: none;
  color: rgb(59, 115, 185);
}
  a:hover {
    text-decoration: underline;
  }

strong {
  font-weight: bold;
}

.readmore {
  font-weight: bold;
}

blockquote {
  margin: 10px 20px;
  padding: 0px 8px;
  border-left: 4px solid rgb(59, 115, 185);
  background: #f6f6f6;
}
  .comment blockquote {
    background: #fff;
  }

h1 {
  font-size: 1.6em;
  font-weight: bold;
  margin: 0.3em 0 0.8em 0;
}

input[type="text"] {
}

#sidebar, #main {
  font-size: 1.2em;
}

#sidebar h2 {
  font-size: 1.33em;
  font-weight: bold;
  padding: 5px 10px;
  color: white;
  background: rgb(59, 115, 185);
}
  #sidebar h2 a {
    color: white;
    background: transparent;
  }
  #sidebar #logo { display: block; }
  #sidebar #logo:hover { background: transparent; }

/* images styling */
.aligncenter, div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

img.alignnone { margin: 0 1em 1em 0; }
img.alignright {float:right; margin:0 0 1em 1em; }
img.alignleft {float:left; margin:0 1em 1em 0; }
img.aligncenter {display: block; margin-left: auto; margin-right: auto; }
a img.alignright {float:right; margin:0 0 1em 1em; }
a img.alignleft {float:left; margin:0 1em 1em 0; }
a img.aligncenter {display: block; margin-left: auto; margin-right: auto; }

/* typography end */




/* integral layout */
html, body {
  height: 100%;
}

body {
  background: #eee;
}

#page {
  width: 920px;
  min-height: 100%;
  margin: 0px auto;
  padding: 0px 20px;
  overflow: hidden;
  background: white;
  border: 1px solid rgb(216, 212, 202);
  border-top: 0;
  border-bottom: 0;
  position: relative;
}

#container {
  overflow: hidden;
  padding: 5px 0 60px 0;
  zoom: 1; /* ie6 peekaboo hack */
}

#main {
  width: 710px;
  float: right;
}

#sidebar {
  width: 192px;
  float: left;
  margin-bottom: 20px;
}

#footer {
  background: rgb(59, 115, 185);
  color: white;
  text-align: center;
  padding: 20px 0px;
  margin-top: 20px;
  position: absolute;
  width: 920px;
  bottom: 5px;
}
  #footer a {
    color: white;
  }
  #footer .copyright {
    text-align: center;
  }

/* integral layout end */


/* main */

#header {
  height: 160px;
  background: rgb(59, 115, 185);
  padding: 1px;
  position: relative;
}
  #header h1 {
    margin: 0;
  }
  #header h1 a{
    display: block;
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-decoration: none;
    margin: 60px 20px 0px 20px;
  }
  #header .description {
    color: white;
    font-size: 24px;
    margin: 5px 20px;
  }
  a.feed {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
  }


#about {
  height: 160px;
  margin-top: 20px;
  padding: 5px;
  border: 1px solid #ccc
}
  #about .photo {
    height: 158px;
    width: 160px;
    float: left;
    border: 1px solid rgb(216, 212, 202);
    overflow: hidden;
  }
    #about .photo img {
      width: 160px;
    }
  #about .detail {
    width: 518px;
    height: 148px;
    padding: 5px;
    float: right;
    margin-left: 5px;
    overflow: hidden;
  }

#content {
  margin-top: 20px;
}


#content .section {
  margin-bottom: 40px;
}

  #content .section-heading{
    padding: 10px;
    font-size: 1.33em;
    font-weight: bold;
    background: rgb(59, 115, 185);
    color: white;
    margin-bottom: 15px;
  }
    #content .section-heading a {
      background: transparent;
      color: white;
    }

  .post, .page, .hentry, .category-mood {
    padding: 20px 10px;
    margin: 0px 0px 30px 0px;
    overflow: hidden;
  }
  .sticky {
    background: #f6f6f6;
  }
    .post-title, #content h2 {
      font-size: 1.6em;
      font-weight: bold;
    }
    .entry {
      padding: 5px 0px;
      border-bottom: 1px dotted #ccc;
      overflow: hidden;
    }
    .postmetadata {
      padding: 5px 0;
    }
      .separator {
        padding: 0 10px;
      }
      .author {
        font-weight: bold;
      }
    #content .post-navigation {
      border-top: 1px dotted rgb(59, 115, 185);
      padding: 10px 0 30px 0;
      font-weight: bold;
      overflow: hidden;
    }
      #content .post-navigation .alignleft {
        float: left;
      }
      #content .post-navigation .alignright {
        float: right;
      }

    .not-found {
      text-align: center;
      margin-top: 50px;
    }

/* main end */


/* sidebar */

#sidebar #logo {
  border: 1px solid rgb(216, 212, 202);
  height: 160px;
  overflow: hidden;
}

#sidebar a {
  text-decoration: none;
}
  #sidebar a:hover {
    background: rgb(59, 115, 185);
    color: white;
  }
  li.current_page_item>a, li.current-cat>a {
    background: rgb(59, 115, 185);
    color: white;
  }
  /* ie6 hack */
  * html li.current_page_item a, li.current-cat a {
    background: rgb(59, 115, 185);
    color: white;
  }



#sidebar ul li {
  margin-top: 20px;
}
  #sidebar ul li ul li {
    margin: 3px 0;
  }

#sidebar ul li ul, .widget_tag_cloud div {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-top: 0;
}
  #sidebar ul li ul li ul {
    padding: 0 8px;
    border: 0px;
  }

#sidebar #wp-calendar, #sidebar caption {
  font-style: italic;
  width: 192px;
  border: 1px solid rgb(216, 212, 202);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
  #sidebar caption {
    border-bottom: 0px;
  }
  caption, th, td {
    text-align: center;
    vertical-align: middle;
  }
  caption {
    font-size: 1.2em;
    padding: 5px 0;
  }
  th, td {
    height: 1.6em;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
  }
  th {
    background: rgb(59, 115, 185);
    color: white;
  }
  td#today {
    background: rgb(59, 115, 185);
    color: white;
  }
  table a {
    display: block;
    height: 100%;
    line-height: 1.6em;
  }



/* search form */

#searchform {
  margin-top: 20px;
}
  #searchform label {
    display: block;
    font-size: 1.33em;
    font-weight: bold;
    padding: 5px 10px;
    color: white;
    background: rgb(59, 115, 185);
    margin-bottom: 8px;
  }
  #searchform #s {
    font-family: Arial, sans-serif;
    width: 128px;
    *width: 120px;
    height: 16px;
    vertical-align: middle;
  }
  #searchsubmit, #submit,  {
    cursor: pointer;
    font-family: Arial, sans-serif;
    color: white;
    background: #3B73B9;
    border: 0;
    height: 22px;
    vertical-align: middle;
    font-weight: bold;
    padding: 2px;
    padding: 2px 4px\9; /* all ie browser hack */
    +padding: 2px 0; /* ie6 and ie7 hack */
    margin: 0;
  }
  input[type="submit"], input[type="button"] {
    cursor: pointer;
    font-family: Arial, sans-serif;
    color: white;
    background: #3B73B9;
    border: 0;
    height: 22px;
    vertical-align: middle;
    font-weight: bold;
    padding: 2px;
    padding: 2px 4px\9; /* all ie browser hack */
    +padding: 2px 0; /* ie6 and ie7 hack */
    margin: 0;
  }
    #searchsubmit:hover, #submit:hover {
      background: #eee;
      color: #3B73B9;
    }
    input[type="submit"]:hover, input[type="button"]:hover {
      background: #eee;
      color: #3B73B9;
    }


/* comments */

.comments-template {
  margin-top: 30px;
}

.comments-template h3 {
  font-size: 1.4em;
  font-weight: bold;
}

#commentform {
  margin-top: 10px;
}

.comment {
  background: #f6f6f6;
}

.trackback, .pingback {
  background: rgb(255, 242, 253);
}

.nocomments {
  text-align: center;
  padding: 30px 0;
  font-weight: bold;
}

.bypostauthor {
  background: rgba(59, 115, 185, 0.1);
}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}

#commentform input {
  font-family: Arial, sans-serif;
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#respond {
  margin-top: 30px;
}

#respond:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

#commentform #submit {
  font-weight: bold;
  width: auto;
  padding: 3px 8px;
	margin: 0 0 5px auto;
	float: right;
}

#commentform textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
	width: 100%;
  *width: 99%; /* ie6 and ie7 hack */
	padding: 2px;
	}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 10px;
	list-style: none;
	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

/* comments end */