﻿
/* --- PAGE HEADER ABOVE YIELD --- */

#page-form.integrations {

}
#page-form.integrations .afr-message {
	margin-bottom: 0;
}
#page-form.integrations .welcome-container{
	margin-top: 0;
	background: white;
}

	#page-form.integrations .welcome-container .get-started {
		background-color: var(--kb-light-purple);
		padding: 20px;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
		color: var(--kb-purple);
	}

/* XERO VIEWS */
#page-form.integrations {
	padding-top: 0;
}
#page-form.integrations p.xero-notes {
	margin-top: 10px;
	font-size: 12px;
}
#page-form.integrations p.xero-notes a{
	color: #02B7E3;
}
#page-form.integrations p.xero-notes span{
	color: black;
	padding-bottom: 5px;
	display: block;
}
#page-form.integrations .last-synced {
	display: inline-block;
	margin-top: 25px;
	margin-left: 20px;
}
.QuickBooks #page-form.integrations .last-synced {
	display: inline-block;
	margin-top: 25px;
	margin-left: 10px;
}
#page-form.integrations .last-synced h5{
	color:#9da2a4;
	display: inline-block;
	font-size: 14px;
}

#page-form.integrations a.xero-sync.xero-btn img {
	padding-top: 4px;
}

#page-form.integrations .afr-message.disconnected{
	background: #F7746B;
}
	#page-form.integrations .afr-message .klipboard-popover {
		text-decoration: none;
		cursor: default;
	}
	#page-form.integrations.xero .xero-connect {
		display: inline-block;
		vertical-align: top;
	}

#page-form.integrations.xero a.xero-connect:hover {
   text-decoration: none;
}
#page-form.integrations.xero .get-started p.border-bottom{
	border-bottom: 1px solid var(--kb-purple);
	padding-bottom: 20px;
	margin-bottom: 0;
}

/* User guide */
#page-form.integrations.xero .video{
	background: var(--kb-warm-biscuit);
}
#page-form.integrations.xero img.sync-with-xero-placeholder {
	padding-top: 40px;
	width: 200px;
	margin: 0 auto;
	display: block;
}
#page-form.integrations.xero img.video-placeholder {
	width: 90%;
	margin: 0 auto;
	display: block;
}
#page-form.integrations.xero .video-title {
	font-weight: bold;
	background: #111921;
	border-top: 1px solid #3D3D3E;
	border-bottom: 1px solid #3D3D3E;
	padding: 30px 20px 20px;
	position: absolute;
    top: 315px;
	bottom: auto;
    width: 100%;
	display: none;
}
.collapsible-header {
	margin: 10px 0;
	padding: 0px 0px 15px 0;
	color: #fff;
	position: relative;
	border-bottom: 1px solid #eee;
}
.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in;
}

.collapsible-header .text-left {
	display: inline-block;
	width: 75%;
}
.collapsible-header .text-right{
	width: 25%;
	display: inline-block;
}
.collapsible-header .xero-goto {
	padding: 5px 25px;
	font-size: 14px;
}
	.collapsible-header .xero-goto:hover {
		text-decoration: none;

	}


