/*
Created for:
Authors: Brandon Teller
Author URL: http://www.brandonteller.com
*/

body {
	margin: 0;
	padding: 0;
	color: white;
	background: #f2f2f2;
	font-family: 'Lato', sans-serif;
}

/* =Global */

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

a {
	text-decoration: none;
	color: inherit;
}

p {
	margin: 0px;
	padding: 0px;
}

input {
	font-family: inherit;
	font-weight: inherit;
}

input[type="text"], input[type="email"], input[type="phone"], input[type="password"], textarea {
	border: none;
	outline: none;
	font-family: inherit;
}

input[type="submit"] {
	font-family: inherit;
	border: none;
	outline: none;
}

input[type="submit"], button {
	-webkit-appearance: none;
	-moz-appearance: none;
}

.overlay-window {
	position: fixed;
	z-index: 99;
	background: rgba(255,255,255,0.71);
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	display: none;
}

.avatar {
	background-position: center center !important;
	background-size: cover !important;
}

/* =Header */

header#header {
	position: fixed;
	top: 0px;
	right: 0px;
	width: 75%;
	height: 53px;
	background: white;
	z-index: 9999;
}

header#header .avatar {
	float: right;
	width: 53px;
	height: 53px;
	background: grey;
	position: relative;
}

header#header .dropdown {
	position: absolute;
	top: 52px;
	right: 0px;
	background: white;
	overflow: hidden;
	height: 100px;
	width: 100px;
	border: 1px solid #ccc;
	z-index: 9999;
	display: none;
}

.avatar:hover .dropdown {
	display: block;
}

/* Logged Out Header */

header#header-out #container {
	width: 100%;
	max-width: 1060px;
	margin: 0px auto;
}

header#header-out {
	width: 100%;
	background: #ffffff;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 999999;
	border-bottom: 1px solid #ebebeb;
	position: fixed;
	height: 53px;
}

header#header-out {
	position: fixed;
	height: 53px;
}

.login-button {
	float: right;
	padding: 5px 12px;
	font-size: 14px;
	font-weight: 300;
	background: #254361;
	color: white;
	margin: 12px 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.login-button:hover {
	background: #1060b0;
}

.start-button {
	float: center;
	padding: 5px 12px;
	font-size: 14px;
	font-weight: 300;
	background: #254361;
	color: white;
	margin: 12px 15px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.start-button:hover {
	background: #1060b0;
}

.home-buffer {
	height: 53px;
}

.logo-home {
	float: left;
	font-size: 24px;
	font-weight: 300;
	color: white;
	margin: 48px 15px;
	width: 180px;
	height: 30px;
}

header#header-out .logo-home {
	height: 24px;
	margin: 13px 15px;
}

header#header-out .login-button {
	margin: 50px 15px;
}

header#header-out .login-button {
	margin: 12px 15px;
}

header#header-out nav {
	margin: 15px 0px;
	float: right;
}

.logo {
	background-image: url(logo.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

header#header-out nav a {
	padding: 5px 12px;
	font-size: 14px;
	font-weight: 300;
/* 	background: #254361; */
	color: #323232;
	margin: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

header#header-out nav a:hover {
	background: #254361;
	color: white;
}

/* =Sidebar */
aside {
	width: 25%;
	float: left;
	background: #1F6DBB;
	top: 0px;
	left: 0px;
	position: fixed;
	height: 100%;
	z-index: 9999;
	overflow-y: auto;
	overflow-x: scroll;
	color: white;
}

aside header {
	width: 100%;
	height: 53px;
	background: #254361;
	text-align: center;
	margin-bottom: 2px;
	font-size: 24px;
	font-weight: 300;
	position: relative;
}

aside header span {
	top: 10px;
	position: relative;
}

.nav-item {
	width: 90%;
	background: #254361;
	font-size: 18px;
	padding: 20px 0px 20px 10%;
	display: block;
	color: white;
	margin-bottom: 2px;
	font-weight: 300;
	position: relative;
}

.nav-item:hover, .nav-item.active {
	border-left: 4px solid #254361;
	width: calc(90%);
	padding-left: calc(10% - 4px);
	background: #1060b0;
}

.nav-item span {
	float: right;
	color: #254361;
	font-size: 12px;
	position: absolute;
	right: 10px;
	top: 10px;
}

.add-new-bill {
	width: 100%;
	text-align: center;
	padding: 25px 0px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: #254361;
	font-size: 20px;
	font-weight: 300;
}

.add-new-bill:hover {
	background: #80b30e;
}

/* =Content */

#content {
	float: right;
	width: 75%;
	margin-top: 53px;
}

