﻿
/*-----------------------------------------------------------------------------
		MESSAGE FORMS updated-2024
------------------------------------------------------------------------------*/

:root { 
    --form_highlightColor:#CF1126;
	--form_inputboxColor:#fff; 
	--form_bgColor:#eeefef;
	--form_legendColor:#121212;
	--form_inputboxColor_border:#bdbdbd;

}



/*-----------------------Forms------------------------------*/

/*-----------------------------
         BigDiv2 2 columns
-------------------------------*/	
.BigDiv2-form{    
	display:block;
	width:100%;
	height:auto;
	margin:0 auto;   
    overflow:hidden;  
	box-sizing: border-box;     
}


/* .BigDiv2-form div{
    float:left;
   	display:inline;
	width:50%;
	height:auto;
	margin:0;
	padding:0;
	text-align:center;
	box-sizing: border-box;     		
} */


/*------------------------
         FORMS FRAME
-------------------------*/

.BigDiv-form {
	display: block;
	width: 80%;
	height: auto;
	margin: 40px auto;
    padding: 10px 0;
    margin-bottom: 80px;
	background: var(--form_bgColor);
	border-radius: 20px;
	overflow: hidden;
	box-sizing: border-box;	
	
}

.BigDiv-form h1 { 
    text-align:center;
	padding:10px 30px;
}

.BigDiv-form h3 { 
    text-align:center;
	padding:10px 30px;
}

/*------------------------
         FORMS Wrapper
-------------------------*/

.Form-wrapper {
	width:90%;
	height:auto;
	margin:10px auto;
	padding:0;
	padding-bottom:5%;
	text-align:center;
	box-sizing: border-box;	
	overflow: hidden;
}


/*------------------------
         FIELDSETS
-------------------------*/

.fs-companyinfo {
	border-top: 1px solid var(--form_inputboxColor_border);
	width:100%;
	margin:20px 0;
	
  }
  
legend {
	background-color:var(--form_legendColor); 
	color:#fff;
	padding:5px 30px;
	width: 180px;
	margin:20px 0;
	border-radius: 20px;
	text-align: left;		
	
}
 


input {
	margin: 5px;
	height:40px;
}


select {

	margin: 5px;
	height:46px;
	width: 55.7%;
	

}

input, textarea { 
   -webkit-appearance: none;
   -moz-appearance: none;
   -webkit-border-radius: 0;
   -moz-border-radius:5px;
}

input, select, textarea {
	font: inherit;
	background-color: var(--form_inputboxColor);	
	border: 1px solid var(--form_inputboxColor_border);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius:5px;
}

fieldset {
	-webkit-box-shadow:0;
	-webkit-appearance: none;
    -moz-appearance: none;
  	-webkit-border-radius: 0;
  	-moz-border-radius:0;	
   	border:none;
	overflow:hidden;
	padding:0;
	text-align:center;	
}



/*------------------------
         UL
-------------------------*/

form ul {
	list-style: none;
	text-align:left;
	
}

form li {
	margin: 0.5em auto;
	text-align:left;

}

form label {
	display: inline-block;
	padding: 3px 0;
	text-align: left;
	width: 250px;
	vertical-align: top;
}




/*------------------------
         INPUTS (EFFECTS)
-------------------------*/

input:focus, textarea:focus {
	outline:none;
	background: #e0e7f9;
}


.large {
	width: 80%;
}

.medium {
	width: 55%;
}

.small {
	width: 30%;
}


textarea {
	font: inherit;
	width: 55%;
	height:200px;
	resize: none;
	margin-left:0.5%;


}






/*------------------------
         RADIO BUTTON
-------------------------*/

/* The container */
.container {
	display: inline-block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
  
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  }
  
  /* Hide the browser's default radio button */
  .container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
  }
  
  /* Create a custom radio button */
  .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #fff;
	border-radius: 50%;
	border:1px solid var(--form_inputboxColor_border)
  }
  
  /* On mouse-over, add a green background color */
  .container:hover input ~ .checkmark {
	background-color: var(--form_highlightColor);
	border:1px solid var(--form_highlightColor)
  }
  
  /* When the radio button is checked, add a green background */
  .container input:checked ~ .checkmark {
	background-color: var(--form_highlightColor);
	border:1px solid var(--form_highlightColor)
  }
  
  /* Create the indicator (the dot/circle - hidden when not checked) */
  .checkmark:after {
	content: "";
	position: absolute;
	display: none;
  }
  
  /* Show the indicator (dot/circle) when checked */
  .container input:checked ~ .checkmark:after {
	display: block;
  }
  
  /* Style the indicator (dot/circle) */
  .container .checkmark:after {
	   top: 5px;
	  left: 5px;
	  width: 10px;
	  height: 10px;
	  border-radius: 50%;
	  background: white;
  }
  



