/***************************************************************************************************************************
**
**
**														Custom code for Hikashop by JoomSpirit
**
**
**		
*************************************************************************************************************************/

[id*="hikashop"] input[type="text"], [id*="hikashop"] input[type="password"], [id*="hikashop"] input[type="datetime"],
[id*="hikashop"] input[type="datetime-local"], [id*="hikashop"] input[type="date"], [id*="hikashop"] input[type="month"],
[id*="hikashop"] input[type="time"], [id*="hikashop"] input[type="week"], [id*="hikashop"] input[type="number"], [id*="hikashop"] input[type="email"],
[id*="hikashop"] input[type="url"], [id*="hikashop"] input[type="search"], [id*="hikashop"] input[type="tel"],
[id*="hikashop"] input[type="color"], [id*="hikashop"] .uneditable-input, [id*="hikashop"] textarea {
border: 1px solid rgba(0, 0, 0, 0.09);
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.04) inset;
height: 40px;
line-height: 2.8em;
padding: 0 10px;
margin:0;
transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
vertical-align: middle;
}

input[type="radio"], [id*="hikashop"] input[type="checkbox"] {
margin: 4px 8px 0 0;
display:inline;
}

[id*="hikashop"] select, [id*="hikashop"] textarea, [id*="hikashop"] input, [id*="hikashop"] .inputbox {
display:inline-block;
box-sizing:border-box;
}

[id*="hikashop"] label {
display: inline-block;
margin-bottom: 5px;
margin-right:16px;
}

[id*="hikashop"] .radio, [id*="hikashop"] .checkbox {
display: block;
margin-bottom: 10px;
margin-top: 10px;
min-height: 20px;
padding-left: 20px;
}

/**		button Hikashop 		**/

.hikabtn {
white-space: normal;
}

/***************************************************

				Listing products		
				
***************************************************/


[id*="hikashop_category_information_menu_"] div.hikashop_subcontainer, [id*="hikashop_category_information_menu_"] .hikashop_rtop *, [id*="hikashop_category_information_menu_"] .hikashop_rbottom * {
box-shadow: 3px 3px 18px -3px rgba(0, 0, 0, 0.35);
border:none !important;
transition: all 0.4s linear;
}

[id*="hikashop_category_information_menu_"] div.hikashop_subcontainer:hover, [id*="hikashop_category_information_menu_"] .hikashop_rtop *:hover,
[id*="hikashop_category_information_menu_"] .hikashop_rbottom *:hover {
box-shadow: 38px 38px 43px -5px rgba(0,0,0,0.5);
transition: all 0.4s linear;
}

[id*="hikashop_category_information_menu_"] .hikashop_subcontainer {
border-radius: 0;
padding:0 0 20px 0;
}

[id*="hikashop_category_information_menu_"] .hikashop_product_image, [id*="hikashop_category_information_module_"] .hikashop_product_image {
padding: 8px 8px 20px 8px;
}

/**		Image 		**/

.main_component img.hikashop_product_listing_image {
background: transparent;
border-radius: 0;
border:none;
box-shadow:none;
margin: 0;
padding: 0;
}

[id*="hikashop_category_information_menu_"] .hikashop_product_image_subdiv, [id*="hikashop_category_information_module_"] .hikashop_product_image_subdiv {
max-width: 100%;
}

[id*="hikashop_category_information_menu_"] .hikashop_product_image, [id*="hikashop_category_information_module_"] .hikashop_product_image {
height: auto !important;
}

/**		Price 		**/

span.hikashop_product_price_full {
display: block;
font-weight:bold;
margin-bottom:10px;
}

.hikashop_cart_value span.hikashop_product_price_full {
white-space:nowrap;
}

.hikashop_products span.hikashop_product_price_per_unit {
color: #999;
font-size: 90%;
font-style: italic;
}

span.hikashop_product_name {
display: block;
margin-bottom: 10px;
font-size:130%;
}

span.hikashop_product_name a:hover {
text-decoration:none;
}

span.hikashop_product_code_list {
display: block;
margin-bottom: 10px;
}

span.hikashop_product_vote {
display: block;
margin-bottom: 10px;
}

span.hikashop_product_stock_count {
display: block;
margin-bottom: 10px;
}


/**		field change 		**/

form[name*="hikashop_product_form_"] {
display:inline-block;
margin:20px 10px 0 10px;
text-align:center;
}

form[name*="hikashop_product_form_"] table {
display:inline-block;		/** to obtain a nice result in 2 lines if the width of product listing is too short **/
vertical-align:middle;
width:68px;
margin-bottom:8px;
}

input.hikashop_product_quantity_field {
width: 40px;
}

