/*
Theme Name: Notte
Theme URI: http://armno.in.th
Description: ArmNo's first WordPress theme, based on HTML5 and CSS3.
Author: ArmNo
Author URI: http://armno.in.th
Version: 0.9
Tags: html5, css3, 2-column, gray
*/

/**
    Change Log:
	09.01.2011 - added .flickr-photos
        06.30.2011 - changed welcome text
        05.03.2011 - added styles for #nav-below
        04.23.2011 - removed #about_me_photo. changed to tag selector
        04.06.2011 - increased whitespace of content and sidebar
        03.22.2011 -fixed overflowed content of .post
        03.20.2011 - fixed floated post footer and size
        03.16.2011 - implemented modernizr
        03.15.2011 - decreased font size, line height. changed base font color
                        - added search form on sidebar
        03.14.2011 - added overflow:hidden for header elements
        03.13.2011 - change width, ratio of the theme, background images, colors
	01.12.2011 - increase height of main header
	01.11.2011 - remove background color and text shadow (global)
        09.25.2010 - add 3 default sidebar widgets (recent posts, categories, and archives)
                        - add 'skip to navigation' link (invisible) to improve site accessibility
	09.21.2010 - change id of subscribe section to subscribe_blog (conflicted with a plugin)
		   - add styles for #subscribe (inline alignment and right margin)
        08.28.2010 - won't show tag label of catำgory if the post hasn't them
                        - remove the link of Page title
        08.26.2010 - start this log
                        - add styles support 3-levels menu
                        - clean up code a little bit
                        - darken background color of <li> tags of nav menus
                        - add some styles for 'Reply' link
**/

@import "css/reset.css";

/* Getting the new tags to behave */
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video { display: block; }
mark, rp, rt, ruby, summary, time { display: inline }

/* Site-wide properties ======================================================== */
body {
    background: url(images/bg.jpg) top left repeat;
    font: 13px/1.5 Helvetica,"Lucida Grande",Arial,sans-serif;
    color: #333;
    -moz-text-shadow: 0 1px 0 #fff;
    -webkit-text-shadow: 0 1px 0 #fff;
    text-shadow: 0 1px 0 #fff;

    behavior: url(ie-css3.htc);

}

a {
    color: #5A79A5;
    text-shadow: 0 1px #fff;
}

a:hover {
    /*    color: #333;*/
    border-bottom: 1px dashed #5a79a5;
}

a:active {
    position: relative;
    top: 1px;
}

a:link, a:visited {
    text-decoration: none;
    outline: 0;
}

p {
    margin: 0 0 20px;
    line-height: 1.5em;
}

/* Heading Tags */
h1 {
    font-size: 3.2em;
    margin: 15px 0;
}

h2 {
    font-size: 2.2em;
    font-family: 'Lora', Arial, serif;
}

h3 {
    font-size: 1.6em;
    padding-top: 10px;
    margin: 5px 0;
}

h4 {
    font-size: 1.2em;
    margin: 10px 0;
}

acronym {
    border-bottom: 1px dotted #ccc;
    cursor: help;
}

code {
    background-color: #ddd;
    border: 1px solid #ccc;
    margin: 10px auto;
    padding: 10px 20px;
    overflow: auto;
    display: block;
    width: 80%;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

ol, ul {
    margin: 10px 25px;
    padding: 0 20px;
}

ol { list-style: decimal outside none; }
ul { list-style: disc outside none; }
li { margin: 5px 0; }

dt {
    font-weight: bold;
    font-style: italic;
}

dd {
    padding-left: 20px;
    margin: 5px 0;
}

blockquote {
    background: url("images/quote.png") 0 5px no-repeat;
    font: italic 16px Georgia,'Times New Roman',Times,Serif;
    margin: 10px auto;
    padding: 10px 20px 10px 45px;
    width: 70%;
}

blockquote p {
    margin: 0 !important;
}

fieldset {
    background-color: #ddd;
    border: 1px solid #ccc;
    padding: 20px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

legend {
    background-color: #eee;
    border: 1px solid #eee;
    font: italic bold 16px;
    padding: 0 10px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

label {
    display: block;
}

input, textarea, select {
    border: 1px solid #aaa;
    display: block;
    font-family: inherit;
    margin: 5px 0;
    padding: 5px;

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

time {
    color: #999;
    font: italic 12px;
}

/* Reusable classes ============================================================ */

/* Left & Right alignment */
.left{ float: left; }
.right{ float: right; }

/* The inside class provides consistent padding. To be used often! */
.inside{ padding: 10px 20px; }
.inside_more { padding: 10px 40px; }

/* For when a <br /> just ain't enough */
.separator {
    clear: both;
    float: left;
    height: 1px;
    width: 100%;
}

/***** Basic Structure *****/
#wrapper {
    margin: 0 auto 20px auto;
    background-color: rgba(255,255,255,0.6);
    padding: 0 20px;
    width: 1020px;
    overflow: hidden;

    -moz-box-shadow: 0 3px 5px #999;
    -webkit-box-shadow: 0 3px 5px #999;
    box-shadow: 0 3px 5px #999;
}

.no-rgba #wrapper {
    background: url(images/ie_bg_light.png) transparent;
}


/***** Section : Header *****/
#header_container {

    background: url(images/top_bg.jpg) repeat-x #333;
    height: 60px;
    overflow: hidden;
    -moz-box-shadow: 0 0 5px #000;
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
    margin: 0 auto;
    /*    width: 1020px;
        padding: 0 20px;*/
}

#header_container header {
    width: 1020px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
    clear: both;
}

