/*
Theme Name:   Storefront Saana ja Olli
Description:  Saana ja Olli webstore
Template:     storefront
Version:      1.0.0
*/

/*

TYPOGRAPHY

*/

@font-face {
	font-family: 'Caecilia';
	src: url('fonts/Caecilia LT Std 55 Roman.woff') format('woff');
}

@font-face {
	font-family: 'CaeciliaItalic';
	src: url('fonts/Caecilia LT Std 65 Italic.woff') format('woff');
}

@font-face {
	font-family: 'CaeciliaBold';
	src: url('fonts/Caecilia LT Std 75 Bold.woff') format('woff');
}

@font-face {
	font-family: 'CaeciliaBoldItalic';
	src: url('fonts/Caecilia LT W04 76 Bold Italic.woff') format('woff');
}


body {
	font-family: "Caecilia", serif;
	font-weight: 400;

	line-height: 140%;

	color: #000;
	background-color: #fff;
	
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Caecilia", serif;
	font-weight: 400;
	line-height: 125%;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;	

	margin: 0;
}

h1 {
	font-size: 40px;
	letter-spacing: 2.5px;
	line-height: 140%;
	margin-bottom: 20px;
}

h2 {
	font-size: 30px;
	font-family: "CaeciliaBold", serif;
	margin-bottom: 18px;
	letter-spacing: 1.5px;
	line-height: 140%;
	margin-bottom: 30px;
}

h3 {
	font-size: 24px;
	letter-spacing: -0.3px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

h3:first-of-type {
	margin-top: 1px;
}

h4 {
	font-size: 20px;
	line-height: 140%;
	text-transform: uppercase;
}

a {
	color: #000;
	font-family: "CaeciliaBold", serif;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;		

	transition: 0.15s color ease-in-out;
}

a:hover {
	color: #111;
}

p, li, div, i, em, h5, h6, select, input, textarea, button {
	font-family: "Caecilia", serif;
	font-weight: 400;

	font-size: 20px;
	letter-spacing: 1px;
	line-height: 200%;
	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;		

	margin: 0;
}

button, input, input[type='button'], input[type='reset'], input[type='submit'], .button, .added_to_cart {
	padding: 14px 20px 12px 24px;
	line-height: 150%;
}

input[type='text'], input[type='number'], input[type='email'], input[type='tel'], input[type='url'], input[type='password'], input[type='search'], textarea, .input-text {
	padding: 14px 10px 12px 4px;
}

p {
	margin-bottom: 40px;
}

i {
	font-family: "CaeciliaItalic";	
}

em {
	font-family: "CaeciliaBold";	
}

strong {
	font-family: "CaeciliaBold";	
}

.noMarginTop {
	margin-top: 0px;
}

ul {
	margin-top: 10px;
	margin-bottom: 20px;
	margin-left: 25px;
}

ul li {
	margin-bottom: 10px;
}

small {
	font-size: 15px;
	color: #999;
}

.floatLeft {
	float: left;
}

/*

HEADER

*/

.header {
	width: 100%;
	box-sizing: border-box;

	padding-top: 70px;

	margin: 0 auto;
	margin-bottom: 0px;

	background-color: #fff;
	overflow: hidden;
	text-align: center;
}

.headerLogo {
	width: 300px;
	height: auto;
	margin: 0 auto;
}

.navi {
	display: inline-block;
	margin-top: 15px;
	margin-bottom: 25px;
}

.naviItem {
	position: relative;
	display: block;
	float: left;
	background-color: #fff;
	padding: 0px 12px 0 15px;
	height: 60px;
	transition: 0.25s background-color ease-in-out;
	box-sizing: border-box;
	overflow: hidden;
}

.naviItem p {
	position: relative;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-top: 13px;
}

.naviItemHover {
	position: absolute;
	width: 100%;
	height: 0px;
	left: 0;
	top: 31px;
	background-color: #eee;
	transition: 0.15s top ease-in-out, 0.15s height ease-in-out;
}

.naviItem:hover .naviItemHover {
	top: 0px;
	height: 62px;
}

.btnStore,
.btnMenu,
.btnCloseImage {
	position: absolute;
	z-index: 101;
	top: 20px;
	right: 10px;
	width: 60px;
	height: 60px;
	transition: 0.25s background-color ease-in-out;
	cursor: pointer;
	overflow: hidden;
}

.btnStore img,
.btnMenu img,
.btnCloseImage img {
	position: relative;
}

.btnStore:hover {
	//background-color: #eee;
}

.btnHover {
	position: absolute;
	background-color: #eee;
	left: 50%;
	top: 50%;
	width: 0%;
	height: 0%;
	border-radius: 50%;
	transition: 0.2s left ease-in-out,
				0.2s top ease-in-out,
				0.2s width ease-in-out,
				0.2s height ease-in-out;
}

.btnStore:hover .btnHover,
.btnMenu:hover .btnHover,
.btnCloseImage:hover .btnHover {
	left: -25%;
	top: -25%;
	width: 150%;
	height: 150%;
}

.btnMenu {
	left: 10px;
}

#menuButtonTop {
	display: none;
}

