/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/


/***** HISTORIIKKI PIILOON ******/

#historiikki{
	display: none;
}

/*************** ADD CUSTOM CSS HERE.   ***************/
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

a.button.align-center {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

a.valkoinen {
    color: #ffffff;
}

a.valkoinen:visited {
    color: #ffffff;
}

a.valkoinen:hover {
    color: #b3b3b3;
}

.nav > li > a {
	font-weight: 400;
}
.custom.html_topbar_left a {
    color: #ffffff;
    margin-left: 5px;
}
.custom.html_topbar_left a:last-child:before {
    content: "|";
    margin-right: 5px;
}
#footer .menu li {
    border: none;
}
.home .page-wrapper {
	padding: 0;
}
.header-search-form-wrapper input.search-field {
    background-color: #000000;
    border-bottom: 1px solid #ffffff;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    color: #fff;
}
.searchform button[type="submit"].submit-button {
    background-color: transparent;
}
/* TUOTESIVU */
.product-page-title nav.woocommerce-breadcrumb {
    padding: .3em;
}

@media(max-width: 480px){
    .product-page-title nav.woocommerce-breadcrumb {
        display: none;
    }
}
.product-info .is-divider, .woocommerce-variation-price {
    display: none;
}
span.woocommerce-Price-amount.amount {
    color: #F31D25;
    font-weight: normal;
}
.cart .quantity input[type="button"] {
    background-color: transparent;
    border: none;
    color: #4A4A4A;
    font-weight: 600;
}
.cart .quantity input[type="number"] {
    border: 2px solid;
}
button[name="add-to-cart"] {
    color: #4A4A4A;
}
.shop-container button.single_add_to_cart_button.button.alt {
    color: #4A4A4A;
}
.related-products-wrapper {
    text-align: center;
    padding: 1em;
    margin-bottom: 1em;
}
.features-wrapper {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 30px;
}
.ominaisuudet {
    margin-bottom: 30px;
}
.ominaisuudet img {
    max-width: 50px;
    display: inline-block;
}
.ominaisuudet p {
    display: inline-block;
    margin-left: 5px;
    font-size: 15px;
}
.tawcvs-swatches .swatch {
	border-radius: 0%;
	opacity: 1;
}
.tawcvs-swatches span.swatch-valkoinen {
    border: 1px solid #000000;
}

/*table.variations td.value .tawcvs-swatches:before {
    content: "Valitse sinulle sopiva väri";
    text-transform: uppercase;
    font-weight: bold;
    color: #4A4A4A;
    padding-bottom: 10px;
    display: block;
}*/


/* FRONT PAGE SLIDER */
#slide h1 {
	text-transform: uppercase;
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0,0,0,0.50);
}
.slide-wrapper {
    width: 60%;
    text-align: center;
}
.slide-wrapper ul li {
    color: #ffffff;
    text-align: left;
    list-style-position: inside;
    font-weight: 600;
    margin-bottom: 0;
}
.bg-one .slide-wrapper ul li {
    text-align: right;
}
.bg-two .slide-wrapper {
    position: absolute;
    left: 2%;
    bottom: 3%;
}
.bg-one .slide-wrapper {
    position: absolute;
    right: 2%;
    bottom: 3%;
}
.slide-button {
    background-color: transparent;
    border: 2px solid #ffffff;
    margin-top: 5%;
    margin-bottom: 2%;
    padding: 10px 20px;
    text-transform: inherit;
    width: 100%;
}
.slide-button a {
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
}
.center-container {
    height: 40vh;
    min-height: 300px;
    display: table;
    width: 100%;
    margin: 0;
}
.center-row {
    height: 50%;
    width: 100%;
    display: table-row;
}
.center-row > div {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    background-size: cover;
    background-position: center;
}
.bg-one {
    background: 
        linear-gradient(
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.3)
        ),
    url('images/oliver-bg.jpg');
}
.bg-two {
    background:
        linear-gradient(
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.3)
        ),
    url('images/laavalusto3.jpg');
}

/* FRONT PAGE TARINA */

.background {
    background-position: center;
    background-size: cover;
}
#tarina {
    color: #ffffff;
}
#tarina h2 {
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.50);
}
#tarina .background {
    height: 600px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
