* {
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	box-sizing: border-box;
}
a {
	text-decoration: none;
	color: #333;
}
a:hover {
	color: brown;
}
p {
	margin-top: 5px;
}
h3, h4 {
	margin: 20px auto;
}
header {
	width: 100%;
	height: 60px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #555;
}
.logo {
	background-image: url(/img/logo400.jpg);
	width: 40px;
	height: 40px;
	background-size: contain;
	margin-right: 10px;
}
.sitetitle {
	font-family: 'Pacifico', cursive;
	font-size: 30px;
	line-height: 30px;
	color: red;
	margin-right: 20px;
}
.navigation {
	flex-grow: 1;	
}
.navigation nav a {
	text-decoration: none;
	color: #222;
	transition: .5s;
	display: inline-block;
	padding: 3px 10px;
	border-radius: 5px;
	font-size: 16px;
}
.navigation nav a:hover {
	color: #333;
	background-color: #eee;
}
.navigation > div {
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1px;
	font-size: 12px;
}
.navigation > div:first-child {
	border-bottom: 1px solid #555;
}
#cart {
	display: flex;
	align-items: center;
	text-align: center;
}
#cart a:hover {
	color: brown;
}
#cart i {
	font-size: 20px;
	color: red;
	transition: color .5s;
	transition: font-size .1s;
}
#cart i:hover {
	color:crimson;
	font-size: 22px;
}
#cart div {
	margin: 5px;
}
#total {
	font-weight: 700;
}
#total::after{
	content: " руб.";
}
.wrapper {
	width: 1024px;
	margin: 0 auto;
}
.wrapper > div {
	margin: 20px 0;
}
.mainbody {
	display: flex;
	align-items: flex-start;
}
.sidebar {
	width: 200px;
	margin-right: 20px;
}

.catalog {
	width: 200px;
	background-color: #fff;
	box-shadow: 2px 2px 5px rgba(0,0,0,.6);
}
ul a {
	text-decoration: none;
	color: #333;
}
ul.menu {
	list-style-type: none;
	position: relative;
	font-size: 18px;
}

ul.menu  ul.nav-child {
	display: none;
	background-color: #fff;
	box-shadow: 2px 2px 5px rgba(0,0,0,.6);
	list-style-type: none;
	width: 800px;
	height: 80vh;
	padding: 10px;
	z-index: 3;
}
/* ul.menu  ul.nav-child:hover {
	display: block;
} 

ul.menu li.parent:hover > ul.nav-child {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	position: absolute;
	left: 220px;
	top: 0;
}

ul.menu ul.nav-child a {
	display: block;
	width: min-content;
	padding: 2px;
	border-bottom: 1px solid #bbb;
}
ul.menu ul.nav-child a:hover {
	background-color: #eee;
}

*/
ul.menu li.parent > a {
	display: block;
	padding: 10px;
	border-bottom: 1px solid #eee;
}
ul.menu li.parent > a:hover {
	background-color: #eee;
}
ul.menu li.allcategories {
	font-weight: bold;
}
.content {
	margin: 0 auto;
	width: 100%;
}
#slideshow {
	width: 700px;
	height: 350px;
	margin: 0 auto;
	border: 1px solid #ddd;
}

.contentModule {
	margin-top: 20px;
}
.contentModule h2 {
	text-align: center;
	color: #222;
}
.contentModule h2 span {
	color: #555;
}

