﻿a {
	cursor: pointer;
}
/*** BEGIN: ARTICLE styles ***/
.brochure article,
article.brochure {
	padding: 0px;
}
	.brochure article:after,
	article.brochure:after {
		clear: both;
		content: '';
		display: block;
	}
	.brochure article figure img,
	article.brochure figure img {
		width: 80%;
	}
	.brochure article figure figcaption,
	article.brochure figure figcaption {
		margin-bottom: 10px;
		font-weight: bold;
	}
	article.brochure figure figcaption {
		line-height: 1.5;
		/*min-height: 3em;*/
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
		-webkit-justify-content: end;
		justify-content: end;
	}
	.brochure article img.arrows,
	article.brochure img.arrows {
		height: 40px;
		width: auto;
		display: none;
	}
	.brochure article ul,
	article.brochure ul {
		padding-left: 0px;
	}
	.brochure article li,
	article.brochure li {
		background-image: url('../images/assets/Asset 9xhdpi.png');
		background-position: 2px;
		background-repeat: no-repeat;
		background-size: 25px;
		padding: 10px 50px 10px 50px;
		float: none;
		display: block;
		text-align: left;
	}
/*** END: ARTICLE styles ***/

.no-padding { padding: 0px; }
.padding-lr-5 { padding: 0px 5px; }
.padding-tb-10 { 
	padding-top: 10px; 
	padding-bottom: 10px; 
}
.padding-tb-20 { 
	padding-top: 20px; 
	padding-bottom: 20px; 
}
.padding-tb-40 { 
	padding-top: 40px; 
	padding-bottom: 40px; 
}

.no-margin { margin: 0px; }
.margin-tb-20 { 
	margin-top: 20px; 
	margin-bottom: 20px; 
}
.margin-b-40 { margin-bottom: 40px; }

.pb-text-md { font-size: 0.933em; } /*14px*/
.pb-text-lg { font-size: 1.267em; } /*19px*/

.pb-text-nav { font-size: 13px; } /*13px*/