/* HISTORIIKKI */

#historiikki {
    background: 
    linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
        ),
    url('images/laavalusto2.jpg');
    background-repeat: repeat;
    color: #ffffff;
    padding: 60px 0;
}
  /**************************/
 /******** LOMAKE **********/
/**************************/

#gform_1 .gform_body, #gform_2 .gform_body {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
#gform_1 input, #gform_2 input {
	width: 100%;
}
#gform_1 input[type="submit"], #gform_2 input[type="submit"] {
	width: 50%;
	display: block;
	margin-left: auto !important;
	margin-right: auto;
}
  /************************************/
 /******** TULISIJAMAAILMA ***********/
/************************************/

.woocommerce .product-category .box-image img {
    object-fit: cover;
    height: 300px;
    width: 100%;
}

  /************************************/
 /********** TIILITYÖKALU ************/
/************************************/

#main .masonry-generate div.option {
	margin-right: 20px;
}

/******PRODUCT PAGE*******/

.swatch-wrapper{
    padding: 0px;
    border: 0px !important;
}

.swatch-wrapper.selected{
    width: 150px !important;
    border: 0px;
    -webkit-transition: 1s; /* Safari */
    transition: 1s;
}

.swatch-wrapper img,
.swatch-wrapper a{
    -webkit-transition: 1s; /* Safari */
    transition: 1s;
}

.swatch-wrapper.selected img,
.swatch-wrapper.selected a{
    width: 100% !important;
    height: auto !important;
    display: inline-block;
}

.swatch-wrapper img{
    width: 32px;
    height: 32px;
}

div.swatch-wrapper.selected {
    border: none;
    padding: 0px;
}


/********CATEGORY LISTING********/
.product_type_variable.button,
.product_type_grouped.button,
.product_type_simple.button,
.widget_product_categories li.cat-item-25,
.parent-pageid-13 .add-to-cart-button,
.parent-pageid-227 .add-to-cart-button,
.box-normal .count,
.page-id-10398 .add-to-cart-button{
    display: none !important;
}

.add-to-cart-button>.product_type_variable.button,
.add-to-cart-button>.product_type_grouped.button,
.add-to-cart-button>.product_type_simple.button{
    display: block !important;
}

/****HIDE CART AND MY ACCOUNT***/

[lang="en-US"] .account-item,
[lang="en-US"] .cart-item,
.page-id-227 .account-item,
.page-id-227 .cart-item,
.parent-pageid-227 .account-item,
.parent-pageid-227 .cart-item,
.widget_shopping_cart .button.checkout{
    display: none;
}

@media (max-width: 668px){
    .bg-two,
    .bg-one{
        display: block !important;
        padding-top: 50px;
        height: 300px !important;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.center-row > div {
    	width: 100%;
	}
	.center-container {
		height: 100%;
		display: block;
	}
	.center-row {
		display: block;
		height: 40vh;
	}
	#slide h1 {
		text-align: center;
	}
	.slide-wrapper {
    	width: 100%;
	}
	.bg-one .slide-wrapper, .bg-two .slide-wrapper {
	    position: relative;
	    right: auto;
	    left: auto;
	    bottom: 10%;
	}

    .bg-one .slide-wrapper ul li{
        text-align: left;
    }

    .product-main iframe{
        max-width: 320px;
        display: block;
        margin: 0 auto;
    }
}

.no-display{
    display: none !important;
}

.three-column_wrapper select,
.three-column_wrapper input{
    width: 100% !important;
    margin-bottom: 0px !important;
}

.three-column_wrapper .gfield_description{
    padding: 0px 0px 5px 0px !important;
}

.gform_variation_wrapper .product_totals{
    width: 50% !important;
    display: inline-block;
}

.gform_variation_wrapper .product_totals>ul>li{
    display: inline-block !important;
    width: 32% !important;
}

.gsection{
    width: 100%;
}

.woocommerce-shipping-calculator .shipping-calculator-form{
    display: block !important;
}

.shipping-calculator-button,
.product_tag-takka .variations_form{
    display: none;
}

.max-1440 {
    max-width: 1440px;
    margin: 0 auto;
}






