form[name*="hikashop_product_form_"] table + a {
margin-bottom:8px;
}

/**		Wishlist 	**/

a.hikawishlist {
display:block;		/**		Wishlist button in a second line 	**/
margin-top:15px;
}

/**		Pagination  	**/

.hikashop_products_pagination .pagination {
margin:20px 0;
}

.hikashop_products_pagination .limit {
display:none;		/**		hide "display" in the pagination  	**/
}

.hikashop_product_page .pagination {
padding:0;
margin:0;
}

.hikashop_product_page .pagination > a, .hikashop_product_page .pagination > span {
position: relative;
display: block;
float: left;
padding: 6px 12px;
margin:20px 0;
line-height: 1.42857143;
text-decoration: none;
background-color: rgba(0,0,0,0.03);
border: 1px solid rgba(0,0,0,0.07);
}

/**		fixed pb with fluid listing 		**/

.hkc-md-6:nth-child(2n + 1) {
clear:both;
}

.hkc-md-4:nth-child(3n + 1) {
clear:both;
}

.hkc-md-3:nth-child(4n + 1) {
clear:both;
}

.hkc-md-2:nth-child(5n + 1) {
clear:both;
}


/****************************************************************

							Product page 		

********************************************************************/


.hikashop_product_top_part {
margin-bottom: 20px;
width: 100%;
}

.hikashop_product_page h1, .hikashop_checkout_page h2, .hikashop_container h2 {
text-transform: uppercase;
margin-bottom: 30px;
}

/**		Image 		**/

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

	#hikashop_product_image_main {
	margin-right:30px;
	}

}

.hikashop_product_main_image_thumb, .hikashop_product_main_image,
.hikashop_image_main_thumb_div {
height: auto !important;
}

.hikashop_product_main_image_subdiv {
max-width:100%;
}

/**		child image 		**/

.hikashop_small_image_div {
text-align:center;
}

img.hikashop_child_image {
height:30px;
margin:5px;
}

/**		right part 		**/

.hikashop_product_right_part {
margin-top:10px;
margin-left:10%;
padding:15px;
background: rgba(255,255,255,0.12);
box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.03);
}

/**		Note 		**/

.hikashop_vote_tooltip {
display:block;
margin:4px 0;
}

.hikashop_vote_tooltip_label, .hikashop_vote_tooltip_label, .hikashop_vote_tooltip_label {
display:inline-block;
padding-right:6px;
}

/**			Price 		**/

.hikashop_product_price {
font-size: 1.3em;
font-weight: 300;
text-align: left;
}

.hikashop_product_page form .hikashop_product_price {
font-size: 1.0em;
}

span.hikashop_product_price {
display:inline-block;
color: #777777;
padding:0 6px;
}

.hikashop_product_price_main span.hikashop_product_price {
padding:0 6px 0 0;
}

.hikashop_product_price_main .hikashop_product_price_before_discount {
display:inline-block;
padding:0 6px 0 0;
font-size: 1.8em;
}

.hikashop_product_price_before_discount {
opacity: 0.5;
text-decoration: line-through;
}

/***		Field change	***/

.hikashop_product_quantity_main {
margin-bottom:15px;
}

.hikashop_product_quantity_main table {
display:inline-block;		/** to obtain a nice result in 2 lines if the width is too short **/
vertical-align:middle;
width:68px;
margin-bottom:8px;
}

.hikashop_product_quantity_main table + a {
margin-bottom:8px;
}

.hikashop_product_page .hikashop_product_quantity_field_change {
font-size: 1.8em;
line-height: 0.6em;
vertical-align: middle;
}
a.hikashop_product_quantity_field_change, a.hikashop_product_quantity_field_change:hover {
margin: 5px 10px;
text-decoration: none;
}

a.hikacart {
line-height: 28px;
text-transform:uppercase;
}

.hikashop_product_contact_main, .hikashop_product_contact_main, .hikashop_product_tags, .hikashop_product_id_main {
margin-bottom:15px;
}

/**			vote and comments 			**/

#hikashop_comment_form > .hikashop_product_vote_listing {
margin: 15px 0;
padding:15px;
background: rgba(255,255,255,0.12);
}

#hikashop_comment_form > .hikashop_product_vote_form {
margin: 15px 0;
padding:15px;
background: rgba(255,255,255,0.12);
box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.03);
}

#hikashop_comment_form .hikashop_product_vote_form .hikashop_form_comment {
font-weight:bold;
}

/***		table custom fields			**/

.hikashop_product_custom_item_info table td, .hikashop_product_custom_item_info table th {
padding: 7px;
}

.hikashop_remaining_characters, .hikashop_custom_file_upload_message {
display:block;
margin: 6px 0 6px 6px;
font-size:86%;
}

