/*
    Theme Name: Reach
    Theme URI: http://themeforest.net/user/EugeneO/portfolio/
    Description: Lovingly created by EugeneO.
    Version: 3.5.4
    Author: EugeneO
    Author URI: http://themeforest.net/user/eugeneo/
    Tags: custom-background, left-sidebar, two-columns, custom-menu, theme-options, threaded-comments, translation-ready
*/

/* ----------------------------------------
    RESET
---------------------------------------- */

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, input, table,
caption, tbody, tfoot, thead, tr, h, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

ol,
ul {    list-style: none }

/* ---------- CLEARFIX ---------- */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {    clear: both }

.clearfix {    zoom: 1 }


/* ----------------------------------------
    HTML5 CSS SETUP 
---------------------------------------- */

article,
aside,
figure,
footer,
header,
hgroup,
nav,
section,
video {    display: block }

/* ----------------------------------------
    TYPOGRAPHY
---------------------------------------- */

a,
a:visited {
    color: #737373;
    text-decoration: none;
    -webkit-transition: color 0.25s;
    -moz-transition: color 0.25s;
    -o-transition: color 0.25s;
    transition: color 0.25s;
}

a:hover,
a:visited:hover {    color: #3297FD }

.page-content a,
.page-content a:visited {    color: #F57A30 }

.page-content a:hover,
.page-content a:visited:hover  {    color: #3297FD }

p {    margin: 20px 0 0 }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    margin: 40px 0 0;
    line-height: 1em;
}

h1 {
    font-size: 4em;
    letter-spacing: -2px;
}

.page-intro h1 {
    color: #333;
    line-height: 1em;
	margin-right: 80px;
}

.page-intro em {
    color: #999;
	display: block;
    font-size: 2.167em;
    font-style: normal;
    letter-spacing: -1px;
    line-height: 1.4em;
	margin-top: 10px;
}

h2 {
    border-top: 1px dotted #CCC;
    font-size: 1em;
    font-weight: 700;
    padding-top: 20px;
}

h3 {
    font-size: 2em;
    letter-spacing: -1px;
}

h4 {
    font-size: 1.5em;
    letter-spacing: -1px;
}

h5 {
    font-size: 1.333em;
    letter-spacing: -1px;
}

h6 {    font-size: 1.167em }


/* ----------------------------------------
	ICONS
---------------------------------------- */

@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot');
	src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
		url('fonts/icomoon.woff') format('woff'),
		url('fonts/icomoon.ttf') format('truetype'),
		url('fonts/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
	font-family: 'icomoon';
	content: attr(data-icon);
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/
.icon-audio, .icon-gallery, .icon-video, .icon-quote, .icon-status, .icon-link {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}
.icon-audio:before {
	content: "\e000";
}
.icon-gallery:before {
	content: "\e001";
}
.icon-video:before {
	content: "\e002";
}
.icon-quote:before {
	content: "\e003";
}
.icon-status:before {
	content: "\e004";
}
.icon-link:before {
	content: "\e005";
}


/* ----------------------------------------
    STRUCTURE
---------------------------------------- */

html {    height: 100% }

body {
    background: #FFF;
    color: #555;
    font-family: helvetica, Arial, sans-serif;
    font-size: 75%;
    height: 100%;
    line-height: 1.5em;
    position: relative;
	
	-webkit-text-size-adjust: none; /* Preserve all font sizes in mobile safari */
	
}

#wrapper {
    display: block;
    margin: 0 auto;
    width: 1036px;
}

#sidebar {
    background: #0F1012;
    color: #555;
    float: left;
    font-size: 1em;
    line-height: 1.4em;
    padding: 40px 20px 0;
	position: relative;
    width: 180px;
	z-index: 2;
}

	#sidebar header { position: relative; }

    #sidebar a,
    #footer a {    color: #737373 }

    #sidebar a:hover,
    #footer a:hover {    border-bottom: 1px dotted #737373 }

a#logo {
    border-bottom: 4px solid #44464A;
    color: #FFF;
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 36px;
    padding-bottom: 20px;
    width: 180px;
}

#sidebar a#logo:hover {    border-bottom: 4px solid #44464A }

#logo img {    max-width: 180px }

	.mobile-logo { display: none; }

/* ----- NAVIGATON ----- */

#main-navigation {
    line-height: 1.4em;
    margin: 0 0 0 -20px;
    position: relative;
    width: 220px;
    z-index: 2;
}

    #sidebar #main-navigation select {
        display: none;
        width: 232px;
    }

#navigation li {    position: relative }

#navigation,
#navigation a {    display: block }

#main-navigation ul {    margin: 20px 0 }

#main-navigation a {
    color: #737373;
    padding: 4px 20px;
}

#main-navigation a:hover {
    background: #44464A;
    border: none;
    color: #FFF;
}

#main-navigation .hover {    background: #44464A }

    #main-navigation .hover > a {    color: #939393 }

    #main-navigation .hover > a:hover {    color: #FFF }

/* NAVIGATION SUBMENUS */

