/**
 * Plugin: One Page Checkout for VirtueMart byPV
 * Copyright (C) 2014 byPV.org <info@bypv.org>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/*** COMMON ***/

form#bypv_cart a.clean {
	font-weight: bold;
	text-decoration: none;
}

form#bypv_cart a.clean,
form#bypv_cart a.clean:hover
{
	background: none;
	color: #000;
}

form#bypv_cart table.clean {
	border-collapse: separate;
	border-spacing: 0 0;
	border: none;
}

form#bypv_cart table.clean tr,
form#bypv_cart table.clean td
{
	border: none;
	vertical-align: top;
}

 .mygueststyle #bypv_cart_customer_type_select.cart_block {
		font-size:20px;
		background:#fff;
		width:100%;
		clear:both;
}
#bypv_cart_customer_type_select.cart_block {
		font-size:15px;
		background:#fff;
		width:39%;
		float:left;
		font-family:latolight;
}


 .mygueststyle #bypv_cart_product_list.cart_block {
	border: 0px solid #d9d9d9!important;
	border-radius: 0px;
	background-color: #fff;
	width:100%;
	clear:both;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#bypv_cart_product_list.cart_block {
	border: 0px solid #d9d9d9!important;
	border-radius: 0px;
	background-color: #fff;
	width:60%;
	float:right;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

 .mygueststyle #bypv_cart_billing_address {
margin: 0 0 0em 0!important;	
	border-bottom:0!important;
	clear:both;
}

 .mygueststyle #cart_customer {
margin: 0 0 0em 0!important;	
width : 100%;
float:none;
clear:both;

	border-bottom:0!important;
}
#cart_customer {
margin: 0 0 0em 0!important;	
width : 39%;
float:left;
clear:left;

	border-bottom:0!important;
}

 .mygueststyle #wrapChipm_Pay {
	width:100%;
	clear:both;
	
}
#wrapChipm_Pay {
	width: calc(39% - 12px);
	clear:left;
	float:left;
	
}

.downblock #bypv_cart_fields.cart_block {
	border: 0px solid #d9d9d9!important;
	border-radius: 0px;
	margin-top:0;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
div#bypv_cart_fields fieldset.clean {
    padding: 0 12px 12px 12px!important;
}


form#bypv_cart div.cart_block {
	border: 0px solid #d9d9d9;
	border-radius: 0px;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.downblock #bypv_cart_fields.cart_block {
	border: 1px solid #d9d9d9;
	border-radius: 0px;
	float:left;
	width:50%;
	clear:left;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.mygueststyle .downblock #bypv_cart_fields.cart_block {
	border: 1px solid #d9d9d9;
	border-radius: 0px;
	float:none;
	width:100%;
	clear:both;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

form#bypv_cart div#bypv_cart_shipping_address_select,
form#bypv_cart div#cart_tos,
form#bypv_cart div#cart_buttons
{
	border: none;
}
form#bypv_cart #bypv_cart_product_list > h2.cart_block_title {
	display:none;
}
.commentheader_group h4.cart_block_title {

bottom:0px;
display: block!important;
margin: 0px 0px 0 -10px;
	padding: 12px 0px 12px 0px;
	
	background: #fff;
	color:#626363;
	text-align:left;
	letter-spacing: 0;
	font-weight: normal;
	font-size: 20px;
	font-family: latolight, Tahoma, Verdana;
	font-weight:normal;
	border-bottom:0px solid #d9d9d9;
	line-height: 1.1em;
}
#bypv_cart.checkout .downblock #bypv_cart_customer_note_field {
order: 2!important;
position:absolute;
bottom:-80px;
border:1px solid #5775a7;
border-radius:0;
display: block!important;
width:500px;
height:80px;
font-size:14px;
font-family:latolight, Tahoma, Verdana;
text-align: left;
 margin-top:30px; 	
}

form#bypv_cart div.cart_block > .cart_block_title {
	margin: 0px 0px;
	padding: 12px 0px 12px 0px;
	border-top-right-radius: 0px;
	border-top-left-radius: 0px;
	background: #fff;
	color:#626363;
	text-align:left;
	text-shadow: 0px 0px 0px #fff;
	letter-spacing: normal;
	font-weight: normal;
	font-size: 20px;
	font-family: latolight, Tahoma, Verdana;
	font-weight:normal;
	border-bottom:0px solid #d9d9d9;
	line-height: 1.1em;
}