.iconClose {
	display: none;
}

.naviFloat {
	position: fixed;
	z-index: 100;
	width: 100%;
	height: 60px;
	background-color: #fff;
	overflow: hidden;
	border-bottom: 1px solid #aaa;
	box-sizing: border-box;
	top: -60px;
	transition: top 0.5s ease-in-out;
}

.naviFloatLogo {
	float: left;
	height: 20px;
	width: auto;
	margin-left: 10px;
	margin-top: 21px;
	margin-right: 20px;
}

.naviFloat .btnStore {
	top: 0;
	right: 0px;
}

.naviFloat .btnMenu {
	left: 0px;
	top: 0;
	display: none;
}

.naviFloatItems {

}

.naviFloat .naviItem {
	height: 60px;
}

.naviFloat .naviItem p {
	font-size: 15px;
	margin-top: 16px;
}

.toggleMenu {
	cursor: pointer;
}

.menu {
	position: fixed;
	top: -400px;
	right: 0;
	width: 100%;
	height: 400px;
	background-color: #fff;
	z-index: 99;
	text-align: center;
	padding-top: 80px;
	box-sizing: border-box;
	transition: top 0.5s ease-in-out;
}

.menu .naviItem {
	display: inline-block;
	float: none;
	margin-bottom: 10px;
}


.footer {
	width: 100%;
	background-color: #ccc;
}

.footerContent {
	width: 100%;
	max-width: 1600px;
	padding: 50px 5%;
	box-sizing: border-box;
	margin: 0 auto;
}

.footerContent p {
	padding: 0;
	margin:  0;
}

.footerContent a {
	display: block;
	text-align: center;
	font-family: "Caecilia", serif;
	text-transform: uppercase;
	font-size: 16px;
}

.footerCopy {
	margin-top: 40px;
	text-align: center;
	font-size: 16px;

}


.col3 {
	width: 29.6%;
	margin-right: 5.555%;
	float: left;
	margin-bottom: 40px;
}

.col3:nth-of-type(3) {
	margin-right: 0;
}

.col3 img {
	width: 100%;
	height: auto;
	margin: 0;
}

@media (max-width: 800px) {
	.footerContent .col3 {
		width: 100%;
		margin-right: 0;
	}

	.footerCopy {
		margin-top: 40px;
	}
}


/*

STOREFRONT

*/

body.woocommerce #primary {
	float: none;
	width: 100%;
}

.storefront-sticky-add-to-cart {
	display: none;
}

.woocommerce-breadcrumb {
	display: none;
	width: 0px;
	height: 0px;
	overflow: none;
}

.woocommerce-breadcrumb a:first-of-type::before {
	content: "";
	margin-right: 0;
}

.woocommerce-breadcrumb a, a.woocommerce-review-link, .product_meta a {
	color: #000;
}

.woocommerce-breadcrumb a:hover {
	text-decoration: underline;
	color: #888;
}

.single-product div.product .product_meta a:hover {
	text-decoration: underline;
	color: #999;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	background-color: #000;
}

.site-content > .col-full > .woocommerce > .woocommerce-message:first-child, .site-content > .col-full > .woocommerce > .woocommerce-info:first-child, .site-content > .col-full > .woocommerce > .woocommerce-error:first-child {
	margin-top: 0;
}

.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button, .woocommerce-noreviews .button, p.no-comments .button {
	margin-top: 4px;
}

.single-product div.product p.price {
	margin: -10px 0 10px 0;
	font-weight: 700;
}

ul.products li.product .star-rating,
.wc-block-grid__product-rating .star-rating {
	display: none;
}

.woocommerce-ordering {
	display: none;
}

.entry-header {
	display: none;
}

.wp-block-cover, .wp-block-cover-image {
	margin-bottom: 60px;
}

.hentry .entry-content a:not(.button) {
	text-decoration: none;
}

.header-widget-region {
	width: 250px;
	margin-left: 5%;
	box-sizing: border-box;
	float: left;
}

