/* ---------------------------------------------------------------------- */
/* Scroll to Top
/* ---------------------------------------------------------------------- */
#toTop, #toTopHover {
	background: url(images/scroll-top.png) no-repeat center center;
	width: 40px;
	height: 40px;
	overflow: hidden;
	bottom: 57px;
	right: 20px;
	text-indent: -10000em;
	position: fixed;
	border-radius: 3px;
}

#toTop {
	display: none;
	background-color: #999;
}

#toTopHover {
	display: block;
	opacity: 0;
}

#toTop:active, #toTop:focus {
	outline: none;
}
/* ---------------------------------------------------------------------- */
/* About Us
/* ---------------------------------------------------------------------- */

/* Our Team */

.team-member .photo {
	display: block;
	margin: 0 auto 15px auto;	
	max-width: 100%;
}

.team-member .content {
	margin-bottom: 20px;	
}

.team-member .name {
	margin: 0;
}

.team-member .name, .team-member .job-title {
	text-align: center;
}

.team-member .job-title {
	display: block;
	margin-bottom: 15px;
	color: #888;
}

/* ---------------------------------------------------------------------- */
/* Generic
/* ---------------------------------------------------------------------- */


iframe, video, audio {
	display: block;	
}

/*img,*/ embed, object, video { /* Note: keeping IMG here will cause problems if you're using foreground images as sprites. */
	max-width: 100%;
}

video {
	width: 100%;
    height: auto;
}

/* Clearfix */

.clear {
	clear: both;
	display: block;
	height: 0;
	overflow: hidden; 
	visibility: hidden;
	width: 0;
}



/* ---------------------------------------------------------------------- */
/* Headings
/* ---------------------------------------------------------------------- */
 h4{
	margin-bottom: 15px;
}



h3 {
	font-size: 1.666em; /* 20px */
	line-height: 1.3em; /* 26px/20px */
	font-weight: 600; 
	letter-spacing: -0.02em;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 10px;
	margin-bottom: 25px;
}



h4 {
	font-size: 1.166em; /* 14px */	
	line-height: 1.285em; /* 18px/14px */
	font-weight: 600;
}

/* ---------------------------------------------------------------------- */
/* Links
/* ---------------------------------------------------------------------- */
a, a > * {
	text-decoration: none;
}

a, a > *,
.button,
.jcarousel-prev, .jcarousel-next, 
.iconbox > a * {
	-webkit-transition: color 0.2s ease, background-color 0.2s ease, border 0.2s ease, opacity 0.2s ease-in-out;
	-moz-transition: color 0.2s ease, background-color 0.2s ease, border 0.2s ease, opacity 0.2s ease-in-out;
	-ms-transition: color 0.2s ease, background-color 0.2s ease, border 0.2s ease, opacity 0.2s ease-in-out;
	-o-transition: color 0.2s ease, background-color 0.2s ease, border 0.2s ease, opacity 0.2s ease-in-out;
	transition: color 0.2s ease, background-color 0.2s ease, border 0.2s ease, opacity 0.2s ease-in-out;	
}

a:hover, a > * {
	color: #333;	
}

/* ---------------------------------------------------------------------- */
/* Text & Content Blocks
/* ---------------------------------------------------------------------- */
p {
	margin-bottom: 20px;
}

section,
#page-header {
	margin-bottom: 40px;
}

#slider-home {
	margin-bottom: 30px;
}

.alignleft {
	float: left;	
}

img.alignleft {
	margin: 5px 20px 5px 0;	
}

.alignright {
	float: right;	
}

img.alignright {
	margin: 5px 0 5px 20px;
}

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

img.aligncenter {
	margin-top: 5px;
	margin-bottom: 5px;
}

.tip, caption, .caption {
	color: #999;
	font-size: 0.916em; /* 11px */
	font-style: italic;
}

.grey-text {
	color: #999;	
}

.invisible {
	display: none !important;	
}

hr {
	background-color: #e5e5e5;
	color: #e5e5e5;
	border: none;
	height: 1px;
	clear: both;
	margin: 40px 0;
}

