/*
 Theme Name:   GeneratePress R-Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress R-child theme
 Author:       Rubit OÜ
 Template:     generatepress
 Version:      1.0
*/
/*------------------------------ Site wide adjustments ------------------------------*/

/* Making lists margins smaller */
ol, ul {
	margin-left: 2em;
}

/* For discounted products old price striketrough color */
.product del {
	color: var(--global-grey);
	text-decoration-color: var(--global-red);
}

/*------------------------------ Header adjustments ------------------------------*/


/* Inside navigation elemendi paigutame paremale */
.inside-navigation.grid-container {
	flex-direction: row-reverse;
	justify-content: space-around;
}
/* Paneme otsingu ja ostukorvi laiused paika */
.xoo-wsc-sc-bki {
	z-index: 20;
}
.r-search-and-cart .eb-row-inner>div:first-child  {
	flex-grow: 1;
}
.r-search-and-cart .eb-row-inner>div:last-child  {
	width: 55px;
	margin-left: 3px;
    margin-top: 1px;
}


/* Peida ostukorvi rahaline summa */
span.xoo-wsc-sc-subt { 
	display: none; 
}
/* Nihuta ostukorvi itemite arv paika */


.xoo-wsc-sc-cont .xoo-wsc-cart-trigger {
	/* line-height: 1; */
}
/* Ostukorvi suurus paika */
span.xoo-wsc-sc-bki img { 
	height: 40px;
	width: 55px;
}
.xoo-wsc-sc-cont .xoo-wsc-sc-count {
position: absolute;
	/* top: 8px; */
    /* left: 16px; */
	font-size: 17px;
	color: #cc1818;
	font-weight: bold;
	    margin-left: -12px;
    margin-top: -21px;
}



/* Making search widget look as desired */

.r-search-and-cart .wp-block-search__button ::placeholder {
	color: #22222242;
}
.r-search-and-cart .wp-block-search__button input, .header-widget {
	padding-bottom: 0px;
    padding-left: 3px;
	border-top: 0;
    border-left: 0;
    border-right: 0;
	color: #222222;
	outline: none;
}
.r-search-and-cart .wp-block-search__button .search-field {
	/* background-color: transparent; */
	border-bottom-color: #222222;
	width: auto;
}
.r-search-and-cart button.wp-block-search__button {
	background-image: url(/wp-content/themes/generatepress_r-child/images/icon-search.webp);
    background-repeat: no-repeat;
	background-size: contain;
	text-indent: -99999em;
	background-color: transparent;
	/* height: 40px; */
	/* width: 40px; */
	border: none;
}

/* Align header widget functions */
.header-widget .widget {
	/* float: right; */
	/* margin-left: 20px; */
}

/* Making header items arranged as desired */
.inside-header.grid-container {
	/* position: relative; */
}
#site-navigation {
	/* position: absolute; */
    /* bottom: 0px; */
    /* right: 0px; */
	background-color: transparent;
}
.inside-header .header-widget {
    /* margin-left: auto; */
    /* float: right; */
}


/* Making some menu items red */
.main-navigation .main-nav ul li .r-menu-text-red a {
	color: #cc1818 !important;
}
/*------------------------------ MOBILE Header adjustments ------------------------------*/

.mobile-header-logo .site-logo.mobile-header-logo img {
	max-height: 60px;
	height: unset;
}

/* Adjusting text size */
.site-header, .site-header input {
	/* font-size: 14px; */
	/* line-height: 0; */
}
/* Aligning header functions */
.site-header .header-widget .wc-block-product-search__fields {
	/* width: 52%; */
	/* text-align: right; */
	/* margin-left: 0; */
}
.site-header .header-widget .wc-block-product-search__fields .woocommerce-product-search {
	width: 100%;
}

.site-header .header-widget .wc-block-product-search__fields .woocommerce-product-search .search-field {
	width: 80%;
	padding-bottom: 5px;
	padding-right: 0;
	padding-top: 2px;
	padding-left: 0;
}

/* In Canvas slideout menu make shopping cart background white */
.slideout-navigation .xoo-wsc-sc-cont .xoo-wsc-sc-count {
	box-shadow: 0px 0px 1px 1px var(--base), 0px 0px 2px 1px var(--base), 0px 0px 2px 3px var(--base), 0px 0px 4px 4px var(--base), 0px 0px 4px 6px var(--base), 0px 0px 4px 8px var(--base), 0px 0px 14px 14px var(--base), 0px 0px 20px 30px var(--base);
	background: var(--base);
}

