/* https://www.w3schools.com/colors/colors_picker.asp */

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.foq-block {
	position: relative;
	display:block;
	border: 2px solid #F39A05;
	border-radius: 5px;
	padding: 1em 10px 2em 10px;
	margin-bottom: 20px;
}

.foq-span {
	display: block;
	margin-top: 2em;
	border: 2px solid rgba(255, 255, 255, .0);
	border-radius: 5px;
}

.foq-q-input {
	width: 200px;
	border: 1px solid #F39A05;
	background-color: #fef6e6;
}

.foq-item-selected {
	border: 1px dashed #808080;
}

.foq-block .foq-span:first-child {
	margin-top: 0em;
}

.foq-label {
	display:block;
	clear:both;
	font-weight: bold;
	color: #484848;
    margin-top: 20px;
    margin-bottom: 5px;
}

div .foq-label:first-child {
    margin-top: 5px;
}

.foq-input {
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	padding: 5px;
	background-color: #fdedce;
	font-family: Arial, Helvetica, Serif;
	font-size: 12px;
}

.foq-input[type=date] {
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	padding: 5px;
	background-color: #fdedce;
	font-family: Arial, Helvetica, Serif;
	font-size: 12px;
}

.foq-text {
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	padding: 5px;
	background-color: #fdedce;
	font-family: Arial, Helvetica, Serif;
	font-size: 12px;
}

.foq-signed {
  	border: 1px dashed #e6e6e6;  	
  	background-image: url('../img/locked.png');
	background-repeat: no-repeat;
	background-position: top right;
	background-size: 15px;
	background-color: #f0f0f0;
}

.foq-required:after {
    content:" *";
    color: red;
}


.foq-error-message {
	display:none;
	color: red;
	font-weight: bold;
	margin-bottom: 10px;	
}

.foq-info {
	display: none;
	position: relative;
	color: #484848;
	background-color: #f0f0f0;
	border: 1px solid #484848;
	border-radius: 2px;
	margin-bottom: 10px;
	padding: 10px;
}

.foq-info-button {
	position: relative;
	float: right;
	display:inline;
	margin-top: -1.5em;
	top:0px;
	right: 10px;
	color: #777;
	font: 20px arial, sans-serif;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
}

.foq-info-button:hover {
	cursor: pointer;
}

<!--
hover over Info-Button 
.foq-info-button:hover + .foq-info {
	display: block;
}
-->

.foq-info-close-button {
	position: absolute;
	color: #777;
	font: 14px arial, sans-serif;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	top:10px;
	right: 10px;
}

.foq-col1 {
	width: 100%;
}

.foq-col2 {
	width: 50%;
}

.foq-col3 {
	width: 33%;
}

.foq-hidden {
	display: none;
}

.foq-div-button:disabled {
	xdisplay: none;
}

dialog {
	border-radius: 10px;
	border: 2px solid #F39A05;
	background-color: white;
}

dialog::backdrop {
  background: rgba(128, 128, 128, 0.25);
}

.foq-setup-row-2 {
	display: flex;
}

.foq-setup-column1 {
  float: left;
  padding-right: 12px;
  margin-right: 12px;
}

.foq-setup-column2 {
  float: left;
  width: 50vw;
  min-width: 300px;
}

.foq-setup-column3 {
  float: left;
  min-width: 10px;
  padding: 40px 5px 5px 5px;
}

.foq-div-button {
	margin-top: 5px;
}

/* Clear floats after the columns */
.xrow-2:after {
  content: "";
  display: table;
  clear: both;
}

#qDataFields {
	font-family: Arial;
	font-size: 12px; 
}

condition {
	xdisplay: none;
}


dialog {
	padding: 0px;	
}

.foq-dlg-header {
	background-color: #eeeeee;
	padding: 5px 10px 5px 10px;
}	

.foq-dlg-content {
	padding: 10px;	
}

.foq-dlg-button-bar {
	padding: 10px 10px 10px 10px;
	text-align: right;
	background-color: #eeeeee;
}

.foq-button-cancel {
	padding: 5px 20px 5px 20px;
	margin-right: 25px;
}

.foq-button-ok {
	padding: 5px 20px 5px 20px;
}

.foq-drag-start {
	background-color: #f0f0f0;
	border-radius: 5px;
}

include::after {
    display: block;
    content: 'Include \A name: ' attr(name) ' \A condition: ' attr(condition) '';
    white-space: pre;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
    padding: 5px; 
    margin: 5px 0px 5px 0px;
}

condition::after {
    display: block;
    content: 'Condition \A source: ' attr(source) ' \A target: ' attr(target) ' \A condition: ' attr(condition) '';
    white-space: pre;
	border: 1px solid #e6e6e6;
	border-radius: 5px;
    padding: 5px; 
    margin: 5px 0px 5px 0px;
    background-color: #f0f0f0;
}

.foq-filter-option {
	color: red;
}

.foq-filter-option:disabled {
	color: red;
	display: none;
}

#foq-up-down-buttons div {
	padding: 5px;
}

#btn-move-up,
#btn-move-down {
	background-color: white;	
	color: #808080;	
	border: none;
}

#btn-move-up:hover,
#btn-move-down:hover {
	background-color: white;
	color: black;	
	border: none;
}

.foq-inc-border {
	border: 2px solid #F39A05;
}

.foq-select-editable {
	position:relative;
	border: 1px solid #F39A05;
	border-radius: 3px;
	width: 100%;
	height: 23px;
	padding: 2px 2px 2px 2px;
	margin: 2px 2px 2px 2px;
	background-color: #fef6e6;
}

.foq-select-editable select {
	position:absolute;
	top:0px;
	left:0px;
	border:none;
	width: 100%;
	margin:0;
	background-color: #fef6e6;
}

.foq-select-editable input {
	position:absolute;
	top:0px;
	left:0px;
	width:90%;
	background-color: #fef6e6;
	border:none;
}

.foq-select-editable select:focus, .select-editable input:focus {
	outline:none;
}