.rl_tooltips-link {
display:inline;
}

/**		bottom part 		**/

#hikashop_product_bottom_part {
padding-top:40px;
}

#hikashop_product_bottom_part.show_tabular {
padding-top:60px;
}


#hikashop_product_bottom_part > .hikashop_product_description_main {
margin: 0 0 15px 0;
padding:20px 15px;
background: rgba(255,255,255,0.12);
box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.03);
}


/**		Options			**/
.hikashop_option_info {
display:inline-block;
margin-left:10px;
}

.hikashop_product_options .hikashop_option_info img {
background: transparent;
border-radius: 0;
border:none;
box-shadow:none;
margin: 0;
padding: 0;
}


/**		Tabs 		**/

.hikashop_tabs_ul li {
padding: 14px 20px 10px;
}

.hikashop_tabs_ul li:hover {
cursor:pointer;
}

.hikashop_tabs_content {
padding: 5px 20px 20px 20px;
}

/***	Description 		**/

#hikashop_product_description_main {
margin-top:12px;
}

/**		custom info 		**/

.hikashop_product_custom_info_main_table tr, .hikashop_product_custom_info_main_table td {
vertical-align:top;
padding:10px;
border:1px solid rgba(0,0,0,0.14);
}

.hikashop_product_custom_info_main_table > tbody > tr:nth-child(odd) > td,
.hikashop_product_custom_info_main_table > tbody > tr:nth-child(odd) > th {
background-color: rgba(0,0,0,0.04);
}

.theme-dark .hikashop_product_custom_info_main_table > tbody > tr:nth-child(odd) > td,
.theme-dark .hikashop_product_custom_info_main_table > tbody > tr:nth-child(odd) > th {
background-color: rgba(255,255,255,0.08);
}

/**		Download link 		**/

a.hikashop_product_file_link {
display:block;
margin:10px 0 20px 0;
padding:8px 16px;
border:1px solid rgba(0,0,0,0.07);
background:rgba(0,0,0,0.07);
border-radius:6px;
}

/***		Hikashop comments 		**/

.hikashop_listing_comment > span {
display:block;
font-weight:bold;
margin:8px 0;
}


.hikashop_vote_stars {
line-height:13px;
padding:8px 0 ;
}

.hikashop_comment_form td {
padding:8px 0;
}

.hikashop_comment_textarea {
margin-top:8px;
padding: 6px 8px;
}

.hikashop_vote_form .button {
margin: 10px 0 20px 0;
}

/**		table dark theme - special code for JoomSpirit templates 		**/

.dark-theme .hikashop_tabs_content,
.theme-black .hikashop_tabs_content {
background-color: rgba(255,255,255,0.12);
border-color: rgba(255,255,255,0.12);
}

.dark-theme .hikashop_tabs_ul li,
.theme-black .hikashop_tabs_ul li {
background-color: rgba(255,255,255,0.12);
border-color: rgba(255,255,255,0.12);
border-bottom:none;
}

.dark-theme .hikashop_tabs_ul .hikashop_tabs_li_selected,
.theme-black .hikashop_tabs_ul .hikashop_tabs_li_selected {
background-color: rgba(255,255,255,0.18) !important;
border-bottom: none !important;
}

/***********************************************************************

				Registration

************************************************************************/


/*******		Progress bar 		*******/

.hikashop_wizardbar {
margin-bottom:26px;
}

/**		button image 		**/

.main_component [id*="hikashop"] button img, .main_component .hikashop_cart_product_quantity_refresh img,
.main_component .hikashop_cart_product_quantity_delete img {
background: transparent;
border-radius: 0;
border:none;
box-shadow:none;
margin: 0;
padding: 5px;
}

/***		Address 		**/

.hikashop_checkout_login legend {
padding-top: 30px;
}

.hikashop_checkout_billing_address_block > div, .hikashop_checkout_shipping_address_block > div {
position:relative;
margin:0 7px 30px 7px;
padding:10px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.14);
}

.hikashop_checkout_billing_address_block > div > input , .hikashop_checkout_shipping_address_block > div > input {
display:block !important;
margin: 0 15px 14px 0 !important;
}

.hikashop_checkout_billing_address_block > div > .hika_edit , .hikashop_checkout_shipping_address_block > div > .hika_edit {
position:absolute;
top:10px;
right:8px;
padding:0;
}

.hikashop_checkout_billing_address_block > div > .hika_edit img , .hikashop_checkout_shipping_address_block > div > .hika_edit img {
margin:0 3px 0 0;
padding:4px;
}




/*****  	Space between each part 		**/

