/*
Theme Name: Happy Apps
Theme URI: http://happyapps.org/
Description: Custom theme for Happy Apps.
Author: Made by Rocket
Version: 1.0
*/

@charset "UTF-8";
/* CSS Document */


/* ---- reset ------*/

* {margin:0;padding:0;}
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,hr {margin:0;padding:0;}
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th {font-size:1em;font-weight:normal;font-style:normal;}
ul,ol {list-style:none;}
fieldset,img,hr {border:none;}
caption,th {text-align:left;}
table {border-collapse:collapse;border-spacing:0;}
td {vertical-align:top;}
.clear {clear:both; width: 0px;}
.left {float: left;}
.right {float: right;}

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }

/* ------------------ body --------------------- */


body {
  background: #232E38 url(images/bg/bg_bottom.jpg);
	font: 62.5% 'Helvetica Neue', Helvetica, Arial, sans-serif;
	text-align: center;
	color: #174672;
	text-shadow: 0 1px #F2F2F2;
}

#top {
  width: 100%;
	background: #E6E6E6 url(images/bg/bg.png) repeat-x; 
}

#bottom {
  width: 100%;
  height: 4px;
  background: url(images/bg/bg_bottom_top.jpg) left top repeat-x;
}

#container {
  width: 804px;
  margin: 0 auto;
  text-align: left;
}


/* ------------ text ------------ */

h1 {
  font-size: 2.8em;
  font-weight: 600;
  color: #FFF;
  text-shadow: 0 -1px #A1A3A6;  
}

h1 a {
  text-shadow: 0 1px #EEE;
}

h2 {
  font-size: 2.3em;
  color: #87ADCC;
  text-shadow: 0 1px #FFF;
  font-weight: 600;
}

p a, h1 a, h2 a, h3 a, h4 a {
  color: #A91420;
  text-decoration: none;
}

h2 a:hover, h3 a:hover {
  text-decoration: underline;  
}

h3 {
  font-size: 2.4em;
  font-weight: 600;
  padding: 6px 12px 8px;
  margin-bottom: 30px;
  background: #174672;
  box-shadow: 0 1px 3px #666;
  -moz-box-shadow: 0 1px 3px #666;
  -webkit-box-shadow: 0 1px 3px #666;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  color: #FFF;
  text-shadow: 0 -1px #333;
}

h4 {
  font-size: 1.8em;
  font-weight: 600;  
  padding: 4px 12px 6px;
  background: #FFF;
  box-shadow: 0 1px 2px #999;
  -moz-box-shadow: 0 1px 2px #999;
  -webkit-box-shadow: 0 1px 2px #999;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

h5 {
  font-size: 2.4em;
  font-weight: 600;
  color: #87ADCC;
}


p {
  font-size: 1.5em;
  line-height: 1.6em;  
}

a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-size: 1.3em;
  font-weight: bold;  
}

/* ------------------ nav --------------------- */

#nav {
  position: relative;
}

.logo a {
  width: 112px;
  height: 30px;
  background: url(images/nav/logo.png)  0 bottom no-repeat;
  display: block;
}


/* ------------ apps ------------ */

ul.apps {
  position: absolute;
  top: 0;
  left: 290px;
  overflow: hidden;
  font-size: 1.4em;
  font-weight: 500;
}

ul.apps li {
  float: left;
  text-align: center;
}

ul.apps li a {
  color: #FFF;
  text-shadow: 0 -1px #8B1119;
  padding-top: 11px;
}

ul.apps li.webnote a {
  width: 90px;
  height: 61px;
  background: url(images/nav/nav_webnote.png) 0 0 no-repeat;
  display: block;
  margin-right: 15px;
}

ul.apps li.webnote a:hover, ul.apps li.webnote a.selected {
  padding-top: 20px;
  background-position: -90px 0;
  text-decoration: underline;
}

ul.apps li.goalchart a {
  width: 102px;
  height: 61px;
  background: url(images/nav/nav_goalchart.png) 0 0 no-repeat;
  display: block;
}

ul.apps li.goalchart a:hover, ul.apps li.goalchart a.selected {
  padding-top: 20px;
  background-position: -102px 0;
  text-decoration: underline;
}


/* --------- regular --------- */

ul.regular {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: 500;
}

ul.regular li {
   float: left;
   text-align: center;
   background: url(images/nav/nav_divider.png) left 0 no-repeat;
}

