html {
	background: grey;
	font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif;
	border-radius: 3px;
}

body {
	margin: 0;
	border-radius: 3px;
}

#container {
	width: 864px;
	height: 1066px;
	background: white;
	position: relative;
	background: rgb(102, 190, 225);
	color: white;
	margin: auto; /* ONLY FOR DEV */
	border-radius: 3px;
}

header {
	background: url(../images/header.png);
}

#info {
	background: rgb(235, 58, 37);
	width: 165px;
	height: 37px;
	position: absolute;
	top: 0;
	right: 40px;
	border: 1px solid white;
	border-top: none;
	padding: 0 15px;
	text-align: left;
	color: white;
}

#info:before {
	border: 6px solid rgb(235, 58, 37);
	border-top: none;
	content: " ";
	position: absolute;
	top: 0;
	left: -7px;
	right: 0;
	bottom: -7px;
	width: 165px;
	border-radius: 0 0 3px 3px;
}

#info:hover {
	cursor: pointer;
}

#info img {
	width: 16px;
	height: 16px;
	position: absolute;
	top: 10px;
	right: 10px;
}

h1 {
	border-bottom: 1px dotted rgb(45, 145, 201);
	margin: 0;
	padding: 27px 48px;
	color: white;
	font-size: 26px;
	font-weight: normal;
}

h1 img {
	position: absolute;
	left: 0px;
	top: 18px;
}

#introduction p {
	width: 550px;
	line-height: 22px;
	padding-left: 48px;
}

nav#section-tabs {
	padding-left: 48px;
}

nav#section-tabs button {
	width: 156px;
	height: 45px;
	margin-right: 7px;
	text-transform: uppercase;
	border: none;
	color: white;
	position: relative;
	text-align: left;
	padding-left: 43px;
	border-radius: 3px 3px 0 0;
}

nav#section-tabs button:hover {
	cursor: pointer;
}

nav#section-tabs button.selected:hover {
	cursor: default;
}

nav#section-tabs button span {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	background: white;
	position: absolute;
	left: 13px;
	top: 13px;
	text-align: center;
	color: black;
	line-height: 21px;
	pointer-events: none;
}

nav#section-tabs button#essentials {
	background: rgb(240, 91, 75);
}

nav#section-tabs button#nice-to-have {
	background: rgb(255, 182, 77);
}

nav#section-tabs button#luxuries {
	background: rgb(36, 173, 128);
}

nav#section-tabs button#essentials span {
	color: rgb(240, 91, 75);
}

nav#section-tabs button#nice-to-have span {
	color: rgb(255, 182, 77);
}

nav#section-tabs button#luxuries span {
	color: rgb(36, 173, 128);
}

nav#section-tabs button#essentials.selected {
	background: white;
	color: rgb(240, 91, 75);
}

nav#section-tabs button#nice-to-have.selected {
	background: white;
	color: rgb(255, 182, 77);
}

nav#section-tabs button#luxuries.selected {
	background: white;
	color: rgb(36, 173, 128);
}

nav#section-tabs button#essentials.selected span {
	color: white;
	background: rgb(240, 91, 75);
}

nav#section-tabs button#nice-to-have.selected span {
	color: white;
	background: rgb(255, 182, 77);
}

nav#section-tabs button#luxuries.selected span {
	color: white;
	background: rgb(36, 173, 128);
}

.planner {
	color: rgb(102, 102, 102);
}

.planner aside {
	float: left;
	width: 282px;
	background: white;
	padding: 74px 0 24px 31px;
}

.planner aside .wrapper {
	border-right: 2px dotted rgb(205, 205, 205);
	position: relative;
}

.planner aside h6 {
	text-transform: uppercase;
	margin: 0;
	font-weight: normal;
}

.planner aside .value-box {
	display: inline-block;
	text-align: center;
	width: 150px;
}

.planner aside .value-box em {
	font-style: normal;
	font-size: 16px;
}

.planner aside .value-box em .value {
	font-size: 18px;
}

.planner aside #total-spending em {
	font-style: normal;
	font-size: 28px;
}

.planner aside #total-spending em .value {
	font-size: 30px;
}

