/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://abelsson.fi
Author:       	Miika Abelsson
Author URI:     https://abelsson.fi
Template:     	storefront
Description:  	This is a child theme for WooThemes StoreFront Theme
Version:      	1.1.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */


/* ZodiacPress Custom */

body,
.site-header,
.site-footer {
  background: #000 !important;
  color: #fff !important;
}

body.postid-1324 {
  background: #fff !important;
  color: #000 !important;
}

body.page-id-1296 {
  background: #fff !important;
  color: #000 !important;
  font-size: 19px !important;
}

body.page-id-1296 h3,
body.page-id-1296.wc-block-grid__product-title {
  color: #000 !important;
}

body.page-id-1296 caption,
body.page-id-1296 .zp-report-header {
  background: #fff !important;
}

#copyThisArea {
  max-width: 700px;
  margin: 0 auto !important;
}

body.page-id-1296 table,
body.page-id-1296 table td,
body.page-id-1296 table th {
  border: 0 !important;
  padding: 0 !important;
}

body.page-id-1296 #masthead,
body.page-id-1296 .site-footer,
body.page-id-1296 #wpadminbar,
body.postid-1324 #masthead,
body.postid-1324 .site-footer,
body.postid-1324 #wpadminbar {
  display: none !important;
}

body.postid-1324 fieldset,
body.postid-1324 fieldset legend {
  background-color: #fff !important;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.widget a.button:hover {
  color: #fff !important;
}

#secondary,
.entry-header,
.zp-report-backlink,
.storefront-breadcrumb,
#woocommerce-product-search-field-0,
#site-navigation,
#site-header-cart,
.site-search,
.post-edit-link,
.entry-taxonomy,
.nav-links,
.product_meta,
.quantity,
.woocommerce-product-gallery__trigger {
  display: none !important;
}

.single-product .col-full,
.page-id-1110 .col-full,
.page-id-1284 .col-full {
  max-width: 800px !important;
}

.woocommerce-cart .col-full {
  max-width: 1100px !important;
}

a.remove::before {
  color: #7f54b3 !important;
}

.content-area {
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
}

.woocommerce-active .site-header .site-branding {
  width: 100% !important;
  margin-right: 0 !important;
}

.site-header .site-branding img {
  margin: 0 auto 40px auto !important;
}

.site-header {
  border-bottom-color: transparent !important;
}

.site-info {
  text-align: center !important;
}

h1, h2, h3, h4, h5, h6, .wc-block-grid__product-title {
  color: #fff !important;
}

.siirry-ostamaan {
  margin-top: 30px !important;
  margin-bottom: 40px !important;
  position: relative;
  z-index: 999;
}

.siirry-ostamaan a {
  padding: 10px 22px;
}

button,
button.alt,
.siirry-ostamaan a,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.button.alt,
.widget-area .widget a.button.alt,
.wpcf7-submit,
.submit-for-map {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #e7d6ff !important;
  text-decoration: none !important;
  border: 2px solid #7f54b3 !important;
}

button:hover,
button.alt:hover,
.siirry-ostamaan a:hover,
input[type="button"].alt:hover,
input[type="reset"].alt:hover,
input[type="submit"].alt:hover,
.button.alt:hover,
.widget-area .widget a.button.alt:hover,
.wpcf7-submit:hover,
.submit-for-map:hover {
  background-color: #000000 !important;
  border-color: #fff !important;
  color: #e7d6ff !important;
  border: 2px solid #fff !important;
  text-decoration: none !important;
}

.woocommerce-account.woocommerce-orders table tr {
  visibility: hidden;
}

.mail-for-map {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #fff !important;
  border: 2px solid #7f54b3 !important;
}

.mail-for-map:focus,
.mail-for-map:target,
.mail-for-map:active {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  outline: 0 !important;
}

.storefront-handheld-footer-bar {
  display: none !important
}

.cart,
.shop_table {
  color: #000 !important;
}

table.cart td.product-remove a.remove {
  top: 5px !important;
  right: 5px !important;
}

