/*
Theme Name: TwentyPress
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, grey
*/

@import "css/reset.css";

/*@font-face {
    font-family: THSarabun_Bold;
    src: url(THSarabun_Bold.ttf);
}*/

/* 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-color: #eee;
    color: #333;
    font: normal normal 14px Arial;
    margin: 0 auto;
    text-shadow: 0 1px #fff;
    width: 960px;
}

a {
    color: #5A79A5;
    text-shadow: 0 1px #fff;
}

a:hover {
    color: #333;
}

a:active {
    position: relative;
    top: 1px;
}

a:link, a:visited {
    text-decoration: none;
}

p {
    margin: 10px 0;
    line-height: 20px;
}

/* Heading Tags */
h1 {
    font-size: 3.2em;
    margin: 15px 0;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.6em;
    padding-top: 15px;
    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 *****/
#wrap {
    margin: 0 auto;
    position: relative;
    width: 960px;
}

/***** Section : Header *****/
header {
    float: left;
    width: 100%;
}

#blog_title {
    margin: 0;
    padding: 20px 20px 0 20px;
}

#tagline {
    padding-left: 20px;
    margin: 0 0 20px 0;
    font: normal 14px Arial, Helvetica, Verdana, sans-serif;
}

#header_image {
    border-top: 2px solid #535353;
    border-bottom: 2px solid #535353;
    float: left;
    height: 200px;
}

header hgroup {
    float: left;
    height: 105px;
    min-height: 120px;
    width: 640px;
}

#subscribe {
    float: right;
    padding-left: 100px;
    width: 210px;
}

#subscribe p {
    font-size: 10px;
    text-align: center;
}

#subscribe img {
    display: block;
    padding-left: 3px;
}

#feeds, #followers_count, #contact, #sitemap {
    float: left;
    margin-left: 10px;
    padding-top: 10px;
    text-shadow: 0 1px #fff;
    width: 40px;
}

nav {
    clear: both;
    float: left;
    height: 39px;
    margin-top: 5px;
    width: 640px;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 0 0 20px;
}

nav li {
    float: left;
    font-size: 16px;
    margin-top: 2px;
    padding: 7px 10px 5px 35px;
}

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 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;
}

.sub-menu li {
    background: #444;
    float: none;
    margin: 0;
    padding: 5px 10px;

    background-color: rgba(0,0,0,0.75);
}

.sub-menu li:hover {
    background: #111;
    background-color: rgba(0,0,0,0.9);
}

.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 {
    float: right;
    margin-top: 15px;
    width: 320px;
}

#search_string {
    border: 1px solid #aaa;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    float: left;
    margin: 0 10px 0 40px;
    padding: 5px;
    width: 200px;

    -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: 10px 20px;
    width: 600px;
}

/* Post Content */
.post {
    float: left;
    margin-top:20px;
}

.post header {
    margin-bottom: 10px;
    font-family: Arial;
}

.metadata {
    color: #999;
    font-size: 12px;
    margin: 0;
}

.post_meta {
    color: #aaa;
}
.post_content {
    margin-top: 20px;
}

.post_content a:hover {
    color: #5A79A5;
    text-decoration: underline;
}

.more-link {
    font-size: 14px;
    font-weight: normal;
    float: right;
}

.post footer {
    background-color: #ddd;
    font-size: 12px;
    margin: 15px 0;
    padding: 10px;
    width: 580px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.category_link, .tag_link, .comment_link {
    margin-right: 20px;
    float: left;
    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;
}

.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 *****/
#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%;
}

.nav-previous {
    float: left;
    width: 50%;
}

.nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
/***** End Section : Content *****/

/***** Section : Sidebar ******/
aside {
    float: left;
    width: 320px;
}

aside h2 {
    font-size: 1.6em;
}

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;

    -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_photo {
    border: 1px solid #ccc;
    float: left;
    margin: 5px 10px 0 0;
    padding: 10px;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.widget {
    border-bottom: 1px solid #ccc;
    padding: 20px 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;
}
/***** 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: center;

    -moz-box-shadow: 0 -1px 0 #ccc;
    -webkit-box-shadow: 0 -1px 0 #ccc;
    box-shadow: 0 -1px 0 #ccc;
}

#blog_footer p {
    float: right;
    font-size: 12px;
    margin-top: 5px;
}
/***** End Section : Footer *****/