.block_under_commentorder_group,
.block_under_commentorder_group h4.cart_block_title {
height:0;
font-size:0;	
}

#bypv_cart.checkout .downblock .block_under_commentorder_group td.value {

position:absolute;
	font-weight: bold;
	font-family: latolight, Tahoma, Verdana;
bottom:-120px;
left:20px;
border:0px solid #5775a7;
border-radius:0;
display: block!important;
font-size:14px!important;
text-align: center;
 margin-top:30px; 	
}
form#bypv_cart {
	margin-bottom:50px;
}


div#bypv_cart_billing_address   fieldset.clean {
	padding: 12px 12px 0 12px!important;
}
form#bypv_cart div.cart_block > fieldset.clean {
	padding: 12px 0;
	
}
form#bypv_cart input[type=text],
form#bypv_cart input[type=password],
form#bypv_cart textarea,
form#bypv_cart select,
form#bypv_cart div.chzn-container-single .chzn-single
{
	line-height: 18px;
	padding: 6px 8px 4px 8px;
	font-size: 16px;
	height: 38px;
	border: 1px solid #5775a7!important;
	color: #555555;
	border: 1px solid #e1e0e0;
	background: #fff;
	border-radius: 0px;
	vertical-align: middle;
}

input#bypv_billing_address_city_field.NP  {
	width: 100%!important;
}
select#bypv_billing_address_mycountry.required.vm-chzn-select {
	width: 380px!important;
	line-height: 15px !important;
font-size: 15px;
padding: 2px 8px 2px 8px !important;
font-family: latolight, Tahoma, Verdana;
}

form#bypv_cart textarea
{
	min-height: 30px;
	height: auto;
}

form#bypv_cart input[type=text],
form#bypv_cart input[type=password],
form#bypv_cart textarea
{

}

#bypv_cart_billing_address.cart_block.address_block  input[type=text],
#bypv_cart_billing_address.cart_block.address_block  input[type=password],
#bypv_cart_billing_address.cart_block.address_block   textarea,
input#bypv_billing_address_email_field.required.validate-email,
 div#bypv_cart_fields  input[type="text"]{
	border-radius:0;
	border: 1px solid #5775a7;
	line-height:30px!important;
	font-size:17px;
	font-family: latolight, Tahoma, Verdana;
	margin:0!important;
	background:#fff;
	padding: 10px 8px 10px 8px!important;
}

#bypv_cart_billing_address.cart_block.address_block #bypv_billing_address_username_field {
	display:none;
}
#bypv_cart_billing_address.cart_block.address_block label[for=bypv_billing_address_username_field] {
	display:none;
}


input#bypv_billing_address_email_field.required.validate-email {
	width: calc(100% - 18px);
	margin:0px!important;
}
.mygueststyle input#bypv_billing_address_email_field.required.validate-email {
	width: 362px!important;
	text-align:left;
	margin:0px!important;
}
.mygueststyle #bypv_cart_billing_address.cart_block.address_block  input[type=text],
.mygueststyle #bypv_cart_billing_address.cart_block.address_block  input[type=password],
.mygueststyle #bypv_cart_billing_address.cart_block.address_block   textarea,

.mygueststyle div#bypv_cart_fields  input[type="text"] {
	width: 380px!important;
	text-align:left;
	margin:0px!important;
}

form#bypv_cart select,
form#bypv_cart div.chzn-container-single .chzn-single
{
	margin:0!important;
width: 290px !important;
}

form#bypv_cart div.chzn-container-active .chzn-single-with-drop {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: 0px 4px 5px rgba(0,0,0,.15);
}

form#bypv_cart div.chzn-container-single .chzn-drop {
	border: 1px solid #e1e0e0;
	border-top-width: 0;
}

form#bypv_cart input[type=text]:focus,
form#bypv_cart input[type=password]:focus,
form#bypv_cart textarea:focus,
form#bypv_cart select:focus
{
	border-color: #881d1c;
	outline: 0 none;
}