.planner aside #pension-info {
	text-align: right;
	margin: 0 6px 23px 0;
}

.planner aside #pension-info .value-box {
	margin-bottom: 30px;
}

.planner aside #pension-info .value-box h6 {
	margin: 10px 0;
}

.planner aside #pension-info .value-box em {
	padding: 12px 0;
	background: rgb(204, 204, 204);
	border-radius: 3px;
	display: inline-block;
	width: 81px;
}

.slider-marker {
	display: inline-block;
	width: 0;
	height: 355px;
	border-left: 2px dotted rgb(204, 204, 204);
	position: absolute;
}

.slider-marker.left {
	left: 141px;
}

.slider-marker.middle {
	left: 260px;
}

.slider-marker.right {
	left: 379px;
}

#nice-to-have-section .slider-marker {
	height: 225px;
}

#luxuries-section .slider-marker {
	height: 295px;
}

#chart {
	display: inline-block;
	width: 230px;
	height: 368px;
	border-bottom: 3px solid rgb(102, 102, 102);
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

#chart hr {
	position: absolute;
	bottom: 183px;
	left: 0;
	width: 100%;
	border:1px dotted rgb(206, 206, 206);
	margin: 0;
	z-index: 2;
}

#chart-wrapper {
	position: absolute;
	height: 140px;
	bottom: 184px;
}

.bar {
	display: inline-block;
	width: 46px;
	position: absolute;
	left: 32px;
	z-index: 1;
	-o-transition: bottom 400ms, height 400ms; 
	-moz-transition: bottom 400ms, height 400ms; 
	-webkit-transition: bottom 400ms, height 400ms; 
	transition: bottom 400ms, height 400ms; 
}

.bar#state-pension-bar {
	background: rgb(203, 81, 62);
	height: 184px;
	bottom: 0;
}

.bar#essentials-bar {
	background: rgb(240, 91, 75);
	height: 0;
	bottom: 0;
	left: 0;
}

.bar#nice-to-have-bar {
	background: rgb(255, 182, 77);
	height: 0;
	bottom: 0;
	left: 0;
}

.bar#luxuries-bar {
	background: rgb(36, 173, 128);
	height: 0;
	bottom: 0;
	left: 0;
}

#target-income {
	margin-top: 23px;
	padding-top: 31px;
}

#target-income h4 {
	text-transform: uppercase;
	font-size: 15px;
	margin: 0;
}

#target-income em {
	margin-top: 14px;
	display: inline-block;
	padding: 18px 0;
	background-color: rgb(102, 102, 102);
	width: 231px;
	text-align: center;
	color: white;
	font-size: 26px;
	font-style: normal;
	border-radius: 3px;
}

.form {
	float: left;
	width: 551px;
	background: white;
	position: relative;
	height: 598px;
}

.headings {
	text-align: right;
}

.headings h6 {
	display: inline-block;
	width: 75px;
	margin: 19px;
	text-align: center;
	text-transform: uppercase;
	font-weight: normal;
}

table {
	margin: 16px;
	margin-bottom: 0;
	width: 518px;
}

td {
	height: 50px;
	padding-bottom: 16px;
}

.label-cell {
	font-size: 14px;
	width: 80px;
	padding-right: 40px;
}

#nice-to-have-section .label-cell {
	width: 100px;
	padding-right: 20px;
}

.other .label-cell {
	text-align: right;
	padding-right: 0;
	position: relative;
	left: 20px;
}

#nice-to-have-section .other .label-cell {
	padding-right: 0;
}

.slider-cell {
	width: 238px;
}

.slider {
	height: 6px;
}

.value-cell {
	text-align: right;
	color: white;
}

.value-cell label {
	background: rgb(102, 102, 102);
	padding: 16px 0 16px 9px;
	font-size: 16px;
	border-radius: 3px;
}

.value-cell input {
	width: 55px;
	border: none;
	background: none;
	font-size: 18px;
	color: white;
}

.value-cell input::-webkit-input-placeholder { /* WebKit browsers */
    color:    white;
}
.value-cell input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    white;
   opacity:  1;
}
.value-cell input::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    white;
   opacity:  1;
}
.value-cell input:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    white;
}

