:root {
--mramorit-color: #3598db;
--lbledit-color: blue;
--lblinfo-color: #666;
--pthaddbkg-color: #f0fdeb;
--pthaddsymb-color: #3ad000;
--header-selected-h: 45px;
}
/* A font by Christian Robertson */
/* Downloaded from http://www.fontsquirrel.com */
@font-face {
	font-family: 'Roboto';
	src: url('../webfonts/Roboto-Light-webfont.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: 'Roboto';
	src: url('../webfonts/Roboto-Regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Roboto';
	src: url('../webfonts/Roboto-Italic-webfont.woff') format('woff');
	font-weight: normal;
	font-style: italic;
}

.trns {
	color: orange;
}
body {
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #FFF;
	color: #000;
	overflow-x: hidden;
}
body.editonplace, body.picon, body.pthselect, body.message {
	overflow: hidden;
}
img {
	border: none;
}
a, a:link, a:visited, a:active, a:hover {
	text-decoration: none;
	color: inherit;
}
header {
	position: sticky;
	top: 0;
	background-color: #fafafa;
	padding: 10px 0;
	text-align: center;
	z-index: 1;
	border-bottom: 1px solid #ddd;
}
header div {
	display: flex;
	margin-left: auto;
	margin-right: auto;
	justify-content: flex-start;
	align-items: center;
}
header img.hdrlogo {
	width: 80px;
}
header img ~ img ~ img, #hdr_BasinSurfaceRAL {
	margin: 0 0 0 12px;
}
header img[src=""], #hdr_BasinSurfaceRAL[data-colornr=""] {
	display: none;
}
#hdr_BasinType, #hdr_BasinSurface, #hdr_BasinSurfaceRAL, #hdr_BasinPlacing {
	max-height: var(--header-selected-h);
	cursor: pointer;
}
#hdr_BasinSurface, #hdr_BasinSurfaceRAL {
	border: 1px solid gray;
	box-sizing: border-box;
}
#hdr_BasinSurfaceRAL {
	width: var(--header-selected-h);
	height: var(--header-selected-h);
	padding: .3em 1px;
	font-size: .8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}
#hdr_BasinSurfaceRAL::before {
	content: "RAL";
	flex-basis: 100%;
}
#hdr_BasinSurfaceRAL::after {
	content: attr(data-colornr);
	flex-basis: 100%;
}

header h1 {
	margin: 0 auto;
	font-size: 17pt;
	font-weight: lighter;
	color: gray;
	letter-spacing: .1em;
}
header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 9pt;
	text-align: left;
}
#mainblock {
	display: inline-block;
	font-size: 10pt;
	text-align: left;
	padding: 0 23px;
	background: transparent;
	overflow: hidden;
}
#mainblock, header div {
	width: 1018px;
}
#contentblock {
	width: 100%;
	margin: 0;
	padding: 0;
	background: white;
}
h1, h2, h3 {
	font-weight: normal;
}
h2 {
	margin: 0 0 .7em 0;
}
fieldset legend, h2 {
	font-size: 135%;
}
h3 {
	margin: 0 0 .7em 0;
	text-align: center;
	font-size: 120%;
}

