.gform_wrapper form {

}

.gform_wrapper form .gform_fields li.gfield {
	background: none;
	clear: none;
	float: left;
	margin-right: 15px;
	padding-left: 0;
}

.gform_wrapper form .gform_fields li.gfield:nth-child(2),
.gform_wrapper form .gform_fields li.gfield:last-child {
	margin-right: 0;
}



	.gform_wrapper form .top_label .gfield_label  {
		font-weight: normal;
		font-size: 18px;
		letter-spacing: .05px;
	}

	body #wrap .gform_wrapper form input[type="text"],
	.gform_wrapper form input[type="url"],
	.gform_wrapper form input[type="email"],
	.gform_wrapper form input[type="tel"],
	.gform_wrapper form input[type="number"],
	.gform_wrapper form input[type="password"],
	.gform_wrapper form textarea,

	form input[type="text"],
	form input[type="url"],
	form input[type="email"],
	form input[type="tel"],
	form input[type="number"],
	form input[type="password"],
	form textarea {
		background : #f0f0f0;
		border: solid 1px #d0d0d0;
		font-size: 16px;
		color: #7d7d7d;
		height: 14px;
		padding: 12px 19px;
	}

	.gform_wrapper form input:focus,
	.gform_wrapper form textarea:focus,
	form input:focus,
	form textarea:focus {
		border-color: #506B95;
	}

	.gform_wrapper form input[type=checkbox] {

	}

	.gform_wrapper form input[type=radio] {

	}

	.gform_wrapper form select {

	}

	.gform_wrapper form textarea {

	}

	body #wrap .gform_wrapper form .top_label input.medium,
	body #wrap .gform_wrapper form .top_label select.medium {
		padding-right: 22px;
		width: 264px;
	}

	.gform_wrapper .gform_footer {
		text-align: center;
	}

	button,
	.button,
	form input[type=submit],
	.gform_wrapper form input[type=submit]{
		background: #1b3764;
		border: none;
		border-radius: 20px;
		color: white;
		display: inline-block;
		font-family: Gentona-Book, Sans-Serif;
		font-size: 16px;
		font-weight: normal;
		margin: 40px auto 0;
		letter-spacing: .2em;
		padding: 10px 44px;
		text-align: center;
		text-transform: uppercase;
		min-width: 160px;
		cursor: pointer;
	}

	.button-wrapper {
		clear: both;
		text-align: center;
	}

		.button-wrapper .button {
			margin-top: 0;
		}

	.button-wrapper.bordered-vertical{
		border-top: 1px dashed #b3b3b3;
		border-bottom: 1px dashed #b3b3b3;
		padding: 10px 0;
	}

	.gform_wrapper form input[type=submit]:hover,
	form input[type=submit]:hover,
	button:hover,
	.button:hover {
		background: #506B95;
	}

	.button-secondary {
		border: 1px solid #1b3764;
		color: #1b3764;
		background: transparent;
	}

		.button-secondary:hover {
			background: #666767;
    	color: #fff;
		}

		.button-secondary-contrast {
			border: 1px solid #fff;
			color: #fff;
			background: transparent;
		}

			.button-secondary-contrast:hover {
				background: #1b3764;
	    	color: #fff;
			}

	.button-neutral {
		background: #666767;
	}

		.button-neutral:hover {
			background: #1B3764;
		}


/* Sidebar Searchform */

#sidebar .searchform.search-form {
	position: relative;
}

#sidebar .searchform.search-form input[type=text]{
	background: #666767;
	border: none ;
	color: white;
	width: 260px;
}

#sidebar .searchform.search-form input[type=submit]{
	background-color: transparent;
	background-image: url(../../images/sprite.png);
	background-position: 2px 0;
	background-repeat: no-repeat;
	display: block;
	height: 20px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-indent: -9999px;
	min-width: 20px;
	width: 20px;

	position: absolute;
	bottom: 8px;
	right: 15px;
}


/* --------------------------------------------------------------
	Search Drawer
----------------------------------------------------------------- */