.b-blocks,
.b-blocks ul{
	border-radius: 4px;
}
	.b-blocks li{
		border-radius: 4px;
		color: var(--xeroblue);
	}


	/* Sync with Xero Modal */
	.sync-with-quickbooks .quickbooks-sync-animation,
	.sync-with-xero .xero-sync-animation{
	height: auto;
	display: block;
	margin: 10px 0 20px;
}

		.sync-with-quickbooks .quickbooks-sync-animation .kb-logo,
		.sync-with-xero .xero-sync-animation .kb-logo {
			display: inline-block;
		}
		.sync-with-quickbooks .quickbooks-sync-animation .sync-connection,
		.sync-with-xero .xero-sync-animation .sync-connection {
			display: inline-block;
			vertical-align: top;
			text-align: center;
		}
			.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants,
			.sync-with-xero .xero-sync-animation .sync-connection .loading-ants {
				display: block;
				flex-direction: column-reverse;
				-moz-transform: scaleX(-1);
				-webkit-transform: scaleX(-1);
				-o-transform: scaleX(-1);
				transform: scaleX(-1);
				-ms-filter: fliph; /*IE*/
				filter: fliph; /*IE*/
				margin-right: -10px;
			}
				.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants:nth-child(1),
				.sync-with-xero .xero-sync-animation .sync-connection .loading-ants:nth-child(1) {
					margin-bottom: 10px;
					-moz-transform: none;
					-webkit-transform: none;
					-o-transform: none;
					transform: none;
					-ms-filter: none; /*IE*/
					filter: none; /*IE*/
					margin-right: 0px;
					margin-left: -10px;
				}
				.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants .lds-ellipsis,
				.sync-with-xero .xero-sync-animation .sync-connection .loading-ants .lds-ellipsis {
					display: inline-block;
					position: relative;
					width: 80px;
					height: 10px;
					border-radius: 50% !important;
				}
					.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants .lds-ellipsis div,
					.sync-with-xero .xero-sync-animation .sync-connection .loading-ants .lds-ellipsis div {
						position: absolute;
						width: 10px;
						height: 10px;
						border-radius: 50% !important;
						background: var(--grey);
						animation-timing-function: cubic-bezier(0, 1, 1, 0);
					}
						.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(1),
						.sync-with-xero .xero-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(1) {
							left: 8px;
							animation: lds-ellipsis1 0.6s infinite;
						}

						.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(2),
						.sync-with-xero .xero-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(2) {
							left: 8px;
							animation: lds-ellipsis2 0.6s infinite;
						}
						.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(3),
						.sync-with-xero .xero-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(3) {
							left: 32px;
							animation: lds-ellipsis2 0.6s infinite;
						}
						.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(4),
						.sync-with-xero .xero-sync-animation .sync-connection .loading-ants .lds-ellipsis div:nth-child(4) {
							left: 56px;
							animation: lds-ellipsis3 0.6s infinite;
						}
@keyframes lds-ellipsis1 {
	0% {
		transform: scale(0);
	}
	100% {
		transform: scale(1);
	}
}
@keyframes lds-ellipsis3 {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(0);
	}
}
@keyframes lds-ellipsis2 {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(24px, 0);
	}
}

.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .failure-line,
.sync-with-xero .xero-sync-animation .sync-connection .failure-line {
	border: 1px solid var(--red);
	height: 1px;
	position: absolute;
	width: 70px;
	z-index: 1;
	margin-top: 30px;
	margin-left: -4px;
}
.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .success-line,
.sync-with-xero .xero-sync-animation .sync-connection .success-line {
	border: 1px solid var(--green);
	height: 1px;
	position: absolute;
	width: 70px;
	z-index: 1;
	margin-top: 30px;
	margin-left: -4px;
}

.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .check-border-red,
.sync-with-xero .xero-sync-animation .sync-connection .check-border-red {
	border-radius: 50% !important;
	width: 40px;
	height: 40px;
	margin-top: 10px;
	background: var(--kb-warm-biscuit);
	margin: 10px 10px 0 10px;
	position: relative;
	z-index: 2;
}
.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .check-border,
.sync-with-xero .xero-sync-animation .sync-connection .check-border {
	border-radius: 50% !important;
	color: var(--green);
	border: 1px solid var(--green);
	width: 40px;
	height: 40px;
	margin-top: 10px;
	background: var(--kb-warm-biscuit);
	margin: 10px 10px 0 10px;
	position: relative;
	z-index: 2;
}
.sync-with-quickbooks .quickbooks-sync-animation .sync-connection .check,
.sync-with-xero .xero-sync-animation .sync-connection .check {
	border: solid 5px var(--green);
	width: 25px;
	height: 13px;
	margin: 0 0 0 0;
	border-top: none;
	border-right: none;
	transform: rotate(-45deg);
	transform-origin: top left;
	margin-top: 20px;
	text-align: center;
	margin-left: 5px;
	animation: start 1s ease;
	animation-name: animate-check;
	position: relative;
	z-index: 3;
}
@keyframes animate-check {
	0% {
		opacity: 0;
		width: 0;
		height: 0;
	}
	50% {
		opacity: 1;
		width: 0;
		height: 13px;
	}
	100% {
		width: 25px;
	}
}