#BasinParams1 h2 {
	margin-top: 1em;
	text-align: center;
	color: var(--mramorit-color);
}
p.note, label[for="sel_wb_dimWidthBackLck"] {
	font-size: 90%;
}
p.note {
	margin: 1em 0;
}
fieldset + p.note {
	margin-top: 0;
}
.inblk, #drains0 div, #drains1 div {
	margin: 0 0 1em 0;
	line-height: 1.33em;
}
/* javascript show picture */
#jspicouter {
	display: none;
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: fixed;
	z-index: 250;
	background-color: rgba(80,80,80,0.8);
}
.picon #jspicouter {
	display: table;
	cursor: pointer;
}
#jspicmiddle {
	display: table-cell; 
	vertical-align: middle;
	position: static;
	text-align: center;
}
#jspicinner {
	text-align: center;
	width: auto;
	margin-left: auto;
	margin-right: auto;
}
#jspiccontainer {
	display: none;
	text-align: left;
	width: auto;
	background-color: #FFF;
	padding: 16px;
	border: 1px solid #000;
	color: #000;
	background: #FFF url("img/picloading.gif") 50% 50% no-repeat scroll;
}
#jspiccontainer {	/* For modern browsers */
	box-shadow: #000 0 0 5px;
	border-radius: 8px;
}
.picon #jspiccontainer {
	display: inline-block;
}
#jspiccontainer p {
	font-size: 11pt;
	padding: .3em 0 0;
	margin: 0;
}
.jspic span img {
	display: none;
}
.jspic span:hover {
	color: #640;
	border-bottom: 1px dotted #640;
}
/* javascript show picture END */
/* ================ Variant form ================ */
@font-face {
	font-family: "Font Awesome 5 Free";
	src: url("../webfonts/fa-regular-400.woff") format("woff");
	font-style: normal;
	font-weight: 400;
}
.topbuttons {
	text-align: center;
}
.topbuttons div {
	display: inline-block;
	box-sizing: border-box;
	border: 1px solid black;
	font-size: 15px;
	color: black;
	margin-left: 0;
}
.topbuttons div + div {
	margin-left: 1em;
}
#contentblock .topbuttons a, #contentblock .topbuttons a:link, #contentblock .topbuttons a:visited, #contentblock .topbuttons a:active {
	display: inline-block;
	border-bottom: none;
	color: inherit;
	padding: .5em;
}
#contentblock .topbuttons a:hover {
	background-color: #eee;
}
.ph1 #BasinSurfaceSelect, .ph1 #WBasinPlacingSelect, .ph1 #BasinParams, .ph1 #DrawingOptions, .ph1 #DrawingPage, .ph1 #BasinParams2, .ph2 #WBasinPlacingSelect, .ph2 #BasinParams, .ph2 #DrawingOptions, .ph2 #DrawingPage, .ph2 #BasinParams2, .ph3 #BasinParams, .ph3 #DrawingOptions, .ph3 #DrawingPage, .ph3 #BasinParams2 {
	display: none !important;
}
.dwnl_pdf a::before {
	font-family: "Font Awesome 5 Free";
	content: "\f1c1";
	margin-right: .5em;
}
legend.stepnr {
	font-size: 180%;
	margin-bottom: 0;
	color: black;
}
.stepnr > div {
	display: flex;
	align-items: center;
}
.stepnr div div:first-child {
	font-size: 125%;
	width: 2em;
	height: 2em;
	line-height: 2em;
	margin-right: .5em;
	border-radius: 50%;
	background: var(--mramorit-color);
	text-align: center;
	color: white;
}
fieldset em {
	display: block;
	width: 100%;
	margin-bottom: 1em;
	font-style: italic;
	font-weight: normal;
}
fieldset {
	margin: 1em 0 2em 0;
	padding: 1em .5em 0 .5em;
	border: 1px solid #ccc;
	overflow: hidden;
	box-sizing: border-box;
}
fieldset legend[data-unit]::after {
	content: " ["attr(data-unit)"]";
}
fieldset#WBasinPlaceOn {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
	padding-bottom: 1em;
}
#WBasinPlaceOn div {
	flex-basis: auto;
	flex-grow: 1;
	flex-shrink: 1;
}
input[type="text"], #EditOnPlace input {
	border: 1px solid #ccc;
	background-color: #f8f8f8;
	margin-top: 0.5em;
	padding: .4em;
	font-size: 10pt;
}
#WBasinDimsSelect input[type="text"], #WBasinCornerSelect input[type="text"], #EditOnPlace input {
	color: var(--lbledit-color);
}
input[type="text"]:focus, figure[data-id="RAL"] p:focus, #EditOnPlace input:focus {
	background-color: #e0e0e0;
}
input[readonly] {
	color: #999 !important;
}
label[for=idchkn] {
	display: inline-block;
	margin-right: .3em;
	font-size: 90%;
}
label[for=idchkn]::after {
	content: attr(data-v)":";
}
.expicn {
	position: absolute;
	right: 36px;
	margin-top: -54px;
	color: #aaa;
	font-size: 14px;
	text-align: center;
	line-height: 26px;
	width: 26px;
	height: 26px;
	background-color: white;
	border: 1px solid #ccc;
}
.expicn:hover, legend[onclick]:hover {
	cursor: ns-resize;
}
.opened .expicn::before {
	content: "\02227";
}
.expicn::before {
	content: "\02228";
}
.collexp {
	transition: margin-top 1s;
}
.hidden, #switchdrawingtypebut.nobutt, .hidden + #DrawingOptions {
	display: none !important;
}
#HoverPreview {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	position: absolute;
	background-color: white;
	border: 1px solid black;
	z-index: 250;
	font-size: 9pt;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