#main-navigation ul ul {
    background: #44464A;
    display: none;
    left: 200px;
    margin: 0;
    padding: 10px;
    position: absolute;
    top: 0;
    width: 200px;
    z-index: 99999;
}

    #main-navigation ul ul a {
        color: #939393;
        padding: 4px 0;
    }

    #main-navigation ul ul ul {    top: -10px }

#navigation li:hover ul ul, #navigation li:hover ul ul ul, #navigation li:hover ul ul ul ul { display: none; }
#navigation li:hover ul, #navigation li li:hover ul, #navigation li li li:hover ul, #navigation li li li li:hover ul { display: block; }


/* ----- FOOTER ----- */

#footer {
    background-color: #0F1012;
    clear: left;
    float: left;
    margin: 0;
    padding: 1px 20px 20px;
    width: 180px;
}

.widget-sidebar { margin: 0 0 40px }

.copyright {	
	font-size: 0.833em;
    margin: 40px 0 0;
}

    .copyright span {
        clear: both;
        display: block;
    }

/* ----- CONTENT ----- */

#content-wrapper {
    float: right;
    width: 816px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

#content {
    background-color: #FFF;
    overflow: hidden;    
    position: relative;
}

.page-intro,
#colorbox .page-intro {    margin: 40px }

.archive .page-intro,
.tax-portfolio-category .page-intro,
.page-template-page-portfolio-php .page-intro {		margin-bottom: 0; }

#slider {
    margin-top: 40px;
    overflow: hidden;
}

#content #slider:first-child,
#content .post-image:first-child {    margin: 0 }

.page-content {
    margin: 20px 40px 40px;
    width: 736px;
}

.page-content:first-child {    margin: 20px 40px 0 }

/* ---------- PAGINATION ---------- */

.pagination {
    background-color: #0F1012;
    color: #555;
    float: right;
    font-size: 1em;
    margin: 40px 0 0;
    padding: 12px 10px;
}

    .pagination span {    padding: 0 5px }

    .pagination a {    color: #737373 }

    .pagination a:hover {
        color: #44464A;
        text-decoration: none;
    }
	

/* ----- wp_link_pages() -- */

.page-content .pagination {
    background: none;
    float: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

    .page-content .pagination span {
        padding: 3px 5px;
        border: 1px solid #EEE;
    }

    .page-content .pagination ul {
        margin: 0;
        overflow: hidden;
    }

        .page-content .pagination ul li {
            background: 0;
            margin: 0;
            padding: 0;
        }

/* ----------------------------------------
    BLOG INDEX (TRADITIONAL LAYOUT)
---------------------------------------- */

.blog-traditional article {
    margin: 0 40px 40px;
    overflow: hidden;
}

    .blog-traditional article + article {    border-top: 1px dotted #CCC }

/* Adds a top border to any post on the blog page that follows another post. */

.blog-traditional-thumbnail,
.blog-traditional .third {    margin-top: 20px }

.blog-traditional-thumbnail {
    display: block;
    line-height: 1em;
    position: relative;
}

.blog-traditional h2 {
    border: none;
    font-size: 2em;
    font-weight: 400;
    letter-spacing: -1px;
    padding: 0;
}

.blog-traditional .post-meta ul {    padding: 0 }

    .blog-traditional .post-meta ul li {
        display: block;
        margin-bottom: 3px;
        width: 100%;
    }

#content .pagination {
    background: none;
    margin-right: 40px;
}

/* ----------------------------------------
    BLOG INDEX (MOSAIC)
---------------------------------------- */

#blog-grid {
    overflow: hidden;
    width: 826px;
}

    #blog-grid article {
        background-color: #FFF;
        float: left;
        font-size: 1em;
        line-height: 1.4em;
        margin: 10px 10px 0 0;
        padding: 10px 10px 50px;
        position: relative;
        width: 245px;
    }

        #blog-grid article img {    margin-bottom: 10px }

        #blog-grid article h3 {
            font-size: 1em;
            font-weight: 700;
            margin: 10px 0;
            letter-spacing: 0;
            line-height: 1.2em;
        }

        #blog-grid article small {
            color: #999;
            display: block;
            margin: 15px 0 10px;
        }

    #blog-grid .post-meta {
        background-color: #0F1012;
        bottom: 0;
        color: #FFF;
        font-size: 1em;
        left: 0;
        line-height: 19px;
        padding: 10px;
        position: absolute;
        width: 245px;
    }
	
		.post-meta span[class*="icon-"] {
			float: right;
			font-size: 14px;
			line-height: 18px;
		}
	

/* ----- LINK ----- */

.link-url {
    color: #999;
    display: block;
    font-size: 1.333em;
    margin: 20px 0 0;
    word-wrap: break-word;
}

.post-icon {
    background: url(images/post-icons.png) no-repeat;
    bottom: 0;
    height: 39px;
    position: absolute;
    right: 0;
    width: 39px;
}

/* POST TYPE ICONS */

.format-post .post-icon {    background-position: 0 0 }

.format-video .post-icon {    background-position: -39px 0 }

