/*
Theme Name: ae.lv
Author: ae.lv
Template: flatsome
Version: 3.16
*/

/* Header slider size */

.nav-center {
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}

.flickity-slider .banner {
	background: #fff;
}

.slider div.banner .bg.bg-loaded {
	max-width: 1200px!important;
	margin: 0px auto!important;
	box-shadow: 0px 0px 10px lightgray;
}

#content,
div.shop-container,
body.woocommerce-page main {
	background: #fff!important;
}

#content.large-9.right.col {
	padding: 10px 25px;
	border-radius: 10px;
}

#content.large-12.col {
	padding-top: 10px;
}

#content ul {
	padding-left: 25px;
}

#main.page-checkout {
	padding: 0px!important;
}

/* Pages */

.page-template .section-title span{
	text-transform: none;
	font-weight: 400;
}

.page-template li::marker{
	color: #555;
}


/* Privatuma politika btn */

.cn-button.bootstrap {
	background: #0067b1;
}


/* CForm7 submit btn */

form input[type=submit].wpcf7-submit {
	width: 100%;
}


/* Footer flex fix on desktop */

@media screen and (min-width: 850px) {
	div.footer #custom_html-3 {
		max-width: 30%;
		flex-basis: 30%;
	}
	div.footer #nav_menu-3 {
		max-width: 20%;
		flex-basis: 20%
	}
}


/* Header search width */

.searchform-wrapper {
	width: 97%;
}


/*Fullscreen mobile menu */

.off-canvas-right .mfp-content,
.off-canvas-left .mfp-content {
	width: 100%!important;
}


/*Dashboard*/

.dashboard-links li {
	width: 45%;
}

.dashboard-links a:hover {
	background-color: #446084;
}

#content .woocommerce-MyAccount-content form button {
	width: 100%;
}


/* Open blog, hide elements */

#content.blog-single div.entry-author.author-box,
#content.blog-single footer.entry-meta {
	display: none;
}


/* Active menu link */

li.menu-item.current-menu-item {
	font-weight: bold;
}


/*Hide author on blog*/

#post-1426 div.entry-header-text.entry-header-text-top.text-center div.entry-meta.uppercase.is-xsmall span.byline {
	display: none;
}


/*Favoriti page */

body.page-id-92 .page-wrapper.my-account.mb div.large-3.col.col-border {
	display: none;
}

body.page-id-92 .page-wrapper.my-account.mb div.large-9.col {
	width: 100%;
	flex-basis: 100%;
	max-width: 100%;
}

#yith-wcwl-form div.wishlist-title-container>div.wishlist-title.wishlist-title-with-form h2 {
	display: none;
}

#main>div.my-account-header.page-title.normal-title h1 {
	text-align: center;
	padding: 15px 0px;
}


/* Product page*/

#tab-description>div>a {
	display: none;
}

#tab-description iframe {
	min-height: 480px;
}

.product_meta > div{
	border-top: 1px dotted #ddd;
	padding: 5px 0;
	display: block;
	text-align: left;
}
.product_meta div.ae_meta_grid{
	display: grid;
    grid-template-columns: 1fr 5fr;
    margin: 0 auto;
    gap: 8px;
}

.woocommerce_shop_price {
	color: #111;
	font-weight: 700;
	margin-bottom: 0.5em;
	margin-top: 1.2em;
	margin-bottom: 1.2em;
	border: 2px solid #ee4135;
    border-radius: 18px;
}

.woocommerce_shop_price .amount{
	font-size: 1.7em;
}

.woocommerce_shop_price .shop_price_desc{
	font-size: 108%;
	padding-right: 8px;
}

.woocommerce_shop_price_archive{
	color: #EE4135;
}

.woocommerce_shop_price_archive .amount{
	color: #EE4135;
}

.woocommerce.single-product .onbackorder .status,
.woocommerce.single-product .outofstock .status{
	color: #EE4135;
}

.woocommerce.single-product .instock .status{
	color: #49be5b;
}												 

/*Product Badge*/

.woocommerce .badge{
	height: 2em;
}

.badge-circle .badge-inner {
	border-radius: 0;
	/* transform: translateX(-25%) translateY(50%) rotate(-45deg); */
    transform-origin: center;
	font-weight: 500;
	text-transform: uppercase;
	padding-left: 10px;
	padding-right: 10px;
}

/* .product-main .badge-circle .badge-inner{
	transform: translateX(-7%) translateY(70%) rotate(-45deg);
}
.products-row .badge-circle .badge-inner{
	transform: translateX(30%) translateY(50%) rotate(-45deg);
} */

.product .badge-outline, .badge-circle {
	margin-left: 0;
}

.product .badge-container,
.products-row .badge-container{
	margin:0;
}

.product-small .col-inner,
.products-row .col-inner  {
	overflow: hidden;
}

.product-gallery {
	overflow: hidden;
}

/* .product .badge-inner::before, 
.product .badge-inner::after,
.products-row .col-inner .badge-inner::before,
.products-row .col-inner .badge-inner::after {
    content: "";
    position: absolute;
    top: 0;
    margin: 0 -1px;
    width: 100%;
    height: 100%;
    background: inherit;
    min-width: 110px;
} */

/* .product .badge-inner::before,
.products-row .col-inner .badge-inner::before{
    right: 100%;
} */

/* .product .badge-inner::after,
.products-row .col-inner .badge-inner::after {
    left: 100%;
} */

.badge-inner.new-bubble-auto,
.badge-inner.new-bubble {
	background-color: #49be5b;
}

.badge-inner.new-bubble{
	background-color: FFAB00;
}

