/* -----------------------------------------
	04. Modules
----------------------------------------- */
.main {
	padding: 60px 0;

	&.main-home {
		padding: 0;
	}
}

.footer {
	border-top: 1px solid $border-color;
}

/* Item Styles
=================================== */

.el-underline {
	&:after {
		content: "";
		width: 30px;
		border-bottom: 3px solid $primary-color;
		display: block;
		margin: 6px 0 18px;
	}
}

.item {
	margin: 0 0 30px;
}

.item-align-left {
	text-align: left;
}

.item-align-right {
	text-align: right;

	.el-underline:after {
		margin-left: calc(100% - 30px);
	}
}

.item-align-center {
	text-align: center;

	.el-underline:after {
		margin-left: auto;
		margin-right: auto;
	}
}

.item-title {
	font-size: 20px;
	letter-spacing:	-0.05em;
	font-family: $secondary-font;
	font-weight: bold;
	margin: 0 0 10px;
	font-style: normal;
	display: block;

	a {
		color: $text-color;

		&:hover {
			color: $primary-color;
		}
	}
}

.item-subtitle {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 11px;
	opacity: 0.8;
	margin: -10px 0 20px;
	display: block;
}

.item-icon {
	margin: 0 0 7px;
	font-size: 48px;
	opacity: 0.4;
	line-height: normal;
}

.item-thumb {
	margin: 0 0 10px;
}

.item-thumb-round {
	img {
		border-radius: 50%;
		padding: 5px;
		background-color: #FFF;
		border: 1px solid $border-color;
	}
}

/* Team Item */
.item-team {
	padding: 15px 0;
}

.item-team-details {
	position: relative;
	background: #FFF;
	padding: 20px;
	width: auto;
	max-width: 500px;
	margin: 20px auto;
	font-size: 14px;
	border: 3px solid $border-color;
	border-radius: 2px;

	.item-thumb {
		float: left;
		margin: 0 25px 10px 0;
	}

	.item-socials {
		margin: -5px 0 15px;
	}
}

/* Pricing Module */
.table-pricing {
	margin-top: 60px;
}

.item-pricing {
	background-color: #FFF;
	border: 1px solid $border-color;
	padding: 25px 15px;
	margin: 0 0 30px;
	border-radius: 2px;

	.item-title,
	.item-subtitle {
		text-align: center;
	}

	.el-underline:after {
		margin-left: auto;
		margin-right: auto;
	}
}

.item-pricing-featured {
	border: 3px solid $primary-color;
	padding-top: 38px;
	padding-bottom: 40px;
	margin-top: -15px;
	box-shadow: 0 0 14px rgba(black, 0.2);
}

.item-price {
	font-size: 48px;
	font-weight: bold;
	font-family: $secondary-font;
	letter-spacing: -0.05em;
	line-height: normal;
	margin: -4px 0 3px;
	text-align: center;

	.recurring {
		font-size: 11px;
		font-family: $primary-font;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		font-weight: normal;
	}
}

.item-features {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;

	li {
		padding: 6px 0 7px 2px;
		position: relative;
		border-bottom: 1px solid rgba($border-color, 0.45);

		&:before {
			font-family: FontAwesome;
			content: '\f00c';
			color: #5CC239;
			font-size: 18px;
			margin-right: 7px;
			position: relative;
			top: 1px;
		}

		&.no {
			&:before {
				content: '\f00d';
				color: #bdbdbd;
			}
		}
	}
}

.item-pricing-action {
	text-align: center;
}

/* Testimonials */

.item-testimonial {
	background-color: #FFF;
	margin: 0 0 40px;
	border: 1px solid $border-color;
	padding: 20px 25px 25px;
	font-style: italic;
	font-size: 14px;
	position: relative;
	color: $text-color;
	border-radius: 2px;
	height: calc(100% - 35px);

	.item-thumb {
		position: absolute;
		right: 20px;
		bottom: -46px;

		img {
			width: 80px;
		}
	}

	cite {
		color: $text-color;
		position: absolute;
		bottom: 0;
		left: 25px;
		font-style: normal;
	}

	.item-subtitle {
		opacity: 0.6;
	}
}

