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

/* ====================================
Base styles of all form elements
==================================== */
form {
	margin: 0 0 20px;
}
form.no-margin {
	margin: 0;
}
form ul {
	list-style-type: none;
	margin: 0 0 1.5em 0;
	padding: 0;
}

.form-element {
	margin-bottom: 19px;
	position: relative;
}
input,
.form-element input,
.chosen-container-single .chosen-single,
.form-element select,
.file-upload-feedback,
.form-element input[type="submit"] {
	height: 35px;
}

input.upload {
	padding: 15px 15px 55px;
}

.chosen-choices {
}
input,
textarea,
.form-element input,
.form-element textarea,
.chosen-container .chosen-single,
.chosen-choices,
select,
.form-element select {
	padding-left: 16px;
	padding-right: 16px;
	display: block;
	width: 100%;
	color: #1f2c35;
	background-color: #FFF;
	border: none;
	padding-top: 8px;
	padding-bottom: 8px;
	border-radius: 4px;
	border: 1px solid #dcdcdc;
	font-size: 1.4rem;
	line-height: 1.2;
	box-shadow: 0px 2px 0px #dcdcdc;
	transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
select,
.form-element select {
	background-image: url(../images/select-arrow.svg);
	background-repeat: no-repeat;
	background-position: top 14px right 13px;
	padding-right: 30px;
}
.chosen-drop {
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
.chosen-container-active.chosen-with-drop  .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-choices {
	border-radius: 4px 4px 0 0;
}


input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
	-webkit-appearance: none;
}

/* Hover state */
input:hover,
textarea:hover,
.form-element input:hover,
.form-element textarea:hover,
.chosen-container:hover .chosen-single,
.chosen-container:hover .chosen-drop,
.chosen-container:hover .chosen-choices {
	border-color: #B8BBBF;
	box-shadow: 0px 2px 0px #B8BBBF;
}


/* Active state */
input:focus,
textarea:focus,
.form-element input:focus,
.form-element textarea:focus,
.chosen-container-active.chosen-with-drop .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-choices {
	background: rgb(232,232,232); /* Old browsers */ /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 11.10+ */ /* IE10+ */
	background: linear-gradient(to bottom, rgba(232,232,232,1) 0%,rgba(255,255,255,1) 48%); /* W3C */
	outline: none;
}

/* Disabled state */
input:disabled,
.form-element input:disabled,
.form-element input[type="checkbox"]:disabled + label,
.form-element input[type="radio"]:disabled + label,
.chosen-disabled,
.disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}

/* Focus state */
.form-element input:focus,
.form-element textarea:focus,
.chosen-container.chosen-container-active .chosen-single {
	outline: none;
}

/* Blue Highlight */
.chosen-container .chosen-results li.highlighted {
	background-color: #3875d7;
	color: #fff;
}


/* ---- Arrow ---- */
.chosen-arrow,
select:after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	display: block;
	width: 33px;
}
.chosen-arrow b,
select:before {
	display: block;
	width: 15px;
	height: 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -3px;
	margin-left: -7px;
}
.chosen-arrow b:before {
	content: "\e801";
	color: #747b83;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 6px;
	display: block;
	text-align: center;
}

/* ---- Close buttons ---- */
.chosen-container-single .chosen-single abbr {
	top: 11px;
	right: 30px;
	display: block;
	width: 14px;
	height: 14px;
	-webkit-appearance: none;
	z-index: 1;
}
.chosen-container-single .chosen-single abbr:before {
	content: "\e809";
	color: #747b83;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 10px;
	text-align: center;
	position: absolute;
	display: block;
	top: 2px;
	left: 2px;
}
.chosen-container-single .chosen-single abbr:hover:before {
	color: #303e48;
}
.chosen-container-single.chosen-disabled .chosen-single abbr:hover:before {
	color: red;
}

/* ====================================
Large form elements
==================================== */

.form-element.form-element-large input,
.form-element.form-element-large .chosen-container-single .chosen-single,
.form-element.form-element-large select,
.form-element.form-element-large input[type="submit"] {
	height: 50px;
}
.form-element.form-element-large input,
.form-element.form-element-large textarea,
.form-element.form-element-large .chosen-container .chosen-single,
.form-element.form-element-large .chosen-choices,
.form-element.form-element-large select {
	padding-left: 23px;
	padding-right: 23px;
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 2rem;
}


