/*
 Theme Name:   Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Aina Størksen
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

body{
	color:black !important;
}

/*********** fjerne forfatter tittel på innlegg ************/

.entry-meta.byline.entry-meta.cat-links { display: none; }
 
.entry-meta.posted-on { display: none; }



/******************* STYLE LAGERSTATUS TEKST **************/

p.stock.in-stock{
	font-size:14px;
	background-color:black !important;
	border-radius: 10px;
	color:#0dfa05 !important;
	margin-top:2%;
	padding-left:5%;
	
}

p.stock.available-on-backorder{
	font-size:14px;
	background-color:black !important;
	border-radius: 10px;
	color:#fad105 !important;
	margin-top:2%;
	padding-left:5%;
}

/************ teksten på moteringsskjema på produktsiden ***********/
 .wcpa_wrap .wcpa_price_summary {
    color: #ffffff !important;
}

.wcpa_wrap .wcpa_field_label {
    color: #ffffff !important;
   
}

p.wcpa_field_desc{
	 color: #ffffff !important;
}

span.wcpa_field_price{
	 color: #ffffff !important;
}

/************ teksten på moteringsskjema på produktsiden ***********/
 .wcpa_wrap .wcpa_price_summary {
    color: #ffffff;
}

p.wcpa_field_desc{
	 color: #ffffff !important;
}
/******** RAMME RUNDT WOOCOMMERCE PRODUCTS{********/
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
	box-shadow: 5px 5px 7px 7px #aaaaaa !important ;
    padding: 1.5% ;
	
}




/*WOOCOMMERCE  PRODUKT VALG*/


#pa_montering{
	height: 3em;
    font-size: 1em;
    /*background-color: red !important;*/
    color: white !important;
}


/*prisen som kommer opp når du legger på montering*/
span.price {
	font-size:2em !important;
	font-weight:bold;
}
 span.woocommerce-Price-currencySymbol span.price_value{
	color:white;
}

/* gjemmer horisontal scrollbare*/
#page-container {
    overflow-x: hidden;
}

/*********************Ta bort forstørrelse glasset på bildene på produkt siden************************/


.woocommerce-product-gallery__image {
	pointer-events: none!important;
}

.woocommerce-product-gallery__trigger{
	display:none !important;
}
/************ post-2790 - remove whitespace ***********/

 
#post-2790 {
    padding-bottom: 0px !important;
}

.et_pb_post {
    margin-bottom: 0px;
    word-wrap: break-word;
}


/*Display The Divi Contact Form Checkbox Or Radio Buttons In Columns*/

.pa-checkboxes-radio-buttons-columns .et_pb_contact_field_options_list {
	display: flex;
	flex-flow: row wrap;
}

.pa-checkboxes-radio-buttons-columns .et_pb_contact_field_checkbox,
.pa-checkboxes-radio-buttons-columns .et_pb_contact_field_radio {
	flex-basis: 50%;
}

/************************bil filter *******************************/
/* FILTER KNAPPER */

.bilfilter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
	justify-content: center;
    align-items: center;
}

.bilfilter button {
    background: #fff;
    color: #2d2d2d;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
}

.bilfilter button:hover,
.bilfilter button.active {
    background: #c8102e;
    color: #ffffff;
}

/* BILKORT */

.bilkort {
    transition: all 0.3s ease;
}

/* MOBIL */

@media (max-width: 767px) {

    .bilfilter {
        justify-content: center;
    }

    .bilfilter button {
        width: auto;
        min-width: 90px;
        text-align: center;
    }

}


/************ info stripe på Hjem siden - ikke kollapse på mobil ***************/

/************ kun en kolonne på  mobil ****************/

@media only screen and (max-width: 980px) {
	.five-columns .et_pb_column {
	width: 20%!important;
	margin: 10px auto!important;
}
}

@media only screen and (max-width: 980px) {
	.four-colums .et_pb_column {
	width: 25%!important;
	margin: 10px auto!important;
}
}


@media (max-width: 767px){
.et-db #et-boc .et-l .et_pb_shop ul.products.columns-3 li.product {
    width: 100%!important;
    margin: 1% auto!important;
	font-size:10px;
	}
}