/******************************************************************
Theme Name: Time
Theme URI: http://www.s5themes.com/theme/time/
Description:  Time - Check Time Documentation in case you need directions or get support from Forum.
Author: Site5.com
Author URI: http://gk.site5.com/t/615
Version: 1.0.1

License: GPL
License URI: http://www.gnu.org/copyleft/gpl.html
******************************************************************/


/************************ STYLE STRUCTURE ************************

	1. Reset CSS
	2. Typography presets
	3. Header
	4. Footer
	5. Navigation
	6. Navigation Submenu
	7. Main Section
	8. Sidebar &amp; Widgets
	9. Image Styles
	10. Post Style
	11. Contact Form
	12. Tweet List
	13. Paginate
	14. Comments
	15. Respond Form
	16. Dropcaps
	17. Responsive Navigation
	18. Media Queries

****************************************************************/

/************************ Reset CSS ************************/

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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.entry-content img {
	margin: 0 0 1.5em 0;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
  	margin-right: 1.5em;
  	padding: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
  	margin-left: 1.5em;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	text-align: center;
	margin-bottom: 1.5em;
}
.wp-caption img {
	border: 0 none;
	margin: 0;
	padding: 0;
}
.wp-caption p.wp-caption-text {
	margin: 0;
}
.wp-smiley {
	max-height: 1em;
	margin:0 !important;
}
.gallery dl {
	margin: 0;
}
.gallery-caption {
	margin:-1.5em 0 0 0;
}
blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 20px;
	text-align: right;
	width: 33%;
}
blockquote.right {
	float: right;
	margin-left: 20px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}

/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/


/************************ Resets ************************/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup,
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/************************	Typography presets ************************/

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
}

.huge, h1 {
	font-size: 68px;
	line-height: 48px;
	letter-spacing: -1px;
}

.large, h2 {
	font-size: 42px;
	line-height: 48px;
}

.bigger, h3 {
	font-size: 26px;
	line-height: 36px;
}

.big, h4 {
	font-size: 22px;
	line-height: 30px;
}

body {
	font: 16px/24px Georgia, serif;
}

.small, small {
	font-size: 13px;
	line-height: 18px;
}
.clear {
	clear: both;
}
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix {
}

/************************ Selection colours (easy to forget) ************************/

::selection 	 	{ background: rgb(255,255,158);}
::-moz-selection 	{ background: rgb(255,255,158);}
img::selection 		{ background: transparent;}
img::-moz-selection	{ background: transparent;}
body 				{-webkit-tap-highlight-color: rgb(0,141,151);}



/*		Default Layout: 992px.
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */


/* apply a natural box layout model to all elements */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


body {
	background: rgb(255,255,255,0);
	color: rgb(60,60,60);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	margin: 0 auto;
	color: #666666;
    font-family: 'Open Sans',Sans-Serif;
    font-size: 14px;
}
a {
	color: #000000;
	text-decoration: none;
}
a:hover {
	color: #008d97;
}
.container {
	margin: 0 auto;
}

/************************ Header ************************/
header {
	margin: 0 auto;
	padding:30px 0 0;
	min-height: 72px;
	background: #fff;
}
header h1.title {
	font-size: 30px;
	font-weight: 800;
	text-align:center;
}
header .description {
	font-size:16px;
	font-style:italic;
	color:#858585;
	display:block;
	text-align:center;
}
header h1.title span {
	color: #005f6b;
}


#slider_container .flexslider .slides img {
    width: 100%;
}

/************************ Footer ************************/
footer {
	clear: both;
	padding: 20px 0;
	text-align: center;
	border-top: 5px solid #D7D7D7;
	border-bottom: 1px solid #D7D7D7;
	font-size: 12px;
	overflow:hidden;
	margin: 0 auto;
}

footer #menu-main-menu li {
	display: inline;
	padding: 0 10px;
}

.footer_widget ul li, {
	font-size: 12px;
	font-family: Helvetica, Arial, Sans-serif;
	color: #747272;
	padding: 3px 0 3px;
}
.footer_widgets{
	width: 960px;
	padding: 0 20px;
	margin:0 auto;
	text-align:left;
}
.footer_widgets h2{
	font-size:14px;
	color:#878787;
	text-transform:uppercase;
	letter-spacing:2px;
}
.footer_widget {
    float: left;
    margin-right: 30px;
    padding-bottom: 30px;
    width: 45%;
}
.footer_widget ul li {
	margin-bottom: 10px;
}
.footer_widget ul li, .footer_widget ul li a {
	list-tyle:none;
	font-size:14px;
	font-weight:600;
	color:#666666;
}

