/*///////////////////////////////
////// TABLE OF CONTENTS ////////
/////////////////////////////////

1. Layout / #bfm_layout

2. Preview / #bfm_preview

3. Responsive / #bfm_responsive

/////////////////////////////////
/////////////////////////////////
///////////////////////////////*/

/*//////////////////////////////////////////////////
////////// 1. Layout / #bfm_layout STARTS //////////
//////////////////////////////////////////////////*/

.bfm-clearfix:after {
	content: "";
	display: table;
	clear: both;
}

#brnhmbx-buy-for-me {
	position: absolute;
	visibility: hidden;
	top: -2000px;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	opacity: 0;
	z-index: 999999;
	padding: 0px 10px 10px 10px;
}

#brnhmbx-buy-for-me.open {
	visibility: visible;
	opacity: 1;
	top: 0;
}

.brnhmbx-bfm-overlay {
	position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
}

#brnhmbx-buy-for-me:before {
  content: '';
  display: inline-block;
  vertical-align: top;
  height: auto;
  width: 0;
}

.brnhmbx-bfm-wrapper {
  display: inline-block;
  vertical-align: top;
  min-width: 280px;
  max-width: 910px;
	width: 100%;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  text-align: left;
	margin-bottom: 10px;
}

#brnhmbx-buy-for-me.open .brnhmbx-bfm-wrapper {
	visibility: visible;
}

.brnhmbx-bfm-main {
  -webkit-transform: translateY(20%);
  -moz-transform: translateY(20%);
  -ms-transform: translateY(20%);
  transform: translateY(20%);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.brnhmbx-bfm-main:after,
.brnhmbx-bfm-main:before {
  content: '';
  display: table;
	clear: both;
}

#brnhmbx-buy-for-me.open .brnhmbx-bfm-main {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.bfm-close {
	cursor: pointer;
	position: absolute;
	right: 0;
	margin-right: 10px;
	margin-top: -10px;
	z-index: 999;
	font-size: 22px;
	font-weight: bold;
}

.bfm-close:hover {
	opacity: 0.7;
}

.bfm-container {
	padding: 20px 20px 0 20px;
}

.bfm-message {
	padding: 60px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

.bfm-preview {
	position: relative;
	float: left;
	max-width: 100%;
	min-width: 260px;
	width: 100%;
	margin-right: 0px;
	margin-bottom: 20px;
}

.bfm-form {
	position: relative;
	min-width: 260px;
	overflow: hidden;
	margin-bottom: 20px;
}

.bfm-col-1 {
	float: left;
	width: 100%;
	max-width: 245px;
	margin-right: 20px;
}

.bfm-col-2 {
	display: inline-block;
	width: 100%;
	max-width: 245px;
}

#brnhmbx-buy-for-me label {
	font-size: 13px;
	clear: both;
}

label[for="bfm-hide-price"] {
	font-weight: 700;
	line-height: 30px;
	vertical-align: top;
	display: inline-block;
}

#brnhmbx-buy-for-me h2 {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 20px;
}

.bfm-input {
	height: 50px !important;
	font-size: 13px;
	width: 100%;
	max-width: 245px;
	padding-left: 10px;
	margin: 5px 0 15px 0;
	display: block;
}

.bfm-select {
	margin: 5px 0 15px 0;
	width: 100%;
	height: 50px !important;
	font-size: 13px;
	font-weight: bold;
	padding-left: 10px;
	display: block;
	white-space: pre-wrap;
	word-wrap: break-word;
}

#bfm-hide-price {
	margin-bottom: 10px;
	width: auto;
	height: 30px;
	margin-top: 0;
}

#bfm-your-message,
#bfm-email-subject {
	max-width: 100% !important;
}

#bfm_button_repeat,
#bfm_return {
	display: none !important;
}

.bfm-button-container {
	width: 100%;
	float: left;
	margin-top: 20px;
}

.bfm-fa {
	font-size: 18px !important;
	margin-right: 10px;
	vertical-align: middle;
}

#bfm-submit {
	width: 100%;
	text-align: center;
}

/*////////// #bfm_layout ENDS //////////*/

/*////////////////////////////////////////////////////
////////// 2. Preview / #bfm_preview STARTS //////////
////////////////////////////////////////////////////*/

#bfm-bg-front {
	width: 100%; padding: 20px 0 20px 0; text-align: center;
}

#bfm-fg-front {
	width: 100%; max-width: 300px; font-family: Arial, Helvetica, sans-serif; display: inline-block;
}

#bfm-your-message-front {
	text-align: center; font-size: 16px; font-weight: bold; line-height: 22px;
	padding-bottom: 20px; padding-left: 20px; padding-right: 20px; overflow: hidden; word-wrap: break-word;
}

#bfm-product-url-front {
	text-align: center; padding-bottom: 10px;
}

#bfm-product-url-front img {
	width: 180px; border: none; display: inline-block;
}

#bfm-product-text-front {
	text-align: center; font-size: 14px; font-weight: bold; line-height: 18px;
	padding-bottom: 20px; padding-left: 20px; padding-right: 20px;
}

#bfm-price-text-front {
	font-size: 12px; font-weight: bold;
}

#bfm-price-text-front del {
	display: none !important;
}

#bfm-button-text-front {
	text-align: center; padding-bottom: 20px;
}

#bfm-button-text-front-bg {
	display: inline-block; height: 50px; width: 180px;
}

#bfm-button-text-front-a {
	font-weight: bold; font-family: Arial, Helvetica, sans-serif; font-size: 14px;
	text-decoration: none; height: 50px; width: 180px; line-height: 50px;
}

#bfm-logo {
	text-align: center; padding-bottom: 20px; padding-top: 20px;
}

#bfm-logo a {
	text-decoration: none; font-weight: bold; font-size: 22px;
}

#bfm-logo img {
	height: auto; border: none; display: inline-block;
}

/*////////// #bfm_preview ENDS //////////*/

/*//////////////////////////////////////////////////////////
////////// 3. Responsive / #bfm_responsive STARTS //////////
//////////////////////////////////////////////////////////*/

@media all and (min-width: 450px) {

	#brnhmbx-buy-for-me {
		padding: 0px 20px 20px 20px;
	}

}

@media all and (min-width: 769px) {

	.bfm-preview {
		max-width: 340px; margin-right: 20px;
	}

}

@media all and (min-width: 968px) {

	#brnhmbx-buy-for-me {
		padding: 20px 20px 20px 20px;
	}

}

@media all and (min-height: 670px) and (min-width: 968px) {

	#brnhmbx-buy-for-me {
		position: fixed;
	}

	.brnhmbx-bfm-wrapper {
		vertical-align: middle;
	}

}

@media all and (min-width: 1000px) {

	#brnhmbx-buy-for-me:before {
		vertical-align: middle; height: 100%;
	}

}

/*////////// #bfm_responsive ENDS //////////*/
