/*
Theme Name: cleantheme4
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleantheme4
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

cleantheme4 is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot?uchaac');
	src:url('fonts/icomoon.eot?#iefixuchaac') format('embedded-opentype'),
		url('fonts/icomoon.woff?uchaac') format('woff'),
		url('fonts/icomoon.ttf?uchaac') format('truetype'),
		url('fonts/icomoon.svg?uchaac#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-close:before {
	content: "\e600";
}

.icon-menu:before {
	content: "\e601";
}

.icon-logo-text:before {
	content: "\e602";
}

.icon-logo:before {
	content: "\e603";
}



html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	font-family: "brandon-grotesque", "Helvetica Neue", Arial, sans-serif;
	color: #080202;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {

}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */

}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {

}


button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #080202;
	text-decoration:none;
}

a:visited {
	color: #080202;
}

a:hover,
a:focus,
a:active {
	color: #415968;
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.site-title {text-indent:-9999px; float:left; width:10px;}
.site-title span {text-indent:0;}
.site-title .logo-main {position:absolute; left:40px; font-size: 40px; top:30px; color:#080202;
 -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.site-title .logo-biline {position:absolute; left:40px; font-size: 40px; top:30px; color:#415968; 
   
}

.site-title a:hover > .logo-main {
color:#415968;
}

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
	margin-left: 290px;
	margin-top:20px;
	color:#080202;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	margin-right: 29px;
}

.main-navigation a {
	display: block;
	text-decoration: none; color:#080202;
	 -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a {
color: #415968;
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	font-weight:700 !important;
}

/* Small menu. */
.menu-toggle {
	display: none;
}

@media screen and (max-width: 840px) {
	.menu-toggle {
		display: block; float:right; position:fixed; right:0; text-align:right; background:none; font-size:30px; top:0;  padding: 24px 40px 8px 40px; outline:0;
	}

	.main-navigation #menu-main-menu {
		display: none;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom:0;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}



/*  ----------------------------------
 
Overlay style 

----------------------------------- */

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(245,245,245,0.95);
	z-index: 1000000;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 40px;
	top: 35px;
	overflow: hidden;
	border: none;
	background: url(images/cross.png) no-repeat center center;
	background-size:20px 20px;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 1000001;
}
/* Menu style */
.overlay nav {
	text-align: left;
	position: relative;
	top: 30%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 0 0 15px;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	height: 20%;
	height: calc(100% / 5);
	min-height: 36px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.overlay ul li a {
	font-size: 28px;
	font-weight: 300;
	display: block;
	color: #080202;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	text-decoration:none;
	margin:0.89em 0;
	
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #415968;
}

/* Effects */
.overlay-slidedown {
	visibility: hidden;
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
	transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
}

.overlay-slidedown.open {
	visibility: visible;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.4s ease-in-out;
	transition: transform 0.4s ease-in-out;
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}


#masthead {z-index:1; position:fixed; background-image:url(images/white-bg.png); background-repeat:repeat; width:100%; height:100px; }

#fullpage {
	width:100%; height:100%; padding:100px 40px 40px 40px;  position:absolute; float:left; top:0; left:0;
	z-index:-1;
}
#fullpage section {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  max-height:680px;
  max-width:1390px;
  background-image:url(images/homepage-img.jpg);
  background-position:center center;
  background-size:cover;
 
}
#fullpage section img {
   position: relative;
   height:100%;
      width: 100%;
      left: 0;
	  opacity:0;
  }

.gallery {
	padding:130px 40px 60px 40px;  position:absolute; float:left; top:0; left:0;
 height:100%; 
	 width: 100%; overflow-x:scroll; -webkit-overflow-scrolling: touch;
	 		z-index:-1;

	}  
	
.video-gallery{
	position:relative; width:100%; padding:0 40px; margin-top:10px; max-height:680px;
	}	
	
.video-gallery-info {position:relative; width:100%; padding:30px 40px;}
.video-gallery-info span {font-weight:700;} 
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	width:100%;
	height:100%;
	max-height:680px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	   	max-height:680px;
		max-width:1208px;

}
 	
.images_container {
	display: table; 
	height:100%; 
   white-space: nowrap;
   width:9999px;

}  
.images_container img {
 margin:0 0 0 1px; padding:0;
   height:100% !important; display:inline;
width:auto !important; max-height: 680px; max-width:100%;
  }
  
 .gallery-info {position:relative; top:-100px;left:0; width:100%; padding:0 40px !important; opacity:0;}
 .gallery-info span {font-weight:700;} 
 .photogname {position:relative; margin:110px 0 -100px 0; font-weight:700; }
 .back-close {display:block; float:right; text-align:right; margin-right:10px;}
 .close-wrap {position:relative; margin:100px 0 0 0; width:100%; display:block; padding-right:40px; height:20px; max-width:1390px; text-align:right;}
 
 #fullpage2 {
	width:100%; height:100%; padding:100px 40px 0 40px;  position:absolute; float:left; top:0; left:0;
	z-index:-1; max-width:1320px;
}

