/*
Theme Name: Ease
Description: Ease is an easy to use and customizable WordPress Theme featuring 4 widget-ready areas, custom header image and some more stuffs.
Author: cnhk_systems
Author URI: http://profiles.wordpress.org/cnhk_systems
Version: 0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Theme URI: none
Tags: white, red, two-columns, right-sidebar, threaded-comments, sticky-post, flexible-width
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
	margin: 0.8em 0 0.2em;
	color: #b51;
}

#main h1,
#main  h2 {
	background-color: #a33;
	color: #fff;
	text-shadow: 2px 1px 2px #d63;
	letter-spacing: 0.2em;
	padding: 0.2em 0.3em;
	font-family: "Times New Roman", Times, serif;
}

#main h1 {
	font-variant: small-caps;
}

#grid-layout h1,
#grid-layout h2 {
	background-color: #fff;
	color: #a33;
	text-shadow: 2px 1px 2px #fc9;
	letter-spacing: 0.2em;
	padding: 0.2em 0.3em;
	font-family: "Times New Roman", Times, serif;
}

#grid-layout h1 {
	font-variant: small-caps;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

table {
	font-size: 0.8em;
}

#main table td {
	padding: .5em .7em;
}

audio, canvas, video {
    display: inline-block;
}

/**
* WordPress core 
*/

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.gallery-caption {

}

/**
* Basics
*/

body {
	font-family: Georgia, Times, serif;
	margin: auto;
	width: 92%;
	color: #555;
	min-width: 760px;
	line-height: 1.5em;
}

#main-wrapper {
	background-color: #fff;
	min-height: 480px;
	padding: 1em 0;
}

@media only screen and (max-width: 719px) {
	body {
	 font-size: 12px;
	}
}

@media only screen and (min-width: 720px) {
	body {
	 font-size: 16px;
	}
}

/**
* Layout
*/

#header-background {
	display: block;
	width: 100%;
	height: auto;
}

#wrap {
	padding: 1em 0.5em;
	height: 100%;
}

#main {
	width: 72%;
	float: left;
	margin-bottom: 1em;
	overflow: hidden;
}

#sidebar {
	position: relative;
	float: right;
	width: 20%;
	border: 1px solid #ddd;
	padding: 0.4em;
	font-size: 0.8em;
	margin-bottom: 1em;
}

#sidebar a {
	color: #888;
}

#sidebar a:hover {
	color: #f62;
}

#sidebar .widget > ul,
#sidebar .widget > ol {
	list-style: none inside;
}

#searchsubmit {
	display: none;
}

#s {
	width: 65%;
}

#site-foot {
	clear: both;
	border-top: 1px solid #ddd;
	margin-top: 1.4em;
	font-size: 0.8em;
}

/**
* Footer sidebars
*/

#site-foot .three-sidebars .widget-area{
	width: 30%;
	float: left;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	margin-left: 1%;
	margin-right: 1%;
}

#nav-primary {
	width: 100%;
	position: relative;
	line-height: 1em;
}

#nav-primary * {
	line-height: 1em;
}

#nav-primary ul{
	list-style: outside none;
	margin: 0;
	padding: 0;
}

#nav-primary .menu {
	height: 1.6em;
	background-color: #a33;
}

#nav-primary ul li {
	position: relative;
	float: left;
	padding: 0.2em 0.4em 0.4em;
	background-color: #a33;
	z-index: 9999;
	display: block;
}

#nav-primary ul ul li {
	float: none;
	width: 12em;
}

#nav-primary ul a{
	text-decoration: none;
	color: #fff;
	text-shadow: 2px 1px 3px #fa8;
}

#nav-primary ul a:hover{
	text-decoration: underline;
	color: #fff;
	text-shadow: 2px 1px 3px #833;
}

#nav-primary ul ul a{
	text-decoration: none;
	color: #666;
	text-shadow: 2px 1px 3px #eee;
	padding: 0.3em;
}

#nav-primary ul ul a:hover{
	text-decoration: underline;
	color: #000;
	text-shadow: 2px 1px 3px #aaa;
}

#nav-primary ul ul > li {
	-webkit-transition-property: background-color, opacity;
	-webkit-transition-duration: 400ms, 1s;
	-moz-transition-property: background-color, opacity;
	-moz-transition-duration: 400ms, 1s;
	transition-property: background-color, opacity;
	transition-duration: 400ms, 1s;
	background-color: #a33;
	opacity: 1;
}

#nav-primary ul ul {
	display: block;
	position: absolute;
	top: 100%;
	visibility: hidden;
}

#nav-primary ul ul ul {
	left: 100%;
	top: -1px;
	visibility: hidden;
}

#nav-primary ul li:hover > ul > li {
	background-color: #fbfbfb;
	opacity: 0.95;
}

#nav-primary ul li:hover > ul {
	display: block;
	position: absolute;
	visibility: visible;
	border: 1px solid #ddd;
}

#nav-primary ul ul li:hover > ul {
	display: block;
	position: absolute;
	visibility: visible;
	left: 100%;
	top: -1px;
	border: 1px solid #ddd;
}

/**
*	Elements
*/

a {
	color: #55f;
	text-decoration: none;
}

a:hover {
	color: #f62;
	text-decoration: underline;
}

a:visited {
	color: #d000bc;
}

h1 {
	font-size: 1.6em;
}

.page h1,
.single h1 {
	margin-bottom: 1em;
}

h2 {
	font-size: 1.3em;
}

h3 {
	font-size: 1.2em;
	text-decoration: underline;
}

