/*///////////////////////////////
////// 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"],
label[for="bfm-send-a-copy"] {
	font-weight: 700;
}

#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,
#bfm-send-a-copy {
	margin-bottom: 25px;
}

#bfm-your-message,
#bfm-email-subject {
	max-width: 100% !important;
}

#bfm_button_repeat,
#bfm_return {
	display: none !important;
}

/*////////// #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 //////////*/





/**********************Buy For Me Style**********************/

.woocommerce div.product form.cart .button.brnhmbx-bfm-button {
    background: #ffffff none repeat scroll 0 0 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    bottom: 18px;
    clear: both;
    color: #444 !important;
    cursor: pointer;
    display: block;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: bold;
    height: auto;
    left: 235px;
    letter-spacing: 1px;
    line-height: 25px;
    margin-top: 10px;
    max-width: inherit;
    min-width: inherit;
    opacity: 1;
    padding: 4px 15px !important;
    position: absolute;
    text-align: center;
    text-shadow: none;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: normal;
    width: auto;
    word-break: break-all;
    word-wrap: break-word;
}
.woocommerce div.product form.cart .button.brnhmbx-bfm-button:active {
	top:inherit;
}
#brnhmbx-buy-for-me {
    z-index: 99999999 !important;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container {
    background-color: #ffffff;
	border-radius:0px;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container input[type="text"], #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container input[type="email"] {
    border: 1px solid #cccccc !important;
    border-radius: 3px;
    font-size: 14px !important;
    font-weight: normal;
    height: 39px !important;
    line-height: 1.846;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	margin-top:0px;
	font-family:"Times New Roman", Times, serif;
	letter-spacing:3px;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container textarea {
    border: 1px solid #cccccc !important;
    border-radius: 3px;
    font-size: 14px !important;
    font-weight: normal;
    height: 80px !important;
    line-height: 1.846;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	font-family:"Times New Roman", Times, serif;
	letter-spacing:3px;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container select {
    border: 1px solid #cccccc !important;
    border-radius: 3px !important;
    font-size: 14px !important;
    font-weight: normal;
    height: 39px !important;
    line-height: 1.846 !important;
    padding: 6px 12px !important;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s !important;
	margin: 0 0 15px !important;
	font-family:"Times New Roman", Times, serif;
	letter-spacing:3px;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container input[type="text"]:focus, #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container input[type="email"]:focus, #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container select:focus, #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container textarea:focus {
    border-color: #000000 !important;
    outline: 0 none !important;
}
body #bfm-bg-front {
    border-radius: 6px !important;
}
body #bfm-bg-front #bfm-fg-front {
    border-radius: 6px;
}
body #bfm-button-text-front-bg {
    border-radius: 6px !important;
}



.brnhmbx-bfm-main .bfm-message {
    border-radius: 6px !important;
}
.single-product .product_content_wrapper .product_infos form {
    position: relative;
}
.single-product.woocommerce div.product form.cart .button.brnhmbx-bfm-button i {
    display: inline-block;
    font-size: 18px;
    padding-right: 15px;
    padding-top: 1px;
}
#brnhmbx-buy-for-me .ico-send {
    margin: 0 0 0 120px;
}
.brnhmbx-button div {
    float: left;
}
#brnhmbx-buy-for-me .ico-send {
    color: #ffffff;
    font-size: 18px;
    position: absolute;
    top: 0;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container {
    color: #444444 !important;
    font-family: sans-serif !important;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container h2 {
    color: #444444 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
	font-family: "Times New Roman", Times, serif !important;
	margin-bottom: 10px !important;
	letter-spacing:3px;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container .bfm-form label {
    color: #444444 !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    text-transform: inherit !important;
}
body #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container button.button {
    border: medium none !important;
    border-radius: 0 !important;
    font-family: times new roman !important;
    height: 50px !important;
    letter-spacing: 3px !important;
    line-height: 50px !important;
    padding: 0 15px !important;
    position: relative;
    text-align: left !important;
    text-transform: uppercase;
    width: 170px !important;
	margin-bottom: 10px !important;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container button.button {
 	-moz-user-select: none !important;
    background-image: none !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: 1.846 !important;
    margin-bottom: 0 !important;
    padding: 6px 12px !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
	letter-spacing: 0.1px !important;
	background-color: #000000 !important;
    color: #ffffff !important;
	border-bottom: medium none !important;
    border-right: medium none !important;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s ease 0s !important;
    background-position: 50% center !important;
    background-size: 200% auto !important;
    outline: medium none !important;
	font-family: sans-serif !important;
	width: auto !important;
	min-width: auto !important;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container button.button:hover, #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container button.button:active:hover, #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container button.button:focus {
    background-color: #404040 !important;
    color: #ffffff !important;
    outline: medium none !important;
    text-decoration: none !important;
}
#brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container .bfm-close {
    top: 15px !important;
}
.bfm-container .top-header h1 {
    color: #444444;
    font-family: "Times New Roman", Times, serif;
    font-size: 26px;
	margin-top: -0.13em;
    text-transform: uppercase;
	letter-spacing:5px;
}
.bfm-container .top-header h1 {
    line-height: 40px;
    padding: 5px 0;
}
.bfm-container .sub-header h4 {
    color: #444444;
    font-family: "Times New Roman",Times,serif;
    font-size: 20px;
    margin-top: -30px;
	letter-spacing:4px;
	font-weight:normal;	
}
.bfm-container .sub-header h4 {
    line-height: 26px;
    padding: 10px 0;
}
.bfm-container .header-break-line {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 15px;
	margin-top:15px;
}
body.archive.woocommerce a.button.brnhmbx-bfm-button {
    padding: 18px 21px !important;
} 
#bfm-bg-front {
    margin-top: 15px !important;
}
@media (min-width: 320px) and (max-width: 576px) {
	.woocommerce div.product form.cart .button.brnhmbx-bfm-button {
		left: inherit;
		position: relative;
		bottom:inherit;
	}
	/*.bfm-container .top-header h1 {
		font-size: 40px;
		line-height: 40px;
		padding: 5px 0;
	}*/
	#bfm-fg-front {
		max-width: 260px;
		width: 100%;
	}
	.bfm-container .top-header h1 {
		line-height: 32px;
	}
	.bfm-container .sub-header h4 {
		line-height: 26px;
		padding: 10px 0;
	}
	.bfm-container .sub-header h4 {
		color: #444444;
		font-family: "Times New Roman",Times,serif;
		font-size: 20px;
		font-weight: normal;
		letter-spacing: 3px;
		margin-top: -25px;
	}
	body #brnhmbx-buy-for-me .brnhmbx-bfm-wrapper .bfm-container button.button {
		margin-bottom: 20px !important;
	}
}