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

.status-private { display: none; }

/* 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, 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; }
table { border-collapse: collapse; border-spacing: 0; }
img { -ms-interpolation-mode: bicubic; }

*,
*:before,
*:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.clear:before,
.clear:after {
    content: " ";
    display: table;
}

.clear:after { clear: both; }
.clear { *zoom: 1; }


/* Global */
body {
	font-size: 16px;
	font-weight: 400;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	color: #444;
	transition: background-color 1000ms ease;
	background-color: #eafff3;
	background-repeat: no-repeat;
	background-image: -webkit-linear-gradient(bottom,rgba(234,255,243,1) 50%,#ffffff 100%);
	background-image: -moz-linear-gradient(bottom,rgba(234,255,243,1) 50%,#ffffff 100%);
	background-image: -ms-linear-gradient(bottom,rgba(234,255,243,1) 50%,#ffffff 100%);
	background-image: -o-linear-gradient(bottom,rgba(234,255,243,1) 50%,#ffffff 100%);
	background-image: linear,bottom,rgba(234,255,243,1) 50%,#ffffff 100%;
	min-height: 1000px;
}

a {
	color: #444;
	text-decoration: none;
	-moz-transition: .2s;
	-o-transition: .2s;
	-webkit-transition: .2s;
}

a:hover { color: #222; }

em {
	font-family: 'calluna', serif;
	font-weight: normal;
	font-style: italic;
}

/*#wrapper {
	margin: 0 auto;
	padding: 0 20px;
}

.home #wrapper { padding: 0; }*/

/* Vertical Menu */
/*#vertical-wrapper {
	display: none;
	position: fixed;
	top: 55%;
	right: 65px;
	transform: rotate(90deg);
	transform-origin: 100% 0;
	-ms-transform: rotate(90deg);
	-ms-transform-origin: 100% 0;
	-webkit-transform: rotate(90deg);
	-webkit-transform-origin: 100% 0;
	margin-top: 205px;
}

#menu-vertical li { float: left; }

#menu-vertical li:after {
	content : "/";
	margin: 0 5px;
	font-size: 12px;
	line-height: 1.5em;
	letter-spacing: 1px;
	display: inline-block;
	text-transform: lowercase;
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;
}

#menu-vertical li:last-child:after {
	content: "";
	margin: 0 0 0 5px;
}

#menu-vertical li a {
	font-size: 12px;
	line-height: 1.5em;
	border-bottom: 1px solid transparent;
	letter-spacing: 1px;
	display: inline-block;
	text-transform: lowercase;
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;
}

#menu-vertical li a:hover { border-bottom: 1px solid; }*/

/* Header */
/*.home #header { margin: 80px 100px 40px; }
#header { margin: 80px 100px 120px; }

#logo,
#navigation {
	position: fixed;
	z-index: 9998;
}*/

#logo h1 {
	display: inline-block;
	/*font-weight: inherit;
	border-bottom: 1px solid;
	padding-bottom: 6px;
	font-size: 30px;
	letter-spacing: 1px;
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;*/
}

/*#navigation {
	right: 70px;
	line-height: 22px;
}

#navigation a {
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;
	border-bottom: 1px solid;
	padding-bottom: 3px;
	letter-spacing: 1px;
	text-transform: lowercase;
}

#categories-navigation {
	float: right;
	margin-right: 73px;
	max-width: 370px;
	overflow: hidden;
}

#categories-navigation li {
	float: left;
	display: inline-block;
	width: 50%;
	line-height: 1.5em;
	text-align: right;
}

#categories-navigation li a {
	font-size: 12px;
	line-height: 1.5em;
	border-bottom: 1px solid transparent;
	letter-spacing: 1px;
	display: inline-block;
	text-transform: lowercase;
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;
}

#categories-navigation li a:hover,
#categories-navigation li a.active {
	color: #444;
	border-bottom: 1px solid #444;
}*/

/* Home */
/*#projects-list .type-portfolio {
	float: left;
	border: 15px solid transparent;
	overflow: hidden;
	position: relative;
}*/

.type-portfolio:hover .portfolio-t-content { display: block; }

.type-portfolio .portfolio-t-content {
	display: none;
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
}

/*.type-portfolio .portfolio-t-content.noir,
.type-portfolio .portfolio-t-content.noir a,
.type-portfolio .portfolio-t-content.noir span,
.type-portfolio .portfolio-t-content.noir em {
	color: #000;
}

.type-portfolio .portfolio-t-content.blanc,
.type-portfolio .portfolio-t-content.blanc a,
.type-portfolio .portfolio-t-content.blanc span,
.type-portfolio .portfolio-t-content.blanc em {
	color: #fff;
}*/

.type-portfolio .portfolio-t-wrapper { width: 100%; }

.type-portfolio .portfolio-title a,
.type-portfolio .portfolio-title span,
.type-portfolio .portfolio-title em {
	display: block;
}

/*.type-portfolio .portfolio-title a {
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;
	letter-spacing: 1px;
	max-width: 230px;
	color: #000;
	margin: 0 auto;
	text-transform: lowercase;
	line-height: 22px;
}

.type-portfolio .portfolio-title a:hover { color: inherit; }

.type-portfolio .portfolio-title span { font-weight: bold; }

.type-portfolio .portfolio-title em {
	font-size: 15px;
	color: #444;
	line-height: 22px;
	letter-spacing: .4px;
}

.type-portfolio .portfolio-t-categories {
	display: block;
	width: 100%;
	position: absolute;
	bottom: 9%;
}

.type-portfolio .portfolio-t-categories li { display: inline-block; }

.type-portfolio .portfolio-t-categories a {
	display: block;
	background-size: 36px 36px;
	width: 36px;
	height: 36px;
	text-indent: -9999px;
	background-repeat: no-repeat;
}

.type-portfolio .portfolio-t-content .edition a { background-image: url(elements/category-edition.png); }
.type-portfolio .portfolio-t-content .experimentation a { background-image: url(elements/category-experimentation.png); }
.type-portfolio .portfolio-t-content .graphisme a { background-image: url(elements/category-graphisme.png); }
.type-portfolio .portfolio-t-content .photographie a { background-image: url(elements/category-photographie.png); }
.type-portfolio .portfolio-t-content .typographie a { background-image: url(elements/category-typographie.png); }

.type-portfolio .portfolio-t-content.noir .edition a { background-image: url(elements/category-edition.png); }
.type-portfolio .portfolio-t-content.noir .experimentation a { background-image: url(elements/category-experimentation.png); }
.type-portfolio .portfolio-t-content.noir .graphisme a { background-image: url(elements/category-graphisme.png); }
.type-portfolio .portfolio-t-content.noir .photographie a { background-image: url(elements/category-photographie.png); }
.type-portfolio .portfolio-t-content.noir .typographie a { background-image: url(elements/category-typographie.png); }

.type-portfolio .portfolio-t-content.blanc .edition a { background-image: url(elements/w-category-edition.png); }
.type-portfolio .portfolio-t-content.blanc .experimentation a { background-image: url(elements/w-category-experimentation.png); }
.type-portfolio .portfolio-t-content.blanc .graphisme a { background-image: url(elements/w-category-graphisme.png); }
.type-portfolio .portfolio-t-content.blanc .photographie a { background-image: url(elements/w-category-photographie.png); }
.type-portfolio .portfolio-t-content.blanc .typographie a { background-image: url(elements/w-category-typographie.png); }
*/

/* Project */
.single-portfolio .type-portfolio { position: relative; }

/*#portfolio-header h2 {
	border: 3px solid;
	padding: 10px 15px 8px;
	letter-spacing: 1px;
	font-size: 20px;
	display: inline-block;
	text-transform: uppercase;
}

#portfolio-header .separator {
	height: 2px;
	margin: 30px 65px;
	display: block;
	background: #444;
}

#portfolio-header .portfolio-tagline {
	letter-spacing: 1px;
	font-size: 14px;
	display: block;
}

#portfolio-images { width: 100%; }

#portfolio-images p {
	margin-bottom: 20px;
	font-family: 'calluna', serif;
	font-weight: normal;
	font-style: italic;
	font-size: 15px;
	line-height: 22px;
}

#portfolio-images img {
	margin-bottom: 10px;
	width: 100%;
}

#portfolio-images img:last-child { margin-bottom: 0; }

#portfolio-description {
	font-weight: 400;
	font-size: 13px;
	line-height: 20px;
	margin: 30px;
}

#portfolio-description.fixed {
	position: fixed;
	top: 0;
	margin: 0;
}

#portfolio-description p:first-child strong { font-size: 18px; }

#portfolio-description:before {
	content: "-";
	margin-bottom: 10px;
	display: block;
	text-align: center;
}

#portfolio-description p {
	margin-bottom: 15px;
	font-family: 'calluna', serif;
	font-weight: normal;
	font-style: italic;
	font-size: 15px;
	line-height: 24px;
}

#portfolio-description p:last-child { margin-bottom: 0; }

#portfolio-footer {
	margin: 90px auto 30px;
	max-width: 70%;
}*/

#project-navigation {
	display: table;
	height: 100%;
	width: 100%;
	position: relative;
}

#project-navigation .project-next,
#project-navigation .project-prev {
	border: 15px solid transparent;
	position: relative;
	display: table-cell;
	vertical-align: middle;
}

#project-navigation .project-next > a,
#project-navigation .project-prev > a {
	display: block;
}

#project-navigation img { width: 100%; }

#project-navigation img:hover {
	opacity: 0.9;
	-moz-opacity: 0.9;
	filter:alpha(opacity=90);
}