/* In Canvas slideout menu make keep line height small for long titles and give space between menu items */
.slideout-navigation  .slideout-menu li {
	margin-top: 18px;
}





.xoo-wsc-sc-cont .xoo-wsc-cart-trigger {
    /* margin-right: -10px; */
}
/* Fixing disappearing search icon on mobile */
.site-header .header-widget .widget_block input {
	/* display: block; */
	/* width: auto; */
	/* font-size: 14px; */
}
/* Fixing cart icon size */
.site-header .header-widget .xoo-wsc-sc-bki {
	/* width: 41px; */
	/* margin-right: 0; */
}

}


@media (max-width: 768px) {
/* Reaarranging header items */
.inside-header.grid-container {
	display: table;
	width: 100%;
}
.site-logo {
	width: 100%;
	text-align: center;
}
.site-header .header-widget {
	margin: 2px;
	/* float: right; */
	/* width: 88%; */
	padding-left: 0;
	margin-left: 0;
}

.site-header .header-widget aside:nth-child(1) {
	flex: 0;
}
.site-header .header-widget aside:nth-child(2) {
	flex: 1;
}



/* Aligning menu icon */
.mobile-menu-control-wrapper {
	margin-left: 5px;
	float: left;
	clear: none;
}
.mobile-menu-control-wrapper .menu-toggle {
	padding-left: 8px;
	padding-right: 8px;
}
.mobile-menu-control-wrapper .menu-toggle {
	line-height: 40px;
}
.mobile-menu-control-wrapper .menu-toggle .icon-menu-bars svg:nth-child(2) {
	z-index: 101;
}
.mobile-menu-control-wrapper .menu-toggle .icon-menu-bars svg:nth-child(2) path {
	color: white;
}
/* Fixing menu position */
#site-navigation.main-navigation {
	position: inherit;
	clear: none;
}
/* Making menus and submenus visible */
#site-navigation.main-navigation.toggled .inside-navigation, #site-navigation.main-navigation.toggled .inside-navigation .sub-menu.toggled-on {
	border: solid;
    margin-right: 30px;
    margin-left: 30px;
    border-width: thin;
    border-color: #fff383;
	box-shadow: 0px 0px 0 10000px rgb(0 0 0 / 65%);
}
#site-navigation.main-navigation.toggled .inside-navigation .sub-menu.toggled-on {
	border: solid;
    margin-right: 0px;
    margin-left: 0px;
    border-width: thin;
    border-color: #fff383;
}
}


/*------------------------------ Under header announcement scroller  ---------------------*/
.r-scroller > div {
	margin-left: 10px;
	margin-right: 10px;
	width: unset !important;
}
.r-scroller > div > div {
	/* animation: 30s linear 2s infinite normal none running marqueeAnimation-5535588 !important; */
}
.r-scroller {
	color: #cc1818;
	padding-left: 10px;
	padding-right: 10px;
}

/* Setting announcement scroller margin and padding for mobile */
@media (max-width: 781px) {
.r-scroller {
    padding: 0px 5px 0px 5px;
}
.r-scroller > div {
	margin: 0;
	width: unset !important;
}
}


/*------------------------------ Adjusting breadcrumbs  ---------------------*/

/* Hide default Woocommerce breadcrumbs */
.woocommerce-breadcrumb {
	display: none;
}

/* Hiding breadcrumbs on front page */
.home p#breadcrumbs {
  display: none;
}




/*------------------------------ Framed images ---------------------*/

.r-framed-banners {
	--frame-border-radius: 15px;

	--frame-shadow: inset 0px 0px 1px 1px #999,
				inset 0px 0px 2px 1px #bbbbbb80,
				inset 0px 0px 2px 3px #c9c9c980,
				inset 0px 0px 4px 4px #cccccc80,
				inset 0px 0px 4px 6px #e9e9e980,
				inset 0px 0px 4px 8px #e9e9e980,
				inset 0px 0px 5px 10px #eeeeee80,
				inset 0px 0px 7px 6px #eeeeee80;
}