.format-quote .post-icon {    background-position: -78px 0 }

.format-status .post-icon {    background-position: -117px 0 }

.format-gallery .post-icon {    background-position: -156px 0 }

.format-link .post-icon {    background-position: -195px 0 }

.format-audio .post-icon {    background-position: 0 -39px }

.item-link {
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	text-indent: -999px;
	top: 0;
	width: 100%;
	z-index: 3;
}

.sticky { }

/* ----------------------------------------
    POSTS
---------------------------------------- */

.post-scroll-holder {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 80px;
}

    .post-scroll-holder span {
        display: inline-block;
        float: right;
    }

    .post-scroll-holder a {
        display: block;
        height: 40px;
        width: 40px;
    }

.prev-post-link a {    background: url(images/colorbox-controls.png) no-repeat -80px 0 }

.prev-post-link a:hover {    background: url(images/colorbox-controls.png) no-repeat -80px -40px }

.next-post-link a {    background: url(images/colorbox-controls.png) no-repeat -40px 0 }

.next-post-link a:hover {    background: url(images/colorbox-controls.png) no-repeat -40px -40px }

/* ----- Media players (YouTube, vimeo, embed)----- */

p + video,
p + .rve-embed-container { margin-top: 40px; }

.audio-container,
.video-container {
	margin: 20px auto;
	position: relative;
	overflow: hidden;
}

.audio-container {
	margin-left: 40px;
	margin-right: 40px;
}

#two-column-gallery .video-container { margin: 10px auto 0; }

.wp-video-shortcode { max-width: 100%; }

.wp-audio-shortcode { max-width: 100%; }


/* ----- MediaElemets Player ----- */

.mejs-audio {    margin: 40px auto 20px }

.mejs-container .mejs-controls { background: #0F1012 !important; }

.page-content .mejs-audio,
#two-column-gallery .mejs-audio {    margin: 40px auto }

.mejs-controls .mejs-time-rail .mejs-time-loaded { background: #999 !important; }

.mejs-controls .mejs-time-rail .mejs-time-current,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { background: #F57A30 !important; }

.mejs-time-rail { width: 65% !important; }

.mejs-controls .mejs-time-rail .mejs-time-total {
	margin: 5px 2% !important;
	width: 61% !important;
}
.mejs-button.mejs-volume-button,
.mejs-button.mejs-fullscreen-button { float: right !important; }


/* ----- STATUS ----- */

.timestamp {
    color: #999;
    display: block;
    margin: 20px 0 0;
}

.twitter-tweet-rendered {
	border: none !important;
	box-shadow: none !important;
	margin: 0 auto !important;
	max-width: 100% !important;
}

	.standalone-tweet {
		padding: 0 !important;
		background: transparent !important;
	}


/* ----- POST META ----- */

.post-meta ul {
    color: #999;
    font-size: 0.833em;
    padding: 0 40px 20px;
}

.author-meta {    background: url(images/author-meta.png) left center no-repeat }

.date-meta {    background: url(images/date-meta.png) left center no-repeat }

.category-meta {    background: url(images/category-meta.png) left center no-repeat }

.comments-meta {    background: url(images/comments-meta.png) left center no-repeat }

.share {    background: url(images/share-meta.png) left center no-repeat }

.format-video .post-meta ul {    padding-bottom: 0 }

aside.post-meta ul li {
    float: left;
    padding: 5px 20px 0 20px;
}

aside.post-meta ul li:first-child {    border: none }

.gallery-image-link {
    display: block;
    line-height: 0;
    margin: 0 0 10px;
    position: relative;
}

.gallery-image-link:first-child {    margin: 20px 0 10px }

#two-column-gallery a img {    margin: 0 }

.image-hover-icon {
    background: url(images/zoom-icon.jpg) 0 0 no-repeat;
    height: 40px;
    position: absolute;
    right: 0;
    visibility: hidden;
    width: 40px;
}

/* ----- AUTHOR META ----- */

.author-meta img {
    padding: 0 10px 0 0;
    float: left;
}

.share {    position: relative }

/* ----- ADDTHIS ----- */

.share-holder {
    background: url(images/share-holder-bg.png) no-repeat;
    display: none;
    float: left;
    left: -20px;
    padding: 12px 0 0;
    position: absolute;
    top: 20px;
    z-index: 999;
}

.addthis_toolbox {
    background: #44464A;
    padding: 10px;
    width: 100px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#wrapper .post-image {
	height: auto;
	margin-top: 20px;
	width: 100%;
}

/* ----- TAGS ----- */

.post-tags {
    border-top: 4px solid  #44464A;
	clear: both;
    line-height: 18px;
    margin: 40px 0 0;
    padding: 18px 0 0;
}

.tag-icon {
    background: url(images/tag-icon.png) no-repeat;
    display: block;
    float: left;
    height: 24px;
    margin: 0 10px 0 0;
    width: 24px;
}

.post-tags a {
    border: 1px solid #EEE;
    color: #737373;
    display: inline-block;
    font-size: 1em;
	margin-top: 2px;
    padding: 2px 5px;
}

/* ----------------------------------------
    PORTFOLIO (INDEX)
---------------------------------------- */

#filter {
    display: block;
    font-size: 1em;
    line-height: 1.4em;
    margin: 40px;
    overflow: hidden;
}

	.no-js #filter { display: none; }
	
    #filter li {
        float: left;
        margin-right: 1px;
    }

        #filter li .selected {    background: #0F1012 }

        #filter li a {
            background: #CCC;
            color: #FFF;
            display: inline-block;
            padding: 5px 10px;
            -webkit-transition: background-color 0.30s;
            -moz-transition: background-color 0.30s;
            -o-transition: background-color 0.30s;
            transition: background-color 0.30s;
        }

        #filter li a:hover {    background: #999 }
		
