/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

#logo img {
    margin-bottom: 10px;
}

.search-form .form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    background-color: #f6f6f6;
    border-color: #f6f6f6;
    border-radius: 8px;
    color: black;
    height: 45px;
}

.search-form .form-flat input::placeholder {
    color: #434244;
	font-size: 14px;
	font-weight: 500;
}

#header .nav-left {
	justify-content: center;
}

#header .mobile-nav.nav.nav-left {
	justify-content: left;
}

.header-bottom-nav.nav > li > a {
    color: #0f0505;
    font-weight: 500;
  	padding-top: 5px;
    padding-bottom: 20px;
}

.ux-menu-link {
	color: #0f0505;
}

.nav.nav-small>li>a {
    font-weight: 500 !important;
    color: #434244;
    font-size: 12px;
}

.add_to_cart_button.added {
	display: block;
}

.quantity .minus, .quantity .plus {
    padding-left: 1em;
    padding-right: 1em;
}

.quantity {
	margin-right: .5em;
}

.quantity:before {
	display: none;
}

.quantity input[type="number"]{
	height: 40px;
}


.header-button .button span {
	margin-left: 6px;
    margin-top: 6px;
}

.button.icon {
	padding-right: 1em;
}


.product-main .quantity input[type="number"] {
	margin-top: 0px;
}

/*Fjerner paddingen fra main på forsiden*/
#content {
	padding-top: 0px;
}


/*Skjuler add to cart på butikksiden*/
.product-small form {
	display:none;}

.logged-in .product-small form {
	display:inline-block!important;}

/*skjuler "bli kunde"-knapp for innloggede kunder*/
.logged-in .header-button-1 {
	display: none;
}

/*LEgger inn margin så ikke side-tittelen skal ligge helt inntill header*/
h1.entry-title.mb {
	margin-top: 30px; 
}

#ship-to-different-address input {
	display: none;
}

#tripletex_field {
	display: none;
}

/*Skjuler felter fra "Min konto": Etternavn og display name*/
.woocommerce-EditAccountForm .woocommerce-form-row--last {
display: none;
}

/*Skjuler pris fra søk*/
.search-price {
	display: none;
}

/*Fikser marginen på + og - tegn i handlekurven*/
.woocommerce-cart-form__cart-item .quantity input[type="number"] {
    margin-top: 0px;
}

/*Designer Bekreftelsen etter sendt bli kundeskjema*/
.um-postmessage {
	color: #7a9c59;
}

/*FLatsome har en funskjon for å fjerne pile på hovedmeny når det er dropdown. Den funker ikke(!) så dette er fiksen*/
.has-dropdown .icon-angle-down {
    display: none;
}


/*Nov 2022: Font-waight i top bare for å gjøre den litt skarpere*/
.nav.nav-small>li>a {
    font-weight: 600;
 }

 /*Nov 2022: Ikoner til side bar*/

 .product-categories .cat-item {
	background-size: 24px;
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 36px;
}

/*Nov 2022: Raps*/
.product-categories .cat-item.cat-item-16{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-raps.png');
}

/*Nov 2022: Olivenolje*/
.product-categories .cat-item.cat-item-17{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-oliveoil.png');
}

/*Nov 2022: Krydder*/
.product-categories .cat-item.cat-item-56{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-spice.png');
}

/*Nov 2022: Pasta*/
.product-categories .cat-item.cat-item-83{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-pasta.png');
}
/*Nov 2022: Belgfrukter*/
.product-categories .cat-item.cat-item-64{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-belgfrukter.png');
}

/*Nov 2022: Tomater*/
.product-categories .cat-item.cat-item-68{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-tomato.png');
}

/*Nov 2022: Trøffel*/
.product-categories .cat-item.cat-item-53{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-truffle.png');
}

/*Nov 2022: Eddik*/
.product-categories .cat-item.cat-item-52{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-vinegar.png');
}

/*Nov 2022: Oliven*/
.product-categories .cat-item.cat-item-54{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-olives.png');
}

/*Nov 2022: Pesto*/
.product-categories .cat-item.cat-item-81{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/garbage.png');
}

/*Nov 2022: Soya*/
.product-categories .cat-item.cat-item-76{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-soya.png');
}

/*Nov 2022: Rengjøring*/
.product-categories .cat-item.cat-item-27{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-cleaning.png');
}