.storefront-breadcrumb,
.site-content {
	width: calc(95% - 250px);
	float: left;
	box-sizing: border-box;
	padding-left: 5%;
	padding-right: 5%;
}

.storefront-breadcrumb {
	display: none;
}

.site-content {

}


.reset {
	float: none;
	clear: both;
	display: block;
	content: "";
}

.widget_product_categories ul,
.widget_product_categories ul li,
.widget_product_categories ul li a {
	text-transform: uppercase;
	font-size: 20px;
	font-family: "Caecilia", serif;
	line-height: 125%;
}



.widget_product_categories ul li::before,
.widget_product_categories ul li.current-cat::before  {
	content: "";
}

.widget_product_categories ul li.current-cat a {
	color: #aca192;
}

.widget_product_categories ul li.current-cat .children li a {
	color: #000;
}


.widget_product_categories ul li {
	padding-left: 0;
}

.widget_product_categories .children {
	padding-left: 20px;
}

.widget_product_categories .children li a {
	text-transform: lowercase;
}

.widget-title {
	display: none;
}

.woocommerce-loop-category__title .count {
	display: none;
}

.product-category {
	position: relative;
}

.product a {

}

.woocommerce-loop-category__title {
	width: 100%;
	position: absolute;
	top: 0px;
	color: #fff;
	text-transform: uppercase;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

ul.products li.product.product-category h2, ul.products li.product.product-category h3, ul.products li.product.product-category .woocommerce-loop-category__title {
	font-size: 25px;
}

.storefront-product-pagination {
	display: none;
}

.wp-block-soliloquy-soliloquywp {
	//max-width: 1300px;
	margin-bottom: 60px;
	//margin-left: auto;
	//margin-right: auto;
}

ul.products li.product {
	margin-bottom: 20px;
}

ul.products li.product h2,
ul.products li.product h3,
ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
	font-family: "Caecilia", serif;
	font-weight: 400;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	line-height: 140%;
}

ul.products li.product.product-category .woocommerce-loop-category__title {
	font-family: "CaeciliaBold";	
	font-size: 28px;
}

.wc-block-grid__product-title {
	padding-top: 10px;
	margin-bottom: 4px;
}

.wc-block-grid::after {
   content: "."; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
}

.wc-block-grid {
	padding-bottom: 40px;
}

.wc-block-grid__product p {
	margin: 0;
}