/* ====================================
White form elements
==================================== */
.form-element.form-element-white input,
.form-element.form-element-white textarea,
.form-element.form-element-white .chosen-container .chosen-single,
.form-element.form-element-white .chosen-choices,
.form-element.form-element-white select {
	background: #FFF;
	background: linear-gradient(to bottom, rgba(255,255,255,1) 1%,rgba(255,255,255,1) 50%);/* W3C */
}

.form-element.form-element-white input:focus,
.form-element.form-element-white textarea:focus,
.form-element.form-element-white .chosen-container-active.chosen-with-drop .chosen-single,
.form-element.form-element-white .chosen-container-active.chosen-with-drop .chosen-choices {
	background: rgb(237,237,237);/* Old browsers *//* FF3.6+ *//* Chrome,Safari4+ *//* Chrome10+,Safari5.1+ *//* Opera 11.10+ *//* IE10+ */
	background: linear-gradient(to bottom, rgba(237,237,237,1) 1%,rgba(255,255,255,1) 50%);/* W3C */
	outline: none;
}

.form-element.form-element-white .chosen-arrow,
.form-element.form-element-white select:after {
	border-left: 2px solid #f4f4f4;
}

.form-element.form-element-white .chosen-container .chosen-drop {
	background: #FFFFFF;
}

/* ====================================
Small form elements
==================================== */
.form-element.form-element-small input,
.form-element.form-element-small textarea,
.form-element.form-element-small .chosen-container .chosen-single,
.form-element.form-element-small .chosen-choices,
.form-element.form-element-small select,
.form-element.form-element-small .form-element select {
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 15px;
	padding-right: 15px;
}
.form-element.form-element-small textarea,
.form-element.form-element-small input,
.form-element.form-element-small .chosen-container,
.form-element.form-element-small select {
	font-size: 1.5rem;
	line-height: 2rem;
}
.form-element.form-element-small input,
.form-element.form-element-small .chosen-container-single .chosen-single,
.form-element.form-element-small select,
.form-element.form-element-small button,
.form-element.form-element-small input[type="submit"] {
	height: 37px;
}
.form-element.form-element-small .chosen-container .chosen-single {
	padding-right: 44px;
}
.form-element.form-element-small .chosen-arrow,
.form-element.form-element-small select:after {
	width: 32px;
}
.form-element.form-element-small.form-element-date:before {
	bottom: 9px;
	right: 7px;
	width: 18px;
	height: 17px;
	background-position: -51px -264px;
	background-size: 590px;
}
.form-element.form-element-small.form-element-date:after {
	right: 30px;
	height: 37px;
}
.form-element.form-element-small .chosen-arrow b,
.form-element.form-element-small select:before {
	width: 16px;
	height: 11px;
	background-position: -36px -49px;
	background-size: 420px;
	margin-top: -3px;
	margin-left: -9px;
}
.form-element.form-element-small.form-element-date input {
	padding-right: 46px;
}
.form-element.form-element-small.form-element-radio-button-switches {
	height: 36px;
	border-radius: 18px;
}
.form-element.form-element-small.form-element-radio-button-switches .radio-button-switch label {
	font-size: 1.7rem;
	padding: 3px 18px;
	height: 28px;
}
.form-element.form-element-small label {
	padding: 0 0 6px;
	font-size: 1.8rem;
}
.form-element.form-element-small .chosen-container-active.chosen-with-drop .chosen-arrow b {
	background-position: -36px -433px;
	margin-top: -6px;
}
.form-element.form-element-small .radio-button-switch label:after {
	border-radius: 14px;
}

/* ====================================
Submit buttons
==================================== */
.form-element button,
.form-element input[type="submit"] {
	width: 100%;
}

/* ====================================
Placeholders
==================================== */
.chosen-container-multi .chosen-choices li.search-field input[type="text"],
.chosen-container-single .chosen-default {
	color: #747b83;
}
::-webkit-input-placeholder {
	color: #747b83;
}
:-moz-placeholder { /* Firefox 18- */
	color: #747b83;
	opacity: 1;
}
::-moz-placeholder {  /* Firefox 19+ */
	color: #747b83;
	opacity: 1;
}
:-ms-input-placeholder {
	color: #747b83;
	opacity: 1;
}


