/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* menu */

@media (min-width: 1140px) {
	#adapt-main-menu > div > nav {
		width: 100%;
	}	
	
	#adapt-main-menu nav > ul {
		justify-content: space-between;
	}	
}

#mobile-shop-menu .awb-menu .fusion-widget-cart-number,
#desktop-shop-menu .fusion-widget-cart-number {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 0.5em;
	height: 0.5em;
	font-size: 14px;
}

@media (max-width: 768px) {
	#mobile-shop-menu {
		margin-left: auto !important;	
	}
	
	#mobile-shop-menu ul li a {
		padding-left: 0;
	}	
  
  #mobile-shop-menu ul li:last-child a {
		padding-right: 0;
	}	
	
	#mobile-main-menu > div {
		margin: 0;
	}
	
	#mobile-shop-menu .awb-menu .fusion-widget-cart-number {
		right: -8px;
	}
	
}

/* end menu */

/* home */

#hero-home:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0.66) 40%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}

@media (max-width: 768px) {
	#hero-home:after {
		background: linear-gradient(180deg,rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0.66) 40%, rgba(255, 255, 255, 0) 100%);
	}
}

/* o nas */

.fusion-imageframe.imageframe-none.o-nas-img {
	height: 115px;
	display: flex;
	align-items: flex-end;
}

/* ponudba */

.ponudba-icons {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ponudba-icons div {
	display: flex;
	column-gap: 20px;
}

.ponudba-icons div img {
	height: max-content;
	width: min-content;
}

.ponudba-icons div p {
	margin-bottom: 0;
}

.ponudba-icons h5 {
	margin-top: 0;
	margin-bottom: 20px;
}

.poslovalnica-box a {
	color: white;
	text-decoration: underline;
}


.fusion-tb-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	box-shadow: 0 4px 8px #00000029;
	background: white !important;
	z-index: 1111;
}

/* product */

div.fusion-product-wrapper h3.product-title {
	line-height: .8 !important;
}

div.fusion-product-wrapper h3.product-title a {
	font-size: 22px;
	line-height: 1.2;
	font-style: normal;
	color: black;
	font-family: "Montserrat-medium";
}

div.fusion-product-wrapper div.fusion-price-rating {
	margin-top: 8px;
	display: block;
}

div.fusion-product-wrapper .price {
	white-space: nowrap;
}

div.fusion-product-wrapper .price bdi {
	font-family: "Montserrat-medium";
	font-size: 22px;
}

@media (max-width: 768px) {
	div.fusion-product-wrapper h3.product-title a,
	div.fusion-product-wrapper .price bdi {
		font-size: 12px;
	}
	
	ul.products > li.product {
		width: 50% !important;
	}
	
	div.fusion-product-wrapper h3.product-title {
		line-height: .2 !important;
	}
	
	div.fusion-product-content {
		padding: 10px 0 !important;
	}
	
	div.fusion-product-wrapper div.fusion-price-rating {
		margin-top: 0;
	}
	
}

@media only screen and (max-device-width: 640px) {
	  #content {
		margin-bottom: 0 !important;
	  }
}

/* end product */

/* cart checkout */

body .checkout .shop_table tfoot th {
	width: 40%;
	text-align: left;
}

body .fusion-woo-cart-totals-wrapper .woocommerce-shipping-destination {
	display: none;
}

body .fusion-woo-cart-totals-wrapper #shipping_method li label {
	white-space: nowrap;
}

body div.fusion-woo-cart-totals-wrapper ul li input:checked + label::after {
	background: white;
}

body div.fusion-woo-cart-totals-wrapper ul li input:checked + label::before,
body div.fusion-woo-cart-totals-wrapper ul li label::before {
	border-color: white;
}

body .cart_totals table th {
	width: 30%;
}

body .button.fusion-apply-coupon {
	color: white;
}

.retail-sync.button-icon-right {
	display: none;
}

.woocommerce-shipping-totals td a {
  color: black;
  text-decoration: underline;
}

@media only screen and (max-width: 800px) {
	body .shop_table_responsive.woocommerce-cart-form__contents tbody tr.avada-cart-actions {
		display: none !important;
	}
}

@media only screen and (max-width: 800px) {
	body form.checkout .shop_table tfoot th {
		width: 40%;
	}
	
	form.checkout .shop_table tfoot td {
		width: 60%;
	}
}

/* poslovalnice */

.poslovalnica-box .fusion-text > p:nth-child(2) {
	font-size: 32px;
	line-height: 1.2;
	margin-bottom: 40px;
}

.poslovalnica-box .fusion-text div {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.poslovalnica-box .fusion-text > p:nth-child(1) {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.poslovalnica-box .fusion-text > p:nth-child(2) {
		font-size: 20px;
		margin-bottom: 30px;
	}

	.poslovalnica-box .fusion-text div {
		align-items: flex-start;
		margin-bottom: 10px;
		font-size: 16px;
	}
	
	.poslovalnica-box .fusion-text div img {
		margin-top: 4px;
	}
}

/* order */

.woocommerce-order {
  padding: 80px 0 160px;
}
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
  list-style: decimal;
}
.woocommerce-order-overview__payment-method.method {
}
.woocommerce-order-overview__payment-method.method strong {
  display: inline-block;
}
.woocommerce-order-overview > li {
  margin-bottom: 5px;
}
.avada-order-details.woocommerce-content-box.full-width {
  padding: 40px 0;
}
.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
  border-bottom: 2px solid;
}
.woocommerce-order-details__title.fusion-responsive-typography-calculated {
  border-bottom: 2px solid !important;
}
.woocommerce-table tfoot tr:first-child {
  border-top: 1px solid !important;
}
.woocommerce-table tfoot tr:last-child {
  display: none;
}
header.title {
  border-bottom: 2px solid !important;
}
section header h2 {
  border-bottom: 2px solid !important;
}
.avada-customer-details.woocommerce-content-box.full-width {
  padding-inline: 0;
}

.woocommerce-table__line-item.order_item:not(:last-of-type) {
  border-bottom: 1px solid;
}

@media (max-width: 768px) {
	.woocommerce-order {
		padding: 40px 0 0 !important;
	}
	.avada-order-details.woocommerce-content-box.full-width {
		padding: 20px 0;
		margin-bottom: 0;
	}
	.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
		font-size: 30px;
	}
	body .avada-order-details .shop_table.order_details tfoot tr th {
		text-align: left; 
	}
	
	#customer_login > div,
	#customer_register > div {
		padding: 0 !important;
	}

	body .woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
		margin-top: 10px;
		padding-left: 0 !important;
		display: flex !important;
    	width: 100%;
	}
}


.login button, .register button, .woocommerce-ResetPassword.lost_reset_password button, .woocommerce-Button.button[name="save_account_details"], .woocommerce-address-fields button {
	color: white !important;
}

.show-password-input {
	display: none;
}

body .woocommerce-variation.single_variation {
  background: none;
}

.woocommerce-SavedPaymentMethods.wc-saved-payment-methods {
	list-style-type: none;
	padding: 0;
}

.woocommerce-invalid::after {
  content: 'Prosimo, vnesite pravilne podatke za to zahtevano polje.' !important;
}

.avada-myaccount-user-column:last-of-type, .avada-myaccount-user-column.username, .avada-woocommerce-myaccount-heading {
	display: none !important;
}

.includes_tax {
	display: block;
}
