/* CSS Document */
#Formbox dl dd {
	margin-bottom: 10px;
	padding-left: 1em;
}

input, button, textarea, select {
	margin: 0;
	padding: 0;
	background:#FFF;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type="radio"] {
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto;

}

input[type="radio"] + label {
	margin-right: 1em;
}

fieldset {
	border:none;
	width:98%;
	margin: 0 auto;
}

.formnote {
	width:95%;
	margin: 10px auto;
	padding: 10px 0;
}

form dt strong {
	color: #f00;
	padding-left: 0.25em
}

form dd strong#Date {
	font-size: 2rem;
}

form dd strong#Date span {
	padding-right: 1em;
}

 #FormBox {
	border-radius:5px;
	width:900px;
	margin:0px auto 0 auto;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f7f494+0,eddd4b+10,fff7a0+24,ffe97c+41,fffcba+66,fcf485+100 */
	padding:10px;
	box-sizing: border-box;
	text-align: justify;
}

 div#confirm {
	border-top:none;
}

 em {
	color:#F00;
}


 div#form {
	background:#FFF;
	padding:10px;
	border-radius: 10px;
}

#form h4 {
	font-size: 2rem;
	background:rgba(255,50,0,1.00);
	color: #fff;
	padding: 0.25em 0.5em;

}


 form h3,
 #form dl {
	text-align:justify;
	margin:0 auto;
	background:#FFF;
}

 form h3,
 #form dl dt {
	clear:left;
	border-top:dotted 2px rgba(255,50,0,1.00);
	padding:5px 5px;
	margin-top:2px;
	color:  rgba(255,50,0,1.00);
}

 #form dl dt:first-child {
	 border:none;
}


 #form dl dt::before {
	 content: "■";
	 color: rgba(255,50,0,1.00);
}


#form dl dt span {
	font-size: 1.4rem;
	color: #666;
}

input[type="checkbox"] { 
	-moz-appearance: checkbox;
	-webkit-appearance: checkbox;
	appearance:checkbox;  }

input[type="checkbox"].date { display: none; }

input[type="checkbox"].date + label {
  display: inline-block;
  position: relative;
  padding:0.1em 1em 0 2em;
  margin-bottom: 15px;
  color: #000;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
	font-size: 2.4rem;
}

input[type="checkbox"].date + label:last-child { margin-bottom: 0; }

input[type="checkbox"].date + label:before {
  content: '';
  display: block;
  width: 1.6em;
  height: 1.6em;
  border: 2px solid rgba(244,94,96,1.00);
  position: absolute;
  left: 0.2em;
  top: 0.1em;
  opacity: .6;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

input[type="checkbox"].date:checked + label:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
 input[type="text"],
 input[type="number"],
 input[type="tel"],
 input[type="email"],
 textarea {
	width:90%;
	padding:8px 6px;
	 margin: 5px auto;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: none;
	border: 1px solid #aaa;
	-webkit-transition: all .3s;
	transition: all .3s;
	font-size:16px;
}

 input[type="text"]:focus,
 input[type="number"]:focus,
 input[type="tel"]:focus,
 input[type="email"]:focus,
 textarea:focus {
	box-shadow: 0 0 7px #e56c69;
	border: 1px solid #e56c69;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance:textfield !important;
}

input.num {
	width:4em;
}

input.name {
	width:6em;
}

 input.no {
	width:8em;
}

 ul#zip li ,
 ul#tel li {
	float:left;
	
}

 ul#zip li::before ,
 ul#tel li::before {
	content:"-";
}
	
 ul#zip li.zipadd::before, 
 ul#zip li:first-child::before ,
 ul#tel li:first-child::before {
	content:"";
}

 ul#zip li.zipadd input  {
	font-size:14px;
	width: 6em;
	padding:2px 10px;
	margin-left:1em;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:#e56c69;
	color:#FFF;
	cursor:pointer;
}

 ul#zip li input ,
 ul#tel li input {
	width:4em;
}

 ul#campaign li ,
 ul#present li {
	margin:5px;
}

 ul.note li {
	font-size:1.4rem;
	text-indent:-1em;
	margin-left:1em;
}

.custom-select {
  border-radius: 5px;
  border: solid 1px #999999;
  box-sizing: border-box;
	display: inline-block;
	margin: 0.25em 0;
	font-size: 2rem;
}

.school_select {
	width:10em;
}

.year_select {
	width:5em;
}

select {
  border-radius: 5px;
  width: 100%;
  border: none;
  box-shadow: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  background: #fff     url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2211%22%20height%3D%2211%22%20viewBox%3D%220%200%2011%2011%22%3E%3Cpath%20d%3D%22M4.33%208.5L0%201L8.66%201z%22%20fill%3D%22%23666%22%2F%3E%3C%2Fsvg%3E")
    right 10px center no-repeat;
  padding: 12px 35px 12px 11px;
  color: #000;

  /* Firefox hide arrow */
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
}
/* IE10 hide arrow */
select::-ms-expand {
  display: none;
}

 ul li em {
	color:#F00;
}
	
 input[type="button"] {
	font-size:1em;
	width: 6em;
	padding:2px 10px;
	margin:0px auto;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:rgba(204,53,55,1.00);
	color:#FFF;
	cursor:pointer;
}