.item-testimonial-content {
	padding-bottom: 60px;
}

/* Team */

.item-team {
	position: relative;

	&:before {
		content: "＋";
		position: absolute;
		color: #FFF;
		line-height: 1;
		top: 50%;
		left: 50%;
		font-size: 50px;
		z-index: -1;
		font-weight: 300;
		margin: -50px 0 0 -25px;
		opacity: 0;
		cursor: pointer;
		transition: all 0.25s ease;
	}

	&:after {
		content: "";
		position: absolute;
		transition: all 0.18s ease;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: $primary-color;
		opacity: 0.8;
		height: 0;
		cursor: pointer;
	}

	&:hover {
		&:before {
			opacity: 1;
			z-index: 2;
		}

		&:after {
			height: calc(100% - 50px);
		}
	}
}

/* Blog Items */

.item-entry {
	color: $text-color;
	margin: 0 0 30px;

	.item-thumb {
		margin: 0;

		img {
			border-top-left-radius: 2px;
			border-top-right-radius: 2px;
		}
	}
}

.entry-item-content {
	background-color: #FFF;
	border: 1px solid $border-color;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	padding: 20px 25px 25px;
}

/* Entry Styles
=================================== */
.hero-title {
	text-align: center;
	font-size: 36px;
	font-family: $secondary-font;
	line-height: normal;
	margin: 0 0 45px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	letter-spacing: -0.05em;
}

.entry {
	margin: 0 0 80px;

	&:only-of-type {
		margin: 0;
	}
}

.entry-thumb {
	margin: 0 0 30px;

	&.alignnone,
	&.alignleft,
	&.alignright,
	&.aligncenter {
		margin-top: 0;
	}
}

.entry-meta {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 11px;
	opacity: 0.9;
	margin: 0 0 10px;

	i {
		opacity: 0.5;
	}
}

.entry-time,
.entry-categories,
.entry-comments {
	margin-right: 10px;
}

.entry-title {
	font-size: 28px;

	a {
		color: $text-color;

		&:hover {
			color: $primary-color;
		}
	}
}

.entry-content {
	@include clearfix;
}


.entry-author {
	margin: 60px 0 70px;
	position: relative;

	figure.author-avatar {
		position: absolute;
		top: 5px;
		left: 0;

		img {
			display: inline-block;
		}
	}

	.author-details {
		margin-left: 115px;
	}

	.socials {
		float: none;
		display: inline-block;

		a {
			font-size: 18px;
			margin: 0 7px;
			padding: 0;
		}
	}
}


/* Pagination
=================================== */
#paging {
	margin: 40px 0 10px;

	ul {
		list-style: none;
		margin: 0;
		padding: 0;

		li {
			display: inline-block;
		}
	}

	a,
	> span,
	li span {
		display: inline-block;
		text-transform: uppercase;
		font-size: 13px;
		padding: 12px 18px;
		font-family: $secondary-font;
		font-weight: bold;
		margin: 0 3px 5px 0;
		line-height: normal;
		border-radius: 2px;
		background-color: rgba(black, 0.05);
		color: $text-color;
	}

	a:hover,
	.current {
		background-color: $primary-color;
		color: #FFF;
	}

	.current {

	}
}

/* Social Icons
=================================== */
.social-icon {
	width: 26px;
	height: 26px;
	line-height: 26px;
	background-color: transparent;
	color: inherit;
	border: 1px solid $text-color;
	font-size: 12px;
	border-radius: 26px;
	text-align: center;
	display: inline-block;
	opacity: 0.4;
	-webkit-transition: all 0.18s ease;
	transition: all 0.18s ease;
	margin: 0 2px;

	&:hover {
		opacity: 1;
		color: #FFF;
		border-color: $primary-color;
		background-color: $primary-color;
	}
}