/*
Theme Name: Perfect Light
Description: Child theme for the twentyeleven theme 
Author: Derrick Choo
Template: twentyeleven
*/

@import url("../twentyeleven/style.css");
}

/*Set fonts */
table, caption, tbody, tfoot, thead, tr, th, td {
        font-family: Palatino Linotype,Book Antiqua,Palatino,serif;
        color:#a8a8a8;
	border: 0;
	margin: 0;
	padding: 0;
        font-size: 12px;
}


/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url {
	font-family: Palatino Linotype,Book Antiqua,Palatino,serif;
	color:#000000;
}
h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
.wp-caption-text {
	font-family: Palatino Linotype,Book Antiqua,Palatino,serif;
        color:#969799;
}
input[type=submit] {
	font-family: Palatino Linotype,Book Antiqua,Palatino,serif;
        color:#969799;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
	background: #f1f1f1;
}

body,
input,
textarea {
	color: #666;
	font-size: 12px;
	line-height: 18px;
}
hr {
	background-color: #e7e7e7;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 18px;
}

/* Text elements */
p {
	margin-bottom: 18px;
}
ul {
	list-style: square;
	margin: 0 0 18px 1.5em;
}
ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	font-style: italic;
	padding: 0 3em;
}
blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}
pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
input[type="text"],
textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
}
a:link {
	color: #4AB0B0;
        font-size:14px;
}
a:visited {
	color: #4AB0B0;
        font-size:14px;
}
a:active,
a:hover {
	color: #606060;
        font-size:14px;
}

/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}

/* =Header
-------------------------------------------------------------- */

#header {
	padding: 0 0 0 0;
	margin:0 auto;
}

#site-title {
margin-right: 270px;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 1.65625em;
}
#site-title a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

#site-description {
color: #7A7A7A;
font-size: 14px;
margin-bottom: 1.65625em;
margin-left: 0;
margin-right: 270px;
margin-top: 0;
}


/* =Content
-------------------------------------------------------------- */
#wrapper {
position: relative;
margin:0px auto;
width:900px;
overflow: hidden;
}

#main {
min-width:900px;
background-color:#FFF;
}

#content,
#content input,
#content textarea {
	color: #333;
	font-size: 16px;
	line-height: 24px;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
	margin-bottom: 24px;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
	margin-bottom: 0;
}
#content pre,
#content kbd,
#content tt,
#content var {
	font-size: 15px;
	line-height: 21px;
}
#content code {
	font-size: 13px;
}
#content dt,
#content th {
	color: #000;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	color: #000;
	line-height: 1.5em;
	margin: 0 0 20px 0;
}
#content table {
	border: 1px solid #e7e7e7;
	margin: 0 -1px 24px 0;
/*	margin: 0 -1px 0 0;*/

	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}
#content tr td {
	border-top: 1px solid #e7e7e7;
	padding: 6px 24px;
}
#content tr.odd td {
	background: #f2f7fc;
}

#post {
        min-height:100%;
}

ul.xoxo {
        margin-top:10px;
}

.hentry {
	margin: 0px 0 0px 0;
}
.home .sticky {
	background: #f2f7fc;
	border-top: 4px solid #000;
	margin-left: -20px;
	margin-right: -20px;
	padding: 18px 20px;
}
.single .hentry {
	margin: 0 0 0px 0;
}
.page-title {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px 0;
}
.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
	color: #888;
	text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
	color: #ff4b33;
}
#content .entry-title {
	background:url(images/post-title.jpg) no-repeat; 
	color: #4AB0B0;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.3em;
	margin-bottom: 0;
	padding:0 42px 0 44px;
	margin-top: 1px;
}

h2 .entry-title { font-size:28px;}

.entry-title a:link,
.entry-title a:visited {
	color: #4AB0B0;
	text-decoration: none;
        font-size:28px;
}
.entry-title a:active,
.entry-title a:hover {
	color: #666666;
        font-size:28px;
}
.entry-meta {
	color: #888;
	font-size: 12px;
        padding-left:42px;
}
.entry-meta abbr,
.entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-content,
.entry-summary {
	padding: 15px 33px 15px;
        margin:0px auto;
        min-height:100%;
        line-height:1.5;
}