.copyright {
	clear: both;
	padding: 20px 0;
	text-align: center;
	border-top: 5px solid #D7D7D7;
	font-size: 12px;
	margin: 0 auto;
}

/************************ Navigation ************************/
.navigation {
	font-size: 12px;
	padding-top: 30px;
}
.my_works .navigation {
	text-transform:lowwercase;
	letter-spacing:2px;
	margin-bottom:55px;
}
nav {
	border-top: 1px solid #DFDFD0;
	border-bottom: 1px solid #DFDFD0;
	margin: 30px 0 auto;
	padding:15px 0;
	line-height: 36px;
	text-align: center;
}
nav ul li {
	display: inline-block;
	padding: 0 15px;
	font-size: 14px;
	font-weight: 700;
    text-transform: lowwercase;
}
nav ul li a {
	padding: 20px 5px;
	color: #888888;
	text-decoration: none;
    text-shadow: 1px 1px #FFFFFF;
}
nav ul li a span {
	font-family: Georgia, serif;
	font-style: italic;
	font-weight: normal;
}
nav ul li a:hover, nav ul li.current-menu-item a, nav ul li.current_page_item a {
	color: #008d97;
}
nav ul li.active a {
	border-bottom: 5px solid #005F6B;
}

/************************ Nav Submenu ************************/
ul.sub-menu {
	position: absolute;
	background: #008d97 url(images/sub-nav-bg.png) no-repeat 10px top;
	margin-top: 10px;
	margin-left: -15px;
	width: 250px;
	text-align: left;
    z-index:999;
    padding:10px 0 10px;
}
ul.sub-menu li {
	line-height: 10px;
	display: block;
	padding: 0px;
    font-weight: 400;
    padding-left:10px;
    text-transform: lowwercase;
}
ul.sub-menu li a {
	color: #ffffff !important;
	font-size: 14px;
	font-weight:600;
	padding: 10px 10px;
	display: block;
    text-shadow: none;
}
ul.sub-menu li a:hover {
	background: #008d97;
	color: #ffffff;
}

ul.sub-menu li ul {
	position: absolute;
	background: #008d97 !important;
	margin-left: 230px;
	margin-top: -50px;
	width: 250px;
	text-align: left;
    z-index:999;
    padding:10px 0 10px;
}

ul.subnav {
	font-weight: bold;
	font-family: "Helvetica", Arial, Sans-Serif;
	padding-top: 10px;
	margin-bottom: 10px;
}
ul.subnav li {
	padding: 8px 0;
	border-bottom: 1px solid #e3e3e3;
    color: #ffffff;
}
#submenu li.current_page_item a {
	color: #000;
}

/************************ Main Section ************************/
section.main {
	width: 960px;
	margin: 0 auto;
	padding-right: 10px;
}

section.main h1 {
    font-size: 20px;
	text-transform: upppercase;
	font-weight:700;
	color:#878787;
	letter-spacing:2px;
	text-align:center;
	margin:20px 0;
}

section.main .post h2, section.main .my_works h2 {
	line-height: 30px !important;
    font-size: 20px;
	text-transform: upppercase;
	font-weight:700;
	letter-spacing:2px;
	padding:70px 0 30px;
	text-align:center;
}
body.error404 section.main .post h2 {
	line-height: 60px !important;
    font-size: 60px;
}

.main-single p {
	font-size: 12px;
    margin-bottom: 15px;
}
section.main blockquote {
	padding: 0px 20px;
	font-family: Georgia, Serif;
	font-size: 14px;
	font-style: italic;
	border-left: 4px solid #005F6B;
}
section.full-width {
	width: 896px;
	padding: 20px 0px;
}

.post_read_more,
.more-link {
	text-align: center;
	display: block;
	font-weight: bold;
	color: #000;
}
.post_read_more:before,
.more-link:before {
	content: "";
	display: block;
	width:40px;
	margin:30px auto;
	border-bottom: 1px solid #000;
}

body.home section.main,
body.page section.main,
body.single-post section.main,
body.error404 section.main,
body.archive section.main,
body.search section.main {
	font-size: 14px;
}


