
/* * {
				box-sizing: border-box;
} */

/* body {
				margin: 0;
				background-color: #00000;
				padding-top: 5px;
				padding-bottom: 20px;
} */

/* body, textarea, input, select, .send {
				font-family: Arial, sans-serif;
				font-size: 14px;
} */

textarea, input, select, .send, .cform {
	font-family: Arial, sans-serif;
	font-size: 20px;
	color: white;
}
.cform {
				width: 600px;
				max-width: 100%;
				padding: 1.2rem;			
				margin-left:20px;
				padding-top: 10px;
				padding-bottom: 10px;		
}


/* style common rows/grid */
.cform .row {
				display: flex;
				justify-content: space-between;
				align-items: flex-start;
				margin-bottom: 1.3rem;
				width: 100%;
}
.cform .row .col-sm-4 {
				flex-grow:1;
				flex-basis: 0;
				margin: 0 .75rem;
				position: relative;
}
.cform .row .col-sm-4:first-child {
	margin-left: 0;
}
.cform .row .col-sm-4:last-child {
	margin-right: 0;
}
.cform .row .col-sm-8 {
				width: 100%;
				position: relative;
}


/* style common labels */
.cform .row .control-label {
	color: white;
	margin-left:2.2px;		

}


/* style common fields */
.cform .row input,
.cform .row textarea {
				-webkit-appearance: none;
				-moz-appearance: none;
				appearance: none;
}
.cform .row .field {
				display: block;	
				font-size: 14px;
				width: 100%;
				padding: .69rem .8rem .45rem .8rem;
				color: #09343E;
				background-color: white;
				margin-top:3px;
				border: 1px solid #CCCCCC;
				border-radius: 1px;
				transition: border-color ease-in-out .15s;			
}
.cform .row .field:hover,
.cform .row .field:focus,
.cform .row input[type="checkbox"]:hover,
.cform .row input[type="checkbox"]:focus {
				border-color: #2DA5DA !important;
				outline: 0 !important;
				box-shadow: none;
}


/* style textarea */
.cform .row textarea {
				height: 1.7rem;			
}
/* style selectbox */
.cform .row .select-label{
				 	color: #404040;
					margin-left:2.2px;				
}
/* style rows with complex contents  */
.cform .checkbox-row,
.cform .upload-row {
				display: block;
				font-size: 14px;
				width: 100%;
				color: #555555;
				border: 0.0rem solid #dddddd;
				border-radius: 1px;
				transition: border-color ease-in-out .15s;
				
}
.cform .question-row .control-label,
.cform .upload-row .control-label,
.cform .checkbox-row .control-label{
				height: 100%;
				margin-top: 0; 
}
.cform .question-row > div,
.cform .checkbox-row > div{
				padding-bottom: .15rem;
}
.cform .question-row div div{
				width: 100%;
				padding: .75rem 0 .75rem 2px;
}

/* style checkbox-row  */
.cform .checkbox-row{
				margin-bottom: -10px;
}

.cform .checkbox-row .checkbox-inline{
				display: block;
				padding: 0rem 0 0rem 0px;
				
}

.cform .checkbox-row .checkbox-inline a:hover,
.cform .checkbox-row .checkbox-inline a:focus {
				color: grey;
				text-decoration: underline;
}

.cform .checkbox-row .checkbox-inline a,
.cform .checkbox-row .checkbox-inline span {
				color: white;
				text-decoration: none;
				line-height: 24px;
				padding-left: 10px;
				
}
.cform .checkbox-row .checkbox-inline span{
				color: inherit;
}
.cform .row input[type="checkbox"] {
				height: 22px;
				width: 22px;
				background-color: white;
				border: 1px solid #CCCCCC;
				border-radius: 1px;
				transition: border-color ease-in-out .15s;	
				display: block;
				float: left;
				-webkit-appearance: none;
				-moz-appearance: none;
				appearance: none;
				cursor: pointer;
				margin-left: 0.5px;
}
.cform .row input:checked {
				background: url(../icons/check.svg) no-repeat center center;
				background-size: 75%;
				background-color: white;
}

