// Tabs
.aye_tabs{

	&.vertical {
		.tabs .tab:last-child {
			border-bottom: none;
		}
	}

	.tabs .tab {
		border-right: 1px solid #ccc;
		border-bottom: 1px solid #ccc;

		&.active {
			font-weight: bold;
		}
	}
}

// Buttons
.aye_button {
	display: inline-block;
	line-height: 36px;
	background: #007acc;
	color: #fff;
	padding: 5px 15px;
	font-size: 16px;
	transition: all 0.3s;
	position: relative;
	text-decoration: none;
	box-shadow: none;

	.fa {
		padding-right: 7px;
	}

	&:hover {
		opacity: 0.8;
		color: #fff;
	}
}


// CTA Row
.aye_cta {
	padding: 3%;
	overflow: hidden;
	width: 110%;
	margin-left: -5%;
	color: #fff;
	margin-top: 30px;
	margin-bottom: 30px;
	vertical-align: middle;
	line-height: 48px;

	&.left {

		.aye_button {
			float: left;
			margin-right: 20px;
		}
	}

	&.right {

		.aye_button {
			float: right;
			margin-left: 20px;
		}
	}

	&.center {
		text-align: center;

		.aye_button {
			clear: both;
			margin: 0 auto;
			margin-top: 15px;
			display: table;
		}
	}

	.aye_button {
		border-width: 2px;
		border-style: solid;
		border-color: inherit;
		box-shadow: none;
		color: inherit;
	}
}

.aye_pricing_table {
	padding: 20px;
	transition: all 0.3s;

	p {
		display: none;
	}

	&:nth-child(odd) {
		background: rgba(black, 0.02);
	}

	&.aye_pricing_highlighted {
		box-shadow: 0 0 0 2px rgba(tomato, 0.7) inset, 0 0 15px 0 rgba(black, 0.1);
		border-radius: 2px;
	}

	&:hover {
		&.aye_pricing_highlighted {
			box-shadow: 0 0 0 2px rgba(tomato, 0.9) inset, 0 0 20px 0 rgba(black, 0.1);
		}
	}

	.aye_pricing_title {
		margin-bottom: 20px;

		span {
			width: 100%;
			text-align: center;
			display: block;

			&.title {
				font-size: 22px;
			}

			&.price {
				font-size: 18px;
			}
		}
	}

	.aye_pricing_row {
		padding: 10px 0;
		font-size: 14px;
		text-align: center;
		display: block;
		border-top: 1px solid rgba(black, 0.1);
	}

	.aye_button {
		display: block;
	}
}

.aye_progress_bar {
	width: 100%;
	height: 30px;
	line-height: 30px;
	background: rgba(black, 0.15);
	margin: 5px 0;
	position: relative;
	color: #fff;

	.loading {
		height: 30px;
		position: absolute;
		background: #007acc;
		z-index: 1;
	}

	i, span {
		position: relative;
		z-index: 2;
	}

	i {
		margin: 5px;
	}

	span {
		font-size: 12px;
	}
}

.aye_message_box {
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	margin: 10px 0; 

	i {
		margin: 0 10px;
	}
}

.aye_drop_capital {
	float: left;
	font-size: 3em;
	padding-right: 0.4em;
	line-height: 1em;
	text-transform: uppercase;
}

.aye_blockquote {
	font-size: 1.5em;
	padding: 5%;
	line-height: 2em;
	font-style: italic;
	position: relative;

	&:before {
		content: open-quote;
		font-size: 8em;
		opacity: 0.1;
		position: absolute;
		bottom: -0.2em;
	}

	.author {
		position: absolute;
		color: rgba(black, 0.3);
		bottom: -0.4em; left: 10em;
		display: block;
		width: 100%;
		font-size: 0.7em;
	}
}

.aye_label {
	padding: 4px 8px;
	position: relative;
	margin: 3px;

	&:before {
		content: "";
		width: 0;
		height: 0;
		border-style: solid;
		border-color: inherit;
		border-width: 5px;
		margin: auto;
	}

	&.left:before,
	&.right:before {
		top: 0; bottom: 0;
	}

	&.top:before,
	&.bottom:before {
		left: 0; right: 0;
	}

	&.left {

		&:before {
			border-top-color: transparent;
			border-bottom-color: transparent;
			border-left-color: transparent;
			left: -10px;
			position: absolute;
		}
	}

	&.right {

		&:before {
			border-top-color: transparent;
			border-bottom-color: transparent;
			border-right-color: transparent;
			right: -10px;
			position: absolute;
		}
	}

	&.bottom {

		&:before {
			border-bottom-color: transparent;
			border-right-color: transparent;
			border-left-color: transparent;
			bottom: -10px;
			position: absolute;
		}
	}

	&.top {

		&:before {
			border-top-color: transparent;
			border-right-color: transparent;
			border-left-color: transparent;
			top: -10px;
			position: absolute;
		}
	}
}

.aye_accordion {
	border: 1px solid #ccc;
	margin-bottom: 5px;

	.aye_accordion_title {
		padding: 10px;
		background: rgba(#ccc, 0.3);

		&.active {
			font-weight: bold;
		}
	}

	.aye_accordion_content {
		padding: 10px;
		display: none;
	}
}

.aye_divider_gotop {
	width: 100%;
	clear: both;
	text-align: right;
	font-size: 11px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #ccc;

	&:hover {
		cursor: pointer;
		text-decoration: underline;
	}
}

.aye_divider_headline {
	width: 100%;
	display: inline-block;
	position: relative;
	background-color: #fff;
	border-color: #ccc;

	&:before,
	&:after {
		content: "";
		position: absolute;
		z-index: 1;
		border-bottom-style: solid;
		border-bottom-color: inherit;
		border-bottom-width: 1px;
		width: 100%;
		display: block;
	}

	&:before {
		top: 40%;
	}

	&:after {
		bottom: 40%;
	}

	span {
		background-color: inherit;
		position: relative;
		z-index: 2;
		margin-left: 15px;
		margin-right: 15px;
		padding: 0 15px;
		color: inherit;
	}

	p {
		display: inline;
	}
}

.aye_lead_paragraph {
	font-size: 1.15em;
	font-weight: 600;
}

.aye_tooltip {
	text-decoration: underline;
	position: relative;
	
	&:after,
	&:before {
		display: none;
	}

	&:hover {
		text-decoration: none;
		
		&:after,
		&:before {
			display: block;
		}
	}

	&:after {
		padding: 2px 8px;
		background: rgba(black, 0.7);
		color: #fff;
		content: attr(data-tooltip);
		border-radius: 2px;
		font-size: 12px;
		position: absolute;
		top: -25px;
		text-align: center;    
		white-space: nowrap;
		transform: translateX(-50%) translateY(-2px);
		left: 50%;
	}

	&:before {
		content: "";
		border: 5px solid rgba(black, 0.7);
		left: 0; right: 0;
		top: -2px;
		border-bottom: 5px solid transparent;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		position: absolute;
		width: 0;
		height: 0;
		margin: auto;
	}
}

.aye_before_after {
	width: 100%;
	position: relative;

	&:hover {
		cursor: col-resize;
	}

	.before,
	.after {
		position: absolute;
		overflow: hidden;
	}

	img {
		width: 100%;
		max-width: inherit;
	}

	.before {
		z-index: 1;
	}

	.after {
		z-index: 2;
	}

	.border {
		z-index: 3;
		height: 100%;
		position: absolute;
		border: none;
		box-shadow: 0 0 0 2px rgba(white, 0.4);
	}
}