/* ====================================
Fieldsets
==================================== */

/* Fieldsets */
fieldset {
	border: none;
	padding: 0;
	margin: 40px 0;
}
fieldset:last-of-type {
	margin-bottom: 0;
}

/* Legends */
legend {
	display: block;
	width: 100%;
	padding: 0;
	margin: 10px 0;
	border: 0;
	font-size: 1.8rem;
	line-height: 1.5em;
	font-weight: bold;
	white-space: normal;
}
legend small {
	font-size: 1.125em;
	color: #625757;
}

/* ====================================
Text inputs
==================================== */

input[type="radio"],
input[type="checkbox"] {
	margin: 2px 0 0;
	line-height: normal;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"],
input.timepicker {
	width: auto;
}

/* Color */
input[type="color"] {
	padding: 0;
	border-radius: 4px;
	min-height: 38px;
	overflow: hidden;
}

/* Textarea */
textarea {
	height: 120px;
	resize: vertical;
	min-height: 80px;
	max-height: 500px;
}

/* -- Search -- */
.form-element.form-element-search input {
	padding-right: 42px;
}
.form-element.form-element-search .form-element-search-button {
	position: absolute;
	bottom: 6px;
	right: 10px;
	text-indent: -9999px;
	width: 21px;
	height: 21px;
	-webkit-appearance: none;
	outline: none;
	border: none;
	background: transparent;
	padding: 0;
}
.form-element.form-element-search .form-element-search-button:before {
	text-indent: 0;
	display: block;
	color: #747b83;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 19px;
	transition: all 150ms ease-in;
}
.form-element.form-element-search .form-element-search-button:hover:before,
.form-element.form-element-search .form-element-search-button:focus:before {
	color: #303e48;
}
/* Large */
.form-element.form-element-large.form-element-search input {
	padding-right: 60px;
}
.form-element.form-element-large.form-element-search .form-element-search-button {
	bottom: 7px;
	right: 13px;
	width: 30px;
	height: 30px;
}
.form-element.form-element-large.form-element-search .form-element-search-button:before {
	font-size: 27px;
}

/* ====================================
Labels
==================================== */
label {
	padding: 0 0 8px;
	display: inline-block;
	font-size: 2.2rem;
	margin: 0;
}

/* ====================================
Selects
==================================== */

/* No style */
.no-style-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	padding: 0;
	margin: 0;
	outline: none;
	border: none;
	color: #FFF;
	border-radius: 0;
	box-shadow: none;
}
.no-style-select option {
	color: #000;
	text-decoration: none;
	font-weight: normal;
	background-color: #FFF;
}
.no-style-select::-ms-expand {
    display: none;
}

/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com

Version 1.2.0
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2014 Harvest http://getharvest.com

MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
*/

/* No JS */
option[value=""] {
	display: none;
}

/* Base */
.chosen-container {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	    user-select: none;
}
.chosen-container .chosen-drop {
	margin-top: -2px;
	position: absolute;
	top: 100%;
	left: -9999px;
	z-index: 1010;
	width: 100%;
	background: #FFFFFF;
	box-shadow: 0px 2px 0px #dcdcdc;
	background-clip: padding-box;
	font-size: 1.4rem;
	line-height: 1.6rem;
	border-right: 1px solid #dcdcdc;
	border-left: 1px solid #dcdcdc;
}
.chosen-container.chosen-with-drop .chosen-drop {
	left: 0;
}
.chosen-choices,
.chosen-container-single .chosen-single {
	cursor: pointer;
}

.chosen-container .chosen-single {
	padding-right: 34px;
}
.chosen-container .chosen-single.chosen-single-with-deselect {
	padding-right: 47px;
}

