/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.0.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */


/*ram runt zoomrutan*/
.rey-zoomContainer {
    border-width: 1px;
    color: #ebebeb;
    border-style: solid;
}

/*dynamic pricing tabellen*/

.dynamic-pricing-table td {
    padding-left: 10px !important;
}

/*ram runt produktbild loop*/
.rey-productThumbnail {
    border: 1px solid #dbdbdb;
}




/*
.woocommerce div.product p.price {
    font-size: 2.5rem;
    font-weight: 400;
}
*/
/*Tar bort titel på variation drop down*/
.woocommerce div.product form.cart .variations label {
  text-transform: initial;
	font-size:16px;
	line-height:2.6;
	color: black !important;
	font-weight:400px !important;
	display:none;
}

.woocommerce div.product form.cart .variations td.label {
	display:none;
}

/*  qty ctrls i varukorg*/
.rey-cartPanel .woocommerce-mini-cart div.quantity .cartBtnQty-controls {
	border-radius: 0px !important;
	width: 70px !important;
}

/* tar bort rundad kant på "ta bort knappen" i varukorg*/
a.remove.remove_from_cart_button.rey-removeBtn {
    border-radius: 0px !important;
}

/*Döljer optional i adresser*/
.woocommerce form .form-row .optional {
    visibility: hidden;
}
/* Quantity controls loop*/
.woocommerce .rey-loopQty .cartBtnQty-controls {
   	border: 1px solid black;
    border-radius: 0px !important;
    color: #585857 !important;
}
.woocommerce .rey-loopQty .cartBtnQty-controls input.qty {
    color: #585857;
}

/*Product meta*/
.woocommerce div.product .product_meta, .woocommerce div.product .product_meta a {
    color: #585857;
}

/*ändrar färg på out of stock i arkivvy popup*/
.woocommerce div.product .stock.out-of-stock {
    color: #585857;
}

/*justerar priset till top i loopen*/
@media (min-width: 1025px) {
.woocommerce ul.products li.product.rey-wc-skin--basic.is-animated .rey-productLoop-footer>.price:not(:only-child) {
    position: absolute;
    top: 10% !important;
    -webkit-transform: translateY(-10%) !important;
    transform: translateY(-10%) !important;
}
}
/*ökar radavståndet på priset i loopen*/
.woocommerce ul.products li.product .rey-productLoop-footer {
    line-height: 1.3;
}

/*Ändrar font size i tab information*/
div#acctab-information {
    font-size: 12px;
}

.woocommerce div.product .stock {
  text-transform: initial;
}

/*Sätter vikt på produktpris*/

span.woocommerce-Price-amount.amount {
    font-weight: 400;
}

/* Ändrar font vikt på stock status inne på produkten*/
.woocommerce div.product .stock {
    font-weight: 400;

}

.woocommerce div.product .rey-summaryAcc .rey-summaryAcc-accItem {
   font-size: 1rem;
   
}


/* Stylar minimum qty restrictions på produktsidan*/
.ywmmq-rules-wrapper ul {
    margin: 0 0 0 0px;
    list-style: none;
    padding: 0 0 0 0px;
}


.ywmmq-rules-wrapper ul li {
    padding: 0px 0;
    margin: 0 0 0 0px;
}



.ywmmq-rules-wrapper.entry-summary a {
    text-decoration: underline;
}

.ywmmq-rules-wrapper.entry-summary {
    font-size: 12px;
}

.woocommerce-variation-add-to-cart-disabled .ywmmq-rules-wrapper.entry-summary {
    width: 80%;
}
.woocommerce-variation-add-to-cart-disabled .ywmmq-rules-wrapper.entry-summary > div:first-child {
	width: 100%;
}

.woocommerce-variation-add-to-cart-enabled .ywmmq-rules-wrapper.entry-summary > div:first-child {
	width: 80%;
}

/*Add to cart loop button*/
.woocommerce .rey-loopQty .button {
    margin-left: 0;
}
.rey-qtyField.cartBtnQty-controls {
    margin-right: 0.9em;
}

/*add to cart variations loop form*/
.rey-productLoop-variationsForm.woocommerce div.product form.cart .rey-cartBtnQty {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


/* Minskar avstånd mellan Produkttitel och pris på produktsidan*/
.woocommerce div.product .rey-productTitle-wrapper {
    margin-bottom: 10px;
}


/*Product addons*/

#product-addons-total {
    display: none;
}
.wc-pao-addons-container {
    border: 1px solid grey;
    margin-bottom: 20px;
    padding: 20px;
}
.wc-pao-addon-heading {
    margin: 0px;
}
.wc-pao-addon-container .form-row.form-row-wide {
    padding-left: 0px;
}
.product-addon-totals {
    display: none;
}
.woocommerce div.product .stock.out-of-stock .rey-icon {
    font-size: 5px !important; 
}

