/*
  Theme Name: mbj2012
  Theme URI: http://madebyjulene.com
  Author: Jon Packman
  Version: 1.0
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; }
body, button, input, select, textarea {font-family: 'AlegreyaRegular', "Times New Roman", Times, serif; color: #444; }
::-moz-selection { background: #71A7BA; color: #fff; text-shadow: none; }
::selection { background: #71A7BA; color: #fff; text-shadow: none; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 3em; }
dd { margin: 0; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: 
   ========================================================================== */

/* Typography */

@font-face {
    font-family: 'AlegreyaRegular';
    src: url('fonts/Alegreya-Regular-webfont.eot');
    src: url('fonts/Alegreya-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alegreya-Regular-webfont.woff') format('woff'),
         url('fonts/Alegreya-Regular-webfont.ttf') format('truetype'),
         url('fonts/Alegreya-Regular-webfont.svg#AlegreyaRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AlegreyaItalic';
    src: url('fonts/Alegreya-Italic-webfont.eot');
    src: url('fonts/Alegreya-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alegreya-Italic-webfont.woff') format('woff'),
         url('fonts/Alegreya-Italic-webfont.ttf') format('truetype'),
         url('fonts/Alegreya-Italic-webfont.svg#AlegreyaItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AlegreyaBold';
    src: url('fonts/Alegreya-Bold-webfont.eot');
    src: url('fonts/Alegreya-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alegreya-Bold-webfont.woff') format('woff'),
         url('fonts/Alegreya-Bold-webfont.ttf') format('truetype'),
         url('fonts/Alegreya-Bold-webfont.svg#AlegreyaBold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AlegreyaBoldItalic';
    src: url('fonts/Alegreya-BoldItalic-webfont.eot');
    src: url('fonts/Alegreya-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alegreya-BoldItalic-webfont.woff') format('woff'),
         url('fonts/Alegreya-BoldItalic-webfont.ttf') format('truetype'),
         url('fonts/Alegreya-BoldItalic-webfont.svg#AlegreyaBoldItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'AlegreyaSCRegular';
    src: url('fonts/AlegreyaSC-Regular-webfont.eot');
    src: url('fonts/AlegreyaSC-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/AlegreyaSC-Regular-webfont.woff') format('woff'),
         url('fonts/AlegreyaSC-Regular-webfont.ttf') format('truetype'),
         url('fonts/AlegreyaSC-Regular-webfont.svg#AlegreyaSCRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AlegreyaSCItalic';
    src: url('fonts/AlegreyaSC-Italic-webfont.eot');
    src: url('fonts/AlegreyaSC-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/AlegreyaSC-Italic-webfont.woff') format('woff'),
         url('fonts/AlegreyaSC-Italic-webfont.ttf') format('truetype'),
         url('fonts/AlegreyaSC-Italic-webfont.svg#AlegreyaSCItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AlegreyaSCBold';
    src: url('fonts/AlegreyaSC-Bold-webfont.eot');
    src: url('fonts/AlegreyaSC-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/AlegreyaSC-Bold-webfont.woff') format('woff'),
         url('fonts/AlegreyaSC-Bold-webfont.ttf') format('truetype'),
         url('fonts/AlegreyaSC-Bold-webfont.svg#AlegreyaSCBold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AlegreyaSCBoldItalic';
    src: url('fonts/AlegreyaSC-BoldItalic-webfont.eot');
    src: url('fonts/AlegreyaSC-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/AlegreyaSC-BoldItalic-webfont.woff') format('woff'),
         url('fonts/AlegreyaSC-BoldItalic-webfont.ttf') format('truetype'),
         url('fonts/AlegreyaSC-BoldItalic-webfont.svg#AlegreyaSCBoldItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'IcoMoon';
    src: url('fonts/IcoMoon.eot');
    src: url('fonts/IcoMoon.eot?#iefix') format('embedded-opentype'),
        url('fonts/IcoMoon.svg#IcoMoon') format('svg'),
        url('fonts/IcoMoon.woff') format('woff'),
        url('fonts/IcoMoon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



h1, h2, h3, h4, h5, h6, .drop_title, .widget-title {font-weight: normal; margin: .7em 0; color: #888; line-height: 1;}
h1 {font-size: 2.333em;}
h2 {font-size: 1.8em;}
h3 {font-size: 1.667em;}
h4, .widget-title, .drop_title {font-size: 1.333em;}
h5, h6 {font-size: 1.2em;}
#page-title {z-index: 9999; position: relative; }
#page-title, .drop_content {margin-bottom: 1em;}
.cat-title {color: #aaa; text-transform: uppercase; font-size: 1.667em; padding-bottom: 1.5em;}
.entry-title {line-height: 1.4; word-wrap: break-word; clear: both; margin-bottom: .5em;}
.widget-title {margin: 0 0 .9em; display: block;}
.entry-content h2, .entry-content h3, .drop_title {margin-top: 1.1em;}
.entry-content h2:first-child, p:first-child, .drop_down, .drop_down :first-child {margin-top: 0;}
.entry-content ul:last-child {padding: 0; list-style-position: inside;}
.blog .entry-content p, .single .entry-content p, .page .post .entry-content p {text-align: left !important;}
.entry-content p + blockquote, .commission-me .entry-content blockquote + h2 {margin-top: 2em;}
.entry-content ul li {margin-bottom: .5em;}
p:last-child {margin-bottom: 0;}
.entry-meta .sep {color: #bbb;}


/* Outer structure */

* {-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
html {font-size: 100%;}
body {font-size: 1em; line-height: 1.4;}
#site-header, .container {position: relative; }
#main {position: relative; padding: 1em; background: #fff;}


/* Inner structure */

.page .entry-content, .container {clear: both;}
.entry-content + .entry-content, .hentry .widget {margin-top: 2em;}
.entry-content, .next-prev {clear: both;}
.post {position: relative;}
.blog .post, .page .post {padding: 0 0 3em; }
.entry-meta {margin: 0 0 1em; float: left; width: 100%; clear: both; color: #777; position: relative;}
.single .entry-content {margin-bottom: 2em}
.datewrap {font-family: AlegreyaSCRegular, "Times New Roman", Times, serif; color: #bbb; display: inline-block; float: right;  margin-top: -.1em; font-size: 1.333em;}
.pages {float: right; text-transform: uppercase;}
.entry-content blockquote {margin: 1em 2em;}
img, .wp-caption, video {max-width: 100%; height: auto; width:auto\9; /* ie8 */}
.fluid-width-video-wrapper iframe {z-index: 999;}
.shop .entry-content .widget {width: 190px; margin: 2em auto 0;}
.commission-me .drop_down {padding: 2em 1em 1em; background: #eee; clear: both; margin-top: 2em; border: 1px solid #e5e5e5; }
.commission-me blockquote {padding: 1em; background: #f5f5f5; margin: 1em 0; font: .75em/1.5 verdana, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif; border: 1px solid #eee; color: #555; max-width: 48em;}
.commission-me h2 {clear: both;}
.home .c2a  {position: relative;}
.home .c2a img {margin: 0 auto; text-align: center;}
.home .c2a:hover  {top: .2em;}

/* Site header */

#site-header {background: #ddd; }
#site-header a {text-decoration: none; }
#branding {position: relative; display: block; background: #ddd;}
#branding, #access {float: left; width: 50%; }
#site-header .textwidget {text-align: center; width: 100%;}
#site-header > .widget {padding: 2em; position: absolute; bottom: .1em; left: 0; width: 50%;}
#site-header > .widget p {display: block; margin: 1em 1em 0; line-height: 1; }
#site-header > .widget a {font-size: 2em;}
#site-footer .widget {padding: 2em 1em; border-top: .1em solid #ddd; border-right: .1em solid #ddd; text-align: center;}
#site-footer .widget > :first-child {padding-top: 0; margin-top: 0;}
#site-footer .widget a {text-decoration: none; font-family: AlegreyaSCRegular, "Times New Roman", Times, serif; color: #777;}
#site-footer .widget:nth-child(odd) {background: #eee;}
#site-footer .widget:nth-child(even), #site-footer {background: #f5f5f5;}
#site-footer .widget :last-child {padding-bottom: 0; margin-bottom: 0;}

/* Footer */

#colophon {padding: .5em 1em; color: #444; background: #ddd; font-size: .7em; text-align: left;}
#colophon span {display: inline-block;}
#colophon .credit {float: right; }
#colophon .credit a { text-decoration: none; color: #777;}


/* Navigation, links, controls */

a, .social-widgets > div, .social-widgets > div:hover { -moz-transition: all .15s linear; -webkit-transition: all .15s linear; -ms-transition: all .15s linear; -o-transition: all .15s linear; transition: all .15s linear}
a {color: #71A7BA; text-decoration: none;}
.entry-title a {color: #888;}
a:hover {color: #aaa;  -moz-transition: all .2s linear; -webkit-transition: all .2s linear; -ms-transition: all .2s linear; -o-transition: all .2s linear; transition: all .2s linear}
a:active, a:focus {color: #666;}
.menu {clear: both; display: block; width: 100%; text-transform: uppercase; font-size: 1em; line-height: 1; text-align: center;}
.menu a {display: block; padding: 8px 0; margin-bottom: 1px; position: relative; text-decoration: none; color: #111; background: #eee; text-shadow: 0 1px 0 #f5f5f5;}
.menu a:hover, .menu a:active, .menu a:focus {background: #ddd; }
.current_page_parent a, .current_page_item a, .current-page-ancestor a {background: #ddd;}
.entry-content a, .entry-content strong {font-family: AlegreyaBold, "Times New Roman", Times, serif; font-weight: normal;}
/* Post nav */
.next-prev a, #nav-below a {display: inline-block; font-family: AlegreyaSCBold, "Times New Roman", Times, serif;}
.next-prev a {margin-top: 1em; }
.next-prev a[rel=next], #nav-below .nav-next {float: right;}
.js .drop_title {cursor: pointer; position: relative; padding-left: 1.3em; line-height: 1.4;}
.drop_title span {content: ''; position: absolute; left: 0; top: .4em; border: .35em solid transparent; border-top-color: #71A7BA; }
.drop_title:hover span {border-top-color: #888;}
.drop_title.active span {border-color: transparent transparent #bbb transparent; top: -.15em;}
.drop_title.active:hover span {border-bottom-color: #888;}
.js #nav-below {opacity: 0;}
[class^="icon-"]:before, [class*=" icon-"]:before {font-family: 'IcoMoon'; font-style: normal; speak: none; cursor: pointer; display: block;}
.icon-cancel:before {content: "\0023";}
.icon-arrow-right:before {content: "\0024";}
.icon-arrow-left:before {content: "\0025";}
.crap .icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = "1", this.innerHTML = '&#x0023;'); font-family: 'IcoMoon'}
.crap .icon-arrow-right { *zoom: expression( this.runtimeStyle['zoom'] = "1", this.innerHTML = '&#x0024;'); font-family: 'IcoMoon'}
.crap .icon-arrow-left { *zoom: expression( this.runtimeStyle['zoom'] = "1", this.innerHTML = '&#x0025;'); font-family: 'IcoMoon'}
[class^="icon-"], [class*=" icon-"] {font-family: 'IcoMoon'; font-style: normal; speak: none; cursor: pointer; display: inline-block; color: #bbb !important; line-height: 1; text-shadow: 0 1px 0 #fff;}
[class^="icon-"]:hover, [class*=" icon-"]:hover {color: #999 !important;}

/* Blog  */

.blog .entry-content img, .page .post .entry-content img {margin-top: .5em;}
.alignleft {margin: 1em 1em 1em 0; float: left;}
.alignright {margin: 1em 0 1em 1em; float: right;}
.aligncenter, .alignnone, .blog .aligncenter, .blog .alignleft, .blog .alignright  {margin: 1em 0; float: none; display: block;}
.wp-caption:last-child {margin: 0 auto;}
.entry-content p:last-child [class^="align"]:last-child, .entry-content p:last-child img:last-child {margin-bottom: 0 !important;}
.entry-content p:first-child [class^="align"]:first-child, .entry-content p:first-child img:first-child {margin-top: 0 !important;}


/* Forms */

legend {font-size: 1.667em; padding: .7em 0 .5em; text-transform: uppercase;}
legend:first-child {padding-top: 0;}
input[type=text], input[type=password], textarea {background: #fafafa; box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); border: 1px solid #bbb; color: #888;}
input[type=text]:hover, textarea:hover { box-shadow: 0 0 .1em #fff; background: #f5f5f5;}
input[type=text]:focus, textarea:focus { color: #373737; background: #fff; border-color: #999; box-shadow: 0 0 .1em #fff;}
textarea {padding: .25em; width: 100%;}
input[type=text] {padding: .25em;}
div.wpcf7-response-output {margin: 2em 0 0 !important;}
.widget_ns_mailchimp div.error {border: .2em solid red; padding: .5em; margin: 1em 0;}

/* Comments */

#respond, #comments {clear: both; padding: 2em 1em; margin: 0 -1em; background: #f5f5f5; border: 1px solid #ddd; border-width: 1px 0;}
#respond {background: #EDF0F2; border-width: 0; margin-top: -1em;}
.commentlist + #respond {margin-top: 0; border-top-width: 1px;}
#comments {padding-bottom: 0 !important;}
#commentform p {position: relative;}
#commentform .comment-notes {padding-bottom: .3em;}
#commentform input[type=text] {position: absolute; left: 5em; max-width: 20em; top: -.2em;}
#commentform .form-submit {padding: .3em 0 0; margin-bottom: 0;}
#commentform input[type=submit] {font-family: AlegreyaSCRegular, "Times New Roman", Times, serif}
#commentform label {color: #666; font-family: AlegreyaSCRegular, "Times New Roman", Times, serif}
.commentlist {margin: 1.5em 0 2em 0; padding: 0 0 0 1.4em; }
.commentlist li {margin: 1em 0; position: relative;}
#comments a {text-decoration: none;}
.commentlist .avatar {margin: 0 1em 1em 0;}
.comment-author {color: #999;}
.commentlist .fn {color: #555;}
.comment-content {font: .75em/1.5 verdana, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif; padding: .5em; margin: .5em 0; background: #fcfcfc; border: 1px solid #eee; color: #555;}
#comments-title, #reply-title {margin-top: 0; text-shadow: 0 1px 0 #fff;}
#reply-title small {float: right; text-transform: uppercase; font-size: 50%;}
.comment-reply-link {text-transform: uppercase; font-size: 80%;}


/* Social widgets */

.social-widgets {display: inline-block; float: left; width: 182px; line-height: 1;}
.social-widgets > div  { clear: none; float: left !important; margin: 0 !important; opacity: .5;}
.social-widgets > div:hover  { opacity: 1;}
.social-widgets > div:last-child  { margin: 0 !important;}
.social-widgets .pinterest_share {width: 43px !important;}
.social-widgets .fb-like {width: 50px !important; overflow: hidden !important;}
.twitter_share {width: 56px !important; overflow: hidden !important;}


/* Galleries */

.ngg-galleryoverview {margin: 0 -.5em;}
.viewing-full .container {position: absolute; left: -9999em; top: -9999em; }
.ngg-gallery-thumbnail-box {width: 50%; float: left; padding: 0 .5em 1em;}
.home .ngg-slideshow {max-width: 100%;  height: 400px !important;}
.ngg-slideshow img  {height: auto !important; width: auto !important; max-width: 100% !important; max-height: 100% !important; }
.ngg-gallery-thumbnail img {height: auto!important;}
.viewing-full #main {position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 0;}
.viewing-full #site-header, .viewing-full #site-footer, .viewing-full #page-title {display:none;}
#colorbox, #cboxContent, #cboxLoadedContent, #cboxWrapper  {max-width: 100% !important; }
#colorbox, #cboxOverlay, #cboxWrapper{position: relative; z-index:9999; overflow:hidden;}
#cboxOverlay {position:fixed; left: 0; right: 0; top: 0; bottom: 0; background: #fff; opacity: 1 !important; z-index: 998; }
#colorbox {z-index: 999; margin: 0 auto; float: none !important; clear: both; position: relative !important; top: 0 !important; left: 0 !important;}
#cboxWrapper, #cboxContent {position: relative; float: none !important;}
#cboxLoadedContent{overflow:auto; position: relative;  margin: 4em 1em 1em;}
.cboxPhoto {margin:0 auto; border:0; display:block; max-width: 100% !important;}
.cboxIframe {width:100%; height:100%; display:block; border:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxError{padding: 2em; border:1px solid #ccc;}
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {cursor:pointer;}
#imageMeta-wrap { color: #aaa; text-align: center; margin-top: .3em;}
#cboxTitle, #description {float: none !important; position: relative; z-index: 9999; margin: 0 1em .5em; display: block;}
#cboxTitle {font-size: 1.333em; }
#cboxCurrent {color: #bbb; position: absolute; top: 0em; right: 4em;}
.controls {display: none;}
.viewing-full .controls {position: fixed; padding: .2em; z-index: 9999; text-align: center; display: inline-block; width: 100%;}
.control {border: 1px solid #CCCCCC; text-indent: -9999em;  border-radius: 3px; font-size: 1.667em; width: 1.7em; position: relative; text-align: center; display: inline-block; padding: .3em; background-color: #E3E3E3;  
background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));}
.control:before {text-indent: 0; position: absolute;}
.control#cboxClose {float: none !important;}
.control#cboxPrevious {float: left !important;}
.control#cboxNext {float: right !important;}
.control:focus, .control:active {outline: none; }
.control span, .control div  {float: none !important; text-indent: -999em; display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0;}
.control.current, .control.current:hover {color: #d5d5d5 !important; border-color: #ddd; text-shadow: none;}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }
/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }
/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after, .clear:before, .clear:after { content: ""; display: table; }
.clearfix:after, .clear:after { clear: both; }
.clearfix, .clear { zoom: 1; }
.assistive-text {position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px);}
#access a.assistive-text:active, #access a.assistive-text:focus {background: #eee; border-bottom: 1px solid #ddd; color: #1982d1; clip: auto !important; font-size: 12px; position: absolute; text-decoration: underline; top: 0; left: 7.6%;}



/* ==|== media queries ====================================================== */
@media only screen and (max-width: 321px) {

html {font-size: 11px;}

}


@media only screen and (min-width: 321px) {

html {font-size: 11px;}
.menu a {display: block; padding: 9px 0;}
#site-header > .widget {bottom: .5em; }
#site-header > .widget p {display: inline-block; margin: 2em; position: absolute; left: 50%; bottom: 0; margin-left: -1.35em;}
#site-header > .widget p:first-child {left: 0; margin: 2em;}
#site-header > .widget p:last-child {right: 0; left: auto; margin: 2em;}
#site-header > .widget a {font-size: 2.5em;}
#site-header > .widget {bottom: -.2em;}
#site-footer .widget {padding: 2em;}
#main {padding: 2em;}
.next-prev a {margin-top: 2em; }
#respond, #comments { padding: 2em; margin: 0 -2em; }
#respond {margin-top: -2em;}
.commentlist + #respond {margin-top: 0;}
.commentlist {padding: 0;}
.home .ngg-slideshow {height: 700px !important;}

}



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

html {font-size: 12px;}
#site-header > .widget {bottom: -.1em;}
.ngg-gallery-thumbnail-box {width: 33.333%; }
.commission-me .ngg-gallery-thumbnail-box {width: 25%; }
.shop .entry-content .widget {width: 380px;}
.commission-me .drop_down { padding: 2em; }
.entry-meta {margin: 0 0 1.8em; }
.home .ngg-slideshow {height: 800px !important;}

}

@media only screen and (min-width: 481px) {


#branding, #site-header > .widget {width: 40%; }
#access {width: 60%; }
.ngg-galleryoverview {margin: 0 -1em;}
.ngg-gallery-thumbnail-box {padding: 0 1em 2em;}
#cboxTitle, #description {margin: 0 2em .5em;}
.post .entry-content img {margin-bottom: 2em; margin-top: 2em;}
.post .entry-content .shiftMeUp {margin-top: 1.5em;} /* less gap between text paragraph above an image */

}

@media only screen and (min-width: 600px) {

#branding, #site-header > .widget {width: 33.333%; }
#access {width: 66.667%; }
#main  {padding: 4em;}
#site-footer .widget {bottom: -.7em;}
h1 {margin-top: 0;}
.cat-title {padding-bottom: 1em;}
.clients .entry-content ul { -moz-column-width: 20em; -webkit-column-width: 20em; -o-column-width: 20em; column-width: 20em;}
#respond, #comments { margin: 0; border-left-width: 1px; border-right-width: 1px;}
#respond {margin: -2em -2em 0; border-width: 0;}
.commentlist + #respond {margin-top: 0; border-top-width: 1px;}
.blog .post, .page .post {padding: 0 0 4em;}
.commentlist > li {margin-left: -2em; padding-left: 2em; z-index: 99;}
.commentlist > li:before {position: absolute; z-index: -1; content: ''; margin-left: -1px; right: 100%; top: -.4em; border: 1px solid #ddd; border-right-color: #f5f5f5; background: #f5f5f5; width: 2em; height: 2em;}

}

@media only screen and (max-width: 767px) {
/* Prevent footer showing before move */
#site-footer {position: absolute; top: -999em; }
#site-footer.move {position: relative; top: 0;}

}

@media only screen and (min-width: 768px) {

html {font-size: 13px;}
#branding  {padding: 0 0 1em;}
#site-header {position: absolute; top: 0; left: 0;  width: 18em; }
#site-header > .widget {position: relative; bottom: 0; left: 0; width: auto;}
#site-header > .widget p, #site-header > .widget p:first-child, #site-header > .widget p:last-child  {float: none; position: relative; left: 0; margin: 0 1.5em; font-size: 80%;}
#access, #branding {float: none; width: 100%; }
#main {margin-left: 18em;}
.viewing-full #main {margin: 0;}
.menu a {border: 1px solid #ddd; border-width: 1px 0; background: #ddd; padding: 1em 0; margin: 0;}
.menu a:hover, .menu a:active, .menu a:focus {background: #e5e5e5; border-color: #e5e5e5;}
.menu li:last-child a {border-bottom: none;}
.current_page_parent a, .current_page_item a, .current-page-ancestor a, .current_page_parent a:hover, .current_page_item a:hover, .current-page-ancestor a:hover {background: #fff; border-color: #d6d6d6;}
.shop .entry-content .widget {width: auto;}
.portfolio #page-title {position: absolute; top: -9999em;}
#cboxLoadedContent {margin: 8em 4em 2em;}
#cboxTitle, #description {margin: 0 4em .5em;}
.viewing-full .controls {position: absolute; padding: 2.75em 4em ;}
.commission-me .ngg-galleryoverview {margin: 0 -.5em;}
.commission-me .ngg-gallery-thumbnail-box {padding: 0 .5em 1em;}
.home .c2a {position: fixed; right: 2em; top: 2em; z-index: 9999;}
.home .c2a img {margin: 0;}
.home .c2a:hover  {top: 1.8em; right: 1.8em;}
.home .entry-content {position: fixed; top: 4em; bottom: 4em; right: 4em; left: 22em;}
.entry-title {margin-bottom: .7em;}
.entry-meta {margin: 0 0 2em; }
.home .ngg-slideshow { height: 100% !important;}

}

@media only screen and (min-width: 1024px) {

html {font-size: 14px;}
.single .entry-content {margin-bottom: 4em}
#comments {margin-bottom: 1.5em}
.ngg-gallery-thumbnail-box {width: 33.333%;}
.commission-me .ngg-galleryoverview {margin: 0 -1em;}
.commission-me .ngg-gallery-thumbnail-box {padding: 0 1em 2em;}
.clients .entry-content ul { -moz-column-width: 20em; -webkit-column-width: 20em; -o-column-width: 20em; column-width: 20em;}
.ngg-galleryoverview {margin: 0 -1.5em;}
.ngg-gallery-thumbnail-box {padding: 0 1.5em 3em;}
#colorbox {float: left !important; clear: none; max-width: 80% !important; width: 80% !important; }
#cboxLoadedContent {margin: 4em;  width: auto !important; }
.cboxPhoto {margin: 0;}
.viewing-full .controls {position: relative; float: right; left: auto; right: 2em; top: 2em; width: 3em; padding: 0;}
.control#cboxClose, .control#cboxPrevious, .control#cboxNext {float: right !important; clear: both; margin: 0 0 1.1em; }
#cboxCurrent {top: 99%; right: 0; white-space: nowrap; text-align: right;}
#imageMeta-wrap {padding: 4em 2em .5em 0; float: right !important; clear: right; width: 20%; text-align: left;}
#cboxTitle, #description {margin: 0 0 .5em}

}

@media only screen and (min-width: 1025px) {

.ngg-gallery-thumbnail-box {width: 25%;}
.entry-content p, .drop_down, .commission-me .entry-content, #comments, .next-prev {max-width: 44em;}

}

@media only screen and (min-width: 1280px) {

#main {padding: 6em;}
.single .entry-content {margin-bottom: 6em}
#comments {margin-bottom: 3.5em}
.clients .entry-content ul { -moz-column-width: 15em; -webkit-column-width: 15em; -o-column-width: 15em; column-width: 15em;}
.viewing-full #main {margin-left: 18em;}
.viewing-full #site-header, .viewing-full #site-footer {display:block;}
#cboxOverlay {background: none; left: 18em;}
.blog .post, .page .post {padding: 0 15em 6em 0;}
.entry-meta {position: absolute; right: 0; top: 1.2em; width: 182px;}
.datewrap {width: 100%; text-align: center;}
.social-widgets {position: absolute; top: 3.5em;}
.commission-me .entry-content {float: left; width: 44em;}
.commission-me .drop_down, .shop .entry-content {margin-top: 0; position: absolute; top: 5em; left: 50em; right: -6em; padding: 2em; background: #eee;}
.commission-me blockquote {margin: 1em 0 1em -1em; width: 80%;}
.shop .entry-content {left: 570px; margin-left: 6em;}
.home .entry-content {position: fixed; top: 6em; bottom: 6em; right: 6em; left: 24em;}
.home .c2a {right: 4em; top: 4em;}
.home .c2a:hover  {top: 3.8em; right: 3.8em;}

}

@media only screen and (min-width: 1440px) {

html {font-size: 15px;}
#cboxLoadedContent {margin: 6em;}
.ngg-gallery-thumbnail-box {width: 20%;}

}

@media only screen and (min-width: 1680px) {

html {font-size: 16px;}
#colorbox {max-width: 75% !important; width: 73% !important; }
.viewing-full .controls {right: 0; top: 6em; float: left; padding: 0 0 0 6em; width: 27%; position: relative;}
.control#cboxClose, .control#cboxPrevious, .control#cboxNext {float: left !important; margin: 0 0 1.4em !important;}
.control#cboxClose {margin-right: 0;}
#cboxCurrent {right: auto; left: 6em; top: 102%;}
#imageMeta-wrap {padding: 0 0 0 6em; width: 27%; position: absolute; left: 0; right: auto; top: 24.6em;}
#cboxTitle {font-size: 1.667em; margin-bottom: .4em;}
.ngg-gallery-thumbnail-box {width: 16.667%;}

}

@media only screen and (min-width: 1681px) {

.post {max-width: 66em;}

}

@media only screen and (min-width: 1920px) {

.ngg-gallery-thumbnail-box {width: 14.2857%;}

}

@media only screen and (min-width: 2100px) {

.ngg-gallery-thumbnail-box {width: 12.5%;}

}

@media only screen and (min-width: 2400px) {

.ngg-gallery-thumbnail-box {width: 11.1%;}

}


/* IE7 & IE8 */

.oldie #branding  {padding: 0 0 1em;}
.oldie #site-header {position: absolute; top: 0; left: 0;  width: 18em; }
.oldie #site-header > .widget {position: relative; bottom: 0; left: 0; width: auto;}
.oldie #site-header > .widget p, .oldie #site-header > .widget p:first-child, .oldie #site-header > .widget p:last-child  {float: none; margin: 0 1.5em; font-size: 80%;}
.oldie #access, .oldie #branding {float: none; width: 100%; }
.oldie .menu a {border: 1px solid #ddd; border-width: 1px 0; background: #ddd; padding: 1em 0; margin: 0;}
.oldie .menu a:hover, .oldie .menu a:active, .oldie .menu a:focus {background: #e5e5e5; border-color: #e5e5e5;}
.oldie .menu li:last-child a {border-bottom: none;}
.oldie .current_page_parent a, .oldie .current_page_item a, .oldie .current-page-ancestor a, .oldie .current_page_parent a:hover, .oldie .current_page_item a:hover, .oldie .current-page-ancestor a:hover {background: #fff; border-color: #d6d6d6;}

.oldie #main {margin-left: 18em; padding: 6em;}
.oldie .single .entry-content {margin-bottom: 6em}

.oldie #respond, .oldie #comments { margin: 0; border-left-width: 1px; border-right-width: 1px;}
.oldie #respond {margin: -2em -2em 0; border-width: 0;}
.oldie .commentlist + #respond {margin-top: 0; border-top-width: 1px;}
.oldie .commentlist > li {margin-left: -2em; padding-left: 2em; z-index: 99;}

.oldie .home .entry-content {position: fixed; top: 6em; bottom: 6em; right: 6em; left: 24em;}
.oldie .home .c2a {position: fixed; right: 4em; top: 4em; z-index: 9999;}
.oldie .home .c2a:hover  {top: 3.8em; right: 3.8em;}
.oldie .home .c2a img {margin: 0;}
.oldie .home .ngg-slideshow { height: 100% !important; }
.oldie #comments {margin-bottom: 3.5em}

.oldie .ngg-gallery-thumbnail-box {width: 25%;}
.oldie .entry-content p, .oldie .drop_down, .oldie .commission-me .entry-content, .oldie #comments, .oldie .next-prev {max-width: 44em;}

.oldie .shop .entry-content {left: 570px; margin-left: 6em;}
.oldie .shop .entry-content .widget {width: auto;}

.oldie .portfolio #page-title {position: absolute; top: -9999em;}

.oldie .blog .post, .oldie .page .post {padding: 0 15em 6em 0;}
.oldie .entry-meta {position: absolute; right: 0; top: 1.2em; width: 182px;}
.oldie .datewrap {width: 100%; text-align: center;}
.oldie .social-widgets {position: absolute; top: 3.5em;}

.oldie .commission-me .ngg-galleryoverview {margin: 0 -1em;}
.oldie .commission-me .ngg-gallery-thumbnail-box {padding: 0 1em 2em;}
.oldie .commission-me .entry-content {float: left; width: 44em;}
.oldie .commission-me blockquote {margin: 1em 0 1em -1em; width: 80%;}

.oldie .viewing-full #main {margin: 0; padding: 2em;}
.oldie #colorbox {float: left !important; clear: none; max-width: 80% !important; width: 80% !important; }
.oldie #cboxLoadedContent {margin: 0 4em 0 0;  width: auto !important; }
.oldie .cboxPhoto {margin: 0;}
.oldie .viewing-full .controls {position: relative; float: right; left: auto; right: 2em; top: 2em; width: 3em; padding: 0;}
.oldie .control#cboxClose, .oldie .control#cboxPrevious, .oldie .control#cboxNext {float: right !important; clear: both; margin: 0 0 1.1em; }
.oldie #cboxCurrent {top: 99%; right: 0; white-space: nowrap; text-align: right;}
.oldie #imageMeta-wrap {padding: 4em 2em .5em 0; float: right !important; clear: right; width: 20%; text-align: left;}
.oldie #cboxTitle, .oldie #description {margin: 0 0 .5em}


/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}
