/*
Theme Name:     Kyo Maclear
Theme URI:      http: //kyomaclear.ca/
Description:    Child theme for the Twenty Eleven theme 
Author:         Michael Barker/Acme Art & Design
Author URI:     http: //www.acmeartanddesign.com
Template:       twentyeleven
Version:        0.1.0
*/

/* @import url("../twentyeleven/style.css"); */

@import url("http://www.kyomaclear.ca/kyomaclear/wp-content/themes/twentyeleven/style.css");

/* ======================================== */
/* ! ------- Base Page Properties -------   */
/* ======================================== */

/* Body Background sets exterior background colour -- try background pattern? Page borders? */

body {
    background: none repeat scroll 0 0 #DDD; /* #FFF outer white background */
}

/* Reset page width to 960px */

#page {
    margin: 0 auto; /*2em auto;*/
    max-width: 960px; /* change to 960 grid? */
    padding:20px;
    margin-top:20px;
}

/* ========================== */
/* ! ------- Header -------   */
/* ========================== */

#branding {
    border-top: none;
    padding-bottom: 0px;
    position: relative;
    z-index: 9999;
    /* background:#FFF url(http://www.kyomaclear.ca/images/KyoHeader-1.png) no-repeat;*/
    /* background:#FFF url(http://www.kyomaclear.ca/images/header-960x170-2.png) no-repeat; */
    /* background:#FFF url(http://www.kyomaclear.ca/images/header-960x170-3.png) no-repeat; */
    /* background:#FFF url(http://www.kyomaclear.ca/images/header-960x170-4.jpg) no-repeat; */


}

#branding hgroup {
    /* margin: 0 7.6%; */
    margin:0;
}

/* Site title and tagline, style and spacing */

#site-title {
    margin: 0px;
    padding: 0px;
}

#site-title a {
    color: #1982D1;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.625;
    text-decoration: none;
    padding-right: 80px;
    font-family:Helvetica, Arial, sans-serif;
    text-transform:uppercase;
    letter-spacing:1px;
    display:none; /* Hide Site Title */

}

#site-description {
    color: #000000;
    font-size: 12px;
    font-style: normal;
    font-weight:normal;
    margin: 0 0 25px;
    font-family:Helvetica, Arial, sans-serif;
    text-transform:uppercase;
    letter-spacing:1px;
    display:none; /* Hide Site Tagline */

}

/* Remove Header Search Box (can add to sidebar with widget) */

#branding #searchform {
	display:none;
}
#branding .only-search + #access div {
	padding-right: 0px;
}

/* ================================== */
/* ! ------- Top Navigation -------   */
/* ================================== */

#access {
    background: none repeat scroll 0 0 #000000;
    box-shadow: none;
    clear: both;
    display: block;
    float: left;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 0.75em;
    letter-spacing: 1px;
    margin: 9px 0 0;
    text-transform: uppercase;
    width: 100%;
}

#access a {
    /* color: #EEEEEE;
    display: block;
    font-size: 12px;
    line-height: 3.333em;
    padding: 0 1.2125em;
    text-decoration: none; */
    border-left: none;
}

#access ul ul {
    /* box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); */
    box-shadow: none;
    display: none;
    float: left;
    left: 0;
    margin: 0;
    position: absolute;
    /* top: 3.333em;*/
    width: 188px;
    z-index: 99999;
}


#access ul ul a {
    /* background: none repeat scroll 0 0 #F9F9F9;
    border-bottom: 1px dotted #DDDDDD;
    color: #444444;*/
    font-size: 12px;
    font-weight: normal;
   /* height: auto;
    line-height: 1.4em; */
    padding: 10px 15px;
   /* width: 168px; */
}

 
/* positions main menu margins */

#access div {
   /* margin: 0 7.6%; original */
    margin: 0 83px;
}

#access ul {
    font-size: 12px;
    list-style: none outside none;
    margin: 0 0 0 -2.05em;
    padding-left: 0;
}

#access li {
    float: left;
    position: relative;

}

.current_page_item, .current_page_ancestor {
/* background: -moz-linear-gradient(#F9F9F9, #FFF) repeat scroll 0 0 transparent; */
    background:#FFF;


}

#access .current_page_item a, #access .current_page_ancestor a {
    color: #000;
  
}

/* margin above top nav */

#branding img {
    height: auto;
    margin-bottom: -8px;
    width: 100%;
}

/* =============================== */
/* ! ------- Breadcrumbs -------   */
/* =============================== */

.breadcrumbs {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.75em;
    letter-spacing: 1px;
    padding: 0 0 15px 7.6%;
    text-transform: uppercase;
}