#portfolio-grid { overflow: hidden; }

	#portfolio-grid article {
		background: #FFF;    
		float: left;
		overflow: hidden;
		position: relative;
		width: 25%;	
	}
		
		#portfolio-grid img {
			display: block;			
			position: relative;
			width: 100%;
			z-index: 1;
		}

		#portfolio-grid .meta {
			background-color: #0F1012;
			color: #FFF;
			height: 100%;		
			padding: 1px;
			position: absolute;
			top: -102%;
			-moz-transition: all 0.3s ease-out;
			-ms-transition: all 0.3s ease-out;
			-o-transition: all 0.3s ease-out;
			-webkit-transition: all 0.3s ease-out;
			transition: all 0.3s ease-out;
			width: 100%;
			z-index: 2;
		}
		
		#portfolio-grid article:hover .meta { top: 0; }
		
			.meta h6 {
				font-weight: 700;
				line-height: 1.4em;
				margin: 15px 15px 5px;
			}

.ie8 .isotope-hidden { display: none; } /* IE8 fix */

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* ---------- COLORBOX ---------- */

#colorbox #content {
    width: 816px;
}

/* ----------------------------------------
    PORTFOLIO ITEM
---------------------------------------- */

/* ----- One column ----- */

.type-portfolio .page-content > p:first-child { margin: 0; }

.type-portfolio p + img { margin: 40px auto 0; }


/* ----- Two Column ----- */

#two-column-text { float: right; }

#two-column-gallery > img {    margin-top: 10px }

#two-column-text > *:first-child,
#two-column-gallery > *:first-child {    margin-top: 0 }

#two-column-gallery .media-player {    margin: 20px 0 0 }

#two-column-gallery iframe { max-width: 100%; }


/* ----- Portfolio item meta ----- */

.portfolio-item-meta-title {
    display: block;
    margin: 20px 0 0;
}

.portfolio-item-meta-title:first-child { margin-top: 0; }

.portfolio-item-project-link {
    display: block;
    margin: 20px 0 40px;
}

.type-portfolio .fluid-width-video-wrapper:first-child,
.type-portfolio .fluid-width-video-wrapper > iframe:first-child { margin-top: 0; }


/* ----------------------------------------
    STAFF (INDEX)
---------------------------------------- */

#portfolio-grid small {
    color: #737373;
    font-weight: 700;
	margin: 0 15px;
}


/* ----------------------------------------
    FORMS
---------------------------------------- */

.page-content form ul li,
#footer form ul li {
    background: none;
    margin: 0 0 20px;
    padding: 0;
}

input[type="text"],
input[type="password"],
textarea {
    background-color: #F6F6F6;
    border: 1px solid #DDD;
    display: block;
    font-weight: 400;
    margin: 0 0 20px;
    padding: 6px 4px;
}

textarea {    font-family: helvetica, arial, sans-serif }

input[type="checkbox"] {    float: left }

#respond { margin: 20px auto 0; }

p + #respond {    margin-top: 40px }

label {
    display: inline-block;
    margin: 0 0 5px;
}

input[type="radio"] {
    color: #444;
    margin: 0 10px 5px 0;
}

select {
    background-color: #F6F6F6;
    border: 1px solid #DDD;
    padding: 2px;
	width: 100%;
}

input[type="text"],
input[type="password"],
textarea {   
	box-sizing: border-box;
	width: 100%;
}

textarea {
    height: 100px;
    resize: none;
}

input[type="checkbox"] {
    height: 13px;
    margin: 1px 5px 0 0;
    width: 13px;
}

input.error,
textarea.error {    border: 1px solid #FF0000 }

label.error {    color: #FF0000 }

/* ----------------------------------------
    SIDEBAR FORMS
---------------------------------------- */

.widget-sidebar input[type="text"],
.widget-sidebar input[type="password"],
.widget-sidebar textarea,
.widget-sidebar select,
#sidebar select {
    background-color: #44464A;
    border: 1px solid #222;
    color: #999;
}


/* ----------------------------------------
    COMMENTS
---------------------------------------- */

#comments-holder {
    border-top: 4px solid #44464A;
    clear: both;
    margin: 40px 0 0;
}