/* 2024 framed banner in a wrapper */
.r-framed-banners {
	border-radius: var(--frame-border-radius);
	filter: url(#innershadow);
}

.r-framed-banners-w-bgimg {
	box-shadow: var(--frame-shadow);
}

.r-framed-banners figure a:after {
	border-radius: var(--frame-border-radius);
	content: "";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	box-shadow: var(--frame-shadow);
}

.r-framed-banners figure img {
	border-radius: var(--frame-border-radius);
}

/* .r-framed-banners > .eb-parent-wrapper { */
	/* border-radius: 15px; */
	/* padding: 5px; */
	/* box-shadow: inset 0px 0px 1px 1px #999, */
				/* inset 0px 0px 2px 1px #bbbbbb80, */
				/* inset 0px 0px 2px 3px #c9c9c980, */
				/* inset 0px 0px 4px 4px #cccccc80, */
				/* inset 0px 0px 4px 6px #e9e9e980, */
				/* inset 0px 0px 4px 8px #e9e9e980, */
				/* inset 0px 0px 5px 10px #eeeeee80, */
				/* inset 0px 0px 7px 6px #eeeeee80; */
/* } */

/* .r-framed-banners > .eb-parent-wrapper > .eb-wrapper-outer { */
	/* border-radius: 15px; */
	/* padding: 5px; */
	/* box-shadow: inset 0px 0px 1px 1px #999, */
				/* inset 0px 0px 2px 1px #bbbbbb80, */
				/* inset 0px 0px 2px 3px #c9c9c980, */
				/* inset 0px 0px 4px 4px #cccccc80, */
				/* inset 0px 0px 4px 6px #e9e9e980, */
				/* inset 0px 0px 4px 8px #e9e9e980, */
				/* inset 0px 0px 5px 10px #eeeeee80, */
				/* inset 0px 0px 7px 6px #eeeeee80; */
/* } */

/* .r-framed-banners > div > div > .eb-wrapper-inner > div { */
	/* z-index: -1; */
    /* position: relative; */
/* } */
/* .r-framed-banners > .eb-parent-wrapper { */
	/* z-index: -1; */
    /* position: relative; */
/* } */

/* .r-framed-banners, .r-framed-banners > div > div, .r-framed-banners > div > div > div > div > figure > img { */
	/* z-index: -1; */
    /* position: relative; */
/* } */

/* .r-framed-banners > div > div > div > div > figure > img { */
	/* z-index: -1; */
    /* position: relative; */
/* } */
/* .r-framed-banners, .r-framed-banners > div, .r-framed-banners > div > div, .r-framed-banners > div > div > div > div > figure img { */
	/* border-radius: 20px; */
/* } */

/* Sending image to back for border shadow to appear */
/* .r-framed-banners > div > div > div > div > figure img { */
	/* position: relative; */
	/* z-index: -1; */
/* } */

/* Expanding a herf so the whole image area works as a link */
/* .r-framed-banners > div > div > div > div > figure a { */
	/* display: block; */
/* } */


/*------------------------------ Contact page adjustments ---------------------*/

.r-contactform-container {
	line-height: 1.2em;
}
.r-contactform-container .eb-wrapper-outer {
	aspect-ratio: 16 / 9;
}

.r-contactform-container, .r-contactform-container a {
    color: white;
    text-shadow: 1px 1px 1px #00000070, -1px 1px 1px #00000070, -1px -1px 1px #00000070, 1px -1px 1px #00000070, 2px 2px 3px #00000070, -2px 2px 3px #00000070, -2px -2px 3px #00000070, 2px -2px 3px #00000070, 3px 3px 5px white, -3px 3px 5px white, -3px -3px 5px white, 3px -3px 5px white;
}




.r-contactform-container .wp-block-group__inner-container {
	max-width: 800px;
	margin-left: auto;
    margin-right: auto;
}
.r-contactform-container .contactform-field {
	margin-top: 0.5em;
}
.r-contactform-container .contactform-field input, .r-contactform-container .contactform-field textarea {
	width: 100%;
	border-radius: 10px;
}

.r-contactform-container .wpcf7-not-valid-tip {
	margin-left: 18px;
	font-size: larger;
	text-shadow: 1px 1px 1px white, -1px 1px 1px white, -1px -1px 1px white, 1px -1px 1px white, 2px 2px 3px white, -2px 2px 3px white, -2px -2px 3px white, 2px -2px 3px white, 3px 3px 5px white, -3px 3px 5px white, -3px -3px 5px white, 3px -3px 5px white;
}

/* Aligning Send button to middle */
.r-contactform-send-button p {
	/* display: grid; */
	display: flex;
    flex-direction: column;
    align-items: center;
}
/* Aligning rotating circle to middle */
.r-contactform-send-button .wpcf7-spinner, . {
	/* margin-left: auto; */
    /* margin-right: auto; */
}
/* Making fields visible when invalid fields are present */
.r-contact-page-container .wpcf7-form.invalid {
	background-color: #000000b8;
    box-shadow: 0px 0px 100px 100px #000000b8;
	text-shadow: none;
}
.r-contact-page-container .wpcf7-form.invalid div .wpcf7-list-item-label,  .r-contact-page-container .wpcf7-form.invalid div a, .r-contact-page-container .wpcf7-form.invalid .wpcf7-response-output {
	text-shadow: none;
	color: white;
}
/* Adjusting button */
.r-contactform-send-button input[type="submit"] {
	color: #6d6d6d;
    background-color: #fff688;
    text-transform: uppercase;
    font-weight: bold;
	border-radius: 10px;
	margin: 5px;
}
.r-contactform-send-button .ajax-loader {
	/* width: 0; */
	/* margin: 0; */
}
/* Making after form notification visible */
.wpcf7-response-output {
	
}



/*------------------------------ Front page contact form ---------------------*/
.r-fp-contact-container > div.wp-block-group__inner-container {
	padding: 10px;
	width: 100%
}
.r-fp-contact-container, .r-fp-contact-container a, .r-fp-contact-container a:hover {
	text-shadow: 0 0 2px #000000, 0 0 5px #000000, 0 0 5px #ffffff;
	color: white;
}
.r-fp-contact-container {
	/* Align contents to center  */
	display: flex;
    justify-content: center;
    align-items: center;
	/* Create borders with radius */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
	border-radius: 15px;
	box-shadow: inset 0px 0px 1px 1px #999,
				inset 0px 0px 2px 1px #bbbbbb80,
				inset 0px 0px 2px 3px #c9c9c980,
				inset 0px 0px 4px 4px #cccccc80,
				inset 0px 0px 4px 6px #e9e9e980,
				inset 0px 0px 4px 8px #e9e9e980,
				inset 0px 0px 5px 10px #eeeeee80,
				inset 0px 0px 7px 6px #eeeeee80;
	background-image: url(/wp-content/themes/generatepress_r-child/images/kontakteeru-meiega-bg.webp);
	background-size: cover;
	/* Setting other stuff */
	aspect-ratio: 16/9;
	
}
/* Front page contact form on mobile devices */
@media screen and (max-width: 1500px) {
	.r-fp-contact-container, .r-fp-contact-container input, .r-fp-contact-container textarea {
		font-size: 16px;
  }
}
@media screen and (max-width: 1400px) {
	.r-fp-contact-container span {
		line-height: 1;
	}
	.r-fp-contact-container input, .r-fp-contact-container textarea {
		padding: 8px;
	}
}
@media screen and (max-width: 1300px) {
	.r-fp-contact-container h2 {
		margin: 0;
	}
	.r-fp-contact-container input, .r-fp-contact-container textarea {
		padding: 3px 8px;
	}
	.r-fp-contact-container, .r-fp-contact-container input, .r-fp-contact-container textarea {
		font-size: 14px;
	}
}
@media screen and (max-width: 1200px) {
	.r-fp-contact-container h2 {
		font-size: 27px;
	}
	.r-fp-contact-container, .r-fp-contact-container input, .r-fp-contact-container textarea {
		font-size: 15px;
	}
	.r-fp-contact-container .contactform-field {
		margin: 3px;
	}
}



@media (max-width: 1024px) {
.r-fp-contact-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
	border-radius: 15px;
	box-shadow: inset 0px 0px 1px 1px #999,
				inset 0px 0px 2px 1px #bbbbbb,
				inset 0px 0px 2px 3px #c9c9c9cc,
				inset 0px 0px 4px 4px #cccccc80,
				inset 0px 0px 4px 6px #e9e9e980
}
}