#blog_title {
    margin: 0;
    padding-top: 10px;
    font: normal 30px 'Lobster Two', arial, serif;
    width: 618px;
    float: left;
}

#blog_title a {
    color: #dcdcdc;
    text-shadow: 0 1px 1px #000;
}

#header_container a:hover {
    color: #fff;
}

#site_menus {
    float: left;
    width: 402px;
}

#site_menus ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#site_menus li {
    float: left;
    margin-top: 20px;
}

#site_menus a {
    text-transform: uppercase;
    font: normal 14px 'Lora',arial, helvetica, serif;
    padding: 6px 15px 6px 15px;
    color: #c1c1c1;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    -moz-text-shadow: 0 1px 1px #000;
    -webkit-text-shadow: 0 1px 1px #000;
    text-shadow: 0 1px 1px #000;
}

#site_menus a:hover {
    border: none;
}

#site_menus .current {
    background-color: #1c1c1c;

    -moz-box-shadow:
        0 1px 1px #626262,
        inset 0 0 5px #000;
    -webkit-box-shadow:
        0 1px 1px #626262,
        inset 0 0 5px #000;
    box-shadow:
        0 1px 1px #626262,
        inset 0 0 5px #000;
}

#hello_container {
    background: rgba(0,0,0,0.1);
    /*    width: 100%;*/
    overflow: hidden;
    height: 340px;
    margin: 0 auto;
    /*    width: 1020px;
        padding: 0 20px;*/

    /*
        -moz-box-shadow: 0 0 5px #999;
        -webkit-box-shadow: 0 0 5px #999;
        box-shadow: 0 0 5px #999;*/
}

.no-rgba #hello_container {
    background: url(images/ie_bg.png) transparent;
}

#hello_message {

    margin: 0 auto;
    width: 1020px;
    padding: 0 20px;
    overflow: hidden;
    clear: both;

    -moz-text-shadow: 0 1px 0 #ebebeb;
    -webkit-text-shadow: 0 1px 0 #ebebeb;
    text-shadow: 0 1px 0 #ebebeb;

}

#hello_message h1 {
    font: normal 76px 'Lobster Two', arial, serif;
    padding: 60px 0 0;
    color: #66717e;
    letter-spacing: 4px;
    margin-top: 0;
    text-align: center;

    -moz-text-shadow: 0 1px 0 #ebebeb;
    -webkit-text-shadow: 0 1px 0 #ebebeb;
    text-shadow: 0 1px 0 #ebebeb;

}

#hello_message span {
    color: #525252;
}

#hello_message p {
    font: italic 12px arial, serif;
    color: #999;
    margin-bottom: 20px;
    margin-top: -20px;
    text-align: right;
    padding-right: 80px;
}

#tagline {
    padding-left: 20px;
    margin: 0 0 20px 0;
    font: normal 14px Arial, Helvetica, Verdana, sans-serif;
}

#skipnav { visibility: hidden; }

#header_image {
    border-top: 2px solid #535353;
    border-bottom: 2px solid #535353;
    float: left;
    height: 200px;

    -moz-box-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
}

header hgroup {
    float: left;
    height: 140px;
    width: 638px;
}

#subscribe_blog {
    float: left;
    width: 382px;
    font-family: 'Lora', Arial, serif;
    font-size: 10px;
}

#subscribe_blog img {
    display: block;
    margin: 0 auto;
}

#feeds, #followers_count, #contact, #sitemap {
    float: left;
    margin-left: 10px;
    padding-top: 10px;
    text-shadow: 0 1px #fff;
    width: 85px;
    text-align: center;
}

