.wrapper.hide {
	display:none }

#menu-button.open #nav-button span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: relative;
	top: 2px;
	-webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#menu-button.open #nav-button span:nth-child(2) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	position: relative;
	top: -2px;
	-webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#menu-button.open #nav-button span:nth-child(3) {
	display: none;
}

#ajax-content {
	height: 100%;
	width: 100%;
	background: rgba(245, 245, 245, 0.95);
	position: fixed;
	opacity: 0;
	overflow: hidden;
	-webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
	z-index: 0;
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
	visibility: hidden;
}

#ajax-content.visible {
	height: 100%;
	z-index: 9999;
	opacity: 1;
	visibility: visible;
	-webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#ajax-content .ajax-sidebar {
	width: 0;
	background: #fff;
	height: 100%;
	overflow: scroll;
	float: right;
	-webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
	z-index: 999;
}



#ajax-content.visible .ajax-sidebar {
	float: right;
	width: 380px;
	-webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
	-webkit-transition-delay: 0.3s; /* Safari */
	transition-delay: 0.3s;
}

.ajax-sidebar #project-title { padding-top: 55px; padding-left: 55px; padding-right: 55px; padding-bottom: 20px; margin-top: 20px; width: 380px; }



#ajax-content .ajax-slider {
	opacity: 0;
	float: left;
	width: auto;
	height: 100%;
}

	#ajax-content.visible .ajax-slider {
		width: auto;
		float: left;
		height: 100%;
		opacity: 1;
		-webkit-transition: all 0.6s ease-in-out;
		-moz-transition: all 0.6s ease-in-out;
		-o-transition: all 0.6s ease-in-out;
		transition: all 0.6s ease-in-out;
		-webkit-transition-delay: 0.4s; /* Safari */
		transition-delay: 0.4s;
	}

		#ajax-content.visible .ajax-slider figure.images {
			max-height: 100vh;
			text-align: center;
		}

			#ajax-content.visible .ajax-slider figure.images img {
				display: inline-block;
				width: auto;
				max-height: 90vh;
				padding:0 5%;
			}

.box111 {
	width:auto;
	height: auto;
	background:#fff repeat-x fixed top left;
	overflow-y:scroll;
}

.box222 {
	width:auto;
	height: 255px;
	background:#fff repeat-x fixed top left;
	overflow-y:scroll;
}

@media screen and (max-width: 767px) {
    .box111 {
      overflow-y:scroll;
			height: 170px;
			background:#fff repeat-x fixed top left;
      }

			.box222 {
	      overflow-y:scroll;
				height: 170px;
				background:#fff repeat-x fixed top left;
	      }
			}
	.ajax-close { width: 50px; height: 50px; display: inline-block; position: absolute; top: 28px; right: 28px; cursor: pointer; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; z-index: 999999; background: url(../images/icons/bg-close@2x.png) center no-repeat #fff; background-size: 40px 40px; opacity: 0.4; }

	.ajax-prev {
		background: url(../images/icons/bg-prev@2x.png) center no-repeat;
		background-size: 40px 40px;
		display: block;
		position: absolute;
		width: 40px;
		height: 40px;
		top: 50%;
		margin-top: -34px;
		left: 25px;
		border-radius: 50px;
		opacity: 1;
	}

	.ajax-next {
		background: url(../images/icons/bg-next@2x.png) center no-repeat;
		background-size: 40px 40px;
		display: block;
		position: absolute;
		width: 40px;
		height: 40px;
		top: 50%;
		margin-top: -34px;
		right: 25px;
		border-radius: 50px;
		opacity: 1;
	}

	#project-slider {
		position: relative;
	}

	.ajax-more {
		display: none;
	}


@media only screen and (max-width : 768px) {
	.ajax-more {
		display: block;
		width: 100%;
		position: absolute;
		bottom: 0;
		height: 50px;
		background: #fff;
		color: #2b2b2b;
		text-align: center;
		padding-top: 15px;
		cursor: pointer;
		z-index: 99999;
	}

	.ajax-more span {border-bottom:1px solid #2b2b2b; }

	.ajax-close { top: 0px; right: 0px; background: url(../images/icons/bg-close@2x.png) center no-repeat; background-size: 40px 40px; }

	.ajax-prev {
		left: 0px;
	}

	.ajax-next {
		right: 0px;
	}

	#ajax-content.visible .ajax-sidebar {
		position: absolute;
		width: 0;
		right: 0;
	}

	#ajax-content.visible .ajax-sidebar.collapsed {
		width: 100%;
	}

	#ajax-content.visible .ajax-slider {
		width: 100%;
		-webkit-transition: all 0s ease-in-out;
		-moz-transition: all 0.0s ease-in-out;
		-o-transition: all 0.0s ease-in-out;
		transition: all 0.0s ease-in-out;
	}

	#ajax-content.visible .ajax-slider figure.images img {
				max-height: 100vh;
				padding:0;
			}

	 .ajax-sidebar #project-title {
 padding: 30px;
 margin:0 auto;
margin-top: 0px;
 width: 300px;
 text-align:center;
}
 .bottom {
position:relative;
padding-top:20px;
bottom:auto
}
#project-title h3 {font-size:20px; line-height:27px; }
}