#project-navigation .post-link {
	position: absolute;
	top: 50%;
	margin-top: -18px;
}

#project-navigation .project-next .post-link { right: -110px; }
#project-navigation .project-prev .post-link { left: -110px; }

#project-navigation .post-link a {
	border: 3px solid;
	padding: 10px 10px 8px;
	letter-spacing: 1px;
	font-size: 16px;
	display: block;
	text-transform: uppercase;
}

/* About */
.page-template-tm-about-php { background: none; }

.about strong { font-size: 15px; }

.about p {
	line-height: 22px;
	font-size: 14px;
	margin-bottom: 15px;
}

.about p:last-child { margin-bottom: 0; }

.about p a {
	border-bottom: 1px solid;
	padding-bottom: 2px;
}

.about #entreprises li {
	line-height: 22px;
	font-size: 14px;
}

.about #entreprises img {
	display: none;
	width: 100%;
	height: auto;
	max-width: 300px;
}

/* CV */
#cv {
	background-color: #fbfcf4;
	margin-top: 50px;
}

#cv-wrapper {
	padding: 0 20px;
	margin: 0 auto;
}

#cv-right,
#cv-left {
	position: relative;
	font-size: 14px;
	line-height: 22px;
}

#cv-left { margin-bottom: 50px; }
#cv-right .cv-section { margin-bottom: 50px; }