footer, 
footer a, 
footer a:hover, 
.font-white { color: #ffffff; }

.bg-grey-light { background-color: #f7f7f7; }
.bg-grey { background-color: #ececec; }
.bg-grey-dark { background-color: #2d3037; }

.btn-brochure { margin: 10px 7px; }

.font-semi-bold { font-weight: 600; }
.font-bold { font-weight: bold; }
.font-normal { font-weight: normal; }

header .icon {
	vertical-align: sub;
}
footer ul {
	overflow: hidden;
	padding: 0;
	margin-bottom: 3em;
	font-weight: bold;
	text-align: center;
}

@media (min-width: 768px) {
	footer ul {
		text-align: left;
	}
}

footer {
	padding: 40px 0px;
	/*background: url('../images/assets/Asset 13hdpi.png') 0 0 repeat #2d3037;*/
	background: #2D3037;
	margin-top: 20px;
}
footer .partner {
	margin-bottom: 40px;
	text-align: right;
}
footer .partner img { height: 80px; }

footer ul li {
	display: inline-block;
	list-style-type: none;
}

footer .social-icons {
	margin-top: 4rem;
}

footer .social-icons a+a {
	margin-left: 10px;
}

footer .social-icons img {
	width: 32px;
}

@media (min-width: 768px) {
	footer .social-icons {
		margin-top: 0;
	}
}

footer .logo-sasfin {
	margin-top: 4rem;
}

.calendar i.fa {
	position: absolute;
	top: 0;
	right: 0;
	padding: 13px;
	border-left: 1px solid #cccccc;
}
.calendar {
	min-height: 41px;
	padding: 10px 1em;
	border: 1px solid #CCCCCC;
	position: relative;
}
.calculator .panel.clearfix,
.calculator .speech-arrow {
	padding-bottom: 0.5em;
}
.calculator .btn {
	box-shadow: 0px 1px 3px -1px #000;
}
.calculator .row.flex {
    display: flex;
}
.calculator .row.flex .panel,
.calculator .row.flex .panel-body {
    height: 100%;
}
.calculator {
	min-width: 320px;
}
.calculator hr {
	border-bottom-color: #AFAFAF;
	border-bottom-style: dashed;
	margin-bottom: 0;
	padding-top: 29px;
}
.calculator h4 {
	margin-bottom: 20px;
}
.calculator p {
	margin: 15px 0px 10px;
	padding: 0px 0px;
}
.calculator form > p:first-child {
    margin-top: 0;
}
.calculator .panel {
	margin-bottom: 0px;
}

.calculator .panel,
.calculator select {
	background-color: #efefef;
}
.calculator .panel.clickable:hover {
    border: 1px solid #35D1C6;
}
.calculator .panel.clickable {
	cursor: pointer;
	margin-bottom: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);
}
.calculator .panel.active:hover {
	text-decoration: none;
}
.calculator .panel.active {
	/*font-weight: bold;*/
	outline: 3px solid #35D1C6;
}

.speech-arrow {
	position: relative;
	padding-bottom: 1.5em;
}

.speech-arrow:after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 1.5em;
	background-image: linear-gradient(225deg, #fff, #fff 1em, rgba(255,255,255,0) 1em), linear-gradient(135deg, #fff, #fff 1em, rgba(255,255,255,0) 1em);
	background-size: 50% 100%;
	background-repeat: no-repeat;
	background-position: 0 0, 99.9% 0;
	background-position: 0 0, calc(100% - 1px) 0;
	z-index: 1;
}
.speech-arrow.bg-grey:after {
	background-image: linear-gradient(225deg, #ECECEC, #ECECEC 1em, rgba(236, 236, 236, 0) 1em), linear-gradient(135deg, #ECECEC, #ECECEC 1em, rgba(236, 236, 236, 0) 1em);
}
.speech-arrow.bg-grey-light:after {
	background-image: linear-gradient(225deg, #F7F7F7, #F7F7F7 1em, rgba(247, 247, 247, 0) 1em), linear-gradient(135deg, #F7F7F7, #F7F7F7 1em, rgba(247, 247, 247, 0) 1em);
}



/*** START:  Client dashboard ring donut ***/
#svg circle {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear;
	stroke: #666;
	stroke-width: 1em;
}

#svg #bar {
	stroke: #FF9F1E;
}

#cont {
	/*display: block;*/
	/*height: 224px;*/
	/*width: 224px;*/
	margin: 0 auto;
	/*box-shadow: 0 0 1em black;*/
	/*border-radius: 100%;*/
	position: relative;
}

	#cont:after {
		position: absolute;
		display: block;
		height: 160px;
		width: 160px;
		left: 50%;
		top: 50%;
		/*box-shadow: inset 0 0 1em black;*/
		/*content: attr(data-pct)"%";*/
		margin-top: -80px;
		margin-left: -80px;
		/*border-radius: 100%;*/
		line-height: 160px;
		font-size: 2em;
		/*text-shadow: 0 0 0.5em black;*/
	}
/*** END: Client dashboard ring donut ***/

#nav-intro {
	position: fixed;
	top: 0;
	-webkit-box-shadow: -1px 0px 5px 0px rgba(45,48,55,0.33);
	-moz-box-shadow: -1px 0px 5px 0px rgba(45,48,55,0.33);
	box-shadow: -1px 0px 5px 0px rgba(45,48,55,0.33);
	background: #fff;
	width: 100%;
	z-index: 999;
}


/***** BOOTSTRAP/MATERIAL OVERRIDES *****/
hr {
	padding-top: 1em;
    margin: 0 0 1em;
    border: 0;
    border-bottom: 1px solid #eee;
    display: block;
    clear: both;
}
.button {
	/* create bigger rounded corners */
	font-weight: bold;
	padding: 6px 40px;
	border-radius: 25px;
	min-width: 142px;
}
.btn {
	overflow: hidden;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}
.btn[disabled],.btn[disabled]:hover {
    background: #eee;
    border-color: #eee;
    color: #888;
}

md-input-container {
	/* fix spacing between md-containers for Payabill forms */
	margin-top: 28px;
	margin-bottom: 0px;
}

.navbar-default.brochure {
	/* don't want the grey background and border */
	background-color: inherit;
	border: inherit;
	font-size: 16px;
}

.navbar-default.brochure .navbar-nav > li > a,
.navbar-default.brochure .navbar-nav > li > a:hover
{
	/*font-size: 0.866em;*/
	color: #2d3037;
}

.navbar-default.brochure .navbar-nav > li > a:hover {
	color: #2d3037;
}
.navbar-brand {
	padding: 12px 15px 12px;
}
.navbar-brand > img {
    height: 120%;
}
.navbar {
	margin-bottom: 0;
}