/* =============================== */
/* ! ------- Typography --------   */
/* =============================== */

/* Smallcaps lead-in to paragraphs */

.smallcaps-lead {
	font-variant: small-caps; 
	font-weight:bold; 
	text-transform:lowercase; 
	letter-spacing:1px;
}


body, input, textarea {
    color: #000;
    font: 300 15px/1.625 Georgia, Times New Roman, Times, serif; /* Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif; */
}

p {
    font-size:16px;    margin-bottom: 1.25em;
}

/* Blockquotes */

blockquote {
    font: 300 15px/1.625 Georgia, Times New Roman, Times, serif; 
    font-weight: normal;
    margin: 0 0 -1em;
    padding:0px;
}

.blockquote-excerpt {
    font: 300 15px/1.625 Georgia, Times New Roman, Times, serif; 
    font-weight: normal;
    font-style:italic;
    padding:0px;
    margin:0px 40px;

}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}

blockquote em, blockquote i, blockquote cite {
    font-style:italic;
}

/* Rules */

hr {
    background-color: #CCCCCC;
    border: 0 none;
    height: 1px;
    margin-bottom: 1.625em;
}

/* Headers */

.entry-content h1 {
    color: #000000;
    font-weight: normal;
    margin: 0 0 0.8125em;
    font-size:18px;
    line-height:1.625em;
    text-transform:uppercase;
    letter-spacing:1.5px;
}

.entry-content h2 {
    color: #000000;
    font-weight: bold;
    margin: 0 0 0.8125em;
    text-transform:uppercase;
    font-size:15px;
    line-height:1.625em;
    font-family:Helvetica, Arial, sans-serif;
    letter-spacing:1px;
}

.entry-content h3 {
	font-family:Helvetica, Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    line-height: 2.6em;
    text-transform: uppercase;
}

/* page titles */

.entry-title {
    clear: both;
    color: #222222;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.625em;
    padding-bottom: 20px;
    padding-top: 10px;
}

.smallcaps {
font-variant:small-caps;
letter-spacing:1px;
text-transform:lowercase;
font-weight:bold;
color:#888;
}

.telfaxemail {
	font-size:11px;
	text-transform:uppercase;
	letter-spacing:1.5px;
	font-family:Helvetica, Arial, sans-serif;
	color:#000;
	font-weight:bold;
}


/* ========================= */
/* ! ------- Lists -------   */
/* ========================= */


ul {
    list-style: none;
}
ul, ol {
    margin: 0 0 1.625em 2.5em;
}
ol, ul {
    list-style: none outside none;
}

/* ======================================== */
/* ! ------- Entry and Page style -------   */
/* ======================================== */

.hentry, .no-results {
    border-bottom: none;
    margin: 0 0 1.625em;
    padding: 0 0 1.625em;
    position: relative;
}

/* =========================== */
/* ! ------- Sidebar -------   */
/* =========================== */

/* Page Navigation in Sidebar */

.pagelist {
padding:5px 0 0; 
margin:5px 0 0; 
border-top:1px solid #DDD;
font-size:13px;

}

.pagelist-ul {
border-bottom:1px solid #DDD; 
padding-bottom:5px; 
margin-top:10px; 
margin-bottom:15px;
}

.widget-title {
	font-size:11px;
	text-transform:uppercase;
	letter-spacing:1px;
	font-family:Helvetica, Arial, sans-serif;
	color:#000;
	font-weight:bold;
	line-height:1.5;
}

.textwidget p {
font-size:13px;
line-height:1.625em;
}

.widget ul {
    font-size: 15px;
    margin: 0;
}

.widget ul ul {
    margin-left: 1.625em;
}
.widget ul li {
    color: #777777;
    font-size: 13px;
}

/* Adds dividing rules to sidebar */

.widget_text {
padding-top:5px;
border-top:1px solid #000;
}

.textwidget {
font-size:13px;
line-height:1.625em;
}

/* Layout */

.left-sidebar #primary {
    float: right;
    margin: 0 0 0 -26.4%;
    width: 100%;
}
.left-sidebar #content {
    margin: 0 7.6% 0 34%;
    width: 58.4%;
}
.left-sidebar #secondary {
    float: left;
    margin-left: 7.6%;
    margin-right: 0;
    width: 18.8%;
}

/* ================================ */
/* ! ------- Link colours -------   */
/* ================================ */


a:link {
    color: #1982D1;
    text-decoration: none;
}