input[type="submit"] {
	font-size:2.4rem;
	width: 50%;
	padding:2px 10px;
	margin:10px auto;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:rgba(204,53,55,1.00);
	color:#FFF;
	cursor:pointer;
}

 input[type="submit"]:hover {
	 background:rgba(248,182,183,1.00);
	 color: rgba(204,53,55,1.00);
	 transition: 0.3s;
}

 button.submit {
	font-size:2.4rem;
	width: 50%;
	padding:2px 10px;
	margin:10px auto;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:#e56c69;
	color:#FFF;
	cursor:pointer;
}

 textarea {
	width:98%;
	height:10em;
}

.postcard {
	float: right;
}

.attention {
	text-align:justify;
	padding:10px;
	margin:1em 5em;
}

.center ,
.textcenter {
	text-align: center;
}

main p.top a {
	color: #ffffff;
}
	#form dd br {
		display: none;
	}

dd.address {
	display: flex;
}

dd.address div.school_select,
dd.address span {
	display: block;
	white-space: nowrap;
}

dd.selectarea label {
	margin-right: 1em;
}

input:disabled {
	background-color: #ccc;
}

ol.progress {
	display: flex;
	justify-content: space-between;
	width:100%;
}

ol.progress li {
	display: flex;
	align-items: center;
	justify-content: center;
	width:20%;
	text-align: center;
	padding: 1em;
	background: rgba(140,222,255,1.00);
	position: relative;
	line-height: 1.35
}

ol.progress li.active {
	background: rgba(255,24,28,1.00);
	color: #fff;
}

ol.progress li.done {
	background:rgba(226,226,226,1.00);
}


ol.progress li.active::after ,
ol.progress li.done::after ,
ol.progress li::after {
	content: "▶";
	position: absolute;
	right: -2.5em;
	color: rgba(0,82,131,1.00)
}

ol.progress li:last-child::after{
	content: none;
}

em.required {
	display: inline-block;
	padding: 0.15em 0.35em;
	background: rgba(255,0,4,1.00);
	color: #fff;
	text-align: center;
	margin: auto 5px;
	font-size: 85%;
}

#form dd.bold br {
	display: inherit;
}

@media only screen and (max-width : 999px){
	#FormBox {
		width:99%;
		margin:0 auto;
	}
	
	fieldset {
		width:98%;
		margin: 0 auto;
		padding: 0;
		box-sizing: border-box;
	}
	dl dd {
		margin:5px 0 ;
		min-height: 27px;
	}
	 input[type="text"],
	 input[type="number"],
	 input[type="tel"],
	 input[type="email"],
	 textarea {
		width:96%;
	}
	div.formnote img {
		width:99%;
		height: auto;
	}
	.attention {
		text-align:justify;
		padding:10px;
		margin:1em 1em;
	}
	div#form {
		padding:0px;
	}

	 input[type="submit"] ,
	button.submit {
		width:80%;
	}
	dd.address span {
		display: block;
	}
	

	input.num {
		width:4em;
	}
	
	input.no {
		width:8em;
	}

	input.name {
		width:5em;
	}
	
	#form dd br {
		display: inherit;
	}
	
	dd.selectarea span {
		width:calc(100%);
		display: block;
	}
	
	input[type="radio"] + label::after {
		white-space:pre;
		content: "</labal>\A";
	}
	
	
	input[type="checkbox"].date + label {
		width:30%;
		float: left;
		display: block;
		padding-left:2em ; 
		padding-right: 0
	}
	h2 {
		clear: both;
	}

	dd.address {
		display: block;
	}
	dd.address span {
		display: block;
		white-space: nowrap;
	}
	ol.progress {
		display: block;
		width:100%;
	}

	ol.progress li {
		display: none;;
		align-items: center;
		justify-content: center;
		width:90%;
		text-align: center;
		padding: 1em;
		position: relative;
		line-height: 1.35;
		margin-bottom: 2em;
		margin-left: auto;
		margin-right: auto;
	}

	ol.progress li.active {
		background: rgba(255,24,28,1.00);
		color: #fff;
		display: inherit
	}

	ol.progress li.done {
		display: none;
		background:rgba(226,226,226,1.00);
	}


	ol.progress li.active::after ,
	ol.progress li.done::after ,
	ol.progress li::after {
		content: "";
		position: absolute;
		right: 0;
		left:0;
		bottom: -1.5em;
		color: rgba(0,82,131,1.00);
	}

	ol.progress li:last-child::after{
		content: none;
	}

}

