:root {
  --text_fieldTitleDefault: #808080;
  --text_fieldInputColor: #000000;
}
form.closed{
	text-align: center;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading{
margin:auto;
display:none;
	background-image:url('/images/loading_square.gif');
	background-repeat:no-repeat;
	width:300px;
	height:300px;
	background-position:center center; 
	position:relative;
}
#section-LOADING:before{
	position: absolute;
	content: 'Processing. Please Wait.';
	content: '';
	/* padding-top: 170px; */
	color: var(--main_color1);
	font-weight: bold;
	left: 0px;
	top: auto;
	bottom: 100px;
	right: 0px;
	display: block;
	margin: auto;
	text-align:center;
}
.formsubmitting .loading{
	display:block;
}
.formsubmitting form{
	visibility:hidden;
	height:1px;
	overflow:hidden;
}
input[type=text],input[type=email],input[type=password],textarea,select
,.quest.questcheckline
{
	line-height: 50px;
    font-size: 18px;
    border: 0px;
    border-radius: 5px;
    margin: 2px;
    padding: 0px 20px;
    width: 100%;
    background-color: #f7f7f7;
	font-family:var(--title-font);
	color:var(--text_fieldInputColor);
	text-align:left;
}
.quest.questcheckline{
	    padding: 10px;
    margin: 0px 15px 5px 15px;
}
.questcheckline input[type=checkbox]{
	transform: scale(1.5);
            margin: 10px;
}
select{
    appearance: auto;
        padding: 2px 20px;
    line-height: 45px;
    height: 45px;
	/*color: var(--text_fieldTitleDefault);*/
	border-right: 10px solid #f7f7f7;
}
select.selected{
	color:var(--text_fieldInputColor);
}
label{
	font-size:16px;
}
select option:first-child
{
    color: #808080;
}
textarea{
	line-height:26px;
	padding:5px 20px;
}

::-webkit-input-placeholder { /* Edge */
	color: var(--text_fieldTitleDefault);
	font-family:var(--title-font);
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: var(--text_fieldTitleDefault);
	font-family:var(--title-font);
}

::placeholder {
	color: var(--text_fieldTitleDefault);
	font-family:var(--title-font);
}
.quest{
	margin:10px 10px;
	font-size:0px;
	color:var(--text_fieldInputColor);
}
.quest.size-m{
	width:calc( 50% - 10px - 4px);
	margin:5px;
	display:inline-block;
}
	 .quest.msg{
			width: calc( 100% - 20px);
			margin: 5px 10px;
		}
		form{
			text-align:center;
		}
.quest.qmulti{
	text-align:left;
}
.form_outer{
	border:1px solid #cccccc;padding:30px;margin:30px auto 30px auto;width:calc( 100% - 60px - 2px ); max-width:680px;
}
.quest.half-mutli > label{
	width:40%;
	display:inline-block;
	vertical-align: top;
	padding-left:22px;
}
.quest .opts{
	width:calc( 60% - 10px );
	display:inline-grid;
	vertical-align: top;
	grid-template-columns:1fr;
	grid-gap:10px;
}

/* The containerCHK */
.containerCHK {
  display: block;
    line-height: 22px;
    position: relative;
    padding-top: 3px;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.containerCHK input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #f7f7f7;
  border-radius:5px;
}

/* On mouse-over, add a grey background color */
.containerCHK:hover input ~ .checkmark {
  background-color: #ccc;
}
.containerCHK:hover input ~ .checkmark:after {
	border: solid white;
	border-width: 0 3px 3px 0;
}
/* When the checkbox is checked, add a blue background */
.containerCHK input:checked ~ .checkmark {
	/*
  background-color:  var(--text_green);
  */
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containerCHK input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containerCHK .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border: solid var(--text_purple);
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

@media only screen and (max-width:768px) {
	.quest.size-m, .quest.msg{
		width: 100%;
		margin: 5px 0px; 
	}
	.quest.half-mutli  > label{
		width:100%; 
	}
	.quest .opts{
	    width: calc( 100% - 22px );
    padding-left: 22px;
    margin-top: 10px;
}

}
@media only screen and (max-width:500px) {
	.form_outer{
		width:calc( 100% - 60px );
		padding:15px;
		margin:auto;
	}
	.quest.questcheckline{
		margin-left:0px;
	}
}