.sync-with-quickbooks .quickbooks-sync-animation .quickbooks-logo,
.sync-with-xero .xero-sync-animation .xero-logo {
	display: inline-block;
}

	.sync-with-quickbooks .quickbooks-sync-animation .quickbooks-logo img,
	.sync-with-xero .xero-sync-animation .xero-logo img {
		width: 46px;
	}



.sync-with-quickbooks .quickbooks-sync-info .quickbooks-notes,
.sync-with-xero .xero-sync-info .xero-notes {
	margin: 10px 0;
}
.sync-with-xero .transfer-suppliers {
	border-top: 1px solid var(--kb-hr-lines);
	margin-top: 20px;
	padding-top: 20px;
}
.sync-with-xero .transfer-suppliers .xero-notes label{
	padding-top: 10px;
}
	.sync-with-xero .transfer-suppliers .xero-notes input {
		margin-right: 5px;
	}
	.sync-with-xero .transfer-suppliers .xero-notes span {
		margin-top: 2px;
		position: absolute;
	}

.sync-with-xero .xero-sync-info .alert alert-success {
	max-width: 100%;
}

.sync-with-xero .xero-sync-errors .error-item{
	margin-bottom: 0;
}

.sync-with-xero .xero-progress-bar.progress, .sync-with-xero .xero-sync-errors-holder {
	width: 80%;
	margin: 25px auto;
}
.sync-with-xero .xero-sync-info p i.failed-sync {
	color: #F7746B;
}
.sync-with-xero .modal-new-alert {
	margin-left: -20px;
}
.sync-with-xero .modal-new-alert .new-alert {
	margin-top: -2px;
	width: calc(100% + 20px);
	margin-left: 0;
	margin-bottom: 0;
}
#SyncXeroModal .modal-dialog .modal-body {
	padding-top: 0 !important;
}

/* Suggestions to Issues Drawer*/
#SuggestionModal #jobServiceList #suggestionContainer {
	background: white;
	padding: 0 20px 20px 20px;
	margin-top: 20px;
	box-shadow: -3px 2px 5px 1px rgba(204,204,204, 0.50);
	border-radius: 4px !important;
}

#SuggestionModal .modal-content .modal-body .invoice-service-holder {
	overflow-y: inherit;
}

#SuggestionModal .modal-content .modal-body .invoice-service-holder th {
	text-transform: capitalize;
}

#SuggestionModal #jobServiceList #suggestionContainer #suggestion-info p, #SuggestionModal #jobServiceList #suggestionContainer #suggestion-links p {
	font-size: 12px;
	color: #9da2a4;
	border-bottom: 1px solid #41bbab;
	text-transform: uppercase;
	padding: 5px 0;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

#SuggestionModal #jobServiceList #suggestionContainer #suggestion-info .error-messsage p.pulled-data,
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-links .error-messsage p.pulled-data {
	padding: 5px 0 10px;
	border-bottom: 2px solid #ececec;
}
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-info .error-messsage, 
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-info .error-messsage td {
	width: 100%;
	display: block;
}
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-info .error-messsage td{
	padding-bottom: 0;
}
#jobServiceList .no-border-b {
	border-bottom: 0;
	border-bottom: 0;
}
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-info .suggestions td{
	padding-top: 0;
}
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-info p.pulled-data,
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-links p.pulled-data {
	color: black;
	font-size: 16px;
	text-transform: none;
	padding: 5px 0;
	border-bottom: 0;
}
#SuggestionModal #jobServiceList #suggestionContainer #suggestion-links p{
	margin-bottom: 0;
}
	#SuggestionModal #jobServiceList #suggestionContainer #suggestion-links p a {
		color: #3EBAAA;
		text-decoration: underline;
		font-size: 14px;
	}







.membernav {
	border-top-left-radius: 4px !important;
	border-top-right-radius: 4px !important;
}

nav.membernav ul {
	margin-left: 0;
}

