/* CONSUMER OVERRIDES */

.shell {
	width: 95%;
}

.document-viewer {
  background-color: #FFFFFF;
}

.document-viewer__body {
  background-color: #FFFFFF;
}

.document-viewer__text {
  top: 10px;
  left: 10px;
  right: 10px;
  width: calc(100% - 20px) !important;
  padding: 10px 50px 10px 10px;
  background: white;
  border-bottom: 1px solid #424242;
}

.document-viewer__button {
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  padding: 10px;
}

.fileName {
  padding-right: 22px;
  margin: 5px 0 0 0;
}

.renameIcon {
  right: 5px;
  top: 5px;
}

.forceleftalign * {
	text-align: left !important;
}

p, ul {
	font-size: 1.4em;
}

.togglebutton {
	padding: 2px 4px;
}

#mapWrapper {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: 81px;
}

.map {
	height: 100%;
	width: 100%;
}

.branches--flex {
	display: flex;
	flex-wrap: wrap;
}

.branchselect {
	margin-bottom: 10px;
}
	.branchselect--flex {
		flex: 200px;
		margin: 8px;
	}

		.branchselect--notflex {
		width: 320px;
		margin: 8px;
	}

	.branchselect:hover .branchselect__letter, .branchselect:active .branchselect__letter {
		width: 15px;
	}

.branchselect__container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	text-align: left;
	background-color: white;
	border: 1px solid #616161;
	border-radius: 3px;
}

.branchselect__letter {
	will-change: width;
	transition: width 270ms ease-out;
	font-size: 2.8em;
	font-weight: 500;
	width: 5px;
	background: #616161;
	color: white;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.branchselect__branch {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	padding: 5px 10px;
	color: #616161;
}

.branchselect__branch__fixed {
	height: 150px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	padding: 5px 10px;
	color: #616161;
}

.branchselect[aria-checked="true"] .branchselect__container {
	border-color: black;
	background-color: #eeeeee;
}

.branchselect[aria-checked="true"] .branchselect__letter {
	width: 15px;
	background: black;
}

.branchselect[aria-checked="true"] .branchselect__branch {
	color: black;
}

.map-selection__line:first-child {
	font-size: 1.8em;
	font-weight: 500;
	text-transform: capitalize;
}

.map-branch {
	background: white;
	padding: 5px 10px;
	margin: 0 10px;
}

.map-branch__branch {
	font-size: 1.7em;
	color: black;
	padding: 0 0 5px;
	margin: 0;
}

.map-branch__address {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 0 0 5px;
	margin: 0;
}

.infowindow {
	min-width: 220px;
	padding: 10px;
	background: #fff;
	-webkit-box-shadow: 0px 1px 5px #666;
	-moz-box-shadow: 0px 1px 5px #666;
	box-shadow: 0px 1px 5px #666;
	border-radius: 3px;
	border-bottom-left-radius: 0;
	top: -35px;
	position: relative;
	z-index: 100;
}

#mapNavBtns {
	padding: 3px 8px;
	border-top: 1px solid #d1d1d1;
	color: black;
	background-color: white;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}


#mapMessages {
	padding: 10px;
	background: white;
	color: inherit;
	border-bottom: 1px solid #d1d1d1;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

	#mapMessages h1 {
		color: #000000;
		background: inherit;
	}

.mainBranchList {
	width: 33%;
	position: fixed;
	left: 10px;
	top: auto;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 3px;
	border: 1px solid #d1d1d1;
	z-index: +1;
}

	.mainBranchList .branches {
		max-height: calc(80vh - 118px);
		padding: 16px 8px 8px;
	}

#submittedStreetView {
	position: relative;
	height: 150px;
}

#Streetview {
	top: 10px !important;
	height: 100px;
	width: 180px;
}

.noStreetview {
	padding-top: 23px;
	padding-bottom: 23px;
}

.gm-style .gm-style-iw, .gm-style .gm-style-iw a, .gm-style .gm-style-iw span, .gm-style .gm-style-iw label, .gm-style .gm-style-iw div {
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
}

.sideContent {
	float: left;
	width: 20%;
	position: relative;
	z-index: 1;
}

.mainContent {
	float: right;
	width: 80%;
}

#navWrap {
	border-right: none;
	margin-top: 30px;
}

