/*
Theme Name:   Altenberg Store
Theme URI:    https://altenberg.pl
Author:       Paweł Mołodecki - JDM.pl
Author URI:   http://jdm.pl
Template:     storefront
Description:  
Version:      1.0.0
Text Domain:  altenberg
Domain Path: /languages
*/
/*
 * Add your own custom css below this text.
 */





.woocommerce-checkout .storefront-primary-navigation,
.woocommerce-checkout .site-search,
.woocommerce-checkout .header-widget-region,
.woocommerce-checkout .footer-widgets,
.woocommerce-checkout #masthead,
.woocommerce-checkout .storefront-breadcrumb,
.woocommerce-checkout .entry-header {
	display: none;
}

form.checkout {
	position: relative!important;
}



.input-text, input[type=email], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], textarea {
	border-radius: 3px;
	background-color: #fff;
	box-shadow: none;
	border: 1px solid #e1e1e1;
}
a:focus, button:focus, input:focus, textarea:focus {
	outline: none;
}




#payment,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-term,
#order_review .shop_table {
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 15px;
}

#payment {
	margin-right: 0;
}
#order_review #ReviewOrderTable {
	float: right;
	width: 44%;
}
#payment h4 {
	margin-top: 0;
	font-weight: 600;
	color: #999;
	font-size: 14px;
}
.woocommerce-checkout h3,
.woocommerce-shipping-fields h3#ship-to-different-address label {
	font-weight: 600;
}

.woocommerce-billing-fields__field-wrapper > p {
	margin: 0 0 .4em;
}

#payment > hr {
	margin: 20px auto 15px;
	height: 1px;
	width: 90%;
	background-color: #e1e1e1;
}

.easypack-shipping-method-logo {
	display: none;
}

#payment .payment_methods>.wc_payment_method>label {
	padding: 5px 0;
	margin: 0 0 0 .3819820591em;
}
#payment .woocommerce-shipping-methods li {
	padding: 2px 0;
}

#payment .payment_methods label img {
	display: none;
}

#payment .payment_methods > li:not(.woocommerce-notice) {
	background-color: transparent!important;
}


#payment #shipping_method li input[type=radio]:first-child:checked+label:before {
	color: #96588a;
}
#payment #shipping_method li>label::before{
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	line-height: 1;
	vertical-align: -.125em;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	line-height: inherit;
	vertical-align: baseline;
	content: "\f111";
	margin-right: .5407911001em;
	-webkit-transition: color,ease,.2s;
	transition: color,ease,.2s;
}

#payment #shipping_method li>input[type=radio]:first-child:checked+label::before {
	content: "\f192";
}
#payment #shipping_method li>input[type=radio]:first-child {
	border: 0;
	clip: rect(1px,1px,1px,1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal!important;
}
#ship-to-different-address {
	margin-bottom: 0;
}


#place_order {
	display: block;
	padding: 18px 40px;
	background-color: #782182;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	border-radius: 5px;
	margin: 0 auto;
}

.woocommerce-term {
	font-size: 14px;
}
.woocommerce-term p {
	margin-bottom: 10px;
}



.woocommerce-checkout .order-total .includes_tax {
	display: none;
}





.Orders-header {
	display: block;
	padding: 10px 0;
	position: relative;
	height: 70px;
}

.Orders-header a.Orders-header-link,
.Orders-header a.Orders-header-link:not(.button),
.Orders-header a.Orders-header-link:hover {
	position: absolute;
	font-size: 14px;
	font-weight: bold;
	line-height: 44px;
	color: #782182;
	text-decoration: none;
}


.Orders-header .Orders-header-ssl {
	float: right;
	font-size: 14px;
	font-weight: normal;
	line-height: 44px;
	font-weight: bold;
	padding-left: 32px;
}
.Orders-header .Orders-header-ssl img,
.Orders-header .Orders-header-link img {
	height: 18px;
	width: auto;
	display: inline-block;
	margin: 0 4px -3px;
}


.woocommerce-shipping-fields__field-wrapper::after {
	content: '';
	display: block;
	clear: both;
}

#order_review .shop_table th,
#order_review .shop_table td {
	background-color: transparent;
	padding: .5em;
}
#order_review .shop_table td {
	text-align: right;
}
#order_review .shop_table td.product-name {
	text-align: left;
}

#order_review .shop_table td.product-name .cqoc_product_name {
	width: calc(100% - 160px);
	display: block;
	float: left;
	padding-right: 5px;
	font-size: 14px;
}
#order_review .product-item-thumbnail {
	float: left;
	padding: 0px 10px;
	width: 70px;
}
#order_review a.remove {
	float: left;
}
#order_review .shop_table td.product-name .quantity {
	display: block;
	float: right;
	width: 70px;
}
table.woocommerce-checkout-review-order-table .product-name {
	width: 360px;
}
#order_review .shop_table td.product-name a.remove {
	margin-top: 24px;
	font-size: 15px;
}



#order_review .product-item-thumbnail img {
	width: 50px;
}

.woocommerce-notices-wrapper {
	margin-top: 20px;
}

.order-total td,
.order-total th {
	border-top: 1px solid #e1e1e1;
	color: #444;
	font-size: 1.2em;
}

input[type=checkbox]+label, input[type=radio]+label,
#order_review .shop_table th {
	font-weight: 600;
	color: #444;
}