/************************ Sidebar &amp; Widgets ************************/
section.sidebar {
	width: 230px;
	float: left;
	padding-top: 20px;
    font-size: 12px;
    font-family: Helvetica, Arial, Sans-serif;
}
section.sidebar h2, section.main h2 {
	font-weight: 400;
	font-size: 16px;
	text-transform: uppercase;
    text-shadow: 1px 1px 1px #FFFFFF;
}
section.sidebar p{
	font-size: 12px;
	font-family: Helvetica, Arial, Sans-serif;
	color: #747272;
	padding: 3px 0 3px;
}
section.sidebar .box {
	padding-bottom: 40px;
}
section.sidebar .blog p time {
	display: block;
	font-style: italic;
}
a.gbutton, .reply a, .submitbutton, .comment-reply-link {
    background: none repeat scroll 0 0 #008d97;
    border: medium none;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF !important;
    cursor: pointer;
    display: inline-block;
    font-family: "Helvetica",Arial,Sans-Serif;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
}
a.gbutton:hover, .reply a:hover {
	background: #008c9e;
}


.my_works_filter {	
	list-style: none;
	margin: 0 0 5% auto;
	clear:both;
    text-transform: uppercase;
    text-align: center;
}

.my_works_filter li {
    float: none;
    margin: 0 20px 0 0;
    display: inline-block;
}
.my_works_filter li a {
    float: left;
    color: #008d97;
    padding: 5px 10px;
    text-decoration: none;
    border-radius:5px;
    font-weight:600;
    font-size:12px;
}
.my_works_filter li a:hover, .my_works_filter li.active {
    background: #008d97;
    color: #FFFFFF;
     border-radius:5px;
}

.my_works_filter li.active a {	background: #008d97;
    color: #FFFFFF;
}

.main .my_works {
    clear: both;
    margin: 0 auto;
    padding-bottom: 30px;
    /*width: 75%;*/
}

.work_item {
	width: 45%;
	float: left;
	margin-top: 10px;
	font-size: 12px;
	font-family: "Helvetica", Arial, Sans-Serif;
	padding-bottom: 20px;
}
.work_item_image{	margin-bottom:20px;}
.work_item_image img{
	width:100%
}
.work_details{	text-align:center;}
.work_details h3{
	letter-spacing:2px;
	text-transform:uppercase;
	font-size:14px;
}
.work_item img {
	width: 100%;
	padding: 4px;
	background: url(images/pattern.png);
}
.work_item a h3 {
	font-size: 30px !important;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
}
.work_item a:hover h3 {
	color: #fff;
}
.work_item p.more, body.page section.main p.more {
	color: #fff;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
}
.work_item p.more {
	background: url(images/arrow.png) no-repeat right center;
	display: inline-block;
	padding-right: 10px;
}
.work_item p {
	color: #747272;
	text-align:center;
}
.work_item:nth-child(2n+1) {
	margin-right: 50px;
}

div.work_item-image img {
	width: 620px;
	height: auto;
	background: url("images/pattern.png");
	padding: 4px;
}

section.full-width .work_item:nth-child(3n+1)  {
	margin-left: 20px;
}
section.full-width .work_item:nth-child(3n+1)  {
	margin-right: 0px;
}
section.full-width .work_item:nth-child(4n+1) {
	margin-left: 0px;
    margin-right: 30px;

}
body.page-template-page-temp-portfolio-fullwidth-php .work_item {
	margin-right: 10px;
}
body.page-template-page-temp-portfolio-php .work_item {
    /*margin-right: 20px;*/
}
body.single-portfolio .main-single h1 {
	line-height: 65px !important;
}

/************************ Image Styles ************************/
img.alignleft, img.alignright, img.aligncenter {

}
img.blog-thumb {
  	padding: 0;
  	margin:  0;
    /*max-width:720px;*/
    height:auto;
    width: 100%;
}

