html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

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

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

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

/*====================================================================================================================*/

html,
body {
	background: #FFFFFF;
	font-family: Tahoma;
	font-size: 1em;
	color: #454545;
}

/* Main Content */
.main-content {
	width: 90%;
	margin: 0 auto;
	padding: 2em 0;
}

.main-content p {
	font-size: 1.5em;
	line-height: 1.8em;
}

@media only screen and ( min-width: 1170px ) {
	.main-content {
		padding: 3em 0;
	}
}


.cd-hero__slide {
  background-color: #2C343B;
}

.slide1 {
	background: #1B1B1B url( ../images/slider/slide1.jpg )
}

.slide2 {
	background: #2F1B12 url( ../images/slider/slide2.jpg )
}

.slide3 {
	background: #4B2E26 url( ../images/slider/slide3.jpg )
}

.cd-header__phone > a:hover,
.cd-header__nav a:hover {
	color: #FFDEAE;
}
.cd-header * {
	text-shadow:
		-0   -1px 0   rgba( 0, 0, 0, 0.08 ),
		 0   -1px 0   rgba( 0, 0, 0, 0.08 ),
		-0    1px 0   rgba( 0, 0, 0, 0.08 ),
		 0    1px 0   rgba( 0, 0, 0, 0.08 ),
		-1px -0   0   rgba( 0, 0, 0, 0.08 ),
		 1px -0   0   rgba( 0, 0, 0, 0.08 ),
		-1px  0   0   rgba( 0, 0, 0, 0.08 ),
		 1px  0   0   rgba( 0, 0, 0, 0.08 ),
		-1px -1px 0   rgba( 0, 0, 0, 0.08 ),
		 1px -1px 0   rgba( 0, 0, 0, 0.08 ),
		-1px  1px 0   rgba( 0, 0, 0, 0.08 ),
		 1px  1px 0   rgba( 0, 0, 0, 0.08 ),
		-1px -1px 0   rgba( 0, 0, 0, 0.08 ),
		 1px -1px 0   rgba( 0, 0, 0, 0.08 ),
		-1px  1px 0   rgba( 0, 0, 0, 0.08 ),
		 1px  1px 0   rgba( 0, 0, 0, 0.08 );
}

/*====================================================================================================================*/
.layers {
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
			flex-direction: column;
	flex-wrap: nowrap;
}

.layers > .layer {
	position: relative;
	font-size: 1.5em;
	line-height: 1.8em;
	padding: 2em 10%;

	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
			flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}

.layers > .layer:nth-child( even ) {
	background-color: #E6E6E6;
}

.layers > .layer > img,
.layers > .layer > .img {
	max-width: 600px;
	flex-grow: 0;
	flex-shrink: 0;
	margin: 0 1em 1em 0;
	order: 0;
}

.layers > .layer > div {
	flex-grow: 1;
	flex-shrink: 1;
}

.layers > .layer:nth-child( even ) > img,
.layers > .layer:nth-child( even ) > .img {
	margin: 0 0 1em 1em;
	order: 1;
}

.layers > .layer > div {
	flex-grow: 0;
	padding: 0 1em;
}

.layer h2 {
	font-weight: bold;
	font-size: 1.5em;
	margin-bottom: 0.5em;
}

.layer p {
	margin: 1em 0;
}

.outer {
	width: 100%;
	position: relative;
	font-size: 1.5em;
	line-height: 1.8em;
	padding: 2em 0;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
	align-content: center;
}

.outer > img {
	max-width: 600px;
	flex-grow: 0;
	flex-shrink: 0;
	margin: 0 1em 1em 0;
	order: 0;
}

.outer ul {
	list-style-type: disc;
	list-style-position: outside !important;
}

.outer ul li {
	padding: 0.1em 0;
}

.outer,
.layer {
	overflow: hidden;
}

.outer ul {
	list-style-type: disc;
	list-style-position: outside !important;
}