p.wks-cart-sku {
    font-size: x-small;
}

.yith-wcpsc-product-size-chart-button {
    font-size: 0.83rem;
    background: none !important;
    border: none;
    border-radius: 3px;
    color: black;
    display: inline-block;
    padding: 0px 0px 0px 0px !important;
    text-decoration: none;
    margin: 5px 0px !important;
    cursor: pointer;
    box-shadow:unset;
}

.rey-productLoop-variationsForm.woocommerce div.product form.cart .variations select {
    max-width: 70% !important;
    min-width: 70% !important;
}

.rey-productLoop-variationsForm.woocommerce button.button.alt {
    font-size: var(--btn-primary-font-size,11px);
    }


/* Stylar rutan för waitlist inne på produkten*/

#yith-wcwtl-output {
    padding: 3% 5% 4% 5% !important;
    border-radius: 5px !important;
    margin-top: 20px !important;
}    
div#yith-wcwtl-output label {
    margin-bottom: 0px !important;
}

/* Stylar knappen för waitlist*/

.yith-wcwtl-output .button {
    background: #575757 !important;
}

.yith-wcwtl-output .button:hover {
    background: #000000 !important;
}


/* Stylar knappen för waitlist för variantartiklar*/

a.button.alt.yith-wcwtl-submit {
    color: white !important;
}

.yith-wcwtl-output .wrap-form-fields .yith-wcwtl-submit {
    padding-top: 10px !important;

}


/* Stylar rutan för waitlist för variantartiklar*/
.woocommerce-variation-availability {
    width: 100% !important;
}

/* Stylar success message*/


.yith-wcwtl-ajax-message .wrapper-notice span {
    line-height: 21px;
    font-size: 14px;
    padding-right: 22%;
}


.__is-blocked>*:not(.rey-lineLoader) {
    opacity: 1 !important;
}

.yith-wcwtl-output.success, .yith-wcwtl-output.subscribed {
    background-color: #f9f9f9!important;
    color: #575757!important;
}


.yith-wcwtl-output .yith-wcwtl-success #Group g {
    fill: #000000 !important;
}

.yith-wcwtl-output .yith-wcwtl-success #Group circle {
    fill: #575757 !important;
}


.yith-wcwtl-output.success, .yith-wcwtl-output.subscribed {
    background-color: #f9f9f9!important;
}


.yith-wcwtl-output .button.button-leave {
    background: #595959!important;
}


.yith-wcwtl-output .button:hover {
    background: #000000!important;
}


/*Tar bort label för dropdown inne på variantartiklar*/
th.label {
    display: none;
}

/*Ändrar till Inledande versaler på flera ställe*/


/*Ändrar text till inledande versal*/
:root {
	--h-text-transform: initial;
}

/*Ändrar till gemener på related products rubriken"*/
:is(.related.products,.upsells.products,.crosssells.products,.rey-extra-products)>h2 {
    text-transform: initial;
}


form .form-row label, .wccf_field_container label {
     text-transform: initial;
}


/*loop product count*/
.woocommerce-result-count {
    text-transform: initial;
}

/*cart*/
a.remove {
    text-transform: initial !important;
}

/*Intial on all product title cart*/
.woocommerce-mini-cart-item-title {
    text-transform: initial;
}


/*Intial on all buttons*/
.button, .btn {
	text-transform:initial !important;
}


/*Changes color on YITH Search Result Box*/
.ywcas-history-search-item {
    color: #101010 !important;
}


.ywcas-history-searches-wrapper .ywcas-delete-all-history:hover {
    color: #101010 !important;
}

.ywcas-popover-results .stock.in-stock {
    color: #585857 !important;
}


/*Customize Advanced Woo Search Result Box*/
.aws_result_title {
    font-size: 1.5em !important;
    color: #101010 !important;
}

.aws_result_stock.in {
    color: #101010 !important;
}

.aws-search-btn.aws-form-btn {
    background: #f1f2f2 !important;
}


.aws_result_price {
    font-size: 0.9rem !important;
}


.aws_search_more a {
    color: #101010 !important;
}


a.aws_result_item.aws_search_more {
    color: black;
}


/*Stylar knappen "Proceed to checkout" i carten*/
.woocommerce .checkout-button.button.alt {
    background-color: var(--accent-color) !important;
    color:#ffffff !important;
    padding: 14px 24px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    width: 100% !important;
}


.woocommerce .checkout-button.button.alt:hover {
    background-color: var(--accent-hover-color) !important;
}

.woocommerce .checkout-button.button::after {
    content: "\27F6";
    margin-left: 10px;
    font-size: 1.1em;
    font-weight: 500;
}