h4 {
	font-size: 1.1em;
	text-decoration: underline;
	font-style: italic;
}

h5, h6 {
	font-size: 1.1em;
	text-decoration: underline;
}

blockquote {
	font-size: 1.2em;
	font-style: italic;
	padding: 0 1em;
	margin: 1em 2em;
}

q {
	font-size: 1em;
	font-style: italic;
	padding: 0.4em 0.8em;
	margin: 0.8em 1.4em;
}

u, ins {
	text-decoration: underline;
}

abbr, acronym  {
	cursor: help;
	border-bottom: 1px dotted;
	font-family: Arial, Sans-serif;
}

table {
	border-collapse: collapse;
}

th {
	border-bottom: 1px solid #777;
}

th, td {
	padding: 0.2em 1.6em;
}

td {
	border-bottom: 1px solid #bbb;
}

tbody {
	font-size: 0.9em;
	text-align: left;
}

dl {
	font-family: "Times New Roman", Times, Arial, Serif;
	padding-left: 1.6em;
}

dt {
	font-size: 1.2em;
	padding-left: 0.8em;
}

dd {
	font-style: italic;
}

dd em {
	font-style: normal;
}

/**
*	List
*/

ul{
	list-style-position: inside;
	margin-left: 1em;
	list-style-type: disc;
}

ol{
	list-style-position: inside;
	margin-left: 1em;
	list-style-type: upper-roman;
}

ul ul,
ol ul{
	list-style-type: square;
}

ol ol,
ul ol {
	list-style-type: lower-roman;
}
ul ul ul,
ul ol ul,
ol ol ul,
ol ul ul{
	list-style-type: circle;
}

ul ul ol,
ul ol ol,
ol ol ol,
ol ul ol {
	list-style-type: lower-alpha;
}

address {
	font-family: arial, sans-serif;
	letter-spacing: 0.2em;
	padding: 0.2em 1em;
	margin: 0.5em 0;
	font-style: normal;
}

code {
	font-family: "Courier New", courier, Times, Serif;
}

#main pre {
	margin: 1.4em 0;
	padding: 1em 1.5em;
	overflow: scroll;
	word-wrap: normal;
	border: 1px solid #ccc;
	font-family: "Courier New", courier, Times, Serif;
}

sub {
	font-size: 0.7em;
	position: relative;
	top: 0.3em;
}

sup {
	font-size: 0.7em;
	position: relative;
	top: -0.7em;
}

/**
* Posts
*/

.post-edit-link {
	padding: 0.6em 0.4em;
}

.entry-header{
	margin-top: 1.5em;
}

.entry-header a:hover {
	text-decoration: none;
}

.entry-meta {
	margin: 0.6em 0;
	padding: 0.4em 0.2em;
	border: 1px solid #ddd;
	background-color: #f8f8f8;
	clear: both;
}

.entry-meta a {
	font-style: italic;
	color: #888;
}

.entry-meta a:hover {
	color: #222;
}

.entry-date {
	text-decoration: underline;
}

.pagination {
	margin: 0.6em 1.2em;
	font-weight: bold;
	padding: 0.2em 0.8em 0.3em;
	clear: both;
}

.pagination > a{
	font-weight: normal;
	color: #888;
	padding: 0.2em 0.2em 0.3em;
}

.wp-post-image {
	float: right;
	margin: 0 0.2em 0.4em 0.4em;
}

#main article {
	word-wrap: break-word;
}

#grid-layout article{
	margin: 0 2% 3% 2%;
	float: left;
	width: 45%;
	height: 21em;
	overflow: hidden;
}

.sticky {
	border: 1px solid #ccc;
	padding: 1.4em;
}

#grid-layout .sticky {
	width: 95%;
	margin-left: auto; 
	margin-right: auto;
	float: none;
}

/**
* Comments
*/

#comments-wrapper {
	font-size: 0.8em;
	color: #555;
	margin-top: 2em;
}

#comments-wrapper h1,
#comments-wrapper h2{
	background-color: #fff;
	color: #000;
	text-shadow: 1px 2px 3px #999;
	margin: 0.3em 0 0.2em;
}

#comments-wrapper h3,
#comments-wrapper h4,
#comments-wrapper h5,
#comments-wrapper h6{
	color: #888;
	text-shadow: 1px 2px 3px #bbb;
	margin: 0.3em 0 0.2em;
}

.comments-list,
.children {
	list-style: none outside;
}

#comments-wrapper ul,
#comments-wrapper ol {
	margin: 0;
}

#comments-wrapper .comment {
	margin-top: 0.5em;
	margin-bottom: 1.5em;
	border: 1px solid #bbb;
	padding: 0.4em;
}

#comments-wrapper .avatar {
	margin-right: 0.5em;
}

#comments-wrapper .pingback {
	padding: 0.4em 1em;
	background-color: #feb;
	border: 1px solid #fb9;
}

#comments-wrapper .alt {
	background-color: #fafafa;
}

#comments-wrapper #comment {
	resize: vertical;
	width: 92%;
}

#comments-wrapper #respond{
	background-color: #eee;
	border: 1px solid #ddd;
	padding: 0.6em;
	width: 86%;
}

#comments-wrapper #respond label {
	font-weight: bold;
	display: block;
}

.comment-closed {
	margin: 1em 2em;
	padding: 0.4em 1.2em;
	clear: both;
	color: #f33;
	background-color: #feb;
	border: 1px solid #e92;
	font-size: 1.6em;
}

#theme-credit {
	clear: both;
	text-align: center;
}

.bypostauthor {

}
