/**
* @package	QuickForm
* @Copyright ((c) plasma-web.ru
*/

@import url('https://fonts.googleapis.com/css2?family=Pangolin&display=swap');

.pfs * {
	margin: 0;
	box-sizing: border-box;
	max-width: none;
	font-size: 14px;
	line-height: 1em;
	font-weight: normal;
}

.qf3modal.pfs {
	border-radius: 8px;
	background-color: #078586;
	color: var(--wp--preset--color--white) !important;
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*modal form*/
.qfoverlay {
	background-color: #000000;
	opacity: 0.8;
}

.qfmodalform {
	box-sizing: border-box;
	z-index: 999993;
	max-height: calc(100vh - 1em);
}

.qfclose {
	position: absolute;
	top: 0;
	right: 1em;
	cursor: pointer;
	color: #ff0000;
	font-size: 24px;
}

.qf3label {
	font-family: "Pangolin";
	font-size: 90%;
}

.pfs_title {
	font-family: 'Pangolin';
	margin: 0 0 1em 0.5em;
	font-size: 1.2em;
}

.pfs_title a {
    font-size: 72%;
    margin: 0 0 0 0.5em;
    background: #078586;
    padding: 0.3em 0.7em;
    border-radius: 1em;
    color: #fff;
}

.pfs_title a:hover {
    background: #127575;
}

.pfs_s {
	width: 62%;
}

.pfs_s .qf3label {
	color: #fff;
	font-size: 6em;
	margin: 0 0 0.5em 0;
	text-align: center;
}

.change_page span {
	color: #fff;
	font-size: 2em;
	padding: 1em 0;
	display: block;
	text-align: center;
	font-family: 'Pangolin';
}

.change_page a {
	display: inline-block;
	color: #fff;
	padding: 0.5em 1em;
	background: #1f615b;
	border-radius: 1em;
	margin: 0 0.5em;
}

.change_page a:hover {
	background: #ffffff36;
	color: #ccc;
}

.change_page_links {
	display: flex;
	justify-content: center;
}

.pfs_f {
	background: #ffffffd9;
	width: 68%;
	padding: 2em 4em;
	border-radius: 5px;
}

.pfs_f .pfs_fields {
	display: flex;
	flex-wrap: wrap;
	background: #ffffff45;
	padding: 1em;
	border-radius: 5px;
	border: 1px solid #fff;
}

.pfs_f .pfs_fields>div {
	width: calc(20% - 1em);
	margin: 0 0.5em;
}

.pfs_f .qfclose {
	top: 1rem;
}

.pfs_b {
	width: 96%;
	padding: 0;
}


.startblok {
	width: 86%;
	margin: 0 auto;
	max-width: 800px;
	display: flex;
	justify-content: space-evenly;
}

.startblok a {
	padding: 0.5em 2em;
	border-radius: 3em;
	border: 1px solid #078586;
	color: #1a5c5d;
	margin: 0 1em;
	background: #fff;
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.1em;
	text-align: center;
	max-width: 10em;

}

.startblok a:hover {
	background: #078586;
	color: #fff;
}

.pfs select,
.pfs input[type="number"] {
	border: 1px solid #ccc !important;
	background: #fff;
	padding: 0.6em;
	border-radius: 0.3em;
	font-size: 0.9em;
	height: 2.6em;
	margin: 0.3em 0 1em;
}

.e_fields_box select,
.e_fields_box input[type="number"] {
	font-size: 0.8em;
}


/* qty */

.qty span {
	display: flex;
}

.qty a {
	display: flex;
	color: #fff;
	/* border: 1px solid #598bbc; */
	border-radius: 5px;
	background: #3a7c85;
	width: 30%;
	margin: 0 0.1em;
	align-items: center;
	justify-content: center;
	font-size: 1.5em;
	padding: 0;
}

.qty input[type="number"] {
	width: 40%;
	margin: 0;
	text-align: center;
	appearance: textfield;
}

.qty input[type=number]::-webkit-outer-spin-button,
.qty input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.qty .qf3label {
	margin-bottom: 0.3em;
	display: block;
}


/* files box */

.pfs_files {
	margin: 2em 0;
	border: 1px solid #ebebe6;
	line-height: 0;
	background: #ffffff24;
}

.pfilesinner {
	min-height: 10em;
	display: flex;
	flex-wrap: wrap;
}

.pfs_files2 {
	display: flex;
	background: #ffffff24;
	justify-content: space-between;
}

.pfilesinner2 {
	min-height: 10em;
	background: #e6e7e6;
	display: flex;
	width: 49.6%;
	align-items: center;
	justify-content: center;
	border: 1px solid #dbdbdb;
}

.pfilesinner2.fhead {
	min-height: auto;
	padding: 0.5em;
	margin: 0 0 0.3em 0;
}


a.pfilesupl {
	font-size: 1.5em;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pfilesmes {
	/* font-size: 62%; */
	margin-left: 1em;
	color: #5d5d5d;
}

.pfs .qfhide {
	height: 1px;
	width: 1px;
	overflow: hidden;
	display: inline-block;
	opacity: 0;
	position: absolute;
}

.pfilesinner>div {
	border: 1px solid #ababab;
	margin: 3px;
	display: flex;
	width: calc(50% - 6px);
	min-width: 200px;
	background: #e9e9e9;
}

.pfs_img_box {
	margin: 0.5em 0 0.5em 0.5em;
	display: flex;
	justify-content: center;
	position: relative;
	width: 50%;
	align-items: flex-start;
}

.pfs_set_box {
	padding: 0 0.5em;
	margin: 0.5em;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 9em;
	background: #fff;
	width: 50%;
}

.pfilesinner div img {
	width: 100%;
	max-width: 300px;
	border: 1px solid #4296ff;
}

.imgedit {
	width: 100%;
	margin: 1em 0;
}

.imgedit a {
	padding: 0.3em 0.6em;
	border-radius: 1em;
	border: 1px solid #8ec8c8;
	margin: 0 1em 0 0;
	font-size: 12px;
}

.imgedit a.green {
	background: #078586;
	color: #fff;
}

.imgedit a.red {
	color: #F00;
}

.set span {
	padding: 1px 0 1px 5px;
	color: #447c89;
	font-size: 0.9em;
}

.pfs_files .set {
	font-size: 0.9em;
	padding: 1px;
	width: 100%;
}

a.addpfiles {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 5em;
	align-items: center;
	justify-content: center;
	font-size: 1.5em;
}



/* footer */

.pfs_footer {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.pfs .qfpriceinner {
	padding: 0 0.3em;
	color: #1e5259;
}

.pfs .unit {
	margin-right: 2px;
}

.pfs .qfaddtocart input {
	border-radius: 2em;
	padding: 0.4em 1em;
	font-size: 86%;
}

.windimgedit {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
}

.windimgedit img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	/* width: 100%; */
}

.e_menu_box a.ok_btn {
	color: #00ef6c;
	border-radius: 1em;
	border: 1px solid #00cf5d;
	padding: 3px;
	font-family: inherit;
}

.e_menu_box a.ok_btn:hover {
	color: #00ff39;
	border-color: #00ff24;
}

.e_menu_box a.red_btn {
	color: #df6a6a;
	font-size: 140%;
	position: relative;
	top: 3px;
}

.e_menu_box a.red_btn:hover {
	color: #ff0000;
}

.e_img_box {
	width: calc(100% - 150px);
}

.e_fields_box {
	background: #ccccccc9;
	padding: 2em 1em;
	width: 150px;
}

.e_menu_box {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	background: #ccccccc9;
	margin: 1em 0;
	padding: 0.5em;
	align-items: center;
}

.e_menu_box a {
	margin: 0 5px;
	padding: 0 10px;
	color: #ffffff;
	font-family: 'Pangolin';
}

.e_menu_box .fon {
	display: flex;
	align-items: center;
}

.e_menu_box .fon select {
	height: 1.5em;
	padding: 0;
	margin: 0 0 0 0.5em;
}


a.mplus_btn,
a.mminus_btn {
	font-size: 1.2em;
	padding: 0 3px;
	margin: 0 3px;
}

a.mminus_btn {
	margin-right: 10px;
	font-size: 1.8em;
}

.e_img_box_inner {
	width: calc(100% - 1em);
	margin: 3px;
	/* height: calc(100vh - 7em); */
	position: relative;
}

.e_menu_box input[type="checkbox"] {
	display: none;
}

.e_menu_box label {
	color: #fff;
	cursor: pointer;
}

.e_menu_box input:checked+label {
	color: #a3ef91;
}

.viewimgbox {
	position: absolute;
	top: -3px;
	left: -3px;
	width: calc(100% + 6px);
	background: #a6a3a2;
	height: calc(100% + 13px);
}

.viewimgbox_close {
	position: absolute;
	right: 0;
	top: 0;
	padding: 0.5em;
	color: #ff0000;
	font-size: 24px;
	cursor: pointer;
}

.viewimgbox_inner {
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.viewimgbox_inner img {
	max-width: 86%;
	max-height: 96%;
	width: initial;
}

.e_frame {
	border: 1px dashed #8ebfff;
	display: block;
	position: absolute;
}
.e_frame2 {
	border: 1px dashed #8ebfff;
	display: block;
	position: absolute;
}

.photo_calculator {
	margin-top: 2.1em;
	color: #194349;
	white-space: nowrap;
}

.photo_calculator .photo_priceinner {
	padding: 0 0.5em;
}


select[disabled=disabled], select:disabled {
	opacity: 0.3;
}

.doclncs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.doclncs a {
	margin: 1em;
}

.doublebox {
	display: flex;
	justify-content: space-between;
	margin: 3px;
}
.doublebox > div {
	width: 33%;
	display: flex;
	text-align: center;
	border: 1px solid #ccc;
	align-items: center;
	margin: 0;
	background: #ffffff4f;
}
.doublebox2 {
	display: flex;
	/* justify-content: space-between; */
	margin: 3px;
}
.doublebox2 > div {
	width: 33%;
	display: flex;
	text-align: center;
	border: 1px solid #ccc;
	align-items: center;
	margin: 3px 0.5% 0 0;
	background: #ffffff4f;
}

.doublebox img {
	width: 100%;
}
.doublebox .pfs_set_box {
	text-align: left;
	padding: 1em;
}

.fhead2 {
	justify-content: center;
	padding: 0.3em;
	font-family: 'Pangolin';
}

.winddocedit {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	justify-content: center;
	padding: 0 0 2em;
}

.pfs_b .qfclose {
	display: none;
}

.e_fields_doc {
	background: #ccccccdb;
	padding: 1em 2em 2em;
}

.winddocedit .qty {
	max-width: 250px;
}

.dblmess {
	color: #952a2a;
	text-align: center;
	padding: 1em 0;
}

.e_img_box_inner.double img {
    max-width: 49.5%;
    max-height: 100%;
}
.e_img_box_inner.double {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #a1a1a1;
    padding: 0.5em 1em;
}

.pfs_noties {
    padding: 0.5em 0;
    text-align: center;
    border: 1px solid #fff;
    margin: 1em 0 0;
    color: #2e6d75;
    background: #e6e7e6;
    font-family: 'Pangolin';
}



@media screen and (max-width: 1500px) {
	.pfs_f {
		width: 92%;
		padding: 2em 3em;
	}

}

@media screen and (max-width: 1200px) {
	.pfs_f .pfs_fields>div {
		width: calc(25% - 1em);
	}

	.pfs_f {
		width: 94%;
		padding: 2em 2em;
	}

}

@media screen and (max-width: 1000px) {
	.pfs_f .pfs_fields>div {
		width: calc(33.3% - 1em);
	}

	.pfs_f {
		width: 96%;
		padding: 2em 1em;
	}

}

@media screen and (max-width: 782px) {
	.pfs_s .qf3label {
		font-size: 4em;
		margin: 1em 0;
	}

	.startblok {
		display: block;
		width: 82%;
	}

	.startblok a {
		margin: 1.5em 0;
		max-width: inherit;
		padding: 0.7em;
	}

	.pfs_s {
		width: 86%;
	}

	.pfs_f {
		width: 98%;
		padding: 2em 0.5em;
	}

	.pfilesinner>div {
		margin: 3px;
		width: 100%;
	}

}

@media screen and (max-width: 600px) {
	.pfs_f .pfs_fields>div {
		width: calc(50% - 1em);
	}

	.e_img_box {
		width: 100%;
	}

	.e_fields_box {
		width: 100%;
		margin: 0.5em 0 0 0;
	}

	.e_fields_box>div {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.e_fields_box>div>div {
		width: calc(50% - 0.5em);
	}

	.e_img_box_inner {
		width: 100%;
	}


}