.page-width 
{
	max-width: 900px;
	width: auto;
}

.input-wrapper
{
	min-width: 10em;
	width: 33%;
	padding: 0px 10px 0px;
}

.email-choice
{
	background-color: #f5f5f5;
	padding: 10px;
	border-radius: 5px;
}

/* TOGGLE STYLING */
/* based on https://codepen.io/dsenneff/pen/ZoLVZW */

.toggle {
  margin: 0 0px 1.5rem;
  box-sizing: border-box;
  font-size: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
}
.toggle input {
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
}
.toggle input + label {
  margin: 0;
  color: #848484;
  padding: .75rem 2rem;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  border: solid 1px #DDD;
  background-color: #fff;
  font-size: 1rem;
  line-height: 140%;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: border-color .15s ease-out,  color .25s ease-out,  background-color .15s ease-out, box-shadow .15s ease-out;
  display: grid;
    vertical-align: middle;
  /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
  /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
  /* ----- */
}

.toggle input[type="checkbox"]+label,
.toggle input[type="radio"]+label
{
  margin-left: 0rem;
  margin-right: 0rem;	
  display: grid;
  vertical-align: middle
}

.toggle input + label:first-of-type {
  border-radius: 5px 0 0 5px;
  border-right: none;
}
.toggle input + label:last-of-type {
  border-radius: 0 5px 5px 0;
  border-left: none;
}
.toggle input:hover + label {
  border-color: #213140;
  background-color: #fff;
}
.toggle input:checked + label {
  background-color: #febe10;
  color: #000;
  box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.25);
  border-color: #febe10;
  z-index: 1;
}
.toggle input:checked + label:hover 
{
  //background-color: #eca062;
   //border-color: #eca062;
}



@media (max-width: 700px) {
	
	.toggle
	{
		margin: 0 10px 1.5rem;
		
	}
	
  .toggle input + label {
    padding: 1.25rem 1rem;
    flex: 0 0 33%;
    display: flex;
    justify-content: center;
    align-items: center;
	font-size: 0.9rem;
  }
}

input[type=submit].emailPrefSubmit
{
	display: grid;
}

/* STYLING FOR THE STATUS HELPER TEXT FOR THE DEMO */
.status {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}
.status span {
  font-weight: 600;
  color: #e4761e;
}
.status span:first-of-type {
  display: inline;
}
.status span:last-of-type {
  display: none;
}
@media (max-width: 700px) {
  .status span:first-of-type {
    display: none;
  }
  .status span:last-of-type {
    display: inline;
  }
  .input-wrapper
  {
	 width: 100%; 
  }
}