#cv h2 {
	font-size: 18px;
	font-weight: normal;
}

#cv h2:after {
	content: "-";
	display: block;
}

#cv p {
	font-size: 14px;
	line-height: 22px;
}

#cv li {
	list-style-type: disc;
	list-style-position: inside;
}

#cv-info { text-align: center; }

#cv-logo {
	background-image: url(elements/footer-logo.gif);
	background-size: 150px 150px;
	background-repeat: no-repeat;
	display: block;
	width: 150px;
	height: 150px;
	margin: 0 auto 15px;
}

#cv-info #cv-content-wrapper:before,
#cv-info #cv-content-wrapper:after {
	content: "—";
	display: block;
}

#cv-info a {
	font-size: 18px;
	border-bottom: 2px solid;
}

#cv-info em {
	margin: 15px 0;
	font-style: normal;
	display: block;
	letter-spacing: 4px;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

#cv-info strong {
	font-style: normal;
	border: 2px solid;
	padding: 2px 5px;
	font-size: 16px;
	margin-bottom: 15px;
	letter-spacing: 3px;
	display: inline-block;
	text-transform: uppercase;
}

#cv-info span { font-size: 16px; }

#cv-image {
	margin: 25px 0;
	background-image: url(elements/cv-gradient.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}

#cv-clients p { margin-top: 25px; }
#cv-competences img { display: none; }

/* Contact */
#contact-wrapper {
	width: 100%;
	height: 100%;
	display: none;
	top: 0;
	left: 0;
	position: fixed;
	z-index: 9999;
	background-color: rgba(234,255,243,.8);
}