.r-fp-contact-container h2  {
	margin-top: 0;
}

.r-fp-join-mailinglist h4 {
	color: white;
}
.contactform-field {
	margin: 10px;
}
.r-fp-join-mailinglist input, .r-fp-join-mailinglist textarea {
	text-align: center;
	width: 100%;
	max-width: 90%;
}

.r-fp-join-mailinglist .contactform-send-button {
	max-width: 150px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	    text-transform: uppercase;
    font-weight: bold;
	border-radius: 10px;
}
.r-fp-join-mailinglist .ajax-loader {
	width: 0;
	margin: 0;
}


.inside-article .entry-content .r-front-page-blocks {
	margin-bottom: 0px;
}

.inside-article .entry-content .r-front-page-blocks > div {
	margin: 5px !important;
	padding: 0px;
}
.inside-article .entry-content .r-front-page-blocks .wp-block-column:not(:only-child)
{
	flex-grow: 1;
}
/* Making fields visible when invalid fields are present on front page contact form */
.r-fp-contact-container .wpcf7-form.invalid {
	background-color: #000000b8;
    box-shadow: 0px 0px 100px 100px #000000b8;
	text-shadow: none;
}
.r-fp-contact-container .wpcf7-form.invalid div .wpcf7-list-item-label,  .r-fp-contact-container .wpcf7-form.invalid div a, .r-fp-contact-container .wpcf7-form.invalid .wpcf7-response-output {
	text-shadow: none;
}