ul.regular li a {
  height: 25px;
  color: #87ADCC;
  text-decoration: none;
  text-shadow: 0 -1px #111D2D;
  display: block;
  padding-top: 11px;
}

ul.regular li a:hover {
  color: #FFF;
}

ul.regular li.consulting {width: 93px;}
ul.regular li.about {width: 62px;}
ul.regular li.blog {width: 53px;}
ul.regular li.contact {width: 74px;}

ul.regular li.consulting a.selected { background: url(images/nav/nav_consulting.png);}
ul.regular li.about a.selected { background: url(images/nav/nav_about.png) no-repeat;}
ul.regular li.blog a.selected { background: url(images/nav/nav_blog.png); width:}
ul.regular li.contact a.selected { background: url(images/nav/nav_contact.png);}

ul.regular li.consulting a.selected, ul.regular li.about a.selected, ul.regular li.blog a.selected, ul.regular li.contact a.selected {
  color: #FFF;  
}

ul.regular li.contact .lastnav {
    background: url(images/nav/nav_divider.png) right 0 no-repeat;
}

/* ------------------ content --------------------- */

#content {
  padding: 50px 0;
}


/* ------------------ footer --------------------- */

#footer {
  width: 800px;
  font-size: 1.1em;
  color: #526C81;
  margin: 0 auto;
  text-shadow: 0 -1px #111D2D;
}

#footer a {
  color: #526C81;
  text-shadow: 0 -1px #111D2D;
}

#footer a:hover {
  color: #87ADCC;  
}

#footer .left {
  margin: 15px 0 50px;
}

#footer ul {
  float: right;
  overflow: hidden;
  margin: 15px 0 50px;
}

#footer ul li {
  float: left;
  padding: 0 3px;
}

/* ----------------------------------------------- */
/* ------------------- blog ---------------------- */
/* ----------------------------------------------- */

#content p {
  text-shadow: 0px 1px #FFF;
}

#content > .left {
  float: left;
  width: 560px;  
}

#content > .right {
  float: right;
  width: 200px;
  background: #FFF;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  box-shadow: 0 1px 4px #666;
  -moz-box-shadow: 0 1px 4px #666;
  -webkit-box-shadow: 0 1px 4px #666;
  box-shadow: 0 1px 4px #666;
}

#sidebar > ul > li {
  border-bottom: 1px solid #CCCCCC;
  padding: 10px 20px;
}

#sidebar > ul > li:last-child {
  border-bottom: none;
}
  
#sidebar > ul > li.search {
  padding: 10px;
}

#searchform input[type="text"] {
  background: #E6E6E6;
  border: 1px solid #A6A6A6;
  border-right: 0px;
  border-top-color: #868686;
  border-left-color: #969696;
  color: #174672;
  font-size: 15px;
  height: 20px;
  width: 105px;
  padding: 4px 10px;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

#searchform .submit {
  border: 1px solid #A6A6A6;
  border-bottom-color: #5C5C5C;
  border-left-color: #7A7A7A;
  border-right-color: #969696;
  color: #FFF;
  cursor: pointer;
  display: inline-block;
  height: 12px;
  font-size: 11px;
  padding: 8px;
  vertical-align: top;
  text-shadow: 0px 1px rgba(0, 0, 0, 0.3);
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.03, rgb(179,179,179)),
    color-stop(0, rgb(255,255,255)),
    color-stop(1, rgb(115,115,115))
  );
  background-image: -moz-linear-gradient(
    center top,
    rgb(179,179,179) 3%,
    rgb(255,255,255) 0%,
    rgb(115,115,115) 100%
  );
}

#searchform input:focus {
  outline: none;
}

#sidebar h2 {
  font-size: 16px;
  color: #174672;
  font-weight: 800;
}

#sidebar .icon {
  vertical-align: middle;
  margin-right: 5px;
}

#sidebar .icon-label {
  font-size: 16px;
  vertical-align: middle;
}

#sidebar ul ul {
  margin-left: 10px;
  font-size: 14px;
  padding: 10px 0px;
}

#sidebar ul ul li {
  color: #86ACCC;
  padding: 2px 0px;
}

#sidebar ul ul a {
  font-weight: 400;
}

#sidebar .products img {
  float: left;
  margin-right: 10px;
  display: block;
}

#sidebar .products {
  margin-left: 0px;
}