/************************ Post Style ************************/
section.main .post {
	clear: both;
	padding: 20px;
	border-bottom: 1px solid #efefef;
	/*width:90%;*/
	margin:0 auto;
}
section.main p {	color:#666666;	font-size:14px;
	padding-bottom: 20px;
}
section.main .post p em {
	font-size:16px;
	font-family: 'Georgia', Sans-Serif;
}
section.main .post:last-child {
	border-bottom: none;
}
.post-thumb {
    padding:0;
    margin:0;
    position: relative;
    min-height: 100px;
}
div.meta {
    color:#fff;
    font-size:16px;
    width:120px;
    height:120px;
    background:#008d97;
    text-align:center;
    font-weight: 200;
    position:absolute;
    margin:0 auto;
    bottom:-44px;
    left: 50%;
    margin-left: -60px;
    -moz-border-radius: 60px;
	border-radius: 60px;
}
div.meta .post-date {
    padding-top:20px;
    display:block;
}
div.meta .post-comments a {
    color:#fff;
    display:block;
    font-weight: 700;
}
div.meta .post-comments em {
    font-family: 'Georgia', Sans-Serif;
    font-tyle: italic;
    font-size:12px;
}
.post-author {
    display: inline-block;
    position: absolute;
    bottom: -20px;
    font-weight: 700;
    text-transform:uppercase;
}
.post-author em {
    font-family: 'Georgia', Sans-Serif;
    font-tyle: italic;
    font-weight: 400;
    text-transform:lowercase;
}



/************************ Contact Form ************************/
#contactForm {
	display:block;
    padding-top: 30px;
}

#contactForm label {
	display: block;
	font-weight: normal;
	padding: 5px 0px;
}
#contactForm input,
#contactForm textarea {
	background:#fff;
	border: 1px solid #fff;
	box-shadow: 1px 1px 0px #CCCCCC inset;
	margin-bottom: 10px;
	padding: 7px 10px;
}
#contactForm textarea {
	font-size:13px;
	width: 95%;
}
#contactForm input {
	width: 95%;
}
.thanks {
	background: #F2F3F6;
	background: url('lib/contactform/ok.png') 0 26px no-repeat;
	padding: 25px 15px 15px 25px;
	display: none;
}

#contactForm .error, .error {
    background: url("lib/contactform/error.png") no-repeat scroll 5px 50% #FEF4F1;
    border: 1px solid #F5F5F5;
    border-radius:5px;
    color: #000000;
    display: none;
    margin-bottom: 5px;
    padding: 7px 20px 7px 30px;
    width: 90%;
}

.error {
	display:none;
}

#contact-map{
	background: #fff;
	padding-bottom:30px;
	border:1px solid #ddd;
	padding:10px;
}
#contact-map iframe{
border:none;
}

/************************ Tweet List ************************/
.tweet_list li {
    background: transparent;
    border-bottom: 1px dotted #efefef !important;
    color: #666666 !important;
    font-size: 14px !important;
    margin: 5px 0;
    padding-bottom: 10px !important;
    padding-left: 0 !important;
}

.tweet_list span {
    padding-left:0px;
}

.tweet_list a {
    color:#FF4C4C !important;
}

.tweet_list li img {
    background: none repeat scroll 0 0 #F8F7F1;
    border: 1px solid #FFFFFF;
    box-shadow: 0 0 3px 2px #DDDDDD;
    float: left;
    margin: 0 10px 10px 0;
    padding: 2px;
}
.followTwitter {
    font-family: Georgia,"Times New Roman",Times,serif !important;
    font-size: 12px !important;
    font-style: italic;
    font-weight:bold;
}

/************************ Paginate ************************/
.emm-paginate {
    display: block;
    font-size: 14px !important;
    font-weight: bold;
    margin:3% auto;
    padding: 10px 0;
    width: 75%;
    text-align: center;
}
.emm-paginate a, .emm-paginate span {
    margin-left:10px;
}

.emm-page {
    background:#FFB5B5;
    color:#ffffff;
    border-radius: 50% 50% 50% 50%;
    display: inline-table;
    height: 30px;
    min-height: 30px;
    width: 30px;
    line-height: 30px;
    margin-left: 5px;
}
.emm-current {
    background:#008d97;
    color:#ffffff;
}

