/*************************************
 *
 * Search widget
 *
 *************************************/
.amsr-loader {
	position: absolute;
	left: 1px;
	bottom: -10px;
	opacity: 0;
}

.amsr-image-outer {
	text-align: center;
}

.amsr-search {
	position: relative;
}

.amsr-search label {
	display: inline-block;
	font-size: 15px;
	width: auto;
	margin-right: 10px;
	vertical-align: top;
	line-height: 22px;
	padding-top: 8px;
}

.amsr-search-field {
	font-size: 17px!important; /* !important for IE */
	color: #999;
	padding: 6px 10px 4px;
	width: 75px!important; /* !important for IE */
	display: inline-block;
	vertical-align: top;
	text-align: center;
	line-height: 22px!important; /* !important for IE */
 	outline: none;
	box-sizing: border-box!important;
	height: 34px!important;  /* !important for IE */

	box-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;

	-webkit-appearance: none!important;
}

.amsr-search-button:hover {
	background-color: #e75312;
	background-position: -71px center;
}

.amsr-search-field::-webkit-input-placeholder,
.amsr-search-field:-moz-placeholder,
.amsr-search-field::-moz-placeholder,
.amsr-search-field:-ms-input-placeholder {
	color: #999;
}

.amsr-search-field:focus::-webkit-input-placeholder,
.amsr-search-field:focus:-moz-placeholder,
.amsr-search-field:focus:-moz-placeholder,
.amsr-search-field:focus::-moz-placeholder,
.amsr-search-field:focus:-ms-input-placeholder {
	color: transparent;
}

.amsr-sales-rep-popup-form-loader {
	opacity: 0;
	position: absolute;
	left: 15px;
	bottom: 95px;
}

@media screen and (min-width: 768px) and (max-width: 960px) {
	.amsr-image-outer {
		float: left;
		max-width: 200px;
		width: 200px;
	}
}

/*************************************
 *
 * Featherlight Popup
 *
 *************************************/

.amsr-body .featherlight .featherlight-content {
	width: 90%;
	padding: 10px;
	border: 0 none;
}

.amsr-sales-rep-popup h1 {
	line-height: 24px;
	font-size: 20px;
	letter-spacing: 0;
}

.amsr-sales-rep-popup h1 img {
	display: none;
}

.amsr-sales-rep-popup-profile {
	background-color: #f5f5f5;
	padding: 10px;
	max-width: 400px;
	display: block;
	width: 100%;
}

.amsr-profile-image {
	width: 100%;
}
.amsr-profile-image img {
	width: 100%;
}

.amsr-sales-rep-popup-text {
	background-color: #f5f5f5;
	padding: 10px;
	font-size: 18px;
	line-height: 28px;
}

.amsr-sales-rep-popup-text h2 {
	font-size: 20px;
	line-height: 28px;
}

.amsr-sales-rep-popup-text h3 {
	font-size: 24px;
	line-height: 32px;
}

.amsr-sales-rep-popup-text ul {
	list-style-position: inside;
	margin-top: 35px;
}

.amsr-sales-rep-popup-text li {
	margin: 0 0 15px 45px;
}

.amsr-sales-rep-popup-text li:before {
	content: '✓';
	color: #d54d13;
	margin-right: 5px;
	margin-left: -20px;
}

.amsr-sales-rep-popup-form {
	margin-top: 25px;
}

.amsr-sales-rep-popup-form-headline {
	color: #d54d13;
	font-size: 16px;
	line-height: 16px;
}

.amsr-sales-rep-popup-form form {
	padding-right: 15px;
}

.amsr-sales-rep-popup-form-fields {
	padding: 0 0 0 15px;
}

.amsr-sales-rep-popup-form-fields .amsr-sales-rep-popup-form-field {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	height: 40px;
	padding: 0 10px;
	line-height: 40px;
	font-size: 13px;

	box-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;

	-webkit-appearance: none!important;

}

.amsr-sales-rep-popup-success,
.amsr-sales-rep-popup-warnings {
	border: 1px dotted red;
	padding: 10px;
	margin: 20px 15px 0 0;
	display: none;
}

.amsr-sales-rep-popup-success {
	display: block;
	border: 1px dotted #238b57;
}

.amsr-sales-rep-popup-form .amsr-sales-rep-popup-form-button {
	width: 100%;
	font-size: 16px;
	margin-top: 15px;
}

.featherlight-content .teaser_box {
	border: 0 none;
}

.featherlight-content .space_15 {
	padding: 0;
}

.featherlight-content .amsr-profile-name {
	font-size: 14px;
}

.featherlight-content .amsr-sales-rep-popup-profile .amsr-loader {
	display: none;
}

@media screen and (min-width: 301px) {
	.amsr-sales-rep-popup-profile {
		margin: 0 auto 25px auto;
	}
}

@media screen and (min-width: 620px) {
	.amsr-sales-rep-popup-form-fields .amsr-sales-rep-popup-form-field {
		margin: 0 2% 2% 0;
		display: inline-block;
		width: 49%;
	}

	.amsr-sales-rep-popup-form-fields .amsr-sales-rep-popup-form-field:nth-child(even) {
		margin-right: 0;
	}

	.amsr-body .featherlight .featherlight-content {
		padding: 45px;
	}
}

@media screen and (min-width: 768px) {

	.amsr-sales-rep-popup h1 {
		line-height: 32px;
		font-size: 30px;
	}

	.amsr-sales-rep-popup h1 img {
		vertical-align: top;
		margin-right: 10px;
		display: inline-block;
	}

	.amsr-sales-rep-popup-text h2 {
		font-size: 26px;
		line-height: 34px;
	}

	.amsr-sales-rep-popup-profile {
		margin: 0;
		display: inline-block;
		width: 48%;
		float: right;

	}

	.amsr-sales-rep-popup-left {
		display: inline-block;
		width: 50%;
	}

	.amsr-sales-rep-popup-form-fields .amsr-sales-rep-popup-form-field {
		width: 100%;
		display: block;
	}

	.amsr-sales-rep-popup-profile {
		min-width: 280px;
	}
}

@media screen and (min-width: 1050px) {
	.amsr-body .featherlight .featherlight-content {
		width: 100%;
		max-width: 1024px;
		margin: 0 auto;
	}

	.amsr-sales-rep-popup-profile {
		width: 33%;
	}

	.amsr-sales-rep-popup-left {
		width: 65%;
	}

	.amsr-sales-rep-popup-form-fields .amsr-sales-rep-popup-form-field {
		margin: 0 2% 15px 0;
		display: inline-block;
		width: 49%;
	}
}

/*************************************
 *
 * List Page
 *
 *************************************/
.amsr-sales-rep-list .amsr-profile-image,
.amsr-sales-rep-list .amsr-profile-name {
	cursor: pointer;
}

.amsr-profile-buttons-spacer {
	width: 100%;
	height: 50px;
}

.amsr-sales-rep-list .amsr-profile .btn {
	width: 100%;
	bottom: 1px;
	left: 0;
	font-size: 16px;
	background-color: #AAA;
	text-align: center;
	background-image: none;
}

.amsr-sales-rep-list .amsr-profile .btn:hover {
	background-color: #d54d13;
}