#select-point-container {
	margin-left: 30px;
	margin-top: 5px;
	margin-bottom: 0;
	display: block;
}
#select-point {
	background-color: #a72f8b;
	color: #fff;
	padding: 5px 15px;
	border-radius: 30px;
	text-decoration: none;
}
#selected-point {
	margin-top: 10px;
	border-radius: 3px;
	background: transparent;
}


.woocommerce-checkout form[name="checkout"] {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	margin-bottom: 0;
}
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout #order_review {
	flex-basis: 100%;
	order: 1;
}
.woocommerce-checkout #customer_details {
	order: 2;
}



#shipping_method li label span,
.wc_payment_methods li label span {
	float: right;
}
.wc_payment_methods li label i {
	font-size: .9em;
}

.woocommerce-billing-fields label i {
	font-size: .9em;
}

/*#billing_nip_field {
	clear: both;
	width: 100%;
}
*/


.info-delivery {
	display: inline;
	position: relative;
}
.info-delivery i {
	cursor: pointer;
}
.info-delivery p {
	display: none;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 4px;
	padding: 5px 8px;
	color: #fff;
	position: absolute;
	width: 270px;
	font-size: 12px;
/*	left: 20px;*/
	top: 25px;
	z-index: 1;
}
.info-delivery:hover p {
	display: block;
}

.allcheckbox {
	margin-bottom: 15px;
	font-weight: bold;
}





label[for="billing_nip"] .optional {
	display: none;
}
label .optional {
	font-style: italic;
	font-size: .9em;
}

#CopyAddress {
	border-radius: 40px;
	font-size: 13px;
	margin-bottom: 10px;
}

@media (min-width: 1040px) {
	#ReviewOrderTable.sticky .shop_table {
		width: 468px;
	}
}

@media (min-width: 768px) {
	#ReviewOrderTable.sticky .shop_table {
		position: fixed;
		top: 0;
		width: 400px;
		width: 40.5vw;
		max-width: 468px;
	}
	.col2-set .form-row-first {
		width: 40%;
		float: left;
		margin-right: 4%;
	}
}

@media (max-width: 940px) {
	#order_review .shop_table td {
		padding: 0;
	}
}

@media (max-width: 768px) {
	.woocommerce-checkout #customer_details {
		width: 100%;
	}
	#order_review #ReviewOrderTable {
		position: relative;
		width: 100%;
		float: none;
	}
	.Orders-header .Orders-header-link,
	.Orders-header .Orders-header-ssl {
		position: relative!important;
		line-height: initial!important;
		float: none;
		display: block;
	}
	.Orders-header .Orders-header-ssl {
		margin-top: 25px;
		margin-bottom: 15px;
		padding-left: 0;
		text-align: center;
	}
	.Orders-header {
		height: auto;
	}
	.woocommerce-checkout #order_review {
		order: 1;
	}
}

.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments {
	margin-bottom: .5em;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments {
	background-color: transparent;
	border: 2px solid #3d9cd2;
	border-radius: 5px;
	color: #3d9cd2;
	padding: .7em 1em;
}
.woocommerce-info a, .woocommerce-noreviews a, p.no-comments a {
	color: #3d9cd2;
}
.woocommerce-info a:hover, .woocommerce-noreviews a:hover, p.no-comments a:hover {
	color: #3d9cd2;
}



#billing_company_field .optional,
#billing_nip_field i {
	display: none;
}

#billing_company_field.form-row.woocommerce-validated input.input-text,
#billing_nip_field.form-row.woocommerce-validated input.input-text {
	box-shadow: none;
}

.woocommerce-billing-fields__field-wrapper > p.field_want_invoice {
	margin-top: 25px;
}
.woocommerce-billing-fields__field-wrapper > p.field_want_invoice label {
	font-weight: bold;
}

/* Dominik Kawula */

#shipping_country_field {
	display:none;
}

#phone_optin-description, #newsletter_optin-description, #ceneoopineo_optin-description, #create-invoice-description, #woocommerce-terms-and-conditions-checkbox-description {
	display: none;
}

.shipping_address {
	display: none;
}


.order-total > tr {
	width: auto;
}

.order-total > td {
	width: 120px;
}


/* SWAP IMAGES */
/* CUSTOM ON-HOVER IMAGE */
.woocommerce ul.products li.product a img { 
    /* FORMAT ALL IMAGES TO FILL EQUIVALENT SPACE,
    to remove jitter on replacement */
    height: 100%;
    object-fit: cover;
	margin-bottom: 20px;

}
.woocommerce ul.products li.product a img:nth-of-type(1) { 
    /* FORMAT ALL IMAGES TO FILL EQUIVALENT SPACE,
    to remove jitter on replacement */
    height: 300px;
    object-fit: cover;
	margin-bottom: 20px;

}
.woocommerce ul.products li.product a img:nth-of-type(2) {
    display: none;
	position: relative;
	z-index: 1;
    height: 100%;
    width: 100%;
}
.woocommerce ul.products li.product a:hover img:nth-of-type(2) {
    display: block;
	position: absolute;
	top: 0px;
	z-index: 3;
}
.woocommerce ul.products li.product a:hover img:nth-of-type(1) {
    display: block;
	position: relative;
	z-index: 1;
	opacity: 0.6 !important;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
	
}

.woocommerce-LoopProduct-link { 
	position: relative; 
}

.img-responsive {
	opacity: 0.6 !important;
}

.woocommerce ul.products li.product a span.dk_overlay {
    display: none;
}

.woocommerce ul.products li.product a:hover span.dk_overlay {
    display: block;
	  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.added_to_cart {
	border-style: solid;
    border-width: 1px;
    border-radius: 5px;
}