/*------------------------
         CHECKBOX
-------------------------*/


/* The container for checkbox */
.chkcontainer {
  display: inline-block;
  position: relative;
  padding-left:35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

/* Create a custom checkbox */
.chkcheckmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color:#fff;
  border-radius: 3px;
  border:1px solid var(--form_inputboxColor_border)
}

/* On mouse-over, add a green background color */
.chkcontainer:hover input ~ .chkcheckmark {
  background-color: var(--form_highlightColor);
  border:1px solid var(--form_highlightColor)
}

/* When the checkbox is checked, add a green background */
.chkcontainer input:checked ~ .chkcheckmark {
  background-color: var(--form_highlightColor);
  border:1px solid var(--form_highlightColor)
}

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

/* Show the checkmark when checked */
.chkcontainer input:checked ~ .chkcheckmark:after {
  display:inline;
}

/* Style the checkmark/indicator */
.chkcontainer .chkcheckmark:after {
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}



/*------------------------
         CAPTCHA
-------------------------*/

.captcha{
    display:block;
	margin:0 auto;
	width:50%;
	

}

.captcha div{
	margin:0 auto;
	
}


/*------------------------
         BUTTONS
-------------------------*/

form.button{
	vertical-align:middle;	
	margin:0 auto;
	margin-top:20px;
}

input#submit{
	border:none;
}





/*************************
		iPad Air
**************************/	

@media screen and (max-width: 820px) {

	.BigDiv-form {
		width: 90%;
	}
}


/*************************
		iPad Mini
**************************/	

@media screen and (max-width: 768px) {

	.fs-companyinfo {		
		width:90%;
		margin:20px auto;
		text-align:center;
	  }
	  
	  legend {
		padding:5px 30px;
		text-align:left;
		margin:20px 30px;
	  }
	  
	  form label {
		display: inline;
		margin-left: 8px;
	  }
	  
	
	.BigDiv2-form div{
		width:100%;		
	}  


	.BigDiv-form {
		width:90%;
		margin-top:50px;
	}

	.Form-wrapper {
		width:100%;
		height:auto;
		margin:0 auto;
		padding:30px 0;
		overflow:hidden;
		box-sizing: border-box;
	}

	.large {
		width: 90%;
	}

	.medium {
		width: 90%;
	}

	textarea {
		font: inherit;
		width: 90%;
		height:200px;
	}

	select {
		margin: 5px;
		height:46px;
		width: 91%;			
	}

	form h3 {
		padding:10px 0;
		text-align:center;
	}


	form li {
		display: block;
		margin: 0.5em 0;
		text-align:left;
	}

	form label {
		display: block;
		padding: 3px 0;
		text-align:left;
		width: 210px;		
	}

	.radios input {
		margin:0 5px;
	}

	.radios label {
		margin-right:0;
		width: auto;
		display:inline;
	}


}


/***************************
		iPhone
****************************/	

@media screen and (max-width: 470px) {


	.BigDiv-form {
		display: block;
		width: 100%;
		height: auto;
		margin: 0 auto;
		padding-bottom: 0;
		border-radius: 0;
		overflow: hidden;	
	}
	
	.Form-wrapper {
		width:100%;
		height:auto;
		margin:0 auto;
		padding:0;
		padding-bottom:5%;
		text-align:center;
		
	}

	.medium{
		width: 90%;		
	}

	.large {
		width: 90%;
	}


	legend {
			
		padding:5px 30px;
		text-align:center;
		margin:20px auto;
	  }

	  form label {
		display: inline;
	  }
	  
	  
	  form ul {
		margin-right:5%;
		
	}

	.BigDiv-form p {
		margin: 0 15%;
	}
	  
}