mark {
	font-style: normal;
    font-weight: normal;	
}

.note {
	color: #E64141;
	
}


/* ---------------------------------------------------------------------- */
/* Columns
/* ---------------------------------------------------------------------- */
.one-fourth, .two-thirds, .three-fourths {
	display: inline;
	float: left;
    margin-right: 2%;
}

.one-half {
	width: 100%;	
}

.one-third {
	width: 100%;
	height: 200%;	
	
}

.one-fourth {
	width: 50%;	
	max-width: 300px;
}

.two-thirds {
	width: 66%;	
	max-width: 620px;	
}

.three-fourths {
	width: 74.5%;	
	max-width: 700px;	
}

.column-last { 
	margin-right: 0 !important;
}
/* ---------------------------------------------------------------------- */
/* Icon Boxes
/* ---------------------------------------------------------------------- */
.iconbox {
	margin-bottom: 20px;
	position: relative;	
}

.iconbox-title {
	padding-bottom: 0;
	margin-bottom: 15px;
	border: none;	
}

.iconbox > a {
	display: block;
	background-color: #f2f2f2;
	border-bottom: 1px solid #d9d9d9;
	padding: 15px 15px 20px;		
}
.ban{
	display: block;
	background-color: #f2f2f2;
	border-bottom: 1px solid #6F3;
	padding: 15px 15px 20px;		
}
.ban:hover{
	background-color: #fafafa;		
}
.iconbox > a > * {
	color: #333;	
}

.iconbox > a:hover {
	background-color: #fafafa;
}

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

.icon-left .iconbox-icon {
	float: left;
	width: 36px;
	height: 36px;
	background-color: #333;	
	border-radius: 18px; /* half the width/height */
	margin-right: 10px;
	text-align: center;
	line-height: 36px; /* same as the height */
}

.icon-left .iconbox-icon logo {
	display: inline-block;
	max-width: 24px;
	max-height: 20px;
}

.icon-top .iconbox-icon .ban {
	margin-bottom: 10px;
	text-align: center;
}

.icon-top .iconbox-icon img {
	display: inline-block;
	max-width: 100%;
		height:150px;
	
}

.iconbox > a > .button {
	margin-bottom: 0;
	
		
}


/* ---------------------------------------------------------------------- */
/* Carousel
/* ---------------------------------------------------------------------- */
.jcarousel-container
 {
	max-width: 100%;
}

.jcarousel-clip {
	overflow: hidden;
	width: 100%;
}

.project-carousel > li {
	float: left;
	width: 200px;
	margin-right: 20px;	
}

.jcarousel-prev, .jcarousel-next {
	position: absolute;
    top: -60px;
    width: 19px;
    height: 19px;
    cursor: pointer;
    background: #ccc url(images/carousel-arrows.png) no-repeat;
}

.jcarousel-prev {
	right: 20px;
	background-position: 7px 6px;
	border-radius: 2px 0 0 2px;
}

.jcarousel-next {
	right: 0;
	background-position: -48px 6px;	
	border-radius: 0 2px 2px 0;
}

.jcarousel-prev-disabled, .jcarousel-prev-disabled:hover, .jcarousel-prev-disabled:focus,
.jcarousel-next-disabled, .jcarousel-next-disabled:hover, .jcarousel-next-disabled:focus {
	background-color: #e5e5e5 !important;
	cursor: default;
}

/* ---------------------------------------------------------------------- */
/* Portfolio & Blog
/* ---------------------------------------------------------------------- */
.entry-image > a,
.entry-slider > ul > li > a {
	display: block;	
	position: relative; /* sets the initial position for the overlay */
}

.entry-image {
	display: inline-block;
}

.entry-image,
.entry-video,
.entry-slider {
	margin-bottom: 15px;	
}

.project-list .entry-image {
	margin-bottom: 0;	
}

.entry-image,
.entry-image img,
.entry-image LOGO,
.entry-slider,
.entry-slider img {
	max-width: 100%;
	
}