#nav_wrapper {
    /*    background-color: #666;*/
    float: left;
    height: 55px;
    border-bottom: 2px solid #535353;

    -moz-box-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
}

#nav_wrapper nav {
    clear: both;
    float: left;
    height: 39px;
    margin-top: 10px;
    width: 618px;
}
#nav_wrapper nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav_wrapper nav li {
    float: left;
    font-size: 16px;
    margin-top: 2px;
    padding: 7px 10px 5px 35px;
}

#nav_wrapper nav a {
    /*    border: 1px solid #eee;*/
    color: #666;
    font-weight: bold;
    margin-right: 5px;
    text-decoration: none;

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

#nav_wrapper nav a:hover {
    color: #5A79A5;
}

#menu-navigation-menu > li:nth-child(1) { background: url("images/home.png") top left no-repeat; }
#menu-navigation-menu > li:nth-child(2) { background: url("images/star.png") top left no-repeat; }
#menu-navigation-menu > li:nth-child(3) { background: url("images/camera.png") top left no-repeat; }
#menu-navigation-menu > li:nth-child(4) { background: url("images/iphone.png") top left no-repeat; }
#menu-navigation-menu > li:nth-child(5) { background: url("images/headphones.png") top left no-repeat; }


.sub-menu {
    clear: both;
    display: none;
    position: absolute;
    z-index: 10;
    margin: 0;
    padding: 10px 0 0 0;
    width: 150px;
}

.sub-menu .sub-menu {
    left: 140px;
    top: 5px;
}

.sub-menu li {
    background: #444;
    float: none;
    margin: 0;
    padding: 5px 10px;

    background-color: rgba(0,0,0,0.85);
}

.sub-menu .sub-menu  li {
    padding-left: 15px;
}

.sub-menu li:hover {
    background: #111;
    background-color: rgba(0,0,0,0.95);
}

.sub-menu li a {
    border: 0;
    color: #eee;
    font-size: 14px;
    font-weight: normal;

    text-shadow: 0 0 0;
}

.sub-menu li:first-child {
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;

    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
}

.sub-menu li:last-child {
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;

    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
}

nav li:hover > ul {
    display: block;
}

#searchbox {
    margin: 10px 0;
    width: 362px;
}

#search_string {
    border: 1px solid #aaa;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    float: left;
    margin: 0 10px 0 0;
    padding: 5px;
    width: 300px;

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

#search_button {
    background: url("images/search.png") top left no-repeat;
    border: 0;
    cursor: pointer;
    height: 32px;
    margin-left: 10px;
    width: 40px;
}

/***** End section : Header *****/

/***** Section : Content *****/
#content {
    float: left;
    padding: 20px;
    width: 598px;
}

/* Post Content */
.post {
    float: left;
    margin-top:20px;
    width: 598px;
    overflow: hidden;
}

.post header {
    margin-bottom: 10px;
}

.metadata {
    color: #999;
    font-size: 12px;
    margin: 0;
}

.post_meta {
    color: #aaa;
}
.post_content {
    margin: 10px 0;
}

.post_content p a:hover {
    color: #5A79A5;
}

.more-link {
    font-size: 13px;
    font-weight: normal;
    float: right;
    margin-top: 10px;
}

.post footer {
    background: url('images/ie_bg.png'); /* ie8 hack */
    background: rgba(0,0,0,0.1);
    font-size: 12px;
    margin: 15px 0;
    padding: 5px 10px;
    width: 578px;

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.category_link, .tag_link, .comment_link {
    margin-right: 20px;
    display: inline-block;
    padding:5px 0 5px 30px;
}

.category_link a, .tag_link a, .comment_link a {
    color: #333;
}

.category_link a:hover, .tag_link a:hover, .comment_link a:hover {
    color: #5A79A5;
}

.category_link { background: url("images/folder.png") top left no-repeat; }
.tag_link { background: url("images/tags.png") top left no-repeat; }
.comment_link { background: url("images/balloon.png") top left no-repeat; }

/* Comments */
#comment_count {
    clear: both;
    margin-bottom: 0;
}

.comment {
    min-height: 90px;
    padding: 10px 20px;
}

.comment p {
    padding-left: 110px;
    margin: 10px 0;
}

.comment time {
    padding-left: 3px;
}

.reply {
    margin-top: 15px;
    padding-left: 110px;
}

.comment-reply-link {
    background-color: #5A79A5;
    color: #fff;
    font-size: 12px;
    padding: 5px;
    text-shadow: 0 1px 0 #000;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

}

.comment-reply-link:hover {
    text-shadow: 0 1px 1px #000;
}