#contact {
	position: absolute;
	max-height: 370px;
	max-width: 640px;
	top: 50%;
	left: 50%;
	margin-top: -185px;
	margin-left: -320px;
	background-color: #fff;
	padding: 60px 80px;
}

#contact .contact-close {
	position: absolute;
	top: 22px;
	right: 22px;
}

#contact #logo-location {
	float: left;
	max-width: 230px;
	text-align: center;
	margin-right: 50px;
}

#contact-logo-img {
	background-image: url(elements/footer-logo.gif);
	background-size: 150px 150px;
	background-repeat: no-repeat;
	display: block;
	width: 150px;
	height: 150px;
	margin: 0 auto 35px;
}

#logo-location p { font-size: 13px; }

#logo-location p span {
	display: block;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 4px;
}

#contact #contact-social {
	float: right;
	max-width: 175px;
	margin-left: 50px;
}

#contact-details {
	line-height: 28px;
	margin: 90px 0 15px;
}

#contact-details span { color: #dd977b; }

#contact-social li {
	display: inline-block;
	margin-right: 5px;
}

#contact-social ul a {
	display: block;
	text-indent: -9999px;
	background-size: 30px 30px;
	background-repeat: no-repeat;
	height: 30px;
	width: 30px;
}

#contact-navigation {
	text-align: center;
	margin-top: 30px;
}

#contact-navigation a {
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;
	border-bottom: 1px solid;
	padding-bottom: 3px;
	letter-spacing: 1px;
	text-transform: lowercase;
}

/* Footer */
#footer {
	margin: 70px 0 30px;
	padding: 0 20px;
}

.footer-columns {
	font-size: 14px;
	line-height: 22px;
	float: left;
}

#footer-logo { padding: 0; }

#footer-logo-img {
	background-image: url(elements/footer-logo.gif);
	background-size: 150px 150px;
	background-repeat: no-repeat;
	display: block;
	width: 150px;
	height: 150px;
}

#footer-contact span { color: #dd977b; }

#footer-social li {
	display: inline-block;
	margin-right: 5px;
}

#footer-social a {
	display: block;
	text-indent: -9999px;
	background-size: 30px 30px;
	background-repeat: no-repeat;
	height: 30px;
	width: 30px;
}

.social-fb a { background-image: url(elements/social-fb.png); }
.social-instagram a { background-image: url(elements/social-instagram.png); }
.social-pinterest a { background-image: url(elements/social-pinterest.png); }
.social-linkedin a { background-image: url(elements/social-linkedin.png); }
.social-behance a { background-image: url(elements/social-behance.png); }

#footer-about a {
	font-family: 'Perception', 'Montserrat', Helvetica, Arial, sans-serif;
	border-bottom: 1px solid;
	padding-bottom: 3px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: lowercase;
}

#footer-copyright a {
	font-weight: 700;
	padding-bottom: 2px;
	font-family: "Helvetica","HelveticaNeue","Arial","Lucida Grande";
	font-size: 11px;
	font-style: normal;
	border-bottom: none;
}

/* Media */
img,
embed,
object,
video,
iframe,
.wp-caption {
	max-width: 100%;
	display: block;
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="wp-post-image"],
img[class*="avatar"] {
	height: auto;
}

.noborder { border: none; }
.entry .alignright { margin: 0 0 15px 32px; }

.entry .alignleft,
img.single-post-thm {
	margin: 0 32px 15px 0;
}

.wp-caption p,
.wp-caption-text,
.gallery-caption {
	color: #888;
}


/* Media Queries */
/*@media screen and (min-width: 2190px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 590px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
}

@media screen and (min-width: 1719px) and (max-width: 2189px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 440px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }

}

@media screen and (min-width: 1719px) and (max-width: 2189px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 440px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
}*/

@media screen and (min-width: 1518px) {
	.about p {
		font-size: 16px;
		line-height: 24px;
	}
}