/*------------------------------ Featured products area adjustments ---------------------*/

.r-category-products {
	background-color: #f8d4b5;
}


/*------------------------------ Category image grid adjustments ---------------------*/
.r-frontpage-categories mark.count {
	display: none;
}
.r-frontpage-categories .woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
	text-transform: uppercase;
	font-size:  1.5em;
}
.woocommerce ul.products li.product-category {
	margin-bottom: 0px;
}
.entry-content div.wp-block-group.r-frontpage-categories {
	margin-bottom: 0px;
}
/*------------------------------ Category image grid adjustments for MOBILE ---------------------*/

@media (max-width: 450px) {
.r-frontpage-categories .woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
	font-size:  1em;
}
}


/*------------------------------ Footer social icons ---------------------*/
.r-social-icons a {
	opacity: 0.6;
	transition: all 0.8s ease-in-out;
}
.r-social-icons a:hover {
	opacity: 1;
	transition: all 0.4s ease-out;
}


/* BEGIN ------------------------------ Adjusting product lists ---------------------*/


/* Removing underline from links in product list grid */
.r-product-list-item a {
        text-decoration: none;
}

/* Removing margins around price column in products list grid*/
.r-price-column-wrapper .wp-block-columns-is-layout-flex {
	margin: 0;
}

/* Making shadow effect on hover in product list grid */
.r-product-list-item:hover {
        box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.85);
		transition: all 0.2s ease-in-out 0s;
}
.r-product-list-item {
        box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.0);
		transition: all 0.8s ease-out 0s;
}

/* Redesigning "Add to cart" section */
.r-product-list-item .gb-container .cart {
	--margins: 18px;
}

.r-product-list-item .gb-container .cart {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
/* Centering input number */
.r-product-list-item .gb-container .cart .quantity input {
	text-align: center;
	width: calc(70px + var(--margins));
}

/* Fixing space for mobile between amount, show cart */
@media (max-width: 768px) {
    .r-product-list-item .gb-container .cart button {
	margin-left: var(--margins);
	margin-right: var(--margins);
}
}

/* moving minus and plus buttons */
.r-product-list-item .gb-container .cart .quantity.buttons-added {
	margin-left: var(--margins);
}
.r-product-list-item .gb-container .cart .minus {
	margin-right: calc(var(--margins) * -1);
	margin-top: -4px;
	z-index: 1;
}
.r-product-list-item .gb-container .cart .plus {
	margin-left: calc(var(--margins) * -1);
}
.r-product-list-item .gb-container .cart .quantity.buttons-added a {
	color: var(--eb-global-text-color);;
}

/* Hide in stock amount on lists and single product */
.product .stock.in-stock {
     display: none;
}

/* Changing begaviour for 1 item available product */
.do-quantity-buttons .r-product-list-item form.cart .quantity:not(.buttons-added):not(.hidden):before {
    content: "1";
	border: none;
	min-height: unset;
}
.do-quantity-buttons .r-product-list-item form.cart .quantity:not(.buttons-added):not(.hidden):after {
    display: none;
}

/* Changing appearence of "Show cart" link */
.r-product-list-item a.added_to_cart.wc-forward {
    font-weight: normal;
	color: var(--global-red);
}

/* Showing two columns for products a little longer */
@media (max-width: 767px) {
    .r-product-list.gb-grid-wrapper > .gb-grid-column.gb-query-loop-item.product {
        width: 50%;
    }
}
@media (max-width: 500px) {
    .r-product-list.gb-grid-wrapper > .gb-grid-column.gb-query-loop-item.product {
        width: 100%;
    }
}



/* END ------------------------------ Adjusting product lists ---------------------*/

.woocommerce ul.products li.product {
	text-align: center;
	padding-bottom: 10px;
	margin-bottom: 40px;
    margin-top: 5px;
}

/* Hiding number of items and sorting */
.woocommerce-result-count, .woocommerce-ordering {
	display: none;
}

/* Fixing price size */
.woocommerce ul.products li.product .price {
	font-size: unset !important;
}
/* Adjusting Sale badge */
.woocommerce ul.products li.product .onsale {
 background-color: #cc1818;
}
/* Adjusting on sale product price color */
.price ins .woocommerce-Price-amount {
	color: #cc1818;
}
/* Products list Add to cart button */
.product .price del {
	color: #222222;
}
.woocommerce ul.products li.product .button {
	color: #ffffff;
    background-color: #55555e;
	font-weight: inherit;
	border-radius: 50px;
	margin-top: 0;
}
.wc-block-grid__product-title, .wc-block-grid__product-link {
    font-size: 1.3em;
}
/* Align Add to cart buttons in a grid */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    line-height: 2.4ex;
    height: 4.6ex;
    overflow: hidden;
	padding-top: 0;
	padding-bottom: 0;
	font-weight: 600;
}
/* Reducing spaces in a product grid */
.woocommerce ul.products li.product a img {
    margin: 0;
	max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
/* Making nice hover effets in product grid */
.woocommerce ul.products li.product:hover {
        box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.85) !important;
		transition: all 0.2s ease-in-out 0s;
}
.woocommerce ul.products li.product {
        box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.0) !important;
		transition: all 0.8s ease-out 0s;
}

