/*
Theme Name: Ease Child
Template: ease
Description: Ease is an easy to use and customizable WordPress Theme featuring 5 widget-ready areas, custom header image, multiple color schemes, and some more stuffs.
Author: cnhk_systems
Author URI: http://profiles.wordpress.org/cnhk_systems
Version: 0.7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, red, black, light, dark, 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;
	font-family: Calibri, 'Open Sans', Helvetica, sans-serif;
}

#main h1,
#main  h2 {
	letter-spacing: 0.1em;
	padding: 0.4em 0.3em;
    border: 1px solid;
    border-radius: 4px;
}

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

#main #grid-layout h1,
#main #grid-layout h2 {
    background: none;
    border: none;
	letter-spacing: 0.2em;
	padding: 0.2em 0.3em;
	font-family: Calibri, 'Open Sans', Helvetica, sans-serif;
}

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

h1 {
	font-size: 1.3em;
}

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

#site-head h2 a:link {color: #a90000;text-decoration:none;}
#site-head h2 a:visited {color: #a90000;text-decoration:none;}
#site-head h2 a:hover {color: #a90000;text-decoration:underline;}

h2 {
	font-size: 1.2em;
}

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 {
    border: 1px solid;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
    border-radius: 3px;
}
.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: 0.8em;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
    font-family: Calibri, 'Open Sans', Helvetica, sans-serif;
}

.gallery-caption {

}

/**
* Basics
*/

body {
	font-family: Georgia, Times, serif;
	margin: auto;
	min-width: 480px;
	line-height: 1.5em;
}

#main-wrapper {
	min-height: 400px;
	padding: 1em 0em;
    border: 1px solid;
    margin: 1.5em auto;
    border-radius: 3px;
	width: 92%;
}

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

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

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

/**
* Layout
*/

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

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

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

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

@media only screen and (max-width: 480px) {

    #main {
        width: 96%;
        float: none;
        margin-bottom: 1em;
    }

    #sidebar {
        float: none;
        position: relative;
        width: 96%;
        border: 1px solid;
        font-size: 1em;
    }
}

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

#searchsubmit {
	display: none;
}

#s {
	width: 45%;
    font-size: 1.2em;
    font-family: Calibri, 'Open Sans', Helvetica, sans-serif;
    padding: 0.3em 0.2em;
    border: 1px solid;
    border-radius: 2px;
    margin: 0.4em 0.8em;
}

#search-heading {
    font-size: 1.8em;
    margin: 1em 0.4em;
}

#search-heading h3 {
    text-decoration: none;
}

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

@media only screen and (max-width: 480px) {
    #site-foot {
        font-size: 1em;
    }
}

@media only screen and (max-width: 720px) {
    #grid-layout .wp-post-image {
        max-width: 15em;
    }
}

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

#site-foot .two-sidebars .widget-area {
    width: 45%;
	float: left;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	margin-left: 2%;
	margin-right: 2%;
}

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

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

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

#nav-primary ul a{
	text-decoration: none;
}

#nav-primary ul a:hover{
	text-decoration: underline;
}

#nav-primary ul ul a{
	text-decoration: none;
	padding: 0.3em;
}

#nav-primary ul ul a:hover{
	text-decoration: underline;
}

#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 {
	display: block;
	position: absolute;
	visibility: visible;
	border: 1px solid;
}

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

/**
*	Elements
*/

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

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

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

h5, h6 {
	font-size: 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: Calibri, 'Open Sans', Helvetica, Sans-serif;
}

table {
	border-collapse: collapse;
}

th {
	border-bottom: 1px solid;
}

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

td {
	border-bottom: 1px solid;
}

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

dl {
	font-family: "Times New Roman", Times, 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,
#comments-wrapper .comment-content ul{
	list-style-position: inside;
	margin-left: 1em;
	list-style-type: disc;
}

ol,
#comments-wrapper .comment-content ol{
	list-style-position: inside;
	margin-left: 1em;
	list-style-type: upper-roman;
}

ul ul,
ol ul,
#comments-wrapper .comment-content ul ul,
#comments-wrapper .comment-content ol ul{
	list-style-type: square;
}

ol ol,
ul ol,
#comments-wrapper .comment-content ol ol,
#comments-wrapper .comment-content ul ol{
	list-style-type: lower-roman;
}
ul ul ul,
ul ol ul,
ol ol ul,
ol ul ul,
#comments-wrapper .comment-content ul ul ul,
#comments-wrapper .comment-content ul ol ul,
#comments-wrapper .comment-content ol ol ul,
#comments-wrapper .comment-content ol ul ul{
	list-style-type: circle;
}

ul ul ol,
ul ol ol,
ol ol ol,
ol ul ol,
#comments-wrapper .comment-content ul ul ol,
#comments-wrapper .comment-content ul ol ol,
#comments-wrapper .comment-content ol ol ol,
#comments-wrapper .comment-content ol ul ol {
	list-style-type: lower-alpha;
}

address {
	font-family: Calibri, 'Open Sans', Helvetica, 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;
	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 {
    display: block;
	padding: 0.6em 0.4em;
    height: 1.5em;
}

.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;
	clear: both;
}

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

.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;
	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;
    padding: 0.2em 0.6em;
    border: 1px solid;
}

#grid-layout article{
	margin: 0 1% 3% 1%;
	float: left;
	width: 42%;
	height: 20.5em;
	overflow: hidden;
}

#grid-layout article .entry-content{
    font-size: 0.8em;
}


@media only screen and (max-width: 480px) {
    #grid-layout article .entry-content{
        font-size: 1em;
    }
}

#main .sticky {
	border: 1px solid;
    border-radius: 3px;
	padding: 1.4em;
    margin-bottom: 1.5em;
}

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

/**
* Comments
*/

#comments-wrapper {
	font-size: 0.8em;
	margin-top: 2em;
    border: 1px solid;
    border-radius: 2px;
    padding: 1.5em 1em;
}

#comments-wrapper h1,
#comments-wrapper h2{
	margin: 0.3em 0 0.2em;
}

#comments-wrapper h3,
#comments-wrapper h4,
#comments-wrapper h5,
#comments-wrapper h6{
	margin: 0.3em 0 0.2em;
}

#comments-wrapper ul,
#comments-wrapper ol {
	list-style-type: none;
}

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

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

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

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

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

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

#comments-wrapper article {
    border-right: 0;
}

.comment-closed {
	margin: 1em 2em;
	padding: 0.4em 1.2em;
	clear: both;
	border: 1px solid;
	font-size: 1.6em;
}

.comments-list {
	list-style-type: none;
}

.children {
}

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

.bypostauthor {

}