.outer ul li {
	padding: 0.1em 0;
}

@media (max-width: 1000px) {
	.layer h2 {
		font-size: 1.2em;
	}

	.outer {
		flex-direction: column;
	}

	.outer > img {
		order: -1 !important;
	}

	.outer ul li,
	.layer ul li {
		list-style-type: none;
		padding: 0.5em 0;
	}

	.layers > .layer {
		padding: 1em 0.5em;
	}

	.layers > .layer {
		flex-direction: column;
	}

	.layers > .layer > img,
	.layers > .layer > .img {
		order: 0 !important;
	}

	.layer h2 {
		font-size: 1.2em;
	}

	.outer {
		flex-direction: column;
	}

	.outer > img {
		order: -1 !important;
	}

	.outer ul li,
	.layer ul li {
		list-style-type: none;
		padding: 0.5em 0;
	}
}

.cd-header__phone .vk {
	margin-left: 1em;
	vertical-align: middle;
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/images/vk.svg) 50% 50% no-repeat;
	background-size: 24px;
}

.cd-header__phone .wa {
	margin-left: 1em;
	vertical-align: middle;
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/images/wa.svg) 50% 50% no-repeat;
	background-size: 24px;
}

.cd-header__phone .vk:hover {
	opacity: 0.8;
}

@media (max-width: 345px) {
	.cd-header__phone {
		font-size: 0.8em;
	}
}

body > * {
	min-width: 310px;
}

.cd-hero__marker,
.cd-hero__nav li {
	width: 120px !important;
}


.modalDlg {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba( 0, 0, 0, 0.8 );
	z-index: 5000;
}

.modalDlg .dlg {
	font-size: 2em;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	background: #FFFFFF;
	padding: 1em;
	text-align: center;
}

.modalDlg .dlg .closeMark {
	color: #D44457;
	font-weight: bold;
	position: absolute;
	right: 0;
	top: -0.2em;
	vertical-align: top;
	cursor: pointer;
}

.modalDlg .dlg * {
	font-size: inherit;
	text-align: center;
	box-sizing: border-box;
}

.modalDlg .dlg input,
.modalDlg .dlg textarea {
	font-family: inherit;
	font-weight: inherit;
	display: block;
	margin-bottom: 1em;
	border: solid 1px #767676;
	color: #454545;
	width: 100%;
}

.modalDlg .dlg .pers {
	margin: 1em 0;
	text-align: left;
}
.modalDlg .dlg .pers input {
	display: inline-block;
	padding: 0;
	width: 1em;
	height: 1em;
	margin: 0 0.5em 0 0;
}
.modalDlg .dlg .pers input,
.modalDlg .dlg .pers label {
	cursor: pointer;
}
.modalDlg .dlg .pers label:hover {
	color: #808080;
}
.modalDlg .dlg .pers * {
	vertical-align: middle;
}

.modalDlg .dlg .pers label {
	font-size: 0.7em;
}


/*
.modalDlg .dlg input[type=file] {
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
}
*/


.filesLabel {
	display: block;
	cursor: pointer;
	padding: 0.2em;
	border: solid 1px #767676;
	background-color: #E3E3E3;
}
.filesLabel:active {
	transform: translate( 1px, 1px );
}

.files {
	opacity: 0;
	position: absolute;
	z-index: -1;
}

.filesNames {
	margin: 0.5em 0 0 0.5em;
	text-align: left !important;
	font-weight: normal;
	color: #5F5F5F;
	width: 18em;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.6em !important;
}

.sending {
	pointer-events: none;
}