/* Two columns for mobile */
@media (max-width: 768px) {
/* Making product list to appear in two columns */
/* .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product { */
    /* width: 49%; */
    /* float: left; */
    /* clear: both; */
    /* margin: 0 0 3em; */
/* } */
/* .woocommerce ul.products[class*=columns-] li.product:nth-child(2n), .woocommerce-page ul.products[class*=columns-] li.product:nth-child(2n) { */
    /* float: right; */
    /* clear: none !important; */
/* } */
}

/* Align Add to cart buttons in a grid for narrow mobile devices */
@media (max-width: 768px) {
/* .woocommerce ul.products li.product span.price { */
    /* line-height: 3ex; */
    /* height: 5.5ex; */
    /* overflow: hidden; */
	/* padding-top: 0px; */
	/* font-size: medium !important; */
/* } */
}

/*------------------------------ Woocommerce single product page adjustments ---------------------*/
/* Fixing image size */
.woocommerce div.product div.images img {
	/* width: auto; */
}
.woocommerce div.product div.images.woocommerce-product-gallery {
	/* max-width: 512px; */
}



/* Change price color */
.woocommerce-Price-amount.amount {
    /* color: #222222; */
}
.woocommerce div.product p.price {
    /* color: #222222; */
	float: left;
	margin-right: 10px;
	margin-top: 0.6em;
    margin-bottom: 0.5em;
}
.woocommerce ul.products li.product .price {
    font-size: unset !important;
}



/* Adjusting quantity input box */
.quantity .input-text {
	padding: 5px;
}

.woocommerce button.button.alt:hover {
    background-color: #222222;
}
.woocommerce div.product form.cart {
    margin-top: 1em;
	margin-bottom: 0.5em;
}
/* Hide SKU information */
.sku_wrapper {
     display: none;
}
/* Hide custom tab titles */
h2.yikes-custom-woo-tab-title {
     display: none;
}
/* Adjusting Tabs color */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: white;
	font-weight: unset;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-color: black;
    background-color: #222222;
	margin-right: -2px;
	margin-left: -2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom-color: black;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    border-color: black;
	box-shadow: 2px 2px 0 black;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    border-color: black;
	box-shadow: 0px 2px 0 black;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #cccccc;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover {
    color: unset;
}
/* Creating a space before Related products */
.related.products {
    border-top: solid;
    border-color: #222222;
    border-width: thin;
    padding-top: 1em;
    margin-top: 4em;
}
/* Adjusting sale badge */
.woocommerce span.onsale {
    background-color: #cc1818;
}
/* Fixing Caption position for product image view */
.pswp__caption__center {
	text-align: center;
}
/* Removing Price word from other places in single product page */
.woocommerce ul.products li.product .price {
	color: #222222;
}

/*------------------------------ Woocommerce single product page MOBILE adjustments ---------------------*/
@media (max-width: 450px) {
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 -2px;
    padding: 0px 3px 1px 3px;
	font-size: medium;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding-left: 7px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding-top: 0;
	padding-bottom: 0;
}
.product .quantity {
	clear: both;
}
.product .summary button.button.alt {
	width: unset;
}
}



/*------------------------------ Shopping cart page adjustments ---------------------*/
/* Adjusting Add to cart button */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background-color: black;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover  {
    background-color: #222222;
}



/*------------------------------ Checkout page adjustments ---------------------*/

/* Adjusting main columns */


@media screen and (min-width: 768px) {
  .checkout.woocommerce-checkout .col2-set {
    width: 55%;
	margin-right: 15px;
  }
}

.checkout.woocommerce-checkout .col2-set {
	/* width: 55%; */
	/* margin-right: 15px; */
	
}

/* Hide Country and state fields */
#billing_country_field {
	display: none;
}