.badge-inner.badge-promo {
	background-color: #EE4135;
}

.badge-inner.badge-sale {
	background-color: #FFAB00;
}

/* product page - image gallery */

.row-large .box-image{
	max-width: 260px;
	height: 310px;
}

.product-gallery-slider img, 
.product-thumbnails img	{
    max-height: 450px;
	object-fit: contain;
}

.product-thumbnails a{
	max-height: 106px;
}

/* product page - previous/next img */

#wrapper div.shop-page-title div.flex-col.nav-right.medium-text-center ul.next-prev-thumbs div.nav-dropdown a img {
	width: 100%;
	height: auto;
}


/*Product page upsell image size*/

div.related-products-wrapper .box-image img {
	max-height: 247px;
	width: auto;
	margin: 0 auto !important;
}

div.related-products-wrapper .box-image {
	text-align: center;
}


/* Product catalogue page */

#wrapper div.shop-page-title div.page-title-inner {
	padding: 20px;
}

body:not(.term-akcija) #shop-sidebar .widget_text{
	display: none;
}


/* Product video button */

.button.product-video-popup{
	background-color: #EE4135;
	color: #fff;
	border-color: #EE4135;
	min-width: 3em;
    font-size: 1.5em;
	margin-bottom: 16px;
}

.button.product-video-popup:hover{
	background-color: #446084;
	color: #fff;
	border-color: #446084;
}

.button.product-video-popup i.icon-play{
	line-height: 2.371;
}

a.button.zoom-button{
	display: inline-block;
}

a.button.zoom-button::before,
a.button.zoom-button::after{
	display: none;
}

/* Checkout btn */

button#place_order {
	width: 100%;
	margin-right: 0;
}

#payment>ul>li.wc_payment_method.payment_method_paysera>label>img {
	float: right;
}

/* Checkout form */

#billing_person_or_company_field label{
	display: none;
	
}

.woocommerce-shipping-totals ul#shipping_method li{
	flex-wrap: wrap;
}

#mp-wc-pickup-point-shipping{
	text-align: left;
	width: 100%;
}

.select2-search__field[aria-owns="select2-mp-wc-pickup-point-shipping-select-results"]::placeholder{
	font-size: 80%;
}

.select2-container .select2-selection--single .select2-selection__rendered{
	white-space: normal;
}

.select2-container .select2-selection{
	overflow: hidden;
}


/*cart prod images */

#main div.cart-container.container.page-wrapper.page-checkout div.woocommerce table td.product-thumbnail img {
	width: 100%;
}

/*Itella logo in checkout */
#shipping_method label[for=shipping_method_0_itella_c],
#shipping_method label[for=shipping_method_0_itella_pp]{
	display: flex;
	align-items: center;
	flex-wrap: wrap;

}

#shipping_method .itella-logo{
	order: 10;
	margin-left: auto;
}


#shipping_method .itella-shipping-container{
	width: 100%;
	order: 100;
}

#shipping_method .shipping__list_label > div{
	align-items: center;
}
/*Checkout hide bottom pivacy policy text */

#content form.checkout.woocommerce-checkout div.large-5.col div.woocommerce-privacy-policy-text {
	display: none;
}

.widefat thead td {
	line-height: 0em!important;
}


/*product page hide desc table */

#iteminfo_anon tr.row_line2 {
	display: none;
}


/* news sidebar comment text */

.post-sidebar span.post_comments span:nth-child(1),
#content.blog-single div.entry-header-text.entry-header-text-top.text-center div.entry-meta.uppercase.is-xsmall {
	display: none;
}

@media screen and (max-width: 849px) {
	#secondary .widget_nav_menu .widget-title{
		display: block;
		color: #555;
		text-align: center;
		background-color: #c0c0c0;
		padding: 10px 0;
		cursor: pointer;
	}
	
	#secondary .widget_nav_menu .widget-title span:after {
		content: "";
		display: block;
		position: absolute;
		width: 11px;
		height: 11px;
		right: -18px;
		top: 16%;
		border-width: 0 3px 3px 0;
		transform: rotate(45deg);
		border-color: #555;
		border-style: solid;
	}
	
	#secondary .widget_nav_menu .widget-title span {
		position: relative;
	}
	
	#secondary .widget_nav_menu .widget-title ~ div .menu{
		display: none;
	}

	#secondary .widget_nav_menu:not(:first-child) ul li{
		text-align: center;
	}
	
	#secondary .widget_nav_menu ul li a{
		display: block;
	}
	
	#secondary .widget_nav_menu:not(:first-child) ul{
		background-color: #e5e5e5;
	}
	
	#secondary .widget_nav_menu .is-divider{
		display: none;
	}	
}

/* Inbank and TF bank */

.product .inbank{
	justify-content: center;
}

.payment_method_wc_tfbank_lv img{
	width: 100px;
}

.payment_box.payment_method_inbank_1{
	font-size: 13px;
}

.berocket_cart_notice{
	padding: 8px 10px;
    background-color: #ebebeb;
    margin-bottom: 40px;
    border-left: 4px solid #0067b1;
}

.message-wrapper .berocket_cart_notice {
  display: block !important;
}

.product-quick-view-container .inbank__tooltip{
	display: none;
}

.tooltip:hover::before, .tooltip:hover::after{
	opacity: 0;
}

.sticky-add-to-cart--active .inbank--calculator{
	display: none;
}

.single-product .apraksts-meta-field{
	font-weight: 700;
	font-size: 1.7em;
	color: #555;
}

@media (max-width: 549px) {
    .single-product .apraksts-meta-field{
        font-size: 1.4em;
    }
}