#main.wholesale {
	max-width: 680px;
	margin: 90px auto 42px;
}

#wholesale-intro h1 {
	font-size: 45px;
	line-height: 1.35;
	padding: 50px 0;
	color: #293644;
	font-weight: bold;
}

#main.wholesale p {
	font-size: 20px;
	line-height: 1.5;
	margin-bottom: 30px;
}

#main.wholesale a {
	font-weight: bold;
	text-decoration: underline;
}

#main.wholesale .required {
	color: red;
}

#main.wholesale h3 {
	font-size: 21px;
	font-weight: bold;
	padding: 24px 0 34px;
	border-bottom: 1px solid #ddd;
}

#main.wholesale .fieldset {
	margin-top: 30px;
}

#main.wholesale .fieldset label {
	font-weight: 600;
	display: block;
	line-height: 1.5;
	letter-spacing: .4px;
}

#main.wholesale input, textarea {
	width: 100%;
	padding: 16px 20px;
	margin: 10px 0 0;
	border: 1px solid #bbb;
	font-size: 14px;
	color: #666;
}
/*#main.wholesale input::placeholder {
  color: #666;
  opacity: 1;
}
*/#main.wholesale textarea {
	height: 100px;
}
#main.wholesale input.half {
	width: 49.2%;
}
#main.wholesale input.half.first {
	margin-right: 6px;
}
#main.wholesale .radio-container {
	margin: 5px 0;
}
#main.wholesale .wholesale-page p {
	margin-top: 30px;
	font-size: 17px;
}

#main.wholesale .number-of-locations label {
	display: inline;
}
#main.wholesale input.number {
	display: inline;
	width: 100px;
	margin-left: 20px;
}
#main.wholesale label.radio {
	display: inline;
	padding-left: 15px;
	border-radius: 50%;
	position: relative;
	top: -5px;
	font-weight: normal;
	line-height: 1.5;
}
#main.wholesale input[type=radio] {
	width: auto;
	display: inline-block;
	border-radius: 50%;
	position: relative;
	top: -1px;
	border: 1px solid #c2c2c2;
	-webkit-appearance: none;
	cursor: pointer;
	width: 20px;
	height: 20px;
	padding: 0px;
	margin: 0;
}

#main.wholesale input[type=radio]:checked {
	background-image: url(/wp-content/themes/legion-2017/react/build/39ea6152b5f4aab9a75ab468e0056be9.svg);
	background-repeat: no-repeat;
	background-size: contain;
	border: none;
}
#main.wholesale hr {
	margin-top: 40px;
}

#main.wholesale .bottom {
	border-top: 1px solid #ddd;
	margin: 40px 0;
	padding: 20px 0;
	text-align: right;
}
#main.wholesale .bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
#main.wholesale input[type="file"] {
    position: absolute;
	left: -9999999999999999px;
}
#main.wholesale .custom-file-upload {
	width: 100%;
	max-width: 140px;
	text-align: center;
	text-transform: none;
	color: #fff;
	height: 46px;
	line-height: 46px !important;
	letter-spacing: 0px;
	font-size: 16px;
	margin: 0 0 0 auto;
	border: none;
	display: block;
	font-weight: bold;
	transition: ease all 0.5s;
	background: #27A2FF;
	cursor: pointer;
}
#main.wholesale .bottom button.wholesale-next {
	width: 100%;
	max-width: 115px;
	text-align: center;
	text-transform: none;
	color: #fff;
	height: 46px;
	line-height: 46px;
	letter-spacing: 0px;
	font-size: 16px;
	margin: 0 0 0 auto;
	border: none;
	display: block;
	font-weight: bold;
	transition: ease all 0.5s;
	background: #27A2FF;
}
#main.wholesale .bottom button.wholesale-back {
	width: 100%;
	max-width: 115px;
	text-align: center;
	text-transform: none;
	height: 46px;
	line-height: 46px;
	letter-spacing: 0px;
	font-size: 16px;
	border: none;
	display: block;
	font-weight: bold;
	transition: ease all 0.5s;
	background: #fff;
	padding: 0px;
	text-align: left;
	margin: 0;
}

#main.wholesale button.wholesale-back {
	width: 100%;
	max-width: 200px;
	text-align: center;
	text-transform: none;
	height: 46px;
	line-height: 46px;
	letter-spacing: 0px;
	font-size: 16px;
	border: none;
	display: block;
	font-weight: bold;
	transition: ease all 0.5s;
	background: #fff;
	padding: 0px;
	margin: 0px auto;
}

#main.wholesale button.wholesale-submit {
	margin: 0;
	text-align: center;
	text-transform: none;
	color: #fff;
	height: 46px;
	line-height: 46px;
	letter-spacing: 0px;
	font-size: 16px;
	border: none;
	display: block;
	font-weight: bold;
	transition: ease all 0.5s;
	background: #27A2FF;
	padding: 0 30px;
}
#main.wholesale .custom-file-upload:hover,
#main.wholesale .bottom button.wholesale-next:hover,
#main.wholesale button.wholesale-submit:hover {
	background: #138EEB;
}
#main.wholesale .file-upload-container {
	width: 50%;
	position: relative;
}
#main.wholesale .file-upload-container #file-selected {
	font-size: 12px;
	position: absolute;
	right: 0px;
	bottom: -23px;
	text-align: right;
}

#main.wholesale .fieldset.ddp-payments label {
	margin-bottom: 30px;
}