/* Adjusting shopping cart items section */
/* Subtotal row under cart products */
.woocommerce .woocommerce-checkout table.shop_table tr.cart-subtotal, .woocommerce .woocommerce-checkout table.shop_table tr.cart-subtotal th {
	background-color: var(--base);
}

/* Products header */

.woocommerce .woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
	display: flex;
	flex-direction: column;
}
.woocommerce .woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th.product-total, .woocommerce .woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal td {
	width: 100%;
	text-align: right;
}


/* Products row */

.woocommerce .woocommerce-checkout tr.cart_item {
	/* padding: 10px; */
	justify-content: space-between;
	display: flex;
    width: 100%;
}
.woocommerce .woocommerce-checkout .cart_item .product-name {
	padding: 10px;
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.woocommerce .woocommerce-checkout .cart_item .product-name img {
	margin-right: 5px;
}
.woocommerce .woocommerce-checkout .cart_item .product-name .product-quantity:before {
	/* padding: 10px; */
	content:"";
	padding-left: 10px;
	margin-left: auto;
}
.woocommerce .woocommerce-checkout .cart_item .product-name .product-quantity {
	/* padding: 10px; */
	padding-left: 10px;
	margin-left: auto;
}
.woocommerce .woocommerce-checkout .cart_item .product-name #text {
	/* padding: 10px; */
	margin: 5px;
}
/* Adjusting discount and final price of an item */
.woocommerce .woocommerce-checkout .cart_item .product-total {
	padding: 10px;
	text-align: right;
}
.woocommerce .woocommerce-checkout .cart_item  td del {
	float: right;
}

.woocommerce .woocommerce-checkout .cart_item  td ins {
	float: right;
    clear: both;
}





/* Custom Shipping and totals section */



/* Adjusting Subtotal row */
.r_shipping_and_totals .r-cart-subtotal {
	display: flex;
	padding: 20px;
    justify-content: space-between;
	background-color: var(--base);
	font-weight: 700;
}

/* Adjusting Shipping methods */
.r_shipping_and_totals .r-shipping {
	padding-top: 20px;
	padding-bottom: 20px;
}

.r_shipping_and_totals .r-shipping > div {
	font-weight: 700;
}

.r_shipping_and_totals .r-shipping ul#shipping_method.woocommerce-shipping-methods {
	display: flex;
    flex-direction: row;
	flex-wrap: wrap;
    justify-content: flex-start;
	font-weight: normal;
	margin-top: 5px;
}
.r_shipping_and_totals .r-shipping ul#shipping_method.woocommerce-shipping-methods li {
	display: flex;
	padding: 10px;
	padding-right: 20px;
	margin-left: 5px;
	margin-right: 5px;
	border-radius: 15px;
	box-shadow: inset 0px 0px 1px 1px #999,
				inset 0px 0px 2px 1px #bbbbbb80,
				inset 0px 0px 2px 3px #c9c9c980,
				inset 0px 0px 4px 4px #cccccc80,
				inset 0px 0px 4px 6px #e9e9e980,
				inset 0px 0px 4px 8px #e9e9e980,
				inset 0px 0px 5px 10px #eeeeee80,
				inset 0px 0px 7px 6px #eeeeee80;
}
.r_shipping_and_totals .r-shipping ul#shipping_method.woocommerce-shipping-methods li input:hover, .r_shipping_and_totals .r-shipping ul#shipping_method.woocommerce-shipping-methods li label:hover {
	cursor:pointer
}
.r_shipping_and_totals .r-shipping ul#shipping_method.woocommerce-shipping-methods li input {
	margin: 5px;
}
.r_shipping_and_totals .r-shipping > div:nth-child(2) > select {
	margin-left: 10px;
	padding-left: 7px;
}





/* Adjusting order total */
.r_shipping_and_totals .r-cart-total {
	display: flex;
	padding: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
    justify-content: space-between;
	background-color: var(--base);
	font-weight: 700;
}





/* .checkout .woocommerce-checkout-review-order .wc_shipping_omniva select { */
    /* width: 100%; */
/* } */
/* .checkout .woocommerce-checkout-review-order th { */
    /* width: 50%; */
/* } */

/* Rearranging shipping methods */
.woocommerce-checkout ul.woocommerce-shipping-methods li:first-child{
  order: 5;
}

.woocommerce-checkout ul.woocommerce-shipping-methods li:nth-child(2){
  order: 4;
}

.woocommerce-checkout ul.woocommerce-shipping-methods li:nth-child(3){
  order: 3;
}