/*@media screen and (min-width: 1518px) and (max-width: 1718px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 376px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
}

@media screen and (min-width: 1440px) and (max-width: 1517px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 351px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 311px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
	.type-portfolio .portfolio-title a {
		max-width: inherit;
		font-size: 80%;
	}
	.home .type-portfolio .portfolio-title {
		top: 30%;
	}
}

@media screen and (min-width: 1230px) and (max-width: 1319px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 280px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
	.type-portfolio .portfolio-title a {
		max-width: inherit;
		font-size: 80%;
	}
	.home .type-portfolio .portfolio-title {
		top: 30%;
	}
}

@media screen and (min-width: 1130px) and (max-width: 1229px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 247px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
	.type-portfolio .portfolio-title a {
		max-width: inherit;
		font-size: 80%;
	}
	.home .type-portfolio .portfolio-title {
		top: 30%;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1129px) {
	#projects-list .type-portfolio {
		width: 25% !important;
		max-height: 212px !important;
	}
	#projects-list .type-portfolio[rel="large"] { width: 50% !important; }
	.type-portfolio .portfolio-title a {
		max-width: inherit;
		font-size: 80%;
	}
	.home .type-portfolio .portfolio-title {
		top: 30%;
	}
	.type-portfolio .portfolio-title span,
	.type-portfolio .portfolio-title em {
		display: none;
	}
}*/

@media screen and (min-width: 1023px) {
	/*#vertical-wrapper { display: block; }
	.more-mobile { display: none; }

	#wrapper { max-width: 80%; }

	.home #wrapper {
		margin: 0 160px;
		max-width: inherit;
	}

	#projects-list .type-portfolio {
		width: 50%;
		max-width: inherit;
	}

	#projects-list .type-portfolio[rel="large"] { width: 100%; }

	#portfolio-header {
		text-align: center;
		position: absolute;
		left: 56%;
		top: 60px;
	}*/

	#portfolio-images {
		float: left;
		max-width: 60%;
	}

	#portfolio-description {
		float: right;
		margin: 225px 35px 0 0;
		margin-top: 225px;
		width: 33%;
	}

	#portfolio-description:before { text-align: left; }

	.about #a-propos {
		float: left;
		max-width: 70%;
	}

	.about #entreprises {
		float: right;
		max-width: 190px;
		width: 100%;
		margin-left: 20px;
	}

	#cv-wrapper {
		max-width: 80%;
		padding-top: 180px;
	}

	#cv-right,
	#cv-left {
		width: 48%;
	}

	#cv-right {
		float: right;
		text-align: left;
	}

	#cv-left {
		margin: 0;
		float: left;
		text-align: right;
	}

	#cv-info {
		position: absolute;
		left: 0;
		top: -140px;
	}

	#cv-image {
		float: right;
		max-width: 70%;
		margin: 0 0 50px;
	}

	#cv-image img { margin: 20px -20px -20px; }

	#cv-competences {
		position: relative;
		margin-bottom: 0;
	}

	#cv-competences img { display: block; }

	#cv-competences-wrapper p:first-child { float: left; }

	#cv-competences-wrapper p:last-child {
		float: right;
		margin-top: -70px;
	}

	#cv-competences img { max-width: 160px; }
	#cv-distinctions { margin-top: -50px; }

	.footer-columns {
		width: 20%;
		padding: 40px 0;
	}

	#footer-about { width: 18%; }
	#footer-copyright { width: 22%; }
}