.entry-content em, p { font-size:14px; }

#content .entry-summary p:last-child {
	margin-bottom: 12px;
}

.entry-content a:link {
	text-decoration: none;
        color: #4AB0B0;
        font-weight:bold;
}

.entry-content a:active,
.entry-content a:hover,
.entry-content a:visited {
	color: #4AB0B0;
        font-weight:bold;
}

.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}
.entry-content input.file,
.entry-content input.button {
	margin-right: 24px;
}
.entry-content label {
	color: #888;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
	font-size: 10px;
}
.entry-content blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}
.entry-content blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}
.page-link {
	clear: both;
	color: #000;
	font-weight: bold;
	margin: 0 0 22px 0;
	word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
	background: #f1f1f1;
	color: #333;
	font-weight: normal;
	padding: 0.5em 0.75em;
	text-decoration: none;
}
.home .sticky .page-link a {
	background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
	color: #ff4b33;
}
body.page .edit-link {
	clear: both;
	display: block;
}
#entry-author-info {
	background: #f2f7fc;
	border-top: 4px solid #000;
	clear: both;
	font-size: 14px;
	line-height: 20px;
	margin: 24px 0;
	overflow: hidden;
	padding: 18px 20px;
}
#entry-author-info #author-avatar {
	background: #fff;
	border: 1px solid #e7e7e7;
	float: left;
	height: 60px;
	margin: 0 -104px 0 0;
	padding: 11px;
}
#entry-author-info #author-description {
	float: left;
	margin: 0 0 0 104px;
}
#entry-author-info h2 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0;
}
.entry-utility {
	clear: both;
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a,
.entry-utility a {
	color: #888;
        text-decoration:none;
}
.entry-meta a:hover,
.entry-utility a:hover {
	color: #333;
}
#content .video-player {
	padding: 0;
}

#commentform label {
        color:#a8a8a8;
}

/* Footer */
#colophon {
	clear: both;
	min-width: 900px;
}

/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin-left: 0;
        line-height:1.75;
}
.widget-area ul ul {
	list-style: none;
	margin-left: 1.3em;
}

.widget-area li {
        padding-left:0px;
}

.widget-area select {
/*	max-width: 950px;*/
	max-width: 100%;
}

.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0 0 18px 0;
}
.widget-title {
	color: #4AB0B0;
	font-weight: bold;
        display:none;
}

.widget-sub-title {
        color: #4AB0B0;
        font-weight:bold;
        font-size:14px;
}

li.page-item-4 a:link, li.page-item-4 a:hover { text-decoration:none; cursor:text; color:#a8a8a8; }
li.page-item-24 a:link, li.page-item-24 a:hover { text-decoration:none; cursor:text; color:#a8a8a8; }

/*.widget_pages li.current_page_item a { background:url(/images/navigation_selected_icon.png) no-repeat left; }*/

.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
        color:#4AB0B0;
        font-size:14px;
        letter-spacing: .1em;
        font-style:italic;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
        color:#606060;
        font-size:14px;
        letter-spacing: .1em;
        font-style:italic;
}

ul.children a:link,
ul.children a:visited {
	text-decoration: none;
        color: #4AB0B0;
        font-size:11px;
        letter-spacing: .1em;
        cursor:pointer;
}

ul.children a:active,
ul.children a:hover {
	text-decoration: underline;
        color:#606060;
        font-size:11px;
        letter-spacing: .1em;
        cursor:pointer;
}

#archives li a:link,
#archives li a:visited {
	text-decoration: none;
        color: #4AB0B0;
        font-size:11px;
        letter-spacing: .1em;
        cursor:pointer;
}