.woocommerce-checkout ul.woocommerce-shipping-methods li:nth-child(4){
  order: 2;
}
.woocommerce-checkout ul.woocommerce-shipping-methods li:nth-child(5){
  order: 1;
}

/* Hiding country field */
/* .woocommerce-checkout #billing_country_field { */
	/* display: none; */
/* } */

/* Making field titles bold */
.woocommerce-checkout .form-row label  {
	font-weight: 700;
}


/* Hiding "Additional info fields TITLE" */
.woocommerce-checkout .woocommerce-additional-fields > h3 {
	display: none;
}

/*------------------------------ Latest posts (Blogs) page adjustments ---------------------*/
.r-blogs_page > li > a {
	display: flex;
	min-width: 220px;
	font-size: 24px;
}
/* Setting H2 link hover effect on blog page */
.r-blogs_page > li > a:hover {
	-webkit-text-stroke: 1px;
}
/* Using up the space more efficiently and setting visually better spaces */
.r-blogs_page {
	margin-left: 0;
}
.r-blogs_page > li, .r-blogs_page > li > div {
	margin-bottom: 30px;
}
.r-blogs_page > li > div > img {
	border: solid;
	border-color: #cacaca;
    border-width: thin;
}


/*------------------------------ Post (Blog) page adjustments ---------------------*/
.inside-article .featured-image.page-header-image-single {
	display: none;
}
.post .entry-meta {
	display: none;
}

/*---------------------------------------- Side Cart shopping cart ----------------------------------------*/
	.xoo-wsc-container {
    display: block;
    overflow: auto;
		line-height: normal;
}

.xoo-wsc-sp-container {
	background-color: unset;
}
/* adjusting add to cart button in shopping cart */
.xoo-wsc-sp-atc a {
	text-decoration: none;
}
.xoo-wsc-sp-atc .button {
	padding: 5px;
}

/* MOBILE Side Cart shopping cart */
@media only screen and (max-width: 450px) {
  .xoo-wsc-container {
	width: 100%;
   }
}

/* Hide "Shipping options will be updated during checkout." in sidecart */
.xoo-wsc-slider .xoo-wsc-shipping-destination {
	display: none;
}

/*---------------------------------------- Fixing sidebars ----------------------------------------*/



/* .site-content .content-area { */
	/* width: 100%; */
/* } */
/* .site-content .is-right-sidebar { */
	/* width: 25%; */
	/* min-width: 250px; */
/* } */


/* .one-container.both-right .site-main, .one-container.right-sidebar .site-main { */
    /* margin-right: 20px; */
/* } */


/* .woocommerce ul.product_list_widget li img { */
	/* float: left; */
	/* width: 75px; */
/* } */
/* .woocommerce ul.product_list_widget li, .woocommerce ul.product_list_widget li a { */
	/* font-weight: unset; */
	/* font-size: 15px; */
/* } */
/* .site-content .widget-area .widget { */
	/* padding-left: 5px; */
	/* padding-right: 5px; */
	/* padding-bottom: 0; */
    /* margin-bottom: 0; */
	/* padding-top: 0; */
/* } */

/* Hiding products star ratings on sidebars */
/* .woocommerce ul.product_list_widget li .star-rating { */
    /* display: none; */
/* } */


/*---------------------------------------- Tuning BMI calculator ----------------------------------------*/
/* .myBmiButton { */
	/* -moz-box-shadow: 0px 1px 0px 0px #ffffff; */
	/* -webkit-box-shadow: 0px 1px 0px 0px #ffffff; */
	/* box-shadow: 0px 1px 0px 0px #ffffff; */
	/* background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf)); */
	/* background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%); */
	/* background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%); */
	/* background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%); */
	/* background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%); */
	/* background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%); */
	/* filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0); */
	/* background-color:#ededed; */
	/* -moz-border-radius:6px; */
	/* -webkit-border-radius:6px; */
	/* border-radius:6px; */
	/* border:1px solid #dcdcdc; */
	/* display:inline-block; */
	/* cursor:pointer; */
	/* color:#575757; */
	/* font-family:arial; */
	/* font-size:15px; */
	/* padding:4px 5px; */
	/* text-decoration:none; */
	/* text-shadow:0px 1px 0px #ffffff; */
/* } */
/* .myBmiButton:hover { */
	/* background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed)); */
	/* background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%); */
	/* background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%); */
	/* background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%); */
	/* background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%); */
	/* background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%); */
	/* filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0); */
	/* background-color:#dfdfdf; */
/* } */
/* .myBmiButton:active { */
	/* position:relative; */
	/* top:1px; */
/* } */