form#bypv_cart input.text_button {
    display: inline-block;

    height: 22px;
    width: auto;
    font-family: latolight, Tahoma, Verdana;
    margin: 0px 0px 0 0;
    font-size: 15px;
line-height: 18px;
    background: #5775a7;
    color: #ffffff;
    border-radius: 0;
    border: 0;
	padding:0 20px;
}

form#bypv_cart input#bypv_login,
form#bypv_cart input.checkout_button
{
height: 40px;
width: 280px;
font-family: latolight, Tahoma, Verdana;
padding:0;
text-shadow:0;
font-size: 17px;
line-height: 40px;
background: #5775a7;
color: #fff;
border-radius: 0;
border: 0;
text-transform: uppercase;
}

form#bypv_cart div#cart_buttons input.text_button {
	height: 46px;
}

form#bypv_cart div#cart_buttons input.checkout_button {
	font-size: 17.5px;
margin:20px 0 0 00px;

}

form#bypv_cart input.text_button:hover
{
	
	background-color: #3a5178;
	color: #fff;
}

form#bypv_cart input#bypv_login:hover,
form#bypv_cart input.checkout_button:hover
{
		background-color: #3a5178;
	color: #ffffff;
}

/*** Coupon Code ***/

/*** Product List ***/

form#bypv_cart div#bypv_cart_product_list tr.coupon_code input[type=text] {
	height: 22px;
	line-height: 14px;
	font-size: 11px;
}

form#bypv_cart div#bypv_cart_product_list tr.coupon_code input[type=button] {
	padding: 2px 12px;

}

/*** Product List - COLS ***/

form#bypv_cart table#cart_product_table thead th,
form#bypv_cart table#cart_product_table td td
{
	color: #333;
}

form#bypv_cart table#cart_product_table thead th {
	text-transform: uppercase;
	font-size: 10px;
	font-weight: normal;
	
	background: none;
}

form#bypv_cart table#cart_product_table td {
	font-size: 12px;
}

form#bypv_cart table#cart_product_table thead th,
form#bypv_cart table#cart_product_table td
{
	border: 0px solid #e6e5e5;
	position:relative;
}

form#bypv_cart table#cart_product_table .total td.total_incl_tax {
    border: 0px solid #e6e5e5;
    padding: 0;
}

form#bypv_cart table#cart_product_table thead th {
	
	border-bottom-width: 0px; 
}
form#bypv_cart table#cart_product_table tr.product td
{
	font-size:16px;
	text-align:center;
	vertical-align: middle;
	padding-top: 40px;
	border-left: 1px solid #5775a7;
	border-bottom: 1px solid #5775a7; 
}

.mygueststyle form#bypv_cart table#cart_product_table tr.product td
{
	padding-top: auto;
	border-left: 0px solid #5775a7;
	border-bottom: 1px solid #5775a7; 
}
form#bypv_cart table#cart_product_table tbody td.name div.image img {

	margin:40px 0 0px 0;
}
.mygueststyle form#bypv_cart table#cart_product_table tbody td.name div.image img {

	margin:10px 0 10px 0;
}
form#bypv_cart table#cart_product_table tbody td.name div.text a {
	font-size: 15px;
	color: ##709225;
vertical-align: middle !important;
font-family: latolight, Tahoma, Verdana;
font-weight:bold;
z-index:2;
margin: 0 0 0 0px;
position: absolute;
width: calc(100vw - 45.5vw);
top: 0%;
border-bottom: 1px solid #5775a7;
background:#fff!important;
padding: 8px 0 8px 0px;
display: block;
}
.mygueststyle form#bypv_cart table#cart_product_table tbody td.name div.text a {
	font-size: 18px;
	color: #393939;
vertical-align: middle !important;
font-family: latolight, Tahoma, Verdana;
position: absolute;
font-weight: normal;
margin: 0 0 0 150px;
width:auto!important;
top: 50%;
background:transparent!important;
border-bottom: 0px solid #5775a7;
transform: translateY(-50%);
padding: 0 0;
display: inline-block;
}


