/*
Theme Name: Acele
Version: 1.0
Author: SposobStudio
*/
/*
	+ General
	+ Header
		- Main Header
		- Mobile Header
	+ Hero
	+ Features
	+ Devices
	+ Fun Facts
	+ Screenshots
	+ Testimonials
	+ Video
	+ Questions
	+ Pricing
	+ Download
	+ Contact
	+ Footer
*/
/*------------------------------------------------------------------
	+ General
-------------------------------------------------------------------*/

// Define Acele Colors
$primary_color: #865dbd;
$primary_color_rgba: rgba(134,93,189, 0.9);
$white: #fff;
$black: #111;
$light_grey: #f7f7f7;

// Hover Transition
@mixin hover_transition($time) {
	-webkit-transition: all $time ease;
	-moz-transition: all $time ease;
	-ms-transition: all $time ease;
	-o-transition: all $time ease;
	transition: all $time ease;
}

// Animaion Delay
@mixin animation_delay($time) {
	-webkit-animation-delay: $time;
	-moz-animation-delay: $time;
	-ms-animation-delay: $time;
	-o-animation-delay: $time;
	animation-delay: $time;
}

// Fonts Import
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700|Raleway:400,700,800);

// General Style
body {
	position: relative;
}

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

a,
a:link,
a:active {
	text-decoration: none;
	outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

h1,
h2,
h3,
h5,
h6 {
	font-family: "Raleway", Arial, sans-serif;
	text-transform: uppercase;
}

h2,
h3,
h4 {
	text-transform: lowercase;
}

h4,
p {
	font-family: "Open Sans", Arial, sans-serif;
}

h1,
h4 {
	color: $white;
	letter-spacing: 1px;
}

h2,
h3,
h5,
h6 {
	color: $black;
	letter-spacing: 2px;
}

h1,
h4,
h5,
h6 {
	font-weight: 700;
}

h2,
h3 {
	margin-bottom: 50px;
	font-weight: 800;
}

h1 {
	font-size: 100px;
}

h2 {
	font-size: 48px;
}

h3 {
	font-size: 36px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 14px;
}

p {
	color: $black;
	font-size: 14px;
	line-height: 30px;
	letter-spacing: 0.5px;

	@media screen and (max-width: 991px) {
		font-size: 15px;
	}
}

input,
textarea,
button {
	border: none;
	outline: none;
}

// Acele Buttons
.btn_acele {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 15px 50px;
	color: $white;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-transform: lowercase;
	letter-spacing: 1px;

	&::after {
		position: absolute;
		content: '';
		z-index: -1;
		width: 0%;
		height: 100%;
		top: 0;
		left: 0;
		@include hover_transition(0.3s);
	}

	&:hover::after,
	&:active::after {
		width: 100%;
	}
}

.btn_primary,
.btn_black {
	@include hover_transition(0.3s);
}

.btn_primary {
	-webkit-box-shadow:inset 0 0 0 2px $primary_color;
	box-shadow:inset 0 0 0 2px $primary_color;
	background: transparent;
	color: $primary_color;

	&::after {
		background: $primary_color;
	}

	&:visited {
		color: $primary_color; 
	}

	&:hover {
		color: $white;
	}
}

.btn_black {
	-webkit-box-shadow:inset 0 0 0 2px $black;
	box-shadow:inset 0 0 0 2px $black;
	background: transparent;
	color: $black;

	&::after {
		background: $primary_color;
	}

	&:visited {
		color: $black; 
	}

	&:hover {
		color: $white;
	}
}

.btn_white {
	-webkit-box-shadow:inset 0 0 0 2px $white;
	box-shadow:inset 0 0 0 2px $white;
	background: transparent;
	color: $white;

	&::after {
		background: $white;
	}

	&:visited {
		color: $white; 
	}

	&:hover {
		color: $primary_color;
	}
}

// Helper Classes
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-color: $primary_color_rgba;
}

.row {
	font-size: 0;
	
	.vam {
		float: none;
		display: inline-block;
		vertical-align: middle;

		@media screen and (max-width: 991px) {
			display: block;
		}
	}

	.vab {
		float: none;
		display: inline-block;
		vertical-align: baseline;

		@media screen and (max-width: 991px) {
			display: block;
		}
	}
}

// Slider Bullets
.bullets {

	@media screen and (max-width: 991px) {
		margin-top: 30px;
		text-align: center;
	}

	span {
		display: inline-block;
		vertical-align: middle;
		width: 20px;
		color: $black;
		opacity: 0.2;
		font-size: 30px;
		line-height: 30px;
		text-align: center;
		cursor: pointer;
		@include hover_transition(0.1s);

		&:hover {
			color: $primary_color;
			opacity: 1;
		}

		&.cycle-pager-active {
			color: $primary_color;
			opacity: 1;
			font-size: 60px;
		}
	}
}

// Loader
.loader {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 999999;
	background: $white;

	.spinner {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 40px;
		height: 40px;
		margin-top: -20px;
		margin-left: -20px;
	}

	.double-bounce1 {
		width: 100%;
		height: 100%;
		border-radius: 50%;
		background-color: $black;

		-webkit-animation: sk-bounce 2.0s infinite ease-in-out;
		animation: sk-bounce 2.0s infinite ease-in-out;
	}

	@-webkit-keyframes sk-bounce {
		0%, 100% { 
			-webkit-transform: scale(0.0);
			opacity: 0.3;
		} 50% { 
			-webkit-transform: scale(1.0); 
			opacity: 1;
		}
	}

	@keyframes sk-bounce {
		0%, 100% { 
			transform: scale(0.0);
			-webkit-transform: scale(0.0);
			opacity: 0.3;
		} 50% { 
			transform: scale(1.0);
			-webkit-transform: scale(1.0);
			opacity: 1;
		}
	}
}

// Aminate content
.animated {
	opacity: 0;
}

// Go To Top
#go_to_top {
	position: fixed;
	bottom: -50px;
	right: 20px;
	z-index: 99999;
	width: 40px;
	height: 40px;
	background: $black;
	text-align: center;
	line-height: 40px;
	@include hover_transition(0.3s);

	a {
		display: block;

		i {
			color: $white;
			font-size: 16px;
		}
	}
}

#go_to_top.show {
	bottom: 20px;
}