.post-tags + .clearboth + #comments-holder {
    border-top: 1px dotted #CCC;
    margin: 20px 0 0;
}

#comments {
    clear: both;
	margin: 20px 0 0;
    padding: 0;
}

    #comments li {
        list-style: none;
        padding: 0;
        margin: 0;
    }

.comment {
    background: url(images/comment-thread-horizontal.png) repeat-y;
    width: 100%;
}

    .comment .comment {    background: url(images/comment-thread-vertical.png) no-repeat }

    .comment .children .children {    background: url(images/comment-thread-horizontal-2.png) repeat-y }

    .comment .comment .comment {    background: url(images/comment-thread-vertical-2.png) no-repeat }

/* FIRST LEVEL */

.comment-holder {
    background: #FFF;
    border: 1px solid #EEE;
    float: right;
    margin: 0 0 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* SECOND LEVEL */

.children .comment-holder {    width: 85% }


/* THIRD LEVEL */

.children .children .comment-holder {    width: 77% }


.admin_comment {    background-color: #F6F6F6 }

.comment .avatar {
    border: 1px solid #EEE;
	left: 10px;
    padding: 3px;
	position: absolute;
	top: 10px;
}

#comments .comment small a {
    color: #999;
    border-bottom: 1px dotted transparent;
}

#comments .comment small a:hover {    color: #3297FD }

.author-text { padding: 10px 10px 10px 95px; }

.author-text small {    
	float: right;
	margin-top: 4px;
}

.author-text h6 {
    float: left;
    font-size: 1em;
    font-weight: 700;
    margin: 5px 0 10px;
}

    .author-text h6 span {
        color: #999;
        font-size: 0.833em;
        font-weight: 400;
    }

    .author-text h6 a {
        color: #999;
        border-bottom: 1px dotted transparent;
    }

    .author-text h6 a:hover {    color: #3297FD }

.the-comment {
    border-top: 1px solid #EEE;
    clear: both;
    margin: 20px 0 0;
}

    .the-comment p {    margin: 10px 0 20px }

#comments .comment-reply-link {
    color: #999;
    float: right;
    font-size: 0.833em;
	margin: 0 0 5px;
}

#comments .comment-reply-link:hover {    color: #3297FD }

#comments #respond {
    background-color: #FFF;
    padding: 0 0 40px;
}

#reply-title {    margin: 20px 0 0 }


/* ----------------------------------------
    SHORTCODES
---------------------------------------- */

.clearboth {
    clear: both;
    display: block;
    font-size: 0;
    height: 0px;
    line-height: 0;
    overflow: hidden;
    width: 100%;
}

/* ----- BUTTONS ----- */