.woocommerce-product-gallery__wrapper img {
	border-radius: 0px;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 20%;
	margin-right: 5%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li img {
	border-radius: 0px;
}

ul.products li.product .price,
.wc-block-grid__product-price {
	font-family: "Caecilia", serif;
	font-weight: 400;
	color: #000;
	font-size; 20px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

ul.products li.product img {
	border-radius: 0px;
	box-sizing: border-box;
	border: 0px solid #000;
}

.product_type_simple,
.product_type_variable,
.wc-block-grid__product-add-to-cart {
	display: none;
}

.columns-3 {
	max-width: none;
	margin: 0 auto;
}

.wc-block-grid__products {
	display: block;
	max-width: 1300px;
	margin: 0 auto;
}

.wc-block-grid__product {
	float: left;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 30%;
	margin-right: 5%;
}

.wc-block-grid__product img {
	border-radius: 0px;
	border: 0px solid #000;
	display: block;
	max-size: none !important;
}

.wc-block-grid.has-3-columns .wc-block-grid__product {

}

.wc-block-grid__product {

}

.wc-block-grid__product:nth-child(3n) {
	margin-right: 0;
}

.wc-block-grid__product:nth-child(3n+1) {
	clear: left;
}

.main-navigation {
	display: none;
}

.woocommerce-breadcrumb a:first-of-type {
	content: "Store";
}

.woocommerce-breadcrumb a {
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	text-decoration: none;
}

.woocommerce-result-count {
	display: none;
	padding: 0;
}

.storefront-sorting {
	margin-bottom: 10px;
}

.col-full {
	padding: 0;
}

.widget_product_categories {

}

.header-widget-region .widget {
	padding-top: 35px;
}

.single-product div.product table.variations select {
	//padding: 20px;
	//opacity: 0.1;
	max-width: 90%;
}

.woocommerce-products-header__title {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 24px;
	position: relative;
	left: -1px;
	margin-top: 0px;
	margin-bottom: 32px;
	padding-top: 35px;
}

.product_title {
	font-size: 1.25em;
}

.single-product div.product p.price {
	font-size: 1.1em;
}

.product p,
.product .label,
.product select {
	font-size: 18px;
}

.product_meta {
	display: none;
}

.woovr-variation-radio {
	margin-bottom: 10px;
}

.woovr-variation-info .woovr-variation-name {
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 400;
	line-height: 120%;
	margin: 0;
	padding: 0;
}

.woovr-variation-price {
	margin: 0;
	padding: 0;
	line-height: 125%;
}

.woovr-variation-price .woocommerce-Price-amount {
	font-size: 15px;
	font-weight: 700;
}

.site-header {
	padding-bottom: 0px;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
 	appearance: none;

 	background-color: #eee;
 	border-radius: 0px;
 	padding: 12px 20px 8px 20px;
 	border: 0px;
}

select option {
	padding: 20px;
}

.woocommerce-cart-form {
	position: relative;
	width: 100%;
}

.home.post-type-archive-product .site-header {
	//margin-bottom: 40px;
}

.menuCategories,
.menuCategories .widget {
	padding-top: 0px;
}

.menuCategories {
	display: none;
	border-bottom: 1px solid #aaa;
}

#woocommerce_product_categories-2 .menuCategories {
	padding-top: 0px;
	text-align: center;
}

.menuCategories .widget_product_categories .children {
	padding-left: 0px;
}

.openCategories {
	cursor: pointer;
	text-align: center;
	margin-top: -20px;
	padding: 8px 0 6px 0;
	box-sizing: border-box;
	border-bottom: 1px solid #aaa;
}

.entry-summary,
.woocommerce-product-gallery {
	padding-top: 50px;
}

.home.post-type-archive-product .site-header {
	margin-bottom: 0px;
}	


@media (max-width: 66.4989378333em), all {
	.col-full {
		margin: 0;
	}
}

@media (min-width: 768px), all {

	.site-header {
		padding-top: 0;
		border-bottom: 1px solid #808080;
	}

	.site-header .site-branding {
		display: none;
	}

	.site-search {
		display: none;
	}

	.right-sidebar .content-area {
		width: 100%;
	}

	.col-full {
		
		max-width: none;

	}

	.right-sidebar .content-area {
		margin-right: 0;
	}

	.site-header-cart {
		width: 21.7391304348%;
		position: absolute;
		top: 0px;
		right: 2.617924em;
		float: none;
		margin-right: 0;
		margin-bottom: 0;
		display: none;
	}

	table.cart th, table.cart td {
		box-sizing: border-box;
		padding: 10px;
	}

	.storefront-primary-navigation .col-full {
		position: relative;
		max-width: 100%;
		padding: 0;
		margin-left: auto;
		margin-right: auto;
		box-sizing: content-box;

	}

	.single-product div.product .woocommerce-tabs {
		display: none;
	}

	.right-sidebar .widget-area {
		display: none;
	}

	.page-template-template-fullwidth-php .site-main ul.products.columns-3 li.product,
	.page-template-template-fullwidth-php .header-widget-region ul.products.columns-3 li.product,
	.page-template-template-homepage-php .site-main ul.products.columns-3 li.product,
	.page-template-template-homepage-php .header-widget-region ul.products.columns-3 li.product,
	.storefront-full-width-content .site-main ul.products.columns-3 li.product,
	.storefront-full-width-content .header-widget-region ul.products.columns-3 li.product {

	}

	.site-main ul.products.columns-3 li.product {
		width: 30%;
		margin-right: 5%;
	}

	.storefront-breadcrumb {
		margin: 0;
	}

}

@media (max-width: 1000px) {

	.header-widget-region {
		width: 100%;
		float: none;
		padding-top: 20px;
		margin-left: 0;
	}

	.header-widget-region .widget {
		padding-top: 0px;
		padding-bottom: 0px;
	}

	.site-content {
		width: 100%;
		float: none;
		padding-left: 5%;
		padding-right: 5%;	
	}

	.page-template-template-fullwidth-php .site-main ul.products.columns-3 li.product,
	.page-template-template-fullwidth-php .header-widget-region ul.products.columns-3 li.product,
	.page-template-template-homepage-php .site-main ul.products.columns-3 li.product,
	.page-template-template-homepage-php .header-widget-region ul.products.columns-3 li.product,
	.storefront-full-width-content .site-main ul.products.columns-3 li.product,
	.storefront-full-width-content .header-widget-region ul.products.columns-3 li.product,
	.site-main ul.products.columns-3 li.product {
		box-sizing: border-box;
		width: 45%;
		float: left;
		margin-right: 5%;
	}

	.home.post-type-archive-product .site-header {
		margin-bottom: 0px;
	}	

	/*
	.wc-block-grid__product:nth-child(3n) {
		margin-right: 5%;
	}

	.wc-block-grid__product:nth-child(3n+1) {
		float: left;
	}	

	.wc-block-grid__product:nth-child(2n) {

	}

	.wc-block-grid__product:nth-child(2n+1) {
		clear: left;
	}	
	*/
	.product {
		width: 100%;
	}

	.naviFloat .naviItem {
		display: none;
	}

	.naviFloat .btnMenu {
		display: block;
	}

	.naviFloatLogo {
		float: none;
		clear: both;
		display: block;
		margin: 0 auto;
		margin-top: 21px;
	}

	.header {
		padding-top: 40px;
	}

	.headerLogo {
		margin-bottom: 30px;
	}

	.navi {
		display: none;
	}

	#menuButtonTop {
		display: block;
	}

	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 21px;
	}

	h4 {
		font-size: 18px;
	}

	p, li, div, i, em, h5, h6, select, input, textarea, button {
		font-size: 18px;
	}

	ul.products li.product .price,
	.wc-block-grid__product-price {
		font-size: 18px;
	}

	.woocommerce-products-header__title {
		font-size: 21px;
	}

	.widget_product_categories ul, .widget_product_categories ul li, .widget_product_categories ul li a {
		font-size: 18px;
	}

	ul.products li.product h2, ul.products li.product h3, ul.products li.product .woocommerce-loop-product__title, .wc-block-grid__product-title {
		font-size: 18px;
	}

	.product_title {
		font-size: 1.25em;
	}

	.single-product div.product p.price {
		font-size: 1.1em;
	}

	.product p,
	.product .label,
	.product select {
		font-size: 15px;
	}


	.woovr-variation-info .woovr-variation-name {
		font-size: 13px;
	}

	.woovr-variation-price .woocommerce-Price-amount {
		font-size: 13px;
	}	
}