form#bypv_cart table#cart_product_table tbody td.name div.text a:hover {
	text-decoration:none;
	color:#3a5178;
}

form#bypv_cart table#cart_product_table tbody td.name div.mytext a {
	font-size: 14px;
	display:block;
	font-family: latolight, verdana, tahoma;
	font-weight:bold;
	position:absolute;
	margin:0px 20px 0 150px;
	vertical-align:top!important;
}

form#bypv_cart table#cart_product_table tbody td.name {
    border-bottom: 1px solid #5775a7;
	border-left: 0px solid #5775a7;
    padding: 0em 0.5em 0em 0em;
	vertical-align:top!important;

}
form#bypv_cart table#cart_product_table tbody td.price_excl_tax .mycartblock,
form#bypv_cart table#cart_product_table tbody td.total_excl_tax .mycartblock,
form#bypv_cart table#cart_product_table tbody td.total_incl_tax .mycartblock,
form#bypv_cart table#cart_product_table tbody td.sku
{
	margin-top: 40px;
	font-weight: bold;
	color: #000;
	font-size:14px;
}

form#bypv_cart table#cart_product_table tbody td.total_incl_tax {
	text-align:center;
		color:#626363;
	font-size:15px;
	font-family:latolight, Tahoma, Verdana;
	
}
.mygueststyle form#bypv_cart table#cart_product_table tbody td.total_incl_tax {
	text-align:center;
		color:#626363;
	font-size:18px;
	font-family:latolight, Tahoma, Verdana;
	
}
form#bypv_cart table#cart_product_table  td.tax,
form#bypv_cart table#cart_product_table  td.tax
{
	font-size: 11px;
	color: #777;
}

form#bypv_cart table#cart_product_table  tr.total td.discount {
background:  #c5d5f1;
}

form#bypv_cart table#cart_product_table tbody td span.original
{
	text-decoration: line-through;
}

form#bypv_cart table#cart_product_table tfoot tr.subtotal td,
form#bypv_cart table#cart_product_table tfoot tr.total td,
form#bypv_cart table#cart_product_table tfoot tr.total_currency td
{
	background: #c5d5f1;
  font-size: 18px;
  font-family: latobold,Tahoma,Verdana;
}

form#bypv_cart table#cart_product_table tfoot tr.coupon_code td,
form#bypv_cart table#cart_product_table tfoot tr.shipment td,
form#bypv_cart table#cart_product_table tfoot tr.payment td
{
	padding: 0.2em 0.5em;
}

form#bypv_cart table#cart_product_table tfoot tr.subtotal td.label,
form#bypv_cart table#cart_product_table tfoot tr.total_currency td.label
{
	text-transform: uppercase;
	font-weight: bold;
}
form#bypv_cart table#cart_product_table  tr.total {
	background: #c5d5f1;
	padding:0!important;
	line-height:40px!important;
	margin:0!important;
}
form#bypv_cart table#cart_product_table tfoot tr.total td.label {
	background:  #c5d5f1;
	padding:0 40px 0 0!important;
	font-size:18px;
	font-family: latolight, Tahoma, Verdana;
	height:30px!important;
	margin:0 !important;
}

form#bypv_cart table#cart_product_table tfoot tr.total td.total_incl_tax,
form#bypv_cart table#cart_product_table tfoot tr.total td.drop {
		background:   #c5d5f1;
			font-size:18px;
	font-family: latolight, Tahoma, Verdana;
	font-weight: bold;
}

.mycontinue_link {
	
	clear:left;
    display: none;
    float: left;
height:40px;
	width: 220px;
	text-align:center;
    font-family: latolight, Tahoma, Verdana;
    margin: -40px 0px 0 0;
    font-size: 16px;
    line-height: 40px;
    background: #5775a7;
    color: #fff;
    border-radius: 0;
    border: 0;
	z-index:10;
	position:relative;
	padding:0px 0 0 0;
    text-transform: uppercase;
}
.mygueststyle .mycontinue_link {
	clear:left;
    display: block;
    float: left;
height:40px;
	width: 280px;
    font-family: latolight, Tahoma, Verdana;
    margin: 30px 0px 0 0;
    font-size: 20px;
    line-height: 40px;
    background: #d8f6ea;
    color: #83ab9b;
    border-radius: 0;
    border: 0;
    text-transform: uppercase;
}
.mycontinue_link:hover {
text-decoration:none;
    background: #709225;
    color: #fff;
}
#cart_product_table .bypv_product_update.image_button {
	display : none!important;
}