#navbar-toggle .container, #nav-intro .container {
	padding-left: 0;
	padding-right: 0;
}
@media (max-width: 767px) {
	#navbar-toggle .navbar-collapse::after {
		padding-bottom: 15px;
	}
	.navbar-collapse {
		padding-left: 0;
		padding-right: 0;
	}
	ul.navbar-nav {
		margin: 0;
	}
	ul.navbar-nav li {
		border-bottom: 1px solid #E7E7E7;
	}
}
.footer-body {
}
.footer-left {
	text-align: center;
}
.footer-right {
	text-align: center;
}
@media (min-width: 768px) {
	.footer-body {
		display: flex;
		flex-direction: row;
	}
	.footer-left {
		text-align: left;
	}
	.footer-right {
		/* align-self: center; */
		text-align: right;
	}
}

/***** MEDIA BREAKPOINTS *****/
/* > xs: tablet, notebook, desktop */
@media (min-width: 768px) {
	article.brochure img.arrows {
		margin-right: -70px;
		position: absolute;
		float: none;
		margin-right: 0px;
		right: -5px;
		display: block;
	}
	footer .partner { margin-top: 0px; }
}

@media (max-width: 768px) {
	.brochure article img.arrows,
	article.brochure img.arrows {
		/*margin-right: -40px;*/
		display: block;
		position: absolute;
		right: -5px;
	}
	footer .partner { text-align: center; }
}


/***** SelectPDF conversion styles *****/
.pdf-nobreak { page-break-inside: avoid; }
.pdf-break-before { page-break-before: always; }
.pdf-break-after { page-break-after: always; }



/* bootstrap grid fix for floating errors when row heights are uneven */
.col-grid .icon {
    max-width: 110px;
}
.col-grid div {
	display: inline-block;
	vertical-align: top;
	float: none;
}	
/* at extremely small widths sites become difficult to read without horizontal scrolling */
html {
	min-width: 320px;
}

.navbar-default .navbar-toggle {
	border-color: transparent;
}

.btn-primary {
	background: #35D1C6;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background: transparent;
}

.navbar-default .navbar-toggle:hover .icon-bar {
	background: #35D1C6;
}

.navbar-default.brochure .navbar-nav > li > a:hover {
	color: #35D1C6;
}


/* calculator */
.modal-content {
	min-width: 342px;
}
.modal-dialog {
    /*max-width: 30em;*/
    /*margin: 50px auto;*/
}
.calculator select {
	background-color: #fff;
}
.calculator .panel-body {
    background: #fff;
}
span.avoidwrap {
	display: inline-block;
}

.chart-key {
	border: 1px solid #EBEFF0;
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	vertical-align: middle;
	margin-right: 0.5em;
	background-color: attr(data-key-colour);
}
.chart-legend h5 {
	font-weight: bold;
	margin: 1.5em 0 1em;
}
.chart-legend p {
	margin: 20px 0;
}
.chart-legend p.total {
	border-top: 2px solid #EEEEEE;
	padding-top: 15px;
	margin-top: 20px;
}


form input {
	display: block;
	width: 100%;
	box-sizing: border-box;	
}

