/*
* @author: Chad Harrington
*/

section.form fieldset > aside:after,
section.form .form-actions > aside:after,
section.form fieldset.recommend ul:after, 
section.form ul.multiple-choice:after
{
	display:block; clear:both; visibility: hidden;
	height:0;
	content:".";
}
.ie section.form fieldset > aside, 
.ie section.form fieldset.recommend ul, 
.ie section.form ul.multiple-choice
{
	zoom:1;
}

section.form
{
	position:relative;	
}
section.form #form-case-study> section
{
	position:relative;
	padding:20px 0 0 0;
	border-top:3px solid #CDCDCD;
}
section.form header
{
	margin:0 0 15px 0;
}
section.form header h3
{
	font-size:15px; font-weight:700; text-transform:uppercase;
}
section.form p
{
	margin:0 0 15px 0;
}
section.form fieldset
{
	margin:0 0 20px 0;
}
section.form fieldset label
{
	display:block;
	margin:0 0 5px 0;
	font-family:"nimbus-sans", "Helvetica Neue", Helvetica, Arial; font-size:15px; font-weight:400;
}
section.form fieldset label.error {
        color:red;
}
section.form fieldset > label strong
{
	font-weight:700;
}
section.form fieldset > label em
{
	font-weight:300;
}
section.form .textarea-list li
{
	margin:9px 0 0 0;
}
section.form .textarea-list li:first-child
{
	margin:0;
}
section.form .textarea-list label
{
	display:block;
	margin:0 0 5px 0;
	font-family:"nimbus-sans", "Helvetica Neue", Helvetica, Arial; 
	font-size:11px; 
	text-transform:uppercase; 
	color:#666; 
	font-weight:700;
}
section.form .textarea-list textarea
{
	height:80px;
}
section.form .custom-select {
	width: 100%;
}
section.form fieldset > aside
{
	margin:5px 0 0 0;
}
section.form input[type="text"]
{
	width:100%;
}
section.form textarea
{
	width:100%; height:116px;
}
section.form .field-note
{
	float:right;
	font-style:italic; color:#444;
}
section.form .form-actions .field-note
{
	float:left;
}
section.form #form-case-study> section > .field-note
{
	position:absolute;
	top:20px; right:0;
	font-style:italic; color:#444;
}
section.form #form-case-study> section:first-child > .field-note
{
	top:0;
}
section.form .char-count
{
	float:left;
	color:#444;
}
section.form .form-actions
{
	padding:10px 0 0 0;
}
section.form .form-actions input[type="submit"],
section.form .form-actions button
{
	margin:0 10px 0 0;
	min-width:120px;
}
section.form .form-actions input[type="submit"]
{
	min-width:237px;
}