.header-bar {
	width: 100%;
	width: calc(100% - 2%);
	background: #254361;
	font-weight: 300;
	font-size: 20px;
	padding: 1% 1%;
	position: relative;
}

.dashboard-stat {
	width: 90%;
	width: calc(100% - 2%);
	border-bottom: 1px solid #D5D5D5;
	padding: 1%;
	background: #eeeded;
	overflow: hidden;
	display: block;
}

a.dashboard-stat:hover {
	background: #e8e8e8;
}

.dashboard-stat h1 {
	color: #1F6DBB;
	font-weight: 300;
	font-size: 30px;
	float: left;
}

.dashboard-stat span {
	float: right;
	font-weight: 300;
	font-size: 30px;
	color: #254361;
}

.dashboard-stat.past-due-flag span {
	color: red;
}

.header-bar .view-all {
	font-size: 20px;
	padding: 1% 2%;
	background: #1F6DBB;
	position: absolute;
	right: 0px;
	top: 0px;
	text-align: center;
}

.add-new-form {
	position: relative;
}

.add-new-form h1 {
	text-align: right;
	width: 30%;
}

.add-new-form input[type="text"], .add-new-form input[type="password"], .add-new-form input[type="file"] {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 100%;
	font-size: 18px;
	text-align: center;
	width: 65%;
	font-weight: 300;
}

.add-new-form input[type="file"] {
	color: black;
	margin-top: 15px;
}

.add-new-form p {
	display: block;
	width: 65%;
	text-align: center;
	float: right;
	font-size: 24px;
	font-weight: 300;
	color: #254361;
}

input[type="submit"].submit-add-new, a.submit-add-new {
	width: 65%;
	font-size: 30px;
	padding: 1% 0;
	text-align: center;
	font-weight: 300;
	background: #254361;
	color: white;
	cursor: pointer;
	float: right;
}

input[type="submit"].submit-add-new:hover, .view-bill-buttons:hover, a.submit-add-new:hover {
	background: #1060b0;
}

.logout {
	width: 35%;
	float: left;
	background: #ae1616;
	font-size: 30px;
	padding: 1% 0;
	font-weight: 300;
	text-align: center;
}

.view-bill-buttons {
	width: 33.33%;
	float: left;
	font-size: 18px;
	padding: 1% 0;
	background: #254361;
	font-weight: 300;
	text-align: center;
}

.view-bill-buttons.delete {
	background: #ae1616;
}

.view-bill-buttons.paid {
	background: #254361;
}

/* =Login */

#login {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	margin-left: -200px;
	font-size: 18px;
	font-weight: 300;
	margin-top: -90px;
}

#login input {
	width: 100%;
	padding: 10px 0px;
	font-size: 18px;
}

#login input[type="text"], #login input[type="email"], #login input[type="password"] {
	padding-left: 10px;
}

#login input[type='submit'] {
	background: #254361;
	color: white;
	font-size: 18px;
	font-weight: 300;
}

#login p {
	width: 100%;
	text-align: center;
	margin: 0px 0px 20px;
	color: #363636;
}

#login a {
	text-align: center;
	color: #254361;
	margin-top: 16px;
	width: 100%;
	display: block;
}

#login a:hover {
	text-decoration: underline;
}

#login .message {
	width: 100%;
	text-align: center;
	padding: 10px 0px;
	font-size: 18px;
	background: #254361;
	color: white;
	font-weight: 300;
}

#login .message.error {
	background: #c40000;
}

/* =Sign up */

.pro-signup {
	color: #333;
	text-align: center;
	font-weight: 300;
	font-size: 14px;
/* 	width: calc(75% - 40px) !important; */
	padding: 50px 0px;
}