input[type=reset],
input[type=button],
button,
input[type=submit],
.sidebar input[type=submit],
.page-content input[type=submit],
a.funky-button {
    background: #F57A30 url(images/button-overlay.png) repeat-x;
    border: none;
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
    margin: 20px 0 0 0;
    padding: 10px;
    position: relative;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

button[type=reset],
input[type=reset] {    background: #44464A url(images/button-overlay.png) repeat-x }

input[type=button]:hover,
button:hover,
input[type=submit]:hover,
.sidebar input[type=submit]:hover,
.page-content input[type=submit]:hover,
a.funky-button:hover {
    background: #F57A30;
    color: #FFF;
}

button[type=reset]:hover,
input[type=reset]:hover {
    background: #44464A;
    color: #FFF;
}

.funky-button.left {
    float: left;
    margin: 20px 0 0 5px;
}

.funky-button.right {
    float: right;
    margin: 20px 0 0 5px;
}

p .funky-button,
p input[type=submit],
#respond input[type=submit] {    margin-top: 0 }

/* ----------------------------------------
    STYLING
---------------------------------------- */

.displace,
.screen-reader-text {    display: none }

/* ----- QUOTES ----- */

blockquote {
    background: #F6F6F6;
    border-left: 4px solid #CCC;
	box-sizing: border-box;
    margin-top: 20px;
    padding: 20px;
}

#blog-grid blockquote {    margin: 0 }

blockquote p:first-child {    margin-top: 0 }

#blog-grid cite {
	display: block;
	text-align: right;
}

h1 cite {    float: none }

abbr {
    border-bottom: 1px dotted #444;
    color: #444;
    cursor: pointer;
}

small {    font-size: 0.833em }

pre {
    background-color: #F6F6F6;
    font-size: 12px;
    margin: 20px 0 20px;
    padding: 10px;
	
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

code {    font-size: 1em }

/* ----- LISTS ----- */

.page-content ul,
.post-content ul {    margin: 20px 0 0 0 }

	.page-content ul li,
	.post-content ul li {
		background: url(images/li.png) 0 6px no-repeat;
		padding: 10px 0 0 22px;
	}

.page-content li ul,
.post-content li ul {    margin: 0 }

.page-content ul ol li,
.post-content ul ol li {    background: none }

.page-content ol,
.post-content ol {
	margin: 20px 0 0 16px;
	padding-left: 20px;
}

	.page-content ol li,
	.post-content ol li {
		list-style-type: decimal;
		padding: 10px 0 0 3px;
	}

.page-content li ol,
.post-content li ol {    margin: 0 }

.page-content ol ul li,
.post-content ol ul li {
	background: url(images/li.png) 0 6px no-repeat;
	list-style-type: none;
	margin: 0 0 0 -2px;
	padding: 10px 0 0 22px;
}


/* ----- TABLES ----- */

.page-content table {
    background-color: #F9F9F9;
    border: 4px solid #DDD;
    border-collapse: collapse;
    color: #555;
    margin: 20px 0 0;
    width: 100%;
	word-wrap: break-word;
}

.page-content th {
    background-color: #F0F0F0;
    padding: 10px 0;
}

.page-content tr:nth-of-type(odd) {    background-color: #F0F0F0 }

.page-content td {
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
    padding: 5px;
}

/* ----- IMAGES ----- */

#wrapper img {
	height: auto;
	max-width: 100%;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.wp-caption { margin-top: 18px; }

img.alignleft,
img.alignright,
img.aligncenter,
.wp-caption img {
    background-color: #F6F6F6;
    padding: 5px;
}

/* Images */

.page-content img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}

img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.size-full {
	max-width: 726px;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/* ==================================================
   GALLERY SHORTCODE
   ================================================== */

.gallery {
    margin: 40px 0;
    overflow: hidden;
}

.gallery .gallery-item {
    float: left;
    margin: 0 0 10px;
    overflow: hidden;
    position: relative;
}

.gallery img { max-width: 100%; }

.gallery-columns-1 .gallery-item {    width: 100% }

.gallery-columns-2 .gallery-item {    width: 50% }

.gallery-columns-3 .gallery-item {    width: 33.333% }

.gallery-columns-4 .gallery-item {    width: 25% }

.gallery-columns-5 .gallery-item {    width: 20% }

.gallery-columns-6 .gallery-item {    width: 16.666% }

.gallery-columns-7 .gallery-item {    width: 14.285% }

.gallery-columns-8 .gallery-item {    width: 12.5% }

.gallery-columns-9 .gallery-item {    width: 11.111% }


.gallery-item a {
    display: block;
    text-align: center;
}

.gallery-item a:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
    zoom: 1;
    filter: alpha(opacity=65);
    opacity: 0.65;
}

.wp-caption-text,
.gallery-caption {
    font-size: 0.833em;
    margin: 0;
	padding: 5px;
}

.gallery-caption { background: #F6F6F6; }


/* ===[ Disable captions when columns are too narrow ]=== */

.gallery-columns-5 .gallery-caption,
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9  .gallery-caption {    display: none }


/* ----------------------------------------
    WIDGETS
---------------------------------------- */

.widget {
    border-top: 1px dotted #222;
    margin: 0 0 20px;
    padding-top: 20px;
}

.widgettitle {
    border: none;
    color: #FFF;
    margin: 0 0 20px;
    padding: 0;
}

.widget-sidebar .widgettitle a {    color: #FFF }

.widget-sidebar .widgettitle a:hover {    color: #CCC }

.widget ul li {    margin: 6px 0 0 }

.widget .children,
.widget .sub-menu {    padding-left: 20px }

/* ----- CALENDAR ----- */

#wp-calendar {    width: 100% }

    #wp-calendar caption {    font-weight: 700 }

/* ----- RECENT COMMNETS -----*/

.recentcomments a {    display: block }

/* ----- CONTACT ----- */

#content .raw_contact_holder {    margin: 20px 0 0 }

.raw_contact_holder span {
    display: block;
    margin-top: 5px;
    min-height: 24px;
    padding-left: 30px;
}

.contact_address {    background: url( images/address_icon.png) 5px 2px no-repeat }

.contact_phone {    background: url( images/phone_icon.png) 5px 2px no-repeat }

.contact_mobile {    background: url( images/mobile_icon.png) 5px 2px no-repeat }

.contact_fax {    background: url( images/fax_icon.png) 5px 2px no-repeat }

.contact_website {    background: url( images/website_icon.png) 5px 2px no-repeat }

.contact_email {    background: url( images/email_icon.png) 5px 2px no-repeat }

/* ----- RSS ----- */

.rsswidget,
.rss-date,
.rssSummary {
    display: block;
    margin-bottom: 5px;
}

.widget_rss cite {
    display: block;
    float: none;
    text-align: right;
}

/* ----- SOCIAL ----- */

.social-button-holder {
    border-top: 1px dotted #222;
    display: block;	
    padding: 15px 0 20px;
    overflow: hidden;
	text-align: center;
    width: 182px;
}

    .social-button-holder a {		
        display: inline-block;        
		height: 24px;  
        margin: 5px 5px 0 0;
        overflow: hidden;
        text-indent: 9999px;
        width: 24px;
    }

#sidebar .social-button-holder a:hover {    border: none }

/* SOCIAL BUTTONS */

.facebook-button {    background: url(images/social/facebook.png) no-repeat }
.twitter-button {    background: url(images/social/twitter.png) no-repeat }
.google-button {    background: url(images/social/google.png) no-repeat }
.dribbble-button {    background: url(images/social/dribbble.png) no-repeat }
.linkedin-button {    background: url(images/social/linkedin.png) no-repeat }
.vimeo-button {    background: url(images/social/vimeo.png) no-repeat }
.youtube-button {    background: url(images/social/youtube.png) no-repeat }

/* IE7 Fix */
.ie7 .social-button-holder { padding: 15px 0 20px; }
	.ie7  .social-button-holder a { float: left; }

/* ----- SEARCH ----- */

.searchform {
    overflow: hidden;
    border: 1px solid #222;
}

	.searchform fieldset { position: relative; }
	
		#footer .searchform input[type="text"] {
			border: none;
			box-sizing: border-box;
			float: left;
			height: 24px;
			line-height: 24px;
			margin: 0;
			padding: 0 29px 0 5px;
			width: 100%;
		}

#footer .searchform .searchsubmit {
    background: #44464A url(images/search-button.png) no-repeat;
    border-bottom: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    display: block;
    font-size: 0;
    height: 24px;
    line-height: 0;
    margin: 0;
    padding: 0;
	position: absolute;
	right: 0;
    text-indent: -999px;
    text-shadow: none;
    width: 26px;
}

#footer .searchform .searchsubmit:hover { background: #44464A url(images/search-button.png) no-repeat bottom left; }

/* ----- TWITTER ----- */

.raw_twitter {    overflow: hidden }

    .raw_twitter li {
        display: block;
        overflow: hidden;
    }

    .raw_twitter span {
        display: block;
        margin-bottom: 5px;
    }

    .raw_twitter .timestamp {
        float: left;
        margin: 0 0 10px;
    }

    .raw_twitter .twitter-link {
        display: block;
        float: right;
        text-align: right;
    }


	
/* --------------------------------------------------------------------------------
							RESPONSIVE LAYOUT
-------------------------------------------------------------------------------- */	
	
	
	
/* --------------------------------------------------------------------------------
    TABLET
-------------------------------------------------------------------------------- */

@media only screen and (max-width: 1024px) { 
	
    /* ----- STRUCTURE ----- */

	#wrapper,
	#sidebar,
	.page-content,
	#footer,
	#footer .widget-sidebar,
	#blog-grid,
	#blog-grid img,
	#blog-grid .post-meta,
	.pagination {
		box-sizing: border-box;
		width: 100%;
		height: auto;
	}
	
	#blog-grid article { 
		box-sizing: border-box;
		margin-right: 0;
		width: 50%; 
	}
	
    #wrapper {    
		overflow: hidden;
	}

    #sidebar {
        margin-bottom: 0;
        padding: 40px 16px 20px;
    }

    a#logo {
        border: none !important;
        float: left;
        margin-right: 20px;
        width: 180px;
    }

    .desktop-logo {    display: none }

    .mobile-logo {    display: block }

    #main-navigation {
        float: right;
        width: auto;
    }

    #navigation {    display: none }

    #sidebar #main-navigation select {    display: inline-block }

    .social-button-holder {
        border: none;
        float: left;
        margin: 0 0 0 20px;
        padding: 0;
        width: auto;
    }
	
	 #content-wrapper {
        padding: 0;
        width: 100%;
    }
		
		.page-intro { margin: 40px 20px; }
		
		.page-content {
			padding: 0 20px;
			margin: 20px 0 40px;
		}
		
		.page-content:first-child { margin: 20px 20px 0; }

    #footer {
		overflow: hidden;
        padding: 0 10px 20px;
    }

        #footer .widget-sidebar {			
            clear: both;
            margin: 0;
            overflow: hidden;
            padding: 20px 0 0;
        }

        #footer .widget {
            float: left;
            margin: 0 1% 20px;
            width: 31%;
        }

        #footer .widget:nth-child(1),
        #footer .widget:nth-child(2),
        #footer .widget:nth-child(3) {    border: none }

        #footer .widget:nth-child(4n) {    clear: both }
		
		.copyright { margin: 40px 10px 0; }
		
			.copyright span {
				clear: none;
				display: inline;			
			}

    .pagination {
        margin: 0;
        text-align: right;
        padding: 20px 16px;
    }
	
	/* ----- PORTFOLIO ----- */
	
	#filter { margin: 0 20px 40px; }
	
	#portfolio-grid article { width: 33.333%; }
		
		#portfolio-grid .meta {		
			height: 70px;
			position: relative;
			top: auto;
			width: 100%; 
		}  

	#two-column-gallery .media-player { margin: 40px 0 0; }

    /* ----- BLOG GRID ----- */

    #blog-grid {    margin-bottom: 10px }

	/* ----- BLOG TRADITIONAL ----- */
	
	.blog-traditional article { margin: 0 16px 40px; }
	
	/* ----- SINGLE ----- */
	
	.post-meta ul { padding: 0 16px 20px; }

    /* ----- FORMS ----- */

    #sidebar select,
    #footer select {
        background-color: white;
        box-sizing: border-box;
        color: #555;
        -webkit-appearance: menulist;
        -webkit-box-align: center;
    }
	
    /* ----- WIDGETS ----- */
	
	/* SOCIAL BUTTONS */
	.social-button-holder a { 
		-moz-background-size: 24px 24px;
		-o-background-size: 24px 24px;
		-webkit-background-size: 24px 24px;
		background-size: 24px 24px;
	}
	
	.facebook-button {    background: url(images/social/facebook_48.png) no-repeat }
	.twitter-button {    background: url(images/social/twitter_48.png) no-repeat }
	.google-button {    background: url(images/social/google_48.png) no-repeat }
	.dribbble-button {    background: url(images/social/dribbble_48.png) no-repeat }
	.linkedin-button {    background: url(images/social/linkedin_48.png) no-repeat }
	.vimeo-button {    background: url(images/social/vimeo_48.png) no-repeat }
	.youtube-button {    background: url(images/social/youtube_48.png) no-repeat }


}