/* Search fields */
.chosen-container .chosen-search input[type="text"] {
	margin: 1px 0;
	padding: 4px 27px 4px 8px !important;
	width: 100% !important;
	height: auto !important;
	outline: 0;
	border: 1px solid #E4E5E5;
	font-size: 1.4rem !important;
	line-height: normal;
	border-radius: 0;
	box-shadow: none;
	background: #FFF;
}
.chosen-container .chosen-search:after {
	content: "\e80a";
	color: #747b83;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 12px;
	text-align: center;
	position: absolute;
	display: block;
	top: 50%;
	margin-top: -6px;
	right: 13px;
}

/* Single */
.chosen-container-single .chosen-single {
	overflow: hidden;
	white-space: nowrap;
	text-decoration: none;
	position: relative;
	background-clip: padding-box;
}
.chosen-container-single .chosen-single span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.chosen-container .chosen-search {
	position: relative;
	z-index: 1010;
	margin: 0;
	padding: 3px 5px;
	white-space: nowrap;
}
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
	position: absolute;
	left: -9999px;
}
.chosen-container-single .chosen-single abbr {
	position: absolute;
}

/* Results */
.chosen-container .chosen-results {
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	margin: 0;
	padding: 0;
	max-height: 240px;
	-webkit-overflow-scrolling: touch;
}
.chosen-container .chosen-results li {
	display: none;
	margin: 0;
	padding: 6px 16px;
	list-style: none;
	line-height: 1em;
	word-wrap: break-word;
	-webkit-touch-callout: none;
}
.chosen-container .chosen-results li.active-result {
	display: list-item;
	cursor: pointer;
}
.chosen-container .chosen-results li.active-result.result-selected {
	background-color: #eee;
	color: #303e48;
}
.chosen-container .chosen-results li.disabled-result.result-selected {
	background-color: rgba(0,0,0,0.4);
}
.chosen-container .chosen-results li.disabled-result {
	display: list-item;
	color: #ccc;
	cursor: default;
}
.chosen-container .chosen-results li.no-results {
	color: #777;
	display: list-item;
	background: #f4f4f4;
}
.chosen-container .chosen-results li.group-result {
	display: list-item;
	font-weight: bold;
	cursor: default;
	text-transform: uppercase;
}
.chosen-container .chosen-results li.group-option {
	padding-left: 22px;
}
.chosen-container .chosen-results li em {
	font-style: normal;
	text-decoration: underline;
}

/* Multi Chosen */
.chosen-container-multi .chosen-choices {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding-right: 26px;
}
.chosen-container-multi .chosen-choices.choice-is-selected {
	padding-top: 5px;
	padding-bottom: 0;
}
.chosen-container-multi .chosen-multi-placeholder {
	padding-right: 20px;
	line-height: 21px;
}
.chosen-container-multi .chosen-choices.choice-is-selected .chosen-multi-placeholder {
	display: none;
}
.chosen-container-multi .chosen-choices li {
	float: left;
	list-style: none;
}
.chosen-container-multi .chosen-choices li.search-choice {
	position: relative;
	margin: 0 8px 4px 0;
	padding: 3px 26px 3px 9px;
	border: 1px solid #DCDCDC;
	max-width: 100%;
	border-radius: 3px;
	background-color: #FFF;
	line-height: 1.2;
	cursor: default;
	font-size: 1.4rem;
}
.chosen-container-multi .chosen-choices li.search-choice span {
	word-wrap: break-word;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
	position: absolute;
	top: 3px;
	right: 5px;
	width: 15px;
	height: 15px;
	cursor: pointer;
	display: block;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before {
	content: "\e809";
	color: #747b83;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 10px;
	display: block;
	text-align: center;
	position: absolute;
	top: 3px;
	left: 2px;
}

.chosen-container-multi .chosen-choices li.search-field {
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none;
	border-radius: 0;
	height: 17px;
}
.chosen-container-multi .chosen-choices.choice-is-selected li.search-field input[type="text"] {
	margin: -1px 0 6px;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
	background-position: 0 -118px;
}
.chosen-container-multi .chosen-choices li.search-choice-disabled {
	padding-right: 5px;
	border: 1px solid #ccc;
	background-color: #e4e4e4;
	background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
	color: #666;
}
.chosen-container-multi .chosen-choices li.search-choice-focus {
	background: #d4d4d4;
}
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
	background-position: -42px -10px;
}
.chosen-container-multi .chosen-drop .result-selected {
	display: list-item;
	color: #ccc;
	cursor: default;
}

