/* HOMEPAGE STUFF */

/*
 ------------------
 Home Top
 ------------------
 */
#home-top {
  margin-top: -1px;
  background: #0067c4;
  padding: 100px 0;
  /*
  background: #0067c4; Old browsers
  background: -moz-linear-gradient(top,  #0067c4 50%, #00529d 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#0067c4), color-stop(100%,#00529d));
  background: -webkit-linear-gradient(top,  #0067c4 50%,#00529d 100%); /* Chrome10+,Safari5.1+
  background: -o-linear-gradient(top,  #0067c4 50%,#00529d 100%);
  background: -ms-linear-gradient(top,  #0067c4 50%,#00529d 100%);
  background: linear-gradient(to bottom,  #0067c4 50%,#00529d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0067c4', endColorstr='#00529d',GradientType=0 );
  */
  background: url('../images/header-img.jpg') center top;
  background-size: cover;
}

  #home-top h1{
    font-weight: 600;
    color: #fff;
    font-size: 45px;
    line-height: 65px;
    /*margin-bottom:100px;*/
  }


	#home-top h2
	{
		font-weight: 400;
		font-size: 28px;
		line-height: 65px;
		color: #fff !important;
		margin-bottom: 40px;
	}


  #home-top li {
    float:none;
    display:inline-block;
    *display:inline; /* ie7 fix */
    zoom:1; /* hasLayout ie7 trigger */
  }

    #home-top li a {
      color: #fff;
      margin: 10px 0;
      border: 1px solid #fff;
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
      outline:none;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 18px;
      padding: 20px 0;
      width: 230px;
      text-align: center;
      margin: 10px 22px;
			background: none;
    }

    #home-top li a:hover {
      background: #fff;
      color: #0067c4;
    }

/*
 ------------------
 Home Testimonials
 ------------------
 */

#testimonial-container_column_1,#testimonial-container_column_2
{
	display: none ;
}

.testimonial-profile-top
{
	display: inline-block;
    position: relative;
    margin: 0 0 10px 0;
    height: 144px;
}

#home-testimonials {
  background: #eeeeee;
  position: relative;
}

  #home-testimonials .testimonial-container
  {
	width: 100%;
	/*height: 425px;*/
	/*overflow: hidden;*/
  }

  /* Testimonial */