.about-text {width:64%; float:left; height:100%;  position:relative; overflow-x:hidden; margin-left:-40px;}
.client-list {width:36%; float:right; position:relative; height:100%; overflow-x:hidden;}
.text-wrapper {position:absolute; top:0; width:100%; overflow-y:auto; overflow-x:hidden; padding-right:40px; right:-40px; height:100%;}
.client-list-title {padding-top:16px; font-weight:700;}
 
.footer-copy {position:fixed; bottom:12px; font-size:.7em; color:#c1c1c1; left:40px;} 

.loading {position:absolute; top:50%; left:50%; display:block; margin:-22px 0 0 -22px; width:44px; height:44px; background-image:url(images/loading.gif); background-size: 44px 44px;
    background-repeat: no-repeat;}
 .about-text2 {width:100%; float:left; height:100%;  position:relative; max-width: 1000px;}

/**  ----------------------------------

Portfolio 

---------------------------------   **/

#portfolio {
	display: block;
  width: 100%;
margin:110px 0 0 0;	text-align: center;
	position: relative;
	list-style:none;
	opacity:0;
	padding:0;
}
.portfolio-wrap {
	width:100%; padding:0 30px 0 40px;max-width: 1470px;
	}

#portfolio .item {
	position: relative;
	padding:0;
	margin:0;
	overflow: hidden;
	width: 25%; /* Fallback */
	  /*following properties, fix problem*/
	margin-bottom:10px;
	height:auto;
	border-right:10px solid #fff;
}

#portfolio .item a, #portfolio .item a img {
  display: block;
	width: 100%;
	cursor: pointer;

}
#portfolio .item img {
 	max-width: 100%;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;

}
#portfolio .item img {
		opacity:0;

}


/* Flexbox is used for centering the heading */
#portfolio .item a div {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

#portfolio .item a:hover div {
	opacity: 1;
}

#portfolio .item a div h3 {
	width: 100%;
	color: #fff;
	font-weight:700;
	padding: 0 10px;
	opacity: 0;
	font-size:1em;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-transform: translateY(30px);
	-moz-transform: translateY(30px);
	-ms-transform: translateY(30px);
	transform: translateY(30px);

}

#portfolio .item a div h3 span {font-weight:300; display:block;
}


#portfolio .item a:hover { 
opacity:1;
} 

#portfolio .item:hover a div h3 {
    opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
    transform: translateY(0px);
}

#portfolio .item a.archive-photo div {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(7,2,2,0.6);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 1;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

#portfolio .item a.archive-photo:hover div {
	background: rgba(65,89,104,0.6);
}

#portfolio .item a.archive-photo div h3 {
	width: 100%;
	color: #fff;
	font-weight:700;
	padding: 0 10px;
	opacity: 1;
	font-size:1em;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);

}



@media only screen and (min-width: 200px) {
#portfolio .item {width:100%;}
#fullpage section { background-position:right center; }
.about-text {width:100%; float:left; height:auto;  position:relative; overflow-x:hidden; margin-left:0;}
.client-list {width:100%; float:left; position:relative; height:auto; overflow-x:hidden;}
.text-wrapper {position:relative; top:auto; width:100%; overflow-y:auto; overflow-x:hidden; padding-right:0; right:0; height:auto;}
.site-title .logo-main {font-size: 30px; }
.site-title .logo-biline {font-size: 30px; }
body {font-size:.8em;}
.close-wrap {font-size:1em;}
}
@media only screen and (min-width: 491px) {
#portfolio .item {width:50%;}
.about-text {width:64%; float:left; height:100%;  position:relative; overflow-x:hidden; margin-left:-40px;}
.client-list {width:36%; float:right; position:relative; height:100%; overflow-x:hidden;}
.text-wrapper {position:absolute; top:0; width:100%; overflow-y:auto; overflow-x:hidden; padding-right:40px; right:-40px; height:100%;}
.site-title .logo-main {font-size: 40px; }
.site-title .logo-biline {font-size: 40px; }
body {font-size:1em;}
}
@media only screen and (min-width: 700px) {
#portfolio .item {width:33.3%;}
#portfolio .ad-item {width:50% !important;}
#fullpage section { background-position:center center; }
}
@media only screen and (min-width: 800px) {
#portfolio .item {width:25%;}
#portfolio .ad-item {width:33.3% !important;}

}