@media (max-width: 66.4989em) {
  .col-full {
    margin-left: auto !important;
    margin-right: auto !important;
	padding: 0 40px !important;
  }
 .single-product .col-full {
    max-width: 700px !important;
 }
}

@media (min-width: 768px) {
  .single-product div.product .woocommerce-product-gallery {
    width: 55% !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
  .single-product div.product .summary {
    width: 40% !important;
	padding: 0 10px !important;
  }
  .storefront-primary-navigation {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
	max-width: 100% !important;
  }
  .single-product div.product .summary {
    width: 100% !important;
	max-width: 100% !important;
  }
  .storefront-primary-navigation {
    display: none !important;
  }
  .single-product div.product .woocommerce-product-gallery img {
	width: 100% !important;
  }
}

fieldset,
fieldset legend {
  background-color: #000 !important;
}

a.pdf-print.top-link {
  margin-bottom: 28px;
}

a.pdf-print.bottom-link {
  margin-top: 12px;
}

a.pdf-print {
  display: inline-block !important;
  padding: 7px 11px !important;
  background: #000 !important;
  color: #7f54b3 !important;
  border: 2px solid #7f54b3 !important;
  text-decoration: none !important;
}

a.pdf-print:hover {
  display: inline-block !important;
  padding: 7px 11px !important;
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  text-decoration: none !important;
}

.zp-report-header,
.zp-report-caption,
body.single-post table tbody td {
  background: #000 !important;
}

#zp-report-wrap {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Siirretty */

.woocommerce-message .button {
  display: none !important;
}

.woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-terms-and-conditions,
.woocommerce-terms-and-conditions p,
.woocommerce-order-overview__order,
.woocommerce-order-overview__date, 
.woocommerce-order-overview__total,
.woocommerce-order-overview__email {
  color: #000 !important;
}

body.single-post #zp-report-content,
.wc-block-components-notice-banner__summary {
  display: none !important;
}

.pdfprnt-button-title,
a.pdf-latinki {
  background-color: #000000;
  border-color: #000000;
  color: #e7d6ff;
  border: 2px solid #7f54b3;
	padding: 10px 27px;
	margin-bottom: 28px;
	text-decoration: none;
}

.pdfprnt-button-title:hover,
a.pdf-latinki:hover {
  color: #e7d6ff;
  border: 2px solid #fff;
}

.pgfw-single-pdf-download-button {
  display: none !important;
}

.pgfw-single-pdf-download-button.pdf-latinki {
  display: block !important;
}

.pdfprnt-top-left,
.pdfprnt-top-left a {
  padding: 0;
}

.pdfprnt-buttons {
  display: none;
}

.page-id-1110 .pdfprnt-buttons {
  display: block;
}

/* Chart order */
.zodiac-lohko,
#copyThisArea {
    display: flex;
    flex-direction: column;
}

.zodiac-lohko > *,
#copyThisArea > * {
    order: 4;
}

.zp-report-header,
#copyThisArea .zp-report-header {
    order: 3;
}

.zp-chart-drawing,
#copyThisArea .zp-chart-drawing {
    order: 2;
}

.save-info,
#copyThisArea table {
    order: 1;
		border: 1px solid #fff;
		margin-bottom: 28px;
		padding: 34px 35px 44px 35px
}

.save-info p {
    margin-top: 18px;
		margin-bottom: 0;
	  font-size: 15px !important;
}

.save-info strong {
    color: #F5AB35;
}

body.page-id-1110 .site-branding,
p.only-for-mail {
    display: none !important;
}

.zodiac-lohko .zp-report-caption {
    text-align: left !important;
		border-top: 1px solid #fff;
	  border-left: 1px solid #fff;
		border-right: 1px solid #fff;
	  padding: 10px;
}

table {
    border: 1px solid #fff;
	  padding: 10px;
}

input {
  	max-width: 100%;
}

.save-info {
  	margin-top: 20px;
}

body.page-id-1110 #masthead {
    display: none;
}

@media print {
	
    .copy-all,
	  .save-info{
        display: none;
    }
	
		table {
        page-break-inside: avoid;
    }
	
}