#HoverPreview figcaption {
	margin: .3em 0;
}
#BasinNumberSelect p {
	margin-right: 2em;
	display: inline-block;
}
#WBasinDimsSelect, #WBasinWallsSelect {
	display: flex;
	align-items: flex-start;
	justify-content: start;
	flex-wrap: wrap;
}
#wb_dimWidthBack, #wbbasinsoffset_params, #wbplacing2_params label, #wbplacing3_params label {
	flex-basis: 100%;
}
#wbbasinsoffset_params {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
#wbbasinsoffset_params label {
	margin-right: 1em;
}
#WBasinDimsSelect > label {
	flex-basis: calc(33.3% - 1em);
	margin-right: 1em;
}
#wbplacing2_params, #wbplacing3_params, #wbplacing4_params {
	display: none;
	flex-basis: 100%;
}
#wbplacing4_params label {
	flex-basis: calc(33.3% - 1em);
	margin-right: 1em;
}
.wbloc2 #wbplacing2_params, .wbloc3 #wbplacing3_params, .wbloc4 #wbplacing4_params {
	display: flex;
	align-items: flex-start;
	justify-content: start;
}
#WBasinDimsSelect p {
	display: inline-block;
	width: 31.5%;
	margin-right: 1%;
	vertical-align: top;
}
#WBasinDimsSelect p.wbdsel50 {
	width: 48.5%;
}
#WBasinDimsSelect p.wbdsel33 {
	width: 33%;
	margin-right: inherit;
}
span[data-min], span[data-max] {
	display: inline-block;
	font-size: 10px;
	font-weight: 300;
	color: #777;
	text-align: left;
	margin-left: .4em;
	vertical-align: middle;
	line-height: 100%;
}
span[data-min]::before {
	content: "≥ "attr(data-min)"";
	display: block;
}
span[data-max]::after {
	content: "≤ "attr(data-max)"";
	display: block;
}
#WBasinCornerSelect p {
	width: 46%;
	display: inline-block;
}
input[readonly]#sel_wbwallB_dim, input[readonly]#sel_wbwallB_dim + span {
	color: #ccc;
}
label[for="sel_wbwallB_dim1"], label[for="sel_wbwallB_dim2"] {
	margin-right: 1em;
}
#WBasinWallSelectB, #WBasinWallSelectF {
	display: flex;
	flex-wrap: wrap;	flex-basis: calc(50% - 2em);
	margin: 0 2em 1em 0;
}
#WBasinWallSelectBstyle_params {
	margin-left: 2em;
}
#WBasinWallSelectB_params, #wbwallFth, #WBasinWallSelectF_params, #WBasinWallSelectBstyle_params, #overflowDia {
	display: none;
}
.selected #WBasinWallSelectB_params, .selected #WBasinWallSelectF_params {
	display: initial;
	flex-basis: 100%;
}
#WBasinWallSelectB.selected .enabled, .selected #wbwallFth, .selected #overflowDia {
	display: initial;
}
#wbwallFth, #overflowDia {
	margin-left: .5em;
}
#wbwallFth::before, #overflowDia::before {
	content: "(";
}
#wbwallFth::after {
	content: " "attr(data-thickness)")";
}
#overflowDia::after {
	content: "\2205  "attr(data-diameter)")";
}
dt #overflowDia::after {
	content: "\2205  "attr(data-diameter)" mm)";
}
input[type="radio"] {
	margin: .25em .35em .8em 0;
}
input[type="checkbox"] {
	margin: .25em .35em .8em .35em;
}
fieldset div.collexp {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	align-items: end;
}
#WBasinPlacingSelect div.collexp {
	justify-content: space-around;
}
#BasinTypeSelect div.collexp {
	align-items: flex-start;
}
fieldset figure {
	width: 14%;
	margin: .5em 0 1.5em 0;
	padding: 0;
	text-align: center;
	box-sizing: border-box;
	background: white;
	border: 2px solid transparent;
}
fieldset figure figcaption {
	font-size: 12pt;
}
fieldset#BasinTypeSelect figure {
	margin-left: .142%;
	margin-right: .142%;
	
}
fieldset figure figcaption[data-nameafter]::after {
	content: " (" attr(data-nameafter) ")";
	display: block;
	font-size: 85%;
	font-style: italic;
}
figure .tags {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	margin: -1em 0 2px 2px;
	font-size: 7.5pt;
}
figure .tags span {
	padding: .1em .5em;
	border-radius: 1em;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: white;
}
figure .tags span+span {
	margin-top: 3px;
}
.tag-fav {
	background-color: #f04014;
}
.tag-ksink {
	background-color: #0070ff;
}
.tag-babywb {
	background-color: #1eb3aa;
}
.tag-kindergarten {
	background-color: #d65ae8;
}
.tags span.tag-basic {
	background-color: white;
	color: black;
	border: 1px solid gray;
}
.tag-rec {
	background-color: #07b563;
	box-shadow: 0 0 2px 2px white;
}

