div.wallis-left div.wallis-gallery {
	/*margin-top: 30px;*/
	width: 100%;
	height: 400px;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
}

div.wallis-mainimg {
	display: flex;
	position: relative;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
}

div.wallis-imgwrap {
	display: block;
	float: left;
	position: relative;
	vertical-align: middle;
	text-align: center;
	width: 100%;
	height: 100%;
	max-width: 600px;
	max-height: 800px;
	box-sizing: border-box;
}

div.wallis-arrows .arrow {
	cursor: pointer;
	display: none;
}

div.wallis-imgwrap .left,
div.wallis-imgwrap .right {
	position: absolute;
	top: 50%;
	margin-top: -17px;
	height: 34px;
	width: 34px;
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: center center;
	background-repeat: no-repeat;
}

.wallis-imgwrap .left {
	left: 0px;
	background-image: url(../images/arrow-left.png);
}

.wallis-imgwrap .right {
	right: 0px;
	background-image: url(../images/arrow-right.png);
}

.wallis-imgwrap input {
	display: none;
}

.wallis-imgwrap div.slide {
	transition: all 0.5s;
	opacity: 0;
}

.wallis-mainimg .img_fix {
	display: inline-block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	text-align: center;
}

.wallis-mainimg img {
	position: relative;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

div.wallis-subimg {
	display: flex;
	width: 14%;
	margin: 0 30px 0 0;
	height: 100%;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
}

div.wallis-subimg-wrap {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	float: left;
	width: 100%;
	height: 100%;
	flex-direction: column;
	-ms-flex-pack: start;
	justify-content: space-between;
	overflow-x: hidden;
	overflow-y: scroll;
}

div.wallis-subimg-wrap label {
	cursor: pointer;
}

div.wallis-imgwrap label[hasimg=""],
div.wallis-imgwrap label[hasimg="://"] {
	display: none !important;
}

div.wallis-subimg label[hasimg=""],
div.wallis-subimg label[hasimg="://"] {
	display: none;
}

div.wallis-subimg div[hasimg=""],
div.wallis-subimg div[hasimg="://"] {
	display: none;
}

div.wallis-subimg-wrap label.img_fix {
	display: inline-block;
	position: relative;
	box-sizing: border-box;
	text-align: center;
	max-width: 74px;
	max-height: 111px;
	flex: 0 0 auto;
}

div.wallis-subimg-wrap label.img_fix:first-of-type {
	margin-left: 0px;
}

div.wallis-subimg-wrap label.img_fix:last-of-type {
	margin-right: 0px;
}

div.wallis-subimg-wrap label.img_fix[hasimg=""],
div.wallis-subimg-wrap label.img_fix[hasimg="://"] {
	display: none;
}

div.wallis-subimg-wrap label.img_fix.second-row {
	justify-content: center;
}

div.wallis-subimg-wrap .img_fix:nth-child(6) {
	margin-left: 0px;
}

div.wallis-subimg-wrap .img_fix:nth-child(5n + 5) {
	margin-right: 0px;
}

div.wallis-subimg-wrap img {
	width: auto;
	height: auto;
	max-width: 74px;
	max-height: 111px;
	position: relative;
}

div.wallis-imgwrap>#cs0_slide_1:checked+div.num1,
div.wallis-imgwrap>#cs0_slide_2:checked+div.num2,
div.wallis-imgwrap>#cs0_slide_3:checked+div.num3,
div.wallis-imgwrap>#cs0_slide_4:checked+div.num4,
div.wallis-imgwrap>#cs0_slide_5:checked+div.num5,
div.wallis-imgwrap>#cs0_slide_6:checked+div.num6,
div.wallis-imgwrap>#cs0_slide_7:checked+div.num7,
div.wallis-imgwrap>#cs0_slide_8:checked+div.num8,
div.wallis-imgwrap>#cs0_slide_9:checked+div.num9,
div.wallis-imgwrap>#cs0_slide_10:checked+div.num10 {
	opacity: 1;
}