/************************ Comments ************************/
#comments {
    border-bottom: 2px solid #DDDDDD;
    display: block;
    float: left;
    margin-top: 30px;
    padding-bottom: 10px;
    width: 90%;
}
.comment-author {	background:none;}
#comments h3, #comment-form-title h3 {
    font-size: 16px;
    font-weight: normal;
    text-transform:uppercase;
    letter-spacing:2px;
}
ol.commentlist { margin-top: 10px; margin-bottom:20px; }
.commentlist ol li {border-bottom:1px solid #ddd;}
.commentlist li { position: relative; clear: both; list-style-type: none; padding: 11px 10px;border-bottom:1px solid #ddd;}
.commentlist li[class*=depth-] { padding-left: 20px; margin-top: 17px; }
.commentlist li.depth-1 { margin-top: 1px; }
.commentlist li:not(.depth-1) { margin-right: -10px; }
.commentlist li:last-child {}
.commentlist header {min-height: 30px; border:none;}
nav#comment-nav {line-height: 12px;}

.commentlist .vcard {margin-left: 40px; }
.commentlist .vcard cite.fn { font-weight: 700; font-style: normal;}
.commentlist .vcard time {font-size: 11px;  float: none; background:none;width: auto;margin-top: auto; text-shadow:1px 1px #fff;text-transform:uppercase}
.commentlist .vcard time a { color: #999; text-decoration: none; }
.commentlist .vcard time a:hover { text-decoration: underline; }

.commentlist .vcard img.avatar { position: absolute; left: 0; padding: 0px; border: 0px solid #cecece; background: #fff; -moz-border-radius: 80px; -webkit-border-radius: 80px; border-radius: 80px; }
.commentlist li .comment_content { margin-left: 40px; }
.commentlist li .comment_content p { margin: 15px 0; }
.commentlist li ul:not(#comment-form-elements) { margin: 0 0 0 40px; }
.commentlist li ul.children li { border:none;border-top:1px solid #ddd;padding-bottom:4px;}
.commentlist .comment-reply-link {margin-left:40px;text-decoration: none; color: #F60B51; font-size: 11px; text-transform:uppercase; padding: 4px 8px;}
.commentlist a.comment-reply-link:hover { opacity: 1; }
.commentscount { background:url(library/images/comments.png) 0 2px no-repeat; padding-left:28px; height:30px; display:inline-block; }
#cancel-comment-reply-link { text-transform:uppercase; font-size: 11px; color:#008d97;}



/************************ Respond Form ************************/
#respond {margin:40px 0 0 0;}
.respond-form form[method=post] {margin:30px 0; }
.respond-form ol li form#commentform[method=post] li { margin-bottom:0}
.respond-form form[method=post] li { list-style-type: none; clear: both; margin-bottom: 20px; padding: 0}
.respond-form form[method=post] li label, .respond-form form[method=post] li small {cursor:pointer; text-transform:uppercase; width:130px; display:block;}
.respond-form input[type=text]:focus, .respond-form input[type=email]:focus, .respond-form input[type=url]:focus, .respond-form textarea:focus { outline:none;}
.respond-form input[type=text], .respond-form input[type=email], .respond-form input[type=url] { width:95%; height:30px; border: none; padding: 1px 6px; line-height: 24px; }
#allowed_tags { margin: 24px 10px 11px 0; }

.respond-form textarea, .respond-form input[type=text], .respond-form input[type=email], .respond-form input[type=url] { font-family: sans; background:#fff; border-radius: 3px; border: 1px solid #fff; box-shadow: 1px 1px 0px #DDDDDD inset;}
.respond-form textarea { resize: none; width: 500px; padding: 10px 5px; line-height: 24px;  height:190px; }
.respond-form input:invalid, .respond-form textarea:invalid { outline: none;}

.nocomments { margin: 0 20px 17px; }
.commentbutton {background:url(library/images/postcomment.png) 0 0px no-repeat; width:162px; height:34px; text-indent:-9999px; border:none; margin-left:135px;}

/************************ Dropcaps ************************/
.dropcapsimple, .dropcapsquare, .dropcapfancy {
	float:left;
	overflow:hidden; 
	text-align:center;
}

.dropcapsimple {
	font-size:34px;
	height:34px;
	line-height:38px;
	width:30px;
	text-align:left;
}

.dropcapsquare {
	font-size:28px;
	height:38px;
	line-height:38px;
	width:38px;
	margin-right:7px;
	color:#fefefe;
	background:#111;
	text-shadow:none;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

.dropcapfancy {
	font-size:26px;
	height:40px;
	line-height:40px;
	width:40px;
	margin-right:7px;
	color:#fefefe;
	text-shadow:none;
	background:url(images/bk_dropcap3.png) 0 0 no-repeat !important;
}

/************************ Responsive Navigation ************************/
nav select {
      display: none;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {

	body {
		/*width: 710px;
		padding: 0px 28px 60px;*/
	}
	nav {
		width: 100%;
		text-align: center;
	}
	section.main {
		width: 100%;
		float: right;
		padding-top: 20px;
	}
	section.main .post {
		width: 100%;
	}
	section.main .post h2 {
		width: 100%;
		font-size: 16px;
	}
	#respond #commentform p label {
		clear: both;
		display: block;
		padding-left: 0;
		font-size: 11px;
		font-style: italic;
	}
	#respond #commentform #comment {
		width: 95%;
	}
	body.page section.main img,
	body.blog section.main img,
	body.archive section.main img  {
		max-width: 100%;
		width: 100%;
		height: auto !important;
	}
}


/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {

	body {
	/*	width: 250px;
		padding:0px 34px 60px;*/
	}
	.footer_widget {
	    float: none;
	    margin-right: 0px;
	    width: 100%;
	}
	.footer_widgets {
	    width: 100%;
	}
    img.blog-thumb {
		float:none;
	}
    nav ul {
    	display: none;
    }
    nav select {
	    display: inline-block;
	    width: 100%;
	    border: 1px solid #ccc;
	    color: #666; padding:5px;
	    font-family: 'Cabin Condensed', Arial, sans-serif;
	    font-size: 12px;
    }
	section.sidebar {
		width: 252px;
	}
	section.main {
		width: 100%;
		padding-top: 0px;
	}
	section.main .post {		width: 100%;	}
	section.main .post h2 {
		width: 100%;
		font-size: 16px;
	}
	div.meta {
	    bottom: -20px;
	    font-size: 12px;
	    font-weight: 200;
	    height: 100px;
	    width: 100px;
	}
	div.meta .post-date {
	    padding-top: 12px;
	}
	.post-author {
	    font-size: 11px;
	    display: block;
	    text-align: center;
	    position: relative;
	    top:50px;
	}
	.post-thumb {
	    /*max-height: 180px;*/
	}
	img.blog-thumb {
	    float: none;
	    width:100%;
	}
	#respond {
	    margin: 0px;
	    padding-top:40px;
	}
	.commentlist li ul {
	    margin: 0px;
	}
	#respond #commentform p label {
		clear: both;
		display: block;
		padding-left: 0;
		font-size: 11px;
		font-style: italic;
	}
	#respond #commentform #comment {
		width: 95%;
	}
	body.page section.main img,
	body.blog section.main img,
	body.archive section.main img  {
		max-width: 100%;
		height: auto !important;
	}
    section #contact-map  {
    	width: 95%;
	}
    section #contactForm input, section #contactForm textarea {
    	width: 95%;
	}

	.work_item {
		float:none;
		width: 100%;

	}

	.work_item:nth-child(2n+1) {
	    margin-right: 0px;
	}

	.main .my_works{
	    width: 100%;
	}
	.my_works_filter{
	    width: 100%;
	    margin:0 0 20px auto;
	}

	footer {
		padding:20px;
	}
	
	nav  {
		padding: 20px;
	}

}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body {
		/*width: 420px;
		padding: 5px 22px 48px;*/
	}
    nav ul     {
    	display: none;
    }
    nav select {
	    display: inline-block;
	    width: 100%;
		border: 1px solid #ccc;
		color: #666; padding:5px;
	    font-family: 'Cabin Condensed', Arial, sans-serif;
	    font-size: 12px;
    }
    .footer_widget {
	    float: none;
	    margin-right: 0px;
	    width: 100%;
	}
	section.sidebar {
		width: 100%;
	}
	section.main {
        width: 100%;
        float: none;
        padding-top: 0px;
	}
	section.main .post {
		width: 100%;
	}
	section.main .post h2 {
		width: 100%;
		font-size: 16px;
	}
	div.meta {
	    bottom: -20px;
	    font-size: 12px;
	    font-weight: 200;
	    height: 100px;
	    width: 100px;
	}
	div.meta .post-date {
	    padding-top: 12px;
	}
	.post-author {
	    font-size: 11px;
	    display: block;
	    text-align: center;
	    position: relative;
	    top:50px;
	}
	.post-thumb {
	    /*max-height: 260px;*/
	}
	img.blog-thumb {
	    float: none;
	    width:100%;
	}
	#respond #commentform p label {
		display: inline;
		padding-left: 20px;
	}
	#respond #commentform #comment {
		width: 95%;
	}
    body.page section.main img,
	body.blog section.main img,
	body.archive section.main img  {
		max-width: 100%;
		height: auto !important;
	}
    section #contact-map  {
    	width: 95%;
	}
	.my_works_filter{
	    /*width: 80%;*/
	    margin:0 0 20px auto;
	}
	footer {
		padding:20px;
	}
}

/*	Retina media query.
	Overrides styles for devices with a
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {

	body {

	}

}