#home-testimonials .testimonial-loading
{
	text-align: center;
	line-height: 425px;
	font-size: 30px;
	color: #ccc;
}
  #home-testimonials .testimonial {
    padding: 80px 0;
    text-align: center;
    display: none;
  }

	#home-testimonials .testimonial.hidden
			{
				display: none;
			}

			#home-testimonials .testimonial.visible
			{
				display: block;
			}

	.testimonial-profile-n-info
	{
		position: relative;
		display: inline-block;
		width: 100%;
		min-height: 132px;
	}

  #home-testimonials .testimonial-profile {
    position: absolute;
    left: 0;
    width: 132px;
    height: 132px;
    border: 6px solid #0067c4;
    -webkit-border-radius: 66px;
    -moz-border-radius: 66px;
    border-radius: 66px;
    margin: 0 20px 20px 0;
    vertical-align: top;
  }

  #home-testimonials .testimonial-info {
    display: inline-block;
    text-align: left;
    margin-top: 12px;
    width: 100%;
    padding-left: 152px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  }

    #home-testimonials .testimonial-info p {
      margin: 0;
    }

    #home-testimonials .testimonial-info .name {
      font-size: 20px;
      margin-bottom: 10px;
      text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
		max-width: 200px;
    }

    #home-testimonials .testimonial-info .rating-bar {
      width: 150px;
      height: 16px;
      background: #fff;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
      -moz-box-shadow: inset 0 0 3px rgba(69,69,69,0.75);
      -webkit-box-shadow: inset 0 0 3px rgba(69,69,69,0.75);
      box-shadow: inset 0 0 3px rgba(69,69,69,0.75);
    }

    #home-testimonials .testimonial-info .rating-text {
      font-size: 18px;
      font-weight: 100;
      margin-bottom: 10px;
    }

    #home-testimonials .testimonial-info .time {
      font-size: 14px;
      font-weight: 100;
    }

		 #home-testimonials .testimonial-info .time i
		 {
			color: #0088ff;
		 }


	.testimonial-client-comment
	{
		text-align:center;
		display: table;
		height: 100%;
		margin: 0 auto 0 auto;
	}

	.testimonial-client-comment div
	{
		display: table-cell;
		height: 100%;
		vertical-align: top;

	}
		.testimonial-message
		{
			overflow: hidden;
			 display: -webkit-box;
		  -webkit-line-clamp: 3;
		  -webkit-box-orient: vertical;
		}

		.testimonial-client-comment div p
		{
			margin: 0; padding: 0;
		}

		.testimonial-client-comment div i
		{
			color: #0088ff;
		}

	.testimonial-client-comment div:first-child
	{
		padding: 5px 10px 0 0;
	}

	.testimonial-client-comment div:last-child
	{
		vertical-align: bottom;
		padding: 5px 0 5px 10px;
	}

  #home-testimonials .testimonial-text {
    font-size: 18px;
    clear:both;
    text-align: center;
    font-weight: 300;
  }

    #home-testimonials .testimonial-text .client {
      font-weight: 400;
      font-style: italic;
      margin: 0 0 5px 0;
      text-overflow: ellipsis;
      overflow: hidden;
	white-space: nowrap;
    }

	p.client
	{
		height: 1.8em;
		text-overflow: ellipsis;
	}

    p.cct-review
    {
		display: -webkit-box;
	  -webkit-line-clamp: 3;
	  -webkit-box-orient: vertical;
	  overflow: hidden;
    }

    p.cct-review i
    {
		color: #0088ff;
		font-size: 13px;
		line-height: 1.8em;


    }

		p.cct-review i:first-child
		{
			margin-right: 10px;
		}

		p.cct-review i:last-child
		{
			margin-left: 10px;
		}

    /*p.cct-review:before
    {
		content: "<i class='fa fa-quote-left'></i>";
    }

    p.cct-review:after
    {
		content: "<i class='fa fa-quote-right'></i>";
    }*/


  /* Rating Bar */
  #home-testimonials .rating-bar {}

    #home-testimonials .rating-bar .exceeded {
      width: 150px;
      height: 16px;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
      background: #abc400;
      background: -moz-linear-gradient(left,  #abc400 0%, #00c437 100%);
      background: -webkit-gradient(linear, left top, right top, color-stop(0%,#abc400), color-stop(100%,#00c437));
      background: -webkit-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: -o-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: -ms-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: linear-gradient(to right,  #abc400 0%,#00c437 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abc400', endColorstr='#00c437',GradientType=1 );
    }

    #home-testimonials .rating-bar .excellent {
      width: 120px;
      height: 16px;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
      background: #abc400;
      background: -moz-linear-gradient(left,  #abc400 0%, #00c437 100%);
      background: -webkit-gradient(linear, left top, right top, color-stop(0%,#abc400), color-stop(100%,#00c437));
      background: -webkit-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: -o-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: -ms-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: linear-gradient(to right,  #abc400 0%,#00c437 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abc400', endColorstr='#00c437',GradientType=1 );
    }

    #home-testimonials .rating-bar .good {
      width: 90px;
      height: 16px;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
      background: #abc400;
      background: -moz-linear-gradient(left,  #abc400 0%, #00c437 100%);
      background: -webkit-gradient(linear, left top, right top, color-stop(0%,#abc400), color-stop(100%,#00c437));
      background: -webkit-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: -o-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: -ms-linear-gradient(left,  #abc400 0%,#00c437 100%);
      background: linear-gradient(to right,  #abc400 0%,#00c437 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abc400', endColorstr='#00c437',GradientType=1 );
    }


	@media (min-width: 768px)
	{
		#testimonial-container_column_0,#testimonial-container_column_1
		{
			display: block;
		}
	}

	@media (min-width: 1200px)
	{
		#testimonial-container_column_0,#testimonial-container_column_1,#testimonial-container_column_2
		{
			display: block;
		}
	}

/*
 ------------------
 Home Content
 ------------------
 */
#home-content {
  /*border-bottom: 3px solid #cfcfcf;*/
  padding: 80px 0;
  background: #fff;
}

  /*#home-content h3 {
    color: #0067c4;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    vertical-align:top;
    margin-top:0;
  }

  #home-content p {
    font-size: 18px;
  }*/

  /*#home-content img {
    vertical-align:top;
    margin: 0 0 40px 40px;
  }

  #home-content img.alignleft {
    float: left;
    margin: 0 40px 40px 0;
  }

  #home-content img.alignright {
    float: right;
  }*/

/*
 ------------------
 Home How It Works
 ------------------
 */
#home-how-it-works {
  background: #fff;
  padding: 60px 0 0 0;
}

#home-how-it-works h2.main-header
{
	color: #333;
	text-align: center;
	padding: 0;
	margin: 60px 20px 80px 20px;
	font-family: lobster;
	font-size: 46px !important;
}


	#mid-signup
	{
		background: #0088FF;
		text-align: center;
		padding: 90px 0 90px 0;
	}

	#mid-signup h2
	{
		text-align: center;
		color: #fff;
		margin: 0 0 45px 0;
	}

	/*a
	{
		border: 1px solid #fff;

	}*/

	#mid-signup a
	{
		border: 1px solid #fff;
		color: #fff;
		font-family: 'Roboto', sans-serif;
		display: inline-block;
		border-radius: 5px;
		line-height: 48px;
		padding: 0 35px 0 35px;
	}

	#mid-signup  a:hover
	{
		background: #fff;
		color: #0088FF;
	}


	.welcome
	{
		position: relative;

		display: table;
		height: 100%;

		background: blue;
	}


/*reworked homepage fold */

#above-the-fold
{
	position: relative;
	
	min-height: 450px;
    margin: 0 0 0 0;
	top:0;
	display: table;
	height: 100%;
	width: 100%;
	background-color: #0088ff;
	background-image: url('/wp-content/themes/crowdcontent/images/covers/homepage.jpg');
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: fixed;

}

#above-the-fold:before
{
	content: "";
	position: absolute;
	background: #0088FF;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.8;
	z-index: 1;
}

#above-the-fold a
{
	clear: both;
	display: inline-block;
	border: 1px solid #fff;
	/*background: #f58f02;*/
	/*height: 50px;*/
	width: 100%;
	line-height: 50px;
	font-size: 16px;
	color: #fff;
	padding: 0 30px 0 30px;
	margin: 0;
	border-radius: 5px;
	transition: all 0.3s;
	text-decoration: none !important;
	font-weight: bold;
}

#above-the-fold a:hover
	{

		color: #0088FF;
		background: #fff;
	}

#above-the-fold a:active,#above-the-fold a:focus
{
		background: #eee;
		color: #0088ff;
}

	.table-row-1
	{
		position: absolute;

		height: 50%;
		left: 0;
		right: 0;
		top: 0;

		vertical-align: text-bottom;
		z-index: 2;
	}

		.table-row-1 .title
		{

			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
			text-align: center;
			transition: all 0.3s;
		}


		.table-row-1 .title h1,.table-row-1 .title h2
		{
			margin: 0 auto 0 auto; padding: 0 10px 0  10px;
			max-width: 800px;
		}

		.table-row-1 .title h1
		{
			font-size: 30px;
			color: #fff;
			font-weight: bold;
			text-align: center;
			display: block;
			float: none;
			margin: 0 auto 20px auto;
		}

		.table-row-1 .title h2
		{
			font-size: 20px;
			max-width: 600px;
			color: #fff;
		}

	.table-row-2
	{
		position: absolute;

		height: 35%;
		top: 50%;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 2;
	}

		.table-row-2 .button-container
		{
			position: absolute;
			height: 100%;
			top: 0;
			left: 0;
			right: 0;
			text-align: center;
		}

			.table-row-2 .button-container .button
			{
				
				position: absolute;

				height: 50px;
				line-height: 50px;
				top: 50%;
				margin: -25px 20px 0 20px;
				left: 0;
				right: 0;
			}
			
	.table-row-3
	{

		position: absolute;

		height: 15%;
		top: 85%;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 2;
	}


	.table-row-3 .logo-container
	{
		position: absolute;

		left: 0;
		right: 0;
		bottom: 80px;

		text-align: center;
	}

@media (min-width: 768px)
{
	#above-the-fold
	{
		margin: 0 0 -80px 0;
		top: -80px;
	}
	#above-the-fold a
	{
		width: auto;
		margin: 0;
	}

	.table-row-1 .title h1,.table-row-1 .title h2
	{
		padding: 0;
	}
}

@media (min-width: 992px)
{
	.table-row-1 .title h1
	{
		font-size: 50px;
	}

	.table-row-1 .title h2
	{
		font-size: 30px;
	}
}

@media (min-width: 1200px)
{

}