.wallis-imgwrap>#cs0_slide_1:checked~.wallis-arrows .show_img_02.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_2:checked~.wallis-arrows .show_img_01.left,
.wallis-imgwrap>#cs0_slide_2:checked~.wallis-arrows .show_img_03.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_3:checked~.wallis-arrows .show_img_02.left,
.wallis-imgwrap>#cs0_slide_3:checked~.wallis-arrows .show_img_04.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_4:checked~.wallis-arrows .show_img_03.left,
.wallis-imgwrap>#cs0_slide_4:checked~.wallis-arrows .show_img_05.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_5:checked~.wallis-arrows .show_img_04.left,
.wallis-imgwrap>#cs0_slide_5:checked~.wallis-arrows .show_img_06.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_6:checked~.wallis-arrows .show_img_05.left,
.wallis-imgwrap>#cs0_slide_6:checked~.wallis-arrows .show_img_07.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_7:checked~.wallis-arrows .show_img_06.left,
.wallis-imgwrap>#cs0_slide_7:checked~.wallis-arrows .show_img_08.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_8:checked~.wallis-arrows .show_img_07.left,
.wallis-imgwrap>#cs0_slide_8:checked~.wallis-arrows .show_img_09.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_9:checked~.wallis-arrows .show_img_08.left,
.wallis-imgwrap>#cs0_slide_9:checked~.wallis-arrows .show_img_10.right {
	display: block;
}

.wallis-imgwrap>#cs0_slide_10:checked~.wallis-arrows .show_img_09.left {
	display: block;
}

/*div.pagecontainer {
display: block;
float: left;
width: 100%;
min-height: 2000px;
}*/
@media screen and (min-width: 1360px) {
	div.pagecontainer {
		min-height: 2600px;
	}
}

@media screen and (max-width: 1260px) {
	.wallis-max-width {
		padding: 0px 20px;
	}

	.wallis-footer {
		padding: 30px 20px;
	}
}

@media screen and (max-width: 1080px) {
	div.wallis-left div.wallis-gallery {
		height: 670px;
	}

	.wallis-menu-wrap ul li a {
		padding: 20px 20px;
	}
}

@media screen and (max-width: 1040px) {
	div.wallis-left div.wallis-gallery {
		height: 640px;
	}
}

@media screen and (max-width: 980px) {
	div.wallis-left div.wallis-gallery {
		height: 600px;
	}
}

@media screen and (max-width: 940px) {
	div.wallis-left div.wallis-gallery {
		height: 570px;
	}

	div.wallis-subimg-wrap img {
		max-height: 100px;
	}

	.wallis-right {
		padding: 0px 30px;
	}

	div.wallis-productprice span {
		font-size: 18px;
	}

	.wallis-menu {
		display: none;
	}

	.wallis-mobile-menu {
		display: block;
	}
}

@media screen and (max-width: 890px) {

	.wallis-points ul li,
	.wallis-points ul li a {
		font-size: 18px;
		line-height: 22px;
	}

	div.wallis-left div.wallis-gallery {
		height: 535px;
	}
}

@media screen and (max-width: 860px) {
	.wallis-points ul {
		display: block;
	}

	.wallis-points ul li {
		width: 60%;
		float: none;
		clear: both;
		margin: 0px auto;
		text-align: center;
		padding-top: 7px;
		padding-bottom: 7px;
		/*border-top: 1px solid #B9D9FF;*/
	}

	.wallis-points ul li:first-of-type,
	.wallis-points ul li:last-of-type {
		padding-right: 0px;
		padding-left: 0px;
	}

	.wallis-points ul li:first-of-type {
		border-right: 0px;
		border-bottom: 1px solid #fffef2;
	}

	.wallis-points ul li a {
		width: 100%;
	}

	.wallis-points ul li:first-of-type {
		padding-top: 0px;
		border-top: none;
	}

	div.wallis-left {
		width: 100%;
		padding-left: 20px;
	}

	div.wallis-right {
		width: 100%;
		margin-top: 20px;
	}

	div.wallis-productinfo h1 {
		margin-top: 20px;
	}

	div.wallis-tabs {
		display: none;
	}

	div.wallis-mobile-tabs {
		display: block;
	}
}

@media screen and (max-width: 820px) {

	div.wallis-right,
	div.wallis-left {
		width: 100%;
	}

	.wallis-imgwrap {
		max-width: 760px;
	}

	div.wallis-right {
		padding-bottom: 30px;
	}

	.wallis-pop h1,
	.wallis-pop h1 b {
		font-size: 30px;
	}
}