/* Active */
.chosen-container-active.chosen-with-drop .chosen-arrow b:before {
	content: "\e800";
}
.chosen-container-active.chosen-with-drop .chosen-arrow b {
	margin-top: -3px;
}
.chosen-container-active .chosen-choices {
}


/* Disabled */
.chosen-disabled .chosen-single {
	cursor: default;
}
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
	cursor: default;
}


/* ====================================
Form section form elements
==================================== */

.form-section .form-element {
	margin-bottom: 0;
}

/* ----Labels ---- */
.form-section label {
	font-size: 1.6rem;
	line-height: 1.2;
}

/* ---- Fieldsets ---- */
.form-section fieldset {
	margin: 0;
}

/* ---- Date picker ---- */
.fb-widget-datepicker .datepicker {
	display: inline-block;
}
input.datepicker.wd {
	margin-left: 0;
}
input.datepicker.wy {
	margin-right: 0;
}
input.datepicker {
	width: 60px;
	margin: 0 4px;
}
input.timepicker {
	width: 135px;
}



/* Other form stuff */
.radio,
.checkbox {
	min-height: 1.5em;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
	float: left;
	margin-right: 10px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
	padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
	display: inline-block;
	padding-top: 5px;
	margin-bottom: 0;
	vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
	margin-left: 12px;
}

.-input-mini {
	width: 60px;
}

.-input-small {
	width: 90px;
}

.-input-medium {
	width: 150px;
}

.-input-large {
	width: 210px;
}

.-input-xlarge {
	width: 270px;
}

.-input-xxlarge {
	width: 530px;
}

.form-actions {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	padding: 0.5em 24px 1.5em;
	*zoom: 1;
}
.form-actions:before, .form-actions:after {
	content: " ";
	display: table;
}
.form-actions:after {
	clear: both;
}

[placeholder]:focus::-webkit-input-placeholder {
	opacity: 0;
	transition: opacity 500ms ease 300ms;
}


/* ====================================
Form help
==================================== */
.help-block,
.help-inline {
	color: #625757;
	font-size: 12.8px;
	font-size: 1.28rem;
	line-height: 1.4;
}

.help-block {
	display: block;
	margin-bottom: 0.75em;
}

.help-inline {
	display: inline-block;
	vertical-align: middle;
	padding-left: 12px;
}

.help-block,
.help-inline {
	color: #625757;
}

.help-block {
	display: block;
	margin-bottom: 0.75em;
}

.help-inline {
	display: inline-block;
	vertical-align: middle;
	padding-left: 24px;
}

/* ====================================
Form errors
==================================== */

.has-error {
	background: #fae8e7;
	padding: 10px 20px;
	margin: 0 -20px;
}
.has-error input {
	border-color: #B94A48;
}

.has-error .help-block,
.has-error .help-inline {
	color: #B94A48;
	font-weight: bold;
	font-style: italic;
}



/* ====================================
Form section specific styles
==================================== */
.form-section input,
.form-section label,
.form-section select,
.form-section textarea {
	margin-bottom: 0;
}

/* Field info */
.form-section span.field-info {
	color: #C27D38;
}
.form-section span.field-info:before {
	content: "\2039\00a0";
}

.form-section span.field-info,
.form-section span.field-error {
	font-weight: bold;
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-size: 1.2rem;
	vertical-align: middle;
}

.form-section span.field-error {
	color: #D20000;
}
input[type=text].field-error,
input[type=password].field-error,
textarea.field-error,
.textbox.field-error {
	border: 1px #D20000 solid;
}
span.field-error + span.field-info {
	display: none;
}



/* ====================================
Submit bar
==================================== */

.submit-bar {
	text-align: right;
	border-top: 2px solid #e5e1d8;
	padding: 14px 0;
	margin: 30px 0 0 0;
}

.sidebar .submit-bar {
	padding: 10px 0;
	margin: 0;
}

.submit-bar a {
	margin-right: 20px;
}

/* ====================================
Checkboxes and radio buttons
==================================== */

/* ---- Shared styles ---- */
input[type="radio"],
input[type="checkbox"] {
	margin: 2px 0 0;
	line-height: normal;
	height: auto;
}