.pro-signup a.button-pro {
	width: 100%;
	max-width: 500px;
	background: #1f6dba;
	color: white;
	padding: 5px 15px;
	border: 1px solid #1965af;
	border-radius: 5px;
	overflow: hidden;
	display: block;
	margin: 20px auto;
}

.pro-signup p {
	overflow: hidden;
}

.pro-signup p.text-sign-up {
	width: calc(100% - 40px);
	padding: 0px 20px;
}

.pro-signup #register {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	margin: 0px auto;
	color: #333 !important;
}

.pro-signup #register p {
	color: #333;
}

.pro-signup input[type="radio"] {
	display: none;
}

.pro-signup input[type="radio"] + label {
	width: 100%;
	background: #254361;
	color: white;
	text-align: center;
	font-size: 18px;
	padding: 10px 0px;
	display: block;
	font-weight: 300;
	cursor: pointer;
}

.pro-signup input[type="radio"]:checked + label {
	background: #0d539a;
}

/* =Home Page */

#section-1 {
	width: 100%;
	height: 600px;
	position: relative;
}

#section-1 .background {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	opacity: .05;
	/*
	background-image: url(img/money-2.jpg);
	 */
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

#section-2 {
	width: 100%;
	height: 615px;
	background: #254361;
}

#section-2 .center-text {
	color: white !important;
	top: 180px !important;
}

#section-3 {
	width: 100%;
	height: 600px;
	position: relative;
}

#section-4 {
	width: 100%;
	height: 600px;
	background: #ffffff;
}

#section-5 {
	width: 100%;
	height: 600px;
	background: #254361;
}

#section-6 {
	width: 100%;
	height: 500px;
}

#section-3 .overlay {
	position: absolute;
	/*
	background-image: url(img/money-bg.png);
	 */
	background-size: 400px;
	background-repeat: no-repeat;
	background-position: right 20px bottom;
	background-attachment: fixed;
	opacity: .1;
	right: 0px;
	top: 0px;
	height: 100%;
	width: 100%;
}

.sections {
	position: relative;
	font-weight: 300;
}

.center-text {
	position: absolute;
	color: #363636;
	top: 50%;
	left: 50%;
	font-size: 18px;
	width: 400px;
	margin-left: -200px;
	margin-top: -90px;
	text-align: center;
}

.center-text.features {
	color: #262626;
	font-size: 21px;
}

.center-text.features ul {
	font-size: 18px;
}

.center-text a {
	color: #254361;
}

.center-text a:hover {
	text-decoration: underline;
}

.center-text h1 {
	color: #254361;
	font-weight: 300;
	font-size: 68px;
}

.center-text h2 {
/* 	color: #254361; */
	font-weight: 300;
	font-size: 24px;
	margin-bottom: 20px;
/* 	font-family: 'Yellowtail', cursive; */
}

#register {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	margin-left: -200px;
	margin-top: -180px;
	font-size: 18px;
}

#register input {
	width: 100%;
	padding: 10px 0px;
}

#register input[type="text"], #register input[type="email"], #register input[type="password"], #register input[type="phone"] {
/* 	padding-left: 10px; */
	font-size: 18px;
	text-align: center;
	border-bottom: 1px solid #f4f4f4;
}

#register input[type='submit'] {
	background: #254361;
	color: white;
	font-size: 18px;
	font-weight: 300;
}

#register textarea {
	width: 100%;
	height: 100px;
	font-size: 18px;
	font-weight: 300;
	text-align: center;
	padding: 10px 0px;
}

#register p {
	width: 100%;
	text-align: center;
	margin: 0px 0px 20px;
	color: white;
}

.device-image {
	max-width: 600px;
	width: 100%;
	position: absolute;
	bottom: 35px;
	left: 50%;
	margin-left: -300px;
}

.contact-form p {
	color: #363636 !important;
}

#social-media {
	width: 100%;
	display: block;
	background: #254361;
	text-align: center;
}

#social-media .icons {
	display: inline-block;
	width: 40px;
	height: 40px;
	background-size: contain;
	margin: 12px 5px;
	opacity: .8;
}