@media screen and (max-width: 620px) {
	.wallis-header .wallis-logo a {
		max-width: 420px;
	}
}

.new-container .big-image {
	width: calc(100% - 120px);
	background: #fff;
	text-align: center;
	position: relative;
	border-radius: 8px;
}

.big-image label {
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: all .2s
}

.big-image label input {
	position: absolute;
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
	z-index: 9999
}

.big-image .zoom-image:checked+.zoom-it {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	padding: 2vw;
	background: rgba(0, 0, 0, .6);
	max-width: none;
	max-height: none;
	z-index: 9999
}

.big-image .zoom-image:checked~.zoom-it:after {
	content: 'x';
	font-family: monospace;
	font-size: 27px;
	font-weight: 400;
	width: 5vw;
	height: 5vw;
	max-width: 40px;
	max-height: 40px;
	min-width: 30px;
	min-height: 30px;
	background: #fff;
	color: #000;
	position: fixed;
	top: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: center
}

.big-image .zoom-image:checked~.zoom-it img {
	max-height: 100vh
}

.big-image img {
	max-width: 100%;
	max-height: 580px;
}

.big-image img:hover {
	transform: scale(1.05);
	transition: all 0.3s ease-in-out;
	/* Добавено за плавен преход */
}

.new-container .gallery {
	padding-right: 15px;
	margin-right: 15px;
	flex-wrap: wrap;
	justify-content: space-evenly;
	flex-direction: row;
	align-items: flex-start;
	max-width: 120px;
	max-height: 520px;
	overflow-y: auto;
	overflow-x: hidden
}

.new-container .gallery::-webkit-scrollbar {
	width: 4px;
	height: 4px
}

.new-container .gallery::-webkit-scrollbar-thumb {
	background: #000;
	border-radius: 4px
}

.new-container .gallery::-webkit-scrollbar-thumb:hover {
	background: #b3afb3
}

.new-container .gallery::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 0;
	box-shadow: inset 0 0 0 0 #f0f0f0
}

.big-image label {
	display: none
}

.gallery label {
	cursor: pointer;
	margin-bottom: 15px;
	transition: all .2s
}

.gallery .gallery-image {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: #fff
}

#img10:checked~.new-container .gallery label[for=img10] .gallery-image,
#img1:checked~.new-container .gallery label[for=img1] .gallery-image,
#img2:checked~.new-container .gallery label[for=img2] .gallery-image,
#img3:checked~.new-container .gallery label[for=img3] .gallery-image,
#img4:checked~.new-container .gallery label[for=img4] .gallery-image,
#img5:checked~.new-container .gallery label[for=img5] .gallery-image,
#img6:checked~.new-container .gallery label[for=img6] .gallery-image,
#img7:checked~.new-container .gallery label[for=img7] .gallery-image,
#img8:checked~.new-container .gallery label[for=img8] .gallery-image,
#img9:checked~.new-container .gallery label[for=img9] .gallery-image {
	border: 1px solid #ccc
}

#img10:checked~.new-container .big-image label.img10,
#img1:checked~.new-container .big-image label.img1,
#img2:checked~.new-container .big-image label.img2,
#img3:checked~.new-container .big-image label.img3,
#img4:checked~.new-container .big-image label.img4,
#img5:checked~.new-container .big-image label.img5,
#img6:checked~.new-container .big-image label.img6,
#img7:checked~.new-container .big-image label.img7,
#img8:checked~.new-container .big-image label.img8,
#img9:checked~.new-container .big-image label.img9 {
	display: block
}

@media screen and (max-width:1200px) {
	.new-container .inner {
		padding: 0 3vw
	}
}

@media screen and (max-width:830px) {
	.new-container .flex {
		flex-wrap: wrap
	}

	.new-container .flex>* {
		margin-bottom: 25px
	}

	.new-container .gallery {
		width: 100%;
		max-width: 100%;
		max-height: 100%;
	}

	.new-container .big-image {
		width: 80%
	}
}

@media screen and (max-width:500px) {
	.gallery label {
		max-width: 50%
	}

	.new-container .gallery {
		width: 100%;
		max-width: 100%;
		max-height: 100%;
	}

	.new-container .big-image {
		width: 70%
	}

	.gallery .gallery-image img {
		max-width: 100%;
		padding: 10px;
	}
}