@media only screen and (max-width: 768px) { 
	
	.social-button-holder {
		clear: both;
		float: none;
		margin: 0 0 20px;
	}
	
	#two-column-text {
		float: none;
		margin-bottom: 40px;
	}
	
}

/* --------------------------------------------------------------------------------
    SMARTPHONE
-------------------------------------------------------------------------------- */

@media only screen and (max-width: 480px) {
	
	/* ----- WIDTHS ----- */

	#portfolio-grid .meta ,
	#blog-grid article,
	#blog-grid img,
	#blog-grid .post-meta {    width: 100% }
	
	.pagination,
	audio,
	#main-navigation,
	#sidebar #main-navigation select { width: 100%; }
	
	
	#main-navigation {
		float: none;
		margin: 0;
	}
	
    /* ----- TYPOGRAPHY ----- */

    h1 {    font-size: 3em }

    .page-intro em {    font-size: 1.5em }

    /* ----- STRUCTURE ----- */ 

    a#logo {
        margin: 0;
        text-align: center;
		width: 100%;
    }

    #logo img {    margin: 0 auto }

    #sidebar {    padding: 40px 20px 20px }

    #footer {    padding: 0 20px 20px }

    #sidebar #main-navigation select {       margin: 0 0 15px }

    .social-button-holder {
        clear: both;
        display: block;
        float: none;
        margin: 0;
        text-align: center;
    }   

    /* ----- PORTFOLIO ----- */

    #filter {    margin: 38px 20px; }

        #filter li {    margin: 2px 1px 0 0 }

    #portfolio-grid article { width: 100%; }   

    #footer .widget {    width: 100% }

    #footer .widget:nth-child(2),
    #footer .widget:nth-child(3) {    border-top: 1px dotted #222 }

    /* ----- BLOG GRID ----- */
    
	#blog-grid article { margin: 10px 0 0; }

    #blog-grid img { height: auto; }
	

    /* ----- BLOG TRADITIONAL ----- */

    .blog-traditional article {    margin: 0 20px 20px }

    .blog-traditional .post-meta ul li {
        display: inline-block;
        width: auto;
    }

    /* ----- PAGINATION ----- */

    .pagination {
        padding: 20px 20px;
        
    }

    /* ----- POST ----- */

    .post-meta ul {    padding: 0 20px 20px }
	
	.post-scroll-holder {
		position: relative;
		width: auto;
		margin: 20px 20px 0;
		overflow: hidden;
		top: auto;
		right: auto;
	}
	
	.page-intro h1 { margin-right: 0; }
	
    /* ----- COMMENTS ----- */

    .avatar {    display: none }

    .author-text {    padding: 10px }

    /* ----- IMAGES ----- */

    .page-content img,
    .blog-traditional-thumbnail img,
    .feature-image img,
    #two-column-gallery img,
    #footer img {
        max-width: 440px;
        height: auto;
    }

    img[class*="align"],
    img[class*="wp-image-"] {    height: auto }

    img.size-full {
        max-width: 430px;
        width: auto;
    }

    .video-player img {    max-width: 460px }

    /* ----- SHORTCODES ----- */
	
	/* Columns */
    .third,
    .half,
    .two-thirds {
        margin: 0;
        width: 100%;
    }
	
    /* Divider */
    .top a {    right: -20px }

    /* Quotes */
    blockquote.half {    width: 100% }

    /* ----- FORMS ----- */

    #respond,
    form {    
		max-width: 100%;
		width: auto;
	}

    input[type="text"],
    input[type="password"],
    textarea,
    select {
		box-sizing: border-box;
        width: 100%;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    #map_canvas-contact .google-map {
        height: auto;
        width: 100%;
    }

    
	/* ---- TABLES ----- */

    table, thead, tbody,
    th, td, tr {    display: block }

    td {
        border-left: none;
        min-height: 19px;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }
	
	
	/* ---- GALLERIES ---- */
	
	.gallery-columns-1 .gallery-item,
	.gallery-columns-2 .gallery-item,
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {    width: 100% }	

}