#social-media .icons:hover {
	opacity: 1;
}

#social-media .icons.twitter {color: white; background-image: url(img/twitter.svg);}
#social-media .icons.facebook {color: white; background-color: #254361; background-image: url(img/facebook.svg);}

/* =legal */

#terms-of-service {
	color: #333;
	font-size: 18px;
	font-weight: 300;
	margin-top: 80px;
}

#terms-of-service p {
	margin: 40px;
}

/* =FAQ  */

#section-faq {
	height: 600px;
}

.accordion {
	max-width: 1060px;
	width: 100%;
	width: calc(100% - 30px);
	margin: 80px auto;
	background: white;
	padding: 15px;
	max-width: calc(1060px - 30px);
}

.accordion p {
	color: #333;
}

.accordion h1 {
	font-weight: 500;
	font-size: 18px;
	color: white;
	cursor: pointer;
	background: #254361;
	font-weight: 300;
	padding: 15px;
}

.accordion p:first-of-type {
	display: block;
}

.accordion p {
	display: none;
	padding: 15px;
	background: #fcfcfc;
	border: 1px solid #ececec;
}

/* =Features */

#section-features {
	background: #254361;
	color: white;
	overflow: hidden;
	min-height: 100px;
	padding: 80px 0px;
}

.features-holder {
	width: 100%;
	max-width: 1060px;
	margin: 0px auto;
	text-align: center;
}

.features-holder h1 {
	font-weight: 300;
	font-size: 32px;
}

.features-holder h2 {
	font-weight: 300;
	font-size: 18px;	
}

.features-holder .feature {
	width: 50%;
	width: calc(50% - 30px);
	margin: 15px;
	float: left;
	display: block;
	height: 425px;
}

.feature .image-feature {
	width: 100%;
	height: 300px;
	background-size: cover;
/* 	background-size: 120%; */
	background-position: center center;
	margin: 20px 0px 0px;
	-webkit-transition: background-image 0.2s ease-in-out;
	transition: background-image 0.2s ease-in-out;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.feature .image-feature:hover {
	background-size: cover;
}

.feature h3 {
	font-size: 18px;
	font-weight: 300;
	margin: 20px 0px 8px;
}

#section-pricing {
	min-height: 600px;
	margin-top: 40px;
}

#section-pricing .pricing-holder {
	width: 100%;
	max-width: 1060px;
	margin: 0px auto;
	text-align: center;
	color: #333;
}

#section-pricing .pricing-holder h1 {
	font-weight: 300;
	font-style: 32px;
}

#section-pricing .pricing-holder h2 {
	font-weight: 300;
	font-style: 19px;
}

.plans {
	max-width: 1060px;
	width: 100%;
	width: calc(100% - 30px);
	margin: 80px auto;
	background: white;
	padding: 15px;
	max-width: calc(1060px - 30px);
	overflow: hidden;
}

.plans header {
	font-size: 18px;
	color: white;
	background: #254361;
	font-weight: 300;
	padding: 15px;
	overflow: hidden;
}

.plans .left {
	float: left;
	width: 50%;
	overflow: hidden;
}

.plans .right {
	float: right;
	width: 50%;
	overflow: hidden;
}

.plans .form-row {
	font-size: 18px;
	font-weight: 300;
	text-align: left;
	padding: 15px;
	width: 100%;
	width: calc(100% - 32px);
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	overflow: hidden;
}
.plans .form-row input {
	font-size: 18px;
}

.plans .row {
	font-size: 18px;
	font-weight: 300;
	padding: 15px;
	width: 100%;
	width: calc(100% - 32px);
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	overflow: hidden;
}

.plans .track-button {
	display: block;
	width: 100%;
	padding: 15px 0px;
	font-size: 18px;
	background: #404040;
	color: white;
	font-weight: 500;
	float: center;
	font-style: italic;
}

.plans .track-button span {
	display: block;
	width: 100%;
	font-weight: 300;
	font-size: 16px;
}