#search-form-drawer .searchform{
	bottom: 0;
	height: 65px;
	left: 50%;
	margin: 0 0 0 -500px;
	position: absolute;
	width: 740px;
}

	#search-form-drawer form.searchform input[type=text]{
		background: none;
		border: 0;
		color: white;
			font-size: 22px;
			line-height: 26px;
			letter-spacing: .2em;
		height: 45px;
		margin: 0;
		outline: 0;
		padding: 10px;
		width: 720px;
	}

	#search-form-drawer form.searchform input::-webkit-input-placeholder{
		color: #e5e5e5;
	}

	#search-form-drawer form.searchform input::-::-moz-placeholder{
		color: #e5e5e5;
	}

	#search-form-drawer .searchsubmit{
		display: none;
	}

	#search-form-drawer .searchsubmit .icon{
		background-position: -261px 0;
		display: inline-block;
		height: 16px;
		/*line-height: 40px;*/
		vertical-align: middle;
		width: 19px;
	}
#search-form-drawer .button {
	margin-top: 0;
	padding: 10px 0;
	min-width: 140px;
	width: 140px;
}
	#search-form-drawer a.close{
		background-position: -355px 0;
		color:#e5e5e5;
		cursor: pointer;
		height: 22px;
		position: absolute;
		right: 0;
		text-decoration: none;
		top: 10px;
		width: 22px;
	}

	#search-form-drawer a.close:hover{
		background-position: -377px 0;
	}

/* --------------------------------------------------------------
	neil styles
----------------------------------------------------------------- */
.gform_wrapper form .gform_fields li.gfield:nth-child(4){ /* Fourth field is inline to the right */
	margin-right:0px;
}
.gform_wrapper .gform_body .top_label textarea.textarea{ /* Textarea full width of form */
	width: 589px;
}
.gform_wrapper .gform_body .disclaimer-check .gfield_label{ /* Hide required field asterisk on disclaimer */
	visibility: hidden;
	height: 0px;
	margin: 0 0 0 0;
}

.disclaimer {	/* Disclaimer text */
	color: rgb(163, 163, 163);
	margin-bottom:0px;
}

.disclaimer-check{ /* Checkbox and text */
	color: rgb(163, 163, 163);
	margin-top: 0px;
}
.gform_wrapper .disclaimer-check ul.gfield_checkbox li input[type="checkbox"]:checked+label{ /* Overrides bolding on disclaimer checkbox text*/
	font-weight: normal;
}
.gform_wrapper ul.gfield_radio li input[type="radio"]:checked+label, .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked+label{ /*Perferred format text is darkened on click */
	color:#464646;
}
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio], .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox]{ /* disclaimer checkbox itself placing */
	margin-left: 10px;
	margin-right: 5px;
}

.gform_wrapper .ginput_container .gfield_checkbox{ /*Perferred format option checkbox */
	color: rgb(139, 139, 139);
	width: 300px;
	margin-top: -5px;
}
.gform_wrapper .disclaimer-check .ginput_container .gfield_checkbox{ /*Perferred format option checkbox */
	padding-left: 4px;
	margin-right: 19px;
	width: 100%;
}
.gform_wrapper form .gform_fields  li.gfield.disclaimer-check { /*Disclaimer checkbox text */
	margin-right: 19px;
}
.gform_wrapper .gform_body .gform_fields .format-checkboxes .ginput_container li,
.gform_wrapper .gform_body .gform_fields .format-checkboxes .ginput_container label{ /*Perferred format option label */
	display: inline-block;
	font-size: 16px;
	line-height: 1.3em;
	margin: 0 0 0 0;
	margin-right: 12px;
	padding: 0 0 0px 0px;
	padding-right: 1px;
	font-weight: bold;
	float: none;
}


/* ----------------------------------------------------------
	checkboxes
---------------------------------------------------------- */
ul.gfield_checkbox li {
	float: left;
	margin-right: 40px;
}

.icheckbox,
.iradio_flat-blue,
.iCheck-helper {
    background-image: url(../../images/sprite.png);
    background-repeat:  no-repeat;
    background-position: 0 0;

    border: none;
    display: block;
    cursor: pointer;
    float: left;
    height: 20px;
    margin: 0 10px 0 0;
    padding: 0;
    width: 20px;
}

.icheckbox{
    background-position: -204px 0;
}
    .icheckbox.checked {
        background-position: -204px -54px;
    }
    .icheckbox.disabled {
        background-position: -204px 0;
        cursor: default;
    }
    .icheckbox.checked.disabled {
        background-position: -204px 0;
    }

/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (-moz-min-device-pixel-ratio: 1.5),
       only screen and (-o-min-device-pixel-ratio: 3/2),
       only screen and (min-device-pixel-ratio: 1.5) {
    .icheckbox,
    .iradio_flat-blue {
        background-image: url(blue@2x.png);
        -webkit-background-size: 176px 22px;
        background-size: 176px 22px;
    }
}