.noUi-target {
	border: none;
	box-shadow: none;
}

.noUi-origin {
	-o-transition: left 300ms;
	-moz-transition: left 300ms;
	-webkit-transition: left 300ms;
	transition: left 300ms;
}

.noUi-base:hover {
	cursor: pointer;
}

.noUi-horizontal .noUi-handle {
	width: 50px;
	height: 50px;
	left: -25px;
	top: -22px;
	border-radius: 25px;
	border: none;
	box-shadow: none;
	background-repeat: no-repeat;
	background-position: center;
}

.noUi-handle::before, .noUi-handle::after {
	content: none;
}

.noUi-handle:hover {
	cursor: pointer;
}

.form#essentials-section .noUi-target {
	background: rgb(240, 91, 75);
}

.form#essentials-section .noUi-handle {
	background-color: rgb(240, 91, 75);
}

.form#nice-to-have-section .noUi-target {
	background: rgb(255, 182, 77);
}

.form#nice-to-have-section .noUi-handle {
	background-color: rgb(255, 182, 77);
}

.form#luxuries-section .noUi-target {
	background: rgb(36, 173, 128);
}

.form#luxuries-section .noUi-handle {
	background-color: rgb(36, 173, 128);
}

.disabled, .disabled .noUi-handle {
	background-color: rgb(204, 204, 204) !important;
}

.section-total {
	position: absolute;
	bottom: 28px;
}

.section-total .calendar-type-select {
	background: rgb(247, 247, 247);
	border-radius: 3px;
	margin-left: 16px;
	display: inline-block;
	padding-right: 16px;
}

.section-total h6 {
	display: inline-block;
	margin: 19px;
	text-align: center;
	text-transform: uppercase;
	font-weight: normal;
}

.section-total label {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 0.67em;
}

.section-total input {
	position: relative;
	top: 2px;
	height: 11px;
}

.section-total h4 {
	display: inline-block;
	margin-left: 20px;
}

.section-total em {
	padding: 16px 0 16px 14px;
	font-size: 16px;
	font-style: normal;
	border-radius: 3px;
	display: inline-block;
	width: 60px;
	color: white;
	position: relative;
	left: 48px;
}

#essentials-section .section-total em {
	background: rgb(240, 91, 75);
}

#nice-to-have-section .section-total em {
	background: rgb(255, 182, 77);
}

#luxuries-section .section-total em {
	background: rgb(36, 173, 128);
}

.section-total .value {
	font-size: 18px;
}

#buttons {
	clear: both;
	background: rgb(247, 247, 247);
	padding: 35px 31px;
	text-align: right;
}

#buttons button {
	height: 32px;
	border-radius: 16px;
	background: rgb(0, 51, 141);
	border: none;
	color: white;
	position: relative;
	padding: 0 40px 0 12px;
	margin-left: 5px;
}

#buttons button:hover {
	cursor: pointer;
}

#buttons button img {
	width: 20px;
	height: 20px;
	position: absolute;
	top: 6px;
	right: 8px;
}

footer {
	background: url(../images/footer.png);
	height: 115px;
}

.hidden {
	display: none;
}

/* SLIDER IMAGES */
#groceries .noUi-handle {
	background-image: url(../images/groceries.png);
}

#clothing .noUi-handle {
	background-image: url(../images/clothing.png);
}

#household .noUi-handle {
	background-image: url(../images/household.png);
}

#healthcare .noUi-handle {
	background-image: url(../images/healthcare.png);
}

#transport .noUi-handle {
	background-image: url(../images/transport.png);
}

#home-improvements .noUi-handle {
	background-image: url(../images/home.png);
}

#car-maintenance .noUi-handle {
	background-image: url(../images/car.png);
}

#leisure-and-hobbies .noUi-handle {
	background-image: url(../images/leisure.png);
}

#treats .noUi-handle {
	background-image: url(../images/treats.png);
}

#restaurants .noUi-handle {
	background-image: url(../images/restaurants.png);
}

#holidays .noUi-handle {
	background-image: url(../images/holidays.png);
}

#gifts .noUi-handle {
	background-image: url(../images/gifts.png);
}