.compilation {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.good-card-small {
	width: 180px;
	height: 300px;
	border: 1px solid #ddd;
	margin: 10px;
	padding: 5px;
	position: relative;
	
}
.good-card-small .discount {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: red;
	width: 50px;
	height: 50px;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	font-size: 20px;
	line-height: 50px;
	text-align: center;
}
.good-card-small:hover {
	border: 1px solid #888;
}
.good-card-small:hover .list-item-name {
	max-height: 200px;
}
.list-item-img {
	margin: 5px;
}
.list-item-img img {
	width: 100%;
}
.list-item-name {
	position: absolute;
	bottom: 80px;
	background-color: #fff;
	max-height: 36px;
	overflow: hidden;
	transition: max-height .5s;
}
.list-item-name a {
	font-size: 14px;
	line-height: 14px;
	color: #333;
}
.list-item-name:hover a {
	color: brown;
}
.list-item-info {
	position: absolute;
	top: 220px;
}
.list-item-available {
	font-size: 10px;
	margin: 3px 10px;
	padding: 3px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.list-item-price {
	font-weight: 700;
	color: brown;
}
.list-item-price span {
	color: #444;
	font-weight: 400;
	font-size: 12px;
	text-decoration: line-through;
	margin-right: 5px;
}
.mainbody-bottom {
		background-color: #eee;
}
.mainbody-bottom .wrapper {
	padding: 20px;
	display: flex;
	justify-content: space-between;
	margin-bottom: 0!important;
}
.mainbody-bottom .wrapper div {
	width: 45%;
}
.mainbody-bottom ul {
	list-style: inside;
}
footer {
	margin-top: 0;
	background-color: #333;
	color: #fff;
	padding: 20px;
	font-size: 12px;
	line-height: 18px;
}
footer .wrapper {
	display: flex;
	justify-content: space-between;
}
footer .wrapper > div {
	width: 30%;
}
footer a {
	color: #eee;
}
footer a:hover {
	text-decoration: underline;
}
footer ul {
	list-style: none;
}
footer ul li {
	margin-top: 3px;
}
.breadcrumbs {
	margin: 10px 0;
}
.breadcrumbs ul {
	list-style-type: none;
	font-size: 12px;
}
.breadcrumbs li {
	display: inline-block;
}
.breadcrumbs li:before {
	content: "> ";
}
h1 {
	line-height: 50px;
}
.categoryList ul {
	list-style: none;
	font-size: 12px;
}
.categoryList li li {
	margin-top: 5px;
}
.categoryList > ul {
	column-count: 3;
}
.categoryList > ul > li {
	clear: left;
	break-inside: avoid-column;
	margin-bottom: 10px;
}
.categoryList img {
	width: 80px;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}
.categoryList li ul {
	margin-left: 90px;
}
.categoryList a:hover {
	color: brown;
}
.productCard {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.productCard > div {
	width: 50%;
}
div.productPhoto {
	width: 402px;
	margin-right: 40px;
	overflow: hidden;
}
.productCard .productPhoto img {
	width: 90%;
}
.productCard h3 {
	width: 100%;
}
.productCard ul {
	list-style-position: inside;
}
p.productSKU {
	font-size: 14px;
}
.productPrice {
	background-color: #eee;
	text-align: center;
	font-size: 32px;
	font-weight: bold;
	padding: 10px;
	color: brown;
}
.productDescription {
	width: 100%!important;
	font-size: 14px;
}
.productDescriptionAbout {
	margin-top: 20px;
}
.productDescriptionFull {
	margin-top: 20px;
}
.addToCartArea {
	
}
.addToCartArea .qty {
	height: 46px;
	font-size: 18px;
	width: 80px;
	outline: none;
	text-align: center;
}
.addToCartArea form {
	text-align: center;
}
.addtocart-button {
	background-color: brown;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding: 15px;
	border-radius: 10px;
	outline: none;
	cursor: pointer;
	border: none;
	transition: .5s;
}
.addtocart-button:hover {
	background-color: #000;
}
.addtocart-button:active {
	background-color: rgb(255, 94, 1);
}
ul.childCategories {
	list-style-type: none;
}
table.orderContent {
	width: 100%;
	margin-top: 20px;
	border: 1px solid #888;
	border-collapse: collapse;
}
table.orderContent tr:first-child {
	background-color: #bbb;
}
table.orderContent tr:nth-child(2n) {
	background-color: #eee;
}
table.orderContent th {
	padding: 5px;
	font-size: 14px;
	white-space: nowrap;
}
table.orderContent td {
	padding: 5px;
	font-size: 14px;
	text-align: right;
}
table.orderContent tr td.pname {
	text-align: left;
}
table.orderContent input {
	width: 60px;
	text-align: center;
}
table.orderContent a:hover {
	color: red;
}
.orderAmount {
	text-align: right;
	margin-top: 20px;
	font-size: 18px;
}
.orderAmount span {
	font-weight: bold;
}
.orderAmount span::after {
	content: " руб.";
}
.confirmOrder,
.checkOrder {
	color: #fff;
	font-weight: bold;
	background-color: brown;
}
.cancelOrder,
.editOrder {
	background-color: #ddd;
	outline: none;
}
.checkOrder,
.editOrder,
.confirmOrder,
.cancelOrder {
	outline: none;
	border-radius: 5px;
	margin: 20px;
	padding: 10px;
}
.checkOrder:hover,
.editOrder:hover,
.confirmOrder:hover,
.cancelOrder:hover {
	cursor: pointer;
}
.productMiss {
	background-color: #888!important;
}
.productOK {
	background-color: #cfc!important;
}
.productOnOrder {
	background-color: #ffc!important;
}
.productOnWait {
	background-color: #fb0!important;
}
.orderOK {
	background-color: #efe;
	border: 1px solid #cfc;
	border-radius: 5px;
	padding: 20px;
	margin-top: 20px;
}
.orderWarning {
	background-color: #ffe;
	border: 1px solid orange;
	border-radius: 5px;
	padding: 20px;
	margin-top: 20px;
}
#orderConfirmation {
	display: flex;
	flex-wrap: wrap;
}
#orderConfirmation h2 {
	width: 100%;
	text-align: center;
	margin: 20px;
}
#orderConfirmation h3 {
	margin-bottom: 10px;
}
#orderConfirmation > div {
	width: 50%;
	padding: 10px;
}
#orderConfirmation > div:first-of-type {
	border-right: 1px solid #888;
}
fieldset {
	border: none;
}
.shipName {
	margin-left: 5px;
}
.shipDescription {
	color: #888;
	font-size: 12px;
	display: block;
}
.shipCost {
	margin-left: 10px;
	color: brown;
}
.shipCost::after {
	content: " руб.";
}
#orderConfirmation hr {
	margin: 10px;
}
#orderConfirmation > div:last-of-type input {
	display: block;
	height: 40px;
	margin: 10px;
	width: 100%;
	outline: none;
	border-radius: 10px;
	padding: 10px;
	border: 1px solid #888;
}
.hide {
	height: 0;
	overflow: hidden;
	transition: .5s;
}
table.orderContent td.subtotal {
	text-align: right;
	font-weight: bold;
}
.orderComment {
	background-color: #eee;
	border: 1px solid #bbb;
	border-radius: 5px;
	padding: 20px;
	margin-top: 20px;
}
div.controlPanel {
	background-color: #ddd;
	margin: 20px 0;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
form#sortControl label {
	font-size: 12px;
	margin: 10px;
}