.entry-image img,
.entry-image LOGO,
.entry-slider img {
	display: block;
}

.entry-slider iframe {
	margin: 0 auto;	
}

/* Overlay */

.overlay {
	display: block;
	background-color: rgba(255,255,255,0.4);
	background-repeat: no-repeat; 
	background-position: center center;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.overlay.zoom {
	background-image: url(images/overlay-zoom.png);
}

.project-list li .overlay,
.lightbox .overlay,
.lightbox-video .overlay,
.link-overlay .overlay {
	opacity: 0;
	filter: alpha(opacity=0);
    z-index: 0; /* for Opera */
}

.project-list li:hover .overlay,
.lightbox:hover .overlay,
.lightbox-video:hover .overlay,
.link-overlay:hover .overlay {
	opacity: 1;
	filter: alpha(opacity=100);
    z-index: 1; /* for Opera */
}

.project-list li:hover .zoom,
.lightbox .zoom,
.lightbox-video .zoom,
a.entry-image:link .zoom, a.entry-image:visited .zoom,
.entry-slider a:link .zoom, .entry-slider a:visited .zoom {
	background-image: none;
}

a.entry-image:hover .zoom, a.entry-image:active .zoom,
.entry-slider a:hover .zoom, .entry-slider a:active .zoom {
	background-image: url(images/overlay-zoom.png);
}

/* Portfolio Gallery */

ul.portfolio-grid {
	margin-right: -20px;
	padding: 0;
}

ul.portfolio-grid > li {
	margin: 0 20px 20px 0;
	text-align: center;
	float: left;
}

ul.portfolio-grid > li.one-fourth {
	width: 220px;
}

ul.portfolio-grid > li.one-third {
	width: 300px;
}

ul.portfolio-grid > li.one-half {
	width: 460px;

}

/* Filter */

#filter {
	margin-bottom: 40px;	
}

#filter ul {
	margin: 0;
	padding: 0;
}

#filter > span, #filter ul, #filter li {
	display: inline-block;
}

#filter li, #filter > span {
	vertical-align: middle;	
	margin-bottom: 10px;
}

#filter > span {
	margin-right: 20px;
}

#filter li {
	margin-right: 5px;
}

#filter a {
	display: block;
	line-height: normal;
	color: #333;
	background-color: #e5e5e5;
	padding: 6px 10px;
	border-radius: 3px;
	
	background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
	background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
	background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
	background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
	background-image: linear-gradient(top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.05));
	background-repeat: repeat-x;
}

#filter a:hover, #filter a.selected {
	color: #fff;
}

/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -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;
}

/* End: Recommended Isotope styles */




/* ---------------------------------------------------------------------- */
/* Portfolio
/* ---------------------------------------------------------------------- */
.project-list a {
	display: block;
}

.project-list .entry-title {
	color: #333;	
}

.project-list .entry-meta {
	text-align: center;
	padding: 15px;
	background-color: #f5f5f5;
	border-bottom: 1px solid #dbdbdb;
}

.project-list .entry:hover .entry-meta {
	background-color: #fafafa;
}

.project-list .entry-meta p {
	margin: 0;
}

.project-list .entry-content {
	color: #666;
}

.project-list li,
.entry-image {
	position: relative;
}

/* ---------------------------------------------------------------------- */
/* Clients
/* ---------------------------------------------------------------------- */
.clients {
	list-style: none;
	margin: 0 -10px 10px 0;
	padding: 0;	
}

.clients li {
	float: left;	
	margin: 0 10px 10px 0;
	border: 1px solid #dbdbdb;
	width: 150px;	
}

.clients a {
	display: block;
}

.clients img {
	display: block;
	opacity: 0.75;
	filter: alpha(opacity=75);
	max-width: 100%;
}

.clients li:hover {
	border-color: #c2c2c2;
}

.clients li:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
}

