/*
 * Base styles of the theme, taken unchanged from the former parent theme's style.css: normalize,
 * typography, elements, forms, links, accessibility, alignments, clearings and media, plus the
 * comment, footer, WooCommerce and DWQA rules the current views still rely on.
 * Loaded before fonts/stylesheet.css and css/newStyle.css.
 */

/*--------------------------------------------------------------
# Quirks mode defaults
The pages used to render in quirks mode, because the old parent theme printed markup before the
doctype. These are the browser's extra quirks mode defaults, without specificity so that every
other rule still overrides them, as it did the browser defaults.
--------------------------------------------------------------*/
:where(form) {
	margin-block-end: 1em;
}

/* Chrome drops that margin at the bottom of a table cell (Firefox and Safari keep it); the pages follow Chrome. */
:where(td, th) > :where(form):last-child {
	margin-block-end: 0;
}

/* On small screens WooCommerce turns the cells of its responsive tables into blocks. */
@media only screen and (max-width: 768px) {
	:where(.shop_table_responsive) :where(td, th) > :where(form):last-child {
		margin-block-end: 1em;
	}
}

:where(table) {
	font-weight: initial;
	font-style: initial;
	font-variant: initial;
	font-size: initial;
	line-height: initial;
	white-space: initial;
	text-align: initial;
}

:where(input:not([type="image" i]), textarea) {
	box-sizing: border-box;
}

:where(img[align="left" i]) {
	margin-right: 3px;
}

:where(img[align="right" i]) {
	margin-left: 3px;
}

:where(li) {
	list-style-position: inside;
}

:where(li) :where(dir, menu, ol, ul),
:where(dir, menu, ol, ul) :where(dir, menu, ol, ul, li) {
	list-style-position: outside;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
	transition: all 0.2s linear;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: 700;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;

	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.25rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 1.25rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	color: #fff;
	background: #404040;
	font-size: 12px;
	line-height: 1;
	padding: 0.618em 1em;
	border: 1px solid #404040;
	border-radius: 3px;
	transition-property: background-color, color;
	transition-duration: 0.5s;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	color: #fff;
	background-color: #737373; /*#DFDFDF;*/
	border: 1px solid #e3000b;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #404040;
	color: #404040;
	background-color: #dfdfdf;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
	width: 100%;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #000;
}

a:visited {
	color: #000;
}

a:hover {
	color: #00f;
	text-decoration: underline;
}

a:focus,
a:active {
	color: #00f;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 1.167rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 37.5em) {
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"] {
		border-radius: 0;
	}
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear::before,
.clear::after,
.entry-content::before,
.entry-content::after,
.comment-content::before,
.comment-content::after,
.site-content::before,
.site-content::after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear::after,
.entry-content::after,
.comment-content::after,
.site-content::after {
	clear: both;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-metadata a,
.comment-reply-link,
.comment-author a,
.comment-respond a {
	color: #000;
	text-decoration: none;
}

p.comment-form-url {
	display: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
	margin-top: 0.938em;
	margin-bottom: 0.938em;
}

/*--------------------------------------------------------------
# Posts and pages
--------------------------------------------------------------*/
.entry-title {
	margin-top: 0;
	margin-bottom: 0;
}

.hentry {
	margin: 0 0 0.625em;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-content {
	padding-left: 1.563em;
	padding-right: 1.563em;
}

/*--------------------------------------------------------------
# WooCommerce
--------------------------------------------------------------*/
.woocommerce-info {
	border-top-color: #d4ceca;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	background-color: #d4ceca;
}

.woocommerce .woocommerce-breadcrumb {
	font-size: 12px;
	color: #000;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #000;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 29.4117647059%;
	background-color: #e5e1df;
	padding: 0.938em;
	border: 1px solid #999;
}

.woocommerce ul.products li.product a {
	text-decoration: none;
	color: #000;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background-color: rgb(51, 204, 51);
	border: 1px solid #404040;
}

.woocommerce ul.products li.product .button {
	width: 100%;
	text-align: center;
	background-color: #404040;
	color: #fff;
}

.woocommerce-checkout .site-main,
.woocommerce-cart .site-main {
	background-color: #d4ceca;
}

input.input-text.qty.text,
input.input-text.qty.text:hover,
input.input-text.qty.text:focus,
input.input-text.qty.text:active {
	border: 1px solid #737373;
}

.woocommerce div.product form.cart .button {
	float: right;
}

.woocommerce .quantity .qty {
	width: 6em;
	text-align: center;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #000;
}

.single-product span.posted_in,
.single-product span.tagged_as {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-bottom: 1px solid #737373;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 1px solid #737373;
}

@media screen and (max-width: 37.5em) {
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product,
	.woocommerce-page[class*="columns-"] ul.products li.product,
	.woocommerce[class*="columns-"] ul.products li.product {
		width: 100%;
	}
}

/*--------------------------------------------------------------
# DW Question & Answer
--------------------------------------------------------------*/
.dwqa-question-item {
	margin-bottom: 5px;
}

.dwqa-question-item .dwqa-status,
.dwqa-staff {
	background: #1f91a6;
}

.dwqa-answer-form form {
	text-align: left;
}

.dwqa-answer-form .dwqa-select {
	float: none;
}

.dwqa-comment-form {
	background: #e5e1df;
}

.dwqa-question-item {
	background-color: #e5e1df;
	border: 1px solid #999;
	padding: 15px;
}

.dwqa-question-vote {
	top: 90px;
	left: 29px;
}

.single-dwqa-question .dwqa-question-item {
	padding: 35px 15px 40px 90px;
}

.dwqa-answer-item {
	padding: 35px 15px 40px 90px;
	background-color: #e5e1df;
	border: 1px solid #999;
	margin-top: 15px;
	margin-bottom: 15px;
}

.dwqa-answer-vote,
.dwqa-pick-best-answer {
	left: 29px;
}

@media screen and (max-width: 37.5em) {
	.dwqa-questions-list .dwqa-question-item {
		padding: 10px;
	}

	.single-dwqa-question .dwqa-question-item {
		padding: 15px;
	}

	.dwqa-answer-item {
		padding: 15px !important;
	}

	.dwqa-pick-best-answer {
		top: 5px;
		left: 160px;
	}
}