/* style the submit-button  */
.cform .row .send {
				width: 100%;
				font-size: 16px;
				font-weight: bold;
				height: 2.5rem;
				margin-top: calc(1rem/16*5);
				padding: .5rem .75rem;
				color: white;
				background-color: #337ab7;
				border: 1px solid transparent;
				border-color: #2e6da4;
				border-radius: 4px;
}

.cform .row .send:hover {
				background-color: #286090;
				border-color: #204d74;
				cursor: pointer;
}

/* style select-box for placeholders */
.cform .row select {
	/* background-color: #fff; */
	background: url(../icons/down.svg) no-repeat;
	background-position: right 3px center;
	background-size: 15px 10px;
	cursor: pointer;
}

.cform .row ::placeholder{
				color: grey;
				opacity: 0.7;
				}
			
.cform .row select.unselected{
				color: #A6A6A6;
				border: 1px solid #CCCCCC;
				border-radius: 1px;
				transition: border-color ease-in-out .15s;				  
				background: url(../icons/down.svg) no-repeat;
				background-position: right 3px center;
				background-size: 15px 10px;
				cursor: pointer;			
}

.cform .row select.field{
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	z-index: 1;
}
.cform .row select.field option[value=""][disabled] {
				/* display: none; */
}
.cform .row select.field option {
				color: #555555;
}
.cform .row select.field option[value=""] {
				color: rgba(0,0,0,0.4);
}


/* style errors */
.cform .row .error .select-label{
		color: white;
		margin-left:2.2px;
}

.cform .row .error .control-label{
		color: white;
		margin-left:2.2px;	
}
.cform .row .errotextarea-label{
	color: white;
	margin-left:2.2px;
}
.cform .row .error .field,
.cform .row .error .checkbox-inline input,
.cform.cform-validate .row .field:invalid,
.cform.cform-validate .row .checkbox-inline input:invalid{	/* style invalid fields only if user wants to send the form (integrated via js) */
				background-color: #ffeaec;
				border-color: #eac0c5;
}
.cform .row .field:invalid,
.cform .row .checkbox-inline input:invalid{		/* remove browser-style for invalid fields */
				outline: none;
				box-shadow:none;
}
.cform .row .field:focus:valid,
.cform .row .checkbox-inline input:focus:valid{
				background-color: #FFFFFF;
				border-color: #d9e8d5;
				outline: none;
				box-shadow:none;
}
.cform .row .error ::placeholder{
				color: rgba(219, 0, 7, 0.6);
}

.cform .row .error select.unselected
{
				color: rgba(219, 0, 7, 0.4);
}

.cform .row .errormsg{
				color: #db0007;
				font-size: .75rem;
}

.cform .checkbox-row.error_container{
	margin-bottom: 2.7rem;						
}
.cform .checkbox-row .errormsg{
				display: block;
				position: absolute;
				left: 0;
				margin-bottom: -20px;
}
.cform .upload-row.error_container .control-label,
.cform .checkbox-row.error_container .control-label{
				height: 100%;
				margin-top: 0; background:url(../img/border-right-red.png) bottom right no-repeat;
}

@media (max-width: 576px) {	
	.cform {
					padding: 1px 1rem 1px 1rem;
					margin-left:15px;
					margin-top:0px;
					margin-right:15px;
					width: auto;
	}
	.cform .row {
					display: block;
					margin-top: 1rem;
	}
	.cform .row .col-sm-4{
					flex-grow:0;
					flex-basis: 0;
					margin: 0;
	}
	.cform .row .col-sm-4,
	.cform .row .col-sm-8 {
					margin-top: 1.5rem;
	}
	.cform .upload-row .col-sm-8,
	.cform .checkbox-row .col-sm-8{
					margin-top: 0;
	}
}