.widget a {
    font-weight: normal;
    text-decoration: none;
	font-family:Helvetica, Arial, sans-serif;

}

.widget a:hover, .widget a:focus, .widget a:active {
    text-decoration: underline;
}

#site-title a:hover, #site-title a:focus, #site-title a:active {
    color: #1982D1;
}

/* =========================================== */
/* ! ------- Layout of main elements -------   */
/* =========================================== */


#main {
    clear: both;
    padding: 50px 0 0;
}

#primary {
    float: left;
    margin: 0 -26.4% 0 0;
    width: 100%;
}
#content {
    margin: 0 34% 0 7.6%;
    width: 58.4%;
    border-top:1px solid #000;

}
#secondary {
    border-bottom: medium none;
    float: right;
    margin-bottom: 0;
    margin-right: 7.6%;
    padding-bottom: 0;
    width: 18.8%;
}
.singular #primary {
    margin: 0;
}
.singular #content, .left-sidebar.singular #content {
    margin: 0 7.6%;
    position: relative;
    width: auto;
}
.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
    margin: 0 auto;
    width: 68.9%;
}
.singular .image-attachment .entry-content {
    margin: 0 auto;
    width: auto;
}
.singular .image-attachment .entry-description {
    margin: 0 auto;
    width: 68.9%;
}

/* .entry-content {
    border-bottom: 1px solid #000000;
} */


/* ========================== */
/* ! ------- Footer -------   */
/* ========================== */


#site-generator {
    background: none repeat scroll 0 0 #000000;
    border-top: 1px solid #000000;
    color: #FFFFFF;
    padding: 7px 80px;
    text-align: left;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#site-generator a {
    color: #777;
    font-weight:normal;
}

/* ========================== */
/* ! -------- Images -------- */
/* ========================== */

img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img {
    border: 0 none;
    padding: 0;
}

/* ========================== */
/* ! ------- Sociable ------- */
/* ========================== */

/* layout */

div.sociable {
    border-top: 1px solid #000000;
    padding: 5px 0;
}

 .sociable_tagline {

/*	Default Code

	padding-top:10px;
	border-top:1px solid #DDD;
	color: #000000;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
} */

	color: #000000;
    float: left;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    padding-top: 4px;
    text-transform: uppercase;
    width: 150px;
       }
       
/* ========================== */
/* ! ------- Quotes ------- */
/* ========================== */


/* Lead quotes on individual pages */

.leadquote {
	font-size:20px;
	line-height:1.625em;
	font-family:Georgia, Times New Roman, Times, serif;
	font-style:italic;
	}
	
.quoteauthor {
	color: #000;
	font-size:14px;
	line-height:1.625em;
	font-family: Arial,Helvetica,sans-serif;
	font-style:normal;
	padding:20px 0 15px;
	display:block;
	}

	
/* ============ */
/* ! Showcase   */
/* ============ */

#main-showcase {
    clear: both;
    padding: 0px 0 0;
}

/* Front Page rotator */

#quoterotator {
    font-family: Georgia,Times New Roman,Times,serif;
    font-size: 18px;
    font-style: italic;
    height: 100px;
    line-height: 1.5em;
    padding:0px 7.6%;
}

#quoteauthor {
	color: #777;
	font-size:14px;
	line-height:1.625em;
	font-family: Helvetica, Arial, sans-serif;
    font-style:normal;
}	
#quotearea {
margin-top:25px;
	}

article.intro {
    background: none repeat scroll 0 0 #FFF;
    border-bottom: medium none;
    margin: 0;
    padding: 0 0%;
    border-bottom:1px solid #000;

}

article.intro .entry-content {
    color: #111111;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.breadcrumbs-showcase {
    display: none;
}

.featured-posts {
    border-bottom: medium none;
    display: block;
    height: 400px;
    /* margin: 5px -8.9% 0; */
    margin:0px;
    /* margin:-30px 0 0;  Pull image up to bottom of quote box */
    max-width: 1000px;
    overflow: hidden;
    padding: 0;
    position: relative;
    
}

article.feature-image.large .entry-title a {
    background: none repeat scroll 0 0 transparent;
    border-radius: 0 0 0 0;
    color: #FFFFFF;
    display: inline-block;
    font-weight: normal;
    padding: 0;
}