.form-element.form-element-checkbox,
.form-element.form-element-radio {
	margin-bottom: 5px;
}
/* Hide the inputs */
input[type="checkbox"],
input[type="radio"] {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Labels */
input[type="checkbox"] + label,
input[type="radio"] + label {
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	padding: 0;
	font-size: 1.7rem;
	line-height: 1;
}

/* Focus */
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	-webkit-box-shadow: inset 0px 0px 3px 1px #D2D2D2;
	box-shadow: inset 0px 0px 3px 1px #D2D2D2;
}


/* Checkbox and radio button */
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
	content: " ";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 13px;
	position: relative;
	top: 4px;
	background-color: #E6E6E6;
	border: 1px solid silver;
}
/* Check and dot */
input[type=checkbox]:checked + label:after,
input[type=radio]:checked + label:after {
	content: " ";
	position: absolute;
}

/* ---- Checkboxes ---- */

/* Check (pseudo element) */
input[type=checkbox]:checked + label:after {
	left: 1px;
	top: 4px;
	width: 23px;
	height: 18px;
	background: url(../images/sprites/icon-sprite.svg) no-repeat 0px -114px;
	background-size: 510px;
}
.no-js input[type=checkbox]:checked + label:after,
.no-svg input[type=checkbox]:checked + label:after {
	background-image: url(../images/icon-sprite.png);
}


/* ---- Radio Buttons ---- */

/* Radio button (pseudo element) */
input[type="radio"] + label:before {
	border-radius: 10px;
}
/* Radio dot (pseudo element) */
input[type=radio]:checked + label:after {
	left: 6px;
	top: 10px;
	width: 8px;
	height: 8px;
	border-radius: 5px;
	background: #636363;
}

/* ---- Radio button box lists ---- */
.radio-button-box-list-item input[type="radio"] + label:before,
.radio-button-box-list-item input[type="radio"] + label:after {
	content: none;
}
.radio-button-box-list-item input[type="radio"]:checked + label {
	background-color: #303E48;
	color: #fff;
}
.radio-button-box-list-item input[type="radio"]:checked + label:after {
	content: "\e803";
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	position: absolute;
	left: 100%;
	color: #303E49;
	border-radius: 0;
	background-color: transparent;
	top: 50%;
	margin-top: -7px;
	margin-left: 10px;
	font-size: 15px;
	width: 12px;
	height: 15px;
	-webkit-animation: fadeInRight 400ms;
	animation: fadeInRight 400ms;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}
.radio-button-box-list-item {
	margin-bottom: 6px;
}
.radio-button-box-list-item:last-child {
	margin-bottom: 0;
}
.radio-button-box-list .button {
	display: block;
}

/* FIRST BREAKPOINT */
@media screen and (max-width: 1180px) {
	.radio-button-box-list .button.button-small,
	.radio-button-box-list-item input[type="radio"] + label.button.button-small {
		padding: 8px 5px;
		font-size: 1.2rem;
	}
}

/* ---- Toggle buttons ---- */
.toggle-buttons-fieldset,
.toggle-buttons-fieldset:last-of-type {
	margin: 10px 0;
}
input[type="checkbox"] + label.toggle-button-label:before,
input[type="radio"] + label.toggle-button-label:before,
input[type="checkbox"]:checked + label.toggle-button-label:after,
input[type="radio"]:checked + label.toggle-button-label:after {
	content: none;
}
input[type="checkbox"] + label.toggle-button-label,
input[type="radio"] + label.toggle-button-label {
	font-size: 1.4rem;
	padding: 5px 7px;
	border: 1px solid #DCDCDC;
	display: inline-block;
}
input[type="checkbox"] + label.toggle-button-label:nth-child(2n+4),
input[type="radio"] + label.toggle-button-label:nth-child(2n+4) {
	border-left: none;
}
.toggle-button-label {
	background-color: #EFECEC;
	display: inline;
}
.toggle-button-label:hover {
	background-color: #f4f4f4;
}
input[type="checkbox"]:checked + label.toggle-button-label,
input[type="radio"]:checked + label.toggle-button-label {
	background-color: #FFF;
}