/*
@media screen and (max-width: 1023px) {
	#entreprises { margin-top: 30px; }
	.about #entreprises img { display: none !important; }
}

@media only screen and (min-width: 768px) and (max-width: 1022px) {
	#header { margin: 60px 20px 90px !important; }

	#navigation { right: 20px; }

	#projects-list .type-portfolio { width: 50%; }
	#projects-list .type-portfolio[rel="large"] { width: 100%; }

	.type-portfolio .portfolio-t-content { display: none !important; }

	.more-mobile {
		display: block;
		text-transform: uppercase;
		font-weight: bold;
		letter-spacing: 1px;
		margin: 30px 0;
	}

	#portfolio-description,
	#portfolio-header .separator,
	#portfolio-header .portfolio-tagline {
		display: none;
	}

	#portfolio-description:before {
		content: "";
		margin: 0;
	}

	#project-navigation .project-prev,
	#project-navigation .project-next {
		float: none;
		display: block;
		height: inherit;
	}

	#project-navigation img { max-width: inherit; }

	#project-navigation .post-link {
		text-align: center;
		margin-top: inherit !important;
		display: inline-block;
	}

	#project-navigation .project-prev { margin-bottom: 40px; }
	#project-navigation .project-prev .post-link { left: -40px; }
	#project-navigation .project-next .post-link { right: -40px; }

	.footer-columns {
		width: 100%;
		height: 150px;
		padding: 40px 0;
		text-align: center;
	}

	#footer-logo-img {
		background-position: 50%;
		width: 100%;
	}

	#footer-copyright {
		width: 100%;
		padding: 0;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	#categories-navigation { display: none; }
}

@media only screen and (min-width: 768px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 1) {
	#portfolio-header {
		width: 100%;
		left: 0;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
	#projects-list .type-portfolio {
		width: 50% !important;
		max-height: 500px !important;
	}

	#projects-list .type-portfolio[rel="large"] { width: 100% !important; }

	.type-portfolio .portfolio-t-content { display: none !important; }

	.more-mobile {
		display: block;
		text-transform: uppercase;
		font-weight: bold;
		letter-spacing: 1px;
		margin: 30px 0;
	}

	#portfolio-header {
		text-align: left !important;
		position: inherit !important;
		right: inherit !important;
		top: inherit !important;
        left: inherit !important;
	}

	#portfolio-images {
		float: none;
		max-width: inherit;
	}

	#portfolio-description {
		float: none;
		max-width: inherit;
		margin: 0 30px 30px;
	}

	#portfolio-description,
	#portfolio-header .separator,
	#portfolio-header .portfolio-tagline {
		display: none;
	}

	#portfolio-description:before {
		content: "";
		margin: 0;
	}

	#project-navigation .project-prev,
	#project-navigation .project-next {
		float: none;
		display: block;
		height: inherit;
	}

	#project-navigation img { max-width: inherit; }

	#project-navigation .post-link {
		text-align: center;
		margin-top: inherit !important;
		display: inline-block;
	}

	#project-navigation .project-prev { margin-bottom: 40px; }
	#project-navigation .project-prev .post-link { left: -40px; }
	#project-navigation .project-next .post-link { right: -40px; }

	.footer-columns {
		width: 100% !important;
		height: inherit !important;
		float: none !important;
		padding: 40px 0 !important;
		text-align: center !important;
	}

	#footer-logo-img {
		background-position: 50%;
		width: 100%;
	}

	#footer-copyright {
		width: 100%;
		padding: 0;
	}
}*/

@media only screen and (max-width: 767px) {
	/*#projects-list .type-portfolio { width: 100%; }
	#projects-list .type-portfolio[rel="large"] { width: 100%; }
	#projects-list .type-portfolio img { width: 100%; }*/

	#header {
		margin: 30px 30px 60px 0 !important;
		padding: 0 20px !important;
	}

	#logo,
	#navigation {
		right: inherit;
	}

	#logo h1 { font-size: 22px; }
	#navigation { right: 20px; }

    /* Home */
    #wrapper .newhome .projects-list .type-portfolio {
        margin-bottom: 12px;
    }

    #wrapper .newhome .projects-list .type-portfolio:last-child {
        margin-bottom: 0;
    }

	/*#categories-navigation { display: none; }

	.type-portfolio .portfolio-t-content { display: none !important; }

	.more-mobile {
		display: block;
		text-transform: uppercase;
		font-weight: bold;
		letter-spacing: 1px;
		margin: 30px 0;
	}

	#portfolio-description,
	#portfolio-header .separator,
	#portfolio-header .portfolio-tagline {
		display: none;
	}

	#portfolio-header h2 {
		text-align: center;
		line-height: 26px;
	}

	#portfolio-description:before {
		content: "";
		margin: 0;
	}

	#project-navigation .project-prev,
	#project-navigation .project-next {
		float: none;
		display: block;
	}

	#project-navigation img { max-width: inherit; }

	#project-navigation .post-link {
		text-align: center;
		position: inherit !important;
		margin-top: 10px !important;
		display: inline-block;
		left: inherit !important;
		top: inherit !important;
		right: inherit !important;
	}

	#project-navigation .project-next .post-link { float: right; }

	.footer-columns {
		float: none;
		text-align: center;
		width: 100%;
		padding: 20px 0;
	}

	#footer-logo-img {
		background-position: 50%;
		width: 100%;
	}*/
}