#sidebar h5 {
  color: #174672;
  font-size: 14px;
}

#sidebar .products .right {
  width: 120px;
}

#sidebar .products p {
  color: #85ACCC;
  font-size: 12px;
  line-height: 16px;
}

#sidebar .products li:first-child {
  margin-bottom: 10px;
}

.post {
  border-bottom: 1px solid #FFF;
  margin-bottom: 40px;
}

.post.single {
  margin-bottom: 10px;
}

.posttitle {
  font-size: 22px;
  font-weight: 600;  
  padding: 4px 12px 6px;
  background: #FFF;
  box-shadow: 0 1px 2px #999;
  -moz-box-shadow: 0 1px 2px #999;
  -webkit-box-shadow: 0 1px 2px #999;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  margin-bottom: 30px;
}

.posttitle a {
  float: left;
}

.posttitle .date {
  color: #67ACF1;
  font-size: 13px;
  float: right;
  vertical-align: top;
  font-weight: 400;
  padding-top: 8px;
  display: inline-block;
}

.posttitle.comments {
  margin-bottom: 20px;
}

.postmeta {
  border-bottom: 1px solid #A6A6A6;
  padding-bottom: 20px;
  color: #66ACF1;
  font-size: 15px;
}

.postmeta .left {
  color: #174672;
}

.postmeta .left .categories {
  color: #66ACF1;
}

.postcontent {
  margin-bottom: 30px;
}

.postcontent p, .postcontent ul, .postcontent ol, #pagenav, #postnav {
  color: #174672;
  font-size: 15px;
  line-height: 21px;
}

.postcontent p {
  margin-bottom: 15px;
}

.postcontent p em {
  font-style: italic;
}

.postcontent strong {
  font-size: inherit;
}

.postcontent p em strong {
  font-style: oblique;
}

.postcontent ul {
  list-style: disc;
}

.postcontent ol {
  list-style: decimal;
}

.postcontent ul, .postcontent ol {
  margin-left: 30px;
  margin-bottom: 15px;
}

#commentlist {
  list-style-type: decimal;
  padding-left: 20px;
  font-size: 15px;
}

.comment {
  margin-bottom: 20px;
}

.comment .avatar {
  display: none;
}

.comment .comment_time {
  display: block;
  color: #66ACF1;
  font-size: 13px;
  margin-bottom: 10px;
  margin-top: 4px;
}

.comment .comment_text p {
  font-size: 15px;
  line-height: 21px;
  color: #174672;
  font-weight: 400;
}

#postcomment {
  font-size: 22px;
  color: #174672;
  font-weight: 800;
  padding-bottom: 22px;
}

.divider {
  border-top: 1px solid #A6A6A6;
  border-bottom: 1px solid #FFF;
  width: 100%;
  margin-bottom: 20px;
}

#commentform input[type="text"] {
  margin-right: 10px;
  width: 240px;
}

#commentform input[type="text"], #commentform textarea {
  border: 1px solid #868686;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-size: 16px;
  padding: 5px;
  margin-bottom: 10px;
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

#commentform input[type="text"]:focus, #commentform textarea:focus {
  outline: none;
}

#commentform label {
  color: #174672;
  font-size: 15px;
  font-weight: 800;
}

#commentform label small {
  font-weight: 400;
}

#commentform textarea {
  width: 520px;
  height: 82px;
}

#commentform input[type="submit"] {
  background: url('images/blog/contact-submit.jpg') left top;
  cursor: pointer;
  width: 124px;
  height: 36px;
  display: block;
  border: none;
  color: #FFF;
  font-size: 14px;
  font-weight: 400;
  text-shadow: 0px -1px #103C68;
  margin-left: 200px;
}

.wp-caption {
  background: #FFF;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  box-shadow: 0 1px 4px #666;
  -moz-box-shadow: 0 1px 4px #666;
  -webkit-box-shadow: 0 1px 4px #666;
  box-shadow: 0 1px 4px #666;
  padding: 10px;
  padding-top: 15px;
  padding-bottom: 5px;
  margin: 10px 0px;
}

.wp-caption img {
  display: block;
  margin: 0 auto;
  margin-bottom: 5px;
}

p.wp-caption-text {
  text-align: center;
  font-size: 13px;
  color: #333;
  font-style: italic;
}

.alignright {
  margin-left: 20px;
}

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

.alignleft {
  margin-right: 20px;
}