#archives li a:active,
#archives li a:hover {
	text-decoration: underline;
        color:#606060;
        font-size:11px;
        letter-spacing: .1em;
        cursor:pointer;
}
 
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #222;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
	color: #aaa;
}
#wp-calendar tbody td {
	background: #f5f5f5;
	border: 1px solid #fff;
	padding: 3px 0 2px;
	text-align: center;
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #000;
}
.widget_rss a.rsswidget:hover {
	color: #ff4b33;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 10px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}
#primary {
}
#secondary {
}

/* =Structure
----------------------------------------------- */

body {
	padding: 0 2em;
}
#page {
	margin: 2em auto;
	max-width: 900px;
}
#branding hgroup {
	margin: 0 0;
}
#access div {
	margin: 0 0;
}

#primary {
	float: left;
	margin: 0 -26.4% 0 0;
	width: 100%;
	border-top: 1px solid #4AB0B0;	
}
#content {
	margin: 0 34% 0 7.6%;
	width: 68.4%;
}
#secondary {
	float: right;
	margin-right: 7.6%;
	width: 18.8%;
}

/* Right Content */
.left-sidebar #primary {
	float: right;
	margin: 0 0 0 0;
/*	padding-right:1em;*/
/*	background: #F00;*/
	width: 80%;
}
.left-sidebar #content {
	margin: 0 0 0 -1px;
	width: 100%;
	background-color: #FFF;
	border-left: 1px solid #4AB0B0;	
}
.left-sidebar #secondary {
	float: left;
	margin: 0 0 0 0;
	padding-top:2em;
	padding-left:1em;
	max-width:170px;
	width: 17%;
/*	background-color: #0FF;*/
}

#branding {
border-top: medium none;
padding-bottom: 0px;
position: relative;
z-index: z;
}

img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {
border: none;
}

/* Remove Search Form from Top Navigation Bar */
#branding #searchform {
display:none;
}
#branding .only-search + #access div {
	padding-right: 0px;
}

#branding img {
	height: auto;
	margin-bottom: 0;
	width: 100%;
}

/* Site Generator Line */
#site-generator {
	background: #FFFFFF;
	border-top: 1px solid #4AB0B0;
	color: #4AB0B0;
	font-size: 8px;
	line-height: 2.0em;
	padding: 0.2em 1em;
	text-align: right;
}
#site-generator a {
	color: #555;
	font-weight: bold;
}
#site-generator .sep {
	background: url(images/wordpress.png) center left no-repeat;
	color: transparent;
	display: inline-block;
	height: 6px;
	line-height: 16px;
	margin: 0 7px;
	width: 16px;
}

/* =Responsive Structure
----------------------------------------------- */
/* =Responsive Structure for narrow screens
* to keep min width and sidebar
-------------------------------------------- */
@media (max-width: 900px) {
	body{
	position:absolute;	
	
	}
     #page {
       min-width: 900px;
         }
/* keep the sidebar - for right sidebar */
    .right-sidebar #main #content {
        margin: 0 29% 0 1%;
        width: 70%;
    }
    .right-sidebar #main #secondary {
        float: right;
        margin: 0 1% 0 1%;
        width: 24%;
    }
/* keep the sidebar - for left sidebar */
    .left-sidebar #main #content {
        margin: 0 0 0 0;
        width: 80%;
    }
    .left-sidebar #main #secondary {
        float: left;
        margin: 0 -1% 0 0;
        width: 16%;
    }
/* correction for 'showcase' template */
    .page-template-showcase-php #main #primary.showcase {
        float: right;
        margin: 0 2% 0 2%;
        width: 96%;
    }
    .page-template-showcase-php #main #primary.showcase #content {
        margin: 0 6% 0 6%;
        width: 88%;
    }
    .page-template-showcase-php section.recent-posts {
        float: right;
        margin-right: 0pt;
        margin-left: 31%;
        width: 69%;
    }
    .page-template-showcase-php #main .widget-area {
        float: left;
        margin-right: -22.15%;
        margin-left: 0pt;
        width: 22.15%;
    }
/* correction for singular posts/pages without sidebar */
    .singular #main #content {
        margin: 0 8% 0 8%;
        width: 84%;
    }
}