ul.pagination li {
	display: inline;
}
ul.pagination li a {
	padding: 10px;
}
ul.pagination li a:hover,
ul.pagination li a.current {
	background-color: #eee;
}

ul.childCategories li a {
    border: 1px solid brown;
    display: block;
    padding: 5px;
    border-radius: 5px;
    margin: 5px;
}
ul.childCategories li a:hover {
	background-color: #ddd;
}
ul.childCategories li a:active {
	background-color: #eee;
}

#searchForm {
	position: relative;
}
.search_result {
    background: #FFF;
    border: 1px #ccc solid;
    width: 600px;
    border-radius: 4px;
	height: 400px;
	overflow-y: auto;
	display:none;
	z-index: 5;
	position: absolute;
	right: 0px;
	top: 40px;
	list-style: none;
	box-shadow: rgba(0,0,0,.5) 2px 2px 7px 0px;
}
.search_result li a {
	display: block;
	padding: 5px;
}
.search_result li a:hover {
	background-color: #eee;
}

.search_result li {
	display: flex;
	flex-flow: row;
	min-height: 60px;
	border-bottom: 1px solid #888;
}
.search_result > li {
	font-size: 1.5em;
	color: #666;
	min-height: fit-content;
	font-weight: bold;
	text-align: center;
	padding: 10px;
}
.searchQuery {
	background-color: beige;
	padding: 5px;
}
.searchCategory {
	text-transform: uppercase;
}
.searchImg {
	width: 60px;
}
.searchResultMain {
	list-style: none;
}
.searchResultMain li a {
	display: block;
	padding: 5px;
}
.searchResultMain li a:hover {
	background-color: #eee;
}
.searchResultMain li {
	display: flex;
	flex-flow: row;
	min-height: 60px;
	border-bottom: 1px solid #888;
}
.searchResultMain > li {
	color: #666;
	min-height: fit-content;
	padding: 10px;
}
.oldPrice {
	color: #888;
    text-decoration: line-through;
    font-size: 0.8em;
}