#BasinSurfaceSelect figure {
	width: 13%;
	margin: .5em .642%;
	padding: 0 1%;
	border: none;
	outline: 2px solid transparent;
}
#WBasinPlacingSelect figure {
	width: 23%;
}
#WBasinPlacingSelect figcaption {
	margin-bottom: .75em;
}
#BasinTypeSelect figure:hover, #WBasinPlacingSelect figure:hover {
	border-color: var(--mramorit-color);
}
#BasinSurfaceSelect figure:hover {
	outline-color: var(--mramorit-color);
}
#BasinSurfaceSelect figure[data-id="RAL"]:hover {
	cursor: pointer;
}
#BasinTypeSelect figure.selected, #WBasinPlacingSelect figure.selected {
	border-color: var(--mramorit-color);
	box-shadow: 0 0 5px var(--mramorit-color);
}
#BasinTypeSelect figure.selected {
	cursor: zoom-in;
}
#BasinSurfaceSelect figure.selected {
	outline-color: var(--mramorit-color);
	box-shadow: 0 0 5px 2px var(--mramorit-color);
	cursor: zoom-in;
}
fieldset figure img {
	max-width: 100%;
}
fieldset figure img.border {
	box-shadow: 0px 0px 2px 2px #eee;
}
#BasinSurfaceSelect h3 {
	width: 100%;
	margin: 1em;
	text-align: left;
	padding-bottom: .25em;
	border-bottom: 1px solid #ddd;
}
#BasinSurfaceSelect h3[data-nameafter]::after {
	content: " (" attr(data-nameafter) ")";
	display: inline;
}
.grplist {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: start;
	flex-wrap: wrap;
	margin-bottom: 2em;
}
figure[data-id="RAL"] div {
	position: relative;
	width: 100%;
	margin: 0 0 1rem 0;
	padding-bottom: 100%;
	box-sizing: border-box;
	text-align: left;
}
figure[data-id="RAL"] input {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-align: center;
	font-size: 24pt;
	border: 1px solid #ccc;
	background: #f8f8f8;
}
.hideable_params {
	visibility: hidden;
	height: 0;
}
.hideable_params.available {
	visibility: visible;
	height: auto;
}
#WBasinHolesSelect {
	display: flex;
	align-items: flex-start;
	flex-wrap: nowrap;
}
#WBasinTapHoleSelect, #WBasinLSoapHoleSelect {
	flex-shrink: 1;
	flex-grow: 1;
	flex-basis: 24%;
	box-sizing: border-box;
	padding-right: 3%;
}
#WBasinLSoapHoleSelect {
	flex-grow: 3;
	flex-basis: 30%;
}
.ButtList {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 1em;
}
.ButtList::before {
	content: attr(data-label);
	flex-basis: 40%;
	flex-shrink: 3;
}
.ButtList button {
	min-height: 2em;
	margin: 0 .5em;
	padding: 0 .7em;
	border: 1px solid gray;
	border-radius: 1em;
	color: gray;
	background-color: transparent;
}
.ButtList.Circular button {
	width: 2em;
	padding: 0;
}
.ButtList button.selected, .ButtList button.selected[disabled] {
	color: black;
	outline: 2px solid black;
}
.ButtList button:hover {
	background-color: lightgray;
}
.ButtList button.selected:hover, .ButtList button[disabled] {
	background-color: inherit;
}
.ButtList button[disabled] {
	color: lightgray;
	border-color: lightgray;
}
#variantform .ButtList h4 {
	margin: 0;
	text-align: left;
	border: none;
}
.RadioButtList input {
	display: none;
}
.RadioButtList {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 1em;
}
.RadioButtList::before {
	content: attr(data-label)":";
	flex-basis: 40%;
	flex-shrink: 3;
}
.RadioButtList.taphole::before {
	content: attr(data-label)attr(data-label2)":";
}
.RadioButtList label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2em;
	margin: 0 .5em;
	padding: 0 .7em;
	border: 1px solid gray;
	border-radius: 1em;
	color: gray;
	background-color: transparent;
}
.RadioButtList.Circular label {
	width: 2em;
	padding: 0;
}
.RadioButtList input:checked + label, .RadioButtList input[disabled]:checked + label {
	color: black;
	outline: 2px solid black;
}
.RadioButtList label:hover {
	background-color: lightgray;
}
.RadioButtList input:checked + label:hover, .RadioButtList input[disabled] + label {
	background-color: inherit;
}
.RadioButtList input[disabled] + label {
	color: lightgray;
	border-color: lightgray;
}
#variantform .RadioButtList h4 {
	margin: 0;
	text-align: left;
	border: none;
}
#LSoapHole2Pump {
	align-items: start;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 1.5em;
}
#LSoapHole2Pump.selected {
	display: flex;
}
#sel_lsoaphole25pump {
	margin-left: 0;
}
#DrwPTHAdders {
	flex-basis: 30%;
	flex-shrink: 0;
	flex-grow: 2;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	margin-bottom: 1em;
}
#DrwPTHAdders label span {
	display: flex;
	font-size: 80%;
	margin-top: .5em;
}
#DrwPTHAdders input.off + label span {
	display: none;
}
#DrwPTHAdders label[for="sel_drw_pthadder"] span::before {
	content: "+";
	display: block;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	color: var(--pthaddsymb-color);
	background-color: var(--pthaddbkg-color);
	font-size: 290%;
	text-align: center;
	line-height: 1em;
	margin-right: .3em;
}