section.form .file-upload {
	overflow: hidden;
	display: inline-block;
	position: relative;	
	vertical-align: middle;
	text-align: center;
	float: left;
	color: #444444;
	border:1px solid #AAA;
	height:31px;

	background:#F8F8F8;
	background:-moz-linear-gradient(top, #FDFDFD 0%, #F4F4F4 100%); /* FF3.6+ */
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#FDFDFD), color-stop(100%,#F4F4F4)); /* Chrome,Safari4+ */
	background:-webkit-linear-gradient(top, #FDFDFD 0%,#F4F4F4 100%); /* Chrome10+,Safari5.1+ */
	background:-o-linear-gradient(top, #FDFDFD 0%,#F4F4F4 100%); /* Opera 11.10+ */
	background:-ms-linear-gradient(top, #FDFDFD 0%,#F4F4F4 100%); /* IE10+ */
	background:linear-gradient(to bottom, #FDFDFD 0%,#F4F4F4 100%); /* W3C */
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#FDFDFD', endColorstr='#F4F4F4',GradientType=0 ); /* IE6-9 */
}
	
section.form .file-upload:hover { 
	border: 1px solid #7DBEE8;
}

section.form .file-upload.focus { 
	outline: none;
	border: 1px solid #7DBEE8;
}

section.form .file-upload input {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	font-size: 12px;

	/* Loses tab index in webkit if width is set to 0 */
	opacity: 0;
	filter: alpha(opacity=0);
}

section.form .file-upload strong { 
	font: normal 1.75em arial,sans-serif; 
}	
	
section.form .file-upload span {
	position: absolute;
	top: 0;
	left: 0;
	display:block;
	font-size: 13px;
	
	/* Adjust button text vertical alignment */
	line-height: 31px;
}

/* Adjust the button size */	

section.form .file-upload,
section.form .file-upload span {	
	width: 200px; 
}	

section.form .file-upload-status {
	color: #444444;
	vertical-align: middle;
	display: block;
	float: left;
	width: 270px;
	height: 33px;
	line-height: 34px;
	margin-left: 10px;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.form-separator
{
	padding:32px 34px 0 34px;
	font-size:12px; font-weight:bold; text-align:center;
}

section.form ul.radios {

}

section.form ul.two-col > li {
	float: left;
	width: 320px;
	margin: 0 30px 0 0;
}

section.form .user-info > h2,
section.form .inquiry-details > h2 {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 15px 0;
}
section.form .user-info fieldset,
section.form .inquiry-details fieldset,
section.form .captcha fieldset {
	width: 400px;
}
section.form .inquiry-details fieldset.first {
	width: auto;
}

section.form .user-info .row .col {
	width: 190px;
	margin: 0 0 0 20px;
}

section.form .user-info .row .col:first-child,
section.form .user-info .row .col.first {
	margin: 0;
}

#store-finder form#store-search-advanced .col

section.form .user-info .col > label {
	display: block;
	margin: 0 0 5px 0;
	font-size: 14px;
	font-weight: bold;
}

#custom-select-container-choose-subject {
	width: 320px;
}

/* Custom */
section.form.form-box {
	margin:0 0 30px 0; padding:25px 30px;

	background:#EDEDED;
	background:-moz-linear-gradient(top, #EDEDED 0%, #DDDDDD 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#EDEDED), color-stop(100%,#DDDDDD));
	background:-webkit-linear-gradient(top, #EDEDED 0%,#DDDDDD 100%);
	background:-o-linear-gradient(top, #EDEDED 0%,#DDDDDD 100%);
	background:-ms-linear-gradient(top, #EDEDED 0%,#DDDDDD 100%);
	background:linear-gradient(to bottom, #EDEDED 0%,#DDDDDD 100%);

	border:5px solid #FFF;
	box-shadow:0 0 6px rgba(0,0,0,0.4); -webkit-box-shadow:0 0 6px rgba(0,0,0,0.4);
}

/* Tablet Portrait */

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

	section.form .form-actions input[type="submit"],
	section.form .form-actions button
	{
		width:183px;
	}
	section.form .form-actions input[type="submit"]
	{
		padding-left:0; padding-right:0;
		min-width:0;
	}
	section.form .form-actions .btn-cancel
	{
		margin:0;
	}

	section.form .file-upload,
	section.form .file-upload span {	
		width: 107px; 
	}	

	section.form .file-upload-status {
		width: 163px;
	}

}

/* Mobile Portrait & Landscape */

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

	.hero.tertiary {
		display: none;
	}

	section.form
	{
		margin:0 0 20px 0; 
	}
	section.form .user-info .row .col {
		float: none;
		width: 100%;
		margin: 0;
	}

	section.form .form-actions input[type="submit"]
	{
		margin:0 0 10px 0;
		width:100%;
	}
	section.form .form-actions button,
	#custom-select-container-choose-subject
	{
		width:100%;
	}
	section.form .form-actions .btn-cancel
	{
		margin:0;
	}
	section.form #form-case-study> section > .field-note
	{
		width:100px;
	}
	section.form .user-info .row .col:first-child, 
	section.form .user-info .row .col.first {
		margin-bottom: 20px;
	}

	section.form .file-upload,
	section.form .file-upload span {	
		width: 100%; 
	}	

	section.form .file-upload-status {
		width: 100%;
		margin: 0;
		text-align: center;
	}

}
