@charset "utf-8";

.fo_root {
	display: grid;
	grid-template-rows: 10px auto 0px;
	grid-template-columns: auto 600px auto;
	grid-template-areas: ". . ." ". main ." ". . .";
}
.fo_content {
	grid-area: main;
}

@media screen and (max-width: 768px) {
	.fo_root {
		display: block;
	}
}

.fo_root p, .fo_root input {
	margin: 0px;
}




#fo_page_btnx {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: max-content auto max-content;
	grid-template-areas: "btn_prev . btn_next";
}
#fo_page_btnx #fo_page_prev {
	grid-area: btn_prev;
}
#fo_page_btnx #fo_page_next {
	grid-area: btn_next;
}


.two_btn_block {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: max-content auto max-content;
	grid-template-areas: "btn_blk_left . btn_blk_right";
}

.two_btn_block > div:first-child,
.two_btn_block > input:first-child {
	grid-area: btn_blk_left;
}
.two_btn_block > div:last-child,
.two_btn_block > input:last-child {
	grid-area: btn_blk_right;
}



#page_nav {
	display: grid;
	grid-template-columns: 20px auto;
	margin: 20px 10px;
}

#page_nav > div {
	margin: 4px 0px;
	cursor: pointer;
}

#page_nav .label {
	padding-left: 4px;
}
#page_nav .no {
	width: 18px;
	line-height: 18px;
	font-size: 16px;
	font-family: monospace;
	border-radius: 50%;
	text-align: center;
	padding-left: 1px;
	background-color: #666;
	color: #fff;
}
#page_nav .label.cur {
	color: #0064c8;
	font-weight: bold;
}
#page_nav .no.cur {
	color: #fff;
	background-color: #0064c8;
}

#page_nav .num {
	height: 18px;
	width: 18px;

	display: flex;
	justify-content: center;
	align-items: center;

	border-radius: 50%;
	background-color: #666;
}
#page_nav .num > div {
	font-weight: bold;
	/* font-family: monospace; */
	font-size: 13px;

	color: #fff;
}
#page_nav .num.cur {
	background-color: #0064c8;
}

#page_nav .num + .labl {
	height: 18px;
	margin-left: 4px;

	display: flex;
	justify-content: flex-start;
	align-items: center;
}
#page_nav .num.cur + .labl > div {
	color: #0064c8;
	font-weight: bold;
}




pre {
	white-space: pre-wrap;
	word-wrap: break-word;
}
p > pre, h4 pre {
	all: inherit;
	white-space: pre-wrap;
	word-wrap: break-word;
}


.fo_block {
	margin-bottom: 10px;
}

.fo_blockhead {
	/* border: 1px solid #f00; */
	background-color: #cde5df;
	padding: 0.75rem 10px;
	font-weight: bold;
	border-radius: 12px 12px 0px 0px;
}
.fo_blockbody {
	/* border: 1px solid #00f; */
	padding: 10px;
	background-color: #eee;
}
.fo_blockbody.rad {
	border-radius: 6px;
}
.fo_item {
	/* border: 1px solid #0f0; */
	display: block;
	margin-top: 10px;
}
.fo_item:first-of-type {
	margin-top: 0px;
}




.loadfile {
	display: grid;
	grid-template-rows: auto;
	grid-template-columns: auto max-content;
	grid-template-areas: "filetxt filebut";
}
.loadfile .loadfiletxt {
	grid-area: filetxt;
	margin-right: 10px;
	position: relative;
}
.loadfile .loadfiletxt > div {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}
.loadfile .loadfiletxt div.clearfile {
	display: none;
}
.loadfile.loaded .loadfiletxt:hover div.clearfile {
	display: block;
	position: absolute;
	top: 8px;
	left: 8px;
	width: 20px;
	height: 20px;

	cursor: pointer;
	background-image: url("/images/silk/cross.png");
	background-repeat: no-repeat;
	background-position: center;
}
.loadfile .loadfiletxt:hover input[type="text"] {
	padding-left: 32px;
}
.loadfile .loadfilebut {
	position: relative;
	grid-area: filebut;
	overflow: hidden;
}
.loadfile .loadfilebut > input[type="file"] {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.loadfile .loadfilebut > .affeinput {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
}




.fo_block .color {
	border-left: 5px solid #f00;
	padding-left: 5px;
	margin-left: 0px;
	/* box-shadow: -10px 0 10px -10px #f00; */
}
.fo_block .color.c1 {
	border-left-color: #96aa5b;
	border-left-color: #bac794;
	/* box-shadow: -10px 0 10px -10px #96aa5b; */
}
.fo_block .color.c2 {
	border-left-color: #5b96aa;
	border-left-color: #c794ba;
	/* box-shadow: -10px 0 10px -10px #5b96aa; */
}
.fo_block .color.c3 {
	border-left-color: #aa5b96;
	border-left-color: #94bac7;
	/* box-shadow: -10px 0 10px -10px #aa5b96; */
}


.fo_item.mandat {
	padding-left: 5px;
	border-left: 2px solid #f4715b;
}

.fo_item input.mandatory {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8yNy8xMVJxs+AAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAAL0lEQVQImW2LsQ0AIAzDHMSv3NRr04UBlGa0Hdlm2gbgKOwa87JSlJWPC3/xQIAGiY0K1iHby1gAAAAASUVORK5CYII=);
	background-repeat: no-repeat;
	background-position: 3px 3px;
}