/*Des 2024: Vin*/
.product-categories .cat-item.cat-item-103{
 	background-image: url('https://www.botella.no/wp-content/uploads/2024/12/icon-wine.png');
}

/*Des 2024: Gavepakker*/
.product-categories .cat-item.cat-item-102{
 	background-image: url('https://www.botella.no/wp-content/uploads/2024/12/icon-exclusive.png');
}

/*Des 2024: Delikatesser*/
.product-categories .cat-item.cat-item-94{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-vinegar.png');
}


 /*Nov 2022: Ikoner til mobilr*/

 .mnyMain {
	background-size: 24px;
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 36px;
}
/*Nov 2022: Raps*/
.mnyMain.mnyRaps{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-raps.png');
}

/*Nov 2022: Olivenolje*/
.mnyMain.mnyOlivenolje{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-oliveoil.png');
}

/*Nov 2022: Krydder*/
.mnyMain.mnyKrydder{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-spice.png');
}

/*Nov 2022: Pasta*/
.mnyMain.mnyPasta{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-pasta.png');
}
/*Nov 2022: Belgfrukter*/
.mnyMain.mnyBelgfrukt{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-belgfrukter.png');
}

/*Nov 2022: Tomater*/
.mnyMain.mnyTomat{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-tomato.png');
}

/*Nov 2022: Trøffel*/
.mnyMain.mnyTroffel{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-truffle.png');
}

/*Nov 2022: Eddik*/
.mnyMain.mnyEddik{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-vinegar.png');
}

/*Nov 2022: Oliven*/
.mnyMain.mnyOliven{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-olives.png');
}

/*Nov 2022: Pesto*/
.mnyMain.mnyPesto{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/garbage.png');
}

/*Nov 2022: Soya*/
.mnyMain.mnySoya{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-soya.png');
}

/*Nov 2022: Rengjøring*/
.mnyMain.mnyRengjoring{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-cleaning.png');
}

/*Des 2024: Vin*/
.mnyMain.mnyWine{
	background-image: url('https://www.botella.no/wp-content/uploads/2024/12/icon-wine.png');
}

.mnyMain.mnyDelic{
	background-image: url('https://www.botella.no/wp-content/uploads/2022/11/icon-vinegar.png');
}

.mnyMain.mnyGave{
	background-image: url('https://www.botella.no/wp-content/uploads/2024/12/icon-exclusive.png');
}

/*Nov 2022: Fjerne heading på forsiden*/

.page-id-11346 .entry-header {
	display: none;
}

.page-wrapper.page-left-sidebar {
    padding-bottom: 30px;
    padding-top: 10px;
}

.widget_product_categories .is-divider {
	margin: 0.2em 0;
}

#content {
	padding: 0 0;
}

#content .frontpageProduct{
	margin: 0 15px;
	text-align: center;
}

#content .frontpageProduct .button{
	padding: 0 0.9em;
	font-size: 0.8em;
}


/*Nov 2022: Fjerne heading på om oss siden*/
.page-id-72 .entry-header {
	display: none;
}
/********************************* 
ALT UNDER HER ER FOR EGEN FORSIDE 
**********************************/

.botGrid-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
  	grid-gap: 10px;
  	margin-top: 10px;
}

.botGrid-container img {
	margin: 0px;
}

.grid-item-slider {
  grid-column-start: 1;
  grid-column-end: 3;
}

/*hovebanner*/

.slider {
	width: 100% !important;
}

.slider figure img {
	width: 100%;
	float: left;
}


/*single Banners*/
.singelBanner h3{
	height: 45%;
	color: white;
	margin-top: 10px;
	background-color: grey;
	text-align: center;
	padding: 10% 0;
}

.bot-subanner2{
	margin-top: 10px !important;
}

.singelBanner img {
	width: 100%;
}
/*Small Banners*/
.grid-item-small {
	overflow: hidden;
	position: relative;
}

.grid-item-small h4 {
	position: absolute;
    bottom: 0px;
    text-align: center;
    background-color: #00000087;
    color: white;
    margin-bottom: 0;
}

.bot-smallbanner {
	width: 100%;
}


/*Kategorier*/
.h3homepage {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 25px 0px 20px 0px;
}

.lineBreak {
	display: block;
	flex: 1;
	height: 2px;
	opacity: 0.1;
	background-color: grey;
}

.lineheading {
	text-align: center;
	margin: 0 15px;
}