.membernav {
	margin-top: 10px;
	/*background-color: #45cebc !important;*/
	background-color: var(--kb-purple) !important;
}

 nav.membernav ul li.active a {
	border-bottom: 0;
	/*background-color: #3EBAAA;*/
	background-color: var(--kb-purple-hover) !important;
	border-top-left-radius: 4px !important;
}
nav.membernav ul li {
	margin: 0;
}
nav.membernav ul li a {
		padding: 0 15px;
		color: #fff;
		border: 0;
	}


nav.membernav a {
	text-transform: capitalize;
}


/* QUICK BOOKS */
.qb-connect-btn {
	background: var(--qb-green);
	padding: 10px;
	color: white;
	font-family: Arial;
	font-weight: bold;
	border-radius: 40px;
	padding-left: 25px;
}
	.qb-connect-btn:hover,
	.qb-connect-btn:focus,
	.qb-connect-btn:active{
		text-decoration: none;
		color: white;
		background: #248318;
	}
.qb-connect-btn img {
	margin-bottom: -4px;
	height: 22px;
	margin-left: -6px;
}
	.btn-qb-green {
		background-color: var(--qb-green);
		background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
		background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
		border-radius: 40px !important;
		color: #fff !important;
	}

	.btn-qb-green:hover, .btn-qb-green:focus {
		background-color: #248318;
	}

.QuickBooks nav.thirdnav.p-pills ul li:hover,
.QuickBooks nav.p-pills ul li:hover {

}

/* integrations-choice */
.integrations-choice .package-card {
	background: var(--kb-purple);
	border-radius: 8px;
	color: white;
	width: 100%!important;
	display: inline-block;
	float: left;
	margin-left: 0!important;
	margin-bottom: 40px;
	display: flex;
	padding-left:0;
	padding-right:0;
}
	.integrations-choice .package-card .set-height {
		width: 50%;
		padding-top: 30px;
		flex:1;
		float: left;
	}

.integrations-choice .package-card .package-logo{
	padding: 0 20px;
}
	.integrations-choice .package-card .package-name {
		padding: 20px;
		font-size: 24px;
		font-weight: bold;
	}
	.integrations-choice .package-card .package-info {
		padding: 20px;
		line-height: 22px;
		font-weight: lighter;
	}
.integrations-choice .package-card .package-connect-button {
	padding: 20px 20px 30px;
}


	.integrations-choice .package-card .pack-learn-links {
		background-color: rgba(51, 25, 91, 0.5);
		background-color: rgba(225, 225, 225, 0.4);
		padding: 5px 0px;
		font-size: 14px;
		text-align: left;
		padding-top: 10px;
		width: 50%;
		flex:1;
		float: left;
	}

	.integrations-choice .package-card .pack-learn-links .learn-link-row {
		padding: 20px 0;
		font-size: 16px;
		border-bottom: 1px solid #e1e1e1;
	}
		.integrations-choice .package-card .pack-learn-links .learn-link-row:last-child{
			border-bottom: 0;
		}
		.integrations-choice .package-card .pack-learn-links .learn-link-row .learn-link-btn {
			color: white;
			float: right;
		}
		.integrations-choice .package-card .pack-learn-links .learn-link-row .learn-link-btn a{
			color: white;
			border: 1px solid white;
			border-radius: 30px;
			font-size: 12px;
			padding: 8px 35px;
		}
			.integrations-choice .package-card .pack-learn-links .learn-link-row .learn-link-btn a:hover,
			.integrations-choice .package-card .pack-learn-links .learn-link-row .learn-link-btn a:focus,
			.integrations-choice .package-card .pack-learn-links .learn-link-row .learn-link-btn a:active{
				background: white;
				color: var(--kb-purple);
				text-decoration: none;
			}


	.not-allowed-qb {
		width: 86%;
		border-radius: 8px;
		float: right;
		text-align: center;
		/*background: #f3fdf1;*/
		background: white;
		position: absolute;
		z-index: 9;
		right: 5%;
		top: 60px;
		padding: 20px;
	}
	.not-allowed-qb .qb-title{
		font-weight: bold;
		font-size: 18px;
		padding-bottom: 15px;
	}

	.not-allowed-qb p {
		font-size: 14px;
		width: 90%;
		margin: 0 auto;
		padding-bottom: 15px;
		line-height: 24px;
	}
	.not-allowed-qb .btn-purple{
		padding: 4px 20px;
	}