.fo_item input.miss {
	background-image: url("/images/silk/exclamation.png");
	background-repeat: no-repeat;
	background-position: calc(100% - 8px) center;
}
.fo_item input.mandatory.miss {
	background-image: url("/images/silk/exclamation.png"), url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8yNy8xMVJxs+AAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAAL0lEQVQImW2LsQ0AIAzDHMSv3NRr04UBlGa0Hdlm2gbgKOwa87JSlJWPC3/xQIAGiY0K1iHby1gAAAAASUVORK5CYII=);
	background-repeat: no-repeat, no-repeat;
	background-position: calc(100% - 8px) center, 3px 3px;
}

.fo_item input.ok {
	background-image: url("/images/silk/tick.png");
	background-repeat: no-repeat;
	background-position: calc(100% - 8px) center;
}


.fo_cbm {
	display: grid;
	grid-template-columns: min-content auto;
	white-space: nowrap;
	align-items: center;
}
.fo_cbm > div {
}

.fo_cbb {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	white-space: nowrap;
}
.fo_cbb > div {
	margin-bottom: 4px;
	margin-top: 4px;
}
.fo_cbm label,
.fo_cbb label {
	white-space: nowrap;
}
.fo_cbm input,
.fo_cbb input {
	vertical-align: middle;
	display: inline-block;
}
.fo_cbm label,
.fo_cbb label {
	display: inline-block;
	margin: 0px;
	padding: 0px;
	font-weight: normal;
}
.fo_cbb input + label {
	padding-left: 0.4rem;
}
.fo_cbm label {
	padding-right: 0.4rem;
}



.fo_cb ul {
	list-style: none;
	-moz-column-width: 16rem;
	-webkit-column-width: 16rem;
	column-width: 16rem;


}
.fo_cb li {
}
.fo_cb input {
	vertical-align: middle;
	display: inline-block;
}
.fo_cb input + label {
	padding-left: 0.4rem;
}
.fo_cb label {
	display: inline-block;
	margin: 0px;
	padding: 0px;
	font-weight: normal;
}



.fo_item .note {
	padding: 10px;
	border: 4px solid #fff;
	border-radius: 12px;
}
.fo_item .note > pre {
}


.fo_item .error {
	margin: 5px 10px 5px 5px;
	padding-left: 20px;

	background-image: url("/images/silk/exclamation.png");
	background-repeat: no-repeat;
	background-position: left center;

	font-weight: bold;
	color: #f4715b;
}
.fo_item .hint {
	margin: 5px 10px 10px 5px;
	padding-left: 20px;

	background-image: url("/images/silk/information.png");
	background-repeat: no-repeat;
	background-position: left top;

	color: #53565a;
}
.fo_item .hint.onFocus {
	opacity: 0;
	max-height: 0px;
	transition: 0.4s linear;
}
.fo_item input:focus ~ .hint.onFocus {
	max-height: 32px;
	opacity: 1;
}



.submitcover {
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(255,255,255,0.5);

	display: grid;
	grid-template-rows: auto 300px auto;
	grid-template-columns: auto 500px auto;
	grid-template-areas: ". . ." ". covermain ." ". . .";
}
.submitcover > div {
	grid-area: covermain;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 20px;
	padding: 20px;
}
.submitcover p {
	padding: 0px 0px 0px 10px;
	font-size: 1.25rem;
}



.fo_block.clone {
	display: none;
}
.fo_block span.fo_block_deleteblk {
	display: none;
	float: right;
	cursor: pointer;
}
.fo_block.last span.fo_block_deleteblk {
	display: inline-block;
}



.fo_item .notification {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: flex-start;
}
.fo_item .notification > img,
.fo_item .notification > p {
	display: block;
	margin: 2px 4px;
}



/*
.anchor {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: flex-start;
}
div.anchor > div {
	margin: 12px 16px 12px 8px;
}
*/