#main.wholesale .certificate-container {
	background-color: #f7f7f7;
	padding: 35px;
	margin: 30px 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#main.wholesale .certificate-text {

}
#main.wholesale .certificate-text h5 {
	font-weight: 600;
	margin-bottom: 5px;
}

#main.wholesale .certificate-text p {
	font-size: 12px;
	color: #888;
	margin-bottom: 0px;
	margin-top: 0;
}
#main.wholesale .certificate-container input {
	width: 180px;
	margin: 0;
}
#main.wholesale .marketplaces {
	display: flex;
}
#main.wholesale .marketplaces .marketplace-container {
	margin-left: 60px;
}

#main.wholesale .marketplaces .marketplace-container > div {
	position: relative;
}

#main.wholesale .marketplaces input {
	width: auto;
}
#main.wholesale .marketplaces .marketplace-container label {
	display: inline;
	font-weight: normal;
	margin-left: 15px;
	vertical-align: bottom;
	font-size: 15px;
}

#main.wholesale .marketplaces .marketplace-container input[type=text] {
	position: absolute;
	left: 35px;
}

#main.wholesale .marketplaces .marketplace-container input[type=checkbox] {
	width: 20px;
	opacity: 1;
	background-color: #fff;
	padding: 0px;
	height: 20px;
	-webkit-appearance: none;
	border: 1px solid #ddd;
}

#main.wholesale .marketplaces .marketplace-container input[type=checkbox]:checked {
	background-image: url(/wp-content/themes/legion-2017/react/build/39ea6152b5f4aab9a75ab468e0056be9.svg);
	background-repeat: no-repeat;
	background-size: contain;
	border: none;
	background-color: #27A2FF;
	background-position: center;
}
#main.wholesale .thankyou {
	background-image: url(/wp-content/themes/legion-2017/images/2017-images/wholesale-thank-you.png);
	background-repeat: no-repeat;
	background-size: auto;
	text-align: center;
	padding: 150px 40px 40px;
}

#main.wholesale .thankyou h2 {
	font-size: 36px;
	font-family: 'proxima-nova';
	font-weight: 800;
	letter-spacing: 0.55px;
	line-height: 1.35;
}
#main.wholesale .thankyou p {
	font-size: 19px;
	margin-top: 15px;
}
#main.wholesale #wholesale-page-8 a {
	text-decoration: none;
}
/*#main.wholesale input[name=organization-name] {
	content: "*";
	color: red;
	position: absolute;
	top: 15px;
	left: 200px;
}
*/
@media screen and (max-width: 1024px) {
	#main.wholesale {
		margin: 0px auto;
	}
}

@media screen and (max-width: 767px) {
	#main.wholesale {
		padding: 0px 20px;
		margin: 90px auto 0;
	}
	#main.wholesale .fieldset {
		margin-top: 20px;
	}
	#main.wholesale h1 {
		font-size: 30px;
		padding: 20px 0;
		text-align: center;
		line-height: 1.2;
	}
	#main.wholesale p {
		font-size: 17px;
		line-height: 1.3;
		margin-bottom: 30px;
	}
	#main.wholesale h3 {
		font-size: 18px;
		padding: 10px 0 25px 0;
	}
	#main.wholesale input.half {
 		width: 100%;
 	}
 	#main.wholesale .bottom {
	 	flex-direction: column-reverse;
 		margin: 30px 0 20px;
 		padding-bottom: 0px;
 	}
 	#main.wholesale #wholesale-page-1 .bottom {
 		margin: 30px 0;
 	}
 	#main.wholesale #wholesale-page-7 .bottom {
 		padding-top: 0;
 	}
 	#main.wholesale button.wholesale-submit,
 	#main.wholesale .bottom button.wholesale-back,
 	#main.wholesale .bottom button.wholesale-next {
		max-width: 400px;
		text-align: center;
		font-size: 17px;
		margin: 10px auto 0;
	}
 	#main.wholesale #wholesale-page-8 .wholesale-back {
 		margin: 20px auto;
 	}
	#main.wholesale .certificate-container {
		flex-direction: column;
		align-items: flex-start;
		padding: 25px;
	}
	#main.wholesale .file-upload-container {
		width: 100%;
	}
	#main.wholesale .custom-file-upload {
		margin: 25px 0 0 0;
		max-width: 240px;
	}
	#main.wholesale .certificate-text h5 {
		font-size: 17px;
	}
	#main.wholesale .certificate-text p {
		font-size: 15px;
	}
	#main.wholesale .file-upload-container #file-selected {
		left: 0;
		right: auto;
		bottom: -18px;
	}
	#main.wholesale .marketplaces {
		flex-direction: column;
	}
	#main.wholesale .marketplaces .marketplace-container {
		margin: 15px 0 25px;
	}
	#main.wholesale .marketplaces .marketplace-container input[type="text"] {
		position: absolute;
		left: 35px;
		width: calc(100% - 36px);
	}
	#main.wholesale #wholesale-page-8 {
		margin: 0 -20px;
	}
	#main.wholesale .thankyou {
		background-image: url(/wp-content/themes/legion-2017/images/2017-images/wholesale-thank-you-mobile.png);
		background-repeat: no-repeat;
		background-size: contain;
		text-align: center;
		padding: 100px 20px 20px;
		max-width: 350px;
		margin: 0 auto;
	}
	#main.wholesale .thankyou h2 {
		font-size: 30px;
	}
	#main.wholesale .thankyou p {
		font-size: 18px;
	}
}

@media screen and (max-width: 360px) {
	#main.wholesale .thankyou {
		padding: 100px 10px 20px;
	}
}