.input-checkbox {
    position: relative;
}
.input-checkbox label {
    font-weight: normal;
    padding-left: 25px;
    padding-top: 2px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
.input-checkbox .widget {
    background: url(/css/inputs.png);
    width: 22px;
    height: 22px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}
.input-checkbox:hover .widget {
	background-position: -24px 0;
}
.input-checkbox.checked .widget {
	background-position: -48px 0;
}


.input-radio {
    position: relative;
    outline: none;
}
.input-radio label {
    font-weight: normal;
    padding-left: 25px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
.input-radio .widget {
    background: url(/css/inputs.png);
    width: 22px;
    height: 22px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
	background-position: -120px 0;
}
.input-radio:hover .widget {
	background-position: -144px 0;
}
.input-radio.checked .widget {
	background-position: -168px 0;
}




/* Modal popup styling */
.calculator .close,
.modal-header .close {
    margin-top: 0;
    top: 10px;
    right: 10px;
    position: absolute;
    font-weight: normal;
    font-size: 40px;
    line-height: 20px;
    outline: none;
}

.popup-image img {
	height: 100px;
	width: 100px;
}
.popup-image {
	margin: 10px 0;
	text-align: center;
	display: block;
}
.modal-header {
	border-bottom: none;
}
.modal-footer {
	border-top: none;
}
.modal-footer button {
	font-weight: bold;
	padding: 10px 40px;
	border-radius: 25px;
	display: block;
	margin: 0px auto 2em;
	background: rgb(53, 209, 198) none repeat scroll 0% 0%;
	color: rgb(255, 255, 255);
	border-color: rgb(44, 193, 182);
}
.modal-body p {
	text-align: center;
}


/* forms */

label {
	margin-left: 0.5em;
	font-weight: normal;
}

form input {
	padding: 10px;
	border-radius: 4px;
	border: 1px solid #cccccc;
}
/*form input:invalid {
	border-color: #ed1b24;
}
*/
form input:focus, form input:hover {
	border-color: #35d1c6;
}
form input:-moz-ui-invalid {
	box-shadow: none;
}
form p {
	margin: 15px 0;
	overflow: hidden;
}
form ul li {
	margin: 10px 0;
	text-align: justify;
}
form ul {
	list-style: square;
}

span.registration-number {
	display: block;
	overflow: hidden;
}
span.registration-number label {
	display: block;
}
span.registration-number span {
    padding: 10px 0;
}

.progress-3-steps img,
.progress-4-steps img,
.progress-5-steps img {
	vertical-align: baseline;
}
.progress-3-steps {
	overflow: hidden;
	margin: 1em 0.25em;
}
.progress-3-steps p + p:before {
	width: 100%;
	border-top: 1px solid #a0a0a0;
	position: absolute;
	top: 1.25em;
	left: -50%;
	content: '';
}
.progress-3-steps p {
	position: relative;
	float: left;
	width: 33.33%;
	text-align: center;
	color: #a0a0a0;
	margin: 0;
	padding: 0;
}
.progress-3-steps p span {	
	display: block;
}
.progress-3-steps p span.step {	
	width: 2em;
	line-height: 2em;
	text-align: center;
	border: 1px solid #a0a0a0;
	border-radius: 1em;
	margin: 0.25em auto;
	background: #fff;
	z-index: 1;
	position: relative;
}
.progress-3-steps p.complete span.step {
	background: #a0a0a0;
	border-color: #a0a0a0;
    color: #fff;
    font-weight: bold;
}
.progress-3-steps p small {	
	display: block;
	font-style: italic;
}
.progress-3-steps p.active {
	color: #35D1C6;
}
.progress-3-steps p.active span.step {
	border-color: #35D1C6;
	background: #35D1C6;
	color: #fff;
	font-weight: bold;
}

@media (max-width: 420px) {
	.progress-4-steps,
	.progress-5-steps {
		font-size: 11px;
	}
}
.progress-4-steps,
.progress-5-steps {
	overflow: hidden;
	margin: 1em 0.25em;
}
.progress-4-steps p + p:before,
.progress-5-steps p + p:before {
	width: 100%;
	border-top: 1px solid #a0a0a0;
	position: absolute;
	top: 1.25em;
	left: -50%;
	content: '';
}
.progress-4-steps p {
	width: 25%;
}
.progress-5-steps p {
	width: 20%;
}
.progress-4-steps p,
.progress-5-steps p {
	position: relative;
	float: left;
	text-align: center;
	color: #a0a0a0;
	margin: 0;
	padding: 0;
}
.progress-4-steps p span,
.progress-5-steps p span {	
	display: block;
}
.progress-4-steps p span.step,
.progress-5-steps p span.step {	
	width: 2em;
	line-height: 2em;
	text-align: center;
	border: 1px solid #a0a0a0;
	border-radius: 1em;
	margin: 0.25em auto;
	background: #fff;
	z-index: 1;
	position: relative;
}
.progress-4-steps p.complete span.step
.progress-5-steps p.complete span.step {
	border-color: #a0a0a0;
    background: #a0a0a0;
    color: #fff;
    font-weight: bold;
}
.progress-4-steps p small,
.progress-5-steps p small {	
	display: block;
	font-style: italic;
}
.progress-4-steps p.active,
.progress-5-steps p.active {
	color: #35D1C6;
}
.progress-4-steps p.active span.step,
.progress-5-steps p.active span.step {	
	border-color: #35D1C6;
	background: #35D1C6;
	color: #fff;
	font-weight: bold;
}


.form-info {
	position: relative;
	padding-left: 2em;
	color: #A0A0A0;
}
.form-info:before {
	color: #A0A0A0;
	border: 1px solid #A0A0A0;
	content: 'i';
	display: inline-block;
	position: absolute;
	left: 0px;
	line-height: 1.2em;
	width: 1.2em;
	border-radius: 0.6em;
	text-align: center;
	top: 1px;
}
.form-error>span:before {
	color: #ed1b24;
	border: 1px solid #ed1b24;
	content: 'i';
	display: inline-block;
	position: absolute;
	left: 0px;
	line-height: 1.2em;
	width: 1.2em;
	border-radius: 0.6em;
	text-align: center;
	top: 1px;
}
.form-error>span {
	padding-left: 2em;
	color: #ed1b24;
	display: block;
	position: relative;
	margin-top: 5px;
	margin-bottom: 0;
}
.form-error {
	/*width: 13em;*/
	/*position: absolute;*/
	/*margin-top: -2.25em;*/
	/*left: 100%;*/
	/*width: auto;*/
	position: relative;
	margin-top: 0px;
	left: 0;
	display: block;
	clear: both;
}

/* Dashboard notifications */

.dashboard-notify-bg-warning {
	background: #fff8ee;
	margin: 8px 0;
	color: #fcad2a;
	border: 1px solid #fcad2a;
}
.dashboard-notify-bg-danger {
	background: #fdf6f0;
	color: #eb5d15;
	border: 1px solid #eb5d15;
	margin: 8px 0;
}
.dashboard-notify-alert-info {
	background: #eaf8f9;
	margin: 8px 0;
	color: #08a6bf;
	border: 1px solid #08a6bf;
}
@keyframes drift-in {
	from {
		opacity: 0;
		left: 100%;
	}
	to {
		opacity: 1;
		left: 0;
	}
}
.dashboard-notify-bg-warning.animate:nth-child(2) {
	animation-delay: 1.2s;
}
.dashboard-notify-bg-warning.animate:nth-child(3) {
	animation-delay: 1.4s;
}
.dashboard-notify-bg-warning:hover {
	text-decoration: underline dotted;
    /*color: #35D1C6;*/
}
.dashboard-notify-bg-warning.animate {
    animation: 1.0s drift-in;
    animation-fill-mode: both;
    animation-delay: 1.0s;
}
.dashboard-notify-bg-warning {
	color: #000;
    /*background: transparent;*/
    /*border: none;*/
    /*text-decoration: dotted underline;*/
    position: relative;
    cursor: pointer;
}
.dashboard-notify-bg-warning i {
	color: #fcad2a;
}
.dashboard-notify-alert-info {
	cursor: pointer;
}
.dashboard-notify-alert-info:hover {
	text-decoration: underline dotted;
}

/* Dashboard installments due */
.due-installment {
	position: relative;
	text-align: right;
	text-transform: uppercase;
	color: #b0b0b0;
	border-color: #DDDDDD;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	padding: 6px 12px 7px;
	border: 1px solid #DDDDDD;
	border-radius: 4px;
	color: #333;
}
.due-installment h4 {
	font-size: 20px;
	vertical-align: middle;
	line-height: 1.5;
	margin: 5px 0 0;
	text-align: right;
	color: #333333;
	padding-top: 2px;
}
.due-installment .info small span {
	background: #35d1c3;
	padding: 0 5px;
	border-radius: 10px;
	color: #fff;
}
.due-installment .info small {
	display: block;
	margin: 4px 0;
}
.due-installment .info {
	float: left;
	text-align: left;
}

.overdue-agreement-row {
	background: #f6d7de !important;
	color: #67030f;
}


/* remove spinners from number inputs */
input[type=number] {
	-moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
	-webkit-appearance: none;
	margin: 0; /* Removes leftover margin */
}


/* custom dropdown boxes */
select.form-control {
	-moz-appearance: none;
	-webkit-appearance: none;
	background-image: url(dropdown.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 2em;
	height: 43px;
	padding-top: 10px;
}
select.form-control:focus, select.form-control:hover {
	border: 1px solid #35d1c6;
	box-shadow: none;
}


/* heading elements */
h4 {
	text-transform: uppercase;
	text-align: center;
}
.panel-default > .panel-heading {
	background: transparent;
}
.panel-heading h4 {
	font-size: 1.0em;
	font-weight: bold;
	text-transform: uppercase;
	text-align: left;
}

.panel-body .dropdown-toggle {
    background: #fff;
    border: 1px solid #cccccc;
    padding: 0 40px;
    line-height: 33px;
    border-radius: 5px;
    display: block;
    width: 100%;
}
.panel-body .dropdown-menu {
	width: 100%;
}
.dropdown-menu > li > a {
	white-space: normal;
	white-space: pre-line;
}


/* bootstrap table styling */
table.table {
	border: 1px solid #DDDDDD;
}
table.table thead.thead-default th {
	padding-top: 0.75em;
	line-height: 1.25em;
	padding-bottom: 0.75em;
	text-transform: uppercase;
	font-weight: normal;
	border-bottom: none;
	font-size: 11px;
	height: 4em;
}
table.table thead.thead-default {
	background-color: #ECEEEF;
}


/* loading message */
#loading-bar {
	display: none;
}
.loading-message  span {
	position: fixed;
	bottom: 50%;
	left: 0;
	right: 0;
}
.fa-spinner::before {
    content: "\f110\2002";
}
@keyframes fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.loading-message  ~ .loading-message {
	display: none;
}
.loading-message {
	animation: 0.5s fade-in;
    position: fixed;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
    left: 0;
    right: 0;
    z-index: 10;
    display: block;
    color: #fff;
    font-size: 4rem;
    text-align: center;
	text-shadow: 1px 1px 1px black;
}

.input-checkbox:focus, .btn:focus, .btn:active {
	outline: none !important;
}


/* file upload dropzone styles */
.file-upload-drop-box ul {
    display: block;
    list-style: inside circle;
    margin-left: 1em;
}
.bankStatements .file-upload-drop-box {
	padding-top: 30px;
	height: auto;
	padding-bottom: 30px;
}
.file-upload-drop-box {
    border: 2px dashed #DDD;
    text-align: center;
    /*padding-top: 170px; !* 100px; *!*/
    /*height: 454px; !* 329px; *!*/
}
.file-upload-dragover {
    border: 5px dashed #35D1C6;
}
.file-upload-drop-box.bg-success {
	background-color: #f0f0f0;
	border-color: #CCCCCC;
}


/* get footer to stick to the bottom */
body>div {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	min-height: 100vh;
}
body>div>div.spacer {
/*body>div>div {*/
	-webkit-flex-grow: 1;
	flex-grow: 1;
}


@keyframes grow-cycle {
	from {
		/*padding: 6px;*/
		/*border-radius: 6px;*/
		transform: scale(1);
		opacity: 1;
	}
	to {
		/*padding: 15px;*/
		/*border-radius: 15px;*/
		transform: scale(1.5);
		opacity: 0;
	}
}
.loading-message span span {
	animation: 1.2s grow-cycle 0s infinite alternate ease;
    position: static;
    display: inline-block;
    background: #fff;
    padding: 12px;
    height: 0;
    width: 0;
    margin: 0 40px;
    box-shadow: 1px 1px 2px 0px #000;
    border-radius: 12px;
}
.loading-message span span:nth-child(n+1) {
	animation-delay: 0.0s;
}
.loading-message span span:nth-child(n+2) {
	animation-delay: 0.4s;
}
.loading-message span span:nth-child(n+3) {
	animation-delay: 0.8s;
}


br {
	height: 0;
	line-height: 0;
}

h2.modal-title {
	text-align: center;
	margin-top: 15px;
}

.text-danger {
	color: #ed1b24;
}

.btn.delete-button span {
	font-size: 24px;
}
.btn.delete-button {
	padding: 1px;
}


.slider .track {
	background: #DDDDDD;
	height: 9px;
	position: relative;
	top: 13px;
	margin: 0 30px;
	border-radius: 5px;
	box-shadow: 0px 0px 4px -2px #000 inset;
}
.slider .thumb:before,
.slider .thumb:after {
	position: absolute;
	top: 0;
}
.slider .thumb:before {
	/*content: '|';*/
	left: 5px;
}
.slider .thumb:after {
	/*content: '>';*/
	right: 5px;

}
.slider .thumb {
	text-align: center;
	box-shadow: 0px 1px 3px -1px #000;
	color: #fff;
	background: #35D1C6;
	height: 30px;
	width: 50px;
	position: absolute;
	top: -11px;
	margin-left: -25px;
	border-radius: 20px;
	vertical-align: middle;
	line-height: 40px;
}
.slider {
	cursor: pointer;
	height: 35px;
	position: relative;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}


@media (max-width: 580px) {
	.calculator .col-xs-4 {
		padding-left: 4px;
		padding-right: 4px;
	}
	.calculator .col-xs-6 {
		width: 100%;
	}
}


.table-hover tbody tr {
	cursor: pointer;
}

.signature canvas {
	cursor: default;
	/*max-width: calc(100vw - 101px);*/
	width: 100%;
}


/* Terms and Conditions */
ol.tos li {
	margin: 1.5em 0;
	position: relative;
}
ol.tos, ol.tos ol {
	list-style: none;
	padding-left: 4em;
	margin-left: 0;
}
ol.tos li:before {
	left: -4em;
	position: absolute;
}
ol.tos h5 {
	font-size: 1em;
	font-weight: bold;
	margin: 0;
	text-transform: uppercase;
}
ol.tos p {
	margin: 1em 0 0;
}
ol.tos {
	counter-reset: section;
}
ol.tos>li:before {
	content: counter(section);
	counter-increment: section;
	line-height: 1.1;
}
ol.tos>li>ol {
	counter-reset: subsection;
}
ol.tos>li>ol>li:before {
	content: counter(section) '.' counter(subsection);
	counter-increment: subsection;
}
ol.tos>li>ol>li>ol {
	counter-reset: subsubsection;
}
ol.tos>li>ol>li>ol>li:before {
	content: counter(section) '.' counter(subsection) '.' counter(subsubsection);
	counter-increment: subsubsection;
}
ol.tos>li>ol>li>ol>li>ol {
	counter-reset: subsubsubsection;
}
ol.tos>li>ol>li>ol>li>ol>li:before {
	content: counter(section) '.' counter(subsection) '.' counter(subsubsection) '.' counter(subsubsubsection);
	counter-increment: subsubsubsection;
}


/* CMS articles */
.cms-articles {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	margin-left: -13px;
	margin-right: -13px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.cms-articles li > div {
}
.cms-articles li .date {
	color: #b8b8b8;
}
.cms-articles li img {
	display: block;
}
.cms-articles article h1 a {
	color: inherit;
}
.cms-articles article p {
	margin: 0.5em 0;
}
.cms-articles article h1 {
	font-size: 1em;
	font-weight: bold;
	margin: 0.5em 0;
}
.cms-articles article {
	padding: 0.5em;
	border: 1px solid #707070;
	border-top: none;
	flex-grow: 1;
}
.cms-articles li {
	margin: 13px;
	text-align: left;
	display: inline-block;
	padding: 0;
	width: 250px;
	box-sizing: content-box;
	vertical-align: top;
	display: flex;
	flex-direction: column;
}

.cms-article p {
	margin: 1em 0;
}
.cms-article .dateline {
	margin: 1em 0 1em;
	opacity: 0.5;
}

.cms-article main>article img {
	max-width: 100%;
	display: block;
	margin: 0 0;
}

.cms-article .recent + img {
	max-width: calc(100% - 360px - 2em);
}

.cms-article .recent {
	float: right;
	width: 360px;
	padding: 0 0 2em 2em;
	margin: 0;
}

.cms-article .recent h3 {
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-size: 21px;
	font-weight: bold;
}

.cms-article .recent article {
	padding: 1px 0;
	margin: 0 0 1rem;
}

.cms-article .recent article:after {
	content: '';
	clear: both;
	display: block;
}

.cms-article .recent article h3 {
	margin: 0 0 0.25rem 0;
	font-size: 16px;
}

.cms-article .recent article .dateline {
	text-align: left;
	margin: 0;
}

.brochure article .cms-articles li {
	background: none;
	padding: 0;
	display: inline-block;
	display: flex;
}

.cms-articles li img {
	width: 250px;
	height: 147px;
	object-fit: cover;
	object-position: top center;
}

.cms-article > main > article > div {
	clear: both;
}

@media (max-width: 787px) {
	.cms-article .recent + img {
		max-width: 100%;
	}
	.cms-article .recent {
		float: none;
		width: auto;
		margin: 0;
		display: none;
	}
	.cms-article .recent article h3 {
		font-size: 15px;
	}

}