.hikashop_checkout_page, .hikashop_checkout_login, .hikashop_checkout_address, .hikashop_checkout_payment, .hikashop_checkout_shipping, .hikashop_checkout_coupon, .hikashop_checkout_cart, .hikashop_checkout_status, .hikashop_checkout_terms {
margin-bottom:40px;
}

/**		shipping, payment 		***/

.hikashop_checkout_payment_description, .hikashop_checkout_shipping_description {
padding: 10px 0 0 25px;
}

.hikashop_checkout_shipping_name, .hikashop_checkout_payment_name {
display:inline-block;
padding-right:10px;
}

.hikashop_checkout_shipping_price {
color: #990000;
}

/*****		Hikashop checkout cart 			***/


.hikashop_checkout_cart {
margin-top:50px;
}

.hikashop_checkout_cart td {
vertical-align:middle !important;
}

.hikashop_checkout_cart td > span, .hikashop_checkout_cart td > p {
margin-bottom:0;
}

.hikashop_checkout_cart .hikashop_product_checkout_cart_image {
max-width:140px;
}

.hikashop_cart_product_quantity_value .hikashop_product_quantity_field, .hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_refresh,
.hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_delete {
float: left;
height:40px;
line-height:40px;
}

.hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_refresh,
.hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_delete {
padding: 0 0 0 14px;
}

.hkform-group label > label {
width:auto;		/** 		sometimes Hikashop load twice label with a width of 33% . This code remove that.		**/
}

.hikashop_checkout_cart_final_total {
font-size:130%;
font-weight:bold;
white-space:nowrap;
}

/* Improve the result of Checkout table in small devices */
@media screen and (max-width: 767px) {

	.hikashop_checkout_cart td.hikashop_cart_product_name_value {
	width: 100%;
	}
	
	.hikashop_checkout_cart table, .hikashop_checkout_cart table thead, .hikashop_checkout_cart table tbody, .hikashop_checkout_cart table thead th, .hikashop_checkout_cart table tbody td, .hikashop_checkout_cart table thead tr, .hikashop_checkout_cart table tbody tr {
	text-align:center;
	}
	
	.hikashop_checkout_cart td > span {
	padding-left:0 !important;
	}
	
	.hikashop_cart_product_quantity_value .hikashop_product_quantity_field, .hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_refresh, .hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_delete {
	float:none;
	display:inline-block;
	}
	
	.hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_refresh, .hikashop_cart_product_quantity_value .hikashop_cart_product_quantity_delete {
    padding-left: 6px;
	}
	
	.hikashop_checkout_cart table td:before {
    font-size: 85%;
   	}
   	
   	.hikashop_checkout_cart table td.hikashop_cart_product_image_value:before {
   	display:none;
   	}

}

@media screen and (max-width: 450px) {

	.hikashop_checkout_cart table, .hikashop_checkout_cart table thead, .hikashop_checkout_cart table tbody, .hikashop_checkout_cart table thead th, .hikashop_checkout_cart table tbody td, .hikashop_checkout_cart table thead tr, .hikashop_checkout_cart table tbody tr {
	text-align:right;
	}
	
	.hikashop_checkout_cart table tbody td.hikashop_cart_product_image_value {
	text-align:center;
	}
	
}

/**************************************************************

		Related products & Others modules
		
****************************************************************/

.hikashop_submodules {
margin-top:30px;
}

[id*="hikashop_category_information_module_"] .hikashop_subcontainer {
padding-bottom: 20px;
}

/**		Module HK cart 		**/

.hikashop_cart table {
margin-bottom: 20px;
}

.hikashop_cart > thead > tr > td,
.hikashop_cart > thead > tr > th,
.hikashop_cart > tbody > tr:nth-child(even) > td,
.hikashop_cart > tbody > tr:nth-child(even) > th {
background-color: rgba(0,0,0,0.04);
}

.theme-dark .hikashop_cart > thead > tr > td,
.theme-dark .hikashop_cart > thead > tr > th,
.theme-dark .hikashop_cart > tbody > tr:nth-child(even) > td,
.theme-dark .hikashop_cart > tbody > tr:nth-child(even) > th {
background-color: rgba(255,255,255,0.08);
}

.hikashop_cart th, .hikashop_cart td {
padding:10px 10px;
vertical-align:middle;
border: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-dark .hikashop_cart th, .theme-dark .hikashop_cart td {
border-color: rgba(255,255,255,0.12);
}

.hikashop_cart td .hikashop_product_price_full {
margin-bottom:0;
}

.hikashop_small_cart_checkout_link {
display:block;
font-weight:bold;
margin: 8px 0 14px;
}

/**********/

.hkform-group::before, .hkform-group::after {
content: "";
display: table;
line-height: 0;
}
.hkform-group::after {
clear: both;
}