.showcase .entry-title {
    clear: both;
    color: #222222;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.625em;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

section.feature-image.large .hentry {
    border-bottom: medium none;
    left: 72px;
    margin: 0;
    position: absolute;
    top: 0;
    color:#fff;
}
section.feature-image.large .hentry p {
	color:#000;
	margin-bottom:0px;
	font-weight:normal;
	font-family: Helvetica,Arial, sans-serif;
	font-size:15px;
	line-height:1.5;

}

.featured-posts section.featured-post {
    background: none repeat scroll 0 0 #FFFFFF;
    left: 0;
    height:400px;
    margin: 0;
    position: absolute;
    top: 0px;
    width: auto;
}

/* Large featured post */

section.feature-image.large {
	border: none;
	max-height: 400px;
	padding: 0;
	width: 100%;
}

section.feature-image.large img {
    display: block;
    height: auto;
    max-width: 117.9%;
    padding: 0;
    min-width: 100%;
}

.featuredpost-excerpt {
   background: none repeat scroll 0 0 #FFF;
    border-radius: 3px 3px 3px 3px;
    color: #FFFFFF;
    margin-top: 40px;
    opacity: 0.85;
    padding: 20px;
    width: 300px;
	filter:alpha(opacity=85); /* For IE8 and earlier */
}

.featuredpost-excerpt a {
	color:#FFF;
	background-color:#1982D1;
	padding:5px 5px 4px; 5px;
	margin-top:10px;
	text-transform:uppercase;
	font-size:11px;
	letter-spacing:1px;
	font-weight:bold;
	display:block;
}

.featuredpost-excerpt h2 {
   color: #000000;
    font-weight: bold;
    text-transform:uppercase;
    font-size:15px;
    line-height:1.625em;
    font-family:Helvetica, Arial, sans-serif;
    letter-spacing:1px;
    background-color:transparent;
    padding:0px;
    margin:0px;
}

.showcase #content {
    border-top:none;
    margin: 0;
}

.featured-posts section.featured-post {
	-webkit-transition-duration: 2000ms;
	-webkit-transition-property: opacity, visibility;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 2000ms;
	-moz-transition-property: opacity, visibility;
	-moz-transition-timing-function: ease;
}

/* Slider Navigation Buttons */

#content .feature-slider {
    margin: 0;
    overflow: visible;
    padding: 10px;
    position: absolute;
    right: 0;
    top:0px;
}

#content nav a {
    border: 3px solid #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    line-height: 2.2em;
}

.feature-slider a.active {
    background: none repeat scroll 0 0 #1982D1;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4) inset, 0 0 2px rgba(255, 255, 255, 0.8) inset;
    cursor: default;
    opacity: 0.8;
}

.feature-slider a {
    background: none repeat scroll 0 0 rgba(60, 60, 60, 0.9);
    border-radius: 12px 12px 12px 12px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5) inset, 0 0 2px rgba(255, 255, 255, 0.5) inset;
    display: block;
    height: 15px;
    width: 15px;
}