@media (max-width: 600px) {

	.navi {
		margin-bottom: 0;
	}
	.naviItem {
		display: block;
		float: none;
	}

	.naviFloatLogo {
		height: 20px;
		margin-top: 21px;
	}

	.btnMenu {
		left: 0px;
	}

	.btnStore {
		right: 0px;
	}

	.headerLogo {
		height: 20px;
		width: auto;
	}

	.home.blog .site-header,
	.home.page:not(.page-template-template-homepage) .site-header,
	.home.post-type-archive-product .site-header {
		//margin-bottom: 20px;
	}	

	.wc-block-grid__product {
		float: none;
		width: 100%;
		max-width: 100%;
	}

	.wc-block-grid.has-3-columns .wc-block-grid__product {
		flex: 1 0 100%;
		max-width: 100%;
	}

	ul.products li.product.product-category .woocommerce-loop-category__title {
		font-size: 20px;
	}

	h1 {
		font-size: 25px;
	}

	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 19px;
	}

	h4 {
		font-size: 16px;
	}

	p, li, div, i, em, h5, h6, select, input, textarea, button {
		font-size: 14px;
	}

	ul.products li.product .price,
	.wc-block-grid__product-price {
		font-size: 14px;
	}

	.woocommerce-products-header__title {
		font-size: 19px;
	}

	.widget_product_categories ul, .widget_product_categories ul li, .widget_product_categories ul li a {
		font-size: 16px;
	}

	ul.products li.product h2, ul.products li.product h3, ul.products li.product .woocommerce-loop-product__title, .wc-block-grid__product-title {
		font-size: 16px;
	}

	.product_title {
		font-size: 1em;
	}

	.single-product div.product p.price {
		font-size: 0.8em;
	}

	.product p,
	.product .label,
	.product select {
		font-size: 14px;
	}


	.woovr-variation-info .woovr-variation-name {
		font-size: 12px;
	}

	.woovr-variation-price .woocommerce-Price-amount {
		font-size: 12px;
	}		

}

.custom-logo-link {
	margin: 0 auto;
}

.custom-logo-link img {
	width: 300px;
	height: auto;
}

.wc-block-grid__product {
	padding-right: 24px;
}

.wp-block-cover .wp-block-cover__inner-container h1,
.wp-block-cover .wp-block-cover__inner-container h2,
.wp-block-cover .wp-block-cover__inner-container h3,
.wp-block-cover .wp-block-cover__inner-container h4,
.wp-block-cover .wp-block-cover__inner-container h5,
.wp-block-cover .wp-block-cover__inner-container h6,
.wp-block-cover .wp-block-cover__inner-container p {
	color: #fff;
}