.avatar {
    border: 1px solid #ccc;
    float: left;
    margin: 5px 20px 0 0;
    padding: 10px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}


/***** Comment Forms *****/
#reply-title {
    font-family: 'Lora', Arial, sans-serif;
}

#submit {
    cursor: pointer;
    display: inline-block;
    outline: none;
    text-align: center;
    text-decoration: none;

    background-color: #888888; /* For IE */
    background:-moz-linear-gradient(center top , #888888, #575757) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, left top, left bottom, from(#888888), to(#575757));
    border:1px solid #555555;
    color:#E9E9E9;
}

#submit:hover {
    text-decoration: none;
    background-color: #757575; /* For IE */
    background:-moz-linear-gradient(center top , #757575, #4B4B4B) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4B4B4B));
}

#submit:active {
    position: relative;
    top: 1px;
    color: #fcd3a5;
    background-color: #575757; /* For IE */
    background:-moz-linear-gradient(center top , #575757, #888888) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888888));
    color:#AFAFAF;
}

#commentform label {
    color: #aaa;
    font-size: 12px;
    font-style: italic;
    margin-top: 10px;
    display: inline;
}

.required {
    color: #666;
    display: inline;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input
{
    width: 250px;
}

.form-submit {
    margin: 10px 0;
}

.form-submit input {
    cursor: pointer;
}

#comment_submit:hover {
    background-color: #ddd;
}

.comment_author {
    font-weight: bold;
}

.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.children {
    list-style: none;
    margin: 0 40px;
    padding: 0;

    -moz-border-radius: 5px;
    border-radius: 5px;
}

/***** End section : Comment Forms *****/

.wp-pagenavi {
    margin-top: 20px;
    float: left;
    text-align: center;
    width: 100%;
}

.wp-pagenavi .current {
    border: 1px solid #ccc;
}

#nav-below {
    float: left;
    width: 100%;
    margin: 20px 0;
    font-size: 16px;
    font-style: italic;
}

.nav-previous {
    float: left;
    width: 50%;
}

.nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
/***** End Section : Content *****/

/***** Section : Sidebar ******/
aside {
    float: left;
    width: 342px;
    padding: 30px 20px 0;
}

aside h2 {
    font-size: 1.8em;
    font-family: 'Lobster Two', Arial, serif;
    margin-bottom: 10px;
}

aside ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.widget ul {
    list-style-type: disc;
    padding: 0 20px !important;
}

#about_me {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    overflow: hidden;

    -moz-box-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 #fff;
}

#about_me p {
    margin: 0;
}

#about_me img {
    border: 1px solid #ccc;
    float: left;
    margin: 5px 10px 0 0;
    padding: 10px;
    width: 64px;
    height: 64px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.widget {
    /* border-bottom: 1px solid #ccc; */
    padding: 10px 0;
    /*
        -moz-box-shadow: 0 1px 0 #fff;
        -webkit-box-shadow: 0 1px 0 #fff;
        box-shadow: 0 1px 0 #fff;
    */
}

.widget h3 {
    padding-top: 0;
}

.widget ul {
    padding: 0;
}

.flickr-photos {
    overflow: hidden;
}

.flickr-photos li {
    width: 90px;
    float: left;
    list-style: none;
}
/***** End Section : Sidebar *****/


/***** Section : Footer *****/
footer {
    float: left;
    width: 100%;
}

.float_left {
    float: left;
    padding: 5px 15px 0 0;
}

#blog_footer {
    background: url("images/wordpress_logo.png") 20px 20px no-repeat;
    border-top: 1px solid #fff;
    margin: 20px 0;
    padding-top: 20px;
    text-align: right;

    -moz-box-shadow: 0 -1px 0 #ccc;
    -webkit-box-shadow: 0 -1px 0 #ccc;
    box-shadow: 0 -1px 0 #ccc;
}

#blog_footer p {
    font-size: 12px;
    margin-top: 5px;
    padding-right: 20px;
}
/***** End Section : Footer *****/

/***** Plugin Related Styles *****/
#subscribe {
    float: left;
    margin-right: 10px;
}

#warning_message {
    color: red;
    text-align: center;
    font-style: italic;
}

/* clearfix */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

#post_views {
    color: #999;
    font-size: 12px;
    margin-top: 40px;
}
#post_views p {
    margin: 0;
}

#related-posts-container {
   margin-top: 20px;
}

/* for ipad */
@media only screen and (min-width: 768px) and (max-width: 991px) {

    #header_container,
    #hello_container {

        width: 1020px;
        padding: 0 20px;
    }
}