@media screen and (max-width: 590px){
	input[type="checkbox"] + label.toggle-button-label:nth-child(2n+4),
	input[type="radio"] + label.toggle-button-label:nth-child(2n+4) {
		border-left: 1px solid #DCDCDC;
		border-top: none;
	}
	input[type="checkbox"] + label.toggle-button-label,
	input[type="radio"] + label.toggle-button-label {
		display: block;
	}
}

/* ====================================
Search form
==================================== */

input.search-query {
	margin-bottom: 0;
	padding-right: 14px;
	padding-left: 14px;
	border-radius: 0;
}

.form-search .input-append .search-query,
.form-search .input-prepend .search-query {
	border-radius: 0;
}

.form-search .input-append .search-query {
	border-radius: 14px, 0, 0, 14px;
}

.form-search .input-append .btn {
	border-radius: 0, 14px, 14px, 0;
}

.form-search .input-prepend .search-query {
	border-radius: 0, 14px, 14px, 0;
}

.form-search .input-prepend .btn {
	border-radius: 14px, 0, 0, 14px;
}

.form-search input,
.form-search textarea,
.form-search select {
	display: inline-block;
	margin-bottom: 0;
	vertical-align: middle;
}
.form-search .hide {
	display: none;
}
.form-search label,
.form-search .btn-group {
	display: inline-block;
}
.form-search .radio,
.form-search .checkbox {
	margin-bottom: 0;
	padding-left: 0;
	vertical-align: middle;
}
.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"] {
	float: left;
}
.form-search .radio input[type="radio"] margin,
.form-search .checkbox input[type="checkbox"] margin {
	right: 3px;
	left: 0;
}
.form-search .control-group {
	margin-bottom: 0.75em;
}
.form-search legend + .control-group {
	margin-top: 1.5em;
	-webkit-margin-top-collapse: separate;
}


/* ====================================
Search results
==================================== */

.search-result {
	padding: 20px 0;
}

/* ====================================
Search pagination
==================================== */

.search-paginate {
	padding: 10px 0;
	text-align: center;
}
.search-paginate .page-prev {
	margin: 0 8px 0 0;
}
.search-paginate .page {
	padding: 2px 9px;
	margin: 0 3px;
	background: #eee;
	border: 1px #972e47 solid;
	text-decoration: none;
}
.search-paginate .page.on {
	color: #000;
	border-color: #000;
}
.search-paginate .page-next {
	margin: 0 0 0 8px;
}

/* ====================================
Buttons
==================================== */
.form-element.form-element-button.form-element-large {
	margin-top: 27px;
}
.form-element.form-element-button .button {
	margin: 0;
}

/* ====================================
Captcha
==================================== */

.captcha {
	background-color: #f6f6f6;
	padding: 10px;
	width: 100%;
	border: 1px solid #D7D7D7;
}

.captcha .captcha-info, .captcha .info {
	float: right;
	padding-bottom: 8px;
}
.captcha .captcha-info, .captcha .info a {
	text-decoration: none;
}
.captcha .captcha-info .captcha-icon {
	width: 16px;
	height: 16px;
	margin-bottom: 16px;
}

.captcha .captcha-img {
	width: 200px;
	margin-bottom: 10px;
}

.captcha .captcha-input {
	width: 200px;
}


/* ====================================
Large form elements turn regular
==================================== */

@media screen and (max-width: 590px){
	.form-element.form-element-large input,
	.form-element.form-element-large .chosen-container-single .chosen-single,
	.form-element.form-element-large select,
	.form-element.form-element-large input[type="submit"] {
		height: 35px;
	}
	.form-element.form-element-large input,
	.form-element.form-element-large textarea,
	.form-element.form-element-large .chosen-container .chosen-single,
	.form-element.form-element-large .chosen-choices,
	.form-element.form-element-large select {
		padding-left: 16px;
		padding-right: 16px;
		font-size: 1.4rem;
	}

	.form-element.form-element-large.form-element-search input {
		padding-right: 40px;
	}
	.form-element.form-element-large.form-element-search .form-element-search-button {
		bottom: 4px;
		right: 9px;
		width: 25px;
		height: 25px;
	}
	.form-element.form-element-large.form-element-search .form-element-search-button:before {
		font-size: 22px;
	}
}