.sending:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: transparent url("data:image/gif;base64,R0lGODlhDAAMAPABAAICAgAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgABACwAAAAADAAMAAACFUR+hrmh+1iLrlVoKdB5duyBojQ6BQAh+QQJCgABACwAAAAADAAMAAACFYwNh6ncGtyREdYHKb1TW5+F4vSFBQAh+QQJCgABACwAAAAADAAMAAACF4wDZ6nYwE6Urzk1V92Ur5xdHeZpZFAAACH5BAkKAAEALAAAAAAMAAwAAAIWjGGJeRzL4JHP1WgpvSq7rWke9pVGAQAh+QQJCgABACwAAAAADAAMAAACF0xgiWmr3KB7DMwDcc33arqFYtNxElMAACH5BAUKAAEALAAAAAAMAAwAAAIWDIJ4qWz+2JJuJmswjhdqX4FUKH1MAQA7" );
}

.modalDlg .dlg input.err {
	border-color: #D44457;
}

.modalDlg .dlg input::placeholder,
.modalDlg .dlg textarea::placeholder {
	color: #767676;
}

.modalDlg .dlg div.err {
	font-size: 0.5em;
	font-weight: normal;
	color: #D44457;
	margin: 1em 0;
}

.modalDlg .dlg .cd-hero__btn {
	min-width: auto;
	width: auto;
	display: block;
	cursor: pointer;
}

.modalDlg .dlg.ok,
.modalDlg .dlg.er {
	max-width: 15em;
}

.modalDlg .dlg.ok .cd-hero__btn,
.modalDlg .dlg.er .cd-hero__btn {
	display: inline-block;
}

.mslider img.slick-slide {
	object-fit: cover;
}

sup {
	vertical-align: super;
	font-size: 0.6em;
}

ul b {
	font-weight: bolder;
}

.layer ul li {
	list-style-type: "‒ ";
	list-style-position: outside !important;
	margin-left: 1em;
}

.mslider {
	width: 600px;
	height: 550px;
	padding: 0 !important;
}

.mslider .slick-slide {
	width: 600px;
	height: 550px;
}

.mslider .slick-slide img {
	height: 550px;
}

h3 {
	color: #454545;
	font-weight: bold;
	font-size: 2em;
	margin-bottom: 0.5em;
}

h2 {
	font-weight: bold;
	font-size: 2.5em;
	margin: 2em 0 0.5em 0;
	text-align: center;
	display: block;
}

.layer h2 {
	color: #454545;
	font-weight: bold;
	font-size: 1.5em;
	margin: 0 0 0.5em 0;
	text-align: left;
}

.layer h3 {
	color: #454545;
	font-weight: bold;
	font-size: 1.2em;
	margin: 0 0 0.5em 0;
	text-align: left;
}

.layer .cd-hero__btn.tb {
	margin: 1em 0;
}


.layer .cd-hero__btn.price__btn {
	background-color: #5392D5;
}

@media (max-width: 1450px) {
	html {
		font-size: 0.7em;
	}

	.outer {
		line-height: 1.1em;
	}

	.outer > img,
	.outer > .img,
	.layers > .layer > img,
	.layers > .layer > .img {
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.layers > .layer .costs {
		font-size: 0.8em;
	}

	body > .content {
		box-sizing: border-box;
		padding: 0 1em;
	}

	body > .content > ul {
		width: auto !important;
		-moz-columns: auto !important;
		columns: auto !important;
	}

	.cd-hero__marker, .cd-hero__nav li {
		width: 106px !important;
	}

	.layer > div > .items,
	.paintings,
	.edges {
		justify-content: center !important;
	}
}

@media (max-width: 500px) {
	h1,
	h2,
	h3 {
		text-align: center;
	}

	.paintings > .item,
	.edges > .item {
		width: 70vw !important;
		height: auto !important;
		pointer-events: none;
	}
	.paintings > .item > img,
	.edges > .item > img {
		width: 70vw !important;
		height: auto !important;
	}

	.layer > div > .items > .item {
		pointer-events: none;
	}

	.layer .cd-hero__btn {
		text-align: center;
		display: block;
	}

	.layer .cd-hero__btn.price__btn {
		margin-left: 0;
	}
}