form#bypv_cart div.bypv_product_quantity > input[type=button] {
    display: none;
    float: right;

	height:40px;
	width: 280px;
    font-family: latolight, Tahoma, Verdana;
    margin: 30px 0px 0 0;
    font-size: 20px;
    line-height: 20px;
    background: #5775a7;
    color: #ffffff;
    border-radius: 0;
    border: 0;
    text-transform: uppercase;
}



form#bypv_cart table#cart_product_table tfoot tr.total_currency td.total_incl_tax
{
	font-size: 14px;
	font-weight: bold;
}

form#bypv_cart table#cart_product_table tfoot td.label label {
	text-transform: uppercase;
	font-weight: bold;
}

/*** Quantity Controls ***/

form#bypv_cart div#bypv_cart_product_list tr.product span.bypv_quantity_controls input,
form#bypv_cart div#bypv_cart_product_list tr.product input.bypv_product_update,
form#bypv_cart div#bypv_cart_product_list tr.product input.bypv_product_remove
{
	margin: 0;
	padding: 0;
	border: none;
}

form#bypv_cart div#bypv_cart_product_list tr.product span.bypv_quantity_controls input {
	width: 16px;
	height: 16px;
}

form#bypv_cart div#bypv_cart_product_list input.bypv_quantity {
	font-weight: bold;
}

form#bypv_cart div#bypv_cart_product_list tr.product span.bypv_quantity_controls input.bypv_quantity_plus {
	background: url('../images/button_plus.png') no-repeat top left;
	float:right;
	width: 30px;
	height: 30px;
}

form#bypv_cart div#bypv_cart_product_list tr.product span.bypv_quantity_controls input.bypv_quantity_minus {
	background:  url('../images/button_minus.png') no-repeat top left;
	margin-top: 0px;
	float:left;
	width: 30px;
	height: 30px;
}

form#bypv_cart div#bypv_cart_product_list tr.product input.bypv_product_update {
	background: url('../images/button_refresh.png') no-repeat top left;
	width: 24px;
	height: 24px;
}

form#bypv_cart div#bypv_cart_product_list tr.product input.bypv_product_remove {
	background: url('../images/button_remove.png') no-repeat top left;
	width: 29px;
	height: 29px;
}

/*** Shipments / Payments ***/

form#bypv_cart div.method_block div.info {
	margin: 0 0 1em 0;
	padding: 0.5em;
	background-color: #eee;
	border: 1px solid #e6e5e5;
	border-radius: 4px;
	font-size: 0.8em;
	text-align: justify;
	text-transform: uppercase;
}

form#bypv_cart div.method_block span.vmshipment_description,
form#bypv_cart div.method_block span.vmpayment_description,
form#bypv_cart div.method_block span.vmshipment_cost,
form#bypv_cart div.method_block span.vmpayment_cost
{
	line-height:1em;
	font-size: 14px;
	margin:0px 0 0 35px;
	font-family: latolight;
	color:#666;

}

/*** Login / Logout ***/

form#bypv_cart div#bypv_cart_login.logout p
{
	line-height: 30px;
}

/*** Address ***/

/*** Customer Comment ****/

/*** TOS ****/

div#cart_tos label {
	font-size: 1.2em;
}

div#cart_tos label a:hover {
	text-decoration: underline;
}

/*** Buttons ****/

form#bypv_cart div#cart_buttons {
	text-align: center;
	

}
.vm-customfield-cart .product-field-wrapper {
	line-height:14px;
	font-size:14px;
	margin-bottom:12px;
	white-space: normal;
	font-family:latolight;
}

.vm-customfield-cart .product-field-label {
		line-height:13px;
	font-size:13px;
	margin-bottom:0px;
	margin-top:4px;
	white-space: normal;
	font-family:latobold;
	display:block;
}