.loanOfferBox {
  height: 30px;
  width: 30px;
  text-align: center;
  color: black;
  line-height: 30px;
  display: inline-block;
  background: #EEEEEE;
  border: #000000 solid 1px;
  box-sizing: border-box;
  border-radius: 2px;
  cursor: pointer;
  margin: 2px 0 0 0;
  margin-right: 10px;
}

  .loanOfferBox.selected {
    color: white;
    background: #000000;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 2px 2px rgba(0, 0, 0, 0.14), 0px 1px 5px rgba(0, 0, 0, 0.12);
  }

  .loanOfferBox.completed {
    color: #164710;
    background: #E2FFDE;
  }

.loanOfferHeader {
  display: block;
  padding: 2px;
  cursor: pointer;
  position: relative;
  margin: 2px 0 0 0;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  margin-right: 10px;
  color: black;
}

  .loanOfferHeader.disabled {
    opacity: 0.35;
  }

.nheader {
	display: block;
	padding: 10px;
	cursor: pointer;
	position: relative;
	margin: 2px 0 0 0;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 2px;
	margin-right: 10px;
	color: black;
}

	.nheader.failedSection,
	.nheader.failedSection:link,
	.nheader.failedSection:active {
		color: #b71c1c;
		border-color: #b71c1c;
		background-color: #ffebee;
	}

	.nheader:nth-last-child(2) {
		margin-bottom: 5px;
	}

	.nheader:last-child {
		margin-top: 5px;
	}

		.nheader:last-child:after {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 0;
			border-top: 1px solid #d1d1d1;
		}

.statusButton {
			border: 0;
			background: none;
			box-shadow: none;
			font-size: 1em;
			min-width: 0;
			border-radius: 0;
		}

.tipsContent {
	top: -1px;
}

#serverValidation a {
	display: block;
}

#poweredBy {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	width: 95%;
	max-width: 1120px;
	margin: 10px auto;
}

/* Funding Section */
.preferredCard h5 {
	/*font-size: 18px;
	margin-top: 10px;*/
}

.cardTypeWrapper {
	width: 245px;
	height: 165px;
	background: url('images/card.png') no-repeat;
	cursor: pointer;
	border-radius: 9px;
}

	.selected, .cardTypeWrapper:hover {
		box-shadow: 0px 2px 5px 0px #999;
	}

.cardSelectedCheck {
	position: absolute;
	top: 0px;
	right: 7px;
	color: #4baf50;
	font-size: 2.2em;
}

.lastFourCC {
	font-size: 1.7em;
	top: 54%;
	left: 71%;
}

.expDateCC {
	font-size: 1.7em;
	top: 72%;
	left: 50%;
}

.cardTypeCC {
	font-size: 1.7em;
	left: 6%;
}

#fundingModal {
	width: 90%;
	max-width: 1100px;
	height: 85%;
}

#cardPortalIframe {
	width: 100%;
	height: 96%;
}

#fundingCompleteWrapper {
	padding: 1px 10px;
	height: 3%;
	min-height: 40px;
}

/* Landscape View ----------- */
@media only screen and (min-width : 990px) {
	.sideContent {
		left: 1px !important;
	}

	#fader.sidebarActive {
		display: none !important;
	}
}

/* Shared Tablet Portrait and Mobile Views ----------- */
@media only screen and (max-width: 989px) {
	.mainContent {
		float: none;
		width: auto;
	}

	.sideContent {
		float: none;
		width: 250px;
		position: fixed;
		left: -250px;
		top: 0;
		bottom: 0;
		z-index: 11;
	}

	#sidebar {
		position: relative !important;
		width: auto !important;
		top: 0 !important;
		padding: 40px 0 0 0;
	}

	#sideNav {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		display: block;
	}

	.sidebarTab {
		position: absolute;
		top: 90px;
		right: -30px;
		width: 30px;
		height: 60px;
		display: block;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
	}

		.sidebarTab .icon {
			position: absolute;
			top: 50%;
			left: 5px;
			margin-top: -14px;
			font-size: 2em;
		}

	#navWrap {
		margin: 0;
	}

	.nheader, .nheader.active, .nheader:hover {
		border-radius: 0;
		border-right: 0 !important;
		border-left: 0 !important;
		margin: 2px 0 0 0;
		box-shadow: none !important;
		z-index: 0;
	}
}


/* Shared Tablet Portrait and Mobile Views ----------- */
@media only screen and (max-width: 767px) {
	.mainBranchList .branches {
		font-size: 75%;
	}
}

@media only screen and (max-width: 500px) {
	#poweredBy {
		position: absolute;
		max-width: 500px;
	}
}