#WBasinCornerSelect {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
}
#WBasinCornerSelect h3 {
	border-bottom: 1px dotted black;
}
#WBasinCornerSelectL, #WBasinCornerSelectR {
	display: flex;
	flex-basis: 49%;
	flex-wrap: wrap;
}
#WBasinCornerSelectL h3, #WBasinCornerSelectR h3, .right #WBasinCornerSelectL, .left #WBasinCornerSelectR {
	flex-basis: 100%;
}
#WBasinCornerSelectL > label, #WBasinCornerSelectR > label {
	flex-basis: calc(50% - 2em);
	white-space: nowrap;
	padding-right: 2em;
}
.right #WBasinCornerSelectL > label, .left #WBasinCornerSelectR > label {
	flex-basis: calc(25% - 2em);
}
#WBasinCornerSelect.niche, #WBasinCornerSelect.left #WBasinCornerSelectL, #WBasinCornerSelect.right #WBasinCornerSelectR {
	display: none;
}
#wbcorner2L_params, #wbcorner3L_params, #wbcorner4L_params, #wbcorner2R_params, #wbcorner3R_params, #wbcorner4R_params {
	display: none;
	flex-basis: 100%;
}
.ctype2 #wbcorner2L_params, .ctype2 #wbcorner2R_params, .ctype3 #wbcorner3L_params, .ctype3 #wbcorner3R_params, .ctype4 #wbcorner4L_params, .ctype4 #wbcorner4R_params {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}
.corner_params label {
	flex-basis: calc(50% - 2em);
	margin-right: 2em;
	white-space: nowrap;
}
#wbcorner4L_params.corner_params label:first-child, #wbcorner4R_params.corner_params label:first-child {
	flex-basis: 100%;
	margin-right: 0;
}
#BasinParams1 {
	position: relative;
}
#BasinParams2 {
	display: flex;
	margin-top: 2em;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
}
#WBasinFitItems, #WBasinPurchaser, #WBasinItemsNumber, #BasinParams2 > div {
	width: 100%;
}
#WBasinOverflow, #WBasinDrainOutletSelect, #WBasinDelivery, #WBasinTransport {
	width: 49%;
}
#WBasinOverflow div {
	display: inline-block;
}
.notavail, #drains0, #drains0 + #drains1, #drains0.selected.overflow, #WBasinLSoapHoleSelect_params, #LSoapHole2Pump, .forcedDelivery #wb_delivery2, .forcedDelivery #wb_transport1, .forcedDelivery #wb_transport3 {
	display: none;
}
#WBasinOverflow.notavail + #WBasinDrainOutletSelect {
	width: 100%;
}
#drains0.selected, #drains0.selected.overflow + #drains1, #WBasinLSoapHoleSelect_params.selected, .forcedDelivery #forcedDeliveryNote, #WBasinDelivery label, #WBasinTransport label {
	display: block;
}
#forcedDeliveryNote {
	display: none;
	font-size: 85%;
	color: red;
}
#forcedDeliveryNote span::before {
	content: attr(data-width);
}
input:required + span::after {
	content: "*";
	margin-left: .3em;
}
#sel_bnum, #sel_wbitnum {
	width: 4em;
	text-align: center;
}
#sel_bnum {
	margin-right: 1em;
}
#WBasinPurchaser {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}
#WBasinPurchaser input[type="text"] {
	flex-basis: 75%;
	margin-left: 1em;
}
#WBasinPurchaser > label, #WBasinPurchaser div {
	flex-basis: calc(50% - 2em);
	display: flex;
	align-items: center;
	position: relative;
	margin-right: 1em;
	justify-content: space-between;
}
#WBasinPurchaser > label:first-of-type {
	margin-bottom: 1em;
}
#WBasinPurchaser div {
	flex-wrap: wrap;
	margin-top: 2.5em;
}
#WBasinPurchaser div > label {
	flex-basis: 100%;
	display: flex;
	align-items: center;
	position: relative;
	justify-content: space-between;
}
#WBasinPurchaser label input:required + span {
	position: absolute;
	right: -.7em;
}
#WBasinPurchaser h3 {
	flex-basis: 100%;
}
span.cca::before {
	content: "\2248";
	font-size: 150%;
	line-height: 6px;
}
#variantform input.inerr, #variantform textarea.inerr {
	outline: 2px solid red;
	background-color: #fff2f2;
}
#variantform fieldset.inerr {
	border: 2px solid red;
}
#DrawingPage {
	width: 100%;
	height: auto;
}
#previewopts {
	margin: 1em 0;
}
fieldset#WBasinOtherReq textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px dotted #ccc;
	margin-bottom: 1em;
	resize: vertical;
}
.switchdrawingbut {
	display: inline-block;
	vertical-align: middle;
	margin-left: 1em;
}
#EditOnPlace, #PTHSelect, #Message {
	display: none;
	position: fixed;
	font-size: 10pt;
	height: 100%;
	width: 100%;
	overflow: hidden;
	z-index: 250;
	background-color: rgba(0,0,255,0.1);
	cursor: pointer;
}
#Message {
	background: white;
	cursor: default;
}
.editonplace #EditOnPlace {
	display: block;
}
#EditOnPlace div {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 100;
	background-color: white;
	border: 1px solid black;
	text-align: center;
	max-width: 25%;
	box-sizing: border-box;
	padding: .75em 1em;
	box-shadow: 3px 3px 6px rgba(0,0,0,.5);
	cursor: default;
}
#EditOnPlace label {
	display: block;
	margin-bottom: .25em;
}
#wbbasinsoffset_params[data-basins="1"] label span:first-child, #EditOnPlace label[data-basins="1"] span:first-child {
	display: none;
}
#wbbasinsoffset_params[data-basins="1"] #BasinsOffsetSelect {
	visibility: hidden;
}
.pthselect #PTHSelect, .message #Message, .waiting #Message {
	display: flex;
	justify-content: center;
	align-items: center;
}
.message #Message {
	flex-direction: column;
}
.waiting #Message {
	background: center center no-repeat url("img/picloading.gif") white;
}
.waiting #Message * {
	display: none;
}
#PTHSelect div {
	z-index: 100;
	background-color: white;
	border: 1px solid black;
	text-align: center;
	max-width: 25%;
	box-sizing: border-box;
	padding: .75em;
	box-shadow: 3px 3px 6px rgba(0,0,0,.5);
	cursor: default;
}
#PTHSelect h3, #Message h3 {
	margin: 0;
	border: none;
}
#PTHSelect ul {
	list-style: inside none none;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: center;
}
#PTHSelect li {
	padding: .5em 0;
	color: black;
}
#PTHSelect li[data-idx="-1"] {
	display: inline-block;
	margin-top: .5em;
	padding: .3em .6em;
	border: 1px solid gray;
	border-radius: 4px;
}
#PTHSelect li.sel {
	background-color: var(--mramorit-color);
	color: white;
}
#PTHSelect li:hover {
	background-color: #e0e0e0;
	color: black;
}
#DrawingOptions {
	margin: 1em 0;
}
#DrawingOptions div {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	align-items: start;
}
#DrawingOptions label span {
	display: none;
	font-size: 80%;
	margin-left: .5em;
	color: var(--lbledit-color);
}
#DrawingOptions label input:checked + span {
	display: inline;
}
/* ================ SVG drawing ================ */
svg {
/*
	font-family: "Roboto", "Helvetica CE", Helvetica, Arial, sans-serif;
*/
	font-size: 9pt;
}
g .hranice {
	fill: none;
	stroke: none;
/*	stroke: #ccc; */
}
#drw_labeling, svg marker#arrS, svg marker#arrE {
	fill: none;
	stroke: var(--lbledit-color);
	font-weight: 300;
}
#drw_labeling text, #drw_labeling circle {
	fill: var(--lbledit-color);
	stroke: none;
}
#drw_labeling text, #drw_labeling_not_edit text {
	text-anchor: middle;
}
#drw_labeling_not_edit, svg marker#arrSne, svg marker#arrEne {
	fill: none;
	stroke: var(--lblinfo-color);
}
#drw_labeling_not_edit text, #drw_labeling_not_edit circle {
	fill: var(--lblinfo-color);
	stroke: none;
}
#drw_labeling_not_edit text.drw_basin_name {
	font-size: 36pt;
	text-shadow: white 0 0 10px;
	fill: #bbb;
}
#drw_labeling_not_edit text.drw_basin_name tspan {
	font-size: 60%;
}
g .invisLine {
	stroke-dasharray: 10,5;
}
#drw_main_mask rect, #drw_labeling_std_mask rect {
	fill: black;
	stroke: black;
	stroke-width: 2px;
}