.plans .add-device-button {
	display: block;
	width: 100%;
	padding: 15px 0px;
	font-size: 18px;
	background: #404040;
	color: white;
	font-weight: 500;
	float: center;
	font-style: italic;
}

.plans .add-device-button span {
	display: block;
	width: 100%;
	font-weight: 300;
	font-size: 16px;
}

.plans .price-button {
	display: block;
	width: 25%;
	padding: 15px 0px;
	font-size: 18px;
	background: #404040;
	color: white;
	font-weight: 500;
	float: left;
	font-style: italic;
}

.plans .price-button span {
	display: block;
	width: 100%;
	font-weight: 300;
	font-size: 16px;
}

/* =Footer */

footer:last-of-type {
	
}

footer#footer-home {
	width: 100%;
/* 	height: 250px; */
	display: block;
	background: white;
}

/* Hide for mobile */

.hamburger {
	display: none;
}

@media screen and (max-width: 960px) {

	aside {
		width: 300px;
		left: -300px;
	}

	#content {
		width: 100%;
		position: relative;
	}

	header#header {
		width: 100%;
		left: 0;
	}

	.hamburger {
		display: block;
		width: 28px;
		padding-left: 15px;
		padding-top: 16px;
		cursor: pointer;
		float: left;
		z-index: 9999;
		position: relative;
	}

	header#header input {
		float: right;
		width: calc(100% - 50px);
		position: absolute;
		top: 0px;
		right: 0px;
	}
	
	.header-bar {
		padding: 2%;
		width: calc(100% - 4%);
	}
	
	.header-bar .view-all {
		padding: 2%;
	}

}

@media screen and (max-width: 600px) {
	
/* 	=Home Page Movile */
	
	header#header-out nav {
		margin: 12px 0px;
		display: none;
	}
	
	header#header-out .login-button {
		margin: 12px 15px;
	}
	
	header#header-out .logo-home {
		height: 24px;
		margin: 13px 15px;
	}
	
	header#header-out {
		position: fixed;
		height: 53px;
	}
	
	.home-buffer {
		height: 0px;
	}
	
	#register {
		width: 94%;
		position: relative;
		margin: 100px auto 0px;
		top: auto;
		left: auto;
	}
	
	.sections {
		overflow: hidden;
	}
	
	.center-text {
		width: 94%;
		position: relative;
		top: auto;
		left: auto;
		margin: 190px auto 0px;
	}
	
	.device-image {
		width: 94%;
		position: relative;
		margin: 0px auto;
		left: auto;
		bottom: auto;
		display: block;
	}
	
	#section-2 .center-text {
		top: -90px !important;
	}
	
/* 	=Login page for mobile */
	
	#login {
		width: 94%;
		position: relative;
		left: auto;
		top: auto;
		margin: 200px auto 0px;
	}
	
/* 	=Application styling for mobile */

	.dashboard-stat span {
		white-space: nowrap;
		width: 45%;
		text-overflow: ellipsis;
		font-size: 24px;
		overflow: hidden;
		text-align: right;
	}
	
	.dashboard-stat h1 {
		white-space: nowrap;
		width: 45%;
		text-overflow: ellipsis;
		font-size: 24px;
		overflow: hidden;
	}
	
	.dashboard-stat {
		padding: 3%;
		width: calc(100% - 6%);
	}
	
	.header-bar {
		padding: 3%;
		width: calc(100% - 6%);
	}
	
	.header-bar .view-all {
		padding: 3%;
	}	
	
	.view-bill-buttons {
		padding: 3% 0;
	}
	
	.add-new-form {
		position: relative;
	}
	
	.add-new-form.dashboard-stat h1 {
		width: 100%;
		text-align: center;
	}
	
	.add-new-form input[type="text"], .add-new-form input[type="password"], .add-new-form input[type="file"] {
		height: auto;
		position: relative;
		text-align: center;
		padding: 10px 0px;
		width: 100%;
		margin-top: 5px;
	}
	
	input[type="submit"].submit-add-new, a.submit-add-new {
		width: 100%;
		display: block;
		padding: 3% 0;
	}
	
	.logout {
		width: 100%;
		padding: 3% 0;
	}
}