/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 800px) {
	/* Simplify the basic layout */
	#main #content {
		margin: 0 7.6%;
		width: auto;
	}
	#nav-below {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1.625em;
	}
	#main #secondary {
		float: none;
		margin: 0 7.6%;
		width: auto;
	}
	/* Simplify the showcase template */
	.page-template-showcase-php .featured-posts {
		min-height: 280px;
	}
	.featured-posts section.featured-post {
		height: auto;
	}
	.page-template-showcase-php section.recent-posts {
		float: none;
		margin: 0;
		width: 100%;
	}
	.page-template-showcase-php #main .widget-area {
		float: none;
		margin: 0;
		width: auto;
	}
	.page-template-showcase-php .other-recent-posts {
		border-bottom: 1px solid #ddd;
	}
	/* Simplify the showcase template when small feature */
	section.featured-post .attachment-small-feature,
	.one-column section.featured-post .attachment-small-feature {
		border: none;
		display: block;
		float: left;
		height: auto;
		margin: 0.625em auto 1.025em;
		max-width: 30%;
		position: static;
	}
	article.feature-image.small {
		float: right;
		margin: 0 0 1.625em;
		width: 64%;
	}
	.one-column article.feature-image.small .entry-summary {
		height: auto;
	}
	article.feature-image.small .entry-summary p a {
		left: 0;
		padding-left: 20px;
		padding-right: 20px;
		width: auto;
	}
	/* Remove the margin on singular articles */
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular #comments-title {
		width: 100%;
	}
	/* Simplify the pullquotes and pull styles */
	.singular blockquote.pull {
		margin: 0 0 1.625em;
	}
	.singular .pull.alignleft {
		margin: 0 1.625em 0 0;
	}
	.singular .pull.alignright {
		margin: 0 0 0 1.625em;
	}
	.singular .entry-meta .edit-link a {
		left: 0;
		position: absolute;
		top: 40px;
	}
	.singular #author-info {
		margin: 2.2em -8.8% 0;
		padding: 20px 8.8%;
	}
	/* Make sure we have room for our comment avatars */
	.commentlist {
		width: 100%;
	}
	.commentlist > li.comment,
	.commentlist .pingback {
		margin-left: 102px;
		width: auto;
	}
	/* And a full-width comment form */
	#respond {
		width: auto;
	}
	/* No need to float footer widgets at this size */
	#colophon #supplementary .widget-area {
		float: none;
		margin-right: 0;
		width: auto;
	}
	/* No need to float 404 widgets at this size */
	.error404 #main .widget {
		float: none;
		margin-right: 0;
		width: auto;
	}

}
@media (max-width: 650px) {
	/* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */
	body, input, textarea {
		font-size: 13px;
	}
	#site-title a {
		font-size: 24px;
	}
	#site-description {
		font-size: 12px;
	}
	#access ul {
		font-size: 12px;
	}
	article.intro .entry-content {
		font-size: 12px;
	}
	.entry-title {
		font-size: 21px;
	}
	.featured-post .entry-title {
		font-size: 14px;
	}
	.singular .entry-title {
		font-size: 28px;
	}
	.entry-meta {
		font-size: 12px;
	}
	blockquote {
		margin: 0;
	}
	blockquote.pull {
		font-size: 17px;
	}
	/* Reposition the site title and description slightly */
	#site-title {
		padding: 5.30625em 0 0;
	}
	#site-title,
	#site-description {
		margin-right: 0;
	}
	/* Make sure the logo and search form don't collide */
	#branding #searchform {
		top: 1.625em !important;
	}
	/* Floated content doesn't work well at this size */
	.alignleft,
	.alignright {
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	/* Make sure the post-post navigation doesn't collide with anything */
	#nav-single {
		display: block;
		position: static;
	}
	.singular .hentry {
		padding: 1.625em 0 0;
	}
	.singular.page .hentry {
		padding: 1.625em 0 0;
	}
	/* Talking avatars take up too much room at this size */
	.commentlist > li.comment,
	.commentlist > li.pingback {
		margin-left: 0 !important;
	}
	.commentlist .avatar {
		background: transparent;
		display: block;
		padding: 0;
		position: static;
	}
	.commentlist .children .avatar {
		background: none;
		left: 2.2em;
		padding: 0;
		position: absolute;
		top: 2.2em;
	}
	/* Use the available space in the smaller comment form */
	#respond input[type="text"] {
		width: 95%;
	}
	#respond .comment-form-author .required,
	#respond .comment-form-email .required {
		left: 95%;
	}
	#content .gallery-columns-3 .gallery-item {
		width: 31%;
		padding-right: 2%;
	}
	#content .gallery-columns-3 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media (max-width: 450px) {
	#content .gallery-columns-2 .gallery-item {
		width: 45%;
		padding-right: 4%;
	}
	#content .gallery-columns-2 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {
		padding: 0;
	}
	#page {
		margin-top: 0;
	}
	#branding {
		border-top: none;
	}
#quotearea, #quoterotator {
height:250px !important;
}
#access a {
    border-top: 1px solid #FFFFFF;
}
#access li {
    float: none;
    position: relative;
}
#access div {
    margin: 0px;
}

#site-title {
    padding: 0;
}

.page-template-showcase-php .featured-posts {
    display: none;
    min-height: 280px;
}

#access ul ul ul {
    clear: both;
    left: 0;
    top: 37px;
}

#access ul {
margin:0px;
}

#main {
    clear: both;
    padding: 20px 0 0;
}

#main #content {
    margin: 0;
    width: auto;
}

#main #secondary {
    float: none;
    margin: 0;
    width: auto;
}

.entry-title {
padding-bottom: 0;
}

.entry-content, .entry-summary {
    margin: 0;
    padding: 10px 0 0;
}

.breadcrumbs {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.75em;
    letter-spacing: 1px;
    padding: 0 0 15px;
    text-transform: uppercase;
}

/* Stretch images */

img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img {
    border: 0 none;
    padding: 0;
    width: 100%;
}

.entry-content img, .comment-content img, .widget img {
    clear: both;
    max-width: 100%;
    width: 100%;
}

/* Footer */

#site-generator {
    background: none repeat scroll 0 0 #000000;
    border-top: 1px solid #000000;
    color: #FFFFFF;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 9px;
    font-weight: normal;
    letter-spacing: 1px;
    padding: 10px;
    text-align: left;
    text-transform: uppercase;
}
