/*
	Theme Name: Joy!
	Theme URI: http://joyang.ca
	Description: Wordpress theme for Joy Ang. Based on the HTML5 Blank WordPress Theme
	Version: 1.0
	Tags: Joy, HTML5, CSS3
	
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    $MAIN
\*------------------------------------*/

*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
html {
	background-color: #f0ece2;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
	letter-spacing: auto;
	line-height: 18px;
	color: #5a554f;
	background-color: #f0ece2;
	padding: 20px 0 0 0;
	/* IE10 Consumer Preview */ 
	background-image: -ms-linear-gradient(top, #FFFFFF 0%, #F0ECE2 100%);
	
	/* Mozilla Firefox */ 
	background-image: -moz-linear-gradient(top, #FFFFFF 0%, #F0ECE2 100%);
	
	/* Opera */ 
	background-image: -o-linear-gradient(top, #FFFFFF 0%, #F0ECE2 100%);
	
	/* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #F0ECE2));
	
	/* Webkit (Chrome 11+) */ 
	background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #F0ECE2 100%);
	
	/* W3C Markup, IE10 Release Preview */ 
	background-image: linear-gradient(to bottom, #FFFFFF 0%, #F0ECE2 100%);
	background-repeat: repeat-x;
	 background-size: 100% 600px;
	 -o-background-size: 100% 600px;
	 -moz-background-size: 100% 600px;
	 -webkit-background-size: 100% 600px;
	 min-height: 600px;
}
h1,h2,h3 {
}
.clear {
	clear:both;
	display:block;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#a3a099;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    $STRUCTURE
\*------------------------------------*/

.header {
	height: 72px;
}
.header .logo {
}
.header .title {
	text-transform:uppercase;
	margin: 0; 
	padding: 0;
	font-size: 14px;
	line-height: 70px;
	color: #968c80;
	width: 100px;
	float: left;
	overflow:visible;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
}
.header .description {
	text-transform:uppercase;
	margin: 0 0 0 100px;
	padding: 0;
	font-size: 14px;
	line-height: 70px;
	font-weight:normal;
	overflow: hidden;
	height: 70px;
}
.nav {
	letter-spacing: 0.1em;
	margin: 0;
	padding: 0;
}
.nav ul.menu {
	text-transform:uppercase;
}
.nav ul.menu {
	margin: 2em 0.8em 1em;
	padding: 0;
}
.nav ul.menu > li {
	margin: 0 0 1em 0;
	font-weight: bold;
	padding: 0;
}
.nav ul.menu ul {
	font-weight: normal;
	margin: 0;
	padding: 0 1em 0;
}
.nav .menu-header {
	font-weight: bold;
}
.nav .contact {
	text-transform:uppercase;
	margin: 0em 0.8em;
	padding: 0;
}
.nav .contact ul, .nav .contact li {
	list-style: none;
	margin: 0; padding: 0;
}
.nav .contact li {
	padding: 0 1em 0;
}
.current-menu-item {
	font-weight: bold;
}
.wrapper-left {
	width: 180px;
	overflow: hidden;
	float: left;
	clear: both;
}
.wrapper-right.header {
	border-bottom: 1px solid #e0e1cf;
	min-width: 390px;
}
.wrapper-right {
	margin: 0 2em 0 190px;
}
.wrapper {
	margin: 0 3px;
	max-width: 1200px;
	min-width: 390px;
}
.wrapper-alt {
	margin: 0 2em;
}
hr {
	clear: both;
	border: 1px solid #e0e1cf;
	height: 1px;
}
.seperator {
	margin: 0 0.75em;
}
section {
	margin: 2em 0;
}
a[href=""] {
	color: #968c80;
}
a[href=""]:hover {
	color: #968c80;
}

.entry-content-flex {
	max-width: 800px;
}
article.type-post {
	max-width: 550px;
}
.tiled-gallery {
	clear: none !important;
}
.pipio-gallery img {
	width: 100% !important;
	max-width: 100% !important;
}
.single-post .header h1.title {
	width: 300px;
}
.pipio-text {
	
}
.entry-content-flex h1 {
	margin-top: 2em;
	font-size: 14px;
	text-transform: uppercase;
}
.entry-content-flex h1:first-child {
	margin-top: 0;
}
.entry-content-column-single {
	overflow: hidden;
	float: left;
	margin-bottom: 1em;
}
.entry-content-column-two-1 {
	width: 47%;
	min-width: 320px;
	margin-right: 6%;
	overflow: hidden;
	float: left;
	margin-bottom: 1em;
}
.entry-content-column-two-2 {
	overflow: hidden;
	float: left;
	margin-bottom: 1em;
}
.entry-content-column-single img,
.entry-content-column-two-1 img, 
.entry-content-column-two-2 img, 
.entry-content-column-image img {
	max-width: 100%;
	margin-top: -2px;
}
.entry-content h1 {
	font-size: 1.571428571rem;
	line-height: 1.2;
	font-weight: normal;
	margin: 0 0 1.714285714rem;
}
article li {
	margin-bottom: 0.5em;
}
.social-bar {
	border-top: 1px solid #e0e1cf;
	min-width: 390px;
	padding: 2em 0.5em;
}
.social-button {
	float: left;
}
.social-button.twitter {
	padding-top: 2px;
}

/*------------------------------------*\
    $PAGES
\*------------------------------------*/



/*------------------------------------*\
    $IMAGES
\*------------------------------------*/



/*------------------------------------*\
	$TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    $RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 320px) {

}
@media only screen and (min-width: 480px) {

}
@media only screen and (min-width: 768px) {

}
@media only screen and (min-width: 1024px) {

}
@media only screen and (min-width: 1140px) {

}
@media only screen and (min-width: 1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min-resolution: 144dpi) {

}

/*------------------------------------*\
    $MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
   
/*------------------------------------*\
    $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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

/*------------------------------------*\
    $PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*
 * THUMBNAILS
 */
.attachment-thumbnail {
	width: 120px;
	height: 180px;
}
.artwork-gallery-thumbnail {
	margin: 0 1em 1em 0; 
	width: 120px;
	height: 180px;
	border: #e5e1d8 1px solid; 
	-moz-box-shadow: 2px 2px 5px #BBB;
	-webkit-box-shadow: 2px 2px 5px #BBB;
	box-shadow: 2px 2px 5px #BBB;
}
.artwork-gallery-image {
	display: block;
	margin: 0 0 2em 0;
	max-width: 100%;
	border: #e5e1d8 1px solid;
	-moz-box-shadow: 2px 2px 5px #BBB;
	-webkit-box-shadow: 2px 2px 5px #BBB;
	box-shadow: 2px 2px 5px #BBB;
}
.artwork-category-listing {
	margin: 0 -1em 0 0;
}
.artwork-nav {
	text-transform:uppercase;
	margin-bottom: 1.5em;
	margin-left: -22px;
}
.artwork-nav span.left,
.artwork-nav span.right {
	width: 15px;
	height: 15px;
	background-repeat: no-repeat;
	display:inline-block;
	margin: 0 3px -1px;
	background-position:bottom center;
}
.artwork-nav span.left {
	background-image: url(img/arrow-left.gif);
}
.artwork-nav span.right {
	background-image: url(img/arrow-right.gif);
	
}

.books-listing-entry {
	float: left;
	padding: 25px 20px;
}
.books-listing-entry .title {
	font-weight: bold;
	font-size: 10pt;
}
.books-listing-entry .description {
	
}

 .books-listing-entry img {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
	border: #e5e1d8 1px solid; 
	-moz-box-shadow: 2px 2px 5px #BBB;
	-webkit-box-shadow: 2px 2px 5px #BBB;
	box-shadow: 2px 2px 5px #BBB;
}

.books-listing-entry {
	width: 260px;
	height: 340px;
}
.books-listing-entry img {
	width: auto;
	align: center;
	margin: 0 auto;
	height: 200px;
}



@media (max-width: 1060px) {
  /* CSS that should be displayed if width is equal to or less than 800px goes here */

.books-listing-entry {
	width: 220px;
	height: 320px;
}

.books-listing-entry img {
	width: auto;
	align: center;
	margin: 0 auto;
	height: 180px;
}
}

@media (max-width: 660px) {
  /* CSS that should be displayed if width is equal to or less than 800px goes here */


.books-listing-entry {
	width: 360px;
	height: 460px;
	padding-right: 40px;
}
.books-listing-entry img {
	width: auto;
	margin: 0 auto;
	height: 360px;	
}
}


/* 
 * CONTACT
 */
.visual-form-builder-container {
	padding: 0;
	margin: 0;
}
#contact-1.visual-form-builder {
	padding: 0;
	margin: 0;
}
.visual-form-builder fieldset {
	clear: none;
	margin: 0;
	padding: 0;
}
#contact-1 label.vfb-desc {
	color: #5a554f;
	line-height: 1.714286rem;
	margin: 0;
	font-size: 100%;
	font-weight:normal;
	letter-spacing: 0.05em;
}
#contact-1 label {
	color: #999;
	font-size: 80%;
	line-height: 12px;
	margin: 4px 2px;
	letter-spacing: 0.05em;
}
#contact-1 input, 
#contact-1 textarea,
#contact-1 select {
	background-color: #FAFAFA;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
	border: 1px solid #DDD;
	padding: 3px;
	font-size: 12px;
	font-weight: 400;
	color: #606060;	
	  -webkit-box-sizing: border-box;
	  -moz-box-sizing: border-box;
	  box-sizing: border-box;
}
#contact-1 .vfb-submit {
	background-color: #c9c5bc;
	border: 0;
	text-transform: uppercase;
	float: right;
	font-size: 16px;
	width: 100px;
	height: 25px;
	margin: 0;
	color: #FFF;
	background-image: none;
}
#contact-1 {
}
#contact-1 .vfb-fieldset {
	background-color: transparent;
	border: 0;
	margin: 0;
}
#contact-1 .vfb-section {
	background-color: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}
#contact-1 .vfb-section-div {
	background-color: transparent;
	border: 0
}
#contact-1 .vfb-legend {
	display: none;
}
#contact-1 .vfb-item-submit {
	padding: 0 !important;
}
#contact-1 .vfb-item {
	margin: 0 0 1.714285714rem;
	padding: 0;
}