/* ---------------------------------------------------------------------- */
/* Forms
/* ---------------------------------------------------------------------- */
input, textarea, select {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

input, textarea {
	-webkit-appearance: none; /* Fix for Mobile Safari */
}

/* Fix for Mobile Safari */
input[type="checkbox"] { 
	-webkit-appearance: checkbox; 
}

input[type="radio"] { 
	-webkit-appearance: radio; 
}

input {
	line-height: normal;	
}

textarea {
	overflow: auto; /* removes scrollbar in IE */	
}

input[type="submit"] {
	width: auto;
}

::-webkit-input-placeholder { /* Chrome, Safari */
	color: #999;
}

/* Firefox */
:-moz-placeholder { 
   color: #999;
}

::-moz-focus-inner { /* removes the extra padding and dotted border on buttons in Firefox */	      
	padding: 0;         
	border: none;
}

/* Search Form */

#search-form {	
	position: relative;
	margin-top: 36px;
	float: right;
	margin-left: 20px;
}

#search-submit {
	width: 30px;
	height: 30px;
	background: url(images/search.png) no-repeat left top;
	border: none;
	text-indent: -10000em;
	cursor: pointer;
}

/* After Click */

#s {
	position: absolute;
	top: 35px;
	right: 0;	
	padding: 6px 10px;
	border: 1px solid #d9d9d9;
	width: 198px;
    z-index: 1000;
    border-radius: 0;
	box-shadow: 0 0 5px rgba(0,0,0,0.1) inset;
}

#s:hover,
#s:focus {
	border-color: #ccc;	
}

/* Content Form */

.content-form p {
    margin-bottom: 10px;
}

.content-form input, .content-form textarea, .content-form select {
	border: 1px solid #d9d9d9;
	padding: 6px 10px;
	border-radius: 0;
	box-shadow: 0 0 5px rgba(0,0,0,0.1) inset;
}

.content-form input:hover, .content-form textarea:hover, .content-form select:hover,
.content-form input:focus, .content-form textarea:focus, .content-form select:focus {
	border-color: #ccc;
}

.content-form input {
	width: 50%;
}

.content-form label, .content-form input, .content-form textarea, .content-form select {
    margin-bottom: 5px;
}

.content-form label {
	display: block;
	clear: both;
}

.content-form .error {
	color: #E64141;
}

.content-form textarea, .content-form select {
	width: 60%;
}

.content-form textarea {
	height: 160px;
}

.content-form input[type="file"] {
    padding: 0;
    border: none;
}








/* ---------------------------------------------------------------------- */
/* Arrow Boxes
/* ---------------------------------------------------------------------- */
.arrowbox {
	border-bottom: 1px solid #d9d9d9;	
	margin-bottom: 20px;
}

.arrowbox-first .arrowbox-title {
	border-radius: 3px 0 0 3px;
}

.arrowbox-title {
	height: 42px;
	line-height: 42px;
	position: relative;
	background-color: #1a1a1a;
	color: #fff;
	color: #e5e5e5;
	margin-bottom: 20px;
	padding: 0 15px;
	border: none;
	
	background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.04));
	background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.04));
	background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.04));
	background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.04));
	background-image: linear-gradient(top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.04));
	background-repeat: repeat-x;
}

.arrowbox-title-arrow-front {
	background: url(images/arrowbox-title-arrow-front.png) no-repeat left top;
	width: 10px;
	height: 42px;
	position: absolute;
	top: 0;
	right: -10px;
}

.arrowbox-title-arrow-back {
	background: url(images/arrowbox-title-arrow-back.png) no-repeat left top;
	width: 10px;
	height: 42px;
	position: absolute;
	top: 0;
	left: -10px;
}

/* ---------------------------------------------------------------------- */
/* Thumbs
/* ---------------------------------------------------------------------- */
.thumbs {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

.thumbs li {
	float: left;
	margin: 0 10px 10px 0;
}

.thumbs li a {
	display: block;
}

.thumbs li img {
	display: block;
	width: 70px;
	height: 70px;
	padding: 4px;
	background-color: #fff;
	border: 1px solid #d9d9d9;
	box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}

.thumbs li a:hover img {
	border-color: #bfbfbf;
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}