.catcontainer ul {
	list-style: none;
	overflow: hidden;
	text-align: center;
}

.catcontainer ul li {
	width: 20%;
	display: inline-block;
	margin: 0px 0px 0px 25px;
}

.catcontainer ul li:first-child {
	width: 20%;
	display: inline-block;
	margin: 0px 0px 0px 0px;
}

.catcontainer ul li:nth-child(5) {
	width: 20%;
	display: inline-block;
	margin: 0px 0px 0px 0px;
}

.catcontainer ul li p {
	color: #32282d;
	 font-weight: 600;
    text-transform: uppercase;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15)
}

/*Nyheter*/
.products {
	text-align: center;
}
.products .product-small {
	width: 30%;
	display: inline-block;
}

.products .product-small.box {
	width: 100%;
}

.products .product-small.box img {
	width: 60%;
}

.show-on-hover {
	display: none;
}

.add_to_cart_button.added{
	display: inline-block;
}

a.added_to_cart {
	display: none;
}

.confirm_add{
	display: none;
}

/*Bli kundeseksjonen*/
.botregistrer {
	text-align: center;
	background-color: #272727;
	color: white;
	border-radius: 15px;
}

.botregistrer h3 {
	color: white;
	font-size: 2em;
	text-transform: uppercase;
	padding-top: 20px;
}

.botregistrer p {
	color: white;
	font-size: 1.2em;
	padding: 0 25px;
}

.botregistrer button {
	text-align: center;
	background-color: white;
	color: #272727;
	border-radius: 99px;
	margin-bottom: 30px;
}


@media only screen and (max-width: 549px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


.catcontainer ul li {
	width: 40%;
}

.catcontainer ul li:nth-child(odd) {
	width: 40%;
	margin: 0px 0px 0px 0px;
}

.products .product-small {
	width: 45%;
}

.wl8-custom-btn{
	font-size: 0.75em;
	padding: 0 0.5em;
}


}

@media only screen and (max-width: 849px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  
.medium-logo-center .flex-left {
    flex: 0 0 0;
    order: 1;
 }

/*Nov 2022: Størrelsen på mobil menyen*/
.off-canvas-left .mfp-content{
	width: 300px;
}

/*Nov 2022: Fjerner left side bare på mobil*/
.page-left-sidebar .large-3{
	display: none;
}

/*Nov 2022: Fjeren padding top på mob*/
.page-wrapper.page-left-sidebar {
    padding-bottom: 30px;
    padding-top: 0px;
}

/*Nov 2022: Farge på ikonene i mobile header*/
.header-main .nav > li > a {
    color: #0e0505;
}

/*Nov 2022: Teksten i mobil menyen*/
.mobile-sidebar .nav-sidebar li:first-child {
	margin-left: 10px !important;
}
.mobile-sidebar .nav-sidebar li {
	margin-left: 10px;
}

.mobile-sidebar .nav-sidebar a {
	color: #0f0505;
	padding-left: 40px !important;
}

.mobile-sidebar .button.secondary {
	padding-left: 8px !important;
	color: #ffffff;
}



.botGrid-container {
    grid-template-columns: 1fr;
}

.grid-item-slider {
    grid-column-start: 1;
    grid-column-end: 1;
}


.smallbannercont {
	width: 100%;
	margin-left: 0px;
	margin-top: 10px;
}

.catcontainer ul li {
	width: 60%;
	margin: 0;
}

.catcontainer ul li:nth-child(odd) {
	width: 60%;
	margin: 0px 0px 0px 0px;
}

.products .product-small {
	width: 45%;
}

.slider {
	width: 100% !important;
}

.slider figure img {
    margin-bottom: 0px;
}

/*Legge til følgende for å fikse add to cart knappen som har rar plassering. 
Se "Design endringer" i evernote for dok.*/
.button.alt.ajax_add_to_cart.add_to_cart_button.product_type_simple {
	margin-top: 0;
    display: block;
}



}

/******************
MEDIA QUERIES SOM KREVES EKSTRA TILPASNINGER
PS: FLATSOME DEFINERER MOBIL SOM MAKS 549
********************/

@media (max-width: 549px) {
    #logo img {
        max-height: 64px;
		width: 150px;
		margin-left: 0px;
    }
}

/******************
Endringer des 2024
********************/

.add_to_cart_button {
	height: 40px;
}