#basin-drawing {
	fill: none;
	stroke: black;
}
.for_tr {
	background-color: yellow;
}
.PTHItself {
	fill: transparent;
}
.PTHAdder .PTHBbox {
	stroke-width: 0;
	fill: transparent;
}
.PTHAdder use {
	stroke: transparent;
}
.PTHAdder:hover, .PTHItself:hover {
	cursor:pointer;
}
.PTHAdder:hover .PTHBbox, .PTHItself:hover, .PTHAdderOn .PTHAdder rect, .PTHItself.grabbed {
	fill: var(--pthaddbkg-color);
	mix-blend-mode: multiply;
}
.PTHItself.grabbed {
	cursor: grabbing;
}
.PTHAdder:hover use, .PTHAdderOn .PTHAdder use {
	stroke: var(--pthaddsymb-color);
	stroke-width: 6px;
}
/* ===== Preview page ====== */
#PreviewPage1 h1, #PreviewPage1 h2 {
	font-weight: normal;
	font-size: 150%;
}
#PreviewPage1 h1 {
	text-align: center;
	margin: 1em 0 .7em 0;
}
#PreviewPage1 h1 span {
	text-transform: uppercase;
}
#PreviewPage1 h2 {
	color: gray;
	margin: 0 0 .5em 0;
}
#PreviewPage1 dl {
	display: flex;
	flex-flow: row wrap;
	margin: 0 0 2em;
}
#PreviewPage1 dl div {
	flex-grow: 1;
	background-color: aliceblue;
	padding: .4em 1%;
	margin: 0 .5% 1em .5%;
	min-width: 22%;
	border-radius: 4px;
	display: flex;
	flex-flow: column nowrap;
}
#PreviewPage1 dl div.wr {
	flex-flow: row wrap;
}
#PreviewPage1 dl div.wr div {
	mix-blend-mode: multiply;
	min-width: 15%;
}
#PreviewPage1 h3, #PreviewPage1 dl div.wide {
	flex-basis: 100%;
}
#PreviewPage1 dl div.surface_color {
	background-size: contain;
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: top right;
	position: relative;
}
#PreviewPage1 dl div.surface_color img {
	position: absolute;
	top: 100%;
	left: calc(50% - 400px);
	border: none;
	border-radius: 6px;
	padding: 0;
	box-shadow: 4px 4px 12px #000000A0;
	z-index: 1;
	display: none;
}
#PreviewPage1 dl div.surface_color:hover img {
	display: block;
}
#PreviewPage1 dt, #PreviewPage1 h3 {
	font-size: 100%;
	text-align: left;
	color: gray;
	margin: 0 0 .5em 0;
}	
#PreviewPage1 dd {
	flex-grow: 1;
	margin: 0;
	color: var(--mramorit-color);
	font-size: 140%;
}
#PreviewPage1 div.oreq {
	width: 97%;
}
#logo_drawing, #params_drawing {
	display: none;
}