/*
Theme Name: Cloud Three
Author: Cloud Three
Version: 1.0
*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

a img.alignnone {
    margin: 5px 20px 20px 0;
}

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

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
#locationContainer{
	margin-bottom: 20px;
}
.portfolio.homeProjects.projectThumbs .project.imageContainer .image.overlay
{
	height: 100%;
	width: 100%;
	margin: 0;
}
.homeProjects.projectThumbs .imageContainer .title{
	top: 50%;
	width: 100%;
	height: 100%;
}
.homeProjects.projectThumbs .imageContainer .title h3{
	width: auto;
	height: auto;
	display: block;
}
.homeProjects.projectThumbs .imageContainer{
	margin: 1%;
	width: 48%;
}
.portfolio.homeProjects.projectThumbs .project.imageContainer .image{
	height: 100%;
	width: 100%;
}
.portfolio.homeProjects.projectThumbs .project.imageContainer .image img{
	width: 100%;
	height: auto;
}
.portfolio.homeProjects.projectThumbs{
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;

}
.homeProjects.projectThumbs .imageContainer{
	padding: 0;
}
.homeProjectsTitle{
	padding: 40px;
    background: #bb77ea;
}
.locationTitle{
	padding: 40px;
    background: #4dc6f4;	
}
.locationTitle .section{
	max-width: 1200px;
	margin: 0 auto;
}
.locationTitle .section h4{
	color: #fff;
}
.homeProjectsTitle .section{
	max-width: 1200px;
	margin: 0 auto;
}
.homeProjectsTitle .section h3{
	color: #fff;
}

#mainWrapper #introWrapper {
	background: linear-gradient(222deg, #32b264, #ea2270, #079bcc, #f24ead, #a48fce, #2366c3);
background-size: 800% 800%;

-webkit-animation: gradientChange 30s ease infinite;
-moz-animation: gradientChange 30s ease infinite;
animation: gradientChange 30s ease infinite;
}
.viewMore{
	display: block;
	padding: 20px;
	text-align: center;
}
.viewMore a
{
	background: #f24dae;
    padding: 15px;
    color: #fff;
    border-radius: 8px;
}
#servicesWrapper{
	width: 100%;
	/*background: rgba(120, 217, 255, 0.26);*/
}
#servicesWrapper h4{
	display: none;
}
/*end custom style*/

#timeline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #031625;
}
#timeline:hover .tl-item {
  width: 23.3333%;
}

.tl-item {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  position: relative;
  width: 25%;
  height: 100vh;
  max-height: 550px;
  color: #fff;
  overflow: hidden;
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}
.tl-item:before, .tl-item:after {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.tl-item:after {
  background: rgba(158, 81, 171, .3);
  opacity: 1;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}
.tl-item:before {
  background: -webkit-linear-gradient(top, transparent 0%, #c475d2 75%);
  background: linear-gradient(to bottom, transparent 0%, #c475d2 75%);
  z-index: 1;
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) translateY(50%);
          transform: translate3d(0, 0, 0) translateY(50%);
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
}
.tl-item:hover {
  width: 30% !important;
}
.tl-item:hover:after {
  opacity: 0;
}
.tl-item:hover:before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) translateY(0);
          transform: translate3d(0, 0, 0) translateY(0);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
  transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
  transition: opacity 1s ease, transform 1s ease 0.25s;
  transition: opacity 1s ease, transform 1s ease 0.25s, -webkit-transform 1s ease 0.25s;
}
.tl-item:hover .tl-content {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: all 0.75s ease 0.5s;
  transition: all 0.75s ease 0.5s;
}
.tl-item:hover .tl-bg {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}

.tl-content {
  -webkit-transform: translate3d(0, 0, 0) translateY(25px);
          transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 1.618em;
  top: 55%;
  opacity: 0;
}
.tl-content h1 {
  font-family: 'Pathway Gothic One', Helvetica Neue, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  color: #fff;
  font-size: 1.44rem;
  font-weight: normal;
}

.tl-year {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  /*border-top: 1px solid #fff;*/
  border-bottom: 1px solid #fff;
}
.tl-year p {
  font-family: 'Pathway Gothic One', Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 1.728rem;
  line-height: 0;
}

.tl-bg {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  -webkit-transition: -webkit-filter 0.5s ease;
  transition: -webkit-filter 0.5s ease;
  transition: filter 0.5s ease;
  transition: filter 0.5s ease, -webkit-filter 0.5s ease;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

#timeline{
	display: none;
}
/*begin keyframes*/
@-webkit-keyframes gradientChange {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes gradientChange {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes gradientChange { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@media screen and (max-width: 799px){
#mainWrapper #services .servicesContent .panel {
border-bottom: 3px solid #fff;	
}
}
@media screen and (max-width: 450px)
{
.projectThumbs .imageContainer .image {
	text-align: center;
}
.portfolio.projectThumbs .project.imageContainer .image.overlay{
	display: none;
}
.projectThumbs .imageContainer{
	float: none;
}
.homeProjects.projectThumbs .imageContainer{
	width: 100%;
}
}